View | Details | Raw Unified | Return to bug 198764 | Differences between
and this patch

Collapse All | Expand All

(-)www/elinks/files/patch-config.h.in (+12 lines)
Line 0 Link Here
1
--- config.h.in.orig	2009-08-22 11:23:40 UTC
2
+++ config.h.in
3
@@ -474,6 +474,9 @@
4
 /* Define to 1 if you have the `raise' function. */
5
 #undef HAVE_RAISE
6
 
7
+/* Define to 1 if libcrypto has the RAND_egd function */
8
+#undef HAVE_RAND_EGD
9
+
10
 /* Define if you have _read_kbd() */
11
 #undef HAVE_READ_KBD
12
 
(-)www/elinks/files/patch-configure (+24490 lines)
Line 0 Link Here
1
--- configure.orig	2009-08-22 11:23:43 UTC
2
+++ configure
3
@@ -1,60 +1,81 @@
4
 #! /bin/sh
5
 # Guess values for system-dependent variables and create Makefiles.
6
-# Generated by GNU Autoconf 2.61.
7
+# Generated by GNU Autoconf 2.69.
8
+#
9
+#
10
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
+#
12
 #
13
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
15
 # This configure script is free software; the Free Software Foundation
16
 # gives unlimited permission to copy, distribute and modify it.
17
-## --------------------- ##
18
-## M4sh Initialization.  ##
19
-## --------------------- ##
20
+## -------------------- ##
21
+## M4sh Initialization. ##
22
+## -------------------- ##
23
 
24
 # Be more Bourne compatible
25
 DUALCASE=1; export DUALCASE # for MKS sh
26
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
28
   emulate sh
29
   NULLCMD=:
30
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
31
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32
   # is contrary to our usage.  Disable this feature.
33
   alias -g '${1+"$@"}'='"$@"'
34
   setopt NO_GLOB_SUBST
35
 else
36
-  case `(set -o) 2>/dev/null` in
37
-  *posix*) set -o posix ;;
38
+  case `(set -o) 2>/dev/null` in #(
39
+  *posix*) :
40
+    set -o posix ;; #(
41
+  *) :
42
+     ;;
43
 esac
44
-
45
 fi
46
 
47
 
48
-
49
-
50
-# PATH needs CR
51
-# Avoid depending upon Character Ranges.
52
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
54
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55
-as_cr_digits='0123456789'
56
-as_cr_alnum=$as_cr_Letters$as_cr_digits
57
-
58
-# The user is always right.
59
-if test "${PATH_SEPARATOR+set}" != set; then
60
-  echo "#! /bin/sh" >conf$$.sh
61
-  echo  "exit 0"   >>conf$$.sh
62
-  chmod +x conf$$.sh
63
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
64
-    PATH_SEPARATOR=';'
65
+as_nl='
66
+'
67
+export as_nl
68
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
69
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
70
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
71
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72
+# Prefer a ksh shell builtin over an external printf program on Solaris,
73
+# but without wasting forks for bash or zsh.
74
+if test -z "$BASH_VERSION$ZSH_VERSION" \
75
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
76
+  as_echo='print -r --'
77
+  as_echo_n='print -rn --'
78
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79
+  as_echo='printf %s\n'
80
+  as_echo_n='printf %s'
81
+else
82
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
83
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
84
+    as_echo_n='/usr/ucb/echo -n'
85
   else
86
-    PATH_SEPARATOR=:
87
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
88
+    as_echo_n_body='eval
89
+      arg=$1;
90
+      case $arg in #(
91
+      *"$as_nl"*)
92
+	expr "X$arg" : "X\\(.*\\)$as_nl";
93
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
94
+      esac;
95
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
96
+    '
97
+    export as_echo_n_body
98
+    as_echo_n='sh -c $as_echo_n_body as_echo'
99
   fi
100
-  rm -f conf$$.sh
101
+  export as_echo_body
102
+  as_echo='sh -c $as_echo_body as_echo'
103
 fi
104
 
105
-# Support unset when possible.
106
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
107
-  as_unset=unset
108
-else
109
-  as_unset=false
110
+# The user is always right.
111
+if test "${PATH_SEPARATOR+set}" != set; then
112
+  PATH_SEPARATOR=:
113
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
114
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
115
+      PATH_SEPARATOR=';'
116
+  }
117
 fi
118
 
119
 
120
@@ -63,20 +84,19 @@ fi
121
 # there to prevent editors from complaining about space-tab.
122
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
123
 # splitting by setting IFS to empty value.)
124
-as_nl='
125
-'
126
 IFS=" ""	$as_nl"
127
 
128
 # Find who we are.  Look in the path if we contain no directory separator.
129
-case $0 in
130
+as_myself=
131
+case $0 in #((
132
   *[\\/]* ) as_myself=$0 ;;
133
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134
 for as_dir in $PATH
135
 do
136
   IFS=$as_save_IFS
137
   test -z "$as_dir" && as_dir=.
138
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
139
-done
140
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
141
+  done
142
 IFS=$as_save_IFS
143
 
144
      ;;
145
@@ -87,354 +107,366 @@ if test "x$as_myself" = x; then
146
   as_myself=$0
147
 fi
148
 if test ! -f "$as_myself"; then
149
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
150
-  { (exit 1); exit 1; }
151
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
152
+  exit 1
153
 fi
154
 
155
-# Work around bugs in pre-3.0 UWIN ksh.
156
-for as_var in ENV MAIL MAILPATH
157
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
158
+# Unset variables that we do not need and which cause bugs (e.g. in
159
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
160
+# suppresses any "Segmentation fault" message there.  '((' could
161
+# trigger a bug in pdksh 5.2.14.
162
+for as_var in BASH_ENV ENV MAIL MAILPATH
163
+do eval test x\${$as_var+set} = xset \
164
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
165
 done
166
 PS1='$ '
167
 PS2='> '
168
 PS4='+ '
169
 
170
 # NLS nuisances.
171
-for as_var in \
172
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
173
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
174
-  LC_TELEPHONE LC_TIME
175
-do
176
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
177
-    eval $as_var=C; export $as_var
178
-  else
179
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
180
-  fi
181
-done
182
-
183
-# Required to use basename.
184
-if expr a : '\(a\)' >/dev/null 2>&1 &&
185
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
186
-  as_expr=expr
187
-else
188
-  as_expr=false
189
-fi
190
-
191
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
192
-  as_basename=basename
193
-else
194
-  as_basename=false
195
-fi
196
-
197
-
198
-# Name of the executable.
199
-as_me=`$as_basename -- "$0" ||
200
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
201
-	 X"$0" : 'X\(//\)$' \| \
202
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
203
-echo X/"$0" |
204
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
205
-	    s//\1/
206
-	    q
207
-	  }
208
-	  /^X\/\(\/\/\)$/{
209
-	    s//\1/
210
-	    q
211
-	  }
212
-	  /^X\/\(\/\).*/{
213
-	    s//\1/
214
-	    q
215
-	  }
216
-	  s/.*/./; q'`
217
+LC_ALL=C
218
+export LC_ALL
219
+LANGUAGE=C
220
+export LANGUAGE
221
 
222
 # CDPATH.
223
-$as_unset CDPATH
224
-
225
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
226
 
227
+# Use a proper internal environment variable to ensure we don't fall
228
+  # into an infinite loop, continuously re-executing ourselves.
229
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
230
+    _as_can_reexec=no; export _as_can_reexec;
231
+    # We cannot yet assume a decent shell, so we have to provide a
232
+# neutralization value for shells without unset; and this also
233
+# works around shells that cannot unset nonexistent variables.
234
+# Preserve -v and -x to the replacement shell.
235
+BASH_ENV=/dev/null
236
+ENV=/dev/null
237
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
238
+case $- in # ((((
239
+  *v*x* | *x*v* ) as_opts=-vx ;;
240
+  *v* ) as_opts=-v ;;
241
+  *x* ) as_opts=-x ;;
242
+  * ) as_opts= ;;
243
+esac
244
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
245
+# Admittedly, this is quite paranoid, since all the known shells bail
246
+# out after a failed `exec'.
247
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
248
+as_fn_exit 255
249
+  fi
250
+  # We don't want this to propagate to other subprocesses.
251
+          { _as_can_reexec=; unset _as_can_reexec;}
252
 if test "x$CONFIG_SHELL" = x; then
253
-  if (eval ":") 2>/dev/null; then
254
-  as_have_required=yes
255
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
256
+  emulate sh
257
+  NULLCMD=:
258
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
259
+  # is contrary to our usage.  Disable this feature.
260
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
261
+  setopt NO_GLOB_SUBST
262
 else
263
-  as_have_required=no
264
+  case \`(set -o) 2>/dev/null\` in #(
265
+  *posix*) :
266
+    set -o posix ;; #(
267
+  *) :
268
+     ;;
269
+esac
270
 fi
271
-
272
-  if test $as_have_required = yes && 	 (eval ":
273
-(as_func_return () {
274
-  (exit \$1)
275
-}
276
-as_func_success () {
277
-  as_func_return 0
278
-}
279
-as_func_failure () {
280
-  as_func_return 1
281
-}
282
-as_func_ret_success () {
283
-  return 0
284
-}
285
-as_func_ret_failure () {
286
-  return 1
287
-}
288
+"
289
+  as_required="as_fn_return () { (exit \$1); }
290
+as_fn_success () { as_fn_return 0; }
291
+as_fn_failure () { as_fn_return 1; }
292
+as_fn_ret_success () { return 0; }
293
+as_fn_ret_failure () { return 1; }
294
 
295
 exitcode=0
296
-if as_func_success; then
297
-  :
298
-else
299
-  exitcode=1
300
-  echo as_func_success failed.
301
-fi
302
-
303
-if as_func_failure; then
304
-  exitcode=1
305
-  echo as_func_failure succeeded.
306
-fi
307
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
308
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
309
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
310
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
311
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
312
 
313
-if as_func_ret_success; then
314
-  :
315
 else
316
-  exitcode=1
317
-  echo as_func_ret_success failed.
318
-fi
319
-
320
-if as_func_ret_failure; then
321
-  exitcode=1
322
-  echo as_func_ret_failure succeeded.
323
+  exitcode=1; echo positional parameters were not saved.
324
 fi
325
-
326
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
327
-  :
328
+test x\$exitcode = x0 || exit 1
329
+test -x / || exit 1"
330
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
331
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
332
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
333
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
334
+test \$(( 1 + 1 )) = 2 || exit 1"
335
+  if (eval "$as_required") 2>/dev/null; then :
336
+  as_have_required=yes
337
 else
338
-  exitcode=1
339
-  echo positional parameters were not saved.
340
+  as_have_required=no
341
 fi
342
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
343
 
344
-test \$exitcode = 0) || { (exit 1); exit 1; }
345
-
346
-(
347
-  as_lineno_1=\$LINENO
348
-  as_lineno_2=\$LINENO
349
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
350
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
351
-") 2> /dev/null; then
352
-  :
353
 else
354
-  as_candidate_shells=
355
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
356
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
357
+as_found=false
358
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
359
 do
360
   IFS=$as_save_IFS
361
   test -z "$as_dir" && as_dir=.
362
-  case $as_dir in
363
+  as_found=:
364
+  case $as_dir in #(
365
 	 /*)
366
 	   for as_base in sh bash ksh sh5; do
367
-	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
368
+	     # Try only shells that exist, to save several forks.
369
+	     as_shell=$as_dir/$as_base
370
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
371
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
372
+  CONFIG_SHELL=$as_shell as_have_required=yes
373
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
374
+  break 2
375
+fi
376
+fi
377
 	   done;;
378
        esac
379
+  as_found=false
380
 done
381
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
382
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
383
+  CONFIG_SHELL=$SHELL as_have_required=yes
384
+fi; }
385
 IFS=$as_save_IFS
386
 
387
 
388
-      for as_shell in $as_candidate_shells $SHELL; do
389
-	 # Try only shells that exist, to save several forks.
390
-	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
391
-		{ ("$as_shell") 2> /dev/null <<\_ASEOF
392
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
393
-  emulate sh
394
-  NULLCMD=:
395
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
396
-  # is contrary to our usage.  Disable this feature.
397
-  alias -g '${1+"$@"}'='"$@"'
398
-  setopt NO_GLOB_SUBST
399
-else
400
-  case `(set -o) 2>/dev/null` in
401
-  *posix*) set -o posix ;;
402
-esac
403
-
404
-fi
405
-
406
-
407
-:
408
-_ASEOF
409
-}; then
410
-  CONFIG_SHELL=$as_shell
411
-	       as_have_required=yes
412
-	       if { "$as_shell" 2> /dev/null <<\_ASEOF
413
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
414
-  emulate sh
415
-  NULLCMD=:
416
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
417
-  # is contrary to our usage.  Disable this feature.
418
-  alias -g '${1+"$@"}'='"$@"'
419
-  setopt NO_GLOB_SUBST
420
-else
421
-  case `(set -o) 2>/dev/null` in
422
-  *posix*) set -o posix ;;
423
+      if test "x$CONFIG_SHELL" != x; then :
424
+  export CONFIG_SHELL
425
+             # We cannot yet assume a decent shell, so we have to provide a
426
+# neutralization value for shells without unset; and this also
427
+# works around shells that cannot unset nonexistent variables.
428
+# Preserve -v and -x to the replacement shell.
429
+BASH_ENV=/dev/null
430
+ENV=/dev/null
431
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
432
+case $- in # ((((
433
+  *v*x* | *x*v* ) as_opts=-vx ;;
434
+  *v* ) as_opts=-v ;;
435
+  *x* ) as_opts=-x ;;
436
+  * ) as_opts= ;;
437
 esac
438
-
439
-fi
440
-
441
-
442
-:
443
-(as_func_return () {
444
-  (exit $1)
445
-}
446
-as_func_success () {
447
-  as_func_return 0
448
-}
449
-as_func_failure () {
450
-  as_func_return 1
451
-}
452
-as_func_ret_success () {
453
-  return 0
454
-}
455
-as_func_ret_failure () {
456
-  return 1
457
-}
458
-
459
-exitcode=0
460
-if as_func_success; then
461
-  :
462
-else
463
-  exitcode=1
464
-  echo as_func_success failed.
465
-fi
466
-
467
-if as_func_failure; then
468
-  exitcode=1
469
-  echo as_func_failure succeeded.
470
-fi
471
-
472
-if as_func_ret_success; then
473
-  :
474
-else
475
-  exitcode=1
476
-  echo as_func_ret_success failed.
477
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
478
+# Admittedly, this is quite paranoid, since all the known shells bail
479
+# out after a failed `exec'.
480
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
481
+exit 255
482
 fi
483
 
484
-if as_func_ret_failure; then
485
-  exitcode=1
486
-  echo as_func_ret_failure succeeded.
487
+    if test x$as_have_required = xno; then :
488
+  $as_echo "$0: This script requires a shell more modern than all"
489
+  $as_echo "$0: the shells that I found on your system."
490
+  if test x${ZSH_VERSION+set} = xset ; then
491
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
492
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
493
+  else
494
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
495
+$0: including any error possibly output before this
496
+$0: message. Then install a modern shell, or manually run
497
+$0: the script under such a shell if you do have one."
498
+  fi
499
+  exit 1
500
 fi
501
-
502
-if ( set x; as_func_ret_success y && test x = "$1" ); then
503
-  :
504
-else
505
-  exitcode=1
506
-  echo positional parameters were not saved.
507
 fi
508
-
509
-test $exitcode = 0) || { (exit 1); exit 1; }
510
-
511
-(
512
-  as_lineno_1=$LINENO
513
-  as_lineno_2=$LINENO
514
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
515
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
516
-
517
-_ASEOF
518
-}; then
519
-  break
520
 fi
521
+SHELL=${CONFIG_SHELL-/bin/sh}
522
+export SHELL
523
+# Unset more variables known to interfere with behavior of common tools.
524
+CLICOLOR_FORCE= GREP_OPTIONS=
525
+unset CLICOLOR_FORCE GREP_OPTIONS
526
 
527
-fi
528
+## --------------------- ##
529
+## M4sh Shell Functions. ##
530
+## --------------------- ##
531
+# as_fn_unset VAR
532
+# ---------------
533
+# Portably unset VAR.
534
+as_fn_unset ()
535
+{
536
+  { eval $1=; unset $1;}
537
+}
538
+as_unset=as_fn_unset
539
 
540
-      done
541
+# as_fn_set_status STATUS
542
+# -----------------------
543
+# Set $? to STATUS, without forking.
544
+as_fn_set_status ()
545
+{
546
+  return $1
547
+} # as_fn_set_status
548
 
549
-      if test "x$CONFIG_SHELL" != x; then
550
-  for as_var in BASH_ENV ENV
551
-        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
552
-        done
553
-        export CONFIG_SHELL
554
-        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
555
-fi
556
+# as_fn_exit STATUS
557
+# -----------------
558
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
559
+as_fn_exit ()
560
+{
561
+  set +e
562
+  as_fn_set_status $1
563
+  exit $1
564
+} # as_fn_exit
565
 
566
+# as_fn_mkdir_p
567
+# -------------
568
+# Create "$as_dir" as a directory, including parents if necessary.
569
+as_fn_mkdir_p ()
570
+{
571
 
572
-    if test $as_have_required = no; then
573
-  echo This script requires a shell more modern than all the
574
-      echo shells that I found on your system.  Please install a
575
-      echo modern shell, or manually run the script under such a
576
-      echo shell if you do have one.
577
-      { (exit 1); exit 1; }
578
-fi
579
+  case $as_dir in #(
580
+  -*) as_dir=./$as_dir;;
581
+  esac
582
+  test -d "$as_dir" || eval $as_mkdir_p || {
583
+    as_dirs=
584
+    while :; do
585
+      case $as_dir in #(
586
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
587
+      *) as_qdir=$as_dir;;
588
+      esac
589
+      as_dirs="'$as_qdir' $as_dirs"
590
+      as_dir=`$as_dirname -- "$as_dir" ||
591
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
592
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
593
+	 X"$as_dir" : 'X\(//\)$' \| \
594
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
595
+$as_echo X"$as_dir" |
596
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
597
+	    s//\1/
598
+	    q
599
+	  }
600
+	  /^X\(\/\/\)[^/].*/{
601
+	    s//\1/
602
+	    q
603
+	  }
604
+	  /^X\(\/\/\)$/{
605
+	    s//\1/
606
+	    q
607
+	  }
608
+	  /^X\(\/\).*/{
609
+	    s//\1/
610
+	    q
611
+	  }
612
+	  s/.*/./; q'`
613
+      test -d "$as_dir" && break
614
+    done
615
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
616
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
617
 
618
 
619
-fi
620
+} # as_fn_mkdir_p
621
 
622
-fi
623
+# as_fn_executable_p FILE
624
+# -----------------------
625
+# Test if FILE is an executable regular file.
626
+as_fn_executable_p ()
627
+{
628
+  test -f "$1" && test -x "$1"
629
+} # as_fn_executable_p
630
+# as_fn_append VAR VALUE
631
+# ----------------------
632
+# Append the text in VALUE to the end of the definition contained in VAR. Take
633
+# advantage of any shell optimizations that allow amortized linear growth over
634
+# repeated appends, instead of the typical quadratic growth present in naive
635
+# implementations.
636
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
637
+  eval 'as_fn_append ()
638
+  {
639
+    eval $1+=\$2
640
+  }'
641
+else
642
+  as_fn_append ()
643
+  {
644
+    eval $1=\$$1\$2
645
+  }
646
+fi # as_fn_append
647
 
648
+# as_fn_arith ARG...
649
+# ------------------
650
+# Perform arithmetic evaluation on the ARGs, and store the result in the
651
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
652
+# must be portable across $(()) and expr.
653
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
654
+  eval 'as_fn_arith ()
655
+  {
656
+    as_val=$(( $* ))
657
+  }'
658
+else
659
+  as_fn_arith ()
660
+  {
661
+    as_val=`expr "$@" || test $? -eq 1`
662
+  }
663
+fi # as_fn_arith
664
 
665
 
666
-(eval "as_func_return () {
667
-  (exit \$1)
668
-}
669
-as_func_success () {
670
-  as_func_return 0
671
-}
672
-as_func_failure () {
673
-  as_func_return 1
674
-}
675
-as_func_ret_success () {
676
-  return 0
677
-}
678
-as_func_ret_failure () {
679
-  return 1
680
-}
681
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
682
+# ----------------------------------------
683
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
684
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
685
+# script with STATUS, using 1 if that was 0.
686
+as_fn_error ()
687
+{
688
+  as_status=$1; test $as_status -eq 0 && as_status=1
689
+  if test "$4"; then
690
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
691
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
692
+  fi
693
+  $as_echo "$as_me: error: $2" >&2
694
+  as_fn_exit $as_status
695
+} # as_fn_error
696
 
697
-exitcode=0
698
-if as_func_success; then
699
-  :
700
+if expr a : '\(a\)' >/dev/null 2>&1 &&
701
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
702
+  as_expr=expr
703
 else
704
-  exitcode=1
705
-  echo as_func_success failed.
706
-fi
707
-
708
-if as_func_failure; then
709
-  exitcode=1
710
-  echo as_func_failure succeeded.
711
+  as_expr=false
712
 fi
713
 
714
-if as_func_ret_success; then
715
-  :
716
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
717
+  as_basename=basename
718
 else
719
-  exitcode=1
720
-  echo as_func_ret_success failed.
721
-fi
722
-
723
-if as_func_ret_failure; then
724
-  exitcode=1
725
-  echo as_func_ret_failure succeeded.
726
+  as_basename=false
727
 fi
728
 
729
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
730
-  :
731
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
732
+  as_dirname=dirname
733
 else
734
-  exitcode=1
735
-  echo positional parameters were not saved.
736
+  as_dirname=false
737
 fi
738
 
739
-test \$exitcode = 0") || {
740
-  echo No shell found that supports shell functions.
741
-  echo Please tell autoconf@gnu.org about your system,
742
-  echo including any error possibly output before this
743
-  echo message
744
-}
745
+as_me=`$as_basename -- "$0" ||
746
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
747
+	 X"$0" : 'X\(//\)$' \| \
748
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
749
+$as_echo X/"$0" |
750
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
751
+	    s//\1/
752
+	    q
753
+	  }
754
+	  /^X\/\(\/\/\)$/{
755
+	    s//\1/
756
+	    q
757
+	  }
758
+	  /^X\/\(\/\).*/{
759
+	    s//\1/
760
+	    q
761
+	  }
762
+	  s/.*/./; q'`
763
 
764
+# Avoid depending upon Character Ranges.
765
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
766
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
767
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
768
+as_cr_digits='0123456789'
769
+as_cr_alnum=$as_cr_Letters$as_cr_digits
770
 
771
 
772
-  as_lineno_1=$LINENO
773
-  as_lineno_2=$LINENO
774
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
775
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
776
-
777
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
778
-  # uniformly replaced by the line number.  The first 'sed' inserts a
779
-  # line-number line after each line using $LINENO; the second 'sed'
780
-  # does the real work.  The second script uses 'N' to pair each
781
-  # line-number line with the line containing $LINENO, and appends
782
-  # trailing '-' during substitution so that $LINENO is not a special
783
-  # case at line end.
784
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
785
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
786
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
787
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
788
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
789
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
790
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
791
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
792
   sed -n '
793
     p
794
     /[$]LINENO/=
795
@@ -451,9 +483,12 @@ test \$exitcode = 0") || {
796
       s/-\n.*//
797
     ' >$as_me.lineno &&
798
   chmod +x "$as_me.lineno" ||
799
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
800
-   { (exit 1); exit 1; }; }
801
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
802
 
803
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
804
+  # already done that, so ensure we don't try to do so again and fall
805
+  # in an infinite loop.  This has already happened in practice.
806
+  _as_can_reexec=no; export _as_can_reexec
807
   # Don't try to exec as it changes $[0], causing all sort of problems
808
   # (the dirname of $[0] is not the place where we might find the
809
   # original and so on.  Autoconf is especially sensitive to this).
810
@@ -462,84 +497,55 @@ test \$exitcode = 0") || {
811
   exit
812
 }
813
 
814
-
815
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
816
-  as_dirname=dirname
817
-else
818
-  as_dirname=false
819
-fi
820
-
821
 ECHO_C= ECHO_N= ECHO_T=
822
-case `echo -n x` in
823
+case `echo -n x` in #(((((
824
 -n*)
825
-  case `echo 'x\c'` in
826
+  case `echo 'xy\c'` in
827
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
828
-  *)   ECHO_C='\c';;
829
+  xy)  ECHO_C='\c';;
830
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
831
+       ECHO_T='	';;
832
   esac;;
833
 *)
834
   ECHO_N='-n';;
835
 esac
836
 
837
-if expr a : '\(a\)' >/dev/null 2>&1 &&
838
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
839
-  as_expr=expr
840
-else
841
-  as_expr=false
842
-fi
843
-
844
 rm -f conf$$ conf$$.exe conf$$.file
845
 if test -d conf$$.dir; then
846
   rm -f conf$$.dir/conf$$.file
847
 else
848
   rm -f conf$$.dir
849
-  mkdir conf$$.dir
850
+  mkdir conf$$.dir 2>/dev/null
851
 fi
852
-echo >conf$$.file
853
-if ln -s conf$$.file conf$$ 2>/dev/null; then
854
-  as_ln_s='ln -s'
855
-  # ... but there are two gotchas:
856
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
857
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
858
-  # In both cases, we have to default to `cp -p'.
859
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
860
-    as_ln_s='cp -p'
861
-elif ln conf$$.file conf$$ 2>/dev/null; then
862
-  as_ln_s=ln
863
+if (echo >conf$$.file) 2>/dev/null; then
864
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
865
+    as_ln_s='ln -s'
866
+    # ... but there are two gotchas:
867
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
868
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
869
+    # In both cases, we have to default to `cp -pR'.
870
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
871
+      as_ln_s='cp -pR'
872
+  elif ln conf$$.file conf$$ 2>/dev/null; then
873
+    as_ln_s=ln
874
+  else
875
+    as_ln_s='cp -pR'
876
+  fi
877
 else
878
-  as_ln_s='cp -p'
879
+  as_ln_s='cp -pR'
880
 fi
881
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
882
 rmdir conf$$.dir 2>/dev/null
883
 
884
 if mkdir -p . 2>/dev/null; then
885
-  as_mkdir_p=:
886
+  as_mkdir_p='mkdir -p "$as_dir"'
887
 else
888
   test -d ./-p && rmdir ./-p
889
   as_mkdir_p=false
890
 fi
891
 
892
-if test -x / >/dev/null 2>&1; then
893
-  as_test_x='test -x'
894
-else
895
-  if ls -dL / >/dev/null 2>&1; then
896
-    as_ls_L_option=L
897
-  else
898
-    as_ls_L_option=
899
-  fi
900
-  as_test_x='
901
-    eval sh -c '\''
902
-      if test -d "$1"; then
903
-        test -d "$1/.";
904
-      else
905
-	case $1 in
906
-        -*)set "./$1";;
907
-	esac;
908
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
909
-	???[sx]*):;;*)false;;esac;fi
910
-    '\'' sh
911
-  '
912
-fi
913
-as_executable_p=$as_test_x
914
+as_test_x='test -x'
915
+as_executable_p=as_fn_executable_p
916
 
917
 # Sed expression to map a string onto a valid CPP name.
918
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
919
@@ -548,11 +554,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
920
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
921
 
922
 
923
-
924
-exec 7<&0 </dev/null 6>&1
925
+test -n "$DJDIR" || exec 7<&0 </dev/null
926
+exec 6>&1
927
 
928
 # Name of the host.
929
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
930
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
931
 # so uname gets run too.
932
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
933
 
934
@@ -567,7 +573,6 @@ cross_compiling=no
935
 subdirs=
936
 MFLAGS=
937
 MAKEFLAGS=
938
-SHELL=${CONFIG_SHELL-/bin/sh}
939
 
940
 # Identity of this package.
941
 PACKAGE_NAME=
942
@@ -575,6 +580,7 @@ PACKAGE_TARNAME=
943
 PACKAGE_VERSION=
944
 PACKAGE_STRING=
945
 PACKAGE_BUGREPORT=
946
+PACKAGE_URL=
947
 
948
 ac_unique_file="src/main/main.c"
949
 # Factoring default headers for most tests.
950
@@ -613,186 +619,243 @@ ac_includes_default="\
951
 # include <unistd.h>
952
 #endif"
953
 
954
-ac_subst_vars='SHELL
955
-PATH_SEPARATOR
956
-PACKAGE_NAME
957
-PACKAGE_TARNAME
958
-PACKAGE_VERSION
959
-PACKAGE_STRING
960
-PACKAGE_BUGREPORT
961
-exec_prefix
962
-prefix
963
-program_transform_name
964
-bindir
965
-sbindir
966
-libexecdir
967
-datarootdir
968
-datadir
969
-sysconfdir
970
-sharedstatedir
971
-localstatedir
972
-includedir
973
-oldincludedir
974
-docdir
975
-infodir
976
-htmldir
977
-dvidir
978
-pdfdir
979
-psdir
980
-libdir
981
-localedir
982
-mandir
983
-DEFS
984
-ECHO_C
985
-ECHO_N
986
-ECHO_T
987
-LIBS
988
-build_alias
989
-host_alias
990
-target_alias
991
-PACKAGE
992
-VERSION
993
-ACLOCAL
994
-AUTOCONF
995
-AUTOHEADER
996
-MAKE
997
-CC
998
-CFLAGS
999
-LDFLAGS
1000
-CPPFLAGS
1001
-ac_ct_CC
1002
-EXEEXT
1003
-OBJEXT
1004
-AWK
1005
-RANLIB
1006
-INSTALL_PROGRAM
1007
-INSTALL_SCRIPT
1008
-INSTALL_DATA
1009
-GIT
1010
-SPARSE
1011
-ASCIIDOC
1012
-XMLTO
1013
-JW
1014
-POD2HTML
1015
-ASCIIDOC_FLAGS
1016
-CONFIG_ASCIIDOC
1017
-CONFIG_POD2HTML
1018
-CONFIG_XMLTO
1019
-CONFIG_JW
1020
-CONFIG_DOC
1021
-CONFIG_MANUAL
1022
-CONFIG_MANPAGE
1023
-CONFIG_BEOS
1024
-CONFIG_RISCOS
1025
-CONFIG_WIN32
1026
-CONFIG_OS2
1027
-CONFIG_UNIX
1028
-CPP
1029
-GREP
1030
-EGREP
1031
-CONFIG_INTERLINK
1032
-LIBOBJS
1033
-CONFIG_GPM
1034
-CONFIG_GZIP
1035
-CONFIG_BZIP2
1036
-CONFIG_IDN
1037
-CONFIG_BOOKMARKS
1038
-CONFIG_XBEL_BOOKMARKS
1039
-SPIDERMONKEY_LIBS
1040
-SPIDERMONKEY_CFLAGS
1041
-CONFIG_SPIDERMONKEY
1042
-CONFIG_ECMASCRIPT
1043
-GUILE_CONFIG
1044
-GUILE_CFLAGS
1045
-PERL_LIBS
1046
-PERL_CFLAGS
1047
-PYTHON_LIBS
1048
-PYTHON_CFLAGS
1049
-LUA_LIBS
1050
-LUA_CFLAGS
1051
-CONFIG_RUBY
1052
-RUBY_CFLAGS
1053
-RUBY_LIBS
1054
-CONFIG_SCRIPTING
1055
-CONFIG_GUILE
1056
-CONFIG_LUA
1057
-CONFIG_PERL
1058
-CONFIG_PYTHON
1059
-CONFIG_SM_SCRIPTING
1060
-OPENSSL_CFLAGS
1061
-LIBGNUTLS_CONFIG
1062
-GNUTLS_CFLAGS
1063
-CONFIG_SSL
1064
-CONFIG_GNUTLS_OPENSSL_COMPAT
1065
-CONFIG_OPENSSL
1066
-CONFIG_GNUTLS
1067
-XMKMF
1068
-X_CFLAGS
1069
-HAVE_SMBCLIENT
1070
-SET_MAKE
1071
-build
1072
-build_cpu
1073
-build_vendor
1074
-build_os
1075
-host
1076
-host_cpu
1077
-host_vendor
1078
-host_os
1079
-ALLOCA
1080
-GLIBC21
1081
-CONFIG_NLS
1082
-CONFIG_NLS_TRUE
1083
-CONFIG_NLS_FALSE
1084
-MSGFMT
1085
-GMSGFMT
1086
-XGETTEXT
1087
-INTLBISON
1088
-CATALOGS
1089
-GMOFILES
1090
-MKINSTALLDIRS
1091
-INTL_LIBTOOL_SUFFIX_PREFIX
1092
-CONFIG_COOKIES
1093
-CONFIG_FORMHIST
1094
-CONFIG_GLOBHIST
1095
-CONFIG_MAILCAP
1096
-CONFIG_MIMETYPES
1097
-CONFIG_IPV6
1098
-CONFIG_BITTORRENT
1099
-CONFIG_DATA
1100
-CONFIG_URI_REWRITE
1101
-CONFIG_CGI
1102
-CONFIG_FINGER
1103
-CONFIG_FSP
1104
-CONFIG_FTP
1105
-CONFIG_GOPHER
1106
-CONFIG_NNTP
1107
-CONFIG_SMB
1108
-CONFIG_MOUSE
1109
-CONFIG_SYSMOUSE
1110
-CONFIG_88_COLORS
1111
-CONFIG_256_COLORS
1112
-CONFIG_EXMODE
1113
-CONFIG_LEDS
1114
-CONFIG_MARKS
1115
-CONFIG_CSS
1116
-CONFIG_HTML_HIGHLIGHT
1117
-CONFIG_DOM
1118
-CONFIG_BACKTRACE
1119
-CONFIG_NO_ROOT_EXEC
1120
-CONFIG_DEBUG
1121
-CONFIG_FASTMEM
1122
-CONFIG_OWN_LIBC
1123
-CONFIG_SMALL
1124
-CONFIG_MD5
1125
-CONFIG_SHA1
1126
-CONFIG_SCANNER
1127
-CONFDIR
1128
-LOCALEDIR
1129
-LIBDIR
1130
-ALL_CFLAGS
1131
+ac_header_list=
1132
+ac_subst_vars='LTLIBOBJS
1133
 MAKE_COLOR
1134
-LTLIBOBJS'
1135
+ALL_CFLAGS
1136
+LIBDIR
1137
+LOCALEDIR
1138
+CONFDIR
1139
+CONFIG_SCANNER
1140
+CONFIG_SHA1
1141
+CONFIG_MD5
1142
+CONFIG_SMALL
1143
+CONFIG_OWN_LIBC
1144
+CONFIG_FASTMEM
1145
+CONFIG_DEBUG
1146
+CONFIG_NO_ROOT_EXEC
1147
+CONFIG_BACKTRACE
1148
+CONFIG_DOM
1149
+CONFIG_HTML_HIGHLIGHT
1150
+CONFIG_CSS
1151
+CONFIG_MARKS
1152
+CONFIG_LEDS
1153
+CONFIG_EXMODE
1154
+CONFIG_256_COLORS
1155
+CONFIG_88_COLORS
1156
+CONFIG_SYSMOUSE
1157
+CONFIG_MOUSE
1158
+CONFIG_SMB
1159
+CONFIG_NNTP
1160
+CONFIG_GOPHER
1161
+CONFIG_FTP
1162
+CONFIG_FSP
1163
+CONFIG_FINGER
1164
+CONFIG_CGI
1165
+CONFIG_URI_REWRITE
1166
+CONFIG_DATA
1167
+CONFIG_BITTORRENT
1168
+CONFIG_IPV6
1169
+CONFIG_MIMETYPES
1170
+CONFIG_MAILCAP
1171
+CONFIG_GLOBHIST
1172
+CONFIG_FORMHIST
1173
+CONFIG_COOKIES
1174
+INTL_LIBTOOL_SUFFIX_PREFIX
1175
+MKINSTALLDIRS
1176
+GMOFILES
1177
+CATALOGS
1178
+INTLBISON
1179
+XGETTEXT
1180
+GMSGFMT
1181
+MSGFMT
1182
+CONFIG_NLS_FALSE
1183
+CONFIG_NLS_TRUE
1184
+CONFIG_NLS
1185
+GLIBC21
1186
+ALLOCA
1187
+host_os
1188
+host_vendor
1189
+host_cpu
1190
+host
1191
+build_os
1192
+build_vendor
1193
+build_cpu
1194
+build
1195
+SET_MAKE
1196
+HAVE_SMBCLIENT
1197
+X_CFLAGS
1198
+XMKMF
1199
+CONFIG_GNUTLS
1200
+CONFIG_OPENSSL
1201
+CONFIG_GNUTLS_OPENSSL_COMPAT
1202
+CONFIG_SSL
1203
+GNUTLS_CFLAGS
1204
+LIBGNUTLS_CONFIG
1205
+OPENSSL_CFLAGS
1206
+CONFIG_SM_SCRIPTING
1207
+CONFIG_PYTHON
1208
+CONFIG_PERL
1209
+CONFIG_LUA
1210
+CONFIG_GUILE
1211
+CONFIG_SCRIPTING
1212
+RUBY_LIBS
1213
+RUBY_CFLAGS
1214
+CONFIG_RUBY
1215
+LUA_CFLAGS
1216
+LUA_LIBS
1217
+PYTHON_CFLAGS
1218
+PYTHON_LIBS
1219
+PERL_CFLAGS
1220
+PERL_LIBS
1221
+GUILE_CFLAGS
1222
+GUILE_CONFIG
1223
+CONFIG_ECMASCRIPT
1224
+CONFIG_SPIDERMONKEY
1225
+SPIDERMONKEY_CFLAGS
1226
+SPIDERMONKEY_LIBS
1227
+CONFIG_XBEL_BOOKMARKS
1228
+CONFIG_BOOKMARKS
1229
+CONFIG_IDN
1230
+CONFIG_BZIP2
1231
+CONFIG_GZIP
1232
+CONFIG_GPM
1233
+LIBOBJS
1234
+CONFIG_INTERLINK
1235
+EGREP
1236
+GREP
1237
+CPP
1238
+CONFIG_UNIX
1239
+CONFIG_OS2
1240
+CONFIG_WIN32
1241
+CONFIG_RISCOS
1242
+CONFIG_BEOS
1243
+CONFIG_MANPAGE
1244
+CONFIG_MANUAL
1245
+CONFIG_DOC
1246
+CONFIG_JW
1247
+CONFIG_XMLTO
1248
+CONFIG_POD2HTML
1249
+CONFIG_ASCIIDOC
1250
+ASCIIDOC_FLAGS
1251
+POD2HTML
1252
+JW
1253
+XMLTO
1254
+ASCIIDOC
1255
+SPARSE
1256
+GIT
1257
+INSTALL_DATA
1258
+INSTALL_SCRIPT
1259
+INSTALL_PROGRAM
1260
+RANLIB
1261
+AWK
1262
+OBJEXT
1263
+EXEEXT
1264
+ac_ct_CC
1265
+CPPFLAGS
1266
+LDFLAGS
1267
+CFLAGS
1268
+CC
1269
+MAKE
1270
+AUTOHEADER
1271
+AUTOCONF
1272
+ACLOCAL
1273
+VERSION
1274
+PACKAGE
1275
+target_alias
1276
+host_alias
1277
+build_alias
1278
+LIBS
1279
+ECHO_T
1280
+ECHO_N
1281
+ECHO_C
1282
+DEFS
1283
+mandir
1284
+localedir
1285
+libdir
1286
+psdir
1287
+pdfdir
1288
+dvidir
1289
+htmldir
1290
+infodir
1291
+docdir
1292
+oldincludedir
1293
+includedir
1294
+localstatedir
1295
+sharedstatedir
1296
+sysconfdir
1297
+datadir
1298
+datarootdir
1299
+libexecdir
1300
+sbindir
1301
+bindir
1302
+program_transform_name
1303
+prefix
1304
+exec_prefix
1305
+PACKAGE_URL
1306
+PACKAGE_BUGREPORT
1307
+PACKAGE_STRING
1308
+PACKAGE_VERSION
1309
+PACKAGE_TARNAME
1310
+PACKAGE_NAME
1311
+PATH_SEPARATOR
1312
+SHELL'
1313
 ac_subst_files=''
1314
+ac_user_opts='
1315
+enable_option_checking
1316
+enable_largefile
1317
+with_xterm
1318
+with_gpm
1319
+with_zlib
1320
+with_bzlib
1321
+with_idn
1322
+enable_bookmarks
1323
+enable_xbel
1324
+with_spidermonkey
1325
+with_guile
1326
+with_perl
1327
+with_python
1328
+with_lua
1329
+with_ruby
1330
+enable_sm_scripting
1331
+with_gnutls
1332
+with_openssl
1333
+with_x
1334
+with_libiconv
1335
+enable_nls
1336
+enable_cookies
1337
+enable_formhist
1338
+enable_globhist
1339
+enable_mailcap
1340
+enable_mimetypes
1341
+enable_ipv6
1342
+enable_bittorrent
1343
+enable_data
1344
+enable_uri_rewrite
1345
+enable_cgi
1346
+enable_finger
1347
+enable_fsp
1348
+enable_ftp
1349
+enable_gopher
1350
+enable_nntp
1351
+enable_smb
1352
+enable_mouse
1353
+enable_sysmouse
1354
+enable_88_colors
1355
+enable_256_colors
1356
+enable_exmode
1357
+enable_leds
1358
+enable_marks
1359
+enable_css
1360
+enable_html_highlight
1361
+enable_backtrace
1362
+enable_no_root
1363
+enable_debug
1364
+enable_fastmem
1365
+enable_own_libc
1366
+enable_small
1367
+enable_weehoofooboomookerchoo
1368
+'
1369
       ac_precious_vars='build_alias
1370
 host_alias
1371
 target_alias
1372
@@ -808,6 +871,8 @@ XMKMF'
1373
 # Initialize some variables set by options.
1374
 ac_init_help=
1375
 ac_init_version=false
1376
+ac_unrecognized_opts=
1377
+ac_unrecognized_sep=
1378
 # The variables have the same names as the options, with
1379
 # dashes changed to underlines.
1380
 cache_file=/dev/null
1381
@@ -863,8 +928,9 @@ do
1382
   fi
1383
 
1384
   case $ac_option in
1385
-  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1386
-  *)	ac_optarg=yes ;;
1387
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1388
+  *=)   ac_optarg= ;;
1389
+  *)    ac_optarg=yes ;;
1390
   esac
1391
 
1392
   # Accept the important Cygnus configure options, so we can diagnose typos.
1393
@@ -906,13 +972,20 @@ do
1394
     datarootdir=$ac_optarg ;;
1395
 
1396
   -disable-* | --disable-*)
1397
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1398
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1399
     # Reject names that are not valid shell variable names.
1400
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1401
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1402
-   { (exit 1); exit 1; }; }
1403
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1404
-    eval enable_$ac_feature=no ;;
1405
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1406
+      as_fn_error $? "invalid feature name: $ac_useropt"
1407
+    ac_useropt_orig=$ac_useropt
1408
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1409
+    case $ac_user_opts in
1410
+      *"
1411
+"enable_$ac_useropt"
1412
+"*) ;;
1413
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1414
+	 ac_unrecognized_sep=', ';;
1415
+    esac
1416
+    eval enable_$ac_useropt=no ;;
1417
 
1418
   -docdir | --docdir | --docdi | --doc | --do)
1419
     ac_prev=docdir ;;
1420
@@ -925,13 +998,20 @@ do
1421
     dvidir=$ac_optarg ;;
1422
 
1423
   -enable-* | --enable-*)
1424
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1425
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1426
     # Reject names that are not valid shell variable names.
1427
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1429
-   { (exit 1); exit 1; }; }
1430
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1431
-    eval enable_$ac_feature=\$ac_optarg ;;
1432
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1433
+      as_fn_error $? "invalid feature name: $ac_useropt"
1434
+    ac_useropt_orig=$ac_useropt
1435
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1436
+    case $ac_user_opts in
1437
+      *"
1438
+"enable_$ac_useropt"
1439
+"*) ;;
1440
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1441
+	 ac_unrecognized_sep=', ';;
1442
+    esac
1443
+    eval enable_$ac_useropt=\$ac_optarg ;;
1444
 
1445
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1446
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1447
@@ -1122,22 +1202,36 @@ do
1448
     ac_init_version=: ;;
1449
 
1450
   -with-* | --with-*)
1451
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1452
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1453
     # Reject names that are not valid shell variable names.
1454
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1456
-   { (exit 1); exit 1; }; }
1457
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1458
-    eval with_$ac_package=\$ac_optarg ;;
1459
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1460
+      as_fn_error $? "invalid package name: $ac_useropt"
1461
+    ac_useropt_orig=$ac_useropt
1462
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1463
+    case $ac_user_opts in
1464
+      *"
1465
+"with_$ac_useropt"
1466
+"*) ;;
1467
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1468
+	 ac_unrecognized_sep=', ';;
1469
+    esac
1470
+    eval with_$ac_useropt=\$ac_optarg ;;
1471
 
1472
   -without-* | --without-*)
1473
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1474
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1475
     # Reject names that are not valid shell variable names.
1476
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1477
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1478
-   { (exit 1); exit 1; }; }
1479
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1480
-    eval with_$ac_package=no ;;
1481
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1482
+      as_fn_error $? "invalid package name: $ac_useropt"
1483
+    ac_useropt_orig=$ac_useropt
1484
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1485
+    case $ac_user_opts in
1486
+      *"
1487
+"with_$ac_useropt"
1488
+"*) ;;
1489
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1490
+	 ac_unrecognized_sep=', ';;
1491
+    esac
1492
+    eval with_$ac_useropt=no ;;
1493
 
1494
   --x)
1495
     # Obsolete; use --with-x.
1496
@@ -1157,26 +1251,26 @@ do
1497
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1498
     x_libraries=$ac_optarg ;;
1499
 
1500
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
1501
-Try \`$0 --help' for more information." >&2
1502
-   { (exit 1); exit 1; }; }
1503
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1504
+Try \`$0 --help' for more information"
1505
     ;;
1506
 
1507
   *=*)
1508
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1509
     # Reject names that are not valid shell variable names.
1510
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1511
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1512
-   { (exit 1); exit 1; }; }
1513
+    case $ac_envvar in #(
1514
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
1515
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1516
+    esac
1517
     eval $ac_envvar=\$ac_optarg
1518
     export $ac_envvar ;;
1519
 
1520
   *)
1521
     # FIXME: should be removed in autoconf 3.0.
1522
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1523
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1524
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1525
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1526
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1527
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1528
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1529
     ;;
1530
 
1531
   esac
1532
@@ -1184,23 +1278,36 @@ done
1533
 
1534
 if test -n "$ac_prev"; then
1535
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1536
-  { echo "$as_me: error: missing argument to $ac_option" >&2
1537
-   { (exit 1); exit 1; }; }
1538
+  as_fn_error $? "missing argument to $ac_option"
1539
 fi
1540
 
1541
-# Be sure to have absolute directory names.
1542
+if test -n "$ac_unrecognized_opts"; then
1543
+  case $enable_option_checking in
1544
+    no) ;;
1545
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1546
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1547
+  esac
1548
+fi
1549
+
1550
+# Check all directory arguments for consistency.
1551
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1552
 		datadir sysconfdir sharedstatedir localstatedir includedir \
1553
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1554
 		libdir localedir mandir
1555
 do
1556
   eval ac_val=\$$ac_var
1557
+  # Remove trailing slashes.
1558
+  case $ac_val in
1559
+    */ )
1560
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1561
+      eval $ac_var=\$ac_val;;
1562
+  esac
1563
+  # Be sure to have absolute directory names.
1564
   case $ac_val in
1565
     [\\/$]* | ?:[\\/]* )  continue;;
1566
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1567
   esac
1568
-  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1569
-   { (exit 1); exit 1; }; }
1570
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1571
 done
1572
 
1573
 # There might be people who depend on the old broken behavior: `$host'
1574
@@ -1214,8 +1321,6 @@ target=$target_alias
1575
 if test "x$host_alias" != x; then
1576
   if test "x$build_alias" = x; then
1577
     cross_compiling=maybe
1578
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1579
-    If a cross compiler is detected then cross compile mode will be used." >&2
1580
   elif test "x$build_alias" != "x$host_alias"; then
1581
     cross_compiling=yes
1582
   fi
1583
@@ -1230,23 +1335,21 @@ test "$silent" = yes && exec 6>/dev/null
1584
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1585
 ac_ls_di=`ls -di .` &&
1586
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1587
-  { echo "$as_me: error: Working directory cannot be determined" >&2
1588
-   { (exit 1); exit 1; }; }
1589
+  as_fn_error $? "working directory cannot be determined"
1590
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1591
-  { echo "$as_me: error: pwd does not report name of working directory" >&2
1592
-   { (exit 1); exit 1; }; }
1593
+  as_fn_error $? "pwd does not report name of working directory"
1594
 
1595
 
1596
 # Find the source files, if location was not specified.
1597
 if test -z "$srcdir"; then
1598
   ac_srcdir_defaulted=yes
1599
   # Try the directory containing this script, then the parent directory.
1600
-  ac_confdir=`$as_dirname -- "$0" ||
1601
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1602
-	 X"$0" : 'X\(//\)[^/]' \| \
1603
-	 X"$0" : 'X\(//\)$' \| \
1604
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1605
-echo X"$0" |
1606
+  ac_confdir=`$as_dirname -- "$as_myself" ||
1607
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1608
+	 X"$as_myself" : 'X\(//\)[^/]' \| \
1609
+	 X"$as_myself" : 'X\(//\)$' \| \
1610
+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1611
+$as_echo X"$as_myself" |
1612
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1613
 	    s//\1/
1614
 	    q
1615
@@ -1273,13 +1376,11 @@ else
1616
 fi
1617
 if test ! -r "$srcdir/$ac_unique_file"; then
1618
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1619
-  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1620
-   { (exit 1); exit 1; }; }
1621
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1622
 fi
1623
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1624
 ac_abs_confdir=`(
1625
-	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1626
-   { (exit 1); exit 1; }; }
1627
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1628
 	pwd)`
1629
 # When building in place, set srcdir=.
1630
 if test "$ac_abs_confdir" = "$ac_pwd"; then
1631
@@ -1319,7 +1420,7 @@ Configuration:
1632
       --help=short        display options specific to this package
1633
       --help=recursive    display the short help of all the included packages
1634
   -V, --version           display version information and exit
1635
-  -q, --quiet, --silent   do not print \`checking...' messages
1636
+  -q, --quiet, --silent   do not print \`checking ...' messages
1637
       --cache-file=FILE   cache test results in FILE [disabled]
1638
   -C, --config-cache      alias for \`--cache-file=config.cache'
1639
   -n, --no-create         do not create output files
1640
@@ -1327,9 +1428,9 @@ Configuration:
1641
 
1642
 Installation directories:
1643
   --prefix=PREFIX         install architecture-independent files in PREFIX
1644
-			  [$ac_default_prefix]
1645
+                          [$ac_default_prefix]
1646
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1647
-			  [PREFIX]
1648
+                          [PREFIX]
1649
 
1650
 By default, \`make install' will install all the files in
1651
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1652
@@ -1339,25 +1440,25 @@ for instance \`--prefix=\$HOME'.
1653
 For better control, use the options below.
1654
 
1655
 Fine tuning of the installation directories:
1656
-  --bindir=DIR           user executables [EPREFIX/bin]
1657
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1658
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
1659
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1660
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1661
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1662
-  --libdir=DIR           object code libraries [EPREFIX/lib]
1663
-  --includedir=DIR       C header files [PREFIX/include]
1664
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1665
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1666
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1667
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
1668
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1669
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
1670
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1671
-  --htmldir=DIR          html documentation [DOCDIR]
1672
-  --dvidir=DIR           dvi documentation [DOCDIR]
1673
-  --pdfdir=DIR           pdf documentation [DOCDIR]
1674
-  --psdir=DIR            ps documentation [DOCDIR]
1675
+  --bindir=DIR            user executables [EPREFIX/bin]
1676
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1677
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
1678
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1679
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1680
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1681
+  --libdir=DIR            object code libraries [EPREFIX/lib]
1682
+  --includedir=DIR        C header files [PREFIX/include]
1683
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1684
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1685
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1686
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
1687
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1688
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
1689
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1690
+  --htmldir=DIR           html documentation [DOCDIR]
1691
+  --dvidir=DIR            dvi documentation [DOCDIR]
1692
+  --pdfdir=DIR            pdf documentation [DOCDIR]
1693
+  --psdir=DIR             ps documentation [DOCDIR]
1694
 _ACEOF
1695
 
1696
   cat <<\_ACEOF
1697
@@ -1377,6 +1478,7 @@ if test -n "$ac_init_help"; then
1698
   cat <<\_ACEOF
1699
 
1700
 Optional Features:
1701
+  --disable-option-checking  ignore unrecognized --enable/--with options
1702
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1703
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1704
   --disable-largefile     omit support for large files
1705
@@ -1446,7 +1548,7 @@ Some influential environment variables:
1706
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1707
               nonstandard directory <lib dir>
1708
   LIBS        libraries to pass to the linker, e.g. -l<library>
1709
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1710
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1711
               you have headers in a nonstandard directory <include dir>
1712
   CPP         C preprocessor
1713
   XMKMF       Path to xmkmf, Makefile generator for X Window System
1714
@@ -1454,6 +1556,7 @@ Some influential environment variables:
1715
 Use these variables to override the choices made by `configure' or to help
1716
 it to find libraries and programs with nonstandard names/locations.
1717
 
1718
+Report bugs to the package provider.
1719
 _ACEOF
1720
 ac_status=$?
1721
 fi
1722
@@ -1461,15 +1564,17 @@ fi
1723
 if test "$ac_init_help" = "recursive"; then
1724
   # If there are subdirs, report their specific --help.
1725
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1726
-    test -d "$ac_dir" || continue
1727
+    test -d "$ac_dir" ||
1728
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1729
+      continue
1730
     ac_builddir=.
1731
 
1732
 case "$ac_dir" in
1733
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1734
 *)
1735
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1736
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1737
   # A ".." for each directory in $ac_dir_suffix.
1738
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1739
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1740
   case $ac_top_builddir_sub in
1741
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1742
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1743
@@ -1505,7 +1610,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1744
       echo &&
1745
       $SHELL "$ac_srcdir/configure" --help=recursive
1746
     else
1747
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1749
     fi || ac_status=$?
1750
     cd "$ac_pwd" || { ac_status=$?; break; }
1751
   done
1752
@@ -1515,21 +1620,609 @@ test -n "$ac_init_help" && exit $ac_stat
1753
 if $ac_init_version; then
1754
   cat <<\_ACEOF
1755
 configure
1756
-generated by GNU Autoconf 2.61
1757
+generated by GNU Autoconf 2.69
1758
 
1759
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1760
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1761
+Copyright (C) 2012 Free Software Foundation, Inc.
1762
 This configure script is free software; the Free Software Foundation
1763
 gives unlimited permission to copy, distribute and modify it.
1764
 _ACEOF
1765
   exit
1766
 fi
1767
+
1768
+## ------------------------ ##
1769
+## Autoconf initialization. ##
1770
+## ------------------------ ##
1771
+
1772
+# ac_fn_c_try_compile LINENO
1773
+# --------------------------
1774
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1775
+ac_fn_c_try_compile ()
1776
+{
1777
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778
+  rm -f conftest.$ac_objext
1779
+  if { { ac_try="$ac_compile"
1780
+case "(($ac_try" in
1781
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782
+  *) ac_try_echo=$ac_try;;
1783
+esac
1784
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785
+$as_echo "$ac_try_echo"; } >&5
1786
+  (eval "$ac_compile") 2>conftest.err
1787
+  ac_status=$?
1788
+  if test -s conftest.err; then
1789
+    grep -v '^ *+' conftest.err >conftest.er1
1790
+    cat conftest.er1 >&5
1791
+    mv -f conftest.er1 conftest.err
1792
+  fi
1793
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794
+  test $ac_status = 0; } && {
1795
+	 test -z "$ac_c_werror_flag" ||
1796
+	 test ! -s conftest.err
1797
+       } && test -s conftest.$ac_objext; then :
1798
+  ac_retval=0
1799
+else
1800
+  $as_echo "$as_me: failed program was:" >&5
1801
+sed 's/^/| /' conftest.$ac_ext >&5
1802
+
1803
+	ac_retval=1
1804
+fi
1805
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806
+  as_fn_set_status $ac_retval
1807
+
1808
+} # ac_fn_c_try_compile
1809
+
1810
+# ac_fn_c_try_link LINENO
1811
+# -----------------------
1812
+# Try to link conftest.$ac_ext, and return whether this succeeded.
1813
+ac_fn_c_try_link ()
1814
+{
1815
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816
+  rm -f conftest.$ac_objext conftest$ac_exeext
1817
+  if { { ac_try="$ac_link"
1818
+case "(($ac_try" in
1819
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820
+  *) ac_try_echo=$ac_try;;
1821
+esac
1822
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823
+$as_echo "$ac_try_echo"; } >&5
1824
+  (eval "$ac_link") 2>conftest.err
1825
+  ac_status=$?
1826
+  if test -s conftest.err; then
1827
+    grep -v '^ *+' conftest.err >conftest.er1
1828
+    cat conftest.er1 >&5
1829
+    mv -f conftest.er1 conftest.err
1830
+  fi
1831
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832
+  test $ac_status = 0; } && {
1833
+	 test -z "$ac_c_werror_flag" ||
1834
+	 test ! -s conftest.err
1835
+       } && test -s conftest$ac_exeext && {
1836
+	 test "$cross_compiling" = yes ||
1837
+	 test -x conftest$ac_exeext
1838
+       }; then :
1839
+  ac_retval=0
1840
+else
1841
+  $as_echo "$as_me: failed program was:" >&5
1842
+sed 's/^/| /' conftest.$ac_ext >&5
1843
+
1844
+	ac_retval=1
1845
+fi
1846
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1847
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1848
+  # interfere with the next link command; also delete a directory that is
1849
+  # left behind by Apple's compiler.  We do this before executing the actions.
1850
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852
+  as_fn_set_status $ac_retval
1853
+
1854
+} # ac_fn_c_try_link
1855
+
1856
+# ac_fn_c_try_cpp LINENO
1857
+# ----------------------
1858
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1859
+ac_fn_c_try_cpp ()
1860
+{
1861
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
1863
+case "(($ac_try" in
1864
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865
+  *) ac_try_echo=$ac_try;;
1866
+esac
1867
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868
+$as_echo "$ac_try_echo"; } >&5
1869
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1870
+  ac_status=$?
1871
+  if test -s conftest.err; then
1872
+    grep -v '^ *+' conftest.err >conftest.er1
1873
+    cat conftest.er1 >&5
1874
+    mv -f conftest.er1 conftest.err
1875
+  fi
1876
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877
+  test $ac_status = 0; } > conftest.i && {
1878
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1879
+	 test ! -s conftest.err
1880
+       }; then :
1881
+  ac_retval=0
1882
+else
1883
+  $as_echo "$as_me: failed program was:" >&5
1884
+sed 's/^/| /' conftest.$ac_ext >&5
1885
+
1886
+    ac_retval=1
1887
+fi
1888
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889
+  as_fn_set_status $ac_retval
1890
+
1891
+} # ac_fn_c_try_cpp
1892
+
1893
+# ac_fn_c_try_run LINENO
1894
+# ----------------------
1895
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1896
+# that executables *can* be run.
1897
+ac_fn_c_try_run ()
1898
+{
1899
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900
+  if { { ac_try="$ac_link"
1901
+case "(($ac_try" in
1902
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903
+  *) ac_try_echo=$ac_try;;
1904
+esac
1905
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906
+$as_echo "$ac_try_echo"; } >&5
1907
+  (eval "$ac_link") 2>&5
1908
+  ac_status=$?
1909
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1911
+  { { case "(($ac_try" in
1912
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913
+  *) ac_try_echo=$ac_try;;
1914
+esac
1915
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916
+$as_echo "$ac_try_echo"; } >&5
1917
+  (eval "$ac_try") 2>&5
1918
+  ac_status=$?
1919
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920
+  test $ac_status = 0; }; }; then :
1921
+  ac_retval=0
1922
+else
1923
+  $as_echo "$as_me: program exited with status $ac_status" >&5
1924
+       $as_echo "$as_me: failed program was:" >&5
1925
+sed 's/^/| /' conftest.$ac_ext >&5
1926
+
1927
+       ac_retval=$ac_status
1928
+fi
1929
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931
+  as_fn_set_status $ac_retval
1932
+
1933
+} # ac_fn_c_try_run
1934
+
1935
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1936
+# -------------------------------------------------------
1937
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1938
+# the include files in INCLUDES and setting the cache variable VAR
1939
+# accordingly.
1940
+ac_fn_c_check_header_mongrel ()
1941
+{
1942
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
+  if eval \${$3+:} false; then :
1944
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945
+$as_echo_n "checking for $2... " >&6; }
1946
+if eval \${$3+:} false; then :
1947
+  $as_echo_n "(cached) " >&6
1948
+fi
1949
+eval ac_res=\$$3
1950
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951
+$as_echo "$ac_res" >&6; }
1952
+else
1953
+  # Is the header compilable?
1954
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1955
+$as_echo_n "checking $2 usability... " >&6; }
1956
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957
+/* end confdefs.h.  */
1958
+$4
1959
+#include <$2>
1960
+_ACEOF
1961
+if ac_fn_c_try_compile "$LINENO"; then :
1962
+  ac_header_compiler=yes
1963
+else
1964
+  ac_header_compiler=no
1965
+fi
1966
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1968
+$as_echo "$ac_header_compiler" >&6; }
1969
+
1970
+# Is the header present?
1971
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1972
+$as_echo_n "checking $2 presence... " >&6; }
1973
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974
+/* end confdefs.h.  */
1975
+#include <$2>
1976
+_ACEOF
1977
+if ac_fn_c_try_cpp "$LINENO"; then :
1978
+  ac_header_preproc=yes
1979
+else
1980
+  ac_header_preproc=no
1981
+fi
1982
+rm -f conftest.err conftest.i conftest.$ac_ext
1983
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1984
+$as_echo "$ac_header_preproc" >&6; }
1985
+
1986
+# So?  What about this header?
1987
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1988
+  yes:no: )
1989
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1990
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1991
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1992
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1993
+    ;;
1994
+  no:yes:* )
1995
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1996
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1997
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1998
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1999
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2000
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2001
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2002
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2003
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2004
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2005
+    ;;
2006
+esac
2007
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008
+$as_echo_n "checking for $2... " >&6; }
2009
+if eval \${$3+:} false; then :
2010
+  $as_echo_n "(cached) " >&6
2011
+else
2012
+  eval "$3=\$ac_header_compiler"
2013
+fi
2014
+eval ac_res=\$$3
2015
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016
+$as_echo "$ac_res" >&6; }
2017
+fi
2018
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019
+
2020
+} # ac_fn_c_check_header_mongrel
2021
+
2022
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2023
+# -------------------------------------------------------
2024
+# Tests whether HEADER exists and can be compiled using the include files in
2025
+# INCLUDES, setting the cache variable VAR accordingly.
2026
+ac_fn_c_check_header_compile ()
2027
+{
2028
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030
+$as_echo_n "checking for $2... " >&6; }
2031
+if eval \${$3+:} false; then :
2032
+  $as_echo_n "(cached) " >&6
2033
+else
2034
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035
+/* end confdefs.h.  */
2036
+$4
2037
+#include <$2>
2038
+_ACEOF
2039
+if ac_fn_c_try_compile "$LINENO"; then :
2040
+  eval "$3=yes"
2041
+else
2042
+  eval "$3=no"
2043
+fi
2044
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045
+fi
2046
+eval ac_res=\$$3
2047
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048
+$as_echo "$ac_res" >&6; }
2049
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050
+
2051
+} # ac_fn_c_check_header_compile
2052
+
2053
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2054
+# -------------------------------------------
2055
+# Tests whether TYPE exists after having included INCLUDES, setting cache
2056
+# variable VAR accordingly.
2057
+ac_fn_c_check_type ()
2058
+{
2059
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061
+$as_echo_n "checking for $2... " >&6; }
2062
+if eval \${$3+:} false; then :
2063
+  $as_echo_n "(cached) " >&6
2064
+else
2065
+  eval "$3=no"
2066
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067
+/* end confdefs.h.  */
2068
+$4
2069
+int
2070
+main ()
2071
+{
2072
+if (sizeof ($2))
2073
+	 return 0;
2074
+  ;
2075
+  return 0;
2076
+}
2077
+_ACEOF
2078
+if ac_fn_c_try_compile "$LINENO"; then :
2079
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080
+/* end confdefs.h.  */
2081
+$4
2082
+int
2083
+main ()
2084
+{
2085
+if (sizeof (($2)))
2086
+	    return 0;
2087
+  ;
2088
+  return 0;
2089
+}
2090
+_ACEOF
2091
+if ac_fn_c_try_compile "$LINENO"; then :
2092
+
2093
+else
2094
+  eval "$3=yes"
2095
+fi
2096
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097
+fi
2098
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099
+fi
2100
+eval ac_res=\$$3
2101
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102
+$as_echo "$ac_res" >&6; }
2103
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104
+
2105
+} # ac_fn_c_check_type
2106
+
2107
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2108
+# --------------------------------------------
2109
+# Tries to find the compile-time value of EXPR in a program that includes
2110
+# INCLUDES, setting VAR accordingly. Returns whether the value could be
2111
+# computed
2112
+ac_fn_c_compute_int ()
2113
+{
2114
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115
+  if test "$cross_compiling" = yes; then
2116
+    # Depending upon the size, compute the lo and hi bounds.
2117
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118
+/* end confdefs.h.  */
2119
+$4
2120
+int
2121
+main ()
2122
+{
2123
+static int test_array [1 - 2 * !(($2) >= 0)];
2124
+test_array [0] = 0;
2125
+return test_array [0];
2126
+
2127
+  ;
2128
+  return 0;
2129
+}
2130
+_ACEOF
2131
+if ac_fn_c_try_compile "$LINENO"; then :
2132
+  ac_lo=0 ac_mid=0
2133
+  while :; do
2134
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135
+/* end confdefs.h.  */
2136
+$4
2137
+int
2138
+main ()
2139
+{
2140
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2141
+test_array [0] = 0;
2142
+return test_array [0];
2143
+
2144
+  ;
2145
+  return 0;
2146
+}
2147
+_ACEOF
2148
+if ac_fn_c_try_compile "$LINENO"; then :
2149
+  ac_hi=$ac_mid; break
2150
+else
2151
+  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2152
+			if test $ac_lo -le $ac_mid; then
2153
+			  ac_lo= ac_hi=
2154
+			  break
2155
+			fi
2156
+			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2157
+fi
2158
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159
+  done
2160
+else
2161
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162
+/* end confdefs.h.  */
2163
+$4
2164
+int
2165
+main ()
2166
+{
2167
+static int test_array [1 - 2 * !(($2) < 0)];
2168
+test_array [0] = 0;
2169
+return test_array [0];
2170
+
2171
+  ;
2172
+  return 0;
2173
+}
2174
+_ACEOF
2175
+if ac_fn_c_try_compile "$LINENO"; then :
2176
+  ac_hi=-1 ac_mid=-1
2177
+  while :; do
2178
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179
+/* end confdefs.h.  */
2180
+$4
2181
+int
2182
+main ()
2183
+{
2184
+static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2185
+test_array [0] = 0;
2186
+return test_array [0];
2187
+
2188
+  ;
2189
+  return 0;
2190
+}
2191
+_ACEOF
2192
+if ac_fn_c_try_compile "$LINENO"; then :
2193
+  ac_lo=$ac_mid; break
2194
+else
2195
+  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196
+			if test $ac_mid -le $ac_hi; then
2197
+			  ac_lo= ac_hi=
2198
+			  break
2199
+			fi
2200
+			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201
+fi
2202
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203
+  done
2204
+else
2205
+  ac_lo= ac_hi=
2206
+fi
2207
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208
+fi
2209
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210
+# Binary search between lo and hi bounds.
2211
+while test "x$ac_lo" != "x$ac_hi"; do
2212
+  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214
+/* end confdefs.h.  */
2215
+$4
2216
+int
2217
+main ()
2218
+{
2219
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220
+test_array [0] = 0;
2221
+return test_array [0];
2222
+
2223
+  ;
2224
+  return 0;
2225
+}
2226
+_ACEOF
2227
+if ac_fn_c_try_compile "$LINENO"; then :
2228
+  ac_hi=$ac_mid
2229
+else
2230
+  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2231
+fi
2232
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233
+done
2234
+case $ac_lo in #((
2235
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2236
+'') ac_retval=1 ;;
2237
+esac
2238
+  else
2239
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240
+/* end confdefs.h.  */
2241
+$4
2242
+static long int longval () { return $2; }
2243
+static unsigned long int ulongval () { return $2; }
2244
+#include <stdio.h>
2245
+#include <stdlib.h>
2246
+int
2247
+main ()
2248
+{
2249
+
2250
+  FILE *f = fopen ("conftest.val", "w");
2251
+  if (! f)
2252
+    return 1;
2253
+  if (($2) < 0)
2254
+    {
2255
+      long int i = longval ();
2256
+      if (i != ($2))
2257
+	return 1;
2258
+      fprintf (f, "%ld", i);
2259
+    }
2260
+  else
2261
+    {
2262
+      unsigned long int i = ulongval ();
2263
+      if (i != ($2))
2264
+	return 1;
2265
+      fprintf (f, "%lu", i);
2266
+    }
2267
+  /* Do not output a trailing newline, as this causes \r\n confusion
2268
+     on some platforms.  */
2269
+  return ferror (f) || fclose (f) != 0;
2270
+
2271
+  ;
2272
+  return 0;
2273
+}
2274
+_ACEOF
2275
+if ac_fn_c_try_run "$LINENO"; then :
2276
+  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2277
+else
2278
+  ac_retval=1
2279
+fi
2280
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2281
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
2282
+rm -f conftest.val
2283
+
2284
+  fi
2285
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286
+  as_fn_set_status $ac_retval
2287
+
2288
+} # ac_fn_c_compute_int
2289
+
2290
+# ac_fn_c_check_func LINENO FUNC VAR
2291
+# ----------------------------------
2292
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
2293
+ac_fn_c_check_func ()
2294
+{
2295
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297
+$as_echo_n "checking for $2... " >&6; }
2298
+if eval \${$3+:} false; then :
2299
+  $as_echo_n "(cached) " >&6
2300
+else
2301
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302
+/* end confdefs.h.  */
2303
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2304
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2305
+#define $2 innocuous_$2
2306
+
2307
+/* System header to define __stub macros and hopefully few prototypes,
2308
+    which can conflict with char $2 (); below.
2309
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2310
+    <limits.h> exists even on freestanding compilers.  */
2311
+
2312
+#ifdef __STDC__
2313
+# include <limits.h>
2314
+#else
2315
+# include <assert.h>
2316
+#endif
2317
+
2318
+#undef $2
2319
+
2320
+/* Override any GCC internal prototype to avoid an error.
2321
+   Use char because int might match the return type of a GCC
2322
+   builtin and then its argument prototype would still apply.  */
2323
+#ifdef __cplusplus
2324
+extern "C"
2325
+#endif
2326
+char $2 ();
2327
+/* The GNU C library defines this for functions which it implements
2328
+    to always fail with ENOSYS.  Some functions are actually named
2329
+    something starting with __ and the normal name is an alias.  */
2330
+#if defined __stub_$2 || defined __stub___$2
2331
+choke me
2332
+#endif
2333
+
2334
+int
2335
+main ()
2336
+{
2337
+return $2 ();
2338
+  ;
2339
+  return 0;
2340
+}
2341
+_ACEOF
2342
+if ac_fn_c_try_link "$LINENO"; then :
2343
+  eval "$3=yes"
2344
+else
2345
+  eval "$3=no"
2346
+fi
2347
+rm -f core conftest.err conftest.$ac_objext \
2348
+    conftest$ac_exeext conftest.$ac_ext
2349
+fi
2350
+eval ac_res=\$$3
2351
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352
+$as_echo "$ac_res" >&6; }
2353
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354
+
2355
+} # ac_fn_c_check_func
2356
 cat >config.log <<_ACEOF
2357
 This file contains any messages produced by compilers while
2358
 running configure, to aid debugging if configure makes a mistake.
2359
 
2360
 It was created by $as_me, which was
2361
-generated by GNU Autoconf 2.61.  Invocation command line was
2362
+generated by GNU Autoconf 2.69.  Invocation command line was
2363
 
2364
   $ $0 $@
2365
 
2366
@@ -1565,8 +2258,8 @@ for as_dir in $PATH
2367
 do
2368
   IFS=$as_save_IFS
2369
   test -z "$as_dir" && as_dir=.
2370
-  echo "PATH: $as_dir"
2371
-done
2372
+    $as_echo "PATH: $as_dir"
2373
+  done
2374
 IFS=$as_save_IFS
2375
 
2376
 } >&5
2377
@@ -1600,12 +2293,12 @@ do
2378
     | -silent | --silent | --silen | --sile | --sil)
2379
       continue ;;
2380
     *\'*)
2381
-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2382
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2383
     esac
2384
     case $ac_pass in
2385
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2386
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2387
     2)
2388
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2389
+      as_fn_append ac_configure_args1 " '$ac_arg'"
2390
       if test $ac_must_keep_next = true; then
2391
 	ac_must_keep_next=false # Got value, back to normal.
2392
       else
2393
@@ -1621,13 +2314,13 @@ do
2394
 	  -* ) ac_must_keep_next=true ;;
2395
 	esac
2396
       fi
2397
-      ac_configure_args="$ac_configure_args '$ac_arg'"
2398
+      as_fn_append ac_configure_args " '$ac_arg'"
2399
       ;;
2400
     esac
2401
   done
2402
 done
2403
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2404
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2405
+{ ac_configure_args0=; unset ac_configure_args0;}
2406
+{ ac_configure_args1=; unset ac_configure_args1;}
2407
 
2408
 # When interrupted or exit'd, cleanup temporary files, and complete
2409
 # config.log.  We remove comments because anyway the quotes in there
2410
@@ -1639,11 +2332,9 @@ trap 'exit_status=$?
2411
   {
2412
     echo
2413
 
2414
-    cat <<\_ASBOX
2415
-## ---------------- ##
2416
+    $as_echo "## ---------------- ##
2417
 ## Cache variables. ##
2418
-## ---------------- ##
2419
-_ASBOX
2420
+## ---------------- ##"
2421
     echo
2422
     # The following way of writing the cache mishandles newlines in values,
2423
 (
2424
@@ -1652,12 +2343,13 @@ _ASBOX
2425
     case $ac_val in #(
2426
     *${as_nl}*)
2427
       case $ac_var in #(
2428
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2429
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2430
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2431
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2432
       esac
2433
       case $ac_var in #(
2434
       _ | IFS | as_nl) ;; #(
2435
-      *) $as_unset $ac_var ;;
2436
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2437
+      *) { eval $ac_var=; unset $ac_var;} ;;
2438
       esac ;;
2439
     esac
2440
   done
2441
@@ -1676,131 +2368,142 @@ echo "$as_me: WARNING: Cache variable $a
2442
 )
2443
     echo
2444
 
2445
-    cat <<\_ASBOX
2446
-## ----------------- ##
2447
+    $as_echo "## ----------------- ##
2448
 ## Output variables. ##
2449
-## ----------------- ##
2450
-_ASBOX
2451
+## ----------------- ##"
2452
     echo
2453
     for ac_var in $ac_subst_vars
2454
     do
2455
       eval ac_val=\$$ac_var
2456
       case $ac_val in
2457
-      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2458
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2459
       esac
2460
-      echo "$ac_var='\''$ac_val'\''"
2461
+      $as_echo "$ac_var='\''$ac_val'\''"
2462
     done | sort
2463
     echo
2464
 
2465
     if test -n "$ac_subst_files"; then
2466
-      cat <<\_ASBOX
2467
-## ------------------- ##
2468
+      $as_echo "## ------------------- ##
2469
 ## File substitutions. ##
2470
-## ------------------- ##
2471
-_ASBOX
2472
+## ------------------- ##"
2473
       echo
2474
       for ac_var in $ac_subst_files
2475
       do
2476
 	eval ac_val=\$$ac_var
2477
 	case $ac_val in
2478
-	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2479
+	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2480
 	esac
2481
-	echo "$ac_var='\''$ac_val'\''"
2482
+	$as_echo "$ac_var='\''$ac_val'\''"
2483
       done | sort
2484
       echo
2485
     fi
2486
 
2487
     if test -s confdefs.h; then
2488
-      cat <<\_ASBOX
2489
-## ----------- ##
2490
+      $as_echo "## ----------- ##
2491
 ## confdefs.h. ##
2492
-## ----------- ##
2493
-_ASBOX
2494
+## ----------- ##"
2495
       echo
2496
       cat confdefs.h
2497
       echo
2498
     fi
2499
     test "$ac_signal" != 0 &&
2500
-      echo "$as_me: caught signal $ac_signal"
2501
-    echo "$as_me: exit $exit_status"
2502
+      $as_echo "$as_me: caught signal $ac_signal"
2503
+    $as_echo "$as_me: exit $exit_status"
2504
   } >&5
2505
   rm -f core *.core core.conftest.* &&
2506
     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2507
     exit $exit_status
2508
 ' 0
2509
 for ac_signal in 1 2 13 15; do
2510
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2511
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2512
 done
2513
 ac_signal=0
2514
 
2515
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2516
 rm -f -r conftest* confdefs.h
2517
 
2518
+$as_echo "/* confdefs.h */" > confdefs.h
2519
+
2520
 # Predefined preprocessor variables.
2521
 
2522
 cat >>confdefs.h <<_ACEOF
2523
 #define PACKAGE_NAME "$PACKAGE_NAME"
2524
 _ACEOF
2525
 
2526
-
2527
 cat >>confdefs.h <<_ACEOF
2528
 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2529
 _ACEOF
2530
 
2531
-
2532
 cat >>confdefs.h <<_ACEOF
2533
 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2534
 _ACEOF
2535
 
2536
-
2537
 cat >>confdefs.h <<_ACEOF
2538
 #define PACKAGE_STRING "$PACKAGE_STRING"
2539
 _ACEOF
2540
 
2541
-
2542
 cat >>confdefs.h <<_ACEOF
2543
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2544
 _ACEOF
2545
 
2546
+cat >>confdefs.h <<_ACEOF
2547
+#define PACKAGE_URL "$PACKAGE_URL"
2548
+_ACEOF
2549
+
2550
 
2551
 # Let the site file select an alternate cache file if it wants to.
2552
-# Prefer explicitly selected file to automatically selected ones.
2553
+# Prefer an explicitly selected file to automatically selected ones.
2554
+ac_site_file1=NONE
2555
+ac_site_file2=NONE
2556
 if test -n "$CONFIG_SITE"; then
2557
-  set x "$CONFIG_SITE"
2558
+  # We do not want a PATH search for config.site.
2559
+  case $CONFIG_SITE in #((
2560
+    -*)  ac_site_file1=./$CONFIG_SITE;;
2561
+    */*) ac_site_file1=$CONFIG_SITE;;
2562
+    *)   ac_site_file1=./$CONFIG_SITE;;
2563
+  esac
2564
 elif test "x$prefix" != xNONE; then
2565
-  set x "$prefix/share/config.site" "$prefix/etc/config.site"
2566
+  ac_site_file1=$prefix/share/config.site
2567
+  ac_site_file2=$prefix/etc/config.site
2568
 else
2569
-  set x "$ac_default_prefix/share/config.site" \
2570
-	"$ac_default_prefix/etc/config.site"
2571
+  ac_site_file1=$ac_default_prefix/share/config.site
2572
+  ac_site_file2=$ac_default_prefix/etc/config.site
2573
 fi
2574
-shift
2575
-for ac_site_file
2576
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2577
 do
2578
-  if test -r "$ac_site_file"; then
2579
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2580
-echo "$as_me: loading site script $ac_site_file" >&6;}
2581
+  test "x$ac_site_file" = xNONE && continue
2582
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2583
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2584
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2585
     sed 's/^/| /' "$ac_site_file" >&5
2586
-    . "$ac_site_file"
2587
+    . "$ac_site_file" \
2588
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590
+as_fn_error $? "failed to load site script $ac_site_file
2591
+See \`config.log' for more details" "$LINENO" 5; }
2592
   fi
2593
 done
2594
 
2595
 if test -r "$cache_file"; then
2596
-  # Some versions of bash will fail to source /dev/null (special
2597
-  # files actually), so we avoid doing that.
2598
-  if test -f "$cache_file"; then
2599
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2600
-echo "$as_me: loading cache $cache_file" >&6;}
2601
+  # Some versions of bash will fail to source /dev/null (special files
2602
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2603
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2604
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2605
+$as_echo "$as_me: loading cache $cache_file" >&6;}
2606
     case $cache_file in
2607
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2608
       *)                      . "./$cache_file";;
2609
     esac
2610
   fi
2611
 else
2612
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2613
-echo "$as_me: creating cache $cache_file" >&6;}
2614
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2615
+$as_echo "$as_me: creating cache $cache_file" >&6;}
2616
   >$cache_file
2617
 fi
2618
 
2619
+as_fn_append ac_header_list " stdlib.h"
2620
+as_fn_append ac_header_list " unistd.h"
2621
+as_fn_append ac_header_list " sys/param.h"
2622
 # Check that the precious variables saved in the cache have kept the same
2623
 # value.
2624
 ac_cache_corrupted=false
2625
@@ -1811,60 +2514,56 @@ for ac_var in $ac_precious_vars; do
2626
   eval ac_new_val=\$ac_env_${ac_var}_value
2627
   case $ac_old_set,$ac_new_set in
2628
     set,)
2629
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2630
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2631
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2632
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2633
       ac_cache_corrupted=: ;;
2634
     ,set)
2635
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2636
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2637
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2638
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2639
       ac_cache_corrupted=: ;;
2640
     ,);;
2641
     *)
2642
       if test "x$ac_old_val" != "x$ac_new_val"; then
2643
-	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2644
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2645
-	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2646
-echo "$as_me:   former value:  $ac_old_val" >&2;}
2647
-	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2648
-echo "$as_me:   current value: $ac_new_val" >&2;}
2649
-	ac_cache_corrupted=:
2650
+	# differences in whitespace do not lead to failure.
2651
+	ac_old_val_w=`echo x $ac_old_val`
2652
+	ac_new_val_w=`echo x $ac_new_val`
2653
+	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2654
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2655
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2656
+	  ac_cache_corrupted=:
2657
+	else
2658
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2659
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2660
+	  eval $ac_var=\$ac_old_val
2661
+	fi
2662
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2663
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2664
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2665
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2666
       fi;;
2667
   esac
2668
   # Pass precious variables to config.status.
2669
   if test "$ac_new_set" = set; then
2670
     case $ac_new_val in
2671
-    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2672
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2673
     *) ac_arg=$ac_var=$ac_new_val ;;
2674
     esac
2675
     case " $ac_configure_args " in
2676
       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2677
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2678
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2679
     esac
2680
   fi
2681
 done
2682
 if $ac_cache_corrupted; then
2683
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2684
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2685
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2686
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2687
-   { (exit 1); exit 1; }; }
2688
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2689
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2690
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2691
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2692
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2693
 fi
2694
-
2695
-
2696
-
2697
-
2698
-
2699
-
2700
-
2701
-
2702
-
2703
-
2704
-
2705
-
2706
-
2707
-
2708
-
2709
-
2710
+## -------------------- ##
2711
+## Main body of script. ##
2712
+## -------------------- ##
2713
 
2714
 ac_ext=c
2715
 ac_cpp='$CPP $CPPFLAGS'
2716
@@ -1890,9 +2589,7 @@ for ac_dir in config "$srcdir"/config; d
2717
   fi
2718
 done
2719
 if test -z "$ac_aux_dir"; then
2720
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2721
-echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2722
-   { (exit 1); exit 1; }; }
2723
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2724
 fi
2725
 
2726
 # These three variables are undocumented and unsupported,
2727
@@ -1924,10 +2621,10 @@ ac_config_headers="$ac_config_headers co
2728
 
2729
 # Extract the first word of "aclocal", so it can be a program name with args.
2730
 set dummy aclocal; ac_word=$2
2731
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2732
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2733
-if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2734
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2735
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736
+$as_echo_n "checking for $ac_word... " >&6; }
2737
+if ${ac_cv_prog_ACLOCAL+:} false; then :
2738
+  $as_echo_n "(cached) " >&6
2739
 else
2740
   if test -n "$ACLOCAL"; then
2741
   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
2742
@@ -1937,14 +2634,14 @@ for as_dir in $PATH
2743
 do
2744
   IFS=$as_save_IFS
2745
   test -z "$as_dir" && as_dir=.
2746
-  for ac_exec_ext in '' $ac_executable_extensions; do
2747
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748
+    for ac_exec_ext in '' $ac_executable_extensions; do
2749
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2750
     ac_cv_prog_ACLOCAL="aclocal"
2751
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753
     break 2
2754
   fi
2755
 done
2756
-done
2757
+  done
2758
 IFS=$as_save_IFS
2759
 
2760
   test -z "$ac_cv_prog_ACLOCAL" && ac_cv_prog_ACLOCAL="config/missing aclocal"
2761
@@ -1952,20 +2649,20 @@ fi
2762
 fi
2763
 ACLOCAL=$ac_cv_prog_ACLOCAL
2764
 if test -n "$ACLOCAL"; then
2765
-  { echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2766
-echo "${ECHO_T}$ACLOCAL" >&6; }
2767
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
2768
+$as_echo "$ACLOCAL" >&6; }
2769
 else
2770
-  { echo "$as_me:$LINENO: result: no" >&5
2771
-echo "${ECHO_T}no" >&6; }
2772
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773
+$as_echo "no" >&6; }
2774
 fi
2775
 
2776
 
2777
 # Extract the first word of "autoconf", so it can be a program name with args.
2778
 set dummy autoconf; ac_word=$2
2779
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2780
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2781
-if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2782
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2783
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784
+$as_echo_n "checking for $ac_word... " >&6; }
2785
+if ${ac_cv_prog_AUTOCONF+:} false; then :
2786
+  $as_echo_n "(cached) " >&6
2787
 else
2788
   if test -n "$AUTOCONF"; then
2789
   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
2790
@@ -1975,14 +2672,14 @@ for as_dir in $PATH
2791
 do
2792
   IFS=$as_save_IFS
2793
   test -z "$as_dir" && as_dir=.
2794
-  for ac_exec_ext in '' $ac_executable_extensions; do
2795
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796
+    for ac_exec_ext in '' $ac_executable_extensions; do
2797
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798
     ac_cv_prog_AUTOCONF="autoconf"
2799
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801
     break 2
2802
   fi
2803
 done
2804
-done
2805
+  done
2806
 IFS=$as_save_IFS
2807
 
2808
   test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF="config/missing autoconf"
2809
@@ -1990,20 +2687,20 @@ fi
2810
 fi
2811
 AUTOCONF=$ac_cv_prog_AUTOCONF
2812
 if test -n "$AUTOCONF"; then
2813
-  { echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2814
-echo "${ECHO_T}$AUTOCONF" >&6; }
2815
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
2816
+$as_echo "$AUTOCONF" >&6; }
2817
 else
2818
-  { echo "$as_me:$LINENO: result: no" >&5
2819
-echo "${ECHO_T}no" >&6; }
2820
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821
+$as_echo "no" >&6; }
2822
 fi
2823
 
2824
 
2825
 # Extract the first word of "autoheader", so it can be a program name with args.
2826
 set dummy autoheader; ac_word=$2
2827
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2828
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2829
-if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2830
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2831
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832
+$as_echo_n "checking for $ac_word... " >&6; }
2833
+if ${ac_cv_prog_AUTOHEADER+:} false; then :
2834
+  $as_echo_n "(cached) " >&6
2835
 else
2836
   if test -n "$AUTOHEADER"; then
2837
   ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
2838
@@ -2013,14 +2710,14 @@ for as_dir in $PATH
2839
 do
2840
   IFS=$as_save_IFS
2841
   test -z "$as_dir" && as_dir=.
2842
-  for ac_exec_ext in '' $ac_executable_extensions; do
2843
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844
+    for ac_exec_ext in '' $ac_executable_extensions; do
2845
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2846
     ac_cv_prog_AUTOHEADER="autoheader"
2847
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849
     break 2
2850
   fi
2851
 done
2852
-done
2853
+  done
2854
 IFS=$as_save_IFS
2855
 
2856
   test -z "$ac_cv_prog_AUTOHEADER" && ac_cv_prog_AUTOHEADER="config/missing autoheader"
2857
@@ -2028,11 +2725,11 @@ fi
2858
 fi
2859
 AUTOHEADER=$ac_cv_prog_AUTOHEADER
2860
 if test -n "$AUTOHEADER"; then
2861
-  { echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2862
-echo "${ECHO_T}$AUTOHEADER" >&6; }
2863
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
2864
+$as_echo "$AUTOHEADER" >&6; }
2865
 else
2866
-  { echo "$as_me:$LINENO: result: no" >&5
2867
-echo "${ECHO_T}no" >&6; }
2868
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869
+$as_echo "no" >&6; }
2870
 fi
2871
 
2872
 
2873
@@ -2045,10 +2742,10 @@ for make in gnumake gmake make false; do
2874
 do
2875
   # Extract the first word of "$ac_prog", so it can be a program name with args.
2876
 set dummy $ac_prog; ac_word=$2
2877
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2878
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2879
-if test "${ac_cv_path_MAKE+set}" = set; then
2880
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2881
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
+$as_echo_n "checking for $ac_word... " >&6; }
2883
+if ${ac_cv_path_MAKE+:} false; then :
2884
+  $as_echo_n "(cached) " >&6
2885
 else
2886
   case $MAKE in
2887
   [\\/]* | ?:[\\/]*)
2888
@@ -2060,14 +2757,14 @@ for as_dir in $PATH
2889
 do
2890
   IFS=$as_save_IFS
2891
   test -z "$as_dir" && as_dir=.
2892
-  for ac_exec_ext in '' $ac_executable_extensions; do
2893
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894
+    for ac_exec_ext in '' $ac_executable_extensions; do
2895
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896
     ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
2897
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899
     break 2
2900
   fi
2901
 done
2902
-done
2903
+  done
2904
 IFS=$as_save_IFS
2905
 
2906
   ;;
2907
@@ -2075,11 +2772,11 @@ esac
2908
 fi
2909
 MAKE=$ac_cv_path_MAKE
2910
 if test -n "$MAKE"; then
2911
-  { echo "$as_me:$LINENO: result: $MAKE" >&5
2912
-echo "${ECHO_T}$MAKE" >&6; }
2913
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
2914
+$as_echo "$MAKE" >&6; }
2915
 else
2916
-  { echo "$as_me:$LINENO: result: no" >&5
2917
-echo "${ECHO_T}no" >&6; }
2918
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919
+$as_echo "no" >&6; }
2920
 fi
2921
 
2922
 
2923
@@ -2093,58 +2790,54 @@ builddir="`pwd`"
2924
 
2925
 # Cleanup if we are configuring with a previous build in the tree
2926
 if test -e Makefile.config; then
2927
-	{ echo "$as_me:$LINENO: checking for previous build to clean" >&5
2928
-echo $ECHO_N "checking for previous build to clean... $ECHO_C" >&6; }
2929
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for previous build to clean" >&5
2930
+$as_echo_n "checking for previous build to clean... " >&6; }
2931
 	"$MAKE" -C "$builddir/src" cleanall >/dev/null 2>/dev/null
2932
-	{ echo "$as_me:$LINENO: result: done" >&5
2933
-echo "${ECHO_T}done" >&6; }
2934
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2935
+$as_echo "done" >&6; }
2936
 fi
2937
 
2938
 
2939
 features="features.conf"
2940
-as_ac_File=`echo "ac_cv_file_"$srcdir/$features"" | $as_tr_sh`
2941
-{ echo "$as_me:$LINENO: checking for \"$srcdir/$features\"" >&5
2942
-echo $ECHO_N "checking for \"$srcdir/$features\"... $ECHO_C" >&6; }
2943
-if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
2944
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2945
+as_ac_File=`$as_echo "ac_cv_file_"$srcdir/$features"" | $as_tr_sh`
2946
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"$srcdir/$features\"" >&5
2947
+$as_echo_n "checking for \"$srcdir/$features\"... " >&6; }
2948
+if eval \${$as_ac_File+:} false; then :
2949
+  $as_echo_n "(cached) " >&6
2950
 else
2951
   test "$cross_compiling" = yes &&
2952
-  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2953
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2954
-   { (exit 1); exit 1; }; }
2955
+  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2956
 if test -r ""$srcdir/$features""; then
2957
   eval "$as_ac_File=yes"
2958
 else
2959
   eval "$as_ac_File=no"
2960
 fi
2961
 fi
2962
-ac_res=`eval echo '${'$as_ac_File'}'`
2963
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
2964
-echo "${ECHO_T}$ac_res" >&6; }
2965
-if test `eval echo '${'$as_ac_File'}'` = yes; then
2966
+eval ac_res=\$$as_ac_File
2967
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2968
+$as_echo "$ac_res" >&6; }
2969
+if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2970
    . $srcdir/$features
2971
 fi
2972
 
2973
-as_ac_File=`echo "ac_cv_file_"$builddir/$features"" | $as_tr_sh`
2974
-{ echo "$as_me:$LINENO: checking for \"$builddir/$features\"" >&5
2975
-echo $ECHO_N "checking for \"$builddir/$features\"... $ECHO_C" >&6; }
2976
-if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
2977
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2978
+as_ac_File=`$as_echo "ac_cv_file_"$builddir/$features"" | $as_tr_sh`
2979
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"$builddir/$features\"" >&5
2980
+$as_echo_n "checking for \"$builddir/$features\"... " >&6; }
2981
+if eval \${$as_ac_File+:} false; then :
2982
+  $as_echo_n "(cached) " >&6
2983
 else
2984
   test "$cross_compiling" = yes &&
2985
-  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2986
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2987
-   { (exit 1); exit 1; }; }
2988
+  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2989
 if test -r ""$builddir/$features""; then
2990
   eval "$as_ac_File=yes"
2991
 else
2992
   eval "$as_ac_File=no"
2993
 fi
2994
 fi
2995
-ac_res=`eval echo '${'$as_ac_File'}'`
2996
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
2997
-echo "${ECHO_T}$ac_res" >&6; }
2998
-if test `eval echo '${'$as_ac_File'}'` = yes; then
2999
+eval ac_res=\$$as_ac_File
3000
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3001
+$as_echo "$ac_res" >&6; }
3002
+if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
3003
    . $builddir/$features
3004
 fi
3005
 
3006
@@ -2159,10 +2852,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3007
 if test -n "$ac_tool_prefix"; then
3008
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3009
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3010
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3011
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3012
-if test "${ac_cv_prog_CC+set}" = set; then
3013
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3014
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015
+$as_echo_n "checking for $ac_word... " >&6; }
3016
+if ${ac_cv_prog_CC+:} false; then :
3017
+  $as_echo_n "(cached) " >&6
3018
 else
3019
   if test -n "$CC"; then
3020
   ac_cv_prog_CC="$CC" # Let the user override the test.
3021
@@ -2172,25 +2865,25 @@ for as_dir in $PATH
3022
 do
3023
   IFS=$as_save_IFS
3024
   test -z "$as_dir" && as_dir=.
3025
-  for ac_exec_ext in '' $ac_executable_extensions; do
3026
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027
+    for ac_exec_ext in '' $ac_executable_extensions; do
3028
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3029
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3030
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3031
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032
     break 2
3033
   fi
3034
 done
3035
-done
3036
+  done
3037
 IFS=$as_save_IFS
3038
 
3039
 fi
3040
 fi
3041
 CC=$ac_cv_prog_CC
3042
 if test -n "$CC"; then
3043
-  { echo "$as_me:$LINENO: result: $CC" >&5
3044
-echo "${ECHO_T}$CC" >&6; }
3045
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3046
+$as_echo "$CC" >&6; }
3047
 else
3048
-  { echo "$as_me:$LINENO: result: no" >&5
3049
-echo "${ECHO_T}no" >&6; }
3050
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051
+$as_echo "no" >&6; }
3052
 fi
3053
 
3054
 
3055
@@ -2199,10 +2892,10 @@ if test -z "$ac_cv_prog_CC"; then
3056
   ac_ct_CC=$CC
3057
   # Extract the first word of "gcc", so it can be a program name with args.
3058
 set dummy gcc; ac_word=$2
3059
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3060
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3061
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3062
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3063
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064
+$as_echo_n "checking for $ac_word... " >&6; }
3065
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
3066
+  $as_echo_n "(cached) " >&6
3067
 else
3068
   if test -n "$ac_ct_CC"; then
3069
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3070
@@ -2212,25 +2905,25 @@ for as_dir in $PATH
3071
 do
3072
   IFS=$as_save_IFS
3073
   test -z "$as_dir" && as_dir=.
3074
-  for ac_exec_ext in '' $ac_executable_extensions; do
3075
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076
+    for ac_exec_ext in '' $ac_executable_extensions; do
3077
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078
     ac_cv_prog_ac_ct_CC="gcc"
3079
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3080
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081
     break 2
3082
   fi
3083
 done
3084
-done
3085
+  done
3086
 IFS=$as_save_IFS
3087
 
3088
 fi
3089
 fi
3090
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3091
 if test -n "$ac_ct_CC"; then
3092
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3093
-echo "${ECHO_T}$ac_ct_CC" >&6; }
3094
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3095
+$as_echo "$ac_ct_CC" >&6; }
3096
 else
3097
-  { echo "$as_me:$LINENO: result: no" >&5
3098
-echo "${ECHO_T}no" >&6; }
3099
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100
+$as_echo "no" >&6; }
3101
 fi
3102
 
3103
   if test "x$ac_ct_CC" = x; then
3104
@@ -2238,12 +2931,8 @@ fi
3105
   else
3106
     case $cross_compiling:$ac_tool_warned in
3107
 yes:)
3108
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3109
-whose name does not start with the host triplet.  If you think this
3110
-configuration is useful to you, please write to autoconf@gnu.org." >&5
3111
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3112
-whose name does not start with the host triplet.  If you think this
3113
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3114
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116
 ac_tool_warned=yes ;;
3117
 esac
3118
     CC=$ac_ct_CC
3119
@@ -2256,10 +2945,10 @@ if test -z "$CC"; then
3120
           if test -n "$ac_tool_prefix"; then
3121
     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122
 set dummy ${ac_tool_prefix}cc; ac_word=$2
3123
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3124
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3125
-if test "${ac_cv_prog_CC+set}" = set; then
3126
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3127
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128
+$as_echo_n "checking for $ac_word... " >&6; }
3129
+if ${ac_cv_prog_CC+:} false; then :
3130
+  $as_echo_n "(cached) " >&6
3131
 else
3132
   if test -n "$CC"; then
3133
   ac_cv_prog_CC="$CC" # Let the user override the test.
3134
@@ -2269,25 +2958,25 @@ for as_dir in $PATH
3135
 do
3136
   IFS=$as_save_IFS
3137
   test -z "$as_dir" && as_dir=.
3138
-  for ac_exec_ext in '' $ac_executable_extensions; do
3139
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140
+    for ac_exec_ext in '' $ac_executable_extensions; do
3141
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3142
     ac_cv_prog_CC="${ac_tool_prefix}cc"
3143
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3144
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145
     break 2
3146
   fi
3147
 done
3148
-done
3149
+  done
3150
 IFS=$as_save_IFS
3151
 
3152
 fi
3153
 fi
3154
 CC=$ac_cv_prog_CC
3155
 if test -n "$CC"; then
3156
-  { echo "$as_me:$LINENO: result: $CC" >&5
3157
-echo "${ECHO_T}$CC" >&6; }
3158
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3159
+$as_echo "$CC" >&6; }
3160
 else
3161
-  { echo "$as_me:$LINENO: result: no" >&5
3162
-echo "${ECHO_T}no" >&6; }
3163
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164
+$as_echo "no" >&6; }
3165
 fi
3166
 
3167
 
3168
@@ -2296,10 +2985,10 @@ fi
3169
 if test -z "$CC"; then
3170
   # Extract the first word of "cc", so it can be a program name with args.
3171
 set dummy cc; ac_word=$2
3172
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3173
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3174
-if test "${ac_cv_prog_CC+set}" = set; then
3175
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3176
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177
+$as_echo_n "checking for $ac_word... " >&6; }
3178
+if ${ac_cv_prog_CC+:} false; then :
3179
+  $as_echo_n "(cached) " >&6
3180
 else
3181
   if test -n "$CC"; then
3182
   ac_cv_prog_CC="$CC" # Let the user override the test.
3183
@@ -2310,18 +2999,18 @@ for as_dir in $PATH
3184
 do
3185
   IFS=$as_save_IFS
3186
   test -z "$as_dir" && as_dir=.
3187
-  for ac_exec_ext in '' $ac_executable_extensions; do
3188
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189
+    for ac_exec_ext in '' $ac_executable_extensions; do
3190
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3192
        ac_prog_rejected=yes
3193
        continue
3194
      fi
3195
     ac_cv_prog_CC="cc"
3196
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198
     break 2
3199
   fi
3200
 done
3201
-done
3202
+  done
3203
 IFS=$as_save_IFS
3204
 
3205
 if test $ac_prog_rejected = yes; then
3206
@@ -2340,11 +3029,11 @@ fi
3207
 fi
3208
 CC=$ac_cv_prog_CC
3209
 if test -n "$CC"; then
3210
-  { echo "$as_me:$LINENO: result: $CC" >&5
3211
-echo "${ECHO_T}$CC" >&6; }
3212
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213
+$as_echo "$CC" >&6; }
3214
 else
3215
-  { echo "$as_me:$LINENO: result: no" >&5
3216
-echo "${ECHO_T}no" >&6; }
3217
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218
+$as_echo "no" >&6; }
3219
 fi
3220
 
3221
 
3222
@@ -2355,10 +3044,10 @@ if test -z "$CC"; then
3223
   do
3224
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3225
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3226
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3227
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3228
-if test "${ac_cv_prog_CC+set}" = set; then
3229
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3230
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231
+$as_echo_n "checking for $ac_word... " >&6; }
3232
+if ${ac_cv_prog_CC+:} false; then :
3233
+  $as_echo_n "(cached) " >&6
3234
 else
3235
   if test -n "$CC"; then
3236
   ac_cv_prog_CC="$CC" # Let the user override the test.
3237
@@ -2368,25 +3057,25 @@ for as_dir in $PATH
3238
 do
3239
   IFS=$as_save_IFS
3240
   test -z "$as_dir" && as_dir=.
3241
-  for ac_exec_ext in '' $ac_executable_extensions; do
3242
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243
+    for ac_exec_ext in '' $ac_executable_extensions; do
3244
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3246
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3247
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248
     break 2
3249
   fi
3250
 done
3251
-done
3252
+  done
3253
 IFS=$as_save_IFS
3254
 
3255
 fi
3256
 fi
3257
 CC=$ac_cv_prog_CC
3258
 if test -n "$CC"; then
3259
-  { echo "$as_me:$LINENO: result: $CC" >&5
3260
-echo "${ECHO_T}$CC" >&6; }
3261
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262
+$as_echo "$CC" >&6; }
3263
 else
3264
-  { echo "$as_me:$LINENO: result: no" >&5
3265
-echo "${ECHO_T}no" >&6; }
3266
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267
+$as_echo "no" >&6; }
3268
 fi
3269
 
3270
 
3271
@@ -2399,10 +3088,10 @@ if test -z "$CC"; then
3272
 do
3273
   # Extract the first word of "$ac_prog", so it can be a program name with args.
3274
 set dummy $ac_prog; ac_word=$2
3275
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3276
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3277
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3278
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3279
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280
+$as_echo_n "checking for $ac_word... " >&6; }
3281
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
3282
+  $as_echo_n "(cached) " >&6
3283
 else
3284
   if test -n "$ac_ct_CC"; then
3285
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3286
@@ -2412,25 +3101,25 @@ for as_dir in $PATH
3287
 do
3288
   IFS=$as_save_IFS
3289
   test -z "$as_dir" && as_dir=.
3290
-  for ac_exec_ext in '' $ac_executable_extensions; do
3291
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292
+    for ac_exec_ext in '' $ac_executable_extensions; do
3293
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3294
     ac_cv_prog_ac_ct_CC="$ac_prog"
3295
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3296
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297
     break 2
3298
   fi
3299
 done
3300
-done
3301
+  done
3302
 IFS=$as_save_IFS
3303
 
3304
 fi
3305
 fi
3306
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3307
 if test -n "$ac_ct_CC"; then
3308
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3309
-echo "${ECHO_T}$ac_ct_CC" >&6; }
3310
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3311
+$as_echo "$ac_ct_CC" >&6; }
3312
 else
3313
-  { echo "$as_me:$LINENO: result: no" >&5
3314
-echo "${ECHO_T}no" >&6; }
3315
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316
+$as_echo "no" >&6; }
3317
 fi
3318
 
3319
 
3320
@@ -2442,12 +3131,8 @@ done
3321
   else
3322
     case $cross_compiling:$ac_tool_warned in
3323
 yes:)
3324
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3325
-whose name does not start with the host triplet.  If you think this
3326
-configuration is useful to you, please write to autoconf@gnu.org." >&5
3327
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3328
-whose name does not start with the host triplet.  If you think this
3329
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3330
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332
 ac_tool_warned=yes ;;
3333
 esac
3334
     CC=$ac_ct_CC
3335
@@ -2457,51 +3142,37 @@ fi
3336
 fi
3337
 
3338
 
3339
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3340
-See \`config.log' for more details." >&5
3341
-echo "$as_me: error: no acceptable C compiler found in \$PATH
3342
-See \`config.log' for more details." >&2;}
3343
-   { (exit 1); exit 1; }; }
3344
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346
+as_fn_error $? "no acceptable C compiler found in \$PATH
3347
+See \`config.log' for more details" "$LINENO" 5; }
3348
 
3349
 # Provide some information about the compiler.
3350
-echo "$as_me:$LINENO: checking for C compiler version" >&5
3351
-ac_compiler=`set X $ac_compile; echo $2`
3352
-{ (ac_try="$ac_compiler --version >&5"
3353
-case "(($ac_try" in
3354
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355
-  *) ac_try_echo=$ac_try;;
3356
-esac
3357
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3358
-  (eval "$ac_compiler --version >&5") 2>&5
3359
-  ac_status=$?
3360
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361
-  (exit $ac_status); }
3362
-{ (ac_try="$ac_compiler -v >&5"
3363
-case "(($ac_try" in
3364
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365
-  *) ac_try_echo=$ac_try;;
3366
-esac
3367
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368
-  (eval "$ac_compiler -v >&5") 2>&5
3369
-  ac_status=$?
3370
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371
-  (exit $ac_status); }
3372
-{ (ac_try="$ac_compiler -V >&5"
3373
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3374
+set X $ac_compile
3375
+ac_compiler=$2
3376
+for ac_option in --version -v -V -qversion; do
3377
+  { { ac_try="$ac_compiler $ac_option >&5"
3378
 case "(($ac_try" in
3379
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
   *) ac_try_echo=$ac_try;;
3381
 esac
3382
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383
-  (eval "$ac_compiler -V >&5") 2>&5
3384
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385
+$as_echo "$ac_try_echo"; } >&5
3386
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3387
   ac_status=$?
3388
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
-  (exit $ac_status); }
3390
+  if test -s conftest.err; then
3391
+    sed '10a\
3392
+... rest of stderr output deleted ...
3393
+         10q' conftest.err >conftest.er1
3394
+    cat conftest.er1 >&5
3395
+  fi
3396
+  rm -f conftest.er1 conftest.err
3397
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398
+  test $ac_status = 0; }
3399
+done
3400
 
3401
-cat >conftest.$ac_ext <<_ACEOF
3402
-/* confdefs.h.  */
3403
-_ACEOF
3404
-cat confdefs.h >>conftest.$ac_ext
3405
-cat >>conftest.$ac_ext <<_ACEOF
3406
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407
 /* end confdefs.h.  */
3408
 
3409
 int
3410
@@ -2513,42 +3184,38 @@ main ()
3411
 }
3412
 _ACEOF
3413
 ac_clean_files_save=$ac_clean_files
3414
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
3415
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3416
 # Try to create an executable without -o first, disregard a.out.
3417
 # It will help us diagnose broken compilers, and finding out an intuition
3418
 # of exeext.
3419
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3420
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3421
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3422
-#
3423
-# List of possible output files, starting from the most likely.
3424
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3425
-# only as a last resort.  b.out is created by i960 compilers.
3426
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3427
-#
3428
-# The IRIX 6 linker writes into existing files which may not be
3429
-# executable, retaining their permissions.  Remove them first so a
3430
-# subsequent execution test works.
3431
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3432
+$as_echo_n "checking whether the C compiler works... " >&6; }
3433
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3434
+
3435
+# The possible output files:
3436
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3437
+
3438
 ac_rmfiles=
3439
 for ac_file in $ac_files
3440
 do
3441
   case $ac_file in
3442
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3443
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3444
     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3445
   esac
3446
 done
3447
 rm -f $ac_rmfiles
3448
 
3449
-if { (ac_try="$ac_link_default"
3450
+if { { ac_try="$ac_link_default"
3451
 case "(($ac_try" in
3452
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453
   *) ac_try_echo=$ac_try;;
3454
 esac
3455
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3456
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457
+$as_echo "$ac_try_echo"; } >&5
3458
   (eval "$ac_link_default") 2>&5
3459
   ac_status=$?
3460
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461
-  (exit $ac_status); }; then
3462
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463
+  test $ac_status = 0; }; then :
3464
   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3465
 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3466
 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3467
@@ -2558,14 +3225,14 @@ for ac_file in $ac_files ''
3468
 do
3469
   test -f "$ac_file" || continue
3470
   case $ac_file in
3471
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3472
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3473
 	;;
3474
     [ab].out )
3475
 	# We found the default executable, but exeext='' is most
3476
 	# certainly right.
3477
 	break;;
3478
     *.* )
3479
-        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3480
+	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3481
 	then :; else
3482
 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3483
 	fi
3484
@@ -2584,78 +3251,41 @@ test "$ac_cv_exeext" = no && ac_cv_exeex
3485
 else
3486
   ac_file=''
3487
 fi
3488
-
3489
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
3490
-echo "${ECHO_T}$ac_file" >&6; }
3491
-if test -z "$ac_file"; then
3492
-  echo "$as_me: failed program was:" >&5
3493
+if test -z "$ac_file"; then :
3494
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495
+$as_echo "no" >&6; }
3496
+$as_echo "$as_me: failed program was:" >&5
3497
 sed 's/^/| /' conftest.$ac_ext >&5
3498
 
3499
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3500
-See \`config.log' for more details." >&5
3501
-echo "$as_me: error: C compiler cannot create executables
3502
-See \`config.log' for more details." >&2;}
3503
-   { (exit 77); exit 77; }; }
3504
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506
+as_fn_error 77 "C compiler cannot create executables
3507
+See \`config.log' for more details" "$LINENO" 5; }
3508
+else
3509
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3510
+$as_echo "yes" >&6; }
3511
 fi
3512
-
3513
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3514
+$as_echo_n "checking for C compiler default output file name... " >&6; }
3515
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3516
+$as_echo "$ac_file" >&6; }
3517
 ac_exeext=$ac_cv_exeext
3518
 
3519
-# Check that the compiler produces executables we can run.  If not, either
3520
-# the compiler is broken, or we cross compile.
3521
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3522
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3523
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3524
-# If not cross compiling, check that we can run a simple program.
3525
-if test "$cross_compiling" != yes; then
3526
-  if { ac_try='./$ac_file'
3527
-  { (case "(($ac_try" in
3528
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529
-  *) ac_try_echo=$ac_try;;
3530
-esac
3531
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532
-  (eval "$ac_try") 2>&5
3533
-  ac_status=$?
3534
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535
-  (exit $ac_status); }; }; then
3536
-    cross_compiling=no
3537
-  else
3538
-    if test "$cross_compiling" = maybe; then
3539
-	cross_compiling=yes
3540
-    else
3541
-	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3542
-If you meant to cross compile, use \`--host'.
3543
-See \`config.log' for more details." >&5
3544
-echo "$as_me: error: cannot run C compiled programs.
3545
-If you meant to cross compile, use \`--host'.
3546
-See \`config.log' for more details." >&2;}
3547
-   { (exit 1); exit 1; }; }
3548
-    fi
3549
-  fi
3550
-fi
3551
-{ echo "$as_me:$LINENO: result: yes" >&5
3552
-echo "${ECHO_T}yes" >&6; }
3553
-
3554
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
3555
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3556
 ac_clean_files=$ac_clean_files_save
3557
-# Check that the compiler produces executables we can run.  If not, either
3558
-# the compiler is broken, or we cross compile.
3559
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3560
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3561
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3562
-echo "${ECHO_T}$cross_compiling" >&6; }
3563
-
3564
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3565
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3566
-if { (ac_try="$ac_link"
3567
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3568
+$as_echo_n "checking for suffix of executables... " >&6; }
3569
+if { { ac_try="$ac_link"
3570
 case "(($ac_try" in
3571
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572
   *) ac_try_echo=$ac_try;;
3573
 esac
3574
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3575
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3576
+$as_echo "$ac_try_echo"; } >&5
3577
   (eval "$ac_link") 2>&5
3578
   ac_status=$?
3579
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
-  (exit $ac_status); }; then
3581
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582
+  test $ac_status = 0; }; then :
3583
   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3584
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3585
 # work properly (i.e., refer to `conftest.exe'), while it won't with
3586
@@ -2663,37 +3293,90 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
3587
 for ac_file in conftest.exe conftest conftest.*; do
3588
   test -f "$ac_file" || continue
3589
   case $ac_file in
3590
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3591
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3592
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3593
 	  break;;
3594
     * ) break;;
3595
   esac
3596
 done
3597
 else
3598
-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3599
-See \`config.log' for more details." >&5
3600
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3601
-See \`config.log' for more details." >&2;}
3602
-   { (exit 1); exit 1; }; }
3603
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3606
+See \`config.log' for more details" "$LINENO" 5; }
3607
 fi
3608
-
3609
-rm -f conftest$ac_cv_exeext
3610
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3611
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
3612
+rm -f conftest conftest$ac_cv_exeext
3613
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3614
+$as_echo "$ac_cv_exeext" >&6; }
3615
 
3616
 rm -f conftest.$ac_ext
3617
 EXEEXT=$ac_cv_exeext
3618
 ac_exeext=$EXEEXT
3619
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3620
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3621
-if test "${ac_cv_objext+set}" = set; then
3622
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3623
-else
3624
-  cat >conftest.$ac_ext <<_ACEOF
3625
-/* confdefs.h.  */
3626
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627
+/* end confdefs.h.  */
3628
+#include <stdio.h>
3629
+int
3630
+main ()
3631
+{
3632
+FILE *f = fopen ("conftest.out", "w");
3633
+ return ferror (f) || fclose (f) != 0;
3634
+
3635
+  ;
3636
+  return 0;
3637
+}
3638
 _ACEOF
3639
-cat confdefs.h >>conftest.$ac_ext
3640
-cat >>conftest.$ac_ext <<_ACEOF
3641
+ac_clean_files="$ac_clean_files conftest.out"
3642
+# Check that the compiler produces executables we can run.  If not, either
3643
+# the compiler is broken, or we cross compile.
3644
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3645
+$as_echo_n "checking whether we are cross compiling... " >&6; }
3646
+if test "$cross_compiling" != yes; then
3647
+  { { ac_try="$ac_link"
3648
+case "(($ac_try" in
3649
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650
+  *) ac_try_echo=$ac_try;;
3651
+esac
3652
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653
+$as_echo "$ac_try_echo"; } >&5
3654
+  (eval "$ac_link") 2>&5
3655
+  ac_status=$?
3656
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657
+  test $ac_status = 0; }
3658
+  if { ac_try='./conftest$ac_cv_exeext'
3659
+  { { case "(($ac_try" in
3660
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661
+  *) ac_try_echo=$ac_try;;
3662
+esac
3663
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664
+$as_echo "$ac_try_echo"; } >&5
3665
+  (eval "$ac_try") 2>&5
3666
+  ac_status=$?
3667
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668
+  test $ac_status = 0; }; }; then
3669
+    cross_compiling=no
3670
+  else
3671
+    if test "$cross_compiling" = maybe; then
3672
+	cross_compiling=yes
3673
+    else
3674
+	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3675
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3676
+as_fn_error $? "cannot run C compiled programs.
3677
+If you meant to cross compile, use \`--host'.
3678
+See \`config.log' for more details" "$LINENO" 5; }
3679
+    fi
3680
+  fi
3681
+fi
3682
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3683
+$as_echo "$cross_compiling" >&6; }
3684
+
3685
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3686
+ac_clean_files=$ac_clean_files_save
3687
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3688
+$as_echo_n "checking for suffix of object files... " >&6; }
3689
+if ${ac_cv_objext+:} false; then :
3690
+  $as_echo_n "(cached) " >&6
3691
+else
3692
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693
 /* end confdefs.h.  */
3694
 
3695
 int
3696
@@ -2705,51 +3388,46 @@ main ()
3697
 }
3698
 _ACEOF
3699
 rm -f conftest.o conftest.obj
3700
-if { (ac_try="$ac_compile"
3701
+if { { ac_try="$ac_compile"
3702
 case "(($ac_try" in
3703
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704
   *) ac_try_echo=$ac_try;;
3705
 esac
3706
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3707
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3708
+$as_echo "$ac_try_echo"; } >&5
3709
   (eval "$ac_compile") 2>&5
3710
   ac_status=$?
3711
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712
-  (exit $ac_status); }; then
3713
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3714
+  test $ac_status = 0; }; then :
3715
   for ac_file in conftest.o conftest.obj conftest.*; do
3716
   test -f "$ac_file" || continue;
3717
   case $ac_file in
3718
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3719
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3720
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3721
        break;;
3722
   esac
3723
 done
3724
 else
3725
-  echo "$as_me: failed program was:" >&5
3726
+  $as_echo "$as_me: failed program was:" >&5
3727
 sed 's/^/| /' conftest.$ac_ext >&5
3728
 
3729
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3730
-See \`config.log' for more details." >&5
3731
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
3732
-See \`config.log' for more details." >&2;}
3733
-   { (exit 1); exit 1; }; }
3734
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736
+as_fn_error $? "cannot compute suffix of object files: cannot compile
3737
+See \`config.log' for more details" "$LINENO" 5; }
3738
 fi
3739
-
3740
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3741
 fi
3742
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3743
-echo "${ECHO_T}$ac_cv_objext" >&6; }
3744
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3745
+$as_echo "$ac_cv_objext" >&6; }
3746
 OBJEXT=$ac_cv_objext
3747
 ac_objext=$OBJEXT
3748
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3749
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3750
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
3751
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3752
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3753
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3754
+if ${ac_cv_c_compiler_gnu+:} false; then :
3755
+  $as_echo_n "(cached) " >&6
3756
 else
3757
-  cat >conftest.$ac_ext <<_ACEOF
3758
-/* confdefs.h.  */
3759
-_ACEOF
3760
-cat confdefs.h >>conftest.$ac_ext
3761
-cat >>conftest.$ac_ext <<_ACEOF
3762
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763
 /* end confdefs.h.  */
3764
 
3765
 int
3766
@@ -2763,54 +3441,34 @@ main ()
3767
   return 0;
3768
 }
3769
 _ACEOF
3770
-rm -f conftest.$ac_objext
3771
-if { (ac_try="$ac_compile"
3772
-case "(($ac_try" in
3773
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774
-  *) ac_try_echo=$ac_try;;
3775
-esac
3776
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777
-  (eval "$ac_compile") 2>conftest.er1
3778
-  ac_status=$?
3779
-  grep -v '^ *+' conftest.er1 >conftest.err
3780
-  rm -f conftest.er1
3781
-  cat conftest.err >&5
3782
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783
-  (exit $ac_status); } && {
3784
-	 test -z "$ac_c_werror_flag" ||
3785
-	 test ! -s conftest.err
3786
-       } && test -s conftest.$ac_objext; then
3787
+if ac_fn_c_try_compile "$LINENO"; then :
3788
   ac_compiler_gnu=yes
3789
 else
3790
-  echo "$as_me: failed program was:" >&5
3791
-sed 's/^/| /' conftest.$ac_ext >&5
3792
-
3793
-	ac_compiler_gnu=no
3794
+  ac_compiler_gnu=no
3795
 fi
3796
-
3797
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798
 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3799
 
3800
 fi
3801
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3802
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3803
-GCC=`test $ac_compiler_gnu = yes && echo yes`
3804
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3805
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3806
+if test $ac_compiler_gnu = yes; then
3807
+  GCC=yes
3808
+else
3809
+  GCC=
3810
+fi
3811
 ac_test_CFLAGS=${CFLAGS+set}
3812
 ac_save_CFLAGS=$CFLAGS
3813
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3814
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3815
-if test "${ac_cv_prog_cc_g+set}" = set; then
3816
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3817
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3818
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
3819
+if ${ac_cv_prog_cc_g+:} false; then :
3820
+  $as_echo_n "(cached) " >&6
3821
 else
3822
   ac_save_c_werror_flag=$ac_c_werror_flag
3823
    ac_c_werror_flag=yes
3824
    ac_cv_prog_cc_g=no
3825
    CFLAGS="-g"
3826
-   cat >conftest.$ac_ext <<_ACEOF
3827
-/* confdefs.h.  */
3828
-_ACEOF
3829
-cat confdefs.h >>conftest.$ac_ext
3830
-cat >>conftest.$ac_ext <<_ACEOF
3831
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832
 /* end confdefs.h.  */
3833
 
3834
 int
3835
@@ -2821,34 +3479,11 @@ main ()
3836
   return 0;
3837
 }
3838
 _ACEOF
3839
-rm -f conftest.$ac_objext
3840
-if { (ac_try="$ac_compile"
3841
-case "(($ac_try" in
3842
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843
-  *) ac_try_echo=$ac_try;;
3844
-esac
3845
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846
-  (eval "$ac_compile") 2>conftest.er1
3847
-  ac_status=$?
3848
-  grep -v '^ *+' conftest.er1 >conftest.err
3849
-  rm -f conftest.er1
3850
-  cat conftest.err >&5
3851
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852
-  (exit $ac_status); } && {
3853
-	 test -z "$ac_c_werror_flag" ||
3854
-	 test ! -s conftest.err
3855
-       } && test -s conftest.$ac_objext; then
3856
+if ac_fn_c_try_compile "$LINENO"; then :
3857
   ac_cv_prog_cc_g=yes
3858
 else
3859
-  echo "$as_me: failed program was:" >&5
3860
-sed 's/^/| /' conftest.$ac_ext >&5
3861
-
3862
-	CFLAGS=""
3863
-      cat >conftest.$ac_ext <<_ACEOF
3864
-/* confdefs.h.  */
3865
-_ACEOF
3866
-cat confdefs.h >>conftest.$ac_ext
3867
-cat >>conftest.$ac_ext <<_ACEOF
3868
+  CFLAGS=""
3869
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870
 /* end confdefs.h.  */
3871
 
3872
 int
3873
@@ -2859,35 +3494,12 @@ main ()
3874
   return 0;
3875
 }
3876
 _ACEOF
3877
-rm -f conftest.$ac_objext
3878
-if { (ac_try="$ac_compile"
3879
-case "(($ac_try" in
3880
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881
-  *) ac_try_echo=$ac_try;;
3882
-esac
3883
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884
-  (eval "$ac_compile") 2>conftest.er1
3885
-  ac_status=$?
3886
-  grep -v '^ *+' conftest.er1 >conftest.err
3887
-  rm -f conftest.er1
3888
-  cat conftest.err >&5
3889
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890
-  (exit $ac_status); } && {
3891
-	 test -z "$ac_c_werror_flag" ||
3892
-	 test ! -s conftest.err
3893
-       } && test -s conftest.$ac_objext; then
3894
-  :
3895
-else
3896
-  echo "$as_me: failed program was:" >&5
3897
-sed 's/^/| /' conftest.$ac_ext >&5
3898
+if ac_fn_c_try_compile "$LINENO"; then :
3899
 
3900
-	ac_c_werror_flag=$ac_save_c_werror_flag
3901
+else
3902
+  ac_c_werror_flag=$ac_save_c_werror_flag
3903
 	 CFLAGS="-g"
3904
-	 cat >conftest.$ac_ext <<_ACEOF
3905
-/* confdefs.h.  */
3906
-_ACEOF
3907
-cat confdefs.h >>conftest.$ac_ext
3908
-cat >>conftest.$ac_ext <<_ACEOF
3909
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910
 /* end confdefs.h.  */
3911
 
3912
 int
3913
@@ -2898,42 +3510,18 @@ main ()
3914
   return 0;
3915
 }
3916
 _ACEOF
3917
-rm -f conftest.$ac_objext
3918
-if { (ac_try="$ac_compile"
3919
-case "(($ac_try" in
3920
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921
-  *) ac_try_echo=$ac_try;;
3922
-esac
3923
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3924
-  (eval "$ac_compile") 2>conftest.er1
3925
-  ac_status=$?
3926
-  grep -v '^ *+' conftest.er1 >conftest.err
3927
-  rm -f conftest.er1
3928
-  cat conftest.err >&5
3929
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930
-  (exit $ac_status); } && {
3931
-	 test -z "$ac_c_werror_flag" ||
3932
-	 test ! -s conftest.err
3933
-       } && test -s conftest.$ac_objext; then
3934
+if ac_fn_c_try_compile "$LINENO"; then :
3935
   ac_cv_prog_cc_g=yes
3936
-else
3937
-  echo "$as_me: failed program was:" >&5
3938
-sed 's/^/| /' conftest.$ac_ext >&5
3939
-
3940
-
3941
 fi
3942
-
3943
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3944
 fi
3945
-
3946
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947
 fi
3948
-
3949
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950
    ac_c_werror_flag=$ac_save_c_werror_flag
3951
 fi
3952
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3953
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3954
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3955
+$as_echo "$ac_cv_prog_cc_g" >&6; }
3956
 if test "$ac_test_CFLAGS" = set; then
3957
   CFLAGS=$ac_save_CFLAGS
3958
 elif test $ac_cv_prog_cc_g = yes; then
3959
@@ -2949,23 +3537,18 @@ else
3960
     CFLAGS=
3961
   fi
3962
 fi
3963
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3964
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3965
-if test "${ac_cv_prog_cc_c89+set}" = set; then
3966
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3967
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3968
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3969
+if ${ac_cv_prog_cc_c89+:} false; then :
3970
+  $as_echo_n "(cached) " >&6
3971
 else
3972
   ac_cv_prog_cc_c89=no
3973
 ac_save_CC=$CC
3974
-cat >conftest.$ac_ext <<_ACEOF
3975
-/* confdefs.h.  */
3976
-_ACEOF
3977
-cat confdefs.h >>conftest.$ac_ext
3978
-cat >>conftest.$ac_ext <<_ACEOF
3979
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980
 /* end confdefs.h.  */
3981
 #include <stdarg.h>
3982
 #include <stdio.h>
3983
-#include <sys/types.h>
3984
-#include <sys/stat.h>
3985
+struct stat;
3986
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3987
 struct buf { int x; };
3988
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3989
@@ -3017,31 +3600,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlang
3990
 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3991
 do
3992
   CC="$ac_save_CC $ac_arg"
3993
-  rm -f conftest.$ac_objext
3994
-if { (ac_try="$ac_compile"
3995
-case "(($ac_try" in
3996
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997
-  *) ac_try_echo=$ac_try;;
3998
-esac
3999
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4000
-  (eval "$ac_compile") 2>conftest.er1
4001
-  ac_status=$?
4002
-  grep -v '^ *+' conftest.er1 >conftest.err
4003
-  rm -f conftest.er1
4004
-  cat conftest.err >&5
4005
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006
-  (exit $ac_status); } && {
4007
-	 test -z "$ac_c_werror_flag" ||
4008
-	 test ! -s conftest.err
4009
-       } && test -s conftest.$ac_objext; then
4010
+  if ac_fn_c_try_compile "$LINENO"; then :
4011
   ac_cv_prog_cc_c89=$ac_arg
4012
-else
4013
-  echo "$as_me: failed program was:" >&5
4014
-sed 's/^/| /' conftest.$ac_ext >&5
4015
-
4016
-
4017
 fi
4018
-
4019
 rm -f core conftest.err conftest.$ac_objext
4020
   test "x$ac_cv_prog_cc_c89" != "xno" && break
4021
 done
4022
@@ -3052,17 +3613,19 @@ fi
4023
 # AC_CACHE_VAL
4024
 case "x$ac_cv_prog_cc_c89" in
4025
   x)
4026
-    { echo "$as_me:$LINENO: result: none needed" >&5
4027
-echo "${ECHO_T}none needed" >&6; } ;;
4028
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4029
+$as_echo "none needed" >&6; } ;;
4030
   xno)
4031
-    { echo "$as_me:$LINENO: result: unsupported" >&5
4032
-echo "${ECHO_T}unsupported" >&6; } ;;
4033
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4034
+$as_echo "unsupported" >&6; } ;;
4035
   *)
4036
     CC="$CC $ac_cv_prog_cc_c89"
4037
-    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4038
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4039
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4040
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4041
 esac
4042
+if test "x$ac_cv_prog_cc_c89" != xno; then :
4043
 
4044
+fi
4045
 
4046
 ac_ext=c
4047
 ac_cpp='$CPP $CPPFLAGS'
4048
@@ -3074,10 +3637,10 @@ for ac_prog in gawk mawk nawk awk
4049
 do
4050
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4051
 set dummy $ac_prog; ac_word=$2
4052
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4053
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4054
-if test "${ac_cv_prog_AWK+set}" = set; then
4055
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4056
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057
+$as_echo_n "checking for $ac_word... " >&6; }
4058
+if ${ac_cv_prog_AWK+:} false; then :
4059
+  $as_echo_n "(cached) " >&6
4060
 else
4061
   if test -n "$AWK"; then
4062
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4063
@@ -3087,25 +3650,25 @@ for as_dir in $PATH
4064
 do
4065
   IFS=$as_save_IFS
4066
   test -z "$as_dir" && as_dir=.
4067
-  for ac_exec_ext in '' $ac_executable_extensions; do
4068
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4069
+    for ac_exec_ext in '' $ac_executable_extensions; do
4070
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4071
     ac_cv_prog_AWK="$ac_prog"
4072
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4073
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074
     break 2
4075
   fi
4076
 done
4077
-done
4078
+  done
4079
 IFS=$as_save_IFS
4080
 
4081
 fi
4082
 fi
4083
 AWK=$ac_cv_prog_AWK
4084
 if test -n "$AWK"; then
4085
-  { echo "$as_me:$LINENO: result: $AWK" >&5
4086
-echo "${ECHO_T}$AWK" >&6; }
4087
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4088
+$as_echo "$AWK" >&6; }
4089
 else
4090
-  { echo "$as_me:$LINENO: result: no" >&5
4091
-echo "${ECHO_T}no" >&6; }
4092
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093
+$as_echo "no" >&6; }
4094
 fi
4095
 
4096
 
4097
@@ -3116,10 +3679,10 @@ for ac_prog in "$AWK"
4098
 do
4099
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4100
 set dummy $ac_prog; ac_word=$2
4101
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4102
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4103
-if test "${ac_cv_path_AWK+set}" = set; then
4104
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4105
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106
+$as_echo_n "checking for $ac_word... " >&6; }
4107
+if ${ac_cv_path_AWK+:} false; then :
4108
+  $as_echo_n "(cached) " >&6
4109
 else
4110
   case $AWK in
4111
   [\\/]* | ?:[\\/]*)
4112
@@ -3131,14 +3694,14 @@ for as_dir in $PATH
4113
 do
4114
   IFS=$as_save_IFS
4115
   test -z "$as_dir" && as_dir=.
4116
-  for ac_exec_ext in '' $ac_executable_extensions; do
4117
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118
+    for ac_exec_ext in '' $ac_executable_extensions; do
4119
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120
     ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4121
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4122
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4123
     break 2
4124
   fi
4125
 done
4126
-done
4127
+  done
4128
 IFS=$as_save_IFS
4129
 
4130
   ;;
4131
@@ -3146,11 +3709,11 @@ esac
4132
 fi
4133
 AWK=$ac_cv_path_AWK
4134
 if test -n "$AWK"; then
4135
-  { echo "$as_me:$LINENO: result: $AWK" >&5
4136
-echo "${ECHO_T}$AWK" >&6; }
4137
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4138
+$as_echo "$AWK" >&6; }
4139
 else
4140
-  { echo "$as_me:$LINENO: result: no" >&5
4141
-echo "${ECHO_T}no" >&6; }
4142
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143
+$as_echo "no" >&6; }
4144
 fi
4145
 
4146
 
4147
@@ -3160,10 +3723,10 @@ done
4148
 if test -n "$ac_tool_prefix"; then
4149
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4150
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4151
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4152
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4153
-if test "${ac_cv_prog_RANLIB+set}" = set; then
4154
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4155
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156
+$as_echo_n "checking for $ac_word... " >&6; }
4157
+if ${ac_cv_prog_RANLIB+:} false; then :
4158
+  $as_echo_n "(cached) " >&6
4159
 else
4160
   if test -n "$RANLIB"; then
4161
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4162
@@ -3173,25 +3736,25 @@ for as_dir in $PATH
4163
 do
4164
   IFS=$as_save_IFS
4165
   test -z "$as_dir" && as_dir=.
4166
-  for ac_exec_ext in '' $ac_executable_extensions; do
4167
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168
+    for ac_exec_ext in '' $ac_executable_extensions; do
4169
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4170
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4171
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4172
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173
     break 2
4174
   fi
4175
 done
4176
-done
4177
+  done
4178
 IFS=$as_save_IFS
4179
 
4180
 fi
4181
 fi
4182
 RANLIB=$ac_cv_prog_RANLIB
4183
 if test -n "$RANLIB"; then
4184
-  { echo "$as_me:$LINENO: result: $RANLIB" >&5
4185
-echo "${ECHO_T}$RANLIB" >&6; }
4186
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4187
+$as_echo "$RANLIB" >&6; }
4188
 else
4189
-  { echo "$as_me:$LINENO: result: no" >&5
4190
-echo "${ECHO_T}no" >&6; }
4191
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4192
+$as_echo "no" >&6; }
4193
 fi
4194
 
4195
 
4196
@@ -3200,10 +3763,10 @@ if test -z "$ac_cv_prog_RANLIB"; then
4197
   ac_ct_RANLIB=$RANLIB
4198
   # Extract the first word of "ranlib", so it can be a program name with args.
4199
 set dummy ranlib; ac_word=$2
4200
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4201
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4202
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4203
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4204
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205
+$as_echo_n "checking for $ac_word... " >&6; }
4206
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4207
+  $as_echo_n "(cached) " >&6
4208
 else
4209
   if test -n "$ac_ct_RANLIB"; then
4210
   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4211
@@ -3213,25 +3776,25 @@ for as_dir in $PATH
4212
 do
4213
   IFS=$as_save_IFS
4214
   test -z "$as_dir" && as_dir=.
4215
-  for ac_exec_ext in '' $ac_executable_extensions; do
4216
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217
+    for ac_exec_ext in '' $ac_executable_extensions; do
4218
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219
     ac_cv_prog_ac_ct_RANLIB="ranlib"
4220
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4221
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222
     break 2
4223
   fi
4224
 done
4225
-done
4226
+  done
4227
 IFS=$as_save_IFS
4228
 
4229
 fi
4230
 fi
4231
 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4232
 if test -n "$ac_ct_RANLIB"; then
4233
-  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4234
-echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4235
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4236
+$as_echo "$ac_ct_RANLIB" >&6; }
4237
 else
4238
-  { echo "$as_me:$LINENO: result: no" >&5
4239
-echo "${ECHO_T}no" >&6; }
4240
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241
+$as_echo "no" >&6; }
4242
 fi
4243
 
4244
   if test "x$ac_ct_RANLIB" = x; then
4245
@@ -3239,12 +3802,8 @@ fi
4246
   else
4247
     case $cross_compiling:$ac_tool_warned in
4248
 yes:)
4249
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4250
-whose name does not start with the host triplet.  If you think this
4251
-configuration is useful to you, please write to autoconf@gnu.org." >&5
4252
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4253
-whose name does not start with the host triplet.  If you think this
4254
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4255
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4256
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4257
 ac_tool_warned=yes ;;
4258
 esac
4259
     RANLIB=$ac_ct_RANLIB
4260
@@ -3266,22 +3825,23 @@ fi
4261
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4262
 # OS/2's system install, which has a completely different semantic
4263
 # ./install, which can be erroneously created by make from ./install.sh.
4264
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4265
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4266
+# Reject install programs that cannot install multiple files.
4267
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4268
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
4269
 if test -z "$INSTALL"; then
4270
-if test "${ac_cv_path_install+set}" = set; then
4271
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4272
+if ${ac_cv_path_install+:} false; then :
4273
+  $as_echo_n "(cached) " >&6
4274
 else
4275
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276
 for as_dir in $PATH
4277
 do
4278
   IFS=$as_save_IFS
4279
   test -z "$as_dir" && as_dir=.
4280
-  # Account for people who put trailing slashes in PATH elements.
4281
-case $as_dir/ in
4282
-  ./ | .// | /cC/* | \
4283
+    # Account for people who put trailing slashes in PATH elements.
4284
+case $as_dir/ in #((
4285
+  ./ | .// | /[cC]/* | \
4286
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4287
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4288
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4289
   /usr/ucb/* ) ;;
4290
   *)
4291
     # OSF1 and SCO ODT 3.0 have their own names for install.
4292
@@ -3289,7 +3849,7 @@ case $as_dir/ in
4293
     # by default.
4294
     for ac_prog in ginstall scoinst install; do
4295
       for ac_exec_ext in '' $ac_executable_extensions; do
4296
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4297
+	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4298
 	  if test $ac_prog = install &&
4299
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4300
 	    # AIX install.  It has an incompatible calling convention.
4301
@@ -3299,17 +3859,29 @@ case $as_dir/ in
4302
 	    # program-specific install script used by HP pwplus--don't use.
4303
 	    :
4304
 	  else
4305
-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4306
-	    break 3
4307
+	    rm -rf conftest.one conftest.two conftest.dir
4308
+	    echo one > conftest.one
4309
+	    echo two > conftest.two
4310
+	    mkdir conftest.dir
4311
+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4312
+	      test -s conftest.one && test -s conftest.two &&
4313
+	      test -s conftest.dir/conftest.one &&
4314
+	      test -s conftest.dir/conftest.two
4315
+	    then
4316
+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4317
+	      break 3
4318
+	    fi
4319
 	  fi
4320
 	fi
4321
       done
4322
     done
4323
     ;;
4324
 esac
4325
-done
4326
+
4327
+  done
4328
 IFS=$as_save_IFS
4329
 
4330
+rm -rf conftest.one conftest.two conftest.dir
4331
 
4332
 fi
4333
   if test "${ac_cv_path_install+set}" = set; then
4334
@@ -3322,8 +3894,8 @@ fi
4335
     INSTALL=$ac_install_sh
4336
   fi
4337
 fi
4338
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4339
-echo "${ECHO_T}$INSTALL" >&6; }
4340
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4341
+$as_echo "$INSTALL" >&6; }
4342
 
4343
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4344
 # It thinks the first close brace ends the variable substitution.
4345
@@ -3338,10 +3910,10 @@ for ac_prog in "git"
4346
 do
4347
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4348
 set dummy $ac_prog; ac_word=$2
4349
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4350
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4351
-if test "${ac_cv_path_GIT+set}" = set; then
4352
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4353
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354
+$as_echo_n "checking for $ac_word... " >&6; }
4355
+if ${ac_cv_path_GIT+:} false; then :
4356
+  $as_echo_n "(cached) " >&6
4357
 else
4358
   case $GIT in
4359
   [\\/]* | ?:[\\/]*)
4360
@@ -3353,14 +3925,14 @@ for as_dir in $PATH
4361
 do
4362
   IFS=$as_save_IFS
4363
   test -z "$as_dir" && as_dir=.
4364
-  for ac_exec_ext in '' $ac_executable_extensions; do
4365
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366
+    for ac_exec_ext in '' $ac_executable_extensions; do
4367
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368
     ac_cv_path_GIT="$as_dir/$ac_word$ac_exec_ext"
4369
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4370
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371
     break 2
4372
   fi
4373
 done
4374
-done
4375
+  done
4376
 IFS=$as_save_IFS
4377
 
4378
   ;;
4379
@@ -3368,11 +3940,11 @@ esac
4380
 fi
4381
 GIT=$ac_cv_path_GIT
4382
 if test -n "$GIT"; then
4383
-  { echo "$as_me:$LINENO: result: $GIT" >&5
4384
-echo "${ECHO_T}$GIT" >&6; }
4385
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
4386
+$as_echo "$GIT" >&6; }
4387
 else
4388
-  { echo "$as_me:$LINENO: result: no" >&5
4389
-echo "${ECHO_T}no" >&6; }
4390
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391
+$as_echo "no" >&6; }
4392
 fi
4393
 
4394
 
4395
@@ -3383,10 +3955,10 @@ for ac_prog in "sparse"
4396
 do
4397
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4398
 set dummy $ac_prog; ac_word=$2
4399
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4400
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4401
-if test "${ac_cv_path_SPARSE+set}" = set; then
4402
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4403
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404
+$as_echo_n "checking for $ac_word... " >&6; }
4405
+if ${ac_cv_path_SPARSE+:} false; then :
4406
+  $as_echo_n "(cached) " >&6
4407
 else
4408
   case $SPARSE in
4409
   [\\/]* | ?:[\\/]*)
4410
@@ -3398,14 +3970,14 @@ for as_dir in $PATH
4411
 do
4412
   IFS=$as_save_IFS
4413
   test -z "$as_dir" && as_dir=.
4414
-  for ac_exec_ext in '' $ac_executable_extensions; do
4415
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416
+    for ac_exec_ext in '' $ac_executable_extensions; do
4417
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418
     ac_cv_path_SPARSE="$as_dir/$ac_word$ac_exec_ext"
4419
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421
     break 2
4422
   fi
4423
 done
4424
-done
4425
+  done
4426
 IFS=$as_save_IFS
4427
 
4428
   ;;
4429
@@ -3413,11 +3985,11 @@ esac
4430
 fi
4431
 SPARSE=$ac_cv_path_SPARSE
4432
 if test -n "$SPARSE"; then
4433
-  { echo "$as_me:$LINENO: result: $SPARSE" >&5
4434
-echo "${ECHO_T}$SPARSE" >&6; }
4435
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPARSE" >&5
4436
+$as_echo "$SPARSE" >&6; }
4437
 else
4438
-  { echo "$as_me:$LINENO: result: no" >&5
4439
-echo "${ECHO_T}no" >&6; }
4440
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441
+$as_echo "no" >&6; }
4442
 fi
4443
 
4444
 
4445
@@ -3435,10 +4007,10 @@ if test "x$CONFIG_DOC" != xno; then
4446
 do
4447
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4448
 set dummy $ac_prog; ac_word=$2
4449
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4450
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4451
-if test "${ac_cv_path_ASCIIDOC+set}" = set; then
4452
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4453
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454
+$as_echo_n "checking for $ac_word... " >&6; }
4455
+if ${ac_cv_path_ASCIIDOC+:} false; then :
4456
+  $as_echo_n "(cached) " >&6
4457
 else
4458
   case $ASCIIDOC in
4459
   [\\/]* | ?:[\\/]*)
4460
@@ -3450,14 +4022,14 @@ for as_dir in $PATH
4461
 do
4462
   IFS=$as_save_IFS
4463
   test -z "$as_dir" && as_dir=.
4464
-  for ac_exec_ext in '' $ac_executable_extensions; do
4465
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4466
+    for ac_exec_ext in '' $ac_executable_extensions; do
4467
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468
     ac_cv_path_ASCIIDOC="$as_dir/$ac_word$ac_exec_ext"
4469
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4470
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471
     break 2
4472
   fi
4473
 done
4474
-done
4475
+  done
4476
 IFS=$as_save_IFS
4477
 
4478
   ;;
4479
@@ -3465,11 +4037,11 @@ esac
4480
 fi
4481
 ASCIIDOC=$ac_cv_path_ASCIIDOC
4482
 if test -n "$ASCIIDOC"; then
4483
-  { echo "$as_me:$LINENO: result: $ASCIIDOC" >&5
4484
-echo "${ECHO_T}$ASCIIDOC" >&6; }
4485
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
4486
+$as_echo "$ASCIIDOC" >&6; }
4487
 else
4488
-  { echo "$as_me:$LINENO: result: no" >&5
4489
-echo "${ECHO_T}no" >&6; }
4490
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491
+$as_echo "no" >&6; }
4492
 fi
4493
 
4494
 
4495
@@ -3481,25 +4053,19 @@ done
4496
 	  CONFIG_ASCIIDOC=yes
4497
 	  ABOUT_CONFIG_ASCIIDOC="AsciiDoc"
4498
 
4499
-cat >>confdefs.h <<\_ACEOF
4500
-#define CONFIG_ASCIIDOC 1
4501
-_ACEOF
4502
+$as_echo "#define CONFIG_ASCIIDOC 1" >>confdefs.h
4503
 
4504
 
4505
 	  MANUAL_ASCIIDOC=yes
4506
 	  ABOUT_MANUAL_ASCIIDOC="HTML (one file)"
4507
 
4508
-cat >>confdefs.h <<\_ACEOF
4509
-#define MANUAL_ASCIIDOC 1
4510
-_ACEOF
4511
+$as_echo "#define MANUAL_ASCIIDOC 1" >>confdefs.h
4512
 
4513
 
4514
 	  MAN_ASCIIDOC=yes
4515
 	  ABOUT_MAN_ASCIIDOC="HTML"
4516
 
4517
-cat >>confdefs.h <<\_ACEOF
4518
-#define MAN_ASCIIDOC 1
4519
-_ACEOF
4520
+$as_echo "#define MAN_ASCIIDOC 1" >>confdefs.h
4521
 
4522
 
4523
 		echo > config.asciidoc-unsafe.txt
4524
@@ -3513,10 +4079,10 @@ _ACEOF
4525
 do
4526
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4527
 set dummy $ac_prog; ac_word=$2
4528
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4529
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4530
-if test "${ac_cv_path_XMLTO+set}" = set; then
4531
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4532
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533
+$as_echo_n "checking for $ac_word... " >&6; }
4534
+if ${ac_cv_path_XMLTO+:} false; then :
4535
+  $as_echo_n "(cached) " >&6
4536
 else
4537
   case $XMLTO in
4538
   [\\/]* | ?:[\\/]*)
4539
@@ -3528,14 +4094,14 @@ for as_dir in $PATH
4540
 do
4541
   IFS=$as_save_IFS
4542
   test -z "$as_dir" && as_dir=.
4543
-  for ac_exec_ext in '' $ac_executable_extensions; do
4544
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545
+    for ac_exec_ext in '' $ac_executable_extensions; do
4546
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4547
     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
4548
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550
     break 2
4551
   fi
4552
 done
4553
-done
4554
+  done
4555
 IFS=$as_save_IFS
4556
 
4557
   ;;
4558
@@ -3543,11 +4109,11 @@ esac
4559
 fi
4560
 XMLTO=$ac_cv_path_XMLTO
4561
 if test -n "$XMLTO"; then
4562
-  { echo "$as_me:$LINENO: result: $XMLTO" >&5
4563
-echo "${ECHO_T}$XMLTO" >&6; }
4564
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
4565
+$as_echo "$XMLTO" >&6; }
4566
 else
4567
-  { echo "$as_me:$LINENO: result: no" >&5
4568
-echo "${ECHO_T}no" >&6; }
4569
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570
+$as_echo "no" >&6; }
4571
 fi
4572
 
4573
 
4574
@@ -3559,25 +4125,19 @@ done
4575
 	  CONFIG_XMLTO=yes
4576
 	  ABOUT_CONFIG_XMLTO="XmlTo"
4577
 
4578
-cat >>confdefs.h <<\_ACEOF
4579
-#define CONFIG_XMLTO 1
4580
-_ACEOF
4581
+$as_echo "#define CONFIG_XMLTO 1" >>confdefs.h
4582
 
4583
 
4584
 	  MANUAL_XMLTO=yes
4585
 	  ABOUT_MANUAL_XMLTO="HTML (multiple files)"
4586
 
4587
-cat >>confdefs.h <<\_ACEOF
4588
-#define MANUAL_XMLTO 1
4589
-_ACEOF
4590
+$as_echo "#define MANUAL_XMLTO 1" >>confdefs.h
4591
 
4592
 
4593
 	  MAN_XMLTO=yes
4594
 	  ABOUT_MAN_XMLTO="man (groff)"
4595
 
4596
-cat >>confdefs.h <<\_ACEOF
4597
-#define MAN_XMLTO 1
4598
-_ACEOF
4599
+$as_echo "#define MAN_XMLTO 1" >>confdefs.h
4600
 
4601
 	fi
4602
 
4603
@@ -3585,10 +4145,10 @@ _ACEOF
4604
 do
4605
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4606
 set dummy $ac_prog; ac_word=$2
4607
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4608
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4609
-if test "${ac_cv_path_JW+set}" = set; then
4610
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4611
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612
+$as_echo_n "checking for $ac_word... " >&6; }
4613
+if ${ac_cv_path_JW+:} false; then :
4614
+  $as_echo_n "(cached) " >&6
4615
 else
4616
   case $JW in
4617
   [\\/]* | ?:[\\/]*)
4618
@@ -3600,14 +4160,14 @@ for as_dir in $PATH
4619
 do
4620
   IFS=$as_save_IFS
4621
   test -z "$as_dir" && as_dir=.
4622
-  for ac_exec_ext in '' $ac_executable_extensions; do
4623
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624
+    for ac_exec_ext in '' $ac_executable_extensions; do
4625
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4626
     ac_cv_path_JW="$as_dir/$ac_word$ac_exec_ext"
4627
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629
     break 2
4630
   fi
4631
 done
4632
-done
4633
+  done
4634
 IFS=$as_save_IFS
4635
 
4636
   ;;
4637
@@ -3615,11 +4175,11 @@ esac
4638
 fi
4639
 JW=$ac_cv_path_JW
4640
 if test -n "$JW"; then
4641
-  { echo "$as_me:$LINENO: result: $JW" >&5
4642
-echo "${ECHO_T}$JW" >&6; }
4643
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JW" >&5
4644
+$as_echo "$JW" >&6; }
4645
 else
4646
-  { echo "$as_me:$LINENO: result: no" >&5
4647
-echo "${ECHO_T}no" >&6; }
4648
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649
+$as_echo "no" >&6; }
4650
 fi
4651
 
4652
 
4653
@@ -3631,17 +4191,13 @@ done
4654
 	  CONFIG_JW=yes
4655
 	  ABOUT_CONFIG_JW="JadeWrapper"
4656
 
4657
-cat >>confdefs.h <<\_ACEOF
4658
-#define CONFIG_JW 1
4659
-_ACEOF
4660
+$as_echo "#define CONFIG_JW 1" >>confdefs.h
4661
 
4662
 
4663
 	  MANUAL_JW=yes
4664
 	  ABOUT_MANUAL_JW="PDF"
4665
 
4666
-cat >>confdefs.h <<\_ACEOF
4667
-#define MANUAL_JW 1
4668
-_ACEOF
4669
+$as_echo "#define MANUAL_JW 1" >>confdefs.h
4670
 
4671
 	fi
4672
 
4673
@@ -3649,10 +4205,10 @@ _ACEOF
4674
 do
4675
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4676
 set dummy $ac_prog; ac_word=$2
4677
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4678
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4679
-if test "${ac_cv_path_POD2HTML+set}" = set; then
4680
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4681
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682
+$as_echo_n "checking for $ac_word... " >&6; }
4683
+if ${ac_cv_path_POD2HTML+:} false; then :
4684
+  $as_echo_n "(cached) " >&6
4685
 else
4686
   case $POD2HTML in
4687
   [\\/]* | ?:[\\/]*)
4688
@@ -3664,14 +4220,14 @@ for as_dir in $PATH
4689
 do
4690
   IFS=$as_save_IFS
4691
   test -z "$as_dir" && as_dir=.
4692
-  for ac_exec_ext in '' $ac_executable_extensions; do
4693
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4694
+    for ac_exec_ext in '' $ac_executable_extensions; do
4695
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696
     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
4697
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4698
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699
     break 2
4700
   fi
4701
 done
4702
-done
4703
+  done
4704
 IFS=$as_save_IFS
4705
 
4706
   ;;
4707
@@ -3679,11 +4235,11 @@ esac
4708
 fi
4709
 POD2HTML=$ac_cv_path_POD2HTML
4710
 if test -n "$POD2HTML"; then
4711
-  { echo "$as_me:$LINENO: result: $POD2HTML" >&5
4712
-echo "${ECHO_T}$POD2HTML" >&6; }
4713
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
4714
+$as_echo "$POD2HTML" >&6; }
4715
 else
4716
-  { echo "$as_me:$LINENO: result: no" >&5
4717
-echo "${ECHO_T}no" >&6; }
4718
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719
+$as_echo "no" >&6; }
4720
 fi
4721
 
4722
 
4723
@@ -3695,9 +4251,7 @@ done
4724
 	  CONFIG_POD2HTML=yes
4725
 	  ABOUT_CONFIG_POD2HTML="Pod2HTML"
4726
 
4727
-cat >>confdefs.h <<\_ACEOF
4728
-#define CONFIG_POD2HTML 1
4729
-_ACEOF
4730
+$as_echo "#define CONFIG_POD2HTML 1" >>confdefs.h
4731
 
4732
 	fi
4733
 fi
4734
@@ -3734,9 +4288,7 @@ fi
4735
 	  CONFIG_DOC=yes
4736
 	  ABOUT_CONFIG_DOC="Documentation Tools"
4737
 
4738
-cat >>confdefs.h <<\_ACEOF
4739
-#define CONFIG_DOC 1
4740
-_ACEOF
4741
+$as_echo "#define CONFIG_DOC 1" >>confdefs.h
4742
 
4743
 	fi
4744
 
4745
@@ -3788,9 +4340,7 @@ _ACEOF
4746
 	  CONFIG_MANUAL=yes
4747
 	  ABOUT_CONFIG_MANUAL="Manual Formats"
4748
 
4749
-cat >>confdefs.h <<\_ACEOF
4750
-#define CONFIG_MANUAL 1
4751
-_ACEOF
4752
+$as_echo "#define CONFIG_MANUAL 1" >>confdefs.h
4753
 
4754
 	fi
4755
 
4756
@@ -3842,9 +4392,7 @@ _ACEOF
4757
 	  CONFIG_MANPAGE=yes
4758
 	  ABOUT_CONFIG_MANPAGE="Man Page Formats"
4759
 
4760
-cat >>confdefs.h <<\_ACEOF
4761
-#define CONFIG_MANPAGE 1
4762
-_ACEOF
4763
+$as_echo "#define CONFIG_MANPAGE 1" >>confdefs.h
4764
 
4765
 	fi
4766
 
4767
@@ -3880,15 +4428,11 @@ fi
4768
 
4769
 
4770
 
4771
-	{ echo "$as_me:$LINENO: checking for BEOS" >&5
4772
-echo $ECHO_N "checking for BEOS... $ECHO_C" >&6; }
4773
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BEOS" >&5
4774
+$as_echo_n "checking for BEOS... " >&6; }
4775
 
4776
 	for flag in __BEOS__; do
4777
-		cat >conftest.$ac_ext <<_ACEOF
4778
-/* confdefs.h.  */
4779
-_ACEOF
4780
-cat confdefs.h >>conftest.$ac_ext
4781
-cat >>conftest.$ac_ext <<_ACEOF
4782
+		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783
 /* end confdefs.h.  */
4784
 
4785
 int
4786
@@ -3901,60 +4445,34 @@ kill me!
4787
   return 0;
4788
 }
4789
 _ACEOF
4790
-rm -f conftest.$ac_objext
4791
-if { (ac_try="$ac_compile"
4792
-case "(($ac_try" in
4793
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794
-  *) ac_try_echo=$ac_try;;
4795
-esac
4796
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4797
-  (eval "$ac_compile") 2>conftest.er1
4798
-  ac_status=$?
4799
-  grep -v '^ *+' conftest.er1 >conftest.err
4800
-  rm -f conftest.er1
4801
-  cat conftest.err >&5
4802
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803
-  (exit $ac_status); } && {
4804
-	 test -z "$ac_c_werror_flag" ||
4805
-	 test ! -s conftest.err
4806
-       } && test -s conftest.$ac_objext; then
4807
+if ac_fn_c_try_compile "$LINENO"; then :
4808
   CONFIG_BEOS=yes
4809
 else
4810
-  echo "$as_me: failed program was:" >&5
4811
-sed 's/^/| /' conftest.$ac_ext >&5
4812
-
4813
-	CONFIG_BEOS=no
4814
+  CONFIG_BEOS=no
4815
 fi
4816
-
4817
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818
 		if test "$CONFIG_BEOS" = yes; then
4819
 
4820
 	  CONFIG_BEOS=yes
4821
 	  ABOUT_CONFIG_BEOS="BEOS"
4822
 
4823
-cat >>confdefs.h <<\_ACEOF
4824
-#define CONFIG_BEOS 1
4825
-_ACEOF
4826
+$as_echo "#define CONFIG_BEOS 1" >>confdefs.h
4827
 
4828
 			break
4829
 		fi
4830
 	done
4831
 
4832
-	{ echo "$as_me:$LINENO: result: $CONFIG_BEOS" >&5
4833
-echo "${ECHO_T}$CONFIG_BEOS" >&6; }
4834
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_BEOS" >&5
4835
+$as_echo "$CONFIG_BEOS" >&6; }
4836
 
4837
 
4838
 
4839
 
4840
-	{ echo "$as_me:$LINENO: checking for RISCOS" >&5
4841
-echo $ECHO_N "checking for RISCOS... $ECHO_C" >&6; }
4842
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RISCOS" >&5
4843
+$as_echo_n "checking for RISCOS... " >&6; }
4844
 
4845
 	for flag in __riscos__; do
4846
-		cat >conftest.$ac_ext <<_ACEOF
4847
-/* confdefs.h.  */
4848
-_ACEOF
4849
-cat confdefs.h >>conftest.$ac_ext
4850
-cat >>conftest.$ac_ext <<_ACEOF
4851
+		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852
 /* end confdefs.h.  */
4853
 
4854
 int
4855
@@ -3967,60 +4485,34 @@ kill me!
4856
   return 0;
4857
 }
4858
 _ACEOF
4859
-rm -f conftest.$ac_objext
4860
-if { (ac_try="$ac_compile"
4861
-case "(($ac_try" in
4862
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863
-  *) ac_try_echo=$ac_try;;
4864
-esac
4865
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4866
-  (eval "$ac_compile") 2>conftest.er1
4867
-  ac_status=$?
4868
-  grep -v '^ *+' conftest.er1 >conftest.err
4869
-  rm -f conftest.er1
4870
-  cat conftest.err >&5
4871
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872
-  (exit $ac_status); } && {
4873
-	 test -z "$ac_c_werror_flag" ||
4874
-	 test ! -s conftest.err
4875
-       } && test -s conftest.$ac_objext; then
4876
+if ac_fn_c_try_compile "$LINENO"; then :
4877
   CONFIG_RISCOS=yes
4878
 else
4879
-  echo "$as_me: failed program was:" >&5
4880
-sed 's/^/| /' conftest.$ac_ext >&5
4881
-
4882
-	CONFIG_RISCOS=no
4883
+  CONFIG_RISCOS=no
4884
 fi
4885
-
4886
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887
 		if test "$CONFIG_RISCOS" = yes; then
4888
 
4889
 	  CONFIG_RISCOS=yes
4890
 	  ABOUT_CONFIG_RISCOS="RISCOS"
4891
 
4892
-cat >>confdefs.h <<\_ACEOF
4893
-#define CONFIG_RISCOS 1
4894
-_ACEOF
4895
+$as_echo "#define CONFIG_RISCOS 1" >>confdefs.h
4896
 
4897
 			break
4898
 		fi
4899
 	done
4900
 
4901
-	{ echo "$as_me:$LINENO: result: $CONFIG_RISCOS" >&5
4902
-echo "${ECHO_T}$CONFIG_RISCOS" >&6; }
4903
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_RISCOS" >&5
4904
+$as_echo "$CONFIG_RISCOS" >&6; }
4905
 
4906
 
4907
 
4908
 
4909
-	{ echo "$as_me:$LINENO: checking for WIN32" >&5
4910
-echo $ECHO_N "checking for WIN32... $ECHO_C" >&6; }
4911
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WIN32" >&5
4912
+$as_echo_n "checking for WIN32... " >&6; }
4913
 
4914
 	for flag in _WIN32 __WIN32__; do
4915
-		cat >conftest.$ac_ext <<_ACEOF
4916
-/* confdefs.h.  */
4917
-_ACEOF
4918
-cat confdefs.h >>conftest.$ac_ext
4919
-cat >>conftest.$ac_ext <<_ACEOF
4920
+		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921
 /* end confdefs.h.  */
4922
 
4923
 int
4924
@@ -4033,60 +4525,34 @@ kill me!
4925
   return 0;
4926
 }
4927
 _ACEOF
4928
-rm -f conftest.$ac_objext
4929
-if { (ac_try="$ac_compile"
4930
-case "(($ac_try" in
4931
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932
-  *) ac_try_echo=$ac_try;;
4933
-esac
4934
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4935
-  (eval "$ac_compile") 2>conftest.er1
4936
-  ac_status=$?
4937
-  grep -v '^ *+' conftest.er1 >conftest.err
4938
-  rm -f conftest.er1
4939
-  cat conftest.err >&5
4940
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941
-  (exit $ac_status); } && {
4942
-	 test -z "$ac_c_werror_flag" ||
4943
-	 test ! -s conftest.err
4944
-       } && test -s conftest.$ac_objext; then
4945
+if ac_fn_c_try_compile "$LINENO"; then :
4946
   CONFIG_WIN32=yes
4947
 else
4948
-  echo "$as_me: failed program was:" >&5
4949
-sed 's/^/| /' conftest.$ac_ext >&5
4950
-
4951
-	CONFIG_WIN32=no
4952
+  CONFIG_WIN32=no
4953
 fi
4954
-
4955
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956
 		if test "$CONFIG_WIN32" = yes; then
4957
 
4958
 	  CONFIG_WIN32=yes
4959
 	  ABOUT_CONFIG_WIN32="WIN32"
4960
 
4961
-cat >>confdefs.h <<\_ACEOF
4962
-#define CONFIG_WIN32 1
4963
-_ACEOF
4964
+$as_echo "#define CONFIG_WIN32 1" >>confdefs.h
4965
 
4966
 			break
4967
 		fi
4968
 	done
4969
 
4970
-	{ echo "$as_me:$LINENO: result: $CONFIG_WIN32" >&5
4971
-echo "${ECHO_T}$CONFIG_WIN32" >&6; }
4972
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_WIN32" >&5
4973
+$as_echo "$CONFIG_WIN32" >&6; }
4974
 
4975
 
4976
 
4977
 
4978
-	{ echo "$as_me:$LINENO: checking for EMX" >&5
4979
-echo $ECHO_N "checking for EMX... $ECHO_C" >&6; }
4980
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMX" >&5
4981
+$as_echo_n "checking for EMX... " >&6; }
4982
 
4983
 	for flag in __EMX__; do
4984
-		cat >conftest.$ac_ext <<_ACEOF
4985
-/* confdefs.h.  */
4986
-_ACEOF
4987
-cat confdefs.h >>conftest.$ac_ext
4988
-cat >>conftest.$ac_ext <<_ACEOF
4989
+		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990
 /* end confdefs.h.  */
4991
 
4992
 int
4993
@@ -4099,53 +4565,31 @@ kill me!
4994
   return 0;
4995
 }
4996
 _ACEOF
4997
-rm -f conftest.$ac_objext
4998
-if { (ac_try="$ac_compile"
4999
-case "(($ac_try" in
5000
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
-  *) ac_try_echo=$ac_try;;
5002
-esac
5003
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004
-  (eval "$ac_compile") 2>conftest.er1
5005
-  ac_status=$?
5006
-  grep -v '^ *+' conftest.er1 >conftest.err
5007
-  rm -f conftest.er1
5008
-  cat conftest.err >&5
5009
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010
-  (exit $ac_status); } && {
5011
-	 test -z "$ac_c_werror_flag" ||
5012
-	 test ! -s conftest.err
5013
-       } && test -s conftest.$ac_objext; then
5014
+if ac_fn_c_try_compile "$LINENO"; then :
5015
   CONFIG_OS2=yes
5016
 else
5017
-  echo "$as_me: failed program was:" >&5
5018
-sed 's/^/| /' conftest.$ac_ext >&5
5019
-
5020
-	CONFIG_OS2=no
5021
+  CONFIG_OS2=no
5022
 fi
5023
-
5024
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025
 		if test "$CONFIG_OS2" = yes; then
5026
 
5027
 	  CONFIG_OS2=yes
5028
 	  ABOUT_CONFIG_OS2="EMX"
5029
 
5030
-cat >>confdefs.h <<\_ACEOF
5031
-#define CONFIG_OS2 1
5032
-_ACEOF
5033
+$as_echo "#define CONFIG_OS2 1" >>confdefs.h
5034
 
5035
 			break
5036
 		fi
5037
 	done
5038
 
5039
-	{ echo "$as_me:$LINENO: result: $CONFIG_OS2" >&5
5040
-echo "${ECHO_T}$CONFIG_OS2" >&6; }
5041
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_OS2" >&5
5042
+$as_echo "$CONFIG_OS2" >&6; }
5043
 
5044
 
5045
 test "$CONFIG_OS2" = yes && LDFLAGS=`echo "$LDFLAGS" | sed "s/-Zexe//g"`
5046
 
5047
-{ echo "$as_me:$LINENO: checking for UNIX" >&5
5048
-echo $ECHO_N "checking for UNIX... $ECHO_C" >&6; }
5049
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX" >&5
5050
+$as_echo_n "checking for UNIX... " >&6; }
5051
 if test "$CONFIG_BEOS" = no && \
5052
    test "$CONFIG_RISCOS" = no && \
5053
    test "$CONFIG_WIN32" = no && \
5054
@@ -4154,36 +4598,25 @@ if test "$CONFIG_BEOS" = no && \
5055
 	  CONFIG_UNIX=yes
5056
 	  ABOUT_CONFIG_UNIX="UNIX"
5057
 
5058
-cat >>confdefs.h <<\_ACEOF
5059
-#define CONFIG_UNIX 1
5060
-_ACEOF
5061
+$as_echo "#define CONFIG_UNIX 1" >>confdefs.h
5062
 
5063
 else
5064
 	CONFIG_UNIX=no
5065
 fi
5066
-{ echo "$as_me:$LINENO: result: $CONFIG_UNIX" >&5
5067
-echo "${ECHO_T}$CONFIG_UNIX" >&6; }
5068
-
5069
-
5070
-
5071
-
5072
-
5073
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_UNIX" >&5
5074
+$as_echo "$CONFIG_UNIX" >&6; }
5075
 
5076
 
5077
 
5078
 ac_header_dirent=no
5079
 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5080
-  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5081
-{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5082
-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5083
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5084
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5085
+  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5086
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5087
+$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5088
+if eval \${$as_ac_Header+:} false; then :
5089
+  $as_echo_n "(cached) " >&6
5090
 else
5091
-  cat >conftest.$ac_ext <<_ACEOF
5092
-/* confdefs.h.  */
5093
-_ACEOF
5094
-cat confdefs.h >>conftest.$ac_ext
5095
-cat >>conftest.$ac_ext <<_ACEOF
5096
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097
 /* end confdefs.h.  */
5098
 #include <sys/types.h>
5099
 #include <$ac_hdr>
5100
@@ -4197,39 +4630,19 @@ return 0;
5101
   return 0;
5102
 }
5103
 _ACEOF
5104
-rm -f conftest.$ac_objext
5105
-if { (ac_try="$ac_compile"
5106
-case "(($ac_try" in
5107
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108
-  *) ac_try_echo=$ac_try;;
5109
-esac
5110
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111
-  (eval "$ac_compile") 2>conftest.er1
5112
-  ac_status=$?
5113
-  grep -v '^ *+' conftest.er1 >conftest.err
5114
-  rm -f conftest.er1
5115
-  cat conftest.err >&5
5116
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117
-  (exit $ac_status); } && {
5118
-	 test -z "$ac_c_werror_flag" ||
5119
-	 test ! -s conftest.err
5120
-       } && test -s conftest.$ac_objext; then
5121
+if ac_fn_c_try_compile "$LINENO"; then :
5122
   eval "$as_ac_Header=yes"
5123
 else
5124
-  echo "$as_me: failed program was:" >&5
5125
-sed 's/^/| /' conftest.$ac_ext >&5
5126
-
5127
-	eval "$as_ac_Header=no"
5128
+  eval "$as_ac_Header=no"
5129
 fi
5130
-
5131
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5132
 fi
5133
-ac_res=`eval echo '${'$as_ac_Header'}'`
5134
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5135
-echo "${ECHO_T}$ac_res" >&6; }
5136
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
5137
+eval ac_res=\$$as_ac_Header
5138
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5139
+$as_echo "$ac_res" >&6; }
5140
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5141
   cat >>confdefs.h <<_ACEOF
5142
-#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5143
+#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5144
 _ACEOF
5145
 
5146
 ac_header_dirent=$ac_hdr; break
5147
@@ -4238,17 +4651,13 @@ fi
5148
 done
5149
 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5150
 if test $ac_header_dirent = dirent.h; then
5151
-  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5152
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5153
-if test "${ac_cv_search_opendir+set}" = set; then
5154
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5155
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5156
+$as_echo_n "checking for library containing opendir... " >&6; }
5157
+if ${ac_cv_search_opendir+:} false; then :
5158
+  $as_echo_n "(cached) " >&6
5159
 else
5160
   ac_func_search_save_LIBS=$LIBS
5161
-cat >conftest.$ac_ext <<_ACEOF
5162
-/* confdefs.h.  */
5163
-_ACEOF
5164
-cat confdefs.h >>conftest.$ac_ext
5165
-cat >>conftest.$ac_ext <<_ACEOF
5166
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167
 /* end confdefs.h.  */
5168
 
5169
 /* Override any GCC internal prototype to avoid an error.
5170
@@ -4273,66 +4682,39 @@ for ac_lib in '' dir; do
5171
     ac_res=-l$ac_lib
5172
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5173
   fi
5174
-  rm -f conftest.$ac_objext conftest$ac_exeext
5175
-if { (ac_try="$ac_link"
5176
-case "(($ac_try" in
5177
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178
-  *) ac_try_echo=$ac_try;;
5179
-esac
5180
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181
-  (eval "$ac_link") 2>conftest.er1
5182
-  ac_status=$?
5183
-  grep -v '^ *+' conftest.er1 >conftest.err
5184
-  rm -f conftest.er1
5185
-  cat conftest.err >&5
5186
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187
-  (exit $ac_status); } && {
5188
-	 test -z "$ac_c_werror_flag" ||
5189
-	 test ! -s conftest.err
5190
-       } && test -s conftest$ac_exeext &&
5191
-       $as_test_x conftest$ac_exeext; then
5192
+  if ac_fn_c_try_link "$LINENO"; then :
5193
   ac_cv_search_opendir=$ac_res
5194
-else
5195
-  echo "$as_me: failed program was:" >&5
5196
-sed 's/^/| /' conftest.$ac_ext >&5
5197
-
5198
-
5199
 fi
5200
-
5201
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5202
-      conftest$ac_exeext
5203
-  if test "${ac_cv_search_opendir+set}" = set; then
5204
+rm -f core conftest.err conftest.$ac_objext \
5205
+    conftest$ac_exeext
5206
+  if ${ac_cv_search_opendir+:} false; then :
5207
   break
5208
 fi
5209
 done
5210
-if test "${ac_cv_search_opendir+set}" = set; then
5211
-  :
5212
+if ${ac_cv_search_opendir+:} false; then :
5213
+
5214
 else
5215
   ac_cv_search_opendir=no
5216
 fi
5217
 rm conftest.$ac_ext
5218
 LIBS=$ac_func_search_save_LIBS
5219
 fi
5220
-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5221
-echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5222
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5223
+$as_echo "$ac_cv_search_opendir" >&6; }
5224
 ac_res=$ac_cv_search_opendir
5225
-if test "$ac_res" != no; then
5226
+if test "$ac_res" != no; then :
5227
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5228
 
5229
 fi
5230
 
5231
 else
5232
-  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5233
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5234
-if test "${ac_cv_search_opendir+set}" = set; then
5235
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5236
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5237
+$as_echo_n "checking for library containing opendir... " >&6; }
5238
+if ${ac_cv_search_opendir+:} false; then :
5239
+  $as_echo_n "(cached) " >&6
5240
 else
5241
   ac_func_search_save_LIBS=$LIBS
5242
-cat >conftest.$ac_ext <<_ACEOF
5243
-/* confdefs.h.  */
5244
-_ACEOF
5245
-cat confdefs.h >>conftest.$ac_ext
5246
-cat >>conftest.$ac_ext <<_ACEOF
5247
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248
 /* end confdefs.h.  */
5249
 
5250
 /* Override any GCC internal prototype to avoid an error.
5251
@@ -4357,50 +4739,27 @@ for ac_lib in '' x; do
5252
     ac_res=-l$ac_lib
5253
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5254
   fi
5255
-  rm -f conftest.$ac_objext conftest$ac_exeext
5256
-if { (ac_try="$ac_link"
5257
-case "(($ac_try" in
5258
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5259
-  *) ac_try_echo=$ac_try;;
5260
-esac
5261
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5262
-  (eval "$ac_link") 2>conftest.er1
5263
-  ac_status=$?
5264
-  grep -v '^ *+' conftest.er1 >conftest.err
5265
-  rm -f conftest.er1
5266
-  cat conftest.err >&5
5267
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268
-  (exit $ac_status); } && {
5269
-	 test -z "$ac_c_werror_flag" ||
5270
-	 test ! -s conftest.err
5271
-       } && test -s conftest$ac_exeext &&
5272
-       $as_test_x conftest$ac_exeext; then
5273
+  if ac_fn_c_try_link "$LINENO"; then :
5274
   ac_cv_search_opendir=$ac_res
5275
-else
5276
-  echo "$as_me: failed program was:" >&5
5277
-sed 's/^/| /' conftest.$ac_ext >&5
5278
-
5279
-
5280
 fi
5281
-
5282
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5283
-      conftest$ac_exeext
5284
-  if test "${ac_cv_search_opendir+set}" = set; then
5285
+rm -f core conftest.err conftest.$ac_objext \
5286
+    conftest$ac_exeext
5287
+  if ${ac_cv_search_opendir+:} false; then :
5288
   break
5289
 fi
5290
 done
5291
-if test "${ac_cv_search_opendir+set}" = set; then
5292
-  :
5293
+if ${ac_cv_search_opendir+:} false; then :
5294
+
5295
 else
5296
   ac_cv_search_opendir=no
5297
 fi
5298
 rm conftest.$ac_ext
5299
 LIBS=$ac_func_search_save_LIBS
5300
 fi
5301
-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5302
-echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5303
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5304
+$as_echo "$ac_cv_search_opendir" >&6; }
5305
 ac_res=$ac_cv_search_opendir
5306
-if test "$ac_res" != no; then
5307
+if test "$ac_res" != no; then :
5308
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5309
 
5310
 fi
5311
@@ -4412,15 +4771,15 @@ ac_cpp='$CPP $CPPFLAGS'
5312
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5313
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5314
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5315
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5316
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5317
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5318
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
5319
 # On Suns, sometimes $CPP names a directory.
5320
 if test -n "$CPP" && test -d "$CPP"; then
5321
   CPP=
5322
 fi
5323
 if test -z "$CPP"; then
5324
-  if test "${ac_cv_prog_CPP+set}" = set; then
5325
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5326
+  if ${ac_cv_prog_CPP+:} false; then :
5327
+  $as_echo_n "(cached) " >&6
5328
 else
5329
       # Double quotes because CPP needs to be expanded
5330
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5331
@@ -4434,11 +4793,7 @@ do
5332
   # <limits.h> exists even on freestanding compilers.
5333
   # On the NeXT, cc -E runs the code through the compiler's parser,
5334
   # not just through cpp. "Syntax error" is here to catch this case.
5335
-  cat >conftest.$ac_ext <<_ACEOF
5336
-/* confdefs.h.  */
5337
-_ACEOF
5338
-cat confdefs.h >>conftest.$ac_ext
5339
-cat >>conftest.$ac_ext <<_ACEOF
5340
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341
 /* end confdefs.h.  */
5342
 #ifdef __STDC__
5343
 # include <limits.h>
5344
@@ -4447,76 +4802,34 @@ cat >>conftest.$ac_ext <<_ACEOF
5345
 #endif
5346
 		     Syntax error
5347
 _ACEOF
5348
-if { (ac_try="$ac_cpp conftest.$ac_ext"
5349
-case "(($ac_try" in
5350
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5351
-  *) ac_try_echo=$ac_try;;
5352
-esac
5353
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5354
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5355
-  ac_status=$?
5356
-  grep -v '^ *+' conftest.er1 >conftest.err
5357
-  rm -f conftest.er1
5358
-  cat conftest.err >&5
5359
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360
-  (exit $ac_status); } >/dev/null && {
5361
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5362
-	 test ! -s conftest.err
5363
-       }; then
5364
-  :
5365
-else
5366
-  echo "$as_me: failed program was:" >&5
5367
-sed 's/^/| /' conftest.$ac_ext >&5
5368
+if ac_fn_c_try_cpp "$LINENO"; then :
5369
 
5370
+else
5371
   # Broken: fails on valid input.
5372
 continue
5373
 fi
5374
-
5375
-rm -f conftest.err conftest.$ac_ext
5376
+rm -f conftest.err conftest.i conftest.$ac_ext
5377
 
5378
   # OK, works on sane cases.  Now check whether nonexistent headers
5379
   # can be detected and how.
5380
-  cat >conftest.$ac_ext <<_ACEOF
5381
-/* confdefs.h.  */
5382
-_ACEOF
5383
-cat confdefs.h >>conftest.$ac_ext
5384
-cat >>conftest.$ac_ext <<_ACEOF
5385
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386
 /* end confdefs.h.  */
5387
 #include <ac_nonexistent.h>
5388
 _ACEOF
5389
-if { (ac_try="$ac_cpp conftest.$ac_ext"
5390
-case "(($ac_try" in
5391
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392
-  *) ac_try_echo=$ac_try;;
5393
-esac
5394
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5396
-  ac_status=$?
5397
-  grep -v '^ *+' conftest.er1 >conftest.err
5398
-  rm -f conftest.er1
5399
-  cat conftest.err >&5
5400
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401
-  (exit $ac_status); } >/dev/null && {
5402
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5403
-	 test ! -s conftest.err
5404
-       }; then
5405
+if ac_fn_c_try_cpp "$LINENO"; then :
5406
   # Broken: success on invalid input.
5407
 continue
5408
 else
5409
-  echo "$as_me: failed program was:" >&5
5410
-sed 's/^/| /' conftest.$ac_ext >&5
5411
-
5412
   # Passes both tests.
5413
 ac_preproc_ok=:
5414
 break
5415
 fi
5416
-
5417
-rm -f conftest.err conftest.$ac_ext
5418
+rm -f conftest.err conftest.i conftest.$ac_ext
5419
 
5420
 done
5421
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5422
-rm -f conftest.err conftest.$ac_ext
5423
-if $ac_preproc_ok; then
5424
+rm -f conftest.i conftest.err conftest.$ac_ext
5425
+if $ac_preproc_ok; then :
5426
   break
5427
 fi
5428
 
5429
@@ -4528,8 +4841,8 @@ fi
5430
 else
5431
   ac_cv_prog_CPP=$CPP
5432
 fi
5433
-{ echo "$as_me:$LINENO: result: $CPP" >&5
5434
-echo "${ECHO_T}$CPP" >&6; }
5435
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5436
+$as_echo "$CPP" >&6; }
5437
 ac_preproc_ok=false
5438
 for ac_c_preproc_warn_flag in '' yes
5439
 do
5440
@@ -4539,11 +4852,7 @@ do
5441
   # <limits.h> exists even on freestanding compilers.
5442
   # On the NeXT, cc -E runs the code through the compiler's parser,
5443
   # not just through cpp. "Syntax error" is here to catch this case.
5444
-  cat >conftest.$ac_ext <<_ACEOF
5445
-/* confdefs.h.  */
5446
-_ACEOF
5447
-cat confdefs.h >>conftest.$ac_ext
5448
-cat >>conftest.$ac_ext <<_ACEOF
5449
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450
 /* end confdefs.h.  */
5451
 #ifdef __STDC__
5452
 # include <limits.h>
5453
@@ -4552,83 +4861,40 @@ cat >>conftest.$ac_ext <<_ACEOF
5454
 #endif
5455
 		     Syntax error
5456
 _ACEOF
5457
-if { (ac_try="$ac_cpp conftest.$ac_ext"
5458
-case "(($ac_try" in
5459
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460
-  *) ac_try_echo=$ac_try;;
5461
-esac
5462
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5463
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5464
-  ac_status=$?
5465
-  grep -v '^ *+' conftest.er1 >conftest.err
5466
-  rm -f conftest.er1
5467
-  cat conftest.err >&5
5468
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
-  (exit $ac_status); } >/dev/null && {
5470
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5471
-	 test ! -s conftest.err
5472
-       }; then
5473
-  :
5474
-else
5475
-  echo "$as_me: failed program was:" >&5
5476
-sed 's/^/| /' conftest.$ac_ext >&5
5477
+if ac_fn_c_try_cpp "$LINENO"; then :
5478
 
5479
+else
5480
   # Broken: fails on valid input.
5481
 continue
5482
 fi
5483
-
5484
-rm -f conftest.err conftest.$ac_ext
5485
+rm -f conftest.err conftest.i conftest.$ac_ext
5486
 
5487
   # OK, works on sane cases.  Now check whether nonexistent headers
5488
   # can be detected and how.
5489
-  cat >conftest.$ac_ext <<_ACEOF
5490
-/* confdefs.h.  */
5491
-_ACEOF
5492
-cat confdefs.h >>conftest.$ac_ext
5493
-cat >>conftest.$ac_ext <<_ACEOF
5494
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495
 /* end confdefs.h.  */
5496
 #include <ac_nonexistent.h>
5497
 _ACEOF
5498
-if { (ac_try="$ac_cpp conftest.$ac_ext"
5499
-case "(($ac_try" in
5500
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5501
-  *) ac_try_echo=$ac_try;;
5502
-esac
5503
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5505
-  ac_status=$?
5506
-  grep -v '^ *+' conftest.er1 >conftest.err
5507
-  rm -f conftest.er1
5508
-  cat conftest.err >&5
5509
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510
-  (exit $ac_status); } >/dev/null && {
5511
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5512
-	 test ! -s conftest.err
5513
-       }; then
5514
+if ac_fn_c_try_cpp "$LINENO"; then :
5515
   # Broken: success on invalid input.
5516
 continue
5517
 else
5518
-  echo "$as_me: failed program was:" >&5
5519
-sed 's/^/| /' conftest.$ac_ext >&5
5520
-
5521
   # Passes both tests.
5522
 ac_preproc_ok=:
5523
 break
5524
 fi
5525
-
5526
-rm -f conftest.err conftest.$ac_ext
5527
+rm -f conftest.err conftest.i conftest.$ac_ext
5528
 
5529
 done
5530
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5531
-rm -f conftest.err conftest.$ac_ext
5532
-if $ac_preproc_ok; then
5533
-  :
5534
+rm -f conftest.i conftest.err conftest.$ac_ext
5535
+if $ac_preproc_ok; then :
5536
+
5537
 else
5538
-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5539
-See \`config.log' for more details." >&5
5540
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5541
-See \`config.log' for more details." >&2;}
5542
-   { (exit 1); exit 1; }; }
5543
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5544
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5545
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5546
+See \`config.log' for more details" "$LINENO" 5; }
5547
 fi
5548
 
5549
 ac_ext=c
5550
@@ -4638,45 +4904,40 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
5551
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5552
 
5553
 
5554
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5555
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5556
-if test "${ac_cv_path_GREP+set}" = set; then
5557
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5558
-else
5559
-  # Extract the first word of "grep ggrep" to use in msg output
5560
-if test -z "$GREP"; then
5561
-set dummy grep ggrep; ac_prog_name=$2
5562
-if test "${ac_cv_path_GREP+set}" = set; then
5563
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5564
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5565
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5566
+if ${ac_cv_path_GREP+:} false; then :
5567
+  $as_echo_n "(cached) " >&6
5568
 else
5569
+  if test -z "$GREP"; then
5570
   ac_path_GREP_found=false
5571
-# Loop through the user's path and test for each of PROGNAME-LIST
5572
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573
+  # Loop through the user's path and test for each of PROGNAME-LIST
5574
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5576
 do
5577
   IFS=$as_save_IFS
5578
   test -z "$as_dir" && as_dir=.
5579
-  for ac_prog in grep ggrep; do
5580
-  for ac_exec_ext in '' $ac_executable_extensions; do
5581
-    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5582
-    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5583
-    # Check for GNU ac_path_GREP and select it if it is found.
5584
+    for ac_prog in grep ggrep; do
5585
+    for ac_exec_ext in '' $ac_executable_extensions; do
5586
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5587
+      as_fn_executable_p "$ac_path_GREP" || continue
5588
+# Check for GNU ac_path_GREP and select it if it is found.
5589
   # Check for GNU $ac_path_GREP
5590
 case `"$ac_path_GREP" --version 2>&1` in
5591
 *GNU*)
5592
   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5593
 *)
5594
   ac_count=0
5595
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5596
+  $as_echo_n 0123456789 >"conftest.in"
5597
   while :
5598
   do
5599
     cat "conftest.in" "conftest.in" >"conftest.tmp"
5600
     mv "conftest.tmp" "conftest.in"
5601
     cp "conftest.in" "conftest.nl"
5602
-    echo 'GREP' >> "conftest.nl"
5603
+    $as_echo 'GREP' >> "conftest.nl"
5604
     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5605
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5606
-    ac_count=`expr $ac_count + 1`
5607
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
5608
     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5609
       # Best one so far, save it but keep looking for a better one
5610
       ac_cv_path_GREP="$ac_path_GREP"
5611
@@ -4688,77 +4949,61 @@ case `"$ac_path_GREP" --version 2>&1` in
5612
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5613
 esac
5614
 
5615
-
5616
-    $ac_path_GREP_found && break 3
5617
+      $ac_path_GREP_found && break 3
5618
+    done
5619
+  done
5620
   done
5621
-done
5622
-
5623
-done
5624
 IFS=$as_save_IFS
5625
-
5626
-
5627
-fi
5628
-
5629
-GREP="$ac_cv_path_GREP"
5630
-if test -z "$GREP"; then
5631
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5632
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5633
-   { (exit 1); exit 1; }; }
5634
-fi
5635
-
5636
+  if test -z "$ac_cv_path_GREP"; then
5637
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5638
+  fi
5639
 else
5640
   ac_cv_path_GREP=$GREP
5641
 fi
5642
 
5643
-
5644
 fi
5645
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5646
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5647
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5648
+$as_echo "$ac_cv_path_GREP" >&6; }
5649
  GREP="$ac_cv_path_GREP"
5650
 
5651
 
5652
-{ echo "$as_me:$LINENO: checking for egrep" >&5
5653
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5654
-if test "${ac_cv_path_EGREP+set}" = set; then
5655
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5656
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5657
+$as_echo_n "checking for egrep... " >&6; }
5658
+if ${ac_cv_path_EGREP+:} false; then :
5659
+  $as_echo_n "(cached) " >&6
5660
 else
5661
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5662
    then ac_cv_path_EGREP="$GREP -E"
5663
    else
5664
-     # Extract the first word of "egrep" to use in msg output
5665
-if test -z "$EGREP"; then
5666
-set dummy egrep; ac_prog_name=$2
5667
-if test "${ac_cv_path_EGREP+set}" = set; then
5668
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5669
-else
5670
+     if test -z "$EGREP"; then
5671
   ac_path_EGREP_found=false
5672
-# Loop through the user's path and test for each of PROGNAME-LIST
5673
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674
+  # Loop through the user's path and test for each of PROGNAME-LIST
5675
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5677
 do
5678
   IFS=$as_save_IFS
5679
   test -z "$as_dir" && as_dir=.
5680
-  for ac_prog in egrep; do
5681
-  for ac_exec_ext in '' $ac_executable_extensions; do
5682
-    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5683
-    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5684
-    # Check for GNU ac_path_EGREP and select it if it is found.
5685
+    for ac_prog in egrep; do
5686
+    for ac_exec_ext in '' $ac_executable_extensions; do
5687
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5688
+      as_fn_executable_p "$ac_path_EGREP" || continue
5689
+# Check for GNU ac_path_EGREP and select it if it is found.
5690
   # Check for GNU $ac_path_EGREP
5691
 case `"$ac_path_EGREP" --version 2>&1` in
5692
 *GNU*)
5693
   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5694
 *)
5695
   ac_count=0
5696
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5697
+  $as_echo_n 0123456789 >"conftest.in"
5698
   while :
5699
   do
5700
     cat "conftest.in" "conftest.in" >"conftest.tmp"
5701
     mv "conftest.tmp" "conftest.in"
5702
     cp "conftest.in" "conftest.nl"
5703
-    echo 'EGREP' >> "conftest.nl"
5704
+    $as_echo 'EGREP' >> "conftest.nl"
5705
     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5706
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5707
-    ac_count=`expr $ac_count + 1`
5708
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
5709
     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5710
       # Best one so far, save it but keep looking for a better one
5711
       ac_cv_path_EGREP="$ac_path_EGREP"
5712
@@ -4770,46 +5015,31 @@ case `"$ac_path_EGREP" --version 2>&1` i
5713
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5714
 esac
5715
 
5716
-
5717
-    $ac_path_EGREP_found && break 3
5718
+      $ac_path_EGREP_found && break 3
5719
+    done
5720
+  done
5721
   done
5722
-done
5723
-
5724
-done
5725
 IFS=$as_save_IFS
5726
-
5727
-
5728
-fi
5729
-
5730
-EGREP="$ac_cv_path_EGREP"
5731
-if test -z "$EGREP"; then
5732
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5733
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5734
-   { (exit 1); exit 1; }; }
5735
-fi
5736
-
5737
+  if test -z "$ac_cv_path_EGREP"; then
5738
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5739
+  fi
5740
 else
5741
   ac_cv_path_EGREP=$EGREP
5742
 fi
5743
 
5744
-
5745
    fi
5746
 fi
5747
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5748
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5749
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5750
+$as_echo "$ac_cv_path_EGREP" >&6; }
5751
  EGREP="$ac_cv_path_EGREP"
5752
 
5753
 
5754
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5755
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5756
-if test "${ac_cv_header_stdc+set}" = set; then
5757
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5758
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5759
+$as_echo_n "checking for ANSI C header files... " >&6; }
5760
+if ${ac_cv_header_stdc+:} false; then :
5761
+  $as_echo_n "(cached) " >&6
5762
 else
5763
-  cat >conftest.$ac_ext <<_ACEOF
5764
-/* confdefs.h.  */
5765
-_ACEOF
5766
-cat confdefs.h >>conftest.$ac_ext
5767
-cat >>conftest.$ac_ext <<_ACEOF
5768
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769
 /* end confdefs.h.  */
5770
 #include <stdlib.h>
5771
 #include <stdarg.h>
5772
@@ -4824,47 +5054,23 @@ main ()
5773
   return 0;
5774
 }
5775
 _ACEOF
5776
-rm -f conftest.$ac_objext
5777
-if { (ac_try="$ac_compile"
5778
-case "(($ac_try" in
5779
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5780
-  *) ac_try_echo=$ac_try;;
5781
-esac
5782
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5783
-  (eval "$ac_compile") 2>conftest.er1
5784
-  ac_status=$?
5785
-  grep -v '^ *+' conftest.er1 >conftest.err
5786
-  rm -f conftest.er1
5787
-  cat conftest.err >&5
5788
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
-  (exit $ac_status); } && {
5790
-	 test -z "$ac_c_werror_flag" ||
5791
-	 test ! -s conftest.err
5792
-       } && test -s conftest.$ac_objext; then
5793
+if ac_fn_c_try_compile "$LINENO"; then :
5794
   ac_cv_header_stdc=yes
5795
 else
5796
-  echo "$as_me: failed program was:" >&5
5797
-sed 's/^/| /' conftest.$ac_ext >&5
5798
-
5799
-	ac_cv_header_stdc=no
5800
+  ac_cv_header_stdc=no
5801
 fi
5802
-
5803
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5804
 
5805
 if test $ac_cv_header_stdc = yes; then
5806
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5807
-  cat >conftest.$ac_ext <<_ACEOF
5808
-/* confdefs.h.  */
5809
-_ACEOF
5810
-cat confdefs.h >>conftest.$ac_ext
5811
-cat >>conftest.$ac_ext <<_ACEOF
5812
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813
 /* end confdefs.h.  */
5814
 #include <string.h>
5815
 
5816
 _ACEOF
5817
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5818
-  $EGREP "memchr" >/dev/null 2>&1; then
5819
-  :
5820
+  $EGREP "memchr" >/dev/null 2>&1; then :
5821
+
5822
 else
5823
   ac_cv_header_stdc=no
5824
 fi
5825
@@ -4874,18 +5080,14 @@ fi
5826
 
5827
 if test $ac_cv_header_stdc = yes; then
5828
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5829
-  cat >conftest.$ac_ext <<_ACEOF
5830
-/* confdefs.h.  */
5831
-_ACEOF
5832
-cat confdefs.h >>conftest.$ac_ext
5833
-cat >>conftest.$ac_ext <<_ACEOF
5834
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835
 /* end confdefs.h.  */
5836
 #include <stdlib.h>
5837
 
5838
 _ACEOF
5839
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5840
-  $EGREP "free" >/dev/null 2>&1; then
5841
-  :
5842
+  $EGREP "free" >/dev/null 2>&1; then :
5843
+
5844
 else
5845
   ac_cv_header_stdc=no
5846
 fi
5847
@@ -4895,14 +5097,10 @@ fi
5848
 
5849
 if test $ac_cv_header_stdc = yes; then
5850
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5851
-  if test "$cross_compiling" = yes; then
5852
+  if test "$cross_compiling" = yes; then :
5853
   :
5854
 else
5855
-  cat >conftest.$ac_ext <<_ACEOF
5856
-/* confdefs.h.  */
5857
-_ACEOF
5858
-cat confdefs.h >>conftest.$ac_ext
5859
-cat >>conftest.$ac_ext <<_ACEOF
5860
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5861
 /* end confdefs.h.  */
5862
 #include <ctype.h>
5863
 #include <stdlib.h>
5864
@@ -4929,61 +5127,31 @@ main ()
5865
   return 0;
5866
 }
5867
 _ACEOF
5868
-rm -f conftest$ac_exeext
5869
-if { (ac_try="$ac_link"
5870
-case "(($ac_try" in
5871
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5872
-  *) ac_try_echo=$ac_try;;
5873
-esac
5874
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875
-  (eval "$ac_link") 2>&5
5876
-  ac_status=$?
5877
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5879
-  { (case "(($ac_try" in
5880
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5881
-  *) ac_try_echo=$ac_try;;
5882
-esac
5883
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884
-  (eval "$ac_try") 2>&5
5885
-  ac_status=$?
5886
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887
-  (exit $ac_status); }; }; then
5888
-  :
5889
-else
5890
-  echo "$as_me: program exited with status $ac_status" >&5
5891
-echo "$as_me: failed program was:" >&5
5892
-sed 's/^/| /' conftest.$ac_ext >&5
5893
+if ac_fn_c_try_run "$LINENO"; then :
5894
 
5895
-( exit $ac_status )
5896
-ac_cv_header_stdc=no
5897
+else
5898
+  ac_cv_header_stdc=no
5899
 fi
5900
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5901
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5902
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
5903
 fi
5904
 
5905
-
5906
 fi
5907
 fi
5908
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5909
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5910
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5911
+$as_echo "$ac_cv_header_stdc" >&6; }
5912
 if test $ac_cv_header_stdc = yes; then
5913
 
5914
-cat >>confdefs.h <<\_ACEOF
5915
-#define STDC_HEADERS 1
5916
-_ACEOF
5917
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5918
 
5919
 fi
5920
 
5921
-{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5922
-echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5923
-if test "${ac_cv_header_sys_wait_h+set}" = set; then
5924
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5925
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
5926
+$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5927
+if ${ac_cv_header_sys_wait_h+:} false; then :
5928
+  $as_echo_n "(cached) " >&6
5929
 else
5930
-  cat >conftest.$ac_ext <<_ACEOF
5931
-/* confdefs.h.  */
5932
-_ACEOF
5933
-cat confdefs.h >>conftest.$ac_ext
5934
-cat >>conftest.$ac_ext <<_ACEOF
5935
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936
 /* end confdefs.h.  */
5937
 #include <sys/types.h>
5938
 #include <sys/wait.h>
5939
@@ -5004,53 +5172,27 @@ main ()
5940
   return 0;
5941
 }
5942
 _ACEOF
5943
-rm -f conftest.$ac_objext
5944
-if { (ac_try="$ac_compile"
5945
-case "(($ac_try" in
5946
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947
-  *) ac_try_echo=$ac_try;;
5948
-esac
5949
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950
-  (eval "$ac_compile") 2>conftest.er1
5951
-  ac_status=$?
5952
-  grep -v '^ *+' conftest.er1 >conftest.err
5953
-  rm -f conftest.er1
5954
-  cat conftest.err >&5
5955
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956
-  (exit $ac_status); } && {
5957
-	 test -z "$ac_c_werror_flag" ||
5958
-	 test ! -s conftest.err
5959
-       } && test -s conftest.$ac_objext; then
5960
+if ac_fn_c_try_compile "$LINENO"; then :
5961
   ac_cv_header_sys_wait_h=yes
5962
 else
5963
-  echo "$as_me: failed program was:" >&5
5964
-sed 's/^/| /' conftest.$ac_ext >&5
5965
-
5966
-	ac_cv_header_sys_wait_h=no
5967
+  ac_cv_header_sys_wait_h=no
5968
 fi
5969
-
5970
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5971
 fi
5972
-{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5973
-echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5974
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
5975
+$as_echo "$ac_cv_header_sys_wait_h" >&6; }
5976
 if test $ac_cv_header_sys_wait_h = yes; then
5977
 
5978
-cat >>confdefs.h <<\_ACEOF
5979
-#define HAVE_SYS_WAIT_H 1
5980
-_ACEOF
5981
+$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
5982
 
5983
 fi
5984
 
5985
-{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5986
-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5987
-if test "${ac_cv_header_time+set}" = set; then
5988
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5989
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5990
+$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5991
+if ${ac_cv_header_time+:} false; then :
5992
+  $as_echo_n "(cached) " >&6
5993
 else
5994
-  cat >conftest.$ac_ext <<_ACEOF
5995
-/* confdefs.h.  */
5996
-_ACEOF
5997
-cat confdefs.h >>conftest.$ac_ext
5998
-cat >>conftest.$ac_ext <<_ACEOF
5999
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6000
 /* end confdefs.h.  */
6001
 #include <sys/types.h>
6002
 #include <sys/time.h>
6003
@@ -5065,106 +5207,32 @@ return 0;
6004
   return 0;
6005
 }
6006
 _ACEOF
6007
-rm -f conftest.$ac_objext
6008
-if { (ac_try="$ac_compile"
6009
-case "(($ac_try" in
6010
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6011
-  *) ac_try_echo=$ac_try;;
6012
-esac
6013
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6014
-  (eval "$ac_compile") 2>conftest.er1
6015
-  ac_status=$?
6016
-  grep -v '^ *+' conftest.er1 >conftest.err
6017
-  rm -f conftest.er1
6018
-  cat conftest.err >&5
6019
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020
-  (exit $ac_status); } && {
6021
-	 test -z "$ac_c_werror_flag" ||
6022
-	 test ! -s conftest.err
6023
-       } && test -s conftest.$ac_objext; then
6024
+if ac_fn_c_try_compile "$LINENO"; then :
6025
   ac_cv_header_time=yes
6026
 else
6027
-  echo "$as_me: failed program was:" >&5
6028
-sed 's/^/| /' conftest.$ac_ext >&5
6029
-
6030
-	ac_cv_header_time=no
6031
+  ac_cv_header_time=no
6032
 fi
6033
-
6034
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6035
 fi
6036
-{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6037
-echo "${ECHO_T}$ac_cv_header_time" >&6; }
6038
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6039
+$as_echo "$ac_cv_header_time" >&6; }
6040
 if test $ac_cv_header_time = yes; then
6041
 
6042
-cat >>confdefs.h <<\_ACEOF
6043
-#define TIME_WITH_SYS_TIME 1
6044
-_ACEOF
6045
+$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6046
 
6047
 fi
6048
 
6049
 
6050
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6051
-
6052
-
6053
-
6054
-
6055
-
6056
-
6057
-
6058
-
6059
-
6060
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6061
 		  inttypes.h stdint.h unistd.h
6062
-do
6063
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6064
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6065
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6066
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6067
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6068
-else
6069
-  cat >conftest.$ac_ext <<_ACEOF
6070
-/* confdefs.h.  */
6071
-_ACEOF
6072
-cat confdefs.h >>conftest.$ac_ext
6073
-cat >>conftest.$ac_ext <<_ACEOF
6074
-/* end confdefs.h.  */
6075
-$ac_includes_default
6076
-
6077
-#include <$ac_header>
6078
-_ACEOF
6079
-rm -f conftest.$ac_objext
6080
-if { (ac_try="$ac_compile"
6081
-case "(($ac_try" in
6082
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6083
-  *) ac_try_echo=$ac_try;;
6084
-esac
6085
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6086
-  (eval "$ac_compile") 2>conftest.er1
6087
-  ac_status=$?
6088
-  grep -v '^ *+' conftest.er1 >conftest.err
6089
-  rm -f conftest.er1
6090
-  cat conftest.err >&5
6091
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092
-  (exit $ac_status); } && {
6093
-	 test -z "$ac_c_werror_flag" ||
6094
-	 test ! -s conftest.err
6095
-       } && test -s conftest.$ac_objext; then
6096
-  eval "$as_ac_Header=yes"
6097
-else
6098
-  echo "$as_me: failed program was:" >&5
6099
-sed 's/^/| /' conftest.$ac_ext >&5
6100
-
6101
-	eval "$as_ac_Header=no"
6102
-fi
6103
-
6104
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6105
-fi
6106
-ac_res=`eval echo '${'$as_ac_Header'}'`
6107
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6108
-echo "${ECHO_T}$ac_res" >&6; }
6109
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6110
+do :
6111
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6112
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6113
+"
6114
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6115
   cat >>confdefs.h <<_ACEOF
6116
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6117
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118
 _ACEOF
6119
 
6120
 fi
6121
@@ -5172,2532 +5240,223 @@ fi
6122
 done
6123
 
6124
 
6125
-
6126
-
6127
-
6128
-
6129
 for ac_header in fcntl.h limits.h time.h unistd.h
6130
-do
6131
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6132
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6133
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6134
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6135
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6136
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6137
-fi
6138
-ac_res=`eval echo '${'$as_ac_Header'}'`
6139
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6140
-echo "${ECHO_T}$ac_res" >&6; }
6141
-else
6142
-  # Is the header compilable?
6143
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6144
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6145
-cat >conftest.$ac_ext <<_ACEOF
6146
-/* confdefs.h.  */
6147
-_ACEOF
6148
-cat confdefs.h >>conftest.$ac_ext
6149
-cat >>conftest.$ac_ext <<_ACEOF
6150
-/* end confdefs.h.  */
6151
-$ac_includes_default
6152
-#include <$ac_header>
6153
-_ACEOF
6154
-rm -f conftest.$ac_objext
6155
-if { (ac_try="$ac_compile"
6156
-case "(($ac_try" in
6157
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6158
-  *) ac_try_echo=$ac_try;;
6159
-esac
6160
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6161
-  (eval "$ac_compile") 2>conftest.er1
6162
-  ac_status=$?
6163
-  grep -v '^ *+' conftest.er1 >conftest.err
6164
-  rm -f conftest.er1
6165
-  cat conftest.err >&5
6166
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167
-  (exit $ac_status); } && {
6168
-	 test -z "$ac_c_werror_flag" ||
6169
-	 test ! -s conftest.err
6170
-       } && test -s conftest.$ac_objext; then
6171
-  ac_header_compiler=yes
6172
-else
6173
-  echo "$as_me: failed program was:" >&5
6174
-sed 's/^/| /' conftest.$ac_ext >&5
6175
-
6176
-	ac_header_compiler=no
6177
-fi
6178
-
6179
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6181
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6182
-
6183
-# Is the header present?
6184
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6185
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6186
-cat >conftest.$ac_ext <<_ACEOF
6187
-/* confdefs.h.  */
6188
-_ACEOF
6189
-cat confdefs.h >>conftest.$ac_ext
6190
-cat >>conftest.$ac_ext <<_ACEOF
6191
-/* end confdefs.h.  */
6192
-#include <$ac_header>
6193
-_ACEOF
6194
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6195
-case "(($ac_try" in
6196
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6197
-  *) ac_try_echo=$ac_try;;
6198
-esac
6199
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6200
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6201
-  ac_status=$?
6202
-  grep -v '^ *+' conftest.er1 >conftest.err
6203
-  rm -f conftest.er1
6204
-  cat conftest.err >&5
6205
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206
-  (exit $ac_status); } >/dev/null && {
6207
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6208
-	 test ! -s conftest.err
6209
-       }; then
6210
-  ac_header_preproc=yes
6211
-else
6212
-  echo "$as_me: failed program was:" >&5
6213
-sed 's/^/| /' conftest.$ac_ext >&5
6214
-
6215
-  ac_header_preproc=no
6216
-fi
6217
-
6218
-rm -f conftest.err conftest.$ac_ext
6219
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6220
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6221
-
6222
-# So?  What about this header?
6223
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6224
-  yes:no: )
6225
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6226
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6227
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6228
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6229
-    ac_header_preproc=yes
6230
-    ;;
6231
-  no:yes:* )
6232
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6233
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6234
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6235
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6236
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6237
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6238
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6239
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6240
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6241
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6242
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6243
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6244
-
6245
-    ;;
6246
-esac
6247
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6248
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6249
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6250
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6251
-else
6252
-  eval "$as_ac_Header=\$ac_header_preproc"
6253
-fi
6254
-ac_res=`eval echo '${'$as_ac_Header'}'`
6255
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6256
-echo "${ECHO_T}$ac_res" >&6; }
6257
-
6258
-fi
6259
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6260
+do :
6261
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6262
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6263
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6264
   cat >>confdefs.h <<_ACEOF
6265
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6266
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6267
 _ACEOF
6268
 
6269
 fi
6270
 
6271
 done
6272
 
6273
-
6274
 for ac_header in sigaction.h
6275
-do
6276
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6277
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6278
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6279
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6280
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6281
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6282
-fi
6283
-ac_res=`eval echo '${'$as_ac_Header'}'`
6284
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6285
-echo "${ECHO_T}$ac_res" >&6; }
6286
-else
6287
-  # Is the header compilable?
6288
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6289
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6290
-cat >conftest.$ac_ext <<_ACEOF
6291
-/* confdefs.h.  */
6292
-_ACEOF
6293
-cat confdefs.h >>conftest.$ac_ext
6294
-cat >>conftest.$ac_ext <<_ACEOF
6295
-/* end confdefs.h.  */
6296
-$ac_includes_default
6297
-#include <$ac_header>
6298
-_ACEOF
6299
-rm -f conftest.$ac_objext
6300
-if { (ac_try="$ac_compile"
6301
-case "(($ac_try" in
6302
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303
-  *) ac_try_echo=$ac_try;;
6304
-esac
6305
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306
-  (eval "$ac_compile") 2>conftest.er1
6307
-  ac_status=$?
6308
-  grep -v '^ *+' conftest.er1 >conftest.err
6309
-  rm -f conftest.er1
6310
-  cat conftest.err >&5
6311
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312
-  (exit $ac_status); } && {
6313
-	 test -z "$ac_c_werror_flag" ||
6314
-	 test ! -s conftest.err
6315
-       } && test -s conftest.$ac_objext; then
6316
-  ac_header_compiler=yes
6317
-else
6318
-  echo "$as_me: failed program was:" >&5
6319
-sed 's/^/| /' conftest.$ac_ext >&5
6320
-
6321
-	ac_header_compiler=no
6322
-fi
6323
-
6324
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6325
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6326
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6327
-
6328
-# Is the header present?
6329
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6330
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6331
-cat >conftest.$ac_ext <<_ACEOF
6332
-/* confdefs.h.  */
6333
-_ACEOF
6334
-cat confdefs.h >>conftest.$ac_ext
6335
-cat >>conftest.$ac_ext <<_ACEOF
6336
-/* end confdefs.h.  */
6337
-#include <$ac_header>
6338
-_ACEOF
6339
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6340
-case "(($ac_try" in
6341
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6342
-  *) ac_try_echo=$ac_try;;
6343
-esac
6344
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6345
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6346
-  ac_status=$?
6347
-  grep -v '^ *+' conftest.er1 >conftest.err
6348
-  rm -f conftest.er1
6349
-  cat conftest.err >&5
6350
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351
-  (exit $ac_status); } >/dev/null && {
6352
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6353
-	 test ! -s conftest.err
6354
-       }; then
6355
-  ac_header_preproc=yes
6356
-else
6357
-  echo "$as_me: failed program was:" >&5
6358
-sed 's/^/| /' conftest.$ac_ext >&5
6359
-
6360
-  ac_header_preproc=no
6361
-fi
6362
-
6363
-rm -f conftest.err conftest.$ac_ext
6364
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6365
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6366
-
6367
-# So?  What about this header?
6368
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6369
-  yes:no: )
6370
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6371
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6372
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6373
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6374
-    ac_header_preproc=yes
6375
-    ;;
6376
-  no:yes:* )
6377
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6378
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6379
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6380
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6381
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6382
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6383
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6384
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6385
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6386
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6387
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6388
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6389
-
6390
-    ;;
6391
-esac
6392
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6393
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6394
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6395
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6396
-else
6397
-  eval "$as_ac_Header=\$ac_header_preproc"
6398
-fi
6399
-ac_res=`eval echo '${'$as_ac_Header'}'`
6400
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6401
-echo "${ECHO_T}$ac_res" >&6; }
6402
-
6403
-fi
6404
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6405
+do :
6406
+  ac_fn_c_check_header_mongrel "$LINENO" "sigaction.h" "ac_cv_header_sigaction_h" "$ac_includes_default"
6407
+if test "x$ac_cv_header_sigaction_h" = xyes; then :
6408
   cat >>confdefs.h <<_ACEOF
6409
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6410
+#define HAVE_SIGACTION_H 1
6411
 _ACEOF
6412
 
6413
 fi
6414
 
6415
 done
6416
 
6417
-
6418
 for ac_header in arpa/inet.h
6419
-do
6420
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6421
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6422
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6423
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6424
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6425
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6426
-fi
6427
-ac_res=`eval echo '${'$as_ac_Header'}'`
6428
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6429
-echo "${ECHO_T}$ac_res" >&6; }
6430
-else
6431
-  # Is the header compilable?
6432
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6433
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6434
-cat >conftest.$ac_ext <<_ACEOF
6435
-/* confdefs.h.  */
6436
-_ACEOF
6437
-cat confdefs.h >>conftest.$ac_ext
6438
-cat >>conftest.$ac_ext <<_ACEOF
6439
-/* end confdefs.h.  */
6440
-$ac_includes_default
6441
-#include <$ac_header>
6442
-_ACEOF
6443
-rm -f conftest.$ac_objext
6444
-if { (ac_try="$ac_compile"
6445
-case "(($ac_try" in
6446
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6447
-  *) ac_try_echo=$ac_try;;
6448
-esac
6449
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450
-  (eval "$ac_compile") 2>conftest.er1
6451
-  ac_status=$?
6452
-  grep -v '^ *+' conftest.er1 >conftest.err
6453
-  rm -f conftest.er1
6454
-  cat conftest.err >&5
6455
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456
-  (exit $ac_status); } && {
6457
-	 test -z "$ac_c_werror_flag" ||
6458
-	 test ! -s conftest.err
6459
-       } && test -s conftest.$ac_objext; then
6460
-  ac_header_compiler=yes
6461
-else
6462
-  echo "$as_me: failed program was:" >&5
6463
-sed 's/^/| /' conftest.$ac_ext >&5
6464
-
6465
-	ac_header_compiler=no
6466
-fi
6467
-
6468
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6469
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6470
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6471
-
6472
-# Is the header present?
6473
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6474
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6475
-cat >conftest.$ac_ext <<_ACEOF
6476
-/* confdefs.h.  */
6477
-_ACEOF
6478
-cat confdefs.h >>conftest.$ac_ext
6479
-cat >>conftest.$ac_ext <<_ACEOF
6480
-/* end confdefs.h.  */
6481
-#include <$ac_header>
6482
-_ACEOF
6483
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6484
-case "(($ac_try" in
6485
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486
-  *) ac_try_echo=$ac_try;;
6487
-esac
6488
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6490
-  ac_status=$?
6491
-  grep -v '^ *+' conftest.er1 >conftest.err
6492
-  rm -f conftest.er1
6493
-  cat conftest.err >&5
6494
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495
-  (exit $ac_status); } >/dev/null && {
6496
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6497
-	 test ! -s conftest.err
6498
-       }; then
6499
-  ac_header_preproc=yes
6500
-else
6501
-  echo "$as_me: failed program was:" >&5
6502
-sed 's/^/| /' conftest.$ac_ext >&5
6503
-
6504
-  ac_header_preproc=no
6505
-fi
6506
-
6507
-rm -f conftest.err conftest.$ac_ext
6508
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6509
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6510
-
6511
-# So?  What about this header?
6512
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6513
-  yes:no: )
6514
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6515
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6516
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6517
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6518
-    ac_header_preproc=yes
6519
-    ;;
6520
-  no:yes:* )
6521
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6522
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6523
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6524
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6525
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6526
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6527
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6528
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6529
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6530
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6531
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6532
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6533
-
6534
-    ;;
6535
-esac
6536
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6537
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6538
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6539
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6540
-else
6541
-  eval "$as_ac_Header=\$ac_header_preproc"
6542
-fi
6543
-ac_res=`eval echo '${'$as_ac_Header'}'`
6544
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6545
-echo "${ECHO_T}$ac_res" >&6; }
6546
-
6547
-fi
6548
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6549
+do :
6550
+  ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
6551
+if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
6552
   cat >>confdefs.h <<_ACEOF
6553
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554
+#define HAVE_ARPA_INET_H 1
6555
 _ACEOF
6556
 
6557
 fi
6558
 
6559
 done
6560
 
6561
-
6562
-
6563
-
6564
 for ac_header in netinet/in_systm.h netinet/in_system.h netinet/ip.h
6565
-do
6566
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6567
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6568
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6569
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6570
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6571
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6572
-fi
6573
-ac_res=`eval echo '${'$as_ac_Header'}'`
6574
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6575
-echo "${ECHO_T}$ac_res" >&6; }
6576
-else
6577
-  # Is the header compilable?
6578
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6579
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6580
-cat >conftest.$ac_ext <<_ACEOF
6581
-/* confdefs.h.  */
6582
-_ACEOF
6583
-cat confdefs.h >>conftest.$ac_ext
6584
-cat >>conftest.$ac_ext <<_ACEOF
6585
-/* end confdefs.h.  */
6586
-$ac_includes_default
6587
-#include <$ac_header>
6588
-_ACEOF
6589
-rm -f conftest.$ac_objext
6590
-if { (ac_try="$ac_compile"
6591
-case "(($ac_try" in
6592
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6593
-  *) ac_try_echo=$ac_try;;
6594
-esac
6595
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6596
-  (eval "$ac_compile") 2>conftest.er1
6597
-  ac_status=$?
6598
-  grep -v '^ *+' conftest.er1 >conftest.err
6599
-  rm -f conftest.er1
6600
-  cat conftest.err >&5
6601
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602
-  (exit $ac_status); } && {
6603
-	 test -z "$ac_c_werror_flag" ||
6604
-	 test ! -s conftest.err
6605
-       } && test -s conftest.$ac_objext; then
6606
-  ac_header_compiler=yes
6607
-else
6608
-  echo "$as_me: failed program was:" >&5
6609
-sed 's/^/| /' conftest.$ac_ext >&5
6610
-
6611
-	ac_header_compiler=no
6612
-fi
6613
-
6614
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6615
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6616
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6617
-
6618
-# Is the header present?
6619
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6620
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6621
-cat >conftest.$ac_ext <<_ACEOF
6622
-/* confdefs.h.  */
6623
-_ACEOF
6624
-cat confdefs.h >>conftest.$ac_ext
6625
-cat >>conftest.$ac_ext <<_ACEOF
6626
-/* end confdefs.h.  */
6627
-#include <$ac_header>
6628
-_ACEOF
6629
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6630
-case "(($ac_try" in
6631
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6632
-  *) ac_try_echo=$ac_try;;
6633
-esac
6634
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6635
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6636
-  ac_status=$?
6637
-  grep -v '^ *+' conftest.er1 >conftest.err
6638
-  rm -f conftest.er1
6639
-  cat conftest.err >&5
6640
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641
-  (exit $ac_status); } >/dev/null && {
6642
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6643
-	 test ! -s conftest.err
6644
-       }; then
6645
-  ac_header_preproc=yes
6646
-else
6647
-  echo "$as_me: failed program was:" >&5
6648
-sed 's/^/| /' conftest.$ac_ext >&5
6649
-
6650
-  ac_header_preproc=no
6651
-fi
6652
-
6653
-rm -f conftest.err conftest.$ac_ext
6654
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6655
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6656
-
6657
-# So?  What about this header?
6658
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6659
-  yes:no: )
6660
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6661
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6662
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6663
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6664
-    ac_header_preproc=yes
6665
-    ;;
6666
-  no:yes:* )
6667
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6668
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6669
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6670
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6671
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6672
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6673
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6674
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6675
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6676
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6677
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6678
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6679
-
6680
-    ;;
6681
-esac
6682
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6683
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6684
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6685
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6686
-else
6687
-  eval "$as_ac_Header=\$ac_header_preproc"
6688
-fi
6689
-ac_res=`eval echo '${'$as_ac_Header'}'`
6690
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6691
-echo "${ECHO_T}$ac_res" >&6; }
6692
-
6693
-fi
6694
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6695
+do :
6696
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6697
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6698
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6699
   cat >>confdefs.h <<_ACEOF
6700
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6701
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6702
 _ACEOF
6703
 
6704
 fi
6705
 
6706
 done
6707
 
6708
-
6709
-
6710
-
6711
-
6712
 for ac_header in net/if.h netdb.h netinet/in.h netinet/in6_var.h
6713
-do
6714
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6715
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6716
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6717
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6718
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6719
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6720
-fi
6721
-ac_res=`eval echo '${'$as_ac_Header'}'`
6722
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6723
-echo "${ECHO_T}$ac_res" >&6; }
6724
-else
6725
-  # Is the header compilable?
6726
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6727
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6728
-cat >conftest.$ac_ext <<_ACEOF
6729
-/* confdefs.h.  */
6730
-_ACEOF
6731
-cat confdefs.h >>conftest.$ac_ext
6732
-cat >>conftest.$ac_ext <<_ACEOF
6733
-/* end confdefs.h.  */
6734
-$ac_includes_default
6735
-#include <$ac_header>
6736
-_ACEOF
6737
-rm -f conftest.$ac_objext
6738
-if { (ac_try="$ac_compile"
6739
-case "(($ac_try" in
6740
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6741
-  *) ac_try_echo=$ac_try;;
6742
-esac
6743
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6744
-  (eval "$ac_compile") 2>conftest.er1
6745
-  ac_status=$?
6746
-  grep -v '^ *+' conftest.er1 >conftest.err
6747
-  rm -f conftest.er1
6748
-  cat conftest.err >&5
6749
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750
-  (exit $ac_status); } && {
6751
-	 test -z "$ac_c_werror_flag" ||
6752
-	 test ! -s conftest.err
6753
-       } && test -s conftest.$ac_objext; then
6754
-  ac_header_compiler=yes
6755
-else
6756
-  echo "$as_me: failed program was:" >&5
6757
-sed 's/^/| /' conftest.$ac_ext >&5
6758
-
6759
-	ac_header_compiler=no
6760
-fi
6761
-
6762
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6763
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6764
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6765
-
6766
-# Is the header present?
6767
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6768
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6769
-cat >conftest.$ac_ext <<_ACEOF
6770
-/* confdefs.h.  */
6771
-_ACEOF
6772
-cat confdefs.h >>conftest.$ac_ext
6773
-cat >>conftest.$ac_ext <<_ACEOF
6774
-/* end confdefs.h.  */
6775
-#include <$ac_header>
6776
-_ACEOF
6777
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6778
-case "(($ac_try" in
6779
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6780
-  *) ac_try_echo=$ac_try;;
6781
-esac
6782
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6783
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6784
-  ac_status=$?
6785
-  grep -v '^ *+' conftest.er1 >conftest.err
6786
-  rm -f conftest.er1
6787
-  cat conftest.err >&5
6788
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789
-  (exit $ac_status); } >/dev/null && {
6790
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6791
-	 test ! -s conftest.err
6792
-       }; then
6793
-  ac_header_preproc=yes
6794
-else
6795
-  echo "$as_me: failed program was:" >&5
6796
-sed 's/^/| /' conftest.$ac_ext >&5
6797
-
6798
-  ac_header_preproc=no
6799
-fi
6800
-
6801
-rm -f conftest.err conftest.$ac_ext
6802
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6803
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6804
-
6805
-# So?  What about this header?
6806
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6807
-  yes:no: )
6808
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6809
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6810
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6811
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6812
-    ac_header_preproc=yes
6813
-    ;;
6814
-  no:yes:* )
6815
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6816
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6817
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6818
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6819
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6820
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6821
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6822
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6823
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6824
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6825
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6826
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6827
-
6828
-    ;;
6829
-esac
6830
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6831
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6832
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6833
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6834
-else
6835
-  eval "$as_ac_Header=\$ac_header_preproc"
6836
-fi
6837
-ac_res=`eval echo '${'$as_ac_Header'}'`
6838
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6839
-echo "${ECHO_T}$ac_res" >&6; }
6840
-
6841
-fi
6842
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6843
+do :
6844
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6845
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6846
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6847
   cat >>confdefs.h <<_ACEOF
6848
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6849
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6850
 _ACEOF
6851
 
6852
 fi
6853
 
6854
 done
6855
 
6856
-
6857
 for ac_header in ifaddrs.h
6858
-do
6859
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6860
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6861
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6862
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6863
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6864
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6865
-fi
6866
-ac_res=`eval echo '${'$as_ac_Header'}'`
6867
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6868
-echo "${ECHO_T}$ac_res" >&6; }
6869
-else
6870
-  # Is the header compilable?
6871
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6872
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6873
-cat >conftest.$ac_ext <<_ACEOF
6874
-/* confdefs.h.  */
6875
-_ACEOF
6876
-cat confdefs.h >>conftest.$ac_ext
6877
-cat >>conftest.$ac_ext <<_ACEOF
6878
-/* end confdefs.h.  */
6879
-$ac_includes_default
6880
-#include <$ac_header>
6881
-_ACEOF
6882
-rm -f conftest.$ac_objext
6883
-if { (ac_try="$ac_compile"
6884
-case "(($ac_try" in
6885
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6886
-  *) ac_try_echo=$ac_try;;
6887
-esac
6888
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6889
-  (eval "$ac_compile") 2>conftest.er1
6890
-  ac_status=$?
6891
-  grep -v '^ *+' conftest.er1 >conftest.err
6892
-  rm -f conftest.er1
6893
-  cat conftest.err >&5
6894
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895
-  (exit $ac_status); } && {
6896
-	 test -z "$ac_c_werror_flag" ||
6897
-	 test ! -s conftest.err
6898
-       } && test -s conftest.$ac_objext; then
6899
-  ac_header_compiler=yes
6900
-else
6901
-  echo "$as_me: failed program was:" >&5
6902
-sed 's/^/| /' conftest.$ac_ext >&5
6903
-
6904
-	ac_header_compiler=no
6905
-fi
6906
-
6907
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6909
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6910
-
6911
-# Is the header present?
6912
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6913
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6914
-cat >conftest.$ac_ext <<_ACEOF
6915
-/* confdefs.h.  */
6916
-_ACEOF
6917
-cat confdefs.h >>conftest.$ac_ext
6918
-cat >>conftest.$ac_ext <<_ACEOF
6919
-/* end confdefs.h.  */
6920
-#include <$ac_header>
6921
-_ACEOF
6922
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6923
-case "(($ac_try" in
6924
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6925
-  *) ac_try_echo=$ac_try;;
6926
-esac
6927
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6928
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6929
-  ac_status=$?
6930
-  grep -v '^ *+' conftest.er1 >conftest.err
6931
-  rm -f conftest.er1
6932
-  cat conftest.err >&5
6933
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934
-  (exit $ac_status); } >/dev/null && {
6935
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6936
-	 test ! -s conftest.err
6937
-       }; then
6938
-  ac_header_preproc=yes
6939
-else
6940
-  echo "$as_me: failed program was:" >&5
6941
-sed 's/^/| /' conftest.$ac_ext >&5
6942
-
6943
-  ac_header_preproc=no
6944
-fi
6945
-
6946
-rm -f conftest.err conftest.$ac_ext
6947
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6948
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6949
-
6950
-# So?  What about this header?
6951
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6952
-  yes:no: )
6953
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6954
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6955
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6956
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6957
-    ac_header_preproc=yes
6958
-    ;;
6959
-  no:yes:* )
6960
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6961
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6962
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6963
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6964
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6965
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6966
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6967
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6968
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6969
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6970
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6971
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6972
-
6973
-    ;;
6974
-esac
6975
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6976
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6977
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6978
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6979
-else
6980
-  eval "$as_ac_Header=\$ac_header_preproc"
6981
-fi
6982
-ac_res=`eval echo '${'$as_ac_Header'}'`
6983
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6984
-echo "${ECHO_T}$ac_res" >&6; }
6985
-
6986
-fi
6987
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6988
+do :
6989
+  ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
6990
+if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6991
   cat >>confdefs.h <<_ACEOF
6992
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6993
+#define HAVE_IFADDRS_H 1
6994
 _ACEOF
6995
 
6996
 fi
6997
 
6998
 done
6999
 
7000
-
7001
-
7002
 for ac_header in sys/cygwin.h io.h
7003
-do
7004
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7005
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7006
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7007
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7008
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7009
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7010
-fi
7011
-ac_res=`eval echo '${'$as_ac_Header'}'`
7012
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7013
-echo "${ECHO_T}$ac_res" >&6; }
7014
-else
7015
-  # Is the header compilable?
7016
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7017
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7018
-cat >conftest.$ac_ext <<_ACEOF
7019
-/* confdefs.h.  */
7020
-_ACEOF
7021
-cat confdefs.h >>conftest.$ac_ext
7022
-cat >>conftest.$ac_ext <<_ACEOF
7023
-/* end confdefs.h.  */
7024
-$ac_includes_default
7025
-#include <$ac_header>
7026
-_ACEOF
7027
-rm -f conftest.$ac_objext
7028
-if { (ac_try="$ac_compile"
7029
-case "(($ac_try" in
7030
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7031
-  *) ac_try_echo=$ac_try;;
7032
-esac
7033
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7034
-  (eval "$ac_compile") 2>conftest.er1
7035
-  ac_status=$?
7036
-  grep -v '^ *+' conftest.er1 >conftest.err
7037
-  rm -f conftest.er1
7038
-  cat conftest.err >&5
7039
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040
-  (exit $ac_status); } && {
7041
-	 test -z "$ac_c_werror_flag" ||
7042
-	 test ! -s conftest.err
7043
-       } && test -s conftest.$ac_objext; then
7044
-  ac_header_compiler=yes
7045
-else
7046
-  echo "$as_me: failed program was:" >&5
7047
-sed 's/^/| /' conftest.$ac_ext >&5
7048
-
7049
-	ac_header_compiler=no
7050
-fi
7051
-
7052
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7054
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7055
-
7056
-# Is the header present?
7057
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7058
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7059
-cat >conftest.$ac_ext <<_ACEOF
7060
-/* confdefs.h.  */
7061
-_ACEOF
7062
-cat confdefs.h >>conftest.$ac_ext
7063
-cat >>conftest.$ac_ext <<_ACEOF
7064
-/* end confdefs.h.  */
7065
-#include <$ac_header>
7066
-_ACEOF
7067
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7068
-case "(($ac_try" in
7069
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7070
-  *) ac_try_echo=$ac_try;;
7071
-esac
7072
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7073
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7074
-  ac_status=$?
7075
-  grep -v '^ *+' conftest.er1 >conftest.err
7076
-  rm -f conftest.er1
7077
-  cat conftest.err >&5
7078
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079
-  (exit $ac_status); } >/dev/null && {
7080
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7081
-	 test ! -s conftest.err
7082
-       }; then
7083
-  ac_header_preproc=yes
7084
-else
7085
-  echo "$as_me: failed program was:" >&5
7086
-sed 's/^/| /' conftest.$ac_ext >&5
7087
-
7088
-  ac_header_preproc=no
7089
-fi
7090
-
7091
-rm -f conftest.err conftest.$ac_ext
7092
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7093
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7094
-
7095
-# So?  What about this header?
7096
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7097
-  yes:no: )
7098
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7099
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7100
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7101
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7102
-    ac_header_preproc=yes
7103
-    ;;
7104
-  no:yes:* )
7105
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7106
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7107
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7108
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7109
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7110
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7111
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7112
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7113
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7114
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7115
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7116
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7117
-
7118
-    ;;
7119
-esac
7120
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7121
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7122
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7123
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7124
-else
7125
-  eval "$as_ac_Header=\$ac_header_preproc"
7126
-fi
7127
-ac_res=`eval echo '${'$as_ac_Header'}'`
7128
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7129
-echo "${ECHO_T}$ac_res" >&6; }
7130
-
7131
-fi
7132
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7133
+do :
7134
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7135
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7136
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7137
   cat >>confdefs.h <<_ACEOF
7138
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7139
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7140
 _ACEOF
7141
 
7142
 fi
7143
 
7144
 done
7145
 
7146
-
7147
 for ac_header in sys/fmutex.h
7148
-do
7149
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7151
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7152
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7153
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7154
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7155
-fi
7156
-ac_res=`eval echo '${'$as_ac_Header'}'`
7157
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7158
-echo "${ECHO_T}$ac_res" >&6; }
7159
-else
7160
-  # Is the header compilable?
7161
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7162
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7163
-cat >conftest.$ac_ext <<_ACEOF
7164
-/* confdefs.h.  */
7165
-_ACEOF
7166
-cat confdefs.h >>conftest.$ac_ext
7167
-cat >>conftest.$ac_ext <<_ACEOF
7168
-/* end confdefs.h.  */
7169
-$ac_includes_default
7170
-#include <$ac_header>
7171
-_ACEOF
7172
-rm -f conftest.$ac_objext
7173
-if { (ac_try="$ac_compile"
7174
-case "(($ac_try" in
7175
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176
-  *) ac_try_echo=$ac_try;;
7177
-esac
7178
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179
-  (eval "$ac_compile") 2>conftest.er1
7180
-  ac_status=$?
7181
-  grep -v '^ *+' conftest.er1 >conftest.err
7182
-  rm -f conftest.er1
7183
-  cat conftest.err >&5
7184
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185
-  (exit $ac_status); } && {
7186
-	 test -z "$ac_c_werror_flag" ||
7187
-	 test ! -s conftest.err
7188
-       } && test -s conftest.$ac_objext; then
7189
-  ac_header_compiler=yes
7190
-else
7191
-  echo "$as_me: failed program was:" >&5
7192
-sed 's/^/| /' conftest.$ac_ext >&5
7193
-
7194
-	ac_header_compiler=no
7195
-fi
7196
-
7197
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7198
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7199
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7200
-
7201
-# Is the header present?
7202
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7203
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7204
-cat >conftest.$ac_ext <<_ACEOF
7205
-/* confdefs.h.  */
7206
-_ACEOF
7207
-cat confdefs.h >>conftest.$ac_ext
7208
-cat >>conftest.$ac_ext <<_ACEOF
7209
-/* end confdefs.h.  */
7210
-#include <$ac_header>
7211
-_ACEOF
7212
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7213
-case "(($ac_try" in
7214
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7215
-  *) ac_try_echo=$ac_try;;
7216
-esac
7217
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7218
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7219
-  ac_status=$?
7220
-  grep -v '^ *+' conftest.er1 >conftest.err
7221
-  rm -f conftest.er1
7222
-  cat conftest.err >&5
7223
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224
-  (exit $ac_status); } >/dev/null && {
7225
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7226
-	 test ! -s conftest.err
7227
-       }; then
7228
-  ac_header_preproc=yes
7229
-else
7230
-  echo "$as_me: failed program was:" >&5
7231
-sed 's/^/| /' conftest.$ac_ext >&5
7232
-
7233
-  ac_header_preproc=no
7234
-fi
7235
-
7236
-rm -f conftest.err conftest.$ac_ext
7237
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7238
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7239
-
7240
-# So?  What about this header?
7241
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7242
-  yes:no: )
7243
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7244
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7245
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7246
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7247
-    ac_header_preproc=yes
7248
-    ;;
7249
-  no:yes:* )
7250
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7251
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7252
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7253
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7254
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7255
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7256
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7257
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7258
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7259
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7260
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7261
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7262
-
7263
-    ;;
7264
-esac
7265
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7266
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7267
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7268
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7269
-else
7270
-  eval "$as_ac_Header=\$ac_header_preproc"
7271
-fi
7272
-ac_res=`eval echo '${'$as_ac_Header'}'`
7273
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7274
-echo "${ECHO_T}$ac_res" >&6; }
7275
-
7276
-fi
7277
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7278
+do :
7279
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/fmutex.h" "ac_cv_header_sys_fmutex_h" "$ac_includes_default"
7280
+if test "x$ac_cv_header_sys_fmutex_h" = xyes; then :
7281
   cat >>confdefs.h <<_ACEOF
7282
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7283
+#define HAVE_SYS_FMUTEX_H 1
7284
 _ACEOF
7285
 
7286
 fi
7287
 
7288
 done
7289
 
7290
-
7291
-
7292
 for ac_header in sys/ioctl.h sys/sockio.h
7293
-do
7294
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7295
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7296
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7297
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7298
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7299
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7300
-fi
7301
-ac_res=`eval echo '${'$as_ac_Header'}'`
7302
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7303
-echo "${ECHO_T}$ac_res" >&6; }
7304
-else
7305
-  # Is the header compilable?
7306
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7307
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7308
-cat >conftest.$ac_ext <<_ACEOF
7309
-/* confdefs.h.  */
7310
-_ACEOF
7311
-cat confdefs.h >>conftest.$ac_ext
7312
-cat >>conftest.$ac_ext <<_ACEOF
7313
-/* end confdefs.h.  */
7314
-$ac_includes_default
7315
-#include <$ac_header>
7316
-_ACEOF
7317
-rm -f conftest.$ac_objext
7318
-if { (ac_try="$ac_compile"
7319
-case "(($ac_try" in
7320
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7321
-  *) ac_try_echo=$ac_try;;
7322
-esac
7323
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7324
-  (eval "$ac_compile") 2>conftest.er1
7325
-  ac_status=$?
7326
-  grep -v '^ *+' conftest.er1 >conftest.err
7327
-  rm -f conftest.er1
7328
-  cat conftest.err >&5
7329
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330
-  (exit $ac_status); } && {
7331
-	 test -z "$ac_c_werror_flag" ||
7332
-	 test ! -s conftest.err
7333
-       } && test -s conftest.$ac_objext; then
7334
-  ac_header_compiler=yes
7335
-else
7336
-  echo "$as_me: failed program was:" >&5
7337
-sed 's/^/| /' conftest.$ac_ext >&5
7338
-
7339
-	ac_header_compiler=no
7340
-fi
7341
-
7342
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7343
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7344
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7345
-
7346
-# Is the header present?
7347
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7348
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7349
-cat >conftest.$ac_ext <<_ACEOF
7350
-/* confdefs.h.  */
7351
-_ACEOF
7352
-cat confdefs.h >>conftest.$ac_ext
7353
-cat >>conftest.$ac_ext <<_ACEOF
7354
-/* end confdefs.h.  */
7355
-#include <$ac_header>
7356
-_ACEOF
7357
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7358
-case "(($ac_try" in
7359
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7360
-  *) ac_try_echo=$ac_try;;
7361
-esac
7362
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7363
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7364
-  ac_status=$?
7365
-  grep -v '^ *+' conftest.er1 >conftest.err
7366
-  rm -f conftest.er1
7367
-  cat conftest.err >&5
7368
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369
-  (exit $ac_status); } >/dev/null && {
7370
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7371
-	 test ! -s conftest.err
7372
-       }; then
7373
-  ac_header_preproc=yes
7374
-else
7375
-  echo "$as_me: failed program was:" >&5
7376
-sed 's/^/| /' conftest.$ac_ext >&5
7377
-
7378
-  ac_header_preproc=no
7379
-fi
7380
-
7381
-rm -f conftest.err conftest.$ac_ext
7382
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7383
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7384
-
7385
-# So?  What about this header?
7386
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7387
-  yes:no: )
7388
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7389
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7390
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7391
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7392
-    ac_header_preproc=yes
7393
-    ;;
7394
-  no:yes:* )
7395
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7396
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7397
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7398
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7399
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7400
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7401
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7402
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7403
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7404
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7405
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7406
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7407
-
7408
-    ;;
7409
-esac
7410
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7411
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7412
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7413
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7414
-else
7415
-  eval "$as_ac_Header=\$ac_header_preproc"
7416
-fi
7417
-ac_res=`eval echo '${'$as_ac_Header'}'`
7418
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7419
-echo "${ECHO_T}$ac_res" >&6; }
7420
-
7421
-fi
7422
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7423
+do :
7424
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7425
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7426
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7427
   cat >>confdefs.h <<_ACEOF
7428
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7429
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7430
 _ACEOF
7431
 
7432
 fi
7433
 
7434
 done
7435
 
7436
-
7437
 for ac_header in sys/resource.h
7438
-do
7439
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7440
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7441
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7442
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7443
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7444
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7445
-fi
7446
-ac_res=`eval echo '${'$as_ac_Header'}'`
7447
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7448
-echo "${ECHO_T}$ac_res" >&6; }
7449
-else
7450
-  # Is the header compilable?
7451
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7452
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7453
-cat >conftest.$ac_ext <<_ACEOF
7454
-/* confdefs.h.  */
7455
-_ACEOF
7456
-cat confdefs.h >>conftest.$ac_ext
7457
-cat >>conftest.$ac_ext <<_ACEOF
7458
-/* end confdefs.h.  */
7459
-$ac_includes_default
7460
-#include <$ac_header>
7461
-_ACEOF
7462
-rm -f conftest.$ac_objext
7463
-if { (ac_try="$ac_compile"
7464
-case "(($ac_try" in
7465
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7466
-  *) ac_try_echo=$ac_try;;
7467
-esac
7468
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469
-  (eval "$ac_compile") 2>conftest.er1
7470
-  ac_status=$?
7471
-  grep -v '^ *+' conftest.er1 >conftest.err
7472
-  rm -f conftest.er1
7473
-  cat conftest.err >&5
7474
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475
-  (exit $ac_status); } && {
7476
-	 test -z "$ac_c_werror_flag" ||
7477
-	 test ! -s conftest.err
7478
-       } && test -s conftest.$ac_objext; then
7479
-  ac_header_compiler=yes
7480
-else
7481
-  echo "$as_me: failed program was:" >&5
7482
-sed 's/^/| /' conftest.$ac_ext >&5
7483
-
7484
-	ac_header_compiler=no
7485
-fi
7486
-
7487
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7489
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7490
-
7491
-# Is the header present?
7492
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7493
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7494
-cat >conftest.$ac_ext <<_ACEOF
7495
-/* confdefs.h.  */
7496
-_ACEOF
7497
-cat confdefs.h >>conftest.$ac_ext
7498
-cat >>conftest.$ac_ext <<_ACEOF
7499
-/* end confdefs.h.  */
7500
-#include <$ac_header>
7501
-_ACEOF
7502
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7503
-case "(($ac_try" in
7504
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505
-  *) ac_try_echo=$ac_try;;
7506
-esac
7507
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7509
-  ac_status=$?
7510
-  grep -v '^ *+' conftest.er1 >conftest.err
7511
-  rm -f conftest.er1
7512
-  cat conftest.err >&5
7513
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514
-  (exit $ac_status); } >/dev/null && {
7515
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7516
-	 test ! -s conftest.err
7517
-       }; then
7518
-  ac_header_preproc=yes
7519
-else
7520
-  echo "$as_me: failed program was:" >&5
7521
-sed 's/^/| /' conftest.$ac_ext >&5
7522
-
7523
-  ac_header_preproc=no
7524
-fi
7525
-
7526
-rm -f conftest.err conftest.$ac_ext
7527
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7528
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7529
-
7530
-# So?  What about this header?
7531
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7532
-  yes:no: )
7533
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7534
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7535
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7536
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7537
-    ac_header_preproc=yes
7538
-    ;;
7539
-  no:yes:* )
7540
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7541
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7542
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7543
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7544
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7545
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7546
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7547
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7548
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7549
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7550
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7551
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7552
-
7553
-    ;;
7554
-esac
7555
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7556
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7557
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7558
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7559
-else
7560
-  eval "$as_ac_Header=\$ac_header_preproc"
7561
-fi
7562
-ac_res=`eval echo '${'$as_ac_Header'}'`
7563
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7564
-echo "${ECHO_T}$ac_res" >&6; }
7565
-
7566
-fi
7567
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7568
+do :
7569
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
7570
+if test "x$ac_cv_header_sys_resource_h" = xyes; then :
7571
   cat >>confdefs.h <<_ACEOF
7572
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7573
+#define HAVE_SYS_RESOURCE_H 1
7574
 _ACEOF
7575
 
7576
 fi
7577
 
7578
 done
7579
 
7580
-
7581
 for ac_header in sys/select.h
7582
-do
7583
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7584
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7585
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7586
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7587
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7588
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7589
-fi
7590
-ac_res=`eval echo '${'$as_ac_Header'}'`
7591
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7592
-echo "${ECHO_T}$ac_res" >&6; }
7593
-else
7594
-  # Is the header compilable?
7595
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7596
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7597
-cat >conftest.$ac_ext <<_ACEOF
7598
-/* confdefs.h.  */
7599
-_ACEOF
7600
-cat confdefs.h >>conftest.$ac_ext
7601
-cat >>conftest.$ac_ext <<_ACEOF
7602
-/* end confdefs.h.  */
7603
-$ac_includes_default
7604
-#include <$ac_header>
7605
-_ACEOF
7606
-rm -f conftest.$ac_objext
7607
-if { (ac_try="$ac_compile"
7608
-case "(($ac_try" in
7609
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7610
-  *) ac_try_echo=$ac_try;;
7611
-esac
7612
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7613
-  (eval "$ac_compile") 2>conftest.er1
7614
-  ac_status=$?
7615
-  grep -v '^ *+' conftest.er1 >conftest.err
7616
-  rm -f conftest.er1
7617
-  cat conftest.err >&5
7618
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619
-  (exit $ac_status); } && {
7620
-	 test -z "$ac_c_werror_flag" ||
7621
-	 test ! -s conftest.err
7622
-       } && test -s conftest.$ac_objext; then
7623
-  ac_header_compiler=yes
7624
-else
7625
-  echo "$as_me: failed program was:" >&5
7626
-sed 's/^/| /' conftest.$ac_ext >&5
7627
-
7628
-	ac_header_compiler=no
7629
-fi
7630
-
7631
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7632
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7633
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7634
-
7635
-# Is the header present?
7636
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7637
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7638
-cat >conftest.$ac_ext <<_ACEOF
7639
-/* confdefs.h.  */
7640
-_ACEOF
7641
-cat confdefs.h >>conftest.$ac_ext
7642
-cat >>conftest.$ac_ext <<_ACEOF
7643
-/* end confdefs.h.  */
7644
-#include <$ac_header>
7645
-_ACEOF
7646
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7647
-case "(($ac_try" in
7648
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649
-  *) ac_try_echo=$ac_try;;
7650
-esac
7651
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7653
-  ac_status=$?
7654
-  grep -v '^ *+' conftest.er1 >conftest.err
7655
-  rm -f conftest.er1
7656
-  cat conftest.err >&5
7657
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658
-  (exit $ac_status); } >/dev/null && {
7659
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7660
-	 test ! -s conftest.err
7661
-       }; then
7662
-  ac_header_preproc=yes
7663
-else
7664
-  echo "$as_me: failed program was:" >&5
7665
-sed 's/^/| /' conftest.$ac_ext >&5
7666
-
7667
-  ac_header_preproc=no
7668
-fi
7669
-
7670
-rm -f conftest.err conftest.$ac_ext
7671
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7672
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7673
-
7674
-# So?  What about this header?
7675
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7676
-  yes:no: )
7677
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7678
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7679
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7680
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7681
-    ac_header_preproc=yes
7682
-    ;;
7683
-  no:yes:* )
7684
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7685
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7686
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7687
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7688
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7689
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7690
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7691
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7692
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7693
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7694
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7695
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7696
-
7697
-    ;;
7698
-esac
7699
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7700
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7701
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7702
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7703
-else
7704
-  eval "$as_ac_Header=\$ac_header_preproc"
7705
-fi
7706
-ac_res=`eval echo '${'$as_ac_Header'}'`
7707
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7708
-echo "${ECHO_T}$ac_res" >&6; }
7709
-
7710
-fi
7711
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7712
+do :
7713
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
7714
+if test "x$ac_cv_header_sys_select_h" = xyes; then :
7715
   cat >>confdefs.h <<_ACEOF
7716
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7717
+#define HAVE_SYS_SELECT_H 1
7718
 _ACEOF
7719
 
7720
 fi
7721
 
7722
 done
7723
 
7724
-
7725
 for ac_header in sys/signal.h
7726
-do
7727
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7728
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7729
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7730
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7731
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7732
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7733
-fi
7734
-ac_res=`eval echo '${'$as_ac_Header'}'`
7735
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7736
-echo "${ECHO_T}$ac_res" >&6; }
7737
-else
7738
-  # Is the header compilable?
7739
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7740
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7741
-cat >conftest.$ac_ext <<_ACEOF
7742
-/* confdefs.h.  */
7743
-_ACEOF
7744
-cat confdefs.h >>conftest.$ac_ext
7745
-cat >>conftest.$ac_ext <<_ACEOF
7746
-/* end confdefs.h.  */
7747
-$ac_includes_default
7748
-#include <$ac_header>
7749
-_ACEOF
7750
-rm -f conftest.$ac_objext
7751
-if { (ac_try="$ac_compile"
7752
-case "(($ac_try" in
7753
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7754
-  *) ac_try_echo=$ac_try;;
7755
-esac
7756
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757
-  (eval "$ac_compile") 2>conftest.er1
7758
-  ac_status=$?
7759
-  grep -v '^ *+' conftest.er1 >conftest.err
7760
-  rm -f conftest.er1
7761
-  cat conftest.err >&5
7762
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763
-  (exit $ac_status); } && {
7764
-	 test -z "$ac_c_werror_flag" ||
7765
-	 test ! -s conftest.err
7766
-       } && test -s conftest.$ac_objext; then
7767
-  ac_header_compiler=yes
7768
-else
7769
-  echo "$as_me: failed program was:" >&5
7770
-sed 's/^/| /' conftest.$ac_ext >&5
7771
-
7772
-	ac_header_compiler=no
7773
-fi
7774
-
7775
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7776
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7777
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7778
-
7779
-# Is the header present?
7780
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7781
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7782
-cat >conftest.$ac_ext <<_ACEOF
7783
-/* confdefs.h.  */
7784
-_ACEOF
7785
-cat confdefs.h >>conftest.$ac_ext
7786
-cat >>conftest.$ac_ext <<_ACEOF
7787
-/* end confdefs.h.  */
7788
-#include <$ac_header>
7789
-_ACEOF
7790
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7791
-case "(($ac_try" in
7792
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793
-  *) ac_try_echo=$ac_try;;
7794
-esac
7795
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7797
-  ac_status=$?
7798
-  grep -v '^ *+' conftest.er1 >conftest.err
7799
-  rm -f conftest.er1
7800
-  cat conftest.err >&5
7801
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802
-  (exit $ac_status); } >/dev/null && {
7803
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7804
-	 test ! -s conftest.err
7805
-       }; then
7806
-  ac_header_preproc=yes
7807
-else
7808
-  echo "$as_me: failed program was:" >&5
7809
-sed 's/^/| /' conftest.$ac_ext >&5
7810
-
7811
-  ac_header_preproc=no
7812
-fi
7813
-
7814
-rm -f conftest.err conftest.$ac_ext
7815
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7816
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7817
-
7818
-# So?  What about this header?
7819
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7820
-  yes:no: )
7821
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7822
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7823
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7824
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7825
-    ac_header_preproc=yes
7826
-    ;;
7827
-  no:yes:* )
7828
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7829
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7830
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7831
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7832
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7833
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7834
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7835
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7836
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7837
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7838
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7839
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7840
-
7841
-    ;;
7842
-esac
7843
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7844
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7845
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7846
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7847
-else
7848
-  eval "$as_ac_Header=\$ac_header_preproc"
7849
-fi
7850
-ac_res=`eval echo '${'$as_ac_Header'}'`
7851
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7852
-echo "${ECHO_T}$ac_res" >&6; }
7853
-
7854
-fi
7855
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7856
+do :
7857
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
7858
+if test "x$ac_cv_header_sys_signal_h" = xyes; then :
7859
   cat >>confdefs.h <<_ACEOF
7860
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7861
+#define HAVE_SYS_SIGNAL_H 1
7862
 _ACEOF
7863
 
7864
 fi
7865
 
7866
 done
7867
 
7868
-
7869
 for ac_header in sys/socket.h
7870
-do
7871
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7872
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7873
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7874
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7875
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7876
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7877
-fi
7878
-ac_res=`eval echo '${'$as_ac_Header'}'`
7879
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7880
-echo "${ECHO_T}$ac_res" >&6; }
7881
-else
7882
-  # Is the header compilable?
7883
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7884
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7885
-cat >conftest.$ac_ext <<_ACEOF
7886
-/* confdefs.h.  */
7887
-_ACEOF
7888
-cat confdefs.h >>conftest.$ac_ext
7889
-cat >>conftest.$ac_ext <<_ACEOF
7890
-/* end confdefs.h.  */
7891
-$ac_includes_default
7892
-#include <$ac_header>
7893
-_ACEOF
7894
-rm -f conftest.$ac_objext
7895
-if { (ac_try="$ac_compile"
7896
-case "(($ac_try" in
7897
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7898
-  *) ac_try_echo=$ac_try;;
7899
-esac
7900
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7901
-  (eval "$ac_compile") 2>conftest.er1
7902
-  ac_status=$?
7903
-  grep -v '^ *+' conftest.er1 >conftest.err
7904
-  rm -f conftest.er1
7905
-  cat conftest.err >&5
7906
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907
-  (exit $ac_status); } && {
7908
-	 test -z "$ac_c_werror_flag" ||
7909
-	 test ! -s conftest.err
7910
-       } && test -s conftest.$ac_objext; then
7911
-  ac_header_compiler=yes
7912
-else
7913
-  echo "$as_me: failed program was:" >&5
7914
-sed 's/^/| /' conftest.$ac_ext >&5
7915
-
7916
-	ac_header_compiler=no
7917
-fi
7918
-
7919
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7920
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7921
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7922
-
7923
-# Is the header present?
7924
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7925
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7926
-cat >conftest.$ac_ext <<_ACEOF
7927
-/* confdefs.h.  */
7928
-_ACEOF
7929
-cat confdefs.h >>conftest.$ac_ext
7930
-cat >>conftest.$ac_ext <<_ACEOF
7931
-/* end confdefs.h.  */
7932
-#include <$ac_header>
7933
-_ACEOF
7934
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7935
-case "(($ac_try" in
7936
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7937
-  *) ac_try_echo=$ac_try;;
7938
-esac
7939
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7940
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7941
-  ac_status=$?
7942
-  grep -v '^ *+' conftest.er1 >conftest.err
7943
-  rm -f conftest.er1
7944
-  cat conftest.err >&5
7945
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946
-  (exit $ac_status); } >/dev/null && {
7947
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7948
-	 test ! -s conftest.err
7949
-       }; then
7950
-  ac_header_preproc=yes
7951
-else
7952
-  echo "$as_me: failed program was:" >&5
7953
-sed 's/^/| /' conftest.$ac_ext >&5
7954
-
7955
-  ac_header_preproc=no
7956
-fi
7957
-
7958
-rm -f conftest.err conftest.$ac_ext
7959
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7960
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7961
-
7962
-# So?  What about this header?
7963
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7964
-  yes:no: )
7965
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7966
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7967
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7968
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7969
-    ac_header_preproc=yes
7970
-    ;;
7971
-  no:yes:* )
7972
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7973
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7974
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7975
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7976
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7977
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7978
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7979
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7980
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7981
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7982
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7983
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7984
-
7985
-    ;;
7986
-esac
7987
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7988
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7989
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7990
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7991
-else
7992
-  eval "$as_ac_Header=\$ac_header_preproc"
7993
-fi
7994
-ac_res=`eval echo '${'$as_ac_Header'}'`
7995
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7996
-echo "${ECHO_T}$ac_res" >&6; }
7997
-
7998
-fi
7999
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8000
+do :
8001
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8002
+if test "x$ac_cv_header_sys_socket_h" = xyes; then :
8003
   cat >>confdefs.h <<_ACEOF
8004
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005
+#define HAVE_SYS_SOCKET_H 1
8006
 _ACEOF
8007
 
8008
 fi
8009
 
8010
 done
8011
 
8012
-
8013
 for ac_header in sys/time.h
8014
-do
8015
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8016
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8017
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8018
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8019
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8020
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8021
-fi
8022
-ac_res=`eval echo '${'$as_ac_Header'}'`
8023
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8024
-echo "${ECHO_T}$ac_res" >&6; }
8025
-else
8026
-  # Is the header compilable?
8027
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8028
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8029
-cat >conftest.$ac_ext <<_ACEOF
8030
-/* confdefs.h.  */
8031
-_ACEOF
8032
-cat confdefs.h >>conftest.$ac_ext
8033
-cat >>conftest.$ac_ext <<_ACEOF
8034
-/* end confdefs.h.  */
8035
-$ac_includes_default
8036
-#include <$ac_header>
8037
-_ACEOF
8038
-rm -f conftest.$ac_objext
8039
-if { (ac_try="$ac_compile"
8040
-case "(($ac_try" in
8041
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8042
-  *) ac_try_echo=$ac_try;;
8043
-esac
8044
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8045
-  (eval "$ac_compile") 2>conftest.er1
8046
-  ac_status=$?
8047
-  grep -v '^ *+' conftest.er1 >conftest.err
8048
-  rm -f conftest.er1
8049
-  cat conftest.err >&5
8050
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051
-  (exit $ac_status); } && {
8052
-	 test -z "$ac_c_werror_flag" ||
8053
-	 test ! -s conftest.err
8054
-       } && test -s conftest.$ac_objext; then
8055
-  ac_header_compiler=yes
8056
-else
8057
-  echo "$as_me: failed program was:" >&5
8058
-sed 's/^/| /' conftest.$ac_ext >&5
8059
-
8060
-	ac_header_compiler=no
8061
-fi
8062
-
8063
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8064
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8065
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8066
-
8067
-# Is the header present?
8068
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8069
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8070
-cat >conftest.$ac_ext <<_ACEOF
8071
-/* confdefs.h.  */
8072
-_ACEOF
8073
-cat confdefs.h >>conftest.$ac_ext
8074
-cat >>conftest.$ac_ext <<_ACEOF
8075
-/* end confdefs.h.  */
8076
-#include <$ac_header>
8077
-_ACEOF
8078
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8079
-case "(($ac_try" in
8080
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8081
-  *) ac_try_echo=$ac_try;;
8082
-esac
8083
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8084
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8085
-  ac_status=$?
8086
-  grep -v '^ *+' conftest.er1 >conftest.err
8087
-  rm -f conftest.er1
8088
-  cat conftest.err >&5
8089
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090
-  (exit $ac_status); } >/dev/null && {
8091
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8092
-	 test ! -s conftest.err
8093
-       }; then
8094
-  ac_header_preproc=yes
8095
-else
8096
-  echo "$as_me: failed program was:" >&5
8097
-sed 's/^/| /' conftest.$ac_ext >&5
8098
-
8099
-  ac_header_preproc=no
8100
-fi
8101
-
8102
-rm -f conftest.err conftest.$ac_ext
8103
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8104
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8105
-
8106
-# So?  What about this header?
8107
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8108
-  yes:no: )
8109
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8110
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8111
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8112
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8113
-    ac_header_preproc=yes
8114
-    ;;
8115
-  no:yes:* )
8116
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8117
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8118
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8119
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8120
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8121
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8122
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8123
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8124
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8125
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8126
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8127
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8128
-
8129
-    ;;
8130
-esac
8131
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8132
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8133
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8134
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8135
-else
8136
-  eval "$as_ac_Header=\$ac_header_preproc"
8137
-fi
8138
-ac_res=`eval echo '${'$as_ac_Header'}'`
8139
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8140
-echo "${ECHO_T}$ac_res" >&6; }
8141
-
8142
-fi
8143
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8144
+do :
8145
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8146
+if test "x$ac_cv_header_sys_time_h" = xyes; then :
8147
   cat >>confdefs.h <<_ACEOF
8148
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8149
+#define HAVE_SYS_TIME_H 1
8150
 _ACEOF
8151
 
8152
 fi
8153
 
8154
 done
8155
 
8156
-
8157
 for ac_header in sys/utsname.h
8158
-do
8159
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8160
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8161
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8162
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8163
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8164
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8165
-fi
8166
-ac_res=`eval echo '${'$as_ac_Header'}'`
8167
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8168
-echo "${ECHO_T}$ac_res" >&6; }
8169
-else
8170
-  # Is the header compilable?
8171
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8172
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8173
-cat >conftest.$ac_ext <<_ACEOF
8174
-/* confdefs.h.  */
8175
-_ACEOF
8176
-cat confdefs.h >>conftest.$ac_ext
8177
-cat >>conftest.$ac_ext <<_ACEOF
8178
-/* end confdefs.h.  */
8179
-$ac_includes_default
8180
-#include <$ac_header>
8181
-_ACEOF
8182
-rm -f conftest.$ac_objext
8183
-if { (ac_try="$ac_compile"
8184
-case "(($ac_try" in
8185
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186
-  *) ac_try_echo=$ac_try;;
8187
-esac
8188
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189
-  (eval "$ac_compile") 2>conftest.er1
8190
-  ac_status=$?
8191
-  grep -v '^ *+' conftest.er1 >conftest.err
8192
-  rm -f conftest.er1
8193
-  cat conftest.err >&5
8194
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195
-  (exit $ac_status); } && {
8196
-	 test -z "$ac_c_werror_flag" ||
8197
-	 test ! -s conftest.err
8198
-       } && test -s conftest.$ac_objext; then
8199
-  ac_header_compiler=yes
8200
-else
8201
-  echo "$as_me: failed program was:" >&5
8202
-sed 's/^/| /' conftest.$ac_ext >&5
8203
-
8204
-	ac_header_compiler=no
8205
-fi
8206
-
8207
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8208
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8209
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8210
-
8211
-# Is the header present?
8212
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8213
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8214
-cat >conftest.$ac_ext <<_ACEOF
8215
-/* confdefs.h.  */
8216
-_ACEOF
8217
-cat confdefs.h >>conftest.$ac_ext
8218
-cat >>conftest.$ac_ext <<_ACEOF
8219
-/* end confdefs.h.  */
8220
-#include <$ac_header>
8221
-_ACEOF
8222
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8223
-case "(($ac_try" in
8224
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8225
-  *) ac_try_echo=$ac_try;;
8226
-esac
8227
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8228
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8229
-  ac_status=$?
8230
-  grep -v '^ *+' conftest.er1 >conftest.err
8231
-  rm -f conftest.er1
8232
-  cat conftest.err >&5
8233
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234
-  (exit $ac_status); } >/dev/null && {
8235
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8236
-	 test ! -s conftest.err
8237
-       }; then
8238
-  ac_header_preproc=yes
8239
-else
8240
-  echo "$as_me: failed program was:" >&5
8241
-sed 's/^/| /' conftest.$ac_ext >&5
8242
-
8243
-  ac_header_preproc=no
8244
-fi
8245
-
8246
-rm -f conftest.err conftest.$ac_ext
8247
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8248
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8249
-
8250
-# So?  What about this header?
8251
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8252
-  yes:no: )
8253
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8254
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8255
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8256
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8257
-    ac_header_preproc=yes
8258
-    ;;
8259
-  no:yes:* )
8260
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8261
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8262
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8263
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8264
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8265
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8266
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8267
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8268
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8269
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8270
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8271
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8272
-
8273
-    ;;
8274
-esac
8275
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8276
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8277
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8278
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8279
-else
8280
-  eval "$as_ac_Header=\$ac_header_preproc"
8281
-fi
8282
-ac_res=`eval echo '${'$as_ac_Header'}'`
8283
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8284
-echo "${ECHO_T}$ac_res" >&6; }
8285
-
8286
-fi
8287
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8288
+do :
8289
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8290
+if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
8291
   cat >>confdefs.h <<_ACEOF
8292
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8293
+#define HAVE_SYS_UTSNAME_H 1
8294
 _ACEOF
8295
 
8296
 fi
8297
 
8298
 done
8299
 
8300
-
8301
-
8302
 for ac_header in stdint.h inttypes.h
8303
-do
8304
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8305
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8306
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8307
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8308
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8309
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8310
-fi
8311
-ac_res=`eval echo '${'$as_ac_Header'}'`
8312
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8313
-echo "${ECHO_T}$ac_res" >&6; }
8314
-else
8315
-  # Is the header compilable?
8316
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8317
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8318
-cat >conftest.$ac_ext <<_ACEOF
8319
-/* confdefs.h.  */
8320
-_ACEOF
8321
-cat confdefs.h >>conftest.$ac_ext
8322
-cat >>conftest.$ac_ext <<_ACEOF
8323
-/* end confdefs.h.  */
8324
-$ac_includes_default
8325
-#include <$ac_header>
8326
-_ACEOF
8327
-rm -f conftest.$ac_objext
8328
-if { (ac_try="$ac_compile"
8329
-case "(($ac_try" in
8330
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8331
-  *) ac_try_echo=$ac_try;;
8332
-esac
8333
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8334
-  (eval "$ac_compile") 2>conftest.er1
8335
-  ac_status=$?
8336
-  grep -v '^ *+' conftest.er1 >conftest.err
8337
-  rm -f conftest.er1
8338
-  cat conftest.err >&5
8339
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340
-  (exit $ac_status); } && {
8341
-	 test -z "$ac_c_werror_flag" ||
8342
-	 test ! -s conftest.err
8343
-       } && test -s conftest.$ac_objext; then
8344
-  ac_header_compiler=yes
8345
-else
8346
-  echo "$as_me: failed program was:" >&5
8347
-sed 's/^/| /' conftest.$ac_ext >&5
8348
-
8349
-	ac_header_compiler=no
8350
-fi
8351
-
8352
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8353
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8354
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8355
-
8356
-# Is the header present?
8357
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8358
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8359
-cat >conftest.$ac_ext <<_ACEOF
8360
-/* confdefs.h.  */
8361
-_ACEOF
8362
-cat confdefs.h >>conftest.$ac_ext
8363
-cat >>conftest.$ac_ext <<_ACEOF
8364
-/* end confdefs.h.  */
8365
-#include <$ac_header>
8366
-_ACEOF
8367
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8368
-case "(($ac_try" in
8369
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370
-  *) ac_try_echo=$ac_try;;
8371
-esac
8372
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8374
-  ac_status=$?
8375
-  grep -v '^ *+' conftest.er1 >conftest.err
8376
-  rm -f conftest.er1
8377
-  cat conftest.err >&5
8378
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379
-  (exit $ac_status); } >/dev/null && {
8380
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8381
-	 test ! -s conftest.err
8382
-       }; then
8383
-  ac_header_preproc=yes
8384
-else
8385
-  echo "$as_me: failed program was:" >&5
8386
-sed 's/^/| /' conftest.$ac_ext >&5
8387
-
8388
-  ac_header_preproc=no
8389
-fi
8390
-
8391
-rm -f conftest.err conftest.$ac_ext
8392
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8393
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8394
-
8395
-# So?  What about this header?
8396
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8397
-  yes:no: )
8398
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8399
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8400
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8401
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8402
-    ac_header_preproc=yes
8403
-    ;;
8404
-  no:yes:* )
8405
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8406
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8407
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8408
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8409
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8410
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8411
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8412
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8413
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8414
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8415
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8416
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8417
-
8418
-    ;;
8419
-esac
8420
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8421
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8422
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8423
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8424
-else
8425
-  eval "$as_ac_Header=\$ac_header_preproc"
8426
-fi
8427
-ac_res=`eval echo '${'$as_ac_Header'}'`
8428
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8429
-echo "${ECHO_T}$ac_res" >&6; }
8430
-
8431
-fi
8432
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8433
+do :
8434
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8435
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8436
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8437
   cat >>confdefs.h <<_ACEOF
8438
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8439
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8440
 _ACEOF
8441
 
8442
 fi
8443
 
8444
 done
8445
 
8446
-
8447
-
8448
 for ac_header in locale.h pwd.h
8449
-do
8450
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8451
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8452
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8453
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8454
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8455
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8456
-fi
8457
-ac_res=`eval echo '${'$as_ac_Header'}'`
8458
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8459
-echo "${ECHO_T}$ac_res" >&6; }
8460
-else
8461
-  # Is the header compilable?
8462
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8463
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8464
-cat >conftest.$ac_ext <<_ACEOF
8465
-/* confdefs.h.  */
8466
-_ACEOF
8467
-cat confdefs.h >>conftest.$ac_ext
8468
-cat >>conftest.$ac_ext <<_ACEOF
8469
-/* end confdefs.h.  */
8470
-$ac_includes_default
8471
-#include <$ac_header>
8472
-_ACEOF
8473
-rm -f conftest.$ac_objext
8474
-if { (ac_try="$ac_compile"
8475
-case "(($ac_try" in
8476
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477
-  *) ac_try_echo=$ac_try;;
8478
-esac
8479
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8480
-  (eval "$ac_compile") 2>conftest.er1
8481
-  ac_status=$?
8482
-  grep -v '^ *+' conftest.er1 >conftest.err
8483
-  rm -f conftest.er1
8484
-  cat conftest.err >&5
8485
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486
-  (exit $ac_status); } && {
8487
-	 test -z "$ac_c_werror_flag" ||
8488
-	 test ! -s conftest.err
8489
-       } && test -s conftest.$ac_objext; then
8490
-  ac_header_compiler=yes
8491
-else
8492
-  echo "$as_me: failed program was:" >&5
8493
-sed 's/^/| /' conftest.$ac_ext >&5
8494
-
8495
-	ac_header_compiler=no
8496
-fi
8497
-
8498
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8499
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8500
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8501
-
8502
-# Is the header present?
8503
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8504
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8505
-cat >conftest.$ac_ext <<_ACEOF
8506
-/* confdefs.h.  */
8507
-_ACEOF
8508
-cat confdefs.h >>conftest.$ac_ext
8509
-cat >>conftest.$ac_ext <<_ACEOF
8510
-/* end confdefs.h.  */
8511
-#include <$ac_header>
8512
-_ACEOF
8513
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8514
-case "(($ac_try" in
8515
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8516
-  *) ac_try_echo=$ac_try;;
8517
-esac
8518
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8520
-  ac_status=$?
8521
-  grep -v '^ *+' conftest.er1 >conftest.err
8522
-  rm -f conftest.er1
8523
-  cat conftest.err >&5
8524
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525
-  (exit $ac_status); } >/dev/null && {
8526
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8527
-	 test ! -s conftest.err
8528
-       }; then
8529
-  ac_header_preproc=yes
8530
-else
8531
-  echo "$as_me: failed program was:" >&5
8532
-sed 's/^/| /' conftest.$ac_ext >&5
8533
-
8534
-  ac_header_preproc=no
8535
-fi
8536
-
8537
-rm -f conftest.err conftest.$ac_ext
8538
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8539
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8540
-
8541
-# So?  What about this header?
8542
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8543
-  yes:no: )
8544
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8545
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8546
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8547
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8548
-    ac_header_preproc=yes
8549
-    ;;
8550
-  no:yes:* )
8551
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8552
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8553
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8554
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8555
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8556
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8557
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8558
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8559
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8560
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8561
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8562
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8563
-
8564
-    ;;
8565
-esac
8566
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8567
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8568
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8569
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8570
-else
8571
-  eval "$as_ac_Header=\$ac_header_preproc"
8572
-fi
8573
-ac_res=`eval echo '${'$as_ac_Header'}'`
8574
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8575
-echo "${ECHO_T}$ac_res" >&6; }
8576
-
8577
-fi
8578
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8579
+do :
8580
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8581
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8582
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8583
   cat >>confdefs.h <<_ACEOF
8584
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8585
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8586
 _ACEOF
8587
 
8588
 fi
8589
 
8590
 done
8591
 
8592
-
8593
 for ac_header in termios.h
8594
-do
8595
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8596
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8597
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8598
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8599
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8600
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8601
-fi
8602
-ac_res=`eval echo '${'$as_ac_Header'}'`
8603
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8604
-echo "${ECHO_T}$ac_res" >&6; }
8605
-else
8606
-  # Is the header compilable?
8607
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8608
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8609
-cat >conftest.$ac_ext <<_ACEOF
8610
-/* confdefs.h.  */
8611
-_ACEOF
8612
-cat confdefs.h >>conftest.$ac_ext
8613
-cat >>conftest.$ac_ext <<_ACEOF
8614
-/* end confdefs.h.  */
8615
-$ac_includes_default
8616
-#include <$ac_header>
8617
-_ACEOF
8618
-rm -f conftest.$ac_objext
8619
-if { (ac_try="$ac_compile"
8620
-case "(($ac_try" in
8621
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8622
-  *) ac_try_echo=$ac_try;;
8623
-esac
8624
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8625
-  (eval "$ac_compile") 2>conftest.er1
8626
-  ac_status=$?
8627
-  grep -v '^ *+' conftest.er1 >conftest.err
8628
-  rm -f conftest.er1
8629
-  cat conftest.err >&5
8630
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631
-  (exit $ac_status); } && {
8632
-	 test -z "$ac_c_werror_flag" ||
8633
-	 test ! -s conftest.err
8634
-       } && test -s conftest.$ac_objext; then
8635
-  ac_header_compiler=yes
8636
-else
8637
-  echo "$as_me: failed program was:" >&5
8638
-sed 's/^/| /' conftest.$ac_ext >&5
8639
-
8640
-	ac_header_compiler=no
8641
-fi
8642
-
8643
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8644
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8645
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8646
-
8647
-# Is the header present?
8648
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8649
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8650
-cat >conftest.$ac_ext <<_ACEOF
8651
-/* confdefs.h.  */
8652
-_ACEOF
8653
-cat confdefs.h >>conftest.$ac_ext
8654
-cat >>conftest.$ac_ext <<_ACEOF
8655
-/* end confdefs.h.  */
8656
-#include <$ac_header>
8657
-_ACEOF
8658
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8659
-case "(($ac_try" in
8660
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661
-  *) ac_try_echo=$ac_try;;
8662
-esac
8663
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8665
-  ac_status=$?
8666
-  grep -v '^ *+' conftest.er1 >conftest.err
8667
-  rm -f conftest.er1
8668
-  cat conftest.err >&5
8669
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670
-  (exit $ac_status); } >/dev/null && {
8671
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8672
-	 test ! -s conftest.err
8673
-       }; then
8674
-  ac_header_preproc=yes
8675
-else
8676
-  echo "$as_me: failed program was:" >&5
8677
-sed 's/^/| /' conftest.$ac_ext >&5
8678
-
8679
-  ac_header_preproc=no
8680
-fi
8681
-
8682
-rm -f conftest.err conftest.$ac_ext
8683
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8684
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8685
-
8686
-# So?  What about this header?
8687
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8688
-  yes:no: )
8689
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8690
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8691
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8692
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8693
-    ac_header_preproc=yes
8694
-    ;;
8695
-  no:yes:* )
8696
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8697
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8698
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8699
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8700
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8701
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8702
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8703
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8704
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8705
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8706
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8707
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8708
-
8709
-    ;;
8710
-esac
8711
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8712
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8713
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8714
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8715
-else
8716
-  eval "$as_ac_Header=\$ac_header_preproc"
8717
-fi
8718
-ac_res=`eval echo '${'$as_ac_Header'}'`
8719
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8720
-echo "${ECHO_T}$ac_res" >&6; }
8721
-
8722
-fi
8723
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8724
+do :
8725
+  ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8726
+if test "x$ac_cv_header_termios_h" = xyes; then :
8727
   cat >>confdefs.h <<_ACEOF
8728
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8729
+#define HAVE_TERMIOS_H 1
8730
 _ACEOF
8731
 
8732
 fi
8733
@@ -7706,149 +5465,19 @@ done
8734
 
8735
 
8736
 
8737
-
8738
 for ac_header in sys/un.h
8739
-do
8740
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8741
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8742
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8743
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8744
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8745
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8746
-fi
8747
-ac_res=`eval echo '${'$as_ac_Header'}'`
8748
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8749
-echo "${ECHO_T}$ac_res" >&6; }
8750
-else
8751
-  # Is the header compilable?
8752
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8753
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8754
-cat >conftest.$ac_ext <<_ACEOF
8755
-/* confdefs.h.  */
8756
-_ACEOF
8757
-cat confdefs.h >>conftest.$ac_ext
8758
-cat >>conftest.$ac_ext <<_ACEOF
8759
-/* end confdefs.h.  */
8760
-$ac_includes_default
8761
-#include <$ac_header>
8762
-_ACEOF
8763
-rm -f conftest.$ac_objext
8764
-if { (ac_try="$ac_compile"
8765
-case "(($ac_try" in
8766
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8767
-  *) ac_try_echo=$ac_try;;
8768
-esac
8769
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8770
-  (eval "$ac_compile") 2>conftest.er1
8771
-  ac_status=$?
8772
-  grep -v '^ *+' conftest.er1 >conftest.err
8773
-  rm -f conftest.er1
8774
-  cat conftest.err >&5
8775
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776
-  (exit $ac_status); } && {
8777
-	 test -z "$ac_c_werror_flag" ||
8778
-	 test ! -s conftest.err
8779
-       } && test -s conftest.$ac_objext; then
8780
-  ac_header_compiler=yes
8781
-else
8782
-  echo "$as_me: failed program was:" >&5
8783
-sed 's/^/| /' conftest.$ac_ext >&5
8784
-
8785
-	ac_header_compiler=no
8786
-fi
8787
-
8788
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8789
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8790
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8791
-
8792
-# Is the header present?
8793
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8794
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8795
-cat >conftest.$ac_ext <<_ACEOF
8796
-/* confdefs.h.  */
8797
-_ACEOF
8798
-cat confdefs.h >>conftest.$ac_ext
8799
-cat >>conftest.$ac_ext <<_ACEOF
8800
-/* end confdefs.h.  */
8801
-#include <$ac_header>
8802
-_ACEOF
8803
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8804
-case "(($ac_try" in
8805
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8806
-  *) ac_try_echo=$ac_try;;
8807
-esac
8808
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8809
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8810
-  ac_status=$?
8811
-  grep -v '^ *+' conftest.er1 >conftest.err
8812
-  rm -f conftest.er1
8813
-  cat conftest.err >&5
8814
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815
-  (exit $ac_status); } >/dev/null && {
8816
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8817
-	 test ! -s conftest.err
8818
-       }; then
8819
-  ac_header_preproc=yes
8820
-else
8821
-  echo "$as_me: failed program was:" >&5
8822
-sed 's/^/| /' conftest.$ac_ext >&5
8823
-
8824
-  ac_header_preproc=no
8825
-fi
8826
-
8827
-rm -f conftest.err conftest.$ac_ext
8828
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8829
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8830
-
8831
-# So?  What about this header?
8832
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8833
-  yes:no: )
8834
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8835
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8836
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8837
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8838
-    ac_header_preproc=yes
8839
-    ;;
8840
-  no:yes:* )
8841
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8842
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8843
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8844
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8845
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8846
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8847
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8848
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8849
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8850
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8851
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8852
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8853
-
8854
-    ;;
8855
-esac
8856
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8857
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8858
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8859
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8860
-else
8861
-  eval "$as_ac_Header=\$ac_header_preproc"
8862
-fi
8863
-ac_res=`eval echo '${'$as_ac_Header'}'`
8864
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8865
-echo "${ECHO_T}$ac_res" >&6; }
8866
-
8867
-fi
8868
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8869
+do :
8870
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
8871
+if test "x$ac_cv_header_sys_un_h" = xyes; then :
8872
   cat >>confdefs.h <<_ACEOF
8873
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8874
+#define HAVE_SYS_UN_H 1
8875
 _ACEOF
8876
  CONFIG_INTERLINK=yes
8877
 
8878
 	  CONFIG_INTERLINK=yes
8879
 	  ABOUT_CONFIG_INTERLINK="interlinking"
8880
 
8881
-cat >>confdefs.h <<\_ACEOF
8882
-#define CONFIG_INTERLINK 1
8883
-_ACEOF
8884
+$as_echo "#define CONFIG_INTERLINK 1" >>confdefs.h
8885
 
8886
 else
8887
   CONFIG_INTERLINK=no
8888
@@ -7859,16 +5488,12 @@ done
8889
 
8890
 
8891
 
8892
-{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8893
-echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
8894
-if test "${ac_cv_struct_tm+set}" = set; then
8895
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8896
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8897
+$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8898
+if ${ac_cv_struct_tm+:} false; then :
8899
+  $as_echo_n "(cached) " >&6
8900
 else
8901
-  cat >conftest.$ac_ext <<_ACEOF
8902
-/* confdefs.h.  */
8903
-_ACEOF
8904
-cat confdefs.h >>conftest.$ac_ext
8905
-cat >>conftest.$ac_ext <<_ACEOF
8906
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907
 /* end confdefs.h.  */
8908
 #include <sys/types.h>
8909
 #include <time.h>
8910
@@ -7878,68 +5503,42 @@ main ()
8911
 {
8912
 struct tm tm;
8913
 				     int *p = &tm.tm_sec;
8914
- 				     return !p;
8915
+				     return !p;
8916
   ;
8917
   return 0;
8918
 }
8919
 _ACEOF
8920
-rm -f conftest.$ac_objext
8921
-if { (ac_try="$ac_compile"
8922
-case "(($ac_try" in
8923
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8924
-  *) ac_try_echo=$ac_try;;
8925
-esac
8926
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8927
-  (eval "$ac_compile") 2>conftest.er1
8928
-  ac_status=$?
8929
-  grep -v '^ *+' conftest.er1 >conftest.err
8930
-  rm -f conftest.er1
8931
-  cat conftest.err >&5
8932
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933
-  (exit $ac_status); } && {
8934
-	 test -z "$ac_c_werror_flag" ||
8935
-	 test ! -s conftest.err
8936
-       } && test -s conftest.$ac_objext; then
8937
+if ac_fn_c_try_compile "$LINENO"; then :
8938
   ac_cv_struct_tm=time.h
8939
 else
8940
-  echo "$as_me: failed program was:" >&5
8941
-sed 's/^/| /' conftest.$ac_ext >&5
8942
-
8943
-	ac_cv_struct_tm=sys/time.h
8944
+  ac_cv_struct_tm=sys/time.h
8945
 fi
8946
-
8947
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8948
 fi
8949
-{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8950
-echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
8951
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
8952
+$as_echo "$ac_cv_struct_tm" >&6; }
8953
 if test $ac_cv_struct_tm = sys/time.h; then
8954
 
8955
-cat >>confdefs.h <<\_ACEOF
8956
-#define TM_IN_SYS_TIME 1
8957
-_ACEOF
8958
+$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
8959
 
8960
 fi
8961
 
8962
-{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8963
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8964
-if test "${ac_cv_c_const+set}" = set; then
8965
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8966
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8967
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8968
+if ${ac_cv_c_const+:} false; then :
8969
+  $as_echo_n "(cached) " >&6
8970
 else
8971
-  cat >conftest.$ac_ext <<_ACEOF
8972
-/* confdefs.h.  */
8973
-_ACEOF
8974
-cat confdefs.h >>conftest.$ac_ext
8975
-cat >>conftest.$ac_ext <<_ACEOF
8976
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977
 /* end confdefs.h.  */
8978
 
8979
 int
8980
 main ()
8981
 {
8982
-/* FIXME: Include the comments suggested by Paul. */
8983
+
8984
 #ifndef __cplusplus
8985
-  /* Ultrix mips cc rejects this.  */
8986
+  /* Ultrix mips cc rejects this sort of thing.  */
8987
   typedef int charset[2];
8988
-  const charset cs;
8989
+  const charset cs = { 0, 0 };
8990
   /* SunOS 4.1.1 cc rejects this.  */
8991
   char const *const *pcpcc;
8992
   char **ppc;
8993
@@ -7956,8 +5555,9 @@ main ()
8994
   ++pcpcc;
8995
   ppc = (char**) pcpcc;
8996
   pcpcc = (char const *const *) ppc;
8997
-  { /* SCO 3.2v4 cc rejects this.  */
8998
-    char *t;
8999
+  { /* SCO 3.2v4 cc rejects this sort of thing.  */
9000
+    char tx;
9001
+    char *t = &tx;
9002
     char const *s = 0 ? (char *) 0 : (char const *) 0;
9003
 
9004
     *t++ = 0;
9005
@@ -7973,10 +5573,10 @@ main ()
9006
     iptr p = 0;
9007
     ++p;
9008
   }
9009
-  { /* AIX XL C 1.02.0.0 rejects this saying
9010
+  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
9011
        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9012
-    struct s { int j; const int *ap[3]; };
9013
-    struct s *b; b->j = 5;
9014
+    struct s { int j; const int *ap[3]; } bx;
9015
+    struct s *b = &bx; b->j = 5;
9016
   }
9017
   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9018
     const int foo = 10;
9019
@@ -7989,55 +5589,29 @@ main ()
9020
   return 0;
9021
 }
9022
 _ACEOF
9023
-rm -f conftest.$ac_objext
9024
-if { (ac_try="$ac_compile"
9025
-case "(($ac_try" in
9026
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9027
-  *) ac_try_echo=$ac_try;;
9028
-esac
9029
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9030
-  (eval "$ac_compile") 2>conftest.er1
9031
-  ac_status=$?
9032
-  grep -v '^ *+' conftest.er1 >conftest.err
9033
-  rm -f conftest.er1
9034
-  cat conftest.err >&5
9035
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036
-  (exit $ac_status); } && {
9037
-	 test -z "$ac_c_werror_flag" ||
9038
-	 test ! -s conftest.err
9039
-       } && test -s conftest.$ac_objext; then
9040
+if ac_fn_c_try_compile "$LINENO"; then :
9041
   ac_cv_c_const=yes
9042
 else
9043
-  echo "$as_me: failed program was:" >&5
9044
-sed 's/^/| /' conftest.$ac_ext >&5
9045
-
9046
-	ac_cv_c_const=no
9047
+  ac_cv_c_const=no
9048
 fi
9049
-
9050
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9051
 fi
9052
-{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9053
-echo "${ECHO_T}$ac_cv_c_const" >&6; }
9054
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9055
+$as_echo "$ac_cv_c_const" >&6; }
9056
 if test $ac_cv_c_const = no; then
9057
 
9058
-cat >>confdefs.h <<\_ACEOF
9059
-#define const
9060
-_ACEOF
9061
+$as_echo "#define const /**/" >>confdefs.h
9062
 
9063
 fi
9064
 
9065
-{ echo "$as_me:$LINENO: checking for inline" >&5
9066
-echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
9067
-if test "${ac_cv_c_inline+set}" = set; then
9068
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9069
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9070
+$as_echo_n "checking for inline... " >&6; }
9071
+if ${ac_cv_c_inline+:} false; then :
9072
+  $as_echo_n "(cached) " >&6
9073
 else
9074
   ac_cv_c_inline=no
9075
 for ac_kw in inline __inline__ __inline; do
9076
-  cat >conftest.$ac_ext <<_ACEOF
9077
-/* confdefs.h.  */
9078
-_ACEOF
9079
-cat confdefs.h >>conftest.$ac_ext
9080
-cat >>conftest.$ac_ext <<_ACEOF
9081
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082
 /* end confdefs.h.  */
9083
 #ifndef __cplusplus
9084
 typedef int foo_t;
9085
@@ -8046,39 +5620,16 @@ $ac_kw foo_t foo () {return 0; }
9086
 #endif
9087
 
9088
 _ACEOF
9089
-rm -f conftest.$ac_objext
9090
-if { (ac_try="$ac_compile"
9091
-case "(($ac_try" in
9092
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9093
-  *) ac_try_echo=$ac_try;;
9094
-esac
9095
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9096
-  (eval "$ac_compile") 2>conftest.er1
9097
-  ac_status=$?
9098
-  grep -v '^ *+' conftest.er1 >conftest.err
9099
-  rm -f conftest.er1
9100
-  cat conftest.err >&5
9101
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102
-  (exit $ac_status); } && {
9103
-	 test -z "$ac_c_werror_flag" ||
9104
-	 test ! -s conftest.err
9105
-       } && test -s conftest.$ac_objext; then
9106
+if ac_fn_c_try_compile "$LINENO"; then :
9107
   ac_cv_c_inline=$ac_kw
9108
-else
9109
-  echo "$as_me: failed program was:" >&5
9110
-sed 's/^/| /' conftest.$ac_ext >&5
9111
-
9112
-
9113
 fi
9114
-
9115
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9116
   test "$ac_cv_c_inline" != no && break
9117
 done
9118
 
9119
 fi
9120
-{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
9121
-echo "${ECHO_T}$ac_cv_c_inline" >&6; }
9122
-
9123
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9124
+$as_echo "$ac_cv_c_inline" >&6; }
9125
 
9126
 case $ac_cv_c_inline in
9127
   inline | yes) ;;
9128
@@ -8097,13 +5648,9 @@ esac
9129
 
9130
 
9131
 	HAVE_TYPEOF=yes;
9132
-	{ echo "$as_me:$LINENO: checking for typeof" >&5
9133
-echo $ECHO_N "checking for typeof... $ECHO_C" >&6; }
9134
-	cat >conftest.$ac_ext <<_ACEOF
9135
-/* confdefs.h.  */
9136
-_ACEOF
9137
-cat confdefs.h >>conftest.$ac_ext
9138
-cat >>conftest.$ac_ext <<_ACEOF
9139
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof" >&5
9140
+$as_echo_n "checking for typeof... " >&6; }
9141
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142
 /* end confdefs.h.  */
9143
 
9144
 int
9145
@@ -8114,51 +5661,29 @@ int a; typeof(a) b;
9146
   return 0;
9147
 }
9148
 _ACEOF
9149
-rm -f conftest.$ac_objext
9150
-if { (ac_try="$ac_compile"
9151
-case "(($ac_try" in
9152
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9153
-  *) ac_try_echo=$ac_try;;
9154
-esac
9155
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156
-  (eval "$ac_compile") 2>conftest.er1
9157
-  ac_status=$?
9158
-  grep -v '^ *+' conftest.er1 >conftest.err
9159
-  rm -f conftest.er1
9160
-  cat conftest.err >&5
9161
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162
-  (exit $ac_status); } && {
9163
-	 test -z "$ac_c_werror_flag" ||
9164
-	 test ! -s conftest.err
9165
-       } && test -s conftest.$ac_objext; then
9166
+if ac_fn_c_try_compile "$LINENO"; then :
9167
 
9168
-cat >>confdefs.h <<\_ACEOF
9169
-#define HAVE_TYPEOF 1
9170
-_ACEOF
9171
+$as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
9172
 
9173
 else
9174
-  echo "$as_me: failed program was:" >&5
9175
-sed 's/^/| /' conftest.$ac_ext >&5
9176
-
9177
-	HAVE_TYPEOF=no
9178
+  HAVE_TYPEOF=no
9179
 fi
9180
-
9181
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9182
-	{ echo "$as_me:$LINENO: result: $HAVE_TYPEOF" >&5
9183
-echo "${ECHO_T}$HAVE_TYPEOF" >&6; }
9184
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_TYPEOF" >&5
9185
+$as_echo "$HAVE_TYPEOF" >&6; }
9186
 
9187
 
9188
 # Check whether --enable-largefile was given.
9189
-if test "${enable_largefile+set}" = set; then
9190
+if test "${enable_largefile+set}" = set; then :
9191
   enableval=$enable_largefile;
9192
 fi
9193
 
9194
 if test "$enable_largefile" != no; then
9195
 
9196
-  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
9197
-echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
9198
-if test "${ac_cv_sys_largefile_CC+set}" = set; then
9199
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9200
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
9201
+$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
9202
+if ${ac_cv_sys_largefile_CC+:} false; then :
9203
+  $as_echo_n "(cached) " >&6
9204
 else
9205
   ac_cv_sys_largefile_CC=no
9206
      if test "$GCC" != yes; then
9207
@@ -8166,11 +5691,7 @@ else
9208
        while :; do
9209
 	 # IRIX 6.2 and later do not support large files by default,
9210
 	 # so use the C compiler's -n32 option if that helps.
9211
-	 cat >conftest.$ac_ext <<_ACEOF
9212
-/* confdefs.h.  */
9213
-_ACEOF
9214
-cat confdefs.h >>conftest.$ac_ext
9215
-cat >>conftest.$ac_ext <<_ACEOF
9216
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217
 /* end confdefs.h.  */
9218
 #include <sys/types.h>
9219
  /* Check that off_t can represent 2**63 - 1 correctly.
9220
@@ -8189,58 +5710,14 @@ main ()
9221
   return 0;
9222
 }
9223
 _ACEOF
9224
-	 rm -f conftest.$ac_objext
9225
-if { (ac_try="$ac_compile"
9226
-case "(($ac_try" in
9227
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9228
-  *) ac_try_echo=$ac_try;;
9229
-esac
9230
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231
-  (eval "$ac_compile") 2>conftest.er1
9232
-  ac_status=$?
9233
-  grep -v '^ *+' conftest.er1 >conftest.err
9234
-  rm -f conftest.er1
9235
-  cat conftest.err >&5
9236
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237
-  (exit $ac_status); } && {
9238
-	 test -z "$ac_c_werror_flag" ||
9239
-	 test ! -s conftest.err
9240
-       } && test -s conftest.$ac_objext; then
9241
+	 if ac_fn_c_try_compile "$LINENO"; then :
9242
   break
9243
-else
9244
-  echo "$as_me: failed program was:" >&5
9245
-sed 's/^/| /' conftest.$ac_ext >&5
9246
-
9247
-
9248
 fi
9249
-
9250
 rm -f core conftest.err conftest.$ac_objext
9251
 	 CC="$CC -n32"
9252
-	 rm -f conftest.$ac_objext
9253
-if { (ac_try="$ac_compile"
9254
-case "(($ac_try" in
9255
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9256
-  *) ac_try_echo=$ac_try;;
9257
-esac
9258
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9259
-  (eval "$ac_compile") 2>conftest.er1
9260
-  ac_status=$?
9261
-  grep -v '^ *+' conftest.er1 >conftest.err
9262
-  rm -f conftest.er1
9263
-  cat conftest.err >&5
9264
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265
-  (exit $ac_status); } && {
9266
-	 test -z "$ac_c_werror_flag" ||
9267
-	 test ! -s conftest.err
9268
-       } && test -s conftest.$ac_objext; then
9269
+	 if ac_fn_c_try_compile "$LINENO"; then :
9270
   ac_cv_sys_largefile_CC=' -n32'; break
9271
-else
9272
-  echo "$as_me: failed program was:" >&5
9273
-sed 's/^/| /' conftest.$ac_ext >&5
9274
-
9275
-
9276
 fi
9277
-
9278
 rm -f core conftest.err conftest.$ac_objext
9279
 	 break
9280
        done
9281
@@ -8248,23 +5725,19 @@ rm -f core conftest.err conftest.$ac_obj
9282
        rm -f conftest.$ac_ext
9283
     fi
9284
 fi
9285
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
9286
-echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
9287
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
9288
+$as_echo "$ac_cv_sys_largefile_CC" >&6; }
9289
   if test "$ac_cv_sys_largefile_CC" != no; then
9290
     CC=$CC$ac_cv_sys_largefile_CC
9291
   fi
9292
 
9293
-  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9294
-echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
9295
-if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9296
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9297
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9298
+$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
9299
+if ${ac_cv_sys_file_offset_bits+:} false; then :
9300
+  $as_echo_n "(cached) " >&6
9301
 else
9302
   while :; do
9303
-  cat >conftest.$ac_ext <<_ACEOF
9304
-/* confdefs.h.  */
9305
-_ACEOF
9306
-cat confdefs.h >>conftest.$ac_ext
9307
-cat >>conftest.$ac_ext <<_ACEOF
9308
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309
 /* end confdefs.h.  */
9310
 #include <sys/types.h>
9311
  /* Check that off_t can represent 2**63 - 1 correctly.
9312
@@ -8283,37 +5756,11 @@ main ()
9313
   return 0;
9314
 }
9315
 _ACEOF
9316
-rm -f conftest.$ac_objext
9317
-if { (ac_try="$ac_compile"
9318
-case "(($ac_try" in
9319
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9320
-  *) ac_try_echo=$ac_try;;
9321
-esac
9322
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9323
-  (eval "$ac_compile") 2>conftest.er1
9324
-  ac_status=$?
9325
-  grep -v '^ *+' conftest.er1 >conftest.err
9326
-  rm -f conftest.er1
9327
-  cat conftest.err >&5
9328
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329
-  (exit $ac_status); } && {
9330
-	 test -z "$ac_c_werror_flag" ||
9331
-	 test ! -s conftest.err
9332
-       } && test -s conftest.$ac_objext; then
9333
+if ac_fn_c_try_compile "$LINENO"; then :
9334
   ac_cv_sys_file_offset_bits=no; break
9335
-else
9336
-  echo "$as_me: failed program was:" >&5
9337
-sed 's/^/| /' conftest.$ac_ext >&5
9338
-
9339
-
9340
 fi
9341
-
9342
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9343
-  cat >conftest.$ac_ext <<_ACEOF
9344
-/* confdefs.h.  */
9345
-_ACEOF
9346
-cat confdefs.h >>conftest.$ac_ext
9347
-cat >>conftest.$ac_ext <<_ACEOF
9348
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349
 /* end confdefs.h.  */
9350
 #define _FILE_OFFSET_BITS 64
9351
 #include <sys/types.h>
9352
@@ -8333,38 +5780,16 @@ main ()
9353
   return 0;
9354
 }
9355
 _ACEOF
9356
-rm -f conftest.$ac_objext
9357
-if { (ac_try="$ac_compile"
9358
-case "(($ac_try" in
9359
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9360
-  *) ac_try_echo=$ac_try;;
9361
-esac
9362
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9363
-  (eval "$ac_compile") 2>conftest.er1
9364
-  ac_status=$?
9365
-  grep -v '^ *+' conftest.er1 >conftest.err
9366
-  rm -f conftest.er1
9367
-  cat conftest.err >&5
9368
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369
-  (exit $ac_status); } && {
9370
-	 test -z "$ac_c_werror_flag" ||
9371
-	 test ! -s conftest.err
9372
-       } && test -s conftest.$ac_objext; then
9373
+if ac_fn_c_try_compile "$LINENO"; then :
9374
   ac_cv_sys_file_offset_bits=64; break
9375
-else
9376
-  echo "$as_me: failed program was:" >&5
9377
-sed 's/^/| /' conftest.$ac_ext >&5
9378
-
9379
-
9380
 fi
9381
-
9382
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9383
   ac_cv_sys_file_offset_bits=unknown
9384
   break
9385
 done
9386
 fi
9387
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
9388
-echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
9389
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
9390
+$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
9391
 case $ac_cv_sys_file_offset_bits in #(
9392
   no | unknown) ;;
9393
   *)
9394
@@ -8373,19 +5798,15 @@ cat >>confdefs.h <<_ACEOF
9395
 _ACEOF
9396
 ;;
9397
 esac
9398
-rm -f conftest*
9399
+rm -rf conftest*
9400
   if test $ac_cv_sys_file_offset_bits = unknown; then
9401
-    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
9402
-echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
9403
-if test "${ac_cv_sys_large_files+set}" = set; then
9404
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9405
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
9406
+$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
9407
+if ${ac_cv_sys_large_files+:} false; then :
9408
+  $as_echo_n "(cached) " >&6
9409
 else
9410
   while :; do
9411
-  cat >conftest.$ac_ext <<_ACEOF
9412
-/* confdefs.h.  */
9413
-_ACEOF
9414
-cat confdefs.h >>conftest.$ac_ext
9415
-cat >>conftest.$ac_ext <<_ACEOF
9416
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417
 /* end confdefs.h.  */
9418
 #include <sys/types.h>
9419
  /* Check that off_t can represent 2**63 - 1 correctly.
9420
@@ -8404,37 +5825,11 @@ main ()
9421
   return 0;
9422
 }
9423
 _ACEOF
9424
-rm -f conftest.$ac_objext
9425
-if { (ac_try="$ac_compile"
9426
-case "(($ac_try" in
9427
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9428
-  *) ac_try_echo=$ac_try;;
9429
-esac
9430
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9431
-  (eval "$ac_compile") 2>conftest.er1
9432
-  ac_status=$?
9433
-  grep -v '^ *+' conftest.er1 >conftest.err
9434
-  rm -f conftest.er1
9435
-  cat conftest.err >&5
9436
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437
-  (exit $ac_status); } && {
9438
-	 test -z "$ac_c_werror_flag" ||
9439
-	 test ! -s conftest.err
9440
-       } && test -s conftest.$ac_objext; then
9441
+if ac_fn_c_try_compile "$LINENO"; then :
9442
   ac_cv_sys_large_files=no; break
9443
-else
9444
-  echo "$as_me: failed program was:" >&5
9445
-sed 's/^/| /' conftest.$ac_ext >&5
9446
-
9447
-
9448
 fi
9449
-
9450
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9451
-  cat >conftest.$ac_ext <<_ACEOF
9452
-/* confdefs.h.  */
9453
-_ACEOF
9454
-cat confdefs.h >>conftest.$ac_ext
9455
-cat >>conftest.$ac_ext <<_ACEOF
9456
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457
 /* end confdefs.h.  */
9458
 #define _LARGE_FILES 1
9459
 #include <sys/types.h>
9460
@@ -8454,38 +5849,16 @@ main ()
9461
   return 0;
9462
 }
9463
 _ACEOF
9464
-rm -f conftest.$ac_objext
9465
-if { (ac_try="$ac_compile"
9466
-case "(($ac_try" in
9467
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9468
-  *) ac_try_echo=$ac_try;;
9469
-esac
9470
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9471
-  (eval "$ac_compile") 2>conftest.er1
9472
-  ac_status=$?
9473
-  grep -v '^ *+' conftest.er1 >conftest.err
9474
-  rm -f conftest.er1
9475
-  cat conftest.err >&5
9476
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477
-  (exit $ac_status); } && {
9478
-	 test -z "$ac_c_werror_flag" ||
9479
-	 test ! -s conftest.err
9480
-       } && test -s conftest.$ac_objext; then
9481
+if ac_fn_c_try_compile "$LINENO"; then :
9482
   ac_cv_sys_large_files=1; break
9483
-else
9484
-  echo "$as_me: failed program was:" >&5
9485
-sed 's/^/| /' conftest.$ac_ext >&5
9486
-
9487
-
9488
 fi
9489
-
9490
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9491
   ac_cv_sys_large_files=unknown
9492
   break
9493
 done
9494
 fi
9495
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
9496
-echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
9497
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
9498
+$as_echo "$ac_cv_sys_large_files" >&6; }
9499
 case $ac_cv_sys_large_files in #(
9500
   no | unknown) ;;
9501
   *)
9502
@@ -8494,65 +5867,15 @@ cat >>confdefs.h <<_ACEOF
9503
 _ACEOF
9504
 ;;
9505
 esac
9506
-rm -f conftest*
9507
+rm -rf conftest*
9508
   fi
9509
-fi
9510
 
9511
-{ echo "$as_me:$LINENO: checking for size_t" >&5
9512
-echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9513
-if test "${ac_cv_type_size_t+set}" = set; then
9514
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9515
-else
9516
-  cat >conftest.$ac_ext <<_ACEOF
9517
-/* confdefs.h.  */
9518
-_ACEOF
9519
-cat confdefs.h >>conftest.$ac_ext
9520
-cat >>conftest.$ac_ext <<_ACEOF
9521
-/* end confdefs.h.  */
9522
-$ac_includes_default
9523
-typedef size_t ac__type_new_;
9524
-int
9525
-main ()
9526
-{
9527
-if ((ac__type_new_ *) 0)
9528
-  return 0;
9529
-if (sizeof (ac__type_new_))
9530
-  return 0;
9531
-  ;
9532
-  return 0;
9533
-}
9534
-_ACEOF
9535
-rm -f conftest.$ac_objext
9536
-if { (ac_try="$ac_compile"
9537
-case "(($ac_try" in
9538
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9539
-  *) ac_try_echo=$ac_try;;
9540
-esac
9541
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9542
-  (eval "$ac_compile") 2>conftest.er1
9543
-  ac_status=$?
9544
-  grep -v '^ *+' conftest.er1 >conftest.err
9545
-  rm -f conftest.er1
9546
-  cat conftest.err >&5
9547
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548
-  (exit $ac_status); } && {
9549
-	 test -z "$ac_c_werror_flag" ||
9550
-	 test ! -s conftest.err
9551
-       } && test -s conftest.$ac_objext; then
9552
-  ac_cv_type_size_t=yes
9553
-else
9554
-  echo "$as_me: failed program was:" >&5
9555
-sed 's/^/| /' conftest.$ac_ext >&5
9556
 
9557
-	ac_cv_type_size_t=no
9558
 fi
9559
 
9560
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9561
-fi
9562
-{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9563
-echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9564
-if test $ac_cv_type_size_t = yes; then
9565
-  :
9566
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9567
+if test "x$ac_cv_type_size_t" = xyes; then :
9568
+
9569
 else
9570
 
9571
 cat >>confdefs.h <<_ACEOF
9572
@@ -8561,61 +5884,9 @@ _ACEOF
9573
 
9574
 fi
9575
 
9576
-{ echo "$as_me:$LINENO: checking for off_t" >&5
9577
-echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
9578
-if test "${ac_cv_type_off_t+set}" = set; then
9579
-  echo $ECHO_N "(cached) $ECHO_C" >&6
9580
-else
9581
-  cat >conftest.$ac_ext <<_ACEOF
9582
-/* confdefs.h.  */
9583
-_ACEOF
9584
-cat confdefs.h >>conftest.$ac_ext
9585
-cat >>conftest.$ac_ext <<_ACEOF
9586
-/* end confdefs.h.  */
9587
-$ac_includes_default
9588
-typedef off_t ac__type_new_;
9589
-int
9590
-main ()
9591
-{
9592
-if ((ac__type_new_ *) 0)
9593
-  return 0;
9594
-if (sizeof (ac__type_new_))
9595
-  return 0;
9596
-  ;
9597
-  return 0;
9598
-}
9599
-_ACEOF
9600
-rm -f conftest.$ac_objext
9601
-if { (ac_try="$ac_compile"
9602
-case "(($ac_try" in
9603
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9604
-  *) ac_try_echo=$ac_try;;
9605
-esac
9606
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9607
-  (eval "$ac_compile") 2>conftest.er1
9608
-  ac_status=$?
9609
-  grep -v '^ *+' conftest.er1 >conftest.err
9610
-  rm -f conftest.er1
9611
-  cat conftest.err >&5
9612
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613
-  (exit $ac_status); } && {
9614
-	 test -z "$ac_c_werror_flag" ||
9615
-	 test ! -s conftest.err
9616
-       } && test -s conftest.$ac_objext; then
9617
-  ac_cv_type_off_t=yes
9618
-else
9619
-  echo "$as_me: failed program was:" >&5
9620
-sed 's/^/| /' conftest.$ac_ext >&5
9621
-
9622
-	ac_cv_type_off_t=no
9623
-fi
9624
+ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9625
+if test "x$ac_cv_type_off_t" = xyes; then :
9626
 
9627
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9628
-fi
9629
-{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9630
-echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
9631
-if test $ac_cv_type_off_t = yes; then
9632
-  :
9633
 else
9634
 
9635
 cat >>confdefs.h <<_ACEOF
9636
@@ -8626,13 +5897,9 @@ fi
9637
 
9638
 
9639
         EL_CHECK_TYPE_LOCAL=yes;
9640
-        { echo "$as_me:$LINENO: checking for ssize_t" >&5
9641
-echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
9642
-        cat >conftest.$ac_ext <<_ACEOF
9643
-/* confdefs.h.  */
9644
-_ACEOF
9645
-cat confdefs.h >>conftest.$ac_ext
9646
-cat >>conftest.$ac_ext <<_ACEOF
9647
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
9648
+$as_echo_n "checking for ssize_t... " >&6; }
9649
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650
 /* end confdefs.h.  */
9651
 
9652
 #include <sys/types.h>
9653
@@ -8645,52 +5912,26 @@ int a = sizeof(ssize_t);
9654
   return 0;
9655
 }
9656
 _ACEOF
9657
-rm -f conftest.$ac_objext
9658
-if { (ac_try="$ac_compile"
9659
-case "(($ac_try" in
9660
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9661
-  *) ac_try_echo=$ac_try;;
9662
-esac
9663
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9664
-  (eval "$ac_compile") 2>conftest.er1
9665
-  ac_status=$?
9666
-  grep -v '^ *+' conftest.er1 >conftest.err
9667
-  rm -f conftest.er1
9668
-  cat conftest.err >&5
9669
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670
-  (exit $ac_status); } && {
9671
-	 test -z "$ac_c_werror_flag" ||
9672
-	 test ! -s conftest.err
9673
-       } && test -s conftest.$ac_objext; then
9674
+if ac_fn_c_try_compile "$LINENO"; then :
9675
   EL_CHECK_TYPE_LOCAL=yes
9676
 else
9677
-  echo "$as_me: failed program was:" >&5
9678
-sed 's/^/| /' conftest.$ac_ext >&5
9679
-
9680
-	EL_CHECK_TYPE_LOCAL=no
9681
+  EL_CHECK_TYPE_LOCAL=no
9682
 fi
9683
-
9684
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9685
-        { echo "$as_me:$LINENO: result: $EL_CHECK_TYPE_LOCAL" >&5
9686
-echo "${ECHO_T}$EL_CHECK_TYPE_LOCAL" >&6; }
9687
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EL_CHECK_TYPE_LOCAL" >&5
9688
+$as_echo "$EL_CHECK_TYPE_LOCAL" >&6; }
9689
         if test "x$EL_CHECK_TYPE_LOCAL" != "xyes"; then
9690
 
9691
-cat >>confdefs.h <<\_ACEOF
9692
-#define ssize_t int
9693
-_ACEOF
9694
+$as_echo "#define ssize_t int" >>confdefs.h
9695
 
9696
         fi
9697
 
9698
 
9699
 
9700
 	HAVE_LONG_LONG=yes;
9701
-	{ echo "$as_me:$LINENO: checking for long long" >&5
9702
-echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9703
-	cat >conftest.$ac_ext <<_ACEOF
9704
-/* confdefs.h.  */
9705
-_ACEOF
9706
-cat confdefs.h >>conftest.$ac_ext
9707
-cat >>conftest.$ac_ext <<_ACEOF
9708
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
9709
+$as_echo_n "checking for long long... " >&6; }
9710
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9711
 /* end confdefs.h.  */
9712
 
9713
 #include <sys/types.h>
9714
@@ -8704,50 +5945,24 @@ int a = sizeof(long long);
9715
   return 0;
9716
 }
9717
 _ACEOF
9718
-rm -f conftest.$ac_objext
9719
-if { (ac_try="$ac_compile"
9720
-case "(($ac_try" in
9721
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9722
-  *) ac_try_echo=$ac_try;;
9723
-esac
9724
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9725
-  (eval "$ac_compile") 2>conftest.er1
9726
-  ac_status=$?
9727
-  grep -v '^ *+' conftest.er1 >conftest.err
9728
-  rm -f conftest.er1
9729
-  cat conftest.err >&5
9730
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731
-  (exit $ac_status); } && {
9732
-	 test -z "$ac_c_werror_flag" ||
9733
-	 test ! -s conftest.err
9734
-       } && test -s conftest.$ac_objext; then
9735
+if ac_fn_c_try_compile "$LINENO"; then :
9736
 
9737
-cat >>confdefs.h <<\_ACEOF
9738
-#define HAVE_LONG_LONG 1
9739
-_ACEOF
9740
+$as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
9741
 
9742
 else
9743
-  echo "$as_me: failed program was:" >&5
9744
-sed 's/^/| /' conftest.$ac_ext >&5
9745
-
9746
-	HAVE_LONG_LONG=no
9747
+  HAVE_LONG_LONG=no
9748
 fi
9749
-
9750
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9751
-	{ echo "$as_me:$LINENO: result: $HAVE_LONG_LONG" >&5
9752
-echo "${ECHO_T}$HAVE_LONG_LONG" >&6; }
9753
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_LONG_LONG" >&5
9754
+$as_echo "$HAVE_LONG_LONG" >&6; }
9755
 
9756
 
9757
 
9758
 
9759
 	HAVE_OFF_T=yes;
9760
-	{ echo "$as_me:$LINENO: checking for off_t" >&5
9761
-echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
9762
-	cat >conftest.$ac_ext <<_ACEOF
9763
-/* confdefs.h.  */
9764
-_ACEOF
9765
-cat confdefs.h >>conftest.$ac_ext
9766
-cat >>conftest.$ac_ext <<_ACEOF
9767
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for off_t" >&5
9768
+$as_echo_n "checking for off_t... " >&6; }
9769
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770
 /* end confdefs.h.  */
9771
 
9772
 #include <sys/types.h>
9773
@@ -8761,51 +5976,25 @@ int a = sizeof(off_t);
9774
   return 0;
9775
 }
9776
 _ACEOF
9777
-rm -f conftest.$ac_objext
9778
-if { (ac_try="$ac_compile"
9779
-case "(($ac_try" in
9780
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9781
-  *) ac_try_echo=$ac_try;;
9782
-esac
9783
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9784
-  (eval "$ac_compile") 2>conftest.er1
9785
-  ac_status=$?
9786
-  grep -v '^ *+' conftest.er1 >conftest.err
9787
-  rm -f conftest.er1
9788
-  cat conftest.err >&5
9789
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790
-  (exit $ac_status); } && {
9791
-	 test -z "$ac_c_werror_flag" ||
9792
-	 test ! -s conftest.err
9793
-       } && test -s conftest.$ac_objext; then
9794
+if ac_fn_c_try_compile "$LINENO"; then :
9795
 
9796
-cat >>confdefs.h <<\_ACEOF
9797
-#define HAVE_OFF_T 1
9798
-_ACEOF
9799
+$as_echo "#define HAVE_OFF_T 1" >>confdefs.h
9800
 
9801
 else
9802
-  echo "$as_me: failed program was:" >&5
9803
-sed 's/^/| /' conftest.$ac_ext >&5
9804
-
9805
-	HAVE_OFF_T=no
9806
+  HAVE_OFF_T=no
9807
 fi
9808
-
9809
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810
-	{ echo "$as_me:$LINENO: result: $HAVE_OFF_T" >&5
9811
-echo "${ECHO_T}$HAVE_OFF_T" >&6; }
9812
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OFF_T" >&5
9813
+$as_echo "$HAVE_OFF_T" >&6; }
9814
 
9815
 
9816
 
9817
 
9818
 
9819
 	HAVE_INT32_T=yes;
9820
-	{ echo "$as_me:$LINENO: checking for int32_t" >&5
9821
-echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
9822
-	cat >conftest.$ac_ext <<_ACEOF
9823
-/* confdefs.h.  */
9824
-_ACEOF
9825
-cat confdefs.h >>conftest.$ac_ext
9826
-cat >>conftest.$ac_ext <<_ACEOF
9827
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for int32_t" >&5
9828
+$as_echo_n "checking for int32_t... " >&6; }
9829
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830
 /* end confdefs.h.  */
9831
 
9832
 #include <sys/types.h>
9833
@@ -8826,38 +6015,16 @@ int a = sizeof(int32_t);
9834
   return 0;
9835
 }
9836
 _ACEOF
9837
-rm -f conftest.$ac_objext
9838
-if { (ac_try="$ac_compile"
9839
-case "(($ac_try" in
9840
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9841
-  *) ac_try_echo=$ac_try;;
9842
-esac
9843
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9844
-  (eval "$ac_compile") 2>conftest.er1
9845
-  ac_status=$?
9846
-  grep -v '^ *+' conftest.er1 >conftest.err
9847
-  rm -f conftest.er1
9848
-  cat conftest.err >&5
9849
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850
-  (exit $ac_status); } && {
9851
-	 test -z "$ac_c_werror_flag" ||
9852
-	 test ! -s conftest.err
9853
-       } && test -s conftest.$ac_objext; then
9854
+if ac_fn_c_try_compile "$LINENO"; then :
9855
 
9856
-cat >>confdefs.h <<\_ACEOF
9857
-#define HAVE_INT32_T 1
9858
-_ACEOF
9859
+$as_echo "#define HAVE_INT32_T 1" >>confdefs.h
9860
 
9861
 else
9862
-  echo "$as_me: failed program was:" >&5
9863
-sed 's/^/| /' conftest.$ac_ext >&5
9864
-
9865
-	HAVE_INT32_T=no
9866
+  HAVE_INT32_T=no
9867
 fi
9868
-
9869
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9870
-	{ echo "$as_me:$LINENO: result: $HAVE_INT32_T" >&5
9871
-echo "${ECHO_T}$HAVE_INT32_T" >&6; }
9872
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_INT32_T" >&5
9873
+$as_echo "$HAVE_INT32_T" >&6; }
9874
 
9875
 
9876
 
9877
@@ -8865,13 +6032,9 @@ echo "${ECHO_T}$HAVE_INT32_T" >&6; }
9878
 
9879
 
9880
 	HAVE_UINT32_T=yes;
9881
-	{ echo "$as_me:$LINENO: checking for uint32_t" >&5
9882
-echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
9883
-	cat >conftest.$ac_ext <<_ACEOF
9884
-/* confdefs.h.  */
9885
-_ACEOF
9886
-cat confdefs.h >>conftest.$ac_ext
9887
-cat >>conftest.$ac_ext <<_ACEOF
9888
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint32_t" >&5
9889
+$as_echo_n "checking for uint32_t... " >&6; }
9890
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891
 /* end confdefs.h.  */
9892
 
9893
 #include <sys/types.h>
9894
@@ -8892,38 +6055,16 @@ int a = sizeof(uint32_t);
9895
   return 0;
9896
 }
9897
 _ACEOF
9898
-rm -f conftest.$ac_objext
9899
-if { (ac_try="$ac_compile"
9900
-case "(($ac_try" in
9901
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9902
-  *) ac_try_echo=$ac_try;;
9903
-esac
9904
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9905
-  (eval "$ac_compile") 2>conftest.er1
9906
-  ac_status=$?
9907
-  grep -v '^ *+' conftest.er1 >conftest.err
9908
-  rm -f conftest.er1
9909
-  cat conftest.err >&5
9910
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911
-  (exit $ac_status); } && {
9912
-	 test -z "$ac_c_werror_flag" ||
9913
-	 test ! -s conftest.err
9914
-       } && test -s conftest.$ac_objext; then
9915
+if ac_fn_c_try_compile "$LINENO"; then :
9916
 
9917
-cat >>confdefs.h <<\_ACEOF
9918
-#define HAVE_UINT32_T 1
9919
-_ACEOF
9920
+$as_echo "#define HAVE_UINT32_T 1" >>confdefs.h
9921
 
9922
 else
9923
-  echo "$as_me: failed program was:" >&5
9924
-sed 's/^/| /' conftest.$ac_ext >&5
9925
-
9926
-	HAVE_UINT32_T=no
9927
+  HAVE_UINT32_T=no
9928
 fi
9929
-
9930
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9931
-	{ echo "$as_me:$LINENO: result: $HAVE_UINT32_T" >&5
9932
-echo "${ECHO_T}$HAVE_UINT32_T" >&6; }
9933
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_UINT32_T" >&5
9934
+$as_echo "$HAVE_UINT32_T" >&6; }
9935
 
9936
 
9937
 
9938
@@ -8931,13 +6072,9 @@ echo "${ECHO_T}$HAVE_UINT32_T" >&6; }
9939
 
9940
 
9941
 	HAVE_UINT16_T=yes;
9942
-	{ echo "$as_me:$LINENO: checking for uint16_t" >&5
9943
-echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
9944
-	cat >conftest.$ac_ext <<_ACEOF
9945
-/* confdefs.h.  */
9946
-_ACEOF
9947
-cat confdefs.h >>conftest.$ac_ext
9948
-cat >>conftest.$ac_ext <<_ACEOF
9949
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint16_t" >&5
9950
+$as_echo_n "checking for uint16_t... " >&6; }
9951
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952
 /* end confdefs.h.  */
9953
 
9954
 #include <sys/types.h>
9955
@@ -8958,439 +6095,45 @@ int a = sizeof(uint16_t);
9956
   return 0;
9957
 }
9958
 _ACEOF
9959
-rm -f conftest.$ac_objext
9960
-if { (ac_try="$ac_compile"
9961
-case "(($ac_try" in
9962
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963
-  *) ac_try_echo=$ac_try;;
9964
-esac
9965
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9966
-  (eval "$ac_compile") 2>conftest.er1
9967
-  ac_status=$?
9968
-  grep -v '^ *+' conftest.er1 >conftest.err
9969
-  rm -f conftest.er1
9970
-  cat conftest.err >&5
9971
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972
-  (exit $ac_status); } && {
9973
-	 test -z "$ac_c_werror_flag" ||
9974
-	 test ! -s conftest.err
9975
-       } && test -s conftest.$ac_objext; then
9976
+if ac_fn_c_try_compile "$LINENO"; then :
9977
 
9978
-cat >>confdefs.h <<\_ACEOF
9979
-#define HAVE_UINT16_T 1
9980
-_ACEOF
9981
+$as_echo "#define HAVE_UINT16_T 1" >>confdefs.h
9982
 
9983
 else
9984
-  echo "$as_me: failed program was:" >&5
9985
-sed 's/^/| /' conftest.$ac_ext >&5
9986
-
9987
-	HAVE_UINT16_T=no
9988
+  HAVE_UINT16_T=no
9989
 fi
9990
-
9991
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9992
-	{ echo "$as_me:$LINENO: result: $HAVE_UINT16_T" >&5
9993
-echo "${ECHO_T}$HAVE_UINT16_T" >&6; }
9994
-
9995
-
9996
-
9997
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_UINT16_T" >&5
9998
+$as_echo "$HAVE_UINT16_T" >&6; }
9999
 
10000
-{ echo "$as_me:$LINENO: checking for char" >&5
10001
-echo $ECHO_N "checking for char... $ECHO_C" >&6; }
10002
-if test "${ac_cv_type_char+set}" = set; then
10003
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10004
-else
10005
-  cat >conftest.$ac_ext <<_ACEOF
10006
-/* confdefs.h.  */
10007
-_ACEOF
10008
-cat confdefs.h >>conftest.$ac_ext
10009
-cat >>conftest.$ac_ext <<_ACEOF
10010
-/* end confdefs.h.  */
10011
-$ac_includes_default
10012
-typedef char ac__type_new_;
10013
-int
10014
-main ()
10015
-{
10016
-if ((ac__type_new_ *) 0)
10017
-  return 0;
10018
-if (sizeof (ac__type_new_))
10019
-  return 0;
10020
-  ;
10021
-  return 0;
10022
-}
10023
-_ACEOF
10024
-rm -f conftest.$ac_objext
10025
-if { (ac_try="$ac_compile"
10026
-case "(($ac_try" in
10027
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10028
-  *) ac_try_echo=$ac_try;;
10029
-esac
10030
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10031
-  (eval "$ac_compile") 2>conftest.er1
10032
-  ac_status=$?
10033
-  grep -v '^ *+' conftest.er1 >conftest.err
10034
-  rm -f conftest.er1
10035
-  cat conftest.err >&5
10036
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037
-  (exit $ac_status); } && {
10038
-	 test -z "$ac_c_werror_flag" ||
10039
-	 test ! -s conftest.err
10040
-       } && test -s conftest.$ac_objext; then
10041
-  ac_cv_type_char=yes
10042
-else
10043
-  echo "$as_me: failed program was:" >&5
10044
-sed 's/^/| /' conftest.$ac_ext >&5
10045
 
10046
-	ac_cv_type_char=no
10047
-fi
10048
 
10049
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10050
-fi
10051
-{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
10052
-echo "${ECHO_T}$ac_cv_type_char" >&6; }
10053
 
10054
 # The cast to long int works around a bug in the HP C Compiler
10055
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10056
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10057
 # This bug is HP SR number 8606223364.
10058
-{ echo "$as_me:$LINENO: checking size of char" >&5
10059
-echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
10060
-if test "${ac_cv_sizeof_char+set}" = set; then
10061
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10062
-else
10063
-  if test "$cross_compiling" = yes; then
10064
-  # Depending upon the size, compute the lo and hi bounds.
10065
-cat >conftest.$ac_ext <<_ACEOF
10066
-/* confdefs.h.  */
10067
-_ACEOF
10068
-cat confdefs.h >>conftest.$ac_ext
10069
-cat >>conftest.$ac_ext <<_ACEOF
10070
-/* end confdefs.h.  */
10071
-$ac_includes_default
10072
-   typedef char ac__type_sizeof_;
10073
-int
10074
-main ()
10075
-{
10076
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
10077
-test_array [0] = 0
10078
-
10079
-  ;
10080
-  return 0;
10081
-}
10082
-_ACEOF
10083
-rm -f conftest.$ac_objext
10084
-if { (ac_try="$ac_compile"
10085
-case "(($ac_try" in
10086
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10087
-  *) ac_try_echo=$ac_try;;
10088
-esac
10089
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10090
-  (eval "$ac_compile") 2>conftest.er1
10091
-  ac_status=$?
10092
-  grep -v '^ *+' conftest.er1 >conftest.err
10093
-  rm -f conftest.er1
10094
-  cat conftest.err >&5
10095
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096
-  (exit $ac_status); } && {
10097
-	 test -z "$ac_c_werror_flag" ||
10098
-	 test ! -s conftest.err
10099
-       } && test -s conftest.$ac_objext; then
10100
-  ac_lo=0 ac_mid=0
10101
-  while :; do
10102
-    cat >conftest.$ac_ext <<_ACEOF
10103
-/* confdefs.h.  */
10104
-_ACEOF
10105
-cat confdefs.h >>conftest.$ac_ext
10106
-cat >>conftest.$ac_ext <<_ACEOF
10107
-/* end confdefs.h.  */
10108
-$ac_includes_default
10109
-   typedef char ac__type_sizeof_;
10110
-int
10111
-main ()
10112
-{
10113
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10114
-test_array [0] = 0
10115
-
10116
-  ;
10117
-  return 0;
10118
-}
10119
-_ACEOF
10120
-rm -f conftest.$ac_objext
10121
-if { (ac_try="$ac_compile"
10122
-case "(($ac_try" in
10123
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124
-  *) ac_try_echo=$ac_try;;
10125
-esac
10126
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10127
-  (eval "$ac_compile") 2>conftest.er1
10128
-  ac_status=$?
10129
-  grep -v '^ *+' conftest.er1 >conftest.err
10130
-  rm -f conftest.er1
10131
-  cat conftest.err >&5
10132
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133
-  (exit $ac_status); } && {
10134
-	 test -z "$ac_c_werror_flag" ||
10135
-	 test ! -s conftest.err
10136
-       } && test -s conftest.$ac_objext; then
10137
-  ac_hi=$ac_mid; break
10138
-else
10139
-  echo "$as_me: failed program was:" >&5
10140
-sed 's/^/| /' conftest.$ac_ext >&5
10141
-
10142
-	ac_lo=`expr $ac_mid + 1`
10143
-			if test $ac_lo -le $ac_mid; then
10144
-			  ac_lo= ac_hi=
10145
-			  break
10146
-			fi
10147
-			ac_mid=`expr 2 '*' $ac_mid + 1`
10148
-fi
10149
-
10150
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10151
-  done
10152
-else
10153
-  echo "$as_me: failed program was:" >&5
10154
-sed 's/^/| /' conftest.$ac_ext >&5
10155
-
10156
-	cat >conftest.$ac_ext <<_ACEOF
10157
-/* confdefs.h.  */
10158
-_ACEOF
10159
-cat confdefs.h >>conftest.$ac_ext
10160
-cat >>conftest.$ac_ext <<_ACEOF
10161
-/* end confdefs.h.  */
10162
-$ac_includes_default
10163
-   typedef char ac__type_sizeof_;
10164
-int
10165
-main ()
10166
-{
10167
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
10168
-test_array [0] = 0
10169
-
10170
-  ;
10171
-  return 0;
10172
-}
10173
-_ACEOF
10174
-rm -f conftest.$ac_objext
10175
-if { (ac_try="$ac_compile"
10176
-case "(($ac_try" in
10177
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10178
-  *) ac_try_echo=$ac_try;;
10179
-esac
10180
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10181
-  (eval "$ac_compile") 2>conftest.er1
10182
-  ac_status=$?
10183
-  grep -v '^ *+' conftest.er1 >conftest.err
10184
-  rm -f conftest.er1
10185
-  cat conftest.err >&5
10186
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187
-  (exit $ac_status); } && {
10188
-	 test -z "$ac_c_werror_flag" ||
10189
-	 test ! -s conftest.err
10190
-       } && test -s conftest.$ac_objext; then
10191
-  ac_hi=-1 ac_mid=-1
10192
-  while :; do
10193
-    cat >conftest.$ac_ext <<_ACEOF
10194
-/* confdefs.h.  */
10195
-_ACEOF
10196
-cat confdefs.h >>conftest.$ac_ext
10197
-cat >>conftest.$ac_ext <<_ACEOF
10198
-/* end confdefs.h.  */
10199
-$ac_includes_default
10200
-   typedef char ac__type_sizeof_;
10201
-int
10202
-main ()
10203
-{
10204
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10205
-test_array [0] = 0
10206
-
10207
-  ;
10208
-  return 0;
10209
-}
10210
-_ACEOF
10211
-rm -f conftest.$ac_objext
10212
-if { (ac_try="$ac_compile"
10213
-case "(($ac_try" in
10214
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10215
-  *) ac_try_echo=$ac_try;;
10216
-esac
10217
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218
-  (eval "$ac_compile") 2>conftest.er1
10219
-  ac_status=$?
10220
-  grep -v '^ *+' conftest.er1 >conftest.err
10221
-  rm -f conftest.er1
10222
-  cat conftest.err >&5
10223
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224
-  (exit $ac_status); } && {
10225
-	 test -z "$ac_c_werror_flag" ||
10226
-	 test ! -s conftest.err
10227
-       } && test -s conftest.$ac_objext; then
10228
-  ac_lo=$ac_mid; break
10229
-else
10230
-  echo "$as_me: failed program was:" >&5
10231
-sed 's/^/| /' conftest.$ac_ext >&5
10232
-
10233
-	ac_hi=`expr '(' $ac_mid ')' - 1`
10234
-			if test $ac_mid -le $ac_hi; then
10235
-			  ac_lo= ac_hi=
10236
-			  break
10237
-			fi
10238
-			ac_mid=`expr 2 '*' $ac_mid`
10239
-fi
10240
-
10241
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10242
-  done
10243
-else
10244
-  echo "$as_me: failed program was:" >&5
10245
-sed 's/^/| /' conftest.$ac_ext >&5
10246
-
10247
-	ac_lo= ac_hi=
10248
-fi
10249
-
10250
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10251
-fi
10252
-
10253
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10254
-# Binary search between lo and hi bounds.
10255
-while test "x$ac_lo" != "x$ac_hi"; do
10256
-  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10257
-  cat >conftest.$ac_ext <<_ACEOF
10258
-/* confdefs.h.  */
10259
-_ACEOF
10260
-cat confdefs.h >>conftest.$ac_ext
10261
-cat >>conftest.$ac_ext <<_ACEOF
10262
-/* end confdefs.h.  */
10263
-$ac_includes_default
10264
-   typedef char ac__type_sizeof_;
10265
-int
10266
-main ()
10267
-{
10268
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10269
-test_array [0] = 0
10270
-
10271
-  ;
10272
-  return 0;
10273
-}
10274
-_ACEOF
10275
-rm -f conftest.$ac_objext
10276
-if { (ac_try="$ac_compile"
10277
-case "(($ac_try" in
10278
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279
-  *) ac_try_echo=$ac_try;;
10280
-esac
10281
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10282
-  (eval "$ac_compile") 2>conftest.er1
10283
-  ac_status=$?
10284
-  grep -v '^ *+' conftest.er1 >conftest.err
10285
-  rm -f conftest.er1
10286
-  cat conftest.err >&5
10287
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288
-  (exit $ac_status); } && {
10289
-	 test -z "$ac_c_werror_flag" ||
10290
-	 test ! -s conftest.err
10291
-       } && test -s conftest.$ac_objext; then
10292
-  ac_hi=$ac_mid
10293
-else
10294
-  echo "$as_me: failed program was:" >&5
10295
-sed 's/^/| /' conftest.$ac_ext >&5
10296
-
10297
-	ac_lo=`expr '(' $ac_mid ')' + 1`
10298
-fi
10299
-
10300
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10301
-done
10302
-case $ac_lo in
10303
-?*) ac_cv_sizeof_char=$ac_lo;;
10304
-'') if test "$ac_cv_type_char" = yes; then
10305
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
10306
-See \`config.log' for more details." >&5
10307
-echo "$as_me: error: cannot compute sizeof (char)
10308
-See \`config.log' for more details." >&2;}
10309
-   { (exit 77); exit 77; }; }
10310
-   else
10311
-     ac_cv_sizeof_char=0
10312
-   fi ;;
10313
-esac
10314
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
10315
+$as_echo_n "checking size of char... " >&6; }
10316
+if ${ac_cv_sizeof_char+:} false; then :
10317
+  $as_echo_n "(cached) " >&6
10318
 else
10319
-  cat >conftest.$ac_ext <<_ACEOF
10320
-/* confdefs.h.  */
10321
-_ACEOF
10322
-cat confdefs.h >>conftest.$ac_ext
10323
-cat >>conftest.$ac_ext <<_ACEOF
10324
-/* end confdefs.h.  */
10325
-$ac_includes_default
10326
-   typedef char ac__type_sizeof_;
10327
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10328
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10329
-#include <stdio.h>
10330
-#include <stdlib.h>
10331
-int
10332
-main ()
10333
-{
10334
-
10335
-  FILE *f = fopen ("conftest.val", "w");
10336
-  if (! f)
10337
-    return 1;
10338
-  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10339
-    {
10340
-      long int i = longval ();
10341
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
10342
-	return 1;
10343
-      fprintf (f, "%ld\n", i);
10344
-    }
10345
-  else
10346
-    {
10347
-      unsigned long int i = ulongval ();
10348
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
10349
-	return 1;
10350
-      fprintf (f, "%lu\n", i);
10351
-    }
10352
-  return ferror (f) || fclose (f) != 0;
10353
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
10354
 
10355
-  ;
10356
-  return 0;
10357
-}
10358
-_ACEOF
10359
-rm -f conftest$ac_exeext
10360
-if { (ac_try="$ac_link"
10361
-case "(($ac_try" in
10362
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10363
-  *) ac_try_echo=$ac_try;;
10364
-esac
10365
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10366
-  (eval "$ac_link") 2>&5
10367
-  ac_status=$?
10368
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10370
-  { (case "(($ac_try" in
10371
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10372
-  *) ac_try_echo=$ac_try;;
10373
-esac
10374
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10375
-  (eval "$ac_try") 2>&5
10376
-  ac_status=$?
10377
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378
-  (exit $ac_status); }; }; then
10379
-  ac_cv_sizeof_char=`cat conftest.val`
10380
 else
10381
-  echo "$as_me: program exited with status $ac_status" >&5
10382
-echo "$as_me: failed program was:" >&5
10383
-sed 's/^/| /' conftest.$ac_ext >&5
10384
-
10385
-( exit $ac_status )
10386
-if test "$ac_cv_type_char" = yes; then
10387
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
10388
-See \`config.log' for more details." >&5
10389
-echo "$as_me: error: cannot compute sizeof (char)
10390
-See \`config.log' for more details." >&2;}
10391
-   { (exit 77); exit 77; }; }
10392
+  if test "$ac_cv_type_char" = yes; then
10393
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10394
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10395
+as_fn_error 77 "cannot compute sizeof (char)
10396
+See \`config.log' for more details" "$LINENO" 5; }
10397
    else
10398
      ac_cv_sizeof_char=0
10399
    fi
10400
 fi
10401
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10402
-fi
10403
-rm -f conftest.val
10404
+
10405
 fi
10406
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
10407
-echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
10408
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
10409
+$as_echo "$ac_cv_sizeof_char" >&6; }
10410
 
10411
 
10412
 
10413
@@ -9399,403 +6142,31 @@ cat >>confdefs.h <<_ACEOF
10414
 _ACEOF
10415
 
10416
 
10417
-{ echo "$as_me:$LINENO: checking for short" >&5
10418
-echo $ECHO_N "checking for short... $ECHO_C" >&6; }
10419
-if test "${ac_cv_type_short+set}" = set; then
10420
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10421
-else
10422
-  cat >conftest.$ac_ext <<_ACEOF
10423
-/* confdefs.h.  */
10424
-_ACEOF
10425
-cat confdefs.h >>conftest.$ac_ext
10426
-cat >>conftest.$ac_ext <<_ACEOF
10427
-/* end confdefs.h.  */
10428
-$ac_includes_default
10429
-typedef short ac__type_new_;
10430
-int
10431
-main ()
10432
-{
10433
-if ((ac__type_new_ *) 0)
10434
-  return 0;
10435
-if (sizeof (ac__type_new_))
10436
-  return 0;
10437
-  ;
10438
-  return 0;
10439
-}
10440
-_ACEOF
10441
-rm -f conftest.$ac_objext
10442
-if { (ac_try="$ac_compile"
10443
-case "(($ac_try" in
10444
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10445
-  *) ac_try_echo=$ac_try;;
10446
-esac
10447
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10448
-  (eval "$ac_compile") 2>conftest.er1
10449
-  ac_status=$?
10450
-  grep -v '^ *+' conftest.er1 >conftest.err
10451
-  rm -f conftest.er1
10452
-  cat conftest.err >&5
10453
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454
-  (exit $ac_status); } && {
10455
-	 test -z "$ac_c_werror_flag" ||
10456
-	 test ! -s conftest.err
10457
-       } && test -s conftest.$ac_objext; then
10458
-  ac_cv_type_short=yes
10459
-else
10460
-  echo "$as_me: failed program was:" >&5
10461
-sed 's/^/| /' conftest.$ac_ext >&5
10462
-
10463
-	ac_cv_type_short=no
10464
-fi
10465
-
10466
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10467
-fi
10468
-{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
10469
-echo "${ECHO_T}$ac_cv_type_short" >&6; }
10470
-
10471
 # The cast to long int works around a bug in the HP C Compiler
10472
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10473
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10474
 # This bug is HP SR number 8606223364.
10475
-{ echo "$as_me:$LINENO: checking size of short" >&5
10476
-echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
10477
-if test "${ac_cv_sizeof_short+set}" = set; then
10478
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10479
-else
10480
-  if test "$cross_compiling" = yes; then
10481
-  # Depending upon the size, compute the lo and hi bounds.
10482
-cat >conftest.$ac_ext <<_ACEOF
10483
-/* confdefs.h.  */
10484
-_ACEOF
10485
-cat confdefs.h >>conftest.$ac_ext
10486
-cat >>conftest.$ac_ext <<_ACEOF
10487
-/* end confdefs.h.  */
10488
-$ac_includes_default
10489
-   typedef short ac__type_sizeof_;
10490
-int
10491
-main ()
10492
-{
10493
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
10494
-test_array [0] = 0
10495
-
10496
-  ;
10497
-  return 0;
10498
-}
10499
-_ACEOF
10500
-rm -f conftest.$ac_objext
10501
-if { (ac_try="$ac_compile"
10502
-case "(($ac_try" in
10503
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10504
-  *) ac_try_echo=$ac_try;;
10505
-esac
10506
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10507
-  (eval "$ac_compile") 2>conftest.er1
10508
-  ac_status=$?
10509
-  grep -v '^ *+' conftest.er1 >conftest.err
10510
-  rm -f conftest.er1
10511
-  cat conftest.err >&5
10512
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513
-  (exit $ac_status); } && {
10514
-	 test -z "$ac_c_werror_flag" ||
10515
-	 test ! -s conftest.err
10516
-       } && test -s conftest.$ac_objext; then
10517
-  ac_lo=0 ac_mid=0
10518
-  while :; do
10519
-    cat >conftest.$ac_ext <<_ACEOF
10520
-/* confdefs.h.  */
10521
-_ACEOF
10522
-cat confdefs.h >>conftest.$ac_ext
10523
-cat >>conftest.$ac_ext <<_ACEOF
10524
-/* end confdefs.h.  */
10525
-$ac_includes_default
10526
-   typedef short ac__type_sizeof_;
10527
-int
10528
-main ()
10529
-{
10530
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10531
-test_array [0] = 0
10532
-
10533
-  ;
10534
-  return 0;
10535
-}
10536
-_ACEOF
10537
-rm -f conftest.$ac_objext
10538
-if { (ac_try="$ac_compile"
10539
-case "(($ac_try" in
10540
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10541
-  *) ac_try_echo=$ac_try;;
10542
-esac
10543
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544
-  (eval "$ac_compile") 2>conftest.er1
10545
-  ac_status=$?
10546
-  grep -v '^ *+' conftest.er1 >conftest.err
10547
-  rm -f conftest.er1
10548
-  cat conftest.err >&5
10549
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550
-  (exit $ac_status); } && {
10551
-	 test -z "$ac_c_werror_flag" ||
10552
-	 test ! -s conftest.err
10553
-       } && test -s conftest.$ac_objext; then
10554
-  ac_hi=$ac_mid; break
10555
-else
10556
-  echo "$as_me: failed program was:" >&5
10557
-sed 's/^/| /' conftest.$ac_ext >&5
10558
-
10559
-	ac_lo=`expr $ac_mid + 1`
10560
-			if test $ac_lo -le $ac_mid; then
10561
-			  ac_lo= ac_hi=
10562
-			  break
10563
-			fi
10564
-			ac_mid=`expr 2 '*' $ac_mid + 1`
10565
-fi
10566
-
10567
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10568
-  done
10569
-else
10570
-  echo "$as_me: failed program was:" >&5
10571
-sed 's/^/| /' conftest.$ac_ext >&5
10572
-
10573
-	cat >conftest.$ac_ext <<_ACEOF
10574
-/* confdefs.h.  */
10575
-_ACEOF
10576
-cat confdefs.h >>conftest.$ac_ext
10577
-cat >>conftest.$ac_ext <<_ACEOF
10578
-/* end confdefs.h.  */
10579
-$ac_includes_default
10580
-   typedef short ac__type_sizeof_;
10581
-int
10582
-main ()
10583
-{
10584
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
10585
-test_array [0] = 0
10586
-
10587
-  ;
10588
-  return 0;
10589
-}
10590
-_ACEOF
10591
-rm -f conftest.$ac_objext
10592
-if { (ac_try="$ac_compile"
10593
-case "(($ac_try" in
10594
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10595
-  *) ac_try_echo=$ac_try;;
10596
-esac
10597
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10598
-  (eval "$ac_compile") 2>conftest.er1
10599
-  ac_status=$?
10600
-  grep -v '^ *+' conftest.er1 >conftest.err
10601
-  rm -f conftest.er1
10602
-  cat conftest.err >&5
10603
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604
-  (exit $ac_status); } && {
10605
-	 test -z "$ac_c_werror_flag" ||
10606
-	 test ! -s conftest.err
10607
-       } && test -s conftest.$ac_objext; then
10608
-  ac_hi=-1 ac_mid=-1
10609
-  while :; do
10610
-    cat >conftest.$ac_ext <<_ACEOF
10611
-/* confdefs.h.  */
10612
-_ACEOF
10613
-cat confdefs.h >>conftest.$ac_ext
10614
-cat >>conftest.$ac_ext <<_ACEOF
10615
-/* end confdefs.h.  */
10616
-$ac_includes_default
10617
-   typedef short ac__type_sizeof_;
10618
-int
10619
-main ()
10620
-{
10621
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10622
-test_array [0] = 0
10623
-
10624
-  ;
10625
-  return 0;
10626
-}
10627
-_ACEOF
10628
-rm -f conftest.$ac_objext
10629
-if { (ac_try="$ac_compile"
10630
-case "(($ac_try" in
10631
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10632
-  *) ac_try_echo=$ac_try;;
10633
-esac
10634
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10635
-  (eval "$ac_compile") 2>conftest.er1
10636
-  ac_status=$?
10637
-  grep -v '^ *+' conftest.er1 >conftest.err
10638
-  rm -f conftest.er1
10639
-  cat conftest.err >&5
10640
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641
-  (exit $ac_status); } && {
10642
-	 test -z "$ac_c_werror_flag" ||
10643
-	 test ! -s conftest.err
10644
-       } && test -s conftest.$ac_objext; then
10645
-  ac_lo=$ac_mid; break
10646
-else
10647
-  echo "$as_me: failed program was:" >&5
10648
-sed 's/^/| /' conftest.$ac_ext >&5
10649
-
10650
-	ac_hi=`expr '(' $ac_mid ')' - 1`
10651
-			if test $ac_mid -le $ac_hi; then
10652
-			  ac_lo= ac_hi=
10653
-			  break
10654
-			fi
10655
-			ac_mid=`expr 2 '*' $ac_mid`
10656
-fi
10657
-
10658
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10659
-  done
10660
-else
10661
-  echo "$as_me: failed program was:" >&5
10662
-sed 's/^/| /' conftest.$ac_ext >&5
10663
-
10664
-	ac_lo= ac_hi=
10665
-fi
10666
-
10667
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10668
-fi
10669
-
10670
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10671
-# Binary search between lo and hi bounds.
10672
-while test "x$ac_lo" != "x$ac_hi"; do
10673
-  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10674
-  cat >conftest.$ac_ext <<_ACEOF
10675
-/* confdefs.h.  */
10676
-_ACEOF
10677
-cat confdefs.h >>conftest.$ac_ext
10678
-cat >>conftest.$ac_ext <<_ACEOF
10679
-/* end confdefs.h.  */
10680
-$ac_includes_default
10681
-   typedef short ac__type_sizeof_;
10682
-int
10683
-main ()
10684
-{
10685
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10686
-test_array [0] = 0
10687
-
10688
-  ;
10689
-  return 0;
10690
-}
10691
-_ACEOF
10692
-rm -f conftest.$ac_objext
10693
-if { (ac_try="$ac_compile"
10694
-case "(($ac_try" in
10695
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10696
-  *) ac_try_echo=$ac_try;;
10697
-esac
10698
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10699
-  (eval "$ac_compile") 2>conftest.er1
10700
-  ac_status=$?
10701
-  grep -v '^ *+' conftest.er1 >conftest.err
10702
-  rm -f conftest.er1
10703
-  cat conftest.err >&5
10704
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705
-  (exit $ac_status); } && {
10706
-	 test -z "$ac_c_werror_flag" ||
10707
-	 test ! -s conftest.err
10708
-       } && test -s conftest.$ac_objext; then
10709
-  ac_hi=$ac_mid
10710
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
10711
+$as_echo_n "checking size of short... " >&6; }
10712
+if ${ac_cv_sizeof_short+:} false; then :
10713
+  $as_echo_n "(cached) " >&6
10714
 else
10715
-  echo "$as_me: failed program was:" >&5
10716
-sed 's/^/| /' conftest.$ac_ext >&5
10717
-
10718
-	ac_lo=`expr '(' $ac_mid ')' + 1`
10719
-fi
10720
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
10721
 
10722
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10723
-done
10724
-case $ac_lo in
10725
-?*) ac_cv_sizeof_short=$ac_lo;;
10726
-'') if test "$ac_cv_type_short" = yes; then
10727
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
10728
-See \`config.log' for more details." >&5
10729
-echo "$as_me: error: cannot compute sizeof (short)
10730
-See \`config.log' for more details." >&2;}
10731
-   { (exit 77); exit 77; }; }
10732
-   else
10733
-     ac_cv_sizeof_short=0
10734
-   fi ;;
10735
-esac
10736
 else
10737
-  cat >conftest.$ac_ext <<_ACEOF
10738
-/* confdefs.h.  */
10739
-_ACEOF
10740
-cat confdefs.h >>conftest.$ac_ext
10741
-cat >>conftest.$ac_ext <<_ACEOF
10742
-/* end confdefs.h.  */
10743
-$ac_includes_default
10744
-   typedef short ac__type_sizeof_;
10745
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10746
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10747
-#include <stdio.h>
10748
-#include <stdlib.h>
10749
-int
10750
-main ()
10751
-{
10752
-
10753
-  FILE *f = fopen ("conftest.val", "w");
10754
-  if (! f)
10755
-    return 1;
10756
-  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10757
-    {
10758
-      long int i = longval ();
10759
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
10760
-	return 1;
10761
-      fprintf (f, "%ld\n", i);
10762
-    }
10763
-  else
10764
-    {
10765
-      unsigned long int i = ulongval ();
10766
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
10767
-	return 1;
10768
-      fprintf (f, "%lu\n", i);
10769
-    }
10770
-  return ferror (f) || fclose (f) != 0;
10771
-
10772
-  ;
10773
-  return 0;
10774
-}
10775
-_ACEOF
10776
-rm -f conftest$ac_exeext
10777
-if { (ac_try="$ac_link"
10778
-case "(($ac_try" in
10779
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780
-  *) ac_try_echo=$ac_try;;
10781
-esac
10782
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10783
-  (eval "$ac_link") 2>&5
10784
-  ac_status=$?
10785
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10787
-  { (case "(($ac_try" in
10788
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10789
-  *) ac_try_echo=$ac_try;;
10790
-esac
10791
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10792
-  (eval "$ac_try") 2>&5
10793
-  ac_status=$?
10794
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795
-  (exit $ac_status); }; }; then
10796
-  ac_cv_sizeof_short=`cat conftest.val`
10797
-else
10798
-  echo "$as_me: program exited with status $ac_status" >&5
10799
-echo "$as_me: failed program was:" >&5
10800
-sed 's/^/| /' conftest.$ac_ext >&5
10801
-
10802
-( exit $ac_status )
10803
-if test "$ac_cv_type_short" = yes; then
10804
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
10805
-See \`config.log' for more details." >&5
10806
-echo "$as_me: error: cannot compute sizeof (short)
10807
-See \`config.log' for more details." >&2;}
10808
-   { (exit 77); exit 77; }; }
10809
+  if test "$ac_cv_type_short" = yes; then
10810
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10811
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10812
+as_fn_error 77 "cannot compute sizeof (short)
10813
+See \`config.log' for more details" "$LINENO" 5; }
10814
    else
10815
      ac_cv_sizeof_short=0
10816
    fi
10817
 fi
10818
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10819
-fi
10820
-rm -f conftest.val
10821
+
10822
 fi
10823
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
10824
-echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
10825
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
10826
+$as_echo "$ac_cv_sizeof_short" >&6; }
10827
 
10828
 
10829
 
10830
@@ -9804,403 +6175,31 @@ cat >>confdefs.h <<_ACEOF
10831
 _ACEOF
10832
 
10833
 
10834
-{ echo "$as_me:$LINENO: checking for int" >&5
10835
-echo $ECHO_N "checking for int... $ECHO_C" >&6; }
10836
-if test "${ac_cv_type_int+set}" = set; then
10837
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10838
-else
10839
-  cat >conftest.$ac_ext <<_ACEOF
10840
-/* confdefs.h.  */
10841
-_ACEOF
10842
-cat confdefs.h >>conftest.$ac_ext
10843
-cat >>conftest.$ac_ext <<_ACEOF
10844
-/* end confdefs.h.  */
10845
-$ac_includes_default
10846
-typedef int ac__type_new_;
10847
-int
10848
-main ()
10849
-{
10850
-if ((ac__type_new_ *) 0)
10851
-  return 0;
10852
-if (sizeof (ac__type_new_))
10853
-  return 0;
10854
-  ;
10855
-  return 0;
10856
-}
10857
-_ACEOF
10858
-rm -f conftest.$ac_objext
10859
-if { (ac_try="$ac_compile"
10860
-case "(($ac_try" in
10861
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10862
-  *) ac_try_echo=$ac_try;;
10863
-esac
10864
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10865
-  (eval "$ac_compile") 2>conftest.er1
10866
-  ac_status=$?
10867
-  grep -v '^ *+' conftest.er1 >conftest.err
10868
-  rm -f conftest.er1
10869
-  cat conftest.err >&5
10870
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871
-  (exit $ac_status); } && {
10872
-	 test -z "$ac_c_werror_flag" ||
10873
-	 test ! -s conftest.err
10874
-       } && test -s conftest.$ac_objext; then
10875
-  ac_cv_type_int=yes
10876
-else
10877
-  echo "$as_me: failed program was:" >&5
10878
-sed 's/^/| /' conftest.$ac_ext >&5
10879
-
10880
-	ac_cv_type_int=no
10881
-fi
10882
-
10883
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10884
-fi
10885
-{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
10886
-echo "${ECHO_T}$ac_cv_type_int" >&6; }
10887
-
10888
 # The cast to long int works around a bug in the HP C Compiler
10889
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10890
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10891
 # This bug is HP SR number 8606223364.
10892
-{ echo "$as_me:$LINENO: checking size of int" >&5
10893
-echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
10894
-if test "${ac_cv_sizeof_int+set}" = set; then
10895
-  echo $ECHO_N "(cached) $ECHO_C" >&6
10896
-else
10897
-  if test "$cross_compiling" = yes; then
10898
-  # Depending upon the size, compute the lo and hi bounds.
10899
-cat >conftest.$ac_ext <<_ACEOF
10900
-/* confdefs.h.  */
10901
-_ACEOF
10902
-cat confdefs.h >>conftest.$ac_ext
10903
-cat >>conftest.$ac_ext <<_ACEOF
10904
-/* end confdefs.h.  */
10905
-$ac_includes_default
10906
-   typedef int ac__type_sizeof_;
10907
-int
10908
-main ()
10909
-{
10910
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
10911
-test_array [0] = 0
10912
-
10913
-  ;
10914
-  return 0;
10915
-}
10916
-_ACEOF
10917
-rm -f conftest.$ac_objext
10918
-if { (ac_try="$ac_compile"
10919
-case "(($ac_try" in
10920
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10921
-  *) ac_try_echo=$ac_try;;
10922
-esac
10923
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10924
-  (eval "$ac_compile") 2>conftest.er1
10925
-  ac_status=$?
10926
-  grep -v '^ *+' conftest.er1 >conftest.err
10927
-  rm -f conftest.er1
10928
-  cat conftest.err >&5
10929
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930
-  (exit $ac_status); } && {
10931
-	 test -z "$ac_c_werror_flag" ||
10932
-	 test ! -s conftest.err
10933
-       } && test -s conftest.$ac_objext; then
10934
-  ac_lo=0 ac_mid=0
10935
-  while :; do
10936
-    cat >conftest.$ac_ext <<_ACEOF
10937
-/* confdefs.h.  */
10938
-_ACEOF
10939
-cat confdefs.h >>conftest.$ac_ext
10940
-cat >>conftest.$ac_ext <<_ACEOF
10941
-/* end confdefs.h.  */
10942
-$ac_includes_default
10943
-   typedef int ac__type_sizeof_;
10944
-int
10945
-main ()
10946
-{
10947
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10948
-test_array [0] = 0
10949
-
10950
-  ;
10951
-  return 0;
10952
-}
10953
-_ACEOF
10954
-rm -f conftest.$ac_objext
10955
-if { (ac_try="$ac_compile"
10956
-case "(($ac_try" in
10957
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10958
-  *) ac_try_echo=$ac_try;;
10959
-esac
10960
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10961
-  (eval "$ac_compile") 2>conftest.er1
10962
-  ac_status=$?
10963
-  grep -v '^ *+' conftest.er1 >conftest.err
10964
-  rm -f conftest.er1
10965
-  cat conftest.err >&5
10966
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967
-  (exit $ac_status); } && {
10968
-	 test -z "$ac_c_werror_flag" ||
10969
-	 test ! -s conftest.err
10970
-       } && test -s conftest.$ac_objext; then
10971
-  ac_hi=$ac_mid; break
10972
-else
10973
-  echo "$as_me: failed program was:" >&5
10974
-sed 's/^/| /' conftest.$ac_ext >&5
10975
-
10976
-	ac_lo=`expr $ac_mid + 1`
10977
-			if test $ac_lo -le $ac_mid; then
10978
-			  ac_lo= ac_hi=
10979
-			  break
10980
-			fi
10981
-			ac_mid=`expr 2 '*' $ac_mid + 1`
10982
-fi
10983
-
10984
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10985
-  done
10986
-else
10987
-  echo "$as_me: failed program was:" >&5
10988
-sed 's/^/| /' conftest.$ac_ext >&5
10989
-
10990
-	cat >conftest.$ac_ext <<_ACEOF
10991
-/* confdefs.h.  */
10992
-_ACEOF
10993
-cat confdefs.h >>conftest.$ac_ext
10994
-cat >>conftest.$ac_ext <<_ACEOF
10995
-/* end confdefs.h.  */
10996
-$ac_includes_default
10997
-   typedef int ac__type_sizeof_;
10998
-int
10999
-main ()
11000
-{
11001
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11002
-test_array [0] = 0
11003
-
11004
-  ;
11005
-  return 0;
11006
-}
11007
-_ACEOF
11008
-rm -f conftest.$ac_objext
11009
-if { (ac_try="$ac_compile"
11010
-case "(($ac_try" in
11011
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11012
-  *) ac_try_echo=$ac_try;;
11013
-esac
11014
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11015
-  (eval "$ac_compile") 2>conftest.er1
11016
-  ac_status=$?
11017
-  grep -v '^ *+' conftest.er1 >conftest.err
11018
-  rm -f conftest.er1
11019
-  cat conftest.err >&5
11020
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021
-  (exit $ac_status); } && {
11022
-	 test -z "$ac_c_werror_flag" ||
11023
-	 test ! -s conftest.err
11024
-       } && test -s conftest.$ac_objext; then
11025
-  ac_hi=-1 ac_mid=-1
11026
-  while :; do
11027
-    cat >conftest.$ac_ext <<_ACEOF
11028
-/* confdefs.h.  */
11029
-_ACEOF
11030
-cat confdefs.h >>conftest.$ac_ext
11031
-cat >>conftest.$ac_ext <<_ACEOF
11032
-/* end confdefs.h.  */
11033
-$ac_includes_default
11034
-   typedef int ac__type_sizeof_;
11035
-int
11036
-main ()
11037
-{
11038
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11039
-test_array [0] = 0
11040
-
11041
-  ;
11042
-  return 0;
11043
-}
11044
-_ACEOF
11045
-rm -f conftest.$ac_objext
11046
-if { (ac_try="$ac_compile"
11047
-case "(($ac_try" in
11048
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11049
-  *) ac_try_echo=$ac_try;;
11050
-esac
11051
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052
-  (eval "$ac_compile") 2>conftest.er1
11053
-  ac_status=$?
11054
-  grep -v '^ *+' conftest.er1 >conftest.err
11055
-  rm -f conftest.er1
11056
-  cat conftest.err >&5
11057
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058
-  (exit $ac_status); } && {
11059
-	 test -z "$ac_c_werror_flag" ||
11060
-	 test ! -s conftest.err
11061
-       } && test -s conftest.$ac_objext; then
11062
-  ac_lo=$ac_mid; break
11063
-else
11064
-  echo "$as_me: failed program was:" >&5
11065
-sed 's/^/| /' conftest.$ac_ext >&5
11066
-
11067
-	ac_hi=`expr '(' $ac_mid ')' - 1`
11068
-			if test $ac_mid -le $ac_hi; then
11069
-			  ac_lo= ac_hi=
11070
-			  break
11071
-			fi
11072
-			ac_mid=`expr 2 '*' $ac_mid`
11073
-fi
11074
-
11075
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11076
-  done
11077
-else
11078
-  echo "$as_me: failed program was:" >&5
11079
-sed 's/^/| /' conftest.$ac_ext >&5
11080
-
11081
-	ac_lo= ac_hi=
11082
-fi
11083
-
11084
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11085
-fi
11086
-
11087
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11088
-# Binary search between lo and hi bounds.
11089
-while test "x$ac_lo" != "x$ac_hi"; do
11090
-  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11091
-  cat >conftest.$ac_ext <<_ACEOF
11092
-/* confdefs.h.  */
11093
-_ACEOF
11094
-cat confdefs.h >>conftest.$ac_ext
11095
-cat >>conftest.$ac_ext <<_ACEOF
11096
-/* end confdefs.h.  */
11097
-$ac_includes_default
11098
-   typedef int ac__type_sizeof_;
11099
-int
11100
-main ()
11101
-{
11102
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11103
-test_array [0] = 0
11104
-
11105
-  ;
11106
-  return 0;
11107
-}
11108
-_ACEOF
11109
-rm -f conftest.$ac_objext
11110
-if { (ac_try="$ac_compile"
11111
-case "(($ac_try" in
11112
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11113
-  *) ac_try_echo=$ac_try;;
11114
-esac
11115
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11116
-  (eval "$ac_compile") 2>conftest.er1
11117
-  ac_status=$?
11118
-  grep -v '^ *+' conftest.er1 >conftest.err
11119
-  rm -f conftest.er1
11120
-  cat conftest.err >&5
11121
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122
-  (exit $ac_status); } && {
11123
-	 test -z "$ac_c_werror_flag" ||
11124
-	 test ! -s conftest.err
11125
-       } && test -s conftest.$ac_objext; then
11126
-  ac_hi=$ac_mid
11127
-else
11128
-  echo "$as_me: failed program was:" >&5
11129
-sed 's/^/| /' conftest.$ac_ext >&5
11130
-
11131
-	ac_lo=`expr '(' $ac_mid ')' + 1`
11132
-fi
11133
-
11134
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11135
-done
11136
-case $ac_lo in
11137
-?*) ac_cv_sizeof_int=$ac_lo;;
11138
-'') if test "$ac_cv_type_int" = yes; then
11139
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11140
-See \`config.log' for more details." >&5
11141
-echo "$as_me: error: cannot compute sizeof (int)
11142
-See \`config.log' for more details." >&2;}
11143
-   { (exit 77); exit 77; }; }
11144
-   else
11145
-     ac_cv_sizeof_int=0
11146
-   fi ;;
11147
-esac
11148
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11149
+$as_echo_n "checking size of int... " >&6; }
11150
+if ${ac_cv_sizeof_int+:} false; then :
11151
+  $as_echo_n "(cached) " >&6
11152
 else
11153
-  cat >conftest.$ac_ext <<_ACEOF
11154
-/* confdefs.h.  */
11155
-_ACEOF
11156
-cat confdefs.h >>conftest.$ac_ext
11157
-cat >>conftest.$ac_ext <<_ACEOF
11158
-/* end confdefs.h.  */
11159
-$ac_includes_default
11160
-   typedef int ac__type_sizeof_;
11161
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11162
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11163
-#include <stdio.h>
11164
-#include <stdlib.h>
11165
-int
11166
-main ()
11167
-{
11168
-
11169
-  FILE *f = fopen ("conftest.val", "w");
11170
-  if (! f)
11171
-    return 1;
11172
-  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11173
-    {
11174
-      long int i = longval ();
11175
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
11176
-	return 1;
11177
-      fprintf (f, "%ld\n", i);
11178
-    }
11179
-  else
11180
-    {
11181
-      unsigned long int i = ulongval ();
11182
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
11183
-	return 1;
11184
-      fprintf (f, "%lu\n", i);
11185
-    }
11186
-  return ferror (f) || fclose (f) != 0;
11187
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
11188
 
11189
-  ;
11190
-  return 0;
11191
-}
11192
-_ACEOF
11193
-rm -f conftest$ac_exeext
11194
-if { (ac_try="$ac_link"
11195
-case "(($ac_try" in
11196
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11197
-  *) ac_try_echo=$ac_try;;
11198
-esac
11199
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11200
-  (eval "$ac_link") 2>&5
11201
-  ac_status=$?
11202
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11204
-  { (case "(($ac_try" in
11205
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11206
-  *) ac_try_echo=$ac_try;;
11207
-esac
11208
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11209
-  (eval "$ac_try") 2>&5
11210
-  ac_status=$?
11211
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212
-  (exit $ac_status); }; }; then
11213
-  ac_cv_sizeof_int=`cat conftest.val`
11214
 else
11215
-  echo "$as_me: program exited with status $ac_status" >&5
11216
-echo "$as_me: failed program was:" >&5
11217
-sed 's/^/| /' conftest.$ac_ext >&5
11218
-
11219
-( exit $ac_status )
11220
-if test "$ac_cv_type_int" = yes; then
11221
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
11222
-See \`config.log' for more details." >&5
11223
-echo "$as_me: error: cannot compute sizeof (int)
11224
-See \`config.log' for more details." >&2;}
11225
-   { (exit 77); exit 77; }; }
11226
+  if test "$ac_cv_type_int" = yes; then
11227
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11228
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11229
+as_fn_error 77 "cannot compute sizeof (int)
11230
+See \`config.log' for more details" "$LINENO" 5; }
11231
    else
11232
      ac_cv_sizeof_int=0
11233
    fi
11234
 fi
11235
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11236
-fi
11237
-rm -f conftest.val
11238
+
11239
 fi
11240
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11241
-echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
11242
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
11243
+$as_echo "$ac_cv_sizeof_int" >&6; }
11244
 
11245
 
11246
 
11247
@@ -10209,403 +6208,31 @@ cat >>confdefs.h <<_ACEOF
11248
 _ACEOF
11249
 
11250
 
11251
-{ echo "$as_me:$LINENO: checking for long" >&5
11252
-echo $ECHO_N "checking for long... $ECHO_C" >&6; }
11253
-if test "${ac_cv_type_long+set}" = set; then
11254
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11255
-else
11256
-  cat >conftest.$ac_ext <<_ACEOF
11257
-/* confdefs.h.  */
11258
-_ACEOF
11259
-cat confdefs.h >>conftest.$ac_ext
11260
-cat >>conftest.$ac_ext <<_ACEOF
11261
-/* end confdefs.h.  */
11262
-$ac_includes_default
11263
-typedef long ac__type_new_;
11264
-int
11265
-main ()
11266
-{
11267
-if ((ac__type_new_ *) 0)
11268
-  return 0;
11269
-if (sizeof (ac__type_new_))
11270
-  return 0;
11271
-  ;
11272
-  return 0;
11273
-}
11274
-_ACEOF
11275
-rm -f conftest.$ac_objext
11276
-if { (ac_try="$ac_compile"
11277
-case "(($ac_try" in
11278
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11279
-  *) ac_try_echo=$ac_try;;
11280
-esac
11281
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11282
-  (eval "$ac_compile") 2>conftest.er1
11283
-  ac_status=$?
11284
-  grep -v '^ *+' conftest.er1 >conftest.err
11285
-  rm -f conftest.er1
11286
-  cat conftest.err >&5
11287
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288
-  (exit $ac_status); } && {
11289
-	 test -z "$ac_c_werror_flag" ||
11290
-	 test ! -s conftest.err
11291
-       } && test -s conftest.$ac_objext; then
11292
-  ac_cv_type_long=yes
11293
-else
11294
-  echo "$as_me: failed program was:" >&5
11295
-sed 's/^/| /' conftest.$ac_ext >&5
11296
-
11297
-	ac_cv_type_long=no
11298
-fi
11299
-
11300
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11301
-fi
11302
-{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
11303
-echo "${ECHO_T}$ac_cv_type_long" >&6; }
11304
-
11305
 # The cast to long int works around a bug in the HP C Compiler
11306
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11307
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11308
 # This bug is HP SR number 8606223364.
11309
-{ echo "$as_me:$LINENO: checking size of long" >&5
11310
-echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
11311
-if test "${ac_cv_sizeof_long+set}" = set; then
11312
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11313
-else
11314
-  if test "$cross_compiling" = yes; then
11315
-  # Depending upon the size, compute the lo and hi bounds.
11316
-cat >conftest.$ac_ext <<_ACEOF
11317
-/* confdefs.h.  */
11318
-_ACEOF
11319
-cat confdefs.h >>conftest.$ac_ext
11320
-cat >>conftest.$ac_ext <<_ACEOF
11321
-/* end confdefs.h.  */
11322
-$ac_includes_default
11323
-   typedef long ac__type_sizeof_;
11324
-int
11325
-main ()
11326
-{
11327
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11328
-test_array [0] = 0
11329
-
11330
-  ;
11331
-  return 0;
11332
-}
11333
-_ACEOF
11334
-rm -f conftest.$ac_objext
11335
-if { (ac_try="$ac_compile"
11336
-case "(($ac_try" in
11337
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11338
-  *) ac_try_echo=$ac_try;;
11339
-esac
11340
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11341
-  (eval "$ac_compile") 2>conftest.er1
11342
-  ac_status=$?
11343
-  grep -v '^ *+' conftest.er1 >conftest.err
11344
-  rm -f conftest.er1
11345
-  cat conftest.err >&5
11346
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347
-  (exit $ac_status); } && {
11348
-	 test -z "$ac_c_werror_flag" ||
11349
-	 test ! -s conftest.err
11350
-       } && test -s conftest.$ac_objext; then
11351
-  ac_lo=0 ac_mid=0
11352
-  while :; do
11353
-    cat >conftest.$ac_ext <<_ACEOF
11354
-/* confdefs.h.  */
11355
-_ACEOF
11356
-cat confdefs.h >>conftest.$ac_ext
11357
-cat >>conftest.$ac_ext <<_ACEOF
11358
-/* end confdefs.h.  */
11359
-$ac_includes_default
11360
-   typedef long ac__type_sizeof_;
11361
-int
11362
-main ()
11363
-{
11364
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11365
-test_array [0] = 0
11366
-
11367
-  ;
11368
-  return 0;
11369
-}
11370
-_ACEOF
11371
-rm -f conftest.$ac_objext
11372
-if { (ac_try="$ac_compile"
11373
-case "(($ac_try" in
11374
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11375
-  *) ac_try_echo=$ac_try;;
11376
-esac
11377
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11378
-  (eval "$ac_compile") 2>conftest.er1
11379
-  ac_status=$?
11380
-  grep -v '^ *+' conftest.er1 >conftest.err
11381
-  rm -f conftest.er1
11382
-  cat conftest.err >&5
11383
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384
-  (exit $ac_status); } && {
11385
-	 test -z "$ac_c_werror_flag" ||
11386
-	 test ! -s conftest.err
11387
-       } && test -s conftest.$ac_objext; then
11388
-  ac_hi=$ac_mid; break
11389
-else
11390
-  echo "$as_me: failed program was:" >&5
11391
-sed 's/^/| /' conftest.$ac_ext >&5
11392
-
11393
-	ac_lo=`expr $ac_mid + 1`
11394
-			if test $ac_lo -le $ac_mid; then
11395
-			  ac_lo= ac_hi=
11396
-			  break
11397
-			fi
11398
-			ac_mid=`expr 2 '*' $ac_mid + 1`
11399
-fi
11400
-
11401
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11402
-  done
11403
-else
11404
-  echo "$as_me: failed program was:" >&5
11405
-sed 's/^/| /' conftest.$ac_ext >&5
11406
-
11407
-	cat >conftest.$ac_ext <<_ACEOF
11408
-/* confdefs.h.  */
11409
-_ACEOF
11410
-cat confdefs.h >>conftest.$ac_ext
11411
-cat >>conftest.$ac_ext <<_ACEOF
11412
-/* end confdefs.h.  */
11413
-$ac_includes_default
11414
-   typedef long ac__type_sizeof_;
11415
-int
11416
-main ()
11417
-{
11418
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11419
-test_array [0] = 0
11420
-
11421
-  ;
11422
-  return 0;
11423
-}
11424
-_ACEOF
11425
-rm -f conftest.$ac_objext
11426
-if { (ac_try="$ac_compile"
11427
-case "(($ac_try" in
11428
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11429
-  *) ac_try_echo=$ac_try;;
11430
-esac
11431
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11432
-  (eval "$ac_compile") 2>conftest.er1
11433
-  ac_status=$?
11434
-  grep -v '^ *+' conftest.er1 >conftest.err
11435
-  rm -f conftest.er1
11436
-  cat conftest.err >&5
11437
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438
-  (exit $ac_status); } && {
11439
-	 test -z "$ac_c_werror_flag" ||
11440
-	 test ! -s conftest.err
11441
-       } && test -s conftest.$ac_objext; then
11442
-  ac_hi=-1 ac_mid=-1
11443
-  while :; do
11444
-    cat >conftest.$ac_ext <<_ACEOF
11445
-/* confdefs.h.  */
11446
-_ACEOF
11447
-cat confdefs.h >>conftest.$ac_ext
11448
-cat >>conftest.$ac_ext <<_ACEOF
11449
-/* end confdefs.h.  */
11450
-$ac_includes_default
11451
-   typedef long ac__type_sizeof_;
11452
-int
11453
-main ()
11454
-{
11455
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11456
-test_array [0] = 0
11457
-
11458
-  ;
11459
-  return 0;
11460
-}
11461
-_ACEOF
11462
-rm -f conftest.$ac_objext
11463
-if { (ac_try="$ac_compile"
11464
-case "(($ac_try" in
11465
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11466
-  *) ac_try_echo=$ac_try;;
11467
-esac
11468
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11469
-  (eval "$ac_compile") 2>conftest.er1
11470
-  ac_status=$?
11471
-  grep -v '^ *+' conftest.er1 >conftest.err
11472
-  rm -f conftest.er1
11473
-  cat conftest.err >&5
11474
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475
-  (exit $ac_status); } && {
11476
-	 test -z "$ac_c_werror_flag" ||
11477
-	 test ! -s conftest.err
11478
-       } && test -s conftest.$ac_objext; then
11479
-  ac_lo=$ac_mid; break
11480
-else
11481
-  echo "$as_me: failed program was:" >&5
11482
-sed 's/^/| /' conftest.$ac_ext >&5
11483
-
11484
-	ac_hi=`expr '(' $ac_mid ')' - 1`
11485
-			if test $ac_mid -le $ac_hi; then
11486
-			  ac_lo= ac_hi=
11487
-			  break
11488
-			fi
11489
-			ac_mid=`expr 2 '*' $ac_mid`
11490
-fi
11491
-
11492
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11493
-  done
11494
-else
11495
-  echo "$as_me: failed program was:" >&5
11496
-sed 's/^/| /' conftest.$ac_ext >&5
11497
-
11498
-	ac_lo= ac_hi=
11499
-fi
11500
-
11501
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11502
-fi
11503
-
11504
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11505
-# Binary search between lo and hi bounds.
11506
-while test "x$ac_lo" != "x$ac_hi"; do
11507
-  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11508
-  cat >conftest.$ac_ext <<_ACEOF
11509
-/* confdefs.h.  */
11510
-_ACEOF
11511
-cat confdefs.h >>conftest.$ac_ext
11512
-cat >>conftest.$ac_ext <<_ACEOF
11513
-/* end confdefs.h.  */
11514
-$ac_includes_default
11515
-   typedef long ac__type_sizeof_;
11516
-int
11517
-main ()
11518
-{
11519
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11520
-test_array [0] = 0
11521
-
11522
-  ;
11523
-  return 0;
11524
-}
11525
-_ACEOF
11526
-rm -f conftest.$ac_objext
11527
-if { (ac_try="$ac_compile"
11528
-case "(($ac_try" in
11529
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530
-  *) ac_try_echo=$ac_try;;
11531
-esac
11532
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11533
-  (eval "$ac_compile") 2>conftest.er1
11534
-  ac_status=$?
11535
-  grep -v '^ *+' conftest.er1 >conftest.err
11536
-  rm -f conftest.er1
11537
-  cat conftest.err >&5
11538
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539
-  (exit $ac_status); } && {
11540
-	 test -z "$ac_c_werror_flag" ||
11541
-	 test ! -s conftest.err
11542
-       } && test -s conftest.$ac_objext; then
11543
-  ac_hi=$ac_mid
11544
-else
11545
-  echo "$as_me: failed program was:" >&5
11546
-sed 's/^/| /' conftest.$ac_ext >&5
11547
-
11548
-	ac_lo=`expr '(' $ac_mid ')' + 1`
11549
-fi
11550
-
11551
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11552
-done
11553
-case $ac_lo in
11554
-?*) ac_cv_sizeof_long=$ac_lo;;
11555
-'') if test "$ac_cv_type_long" = yes; then
11556
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
11557
-See \`config.log' for more details." >&5
11558
-echo "$as_me: error: cannot compute sizeof (long)
11559
-See \`config.log' for more details." >&2;}
11560
-   { (exit 77); exit 77; }; }
11561
-   else
11562
-     ac_cv_sizeof_long=0
11563
-   fi ;;
11564
-esac
11565
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11566
+$as_echo_n "checking size of long... " >&6; }
11567
+if ${ac_cv_sizeof_long+:} false; then :
11568
+  $as_echo_n "(cached) " >&6
11569
 else
11570
-  cat >conftest.$ac_ext <<_ACEOF
11571
-/* confdefs.h.  */
11572
-_ACEOF
11573
-cat confdefs.h >>conftest.$ac_ext
11574
-cat >>conftest.$ac_ext <<_ACEOF
11575
-/* end confdefs.h.  */
11576
-$ac_includes_default
11577
-   typedef long ac__type_sizeof_;
11578
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11579
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11580
-#include <stdio.h>
11581
-#include <stdlib.h>
11582
-int
11583
-main ()
11584
-{
11585
-
11586
-  FILE *f = fopen ("conftest.val", "w");
11587
-  if (! f)
11588
-    return 1;
11589
-  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
11590
-    {
11591
-      long int i = longval ();
11592
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
11593
-	return 1;
11594
-      fprintf (f, "%ld\n", i);
11595
-    }
11596
-  else
11597
-    {
11598
-      unsigned long int i = ulongval ();
11599
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
11600
-	return 1;
11601
-      fprintf (f, "%lu\n", i);
11602
-    }
11603
-  return ferror (f) || fclose (f) != 0;
11604
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
11605
 
11606
-  ;
11607
-  return 0;
11608
-}
11609
-_ACEOF
11610
-rm -f conftest$ac_exeext
11611
-if { (ac_try="$ac_link"
11612
-case "(($ac_try" in
11613
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11614
-  *) ac_try_echo=$ac_try;;
11615
-esac
11616
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11617
-  (eval "$ac_link") 2>&5
11618
-  ac_status=$?
11619
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11621
-  { (case "(($ac_try" in
11622
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11623
-  *) ac_try_echo=$ac_try;;
11624
-esac
11625
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11626
-  (eval "$ac_try") 2>&5
11627
-  ac_status=$?
11628
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629
-  (exit $ac_status); }; }; then
11630
-  ac_cv_sizeof_long=`cat conftest.val`
11631
 else
11632
-  echo "$as_me: program exited with status $ac_status" >&5
11633
-echo "$as_me: failed program was:" >&5
11634
-sed 's/^/| /' conftest.$ac_ext >&5
11635
-
11636
-( exit $ac_status )
11637
-if test "$ac_cv_type_long" = yes; then
11638
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
11639
-See \`config.log' for more details." >&5
11640
-echo "$as_me: error: cannot compute sizeof (long)
11641
-See \`config.log' for more details." >&2;}
11642
-   { (exit 77); exit 77; }; }
11643
+  if test "$ac_cv_type_long" = yes; then
11644
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11645
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11646
+as_fn_error 77 "cannot compute sizeof (long)
11647
+See \`config.log' for more details" "$LINENO" 5; }
11648
    else
11649
      ac_cv_sizeof_long=0
11650
    fi
11651
 fi
11652
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11653
-fi
11654
-rm -f conftest.val
11655
+
11656
 fi
11657
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
11658
-echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
11659
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11660
+$as_echo "$ac_cv_sizeof_long" >&6; }
11661
 
11662
 
11663
 
11664
@@ -10614,403 +6241,31 @@ cat >>confdefs.h <<_ACEOF
11665
 _ACEOF
11666
 
11667
 
11668
-test "x$HAVE_LONG_LONG" = xyes && { echo "$as_me:$LINENO: checking for long long" >&5
11669
-echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
11670
-if test "${ac_cv_type_long_long+set}" = set; then
11671
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11672
-else
11673
-  cat >conftest.$ac_ext <<_ACEOF
11674
-/* confdefs.h.  */
11675
-_ACEOF
11676
-cat confdefs.h >>conftest.$ac_ext
11677
-cat >>conftest.$ac_ext <<_ACEOF
11678
-/* end confdefs.h.  */
11679
-$ac_includes_default
11680
-typedef long long ac__type_new_;
11681
-int
11682
-main ()
11683
-{
11684
-if ((ac__type_new_ *) 0)
11685
-  return 0;
11686
-if (sizeof (ac__type_new_))
11687
-  return 0;
11688
-  ;
11689
-  return 0;
11690
-}
11691
-_ACEOF
11692
-rm -f conftest.$ac_objext
11693
-if { (ac_try="$ac_compile"
11694
-case "(($ac_try" in
11695
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11696
-  *) ac_try_echo=$ac_try;;
11697
-esac
11698
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11699
-  (eval "$ac_compile") 2>conftest.er1
11700
-  ac_status=$?
11701
-  grep -v '^ *+' conftest.er1 >conftest.err
11702
-  rm -f conftest.er1
11703
-  cat conftest.err >&5
11704
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705
-  (exit $ac_status); } && {
11706
-	 test -z "$ac_c_werror_flag" ||
11707
-	 test ! -s conftest.err
11708
-       } && test -s conftest.$ac_objext; then
11709
-  ac_cv_type_long_long=yes
11710
-else
11711
-  echo "$as_me: failed program was:" >&5
11712
-sed 's/^/| /' conftest.$ac_ext >&5
11713
-
11714
-	ac_cv_type_long_long=no
11715
-fi
11716
-
11717
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11718
-fi
11719
-{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11720
-echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
11721
-
11722
-# The cast to long int works around a bug in the HP C Compiler
11723
+test "x$HAVE_LONG_LONG" = xyes && # The cast to long int works around a bug in the HP C Compiler
11724
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11725
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11726
 # This bug is HP SR number 8606223364.
11727
-{ echo "$as_me:$LINENO: checking size of long long" >&5
11728
-echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
11729
-if test "${ac_cv_sizeof_long_long+set}" = set; then
11730
-  echo $ECHO_N "(cached) $ECHO_C" >&6
11731
-else
11732
-  if test "$cross_compiling" = yes; then
11733
-  # Depending upon the size, compute the lo and hi bounds.
11734
-cat >conftest.$ac_ext <<_ACEOF
11735
-/* confdefs.h.  */
11736
-_ACEOF
11737
-cat confdefs.h >>conftest.$ac_ext
11738
-cat >>conftest.$ac_ext <<_ACEOF
11739
-/* end confdefs.h.  */
11740
-$ac_includes_default
11741
-   typedef long long ac__type_sizeof_;
11742
-int
11743
-main ()
11744
-{
11745
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
11746
-test_array [0] = 0
11747
-
11748
-  ;
11749
-  return 0;
11750
-}
11751
-_ACEOF
11752
-rm -f conftest.$ac_objext
11753
-if { (ac_try="$ac_compile"
11754
-case "(($ac_try" in
11755
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11756
-  *) ac_try_echo=$ac_try;;
11757
-esac
11758
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11759
-  (eval "$ac_compile") 2>conftest.er1
11760
-  ac_status=$?
11761
-  grep -v '^ *+' conftest.er1 >conftest.err
11762
-  rm -f conftest.er1
11763
-  cat conftest.err >&5
11764
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765
-  (exit $ac_status); } && {
11766
-	 test -z "$ac_c_werror_flag" ||
11767
-	 test ! -s conftest.err
11768
-       } && test -s conftest.$ac_objext; then
11769
-  ac_lo=0 ac_mid=0
11770
-  while :; do
11771
-    cat >conftest.$ac_ext <<_ACEOF
11772
-/* confdefs.h.  */
11773
-_ACEOF
11774
-cat confdefs.h >>conftest.$ac_ext
11775
-cat >>conftest.$ac_ext <<_ACEOF
11776
-/* end confdefs.h.  */
11777
-$ac_includes_default
11778
-   typedef long long ac__type_sizeof_;
11779
-int
11780
-main ()
11781
-{
11782
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11783
-test_array [0] = 0
11784
-
11785
-  ;
11786
-  return 0;
11787
-}
11788
-_ACEOF
11789
-rm -f conftest.$ac_objext
11790
-if { (ac_try="$ac_compile"
11791
-case "(($ac_try" in
11792
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11793
-  *) ac_try_echo=$ac_try;;
11794
-esac
11795
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11796
-  (eval "$ac_compile") 2>conftest.er1
11797
-  ac_status=$?
11798
-  grep -v '^ *+' conftest.er1 >conftest.err
11799
-  rm -f conftest.er1
11800
-  cat conftest.err >&5
11801
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802
-  (exit $ac_status); } && {
11803
-	 test -z "$ac_c_werror_flag" ||
11804
-	 test ! -s conftest.err
11805
-       } && test -s conftest.$ac_objext; then
11806
-  ac_hi=$ac_mid; break
11807
-else
11808
-  echo "$as_me: failed program was:" >&5
11809
-sed 's/^/| /' conftest.$ac_ext >&5
11810
-
11811
-	ac_lo=`expr $ac_mid + 1`
11812
-			if test $ac_lo -le $ac_mid; then
11813
-			  ac_lo= ac_hi=
11814
-			  break
11815
-			fi
11816
-			ac_mid=`expr 2 '*' $ac_mid + 1`
11817
-fi
11818
-
11819
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11820
-  done
11821
-else
11822
-  echo "$as_me: failed program was:" >&5
11823
-sed 's/^/| /' conftest.$ac_ext >&5
11824
-
11825
-	cat >conftest.$ac_ext <<_ACEOF
11826
-/* confdefs.h.  */
11827
-_ACEOF
11828
-cat confdefs.h >>conftest.$ac_ext
11829
-cat >>conftest.$ac_ext <<_ACEOF
11830
-/* end confdefs.h.  */
11831
-$ac_includes_default
11832
-   typedef long long ac__type_sizeof_;
11833
-int
11834
-main ()
11835
-{
11836
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
11837
-test_array [0] = 0
11838
-
11839
-  ;
11840
-  return 0;
11841
-}
11842
-_ACEOF
11843
-rm -f conftest.$ac_objext
11844
-if { (ac_try="$ac_compile"
11845
-case "(($ac_try" in
11846
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847
-  *) ac_try_echo=$ac_try;;
11848
-esac
11849
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850
-  (eval "$ac_compile") 2>conftest.er1
11851
-  ac_status=$?
11852
-  grep -v '^ *+' conftest.er1 >conftest.err
11853
-  rm -f conftest.er1
11854
-  cat conftest.err >&5
11855
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856
-  (exit $ac_status); } && {
11857
-	 test -z "$ac_c_werror_flag" ||
11858
-	 test ! -s conftest.err
11859
-       } && test -s conftest.$ac_objext; then
11860
-  ac_hi=-1 ac_mid=-1
11861
-  while :; do
11862
-    cat >conftest.$ac_ext <<_ACEOF
11863
-/* confdefs.h.  */
11864
-_ACEOF
11865
-cat confdefs.h >>conftest.$ac_ext
11866
-cat >>conftest.$ac_ext <<_ACEOF
11867
-/* end confdefs.h.  */
11868
-$ac_includes_default
11869
-   typedef long long ac__type_sizeof_;
11870
-int
11871
-main ()
11872
-{
11873
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
11874
-test_array [0] = 0
11875
-
11876
-  ;
11877
-  return 0;
11878
-}
11879
-_ACEOF
11880
-rm -f conftest.$ac_objext
11881
-if { (ac_try="$ac_compile"
11882
-case "(($ac_try" in
11883
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884
-  *) ac_try_echo=$ac_try;;
11885
-esac
11886
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887
-  (eval "$ac_compile") 2>conftest.er1
11888
-  ac_status=$?
11889
-  grep -v '^ *+' conftest.er1 >conftest.err
11890
-  rm -f conftest.er1
11891
-  cat conftest.err >&5
11892
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893
-  (exit $ac_status); } && {
11894
-	 test -z "$ac_c_werror_flag" ||
11895
-	 test ! -s conftest.err
11896
-       } && test -s conftest.$ac_objext; then
11897
-  ac_lo=$ac_mid; break
11898
-else
11899
-  echo "$as_me: failed program was:" >&5
11900
-sed 's/^/| /' conftest.$ac_ext >&5
11901
-
11902
-	ac_hi=`expr '(' $ac_mid ')' - 1`
11903
-			if test $ac_mid -le $ac_hi; then
11904
-			  ac_lo= ac_hi=
11905
-			  break
11906
-			fi
11907
-			ac_mid=`expr 2 '*' $ac_mid`
11908
-fi
11909
-
11910
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11911
-  done
11912
-else
11913
-  echo "$as_me: failed program was:" >&5
11914
-sed 's/^/| /' conftest.$ac_ext >&5
11915
-
11916
-	ac_lo= ac_hi=
11917
-fi
11918
-
11919
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11920
-fi
11921
-
11922
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11923
-# Binary search between lo and hi bounds.
11924
-while test "x$ac_lo" != "x$ac_hi"; do
11925
-  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11926
-  cat >conftest.$ac_ext <<_ACEOF
11927
-/* confdefs.h.  */
11928
-_ACEOF
11929
-cat confdefs.h >>conftest.$ac_ext
11930
-cat >>conftest.$ac_ext <<_ACEOF
11931
-/* end confdefs.h.  */
11932
-$ac_includes_default
11933
-   typedef long long ac__type_sizeof_;
11934
-int
11935
-main ()
11936
-{
11937
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
11938
-test_array [0] = 0
11939
-
11940
-  ;
11941
-  return 0;
11942
-}
11943
-_ACEOF
11944
-rm -f conftest.$ac_objext
11945
-if { (ac_try="$ac_compile"
11946
-case "(($ac_try" in
11947
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11948
-  *) ac_try_echo=$ac_try;;
11949
-esac
11950
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11951
-  (eval "$ac_compile") 2>conftest.er1
11952
-  ac_status=$?
11953
-  grep -v '^ *+' conftest.er1 >conftest.err
11954
-  rm -f conftest.er1
11955
-  cat conftest.err >&5
11956
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957
-  (exit $ac_status); } && {
11958
-	 test -z "$ac_c_werror_flag" ||
11959
-	 test ! -s conftest.err
11960
-       } && test -s conftest.$ac_objext; then
11961
-  ac_hi=$ac_mid
11962
-else
11963
-  echo "$as_me: failed program was:" >&5
11964
-sed 's/^/| /' conftest.$ac_ext >&5
11965
-
11966
-	ac_lo=`expr '(' $ac_mid ')' + 1`
11967
-fi
11968
-
11969
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11970
-done
11971
-case $ac_lo in
11972
-?*) ac_cv_sizeof_long_long=$ac_lo;;
11973
-'') if test "$ac_cv_type_long_long" = yes; then
11974
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
11975
-See \`config.log' for more details." >&5
11976
-echo "$as_me: error: cannot compute sizeof (long long)
11977
-See \`config.log' for more details." >&2;}
11978
-   { (exit 77); exit 77; }; }
11979
-   else
11980
-     ac_cv_sizeof_long_long=0
11981
-   fi ;;
11982
-esac
11983
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
11984
+$as_echo_n "checking size of long long... " >&6; }
11985
+if ${ac_cv_sizeof_long_long+:} false; then :
11986
+  $as_echo_n "(cached) " >&6
11987
 else
11988
-  cat >conftest.$ac_ext <<_ACEOF
11989
-/* confdefs.h.  */
11990
-_ACEOF
11991
-cat confdefs.h >>conftest.$ac_ext
11992
-cat >>conftest.$ac_ext <<_ACEOF
11993
-/* end confdefs.h.  */
11994
-$ac_includes_default
11995
-   typedef long long ac__type_sizeof_;
11996
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
11997
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
11998
-#include <stdio.h>
11999
-#include <stdlib.h>
12000
-int
12001
-main ()
12002
-{
12003
-
12004
-  FILE *f = fopen ("conftest.val", "w");
12005
-  if (! f)
12006
-    return 1;
12007
-  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12008
-    {
12009
-      long int i = longval ();
12010
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
12011
-	return 1;
12012
-      fprintf (f, "%ld\n", i);
12013
-    }
12014
-  else
12015
-    {
12016
-      unsigned long int i = ulongval ();
12017
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
12018
-	return 1;
12019
-      fprintf (f, "%lu\n", i);
12020
-    }
12021
-  return ferror (f) || fclose (f) != 0;
12022
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12023
 
12024
-  ;
12025
-  return 0;
12026
-}
12027
-_ACEOF
12028
-rm -f conftest$ac_exeext
12029
-if { (ac_try="$ac_link"
12030
-case "(($ac_try" in
12031
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12032
-  *) ac_try_echo=$ac_try;;
12033
-esac
12034
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12035
-  (eval "$ac_link") 2>&5
12036
-  ac_status=$?
12037
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12039
-  { (case "(($ac_try" in
12040
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12041
-  *) ac_try_echo=$ac_try;;
12042
-esac
12043
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12044
-  (eval "$ac_try") 2>&5
12045
-  ac_status=$?
12046
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047
-  (exit $ac_status); }; }; then
12048
-  ac_cv_sizeof_long_long=`cat conftest.val`
12049
 else
12050
-  echo "$as_me: program exited with status $ac_status" >&5
12051
-echo "$as_me: failed program was:" >&5
12052
-sed 's/^/| /' conftest.$ac_ext >&5
12053
-
12054
-( exit $ac_status )
12055
-if test "$ac_cv_type_long_long" = yes; then
12056
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
12057
-See \`config.log' for more details." >&5
12058
-echo "$as_me: error: cannot compute sizeof (long long)
12059
-See \`config.log' for more details." >&2;}
12060
-   { (exit 77); exit 77; }; }
12061
+  if test "$ac_cv_type_long_long" = yes; then
12062
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12063
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12064
+as_fn_error 77 "cannot compute sizeof (long long)
12065
+See \`config.log' for more details" "$LINENO" 5; }
12066
    else
12067
      ac_cv_sizeof_long_long=0
12068
    fi
12069
 fi
12070
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12071
-fi
12072
-rm -f conftest.val
12073
+
12074
 fi
12075
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12076
-echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
12077
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12078
+$as_echo "$ac_cv_sizeof_long_long" >&6; }
12079
 
12080
 
12081
 
12082
@@ -11019,403 +6274,31 @@ cat >>confdefs.h <<_ACEOF
12083
 _ACEOF
12084
 
12085
 
12086
-test "x$HAVE_OFF_T" = xyes && { echo "$as_me:$LINENO: checking for off_t" >&5
12087
-echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
12088
-if test "${ac_cv_type_off_t+set}" = set; then
12089
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12090
-else
12091
-  cat >conftest.$ac_ext <<_ACEOF
12092
-/* confdefs.h.  */
12093
-_ACEOF
12094
-cat confdefs.h >>conftest.$ac_ext
12095
-cat >>conftest.$ac_ext <<_ACEOF
12096
-/* end confdefs.h.  */
12097
-$ac_includes_default
12098
-typedef off_t ac__type_new_;
12099
-int
12100
-main ()
12101
-{
12102
-if ((ac__type_new_ *) 0)
12103
-  return 0;
12104
-if (sizeof (ac__type_new_))
12105
-  return 0;
12106
-  ;
12107
-  return 0;
12108
-}
12109
-_ACEOF
12110
-rm -f conftest.$ac_objext
12111
-if { (ac_try="$ac_compile"
12112
-case "(($ac_try" in
12113
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12114
-  *) ac_try_echo=$ac_try;;
12115
-esac
12116
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12117
-  (eval "$ac_compile") 2>conftest.er1
12118
-  ac_status=$?
12119
-  grep -v '^ *+' conftest.er1 >conftest.err
12120
-  rm -f conftest.er1
12121
-  cat conftest.err >&5
12122
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123
-  (exit $ac_status); } && {
12124
-	 test -z "$ac_c_werror_flag" ||
12125
-	 test ! -s conftest.err
12126
-       } && test -s conftest.$ac_objext; then
12127
-  ac_cv_type_off_t=yes
12128
-else
12129
-  echo "$as_me: failed program was:" >&5
12130
-sed 's/^/| /' conftest.$ac_ext >&5
12131
-
12132
-	ac_cv_type_off_t=no
12133
-fi
12134
-
12135
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12136
-fi
12137
-{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12138
-echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
12139
-
12140
-# The cast to long int works around a bug in the HP C Compiler
12141
+test "x$HAVE_OFF_T" = xyes && # The cast to long int works around a bug in the HP C Compiler
12142
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12143
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12144
 # This bug is HP SR number 8606223364.
12145
-{ echo "$as_me:$LINENO: checking size of off_t" >&5
12146
-echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
12147
-if test "${ac_cv_sizeof_off_t+set}" = set; then
12148
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12149
-else
12150
-  if test "$cross_compiling" = yes; then
12151
-  # Depending upon the size, compute the lo and hi bounds.
12152
-cat >conftest.$ac_ext <<_ACEOF
12153
-/* confdefs.h.  */
12154
-_ACEOF
12155
-cat confdefs.h >>conftest.$ac_ext
12156
-cat >>conftest.$ac_ext <<_ACEOF
12157
-/* end confdefs.h.  */
12158
-$ac_includes_default
12159
-   typedef off_t ac__type_sizeof_;
12160
-int
12161
-main ()
12162
-{
12163
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12164
-test_array [0] = 0
12165
-
12166
-  ;
12167
-  return 0;
12168
-}
12169
-_ACEOF
12170
-rm -f conftest.$ac_objext
12171
-if { (ac_try="$ac_compile"
12172
-case "(($ac_try" in
12173
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12174
-  *) ac_try_echo=$ac_try;;
12175
-esac
12176
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12177
-  (eval "$ac_compile") 2>conftest.er1
12178
-  ac_status=$?
12179
-  grep -v '^ *+' conftest.er1 >conftest.err
12180
-  rm -f conftest.er1
12181
-  cat conftest.err >&5
12182
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183
-  (exit $ac_status); } && {
12184
-	 test -z "$ac_c_werror_flag" ||
12185
-	 test ! -s conftest.err
12186
-       } && test -s conftest.$ac_objext; then
12187
-  ac_lo=0 ac_mid=0
12188
-  while :; do
12189
-    cat >conftest.$ac_ext <<_ACEOF
12190
-/* confdefs.h.  */
12191
-_ACEOF
12192
-cat confdefs.h >>conftest.$ac_ext
12193
-cat >>conftest.$ac_ext <<_ACEOF
12194
-/* end confdefs.h.  */
12195
-$ac_includes_default
12196
-   typedef off_t ac__type_sizeof_;
12197
-int
12198
-main ()
12199
-{
12200
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12201
-test_array [0] = 0
12202
-
12203
-  ;
12204
-  return 0;
12205
-}
12206
-_ACEOF
12207
-rm -f conftest.$ac_objext
12208
-if { (ac_try="$ac_compile"
12209
-case "(($ac_try" in
12210
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12211
-  *) ac_try_echo=$ac_try;;
12212
-esac
12213
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12214
-  (eval "$ac_compile") 2>conftest.er1
12215
-  ac_status=$?
12216
-  grep -v '^ *+' conftest.er1 >conftest.err
12217
-  rm -f conftest.er1
12218
-  cat conftest.err >&5
12219
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220
-  (exit $ac_status); } && {
12221
-	 test -z "$ac_c_werror_flag" ||
12222
-	 test ! -s conftest.err
12223
-       } && test -s conftest.$ac_objext; then
12224
-  ac_hi=$ac_mid; break
12225
-else
12226
-  echo "$as_me: failed program was:" >&5
12227
-sed 's/^/| /' conftest.$ac_ext >&5
12228
-
12229
-	ac_lo=`expr $ac_mid + 1`
12230
-			if test $ac_lo -le $ac_mid; then
12231
-			  ac_lo= ac_hi=
12232
-			  break
12233
-			fi
12234
-			ac_mid=`expr 2 '*' $ac_mid + 1`
12235
-fi
12236
-
12237
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238
-  done
12239
-else
12240
-  echo "$as_me: failed program was:" >&5
12241
-sed 's/^/| /' conftest.$ac_ext >&5
12242
-
12243
-	cat >conftest.$ac_ext <<_ACEOF
12244
-/* confdefs.h.  */
12245
-_ACEOF
12246
-cat confdefs.h >>conftest.$ac_ext
12247
-cat >>conftest.$ac_ext <<_ACEOF
12248
-/* end confdefs.h.  */
12249
-$ac_includes_default
12250
-   typedef off_t ac__type_sizeof_;
12251
-int
12252
-main ()
12253
-{
12254
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12255
-test_array [0] = 0
12256
-
12257
-  ;
12258
-  return 0;
12259
-}
12260
-_ACEOF
12261
-rm -f conftest.$ac_objext
12262
-if { (ac_try="$ac_compile"
12263
-case "(($ac_try" in
12264
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12265
-  *) ac_try_echo=$ac_try;;
12266
-esac
12267
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12268
-  (eval "$ac_compile") 2>conftest.er1
12269
-  ac_status=$?
12270
-  grep -v '^ *+' conftest.er1 >conftest.err
12271
-  rm -f conftest.er1
12272
-  cat conftest.err >&5
12273
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274
-  (exit $ac_status); } && {
12275
-	 test -z "$ac_c_werror_flag" ||
12276
-	 test ! -s conftest.err
12277
-       } && test -s conftest.$ac_objext; then
12278
-  ac_hi=-1 ac_mid=-1
12279
-  while :; do
12280
-    cat >conftest.$ac_ext <<_ACEOF
12281
-/* confdefs.h.  */
12282
-_ACEOF
12283
-cat confdefs.h >>conftest.$ac_ext
12284
-cat >>conftest.$ac_ext <<_ACEOF
12285
-/* end confdefs.h.  */
12286
-$ac_includes_default
12287
-   typedef off_t ac__type_sizeof_;
12288
-int
12289
-main ()
12290
-{
12291
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12292
-test_array [0] = 0
12293
-
12294
-  ;
12295
-  return 0;
12296
-}
12297
-_ACEOF
12298
-rm -f conftest.$ac_objext
12299
-if { (ac_try="$ac_compile"
12300
-case "(($ac_try" in
12301
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12302
-  *) ac_try_echo=$ac_try;;
12303
-esac
12304
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12305
-  (eval "$ac_compile") 2>conftest.er1
12306
-  ac_status=$?
12307
-  grep -v '^ *+' conftest.er1 >conftest.err
12308
-  rm -f conftest.er1
12309
-  cat conftest.err >&5
12310
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311
-  (exit $ac_status); } && {
12312
-	 test -z "$ac_c_werror_flag" ||
12313
-	 test ! -s conftest.err
12314
-       } && test -s conftest.$ac_objext; then
12315
-  ac_lo=$ac_mid; break
12316
-else
12317
-  echo "$as_me: failed program was:" >&5
12318
-sed 's/^/| /' conftest.$ac_ext >&5
12319
-
12320
-	ac_hi=`expr '(' $ac_mid ')' - 1`
12321
-			if test $ac_mid -le $ac_hi; then
12322
-			  ac_lo= ac_hi=
12323
-			  break
12324
-			fi
12325
-			ac_mid=`expr 2 '*' $ac_mid`
12326
-fi
12327
-
12328
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12329
-  done
12330
-else
12331
-  echo "$as_me: failed program was:" >&5
12332
-sed 's/^/| /' conftest.$ac_ext >&5
12333
-
12334
-	ac_lo= ac_hi=
12335
-fi
12336
-
12337
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12338
-fi
12339
-
12340
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12341
-# Binary search between lo and hi bounds.
12342
-while test "x$ac_lo" != "x$ac_hi"; do
12343
-  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12344
-  cat >conftest.$ac_ext <<_ACEOF
12345
-/* confdefs.h.  */
12346
-_ACEOF
12347
-cat confdefs.h >>conftest.$ac_ext
12348
-cat >>conftest.$ac_ext <<_ACEOF
12349
-/* end confdefs.h.  */
12350
-$ac_includes_default
12351
-   typedef off_t ac__type_sizeof_;
12352
-int
12353
-main ()
12354
-{
12355
-static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12356
-test_array [0] = 0
12357
-
12358
-  ;
12359
-  return 0;
12360
-}
12361
-_ACEOF
12362
-rm -f conftest.$ac_objext
12363
-if { (ac_try="$ac_compile"
12364
-case "(($ac_try" in
12365
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12366
-  *) ac_try_echo=$ac_try;;
12367
-esac
12368
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12369
-  (eval "$ac_compile") 2>conftest.er1
12370
-  ac_status=$?
12371
-  grep -v '^ *+' conftest.er1 >conftest.err
12372
-  rm -f conftest.er1
12373
-  cat conftest.err >&5
12374
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375
-  (exit $ac_status); } && {
12376
-	 test -z "$ac_c_werror_flag" ||
12377
-	 test ! -s conftest.err
12378
-       } && test -s conftest.$ac_objext; then
12379
-  ac_hi=$ac_mid
12380
-else
12381
-  echo "$as_me: failed program was:" >&5
12382
-sed 's/^/| /' conftest.$ac_ext >&5
12383
-
12384
-	ac_lo=`expr '(' $ac_mid ')' + 1`
12385
-fi
12386
-
12387
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388
-done
12389
-case $ac_lo in
12390
-?*) ac_cv_sizeof_off_t=$ac_lo;;
12391
-'') if test "$ac_cv_type_off_t" = yes; then
12392
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
12393
-See \`config.log' for more details." >&5
12394
-echo "$as_me: error: cannot compute sizeof (off_t)
12395
-See \`config.log' for more details." >&2;}
12396
-   { (exit 77); exit 77; }; }
12397
-   else
12398
-     ac_cv_sizeof_off_t=0
12399
-   fi ;;
12400
-esac
12401
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12402
+$as_echo_n "checking size of off_t... " >&6; }
12403
+if ${ac_cv_sizeof_off_t+:} false; then :
12404
+  $as_echo_n "(cached) " >&6
12405
 else
12406
-  cat >conftest.$ac_ext <<_ACEOF
12407
-/* confdefs.h.  */
12408
-_ACEOF
12409
-cat confdefs.h >>conftest.$ac_ext
12410
-cat >>conftest.$ac_ext <<_ACEOF
12411
-/* end confdefs.h.  */
12412
-$ac_includes_default
12413
-   typedef off_t ac__type_sizeof_;
12414
-static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
12415
-static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
12416
-#include <stdio.h>
12417
-#include <stdlib.h>
12418
-int
12419
-main ()
12420
-{
12421
-
12422
-  FILE *f = fopen ("conftest.val", "w");
12423
-  if (! f)
12424
-    return 1;
12425
-  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
12426
-    {
12427
-      long int i = longval ();
12428
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
12429
-	return 1;
12430
-      fprintf (f, "%ld\n", i);
12431
-    }
12432
-  else
12433
-    {
12434
-      unsigned long int i = ulongval ();
12435
-      if (i != ((long int) (sizeof (ac__type_sizeof_))))
12436
-	return 1;
12437
-      fprintf (f, "%lu\n", i);
12438
-    }
12439
-  return ferror (f) || fclose (f) != 0;
12440
+  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
12441
 
12442
-  ;
12443
-  return 0;
12444
-}
12445
-_ACEOF
12446
-rm -f conftest$ac_exeext
12447
-if { (ac_try="$ac_link"
12448
-case "(($ac_try" in
12449
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12450
-  *) ac_try_echo=$ac_try;;
12451
-esac
12452
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12453
-  (eval "$ac_link") 2>&5
12454
-  ac_status=$?
12455
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12457
-  { (case "(($ac_try" in
12458
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12459
-  *) ac_try_echo=$ac_try;;
12460
-esac
12461
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12462
-  (eval "$ac_try") 2>&5
12463
-  ac_status=$?
12464
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465
-  (exit $ac_status); }; }; then
12466
-  ac_cv_sizeof_off_t=`cat conftest.val`
12467
 else
12468
-  echo "$as_me: program exited with status $ac_status" >&5
12469
-echo "$as_me: failed program was:" >&5
12470
-sed 's/^/| /' conftest.$ac_ext >&5
12471
-
12472
-( exit $ac_status )
12473
-if test "$ac_cv_type_off_t" = yes; then
12474
-     { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
12475
-See \`config.log' for more details." >&5
12476
-echo "$as_me: error: cannot compute sizeof (off_t)
12477
-See \`config.log' for more details." >&2;}
12478
-   { (exit 77); exit 77; }; }
12479
+  if test "$ac_cv_type_off_t" = yes; then
12480
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12481
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12482
+as_fn_error 77 "cannot compute sizeof (off_t)
12483
+See \`config.log' for more details" "$LINENO" 5; }
12484
    else
12485
      ac_cv_sizeof_off_t=0
12486
    fi
12487
 fi
12488
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12489
-fi
12490
-rm -f conftest.val
12491
+
12492
 fi
12493
-{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
12494
-echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
12495
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12496
+$as_echo "$ac_cv_sizeof_off_t" >&6; }
12497
 
12498
 
12499
 
12500
@@ -11427,13 +6310,9 @@ _ACEOF
12501
 
12502
 
12503
 	HAVE_VARIADIC_MACROS=yes;
12504
-	{ echo "$as_me:$LINENO: checking for variadic macros" >&5
12505
-echo $ECHO_N "checking for variadic macros... $ECHO_C" >&6; }
12506
-	cat >conftest.$ac_ext <<_ACEOF
12507
-/* confdefs.h.  */
12508
-_ACEOF
12509
-cat confdefs.h >>conftest.$ac_ext
12510
-cat >>conftest.$ac_ext <<_ACEOF
12511
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for variadic macros" >&5
12512
+$as_echo_n "checking for variadic macros... " >&6; }
12513
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514
 /* end confdefs.h.  */
12515
 #include <stdio.h>
12516
 		 #define a(b,c...) printf(b,##c)
12517
@@ -11445,49 +6324,23 @@ a("foo");a("%s","bar");a("%s%s","baz","q
12518
   return 0;
12519
 }
12520
 _ACEOF
12521
-rm -f conftest.$ac_objext
12522
-if { (ac_try="$ac_compile"
12523
-case "(($ac_try" in
12524
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525
-  *) ac_try_echo=$ac_try;;
12526
-esac
12527
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12528
-  (eval "$ac_compile") 2>conftest.er1
12529
-  ac_status=$?
12530
-  grep -v '^ *+' conftest.er1 >conftest.err
12531
-  rm -f conftest.er1
12532
-  cat conftest.err >&5
12533
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534
-  (exit $ac_status); } && {
12535
-	 test -z "$ac_c_werror_flag" ||
12536
-	 test ! -s conftest.err
12537
-       } && test -s conftest.$ac_objext; then
12538
+if ac_fn_c_try_compile "$LINENO"; then :
12539
 
12540
-cat >>confdefs.h <<\_ACEOF
12541
-#define HAVE_VARIADIC_MACROS 1
12542
-_ACEOF
12543
+$as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
12544
 
12545
 else
12546
-  echo "$as_me: failed program was:" >&5
12547
-sed 's/^/| /' conftest.$ac_ext >&5
12548
-
12549
-	HAVE_VARIADIC_MACROS=no
12550
+  HAVE_VARIADIC_MACROS=no
12551
 fi
12552
-
12553
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12554
-	{ echo "$as_me:$LINENO: result: $HAVE_VARIADIC_MACROS" >&5
12555
-echo "${ECHO_T}$HAVE_VARIADIC_MACROS" >&6; }
12556
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_VARIADIC_MACROS" >&5
12557
+$as_echo "$HAVE_VARIADIC_MACROS" >&6; }
12558
 
12559
 
12560
-{ echo "$as_me:$LINENO: checking for -rdynamic" >&5
12561
-echo $ECHO_N "checking for -rdynamic... $ECHO_C" >&6; }
12562
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
12563
+$as_echo_n "checking for -rdynamic... " >&6; }
12564
 LDFLAGS_X="$LDFLAGS"
12565
 LDFLAGS="$LDFLAGS -rdynamic"
12566
-cat >conftest.$ac_ext <<_ACEOF
12567
-/* confdefs.h.  */
12568
-_ACEOF
12569
-cat confdefs.h >>conftest.$ac_ext
12570
-cat >>conftest.$ac_ext <<_ACEOF
12571
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572
 /* end confdefs.h.  */
12573
 
12574
 int
12575
@@ -11498,49 +6351,24 @@ main ()
12576
   return 0;
12577
 }
12578
 _ACEOF
12579
-rm -f conftest.$ac_objext conftest$ac_exeext
12580
-if { (ac_try="$ac_link"
12581
-case "(($ac_try" in
12582
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583
-  *) ac_try_echo=$ac_try;;
12584
-esac
12585
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586
-  (eval "$ac_link") 2>conftest.er1
12587
-  ac_status=$?
12588
-  grep -v '^ *+' conftest.er1 >conftest.err
12589
-  rm -f conftest.er1
12590
-  cat conftest.err >&5
12591
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592
-  (exit $ac_status); } && {
12593
-	 test -z "$ac_c_werror_flag" ||
12594
-	 test ! -s conftest.err
12595
-       } && test -s conftest$ac_exeext &&
12596
-       $as_test_x conftest$ac_exeext; then
12597
+if ac_fn_c_try_link "$LINENO"; then :
12598
   have_rdynamic=yes
12599
 else
12600
-  echo "$as_me: failed program was:" >&5
12601
-sed 's/^/| /' conftest.$ac_ext >&5
12602
-
12603
-	have_rdynamic=no
12604
+  have_rdynamic=no
12605
 fi
12606
-
12607
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12608
-      conftest$ac_exeext conftest.$ac_ext
12609
+rm -f core conftest.err conftest.$ac_objext \
12610
+    conftest$ac_exeext conftest.$ac_ext
12611
 test "$have_rdynamic" = no && LDFLAGS="$LDFLAGS_X"
12612
-{ echo "$as_me:$LINENO: result: $have_rdynamic" >&5
12613
-echo "${ECHO_T}$have_rdynamic" >&6; }
12614
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_rdynamic" >&5
12615
+$as_echo "$have_rdynamic" >&6; }
12616
 
12617
 
12618
 
12619
 
12620
 	HAVE_REGEX_H=yes;
12621
-	{ echo "$as_me:$LINENO: checking for regex_t" >&5
12622
-echo $ECHO_N "checking for regex_t... $ECHO_C" >&6; }
12623
-	cat >conftest.$ac_ext <<_ACEOF
12624
-/* confdefs.h.  */
12625
-_ACEOF
12626
-cat confdefs.h >>conftest.$ac_ext
12627
-cat >>conftest.$ac_ext <<_ACEOF
12628
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regex_t" >&5
12629
+$as_echo_n "checking for regex_t... " >&6; }
12630
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631
 /* end confdefs.h.  */
12632
 
12633
 #include <sys/types.h>
12634
@@ -11554,60 +6382,34 @@ int a = sizeof(regex_t);
12635
   return 0;
12636
 }
12637
 _ACEOF
12638
-rm -f conftest.$ac_objext
12639
-if { (ac_try="$ac_compile"
12640
-case "(($ac_try" in
12641
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12642
-  *) ac_try_echo=$ac_try;;
12643
-esac
12644
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12645
-  (eval "$ac_compile") 2>conftest.er1
12646
-  ac_status=$?
12647
-  grep -v '^ *+' conftest.er1 >conftest.err
12648
-  rm -f conftest.er1
12649
-  cat conftest.err >&5
12650
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651
-  (exit $ac_status); } && {
12652
-	 test -z "$ac_c_werror_flag" ||
12653
-	 test ! -s conftest.err
12654
-       } && test -s conftest.$ac_objext; then
12655
+if ac_fn_c_try_compile "$LINENO"; then :
12656
 
12657
-cat >>confdefs.h <<\_ACEOF
12658
-#define HAVE_REGEX_H 1
12659
-_ACEOF
12660
+$as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
12661
 
12662
 else
12663
-  echo "$as_me: failed program was:" >&5
12664
-sed 's/^/| /' conftest.$ac_ext >&5
12665
-
12666
-	HAVE_REGEX_H=no
12667
+  HAVE_REGEX_H=no
12668
 fi
12669
-
12670
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12671
-	{ echo "$as_me:$LINENO: result: $HAVE_REGEX_H" >&5
12672
-echo "${ECHO_T}$HAVE_REGEX_H" >&6; }
12673
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_REGEX_H" >&5
12674
+$as_echo "$HAVE_REGEX_H" >&6; }
12675
 
12676
 
12677
 
12678
 
12679
 if test $ac_cv_c_compiler_gnu = yes; then
12680
-    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12681
-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
12682
-if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12683
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12684
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
12685
+$as_echo_n "checking whether $CC needs -traditional... " >&6; }
12686
+if ${ac_cv_prog_gcc_traditional+:} false; then :
12687
+  $as_echo_n "(cached) " >&6
12688
 else
12689
     ac_pattern="Autoconf.*'x'"
12690
-  cat >conftest.$ac_ext <<_ACEOF
12691
-/* confdefs.h.  */
12692
-_ACEOF
12693
-cat confdefs.h >>conftest.$ac_ext
12694
-cat >>conftest.$ac_ext <<_ACEOF
12695
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696
 /* end confdefs.h.  */
12697
 #include <sgtty.h>
12698
 Autoconf TIOCGETP
12699
 _ACEOF
12700
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12701
-  $EGREP "$ac_pattern" >/dev/null 2>&1; then
12702
+  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
12703
   ac_cv_prog_gcc_traditional=yes
12704
 else
12705
   ac_cv_prog_gcc_traditional=no
12706
@@ -11616,43 +6418,35 @@ rm -f conftest*
12707
 
12708
 
12709
   if test $ac_cv_prog_gcc_traditional = no; then
12710
-    cat >conftest.$ac_ext <<_ACEOF
12711
-/* confdefs.h.  */
12712
-_ACEOF
12713
-cat confdefs.h >>conftest.$ac_ext
12714
-cat >>conftest.$ac_ext <<_ACEOF
12715
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716
 /* end confdefs.h.  */
12717
 #include <termio.h>
12718
 Autoconf TCGETA
12719
 _ACEOF
12720
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12721
-  $EGREP "$ac_pattern" >/dev/null 2>&1; then
12722
+  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
12723
   ac_cv_prog_gcc_traditional=yes
12724
 fi
12725
 rm -f conftest*
12726
 
12727
   fi
12728
 fi
12729
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12730
-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
12731
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
12732
+$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
12733
   if test $ac_cv_prog_gcc_traditional = yes; then
12734
     CC="$CC -traditional"
12735
   fi
12736
 fi
12737
 
12738
-{ echo "$as_me:$LINENO: checking for working memcmp" >&5
12739
-echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
12740
-if test "${ac_cv_func_memcmp_working+set}" = set; then
12741
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12742
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
12743
+$as_echo_n "checking for working memcmp... " >&6; }
12744
+if ${ac_cv_func_memcmp_working+:} false; then :
12745
+  $as_echo_n "(cached) " >&6
12746
 else
12747
-  if test "$cross_compiling" = yes; then
12748
+  if test "$cross_compiling" = yes; then :
12749
   ac_cv_func_memcmp_working=no
12750
 else
12751
-  cat >conftest.$ac_ext <<_ACEOF
12752
-/* confdefs.h.  */
12753
-_ACEOF
12754
-cat confdefs.h >>conftest.$ac_ext
12755
-cat >>conftest.$ac_ext <<_ACEOF
12756
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757
 /* end confdefs.h.  */
12758
 $ac_includes_default
12759
 int
12760
@@ -11687,42 +6481,18 @@ main ()
12761
   return 0;
12762
 }
12763
 _ACEOF
12764
-rm -f conftest$ac_exeext
12765
-if { (ac_try="$ac_link"
12766
-case "(($ac_try" in
12767
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12768
-  *) ac_try_echo=$ac_try;;
12769
-esac
12770
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12771
-  (eval "$ac_link") 2>&5
12772
-  ac_status=$?
12773
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12775
-  { (case "(($ac_try" in
12776
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12777
-  *) ac_try_echo=$ac_try;;
12778
-esac
12779
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12780
-  (eval "$ac_try") 2>&5
12781
-  ac_status=$?
12782
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783
-  (exit $ac_status); }; }; then
12784
+if ac_fn_c_try_run "$LINENO"; then :
12785
   ac_cv_func_memcmp_working=yes
12786
 else
12787
-  echo "$as_me: program exited with status $ac_status" >&5
12788
-echo "$as_me: failed program was:" >&5
12789
-sed 's/^/| /' conftest.$ac_ext >&5
12790
-
12791
-( exit $ac_status )
12792
-ac_cv_func_memcmp_working=no
12793
+  ac_cv_func_memcmp_working=no
12794
 fi
12795
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12796
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12797
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
12798
 fi
12799
 
12800
-
12801
 fi
12802
-{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
12803
-echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
12804
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12805
+$as_echo "$ac_cv_func_memcmp_working" >&6; }
12806
 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12807
   *" memcmp.$ac_objext "* ) ;;
12808
   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12809
@@ -11732,139 +6502,15 @@ esac
12810
 
12811
 
12812
 
12813
-for ac_header in stdlib.h unistd.h
12814
-do
12815
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12816
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12817
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
12818
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12819
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12820
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12821
-fi
12822
-ac_res=`eval echo '${'$as_ac_Header'}'`
12823
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
12824
-echo "${ECHO_T}$ac_res" >&6; }
12825
-else
12826
-  # Is the header compilable?
12827
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12828
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12829
-cat >conftest.$ac_ext <<_ACEOF
12830
-/* confdefs.h.  */
12831
-_ACEOF
12832
-cat confdefs.h >>conftest.$ac_ext
12833
-cat >>conftest.$ac_ext <<_ACEOF
12834
-/* end confdefs.h.  */
12835
-$ac_includes_default
12836
-#include <$ac_header>
12837
-_ACEOF
12838
-rm -f conftest.$ac_objext
12839
-if { (ac_try="$ac_compile"
12840
-case "(($ac_try" in
12841
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12842
-  *) ac_try_echo=$ac_try;;
12843
-esac
12844
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12845
-  (eval "$ac_compile") 2>conftest.er1
12846
-  ac_status=$?
12847
-  grep -v '^ *+' conftest.er1 >conftest.err
12848
-  rm -f conftest.er1
12849
-  cat conftest.err >&5
12850
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851
-  (exit $ac_status); } && {
12852
-	 test -z "$ac_c_werror_flag" ||
12853
-	 test ! -s conftest.err
12854
-       } && test -s conftest.$ac_objext; then
12855
-  ac_header_compiler=yes
12856
-else
12857
-  echo "$as_me: failed program was:" >&5
12858
-sed 's/^/| /' conftest.$ac_ext >&5
12859
-
12860
-	ac_header_compiler=no
12861
-fi
12862
-
12863
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12864
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12865
-echo "${ECHO_T}$ac_header_compiler" >&6; }
12866
-
12867
-# Is the header present?
12868
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12869
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12870
-cat >conftest.$ac_ext <<_ACEOF
12871
-/* confdefs.h.  */
12872
-_ACEOF
12873
-cat confdefs.h >>conftest.$ac_ext
12874
-cat >>conftest.$ac_ext <<_ACEOF
12875
-/* end confdefs.h.  */
12876
-#include <$ac_header>
12877
-_ACEOF
12878
-if { (ac_try="$ac_cpp conftest.$ac_ext"
12879
-case "(($ac_try" in
12880
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12881
-  *) ac_try_echo=$ac_try;;
12882
-esac
12883
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12885
-  ac_status=$?
12886
-  grep -v '^ *+' conftest.er1 >conftest.err
12887
-  rm -f conftest.er1
12888
-  cat conftest.err >&5
12889
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890
-  (exit $ac_status); } >/dev/null && {
12891
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12892
-	 test ! -s conftest.err
12893
-       }; then
12894
-  ac_header_preproc=yes
12895
-else
12896
-  echo "$as_me: failed program was:" >&5
12897
-sed 's/^/| /' conftest.$ac_ext >&5
12898
-
12899
-  ac_header_preproc=no
12900
-fi
12901
-
12902
-rm -f conftest.err conftest.$ac_ext
12903
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12904
-echo "${ECHO_T}$ac_header_preproc" >&6; }
12905
-
12906
-# So?  What about this header?
12907
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12908
-  yes:no: )
12909
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12910
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12911
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12912
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12913
-    ac_header_preproc=yes
12914
-    ;;
12915
-  no:yes:* )
12916
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12917
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12918
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12919
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12920
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12921
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12922
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12923
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12924
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12925
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12926
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12927
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12928
-
12929
-    ;;
12930
-esac
12931
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12932
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12933
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12934
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12935
-else
12936
-  eval "$as_ac_Header=\$ac_header_preproc"
12937
-fi
12938
-ac_res=`eval echo '${'$as_ac_Header'}'`
12939
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
12940
-echo "${ECHO_T}$ac_res" >&6; }
12941
 
12942
-fi
12943
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
12944
+  for ac_header in $ac_header_list
12945
+do :
12946
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12947
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12948
+"
12949
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12950
   cat >>confdefs.h <<_ACEOF
12951
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12952
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12953
 _ACEOF
12954
 
12955
 fi
12956
@@ -11872,112 +6518,32 @@ fi
12957
 done
12958
 
12959
 
12960
-for ac_func in getpagesize
12961
-do
12962
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12963
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
12964
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12965
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12966
-  echo $ECHO_N "(cached) $ECHO_C" >&6
12967
-else
12968
-  cat >conftest.$ac_ext <<_ACEOF
12969
-/* confdefs.h.  */
12970
-_ACEOF
12971
-cat confdefs.h >>conftest.$ac_ext
12972
-cat >>conftest.$ac_ext <<_ACEOF
12973
-/* end confdefs.h.  */
12974
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12975
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12976
-#define $ac_func innocuous_$ac_func
12977
 
12978
-/* System header to define __stub macros and hopefully few prototypes,
12979
-    which can conflict with char $ac_func (); below.
12980
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12981
-    <limits.h> exists even on freestanding compilers.  */
12982
 
12983
-#ifdef __STDC__
12984
-# include <limits.h>
12985
-#else
12986
-# include <assert.h>
12987
-#endif
12988
 
12989
-#undef $ac_func
12990
 
12991
-/* Override any GCC internal prototype to avoid an error.
12992
-   Use char because int might match the return type of a GCC
12993
-   builtin and then its argument prototype would still apply.  */
12994
-#ifdef __cplusplus
12995
-extern "C"
12996
-#endif
12997
-char $ac_func ();
12998
-/* The GNU C library defines this for functions which it implements
12999
-    to always fail with ENOSYS.  Some functions are actually named
13000
-    something starting with __ and the normal name is an alias.  */
13001
-#if defined __stub_$ac_func || defined __stub___$ac_func
13002
-choke me
13003
-#endif
13004
 
13005
-int
13006
-main ()
13007
-{
13008
-return $ac_func ();
13009
-  ;
13010
-  return 0;
13011
-}
13012
-_ACEOF
13013
-rm -f conftest.$ac_objext conftest$ac_exeext
13014
-if { (ac_try="$ac_link"
13015
-case "(($ac_try" in
13016
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13017
-  *) ac_try_echo=$ac_try;;
13018
-esac
13019
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13020
-  (eval "$ac_link") 2>conftest.er1
13021
-  ac_status=$?
13022
-  grep -v '^ *+' conftest.er1 >conftest.err
13023
-  rm -f conftest.er1
13024
-  cat conftest.err >&5
13025
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026
-  (exit $ac_status); } && {
13027
-	 test -z "$ac_c_werror_flag" ||
13028
-	 test ! -s conftest.err
13029
-       } && test -s conftest$ac_exeext &&
13030
-       $as_test_x conftest$ac_exeext; then
13031
-  eval "$as_ac_var=yes"
13032
-else
13033
-  echo "$as_me: failed program was:" >&5
13034
-sed 's/^/| /' conftest.$ac_ext >&5
13035
 
13036
-	eval "$as_ac_var=no"
13037
-fi
13038
-
13039
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13040
-      conftest$ac_exeext conftest.$ac_ext
13041
-fi
13042
-ac_res=`eval echo '${'$as_ac_var'}'`
13043
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13044
-echo "${ECHO_T}$ac_res" >&6; }
13045
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13046
+for ac_func in getpagesize
13047
+do :
13048
+  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13049
+if test "x$ac_cv_func_getpagesize" = xyes; then :
13050
   cat >>confdefs.h <<_ACEOF
13051
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13052
+#define HAVE_GETPAGESIZE 1
13053
 _ACEOF
13054
 
13055
 fi
13056
 done
13057
 
13058
-{ echo "$as_me:$LINENO: checking for working mmap" >&5
13059
-echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
13060
-if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
13061
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13062
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13063
+$as_echo_n "checking for working mmap... " >&6; }
13064
+if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
13065
+  $as_echo_n "(cached) " >&6
13066
 else
13067
-  if test "$cross_compiling" = yes; then
13068
+  if test "$cross_compiling" = yes; then :
13069
   ac_cv_func_mmap_fixed_mapped=no
13070
 else
13071
-  cat >conftest.$ac_ext <<_ACEOF
13072
-/* confdefs.h.  */
13073
-_ACEOF
13074
-cat confdefs.h >>conftest.$ac_ext
13075
-cat >>conftest.$ac_ext <<_ACEOF
13076
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13077
 /* end confdefs.h.  */
13078
 $ac_includes_default
13079
 /* malloc might have been renamed as rpl_malloc. */
13080
@@ -12014,11 +6580,6 @@ char *malloc ();
13081
 
13082
 /* This mess was copied from the GNU getpagesize.h.  */
13083
 #ifndef HAVE_GETPAGESIZE
13084
-/* Assume that all systems that can run configure have sys/param.h.  */
13085
-# ifndef HAVE_SYS_PARAM_H
13086
-#  define HAVE_SYS_PARAM_H 1
13087
-# endif
13088
-
13089
 # ifdef _SC_PAGESIZE
13090
 #  define getpagesize() sysconf(_SC_PAGESIZE)
13091
 # else /* no _SC_PAGESIZE */
13092
@@ -12053,8 +6614,9 @@ int
13093
 main ()
13094
 {
13095
   char *data, *data2, *data3;
13096
+  const char *cdata2;
13097
   int i, pagesize;
13098
-  int fd;
13099
+  int fd, fd2;
13100
 
13101
   pagesize = getpagesize ();
13102
 
13103
@@ -12067,27 +6629,41 @@ main ()
13104
   umask (0);
13105
   fd = creat ("conftest.mmap", 0600);
13106
   if (fd < 0)
13107
-    return 1;
13108
+    return 2;
13109
   if (write (fd, data, pagesize) != pagesize)
13110
-    return 1;
13111
+    return 3;
13112
   close (fd);
13113
 
13114
+  /* Next, check that the tail of a page is zero-filled.  File must have
13115
+     non-zero length, otherwise we risk SIGBUS for entire page.  */
13116
+  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13117
+  if (fd2 < 0)
13118
+    return 4;
13119
+  cdata2 = "";
13120
+  if (write (fd2, cdata2, 1) != 1)
13121
+    return 5;
13122
+  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13123
+  if (data2 == MAP_FAILED)
13124
+    return 6;
13125
+  for (i = 0; i < pagesize; ++i)
13126
+    if (*(data2 + i))
13127
+      return 7;
13128
+  close (fd2);
13129
+  if (munmap (data2, pagesize))
13130
+    return 8;
13131
+
13132
   /* Next, try to mmap the file at a fixed address which already has
13133
      something else allocated at it.  If we can, also make sure that
13134
      we see the same garbage.  */
13135
   fd = open ("conftest.mmap", O_RDWR);
13136
   if (fd < 0)
13137
-    return 1;
13138
-  data2 = (char *) malloc (2 * pagesize);
13139
-  if (!data2)
13140
-    return 1;
13141
-  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
13142
+    return 9;
13143
   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13144
 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
13145
-    return 1;
13146
+    return 10;
13147
   for (i = 0; i < pagesize; ++i)
13148
     if (*(data + i) != *(data2 + i))
13149
-      return 1;
13150
+      return 11;
13151
 
13152
   /* Finally, make sure that changes to the mapped area do not
13153
      percolate back to the file as seen by read().  (This is a bug on
13154
@@ -12096,166 +6672,53 @@ main ()
13155
     *(data2 + i) = *(data2 + i) + 1;
13156
   data3 = (char *) malloc (pagesize);
13157
   if (!data3)
13158
-    return 1;
13159
+    return 12;
13160
   if (read (fd, data3, pagesize) != pagesize)
13161
-    return 1;
13162
+    return 13;
13163
   for (i = 0; i < pagesize; ++i)
13164
     if (*(data + i) != *(data3 + i))
13165
-      return 1;
13166
+      return 14;
13167
   close (fd);
13168
   return 0;
13169
 }
13170
 _ACEOF
13171
-rm -f conftest$ac_exeext
13172
-if { (ac_try="$ac_link"
13173
-case "(($ac_try" in
13174
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13175
-  *) ac_try_echo=$ac_try;;
13176
-esac
13177
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13178
-  (eval "$ac_link") 2>&5
13179
-  ac_status=$?
13180
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13182
-  { (case "(($ac_try" in
13183
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184
-  *) ac_try_echo=$ac_try;;
13185
-esac
13186
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187
-  (eval "$ac_try") 2>&5
13188
-  ac_status=$?
13189
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190
-  (exit $ac_status); }; }; then
13191
+if ac_fn_c_try_run "$LINENO"; then :
13192
   ac_cv_func_mmap_fixed_mapped=yes
13193
 else
13194
-  echo "$as_me: program exited with status $ac_status" >&5
13195
-echo "$as_me: failed program was:" >&5
13196
-sed 's/^/| /' conftest.$ac_ext >&5
13197
-
13198
-( exit $ac_status )
13199
-ac_cv_func_mmap_fixed_mapped=no
13200
+  ac_cv_func_mmap_fixed_mapped=no
13201
 fi
13202
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13203
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13204
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
13205
 fi
13206
 
13207
-
13208
 fi
13209
-{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
13210
-echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
13211
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13212
+$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13213
 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13214
 
13215
-cat >>confdefs.h <<\_ACEOF
13216
-#define HAVE_MMAP 1
13217
-_ACEOF
13218
+$as_echo "#define HAVE_MMAP 1" >>confdefs.h
13219
 
13220
 fi
13221
-rm -f conftest.mmap
13222
-
13223
+rm -f conftest.mmap conftest.txt
13224
 
13225
 for ac_func in strftime
13226
-do
13227
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13228
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13229
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13230
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13231
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13232
-else
13233
-  cat >conftest.$ac_ext <<_ACEOF
13234
-/* confdefs.h.  */
13235
-_ACEOF
13236
-cat confdefs.h >>conftest.$ac_ext
13237
-cat >>conftest.$ac_ext <<_ACEOF
13238
-/* end confdefs.h.  */
13239
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13240
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13241
-#define $ac_func innocuous_$ac_func
13242
-
13243
-/* System header to define __stub macros and hopefully few prototypes,
13244
-    which can conflict with char $ac_func (); below.
13245
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13246
-    <limits.h> exists even on freestanding compilers.  */
13247
-
13248
-#ifdef __STDC__
13249
-# include <limits.h>
13250
-#else
13251
-# include <assert.h>
13252
-#endif
13253
-
13254
-#undef $ac_func
13255
-
13256
-/* Override any GCC internal prototype to avoid an error.
13257
-   Use char because int might match the return type of a GCC
13258
-   builtin and then its argument prototype would still apply.  */
13259
-#ifdef __cplusplus
13260
-extern "C"
13261
-#endif
13262
-char $ac_func ();
13263
-/* The GNU C library defines this for functions which it implements
13264
-    to always fail with ENOSYS.  Some functions are actually named
13265
-    something starting with __ and the normal name is an alias.  */
13266
-#if defined __stub_$ac_func || defined __stub___$ac_func
13267
-choke me
13268
-#endif
13269
-
13270
-int
13271
-main ()
13272
-{
13273
-return $ac_func ();
13274
-  ;
13275
-  return 0;
13276
-}
13277
-_ACEOF
13278
-rm -f conftest.$ac_objext conftest$ac_exeext
13279
-if { (ac_try="$ac_link"
13280
-case "(($ac_try" in
13281
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282
-  *) ac_try_echo=$ac_try;;
13283
-esac
13284
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13285
-  (eval "$ac_link") 2>conftest.er1
13286
-  ac_status=$?
13287
-  grep -v '^ *+' conftest.er1 >conftest.err
13288
-  rm -f conftest.er1
13289
-  cat conftest.err >&5
13290
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291
-  (exit $ac_status); } && {
13292
-	 test -z "$ac_c_werror_flag" ||
13293
-	 test ! -s conftest.err
13294
-       } && test -s conftest$ac_exeext &&
13295
-       $as_test_x conftest$ac_exeext; then
13296
-  eval "$as_ac_var=yes"
13297
-else
13298
-  echo "$as_me: failed program was:" >&5
13299
-sed 's/^/| /' conftest.$ac_ext >&5
13300
-
13301
-	eval "$as_ac_var=no"
13302
-fi
13303
-
13304
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13305
-      conftest$ac_exeext conftest.$ac_ext
13306
-fi
13307
-ac_res=`eval echo '${'$as_ac_var'}'`
13308
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13309
-echo "${ECHO_T}$ac_res" >&6; }
13310
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13311
+do :
13312
+  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
13313
+if test "x$ac_cv_func_strftime" = xyes; then :
13314
   cat >>confdefs.h <<_ACEOF
13315
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13316
+#define HAVE_STRFTIME 1
13317
 _ACEOF
13318
 
13319
 else
13320
   # strftime is in -lintl on SCO UNIX.
13321
-{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
13322
-echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
13323
-if test "${ac_cv_lib_intl_strftime+set}" = set; then
13324
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13325
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
13326
+$as_echo_n "checking for strftime in -lintl... " >&6; }
13327
+if ${ac_cv_lib_intl_strftime+:} false; then :
13328
+  $as_echo_n "(cached) " >&6
13329
 else
13330
   ac_check_lib_save_LIBS=$LIBS
13331
 LIBS="-lintl  $LIBS"
13332
-cat >conftest.$ac_ext <<_ACEOF
13333
-/* confdefs.h.  */
13334
-_ACEOF
13335
-cat confdefs.h >>conftest.$ac_ext
13336
-cat >>conftest.$ac_ext <<_ACEOF
13337
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338
 /* end confdefs.h.  */
13339
 
13340
 /* Override any GCC internal prototype to avoid an error.
13341
@@ -12273,42 +6736,19 @@ return strftime ();
13342
   return 0;
13343
 }
13344
 _ACEOF
13345
-rm -f conftest.$ac_objext conftest$ac_exeext
13346
-if { (ac_try="$ac_link"
13347
-case "(($ac_try" in
13348
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13349
-  *) ac_try_echo=$ac_try;;
13350
-esac
13351
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13352
-  (eval "$ac_link") 2>conftest.er1
13353
-  ac_status=$?
13354
-  grep -v '^ *+' conftest.er1 >conftest.err
13355
-  rm -f conftest.er1
13356
-  cat conftest.err >&5
13357
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358
-  (exit $ac_status); } && {
13359
-	 test -z "$ac_c_werror_flag" ||
13360
-	 test ! -s conftest.err
13361
-       } && test -s conftest$ac_exeext &&
13362
-       $as_test_x conftest$ac_exeext; then
13363
+if ac_fn_c_try_link "$LINENO"; then :
13364
   ac_cv_lib_intl_strftime=yes
13365
 else
13366
-  echo "$as_me: failed program was:" >&5
13367
-sed 's/^/| /' conftest.$ac_ext >&5
13368
-
13369
-	ac_cv_lib_intl_strftime=no
13370
+  ac_cv_lib_intl_strftime=no
13371
 fi
13372
-
13373
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13374
-      conftest$ac_exeext conftest.$ac_ext
13375
+rm -f core conftest.err conftest.$ac_objext \
13376
+    conftest$ac_exeext conftest.$ac_ext
13377
 LIBS=$ac_check_lib_save_LIBS
13378
 fi
13379
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
13380
-echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
13381
-if test $ac_cv_lib_intl_strftime = yes; then
13382
-  cat >>confdefs.h <<\_ACEOF
13383
-#define HAVE_STRFTIME 1
13384
-_ACEOF
13385
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
13386
+$as_echo "$ac_cv_lib_intl_strftime" >&6; }
13387
+if test "x$ac_cv_lib_intl_strftime" = xyes; then :
13388
+  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13389
 
13390
 LIBS="-lintl $LIBS"
13391
 fi
13392
@@ -12316,1543 +6756,190 @@ fi
13393
 fi
13394
 done
13395
 
13396
-
13397
-
13398
-
13399
 for ac_func in gethostbyaddr herror strerror
13400
-do
13401
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13402
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13403
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13404
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13405
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13406
-else
13407
-  cat >conftest.$ac_ext <<_ACEOF
13408
-/* confdefs.h.  */
13409
-_ACEOF
13410
-cat confdefs.h >>conftest.$ac_ext
13411
-cat >>conftest.$ac_ext <<_ACEOF
13412
-/* end confdefs.h.  */
13413
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13414
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13415
-#define $ac_func innocuous_$ac_func
13416
-
13417
-/* System header to define __stub macros and hopefully few prototypes,
13418
-    which can conflict with char $ac_func (); below.
13419
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13420
-    <limits.h> exists even on freestanding compilers.  */
13421
-
13422
-#ifdef __STDC__
13423
-# include <limits.h>
13424
-#else
13425
-# include <assert.h>
13426
-#endif
13427
-
13428
-#undef $ac_func
13429
-
13430
-/* Override any GCC internal prototype to avoid an error.
13431
-   Use char because int might match the return type of a GCC
13432
-   builtin and then its argument prototype would still apply.  */
13433
-#ifdef __cplusplus
13434
-extern "C"
13435
-#endif
13436
-char $ac_func ();
13437
-/* The GNU C library defines this for functions which it implements
13438
-    to always fail with ENOSYS.  Some functions are actually named
13439
-    something starting with __ and the normal name is an alias.  */
13440
-#if defined __stub_$ac_func || defined __stub___$ac_func
13441
-choke me
13442
-#endif
13443
-
13444
-int
13445
-main ()
13446
-{
13447
-return $ac_func ();
13448
-  ;
13449
-  return 0;
13450
-}
13451
-_ACEOF
13452
-rm -f conftest.$ac_objext conftest$ac_exeext
13453
-if { (ac_try="$ac_link"
13454
-case "(($ac_try" in
13455
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456
-  *) ac_try_echo=$ac_try;;
13457
-esac
13458
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13459
-  (eval "$ac_link") 2>conftest.er1
13460
-  ac_status=$?
13461
-  grep -v '^ *+' conftest.er1 >conftest.err
13462
-  rm -f conftest.er1
13463
-  cat conftest.err >&5
13464
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465
-  (exit $ac_status); } && {
13466
-	 test -z "$ac_c_werror_flag" ||
13467
-	 test ! -s conftest.err
13468
-       } && test -s conftest$ac_exeext &&
13469
-       $as_test_x conftest$ac_exeext; then
13470
-  eval "$as_ac_var=yes"
13471
-else
13472
-  echo "$as_me: failed program was:" >&5
13473
-sed 's/^/| /' conftest.$ac_ext >&5
13474
-
13475
-	eval "$as_ac_var=no"
13476
-fi
13477
-
13478
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13479
-      conftest$ac_exeext conftest.$ac_ext
13480
-fi
13481
-ac_res=`eval echo '${'$as_ac_var'}'`
13482
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13483
-echo "${ECHO_T}$ac_res" >&6; }
13484
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13485
+do :
13486
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13487
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13488
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13489
   cat >>confdefs.h <<_ACEOF
13490
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13491
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13492
 _ACEOF
13493
 
13494
 fi
13495
 done
13496
 
13497
-
13498
-
13499
-
13500
-
13501
-
13502
-
13503
-
13504
 for ac_func in popen uname access chmod alarm timegm mremap
13505
-do
13506
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13507
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13508
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13509
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13510
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13511
-else
13512
-  cat >conftest.$ac_ext <<_ACEOF
13513
-/* confdefs.h.  */
13514
-_ACEOF
13515
-cat confdefs.h >>conftest.$ac_ext
13516
-cat >>conftest.$ac_ext <<_ACEOF
13517
-/* end confdefs.h.  */
13518
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13519
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13520
-#define $ac_func innocuous_$ac_func
13521
-
13522
-/* System header to define __stub macros and hopefully few prototypes,
13523
-    which can conflict with char $ac_func (); below.
13524
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13525
-    <limits.h> exists even on freestanding compilers.  */
13526
-
13527
-#ifdef __STDC__
13528
-# include <limits.h>
13529
-#else
13530
-# include <assert.h>
13531
-#endif
13532
-
13533
-#undef $ac_func
13534
-
13535
-/* Override any GCC internal prototype to avoid an error.
13536
-   Use char because int might match the return type of a GCC
13537
-   builtin and then its argument prototype would still apply.  */
13538
-#ifdef __cplusplus
13539
-extern "C"
13540
-#endif
13541
-char $ac_func ();
13542
-/* The GNU C library defines this for functions which it implements
13543
-    to always fail with ENOSYS.  Some functions are actually named
13544
-    something starting with __ and the normal name is an alias.  */
13545
-#if defined __stub_$ac_func || defined __stub___$ac_func
13546
-choke me
13547
-#endif
13548
-
13549
-int
13550
-main ()
13551
-{
13552
-return $ac_func ();
13553
-  ;
13554
-  return 0;
13555
-}
13556
-_ACEOF
13557
-rm -f conftest.$ac_objext conftest$ac_exeext
13558
-if { (ac_try="$ac_link"
13559
-case "(($ac_try" in
13560
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13561
-  *) ac_try_echo=$ac_try;;
13562
-esac
13563
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13564
-  (eval "$ac_link") 2>conftest.er1
13565
-  ac_status=$?
13566
-  grep -v '^ *+' conftest.er1 >conftest.err
13567
-  rm -f conftest.er1
13568
-  cat conftest.err >&5
13569
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570
-  (exit $ac_status); } && {
13571
-	 test -z "$ac_c_werror_flag" ||
13572
-	 test ! -s conftest.err
13573
-       } && test -s conftest$ac_exeext &&
13574
-       $as_test_x conftest$ac_exeext; then
13575
-  eval "$as_ac_var=yes"
13576
-else
13577
-  echo "$as_me: failed program was:" >&5
13578
-sed 's/^/| /' conftest.$ac_ext >&5
13579
-
13580
-	eval "$as_ac_var=no"
13581
-fi
13582
-
13583
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13584
-      conftest$ac_exeext conftest.$ac_ext
13585
-fi
13586
-ac_res=`eval echo '${'$as_ac_var'}'`
13587
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13588
-echo "${ECHO_T}$ac_res" >&6; }
13589
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13590
+do :
13591
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13592
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13593
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13594
   cat >>confdefs.h <<_ACEOF
13595
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13596
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13597
 _ACEOF
13598
 
13599
 fi
13600
 done
13601
 
13602
-
13603
-
13604
-
13605
-
13606
-
13607
-
13608
 for ac_func in strcasecmp strncasecmp strcasestr strstr strchr strrchr
13609
-do
13610
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13611
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13612
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13613
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13614
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13615
-else
13616
-  cat >conftest.$ac_ext <<_ACEOF
13617
-/* confdefs.h.  */
13618
-_ACEOF
13619
-cat confdefs.h >>conftest.$ac_ext
13620
-cat >>conftest.$ac_ext <<_ACEOF
13621
-/* end confdefs.h.  */
13622
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13623
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13624
-#define $ac_func innocuous_$ac_func
13625
-
13626
-/* System header to define __stub macros and hopefully few prototypes,
13627
-    which can conflict with char $ac_func (); below.
13628
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13629
-    <limits.h> exists even on freestanding compilers.  */
13630
-
13631
-#ifdef __STDC__
13632
-# include <limits.h>
13633
-#else
13634
-# include <assert.h>
13635
-#endif
13636
-
13637
-#undef $ac_func
13638
-
13639
-/* Override any GCC internal prototype to avoid an error.
13640
-   Use char because int might match the return type of a GCC
13641
-   builtin and then its argument prototype would still apply.  */
13642
-#ifdef __cplusplus
13643
-extern "C"
13644
-#endif
13645
-char $ac_func ();
13646
-/* The GNU C library defines this for functions which it implements
13647
-    to always fail with ENOSYS.  Some functions are actually named
13648
-    something starting with __ and the normal name is an alias.  */
13649
-#if defined __stub_$ac_func || defined __stub___$ac_func
13650
-choke me
13651
-#endif
13652
-
13653
-int
13654
-main ()
13655
-{
13656
-return $ac_func ();
13657
-  ;
13658
-  return 0;
13659
-}
13660
-_ACEOF
13661
-rm -f conftest.$ac_objext conftest$ac_exeext
13662
-if { (ac_try="$ac_link"
13663
-case "(($ac_try" in
13664
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13665
-  *) ac_try_echo=$ac_try;;
13666
-esac
13667
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13668
-  (eval "$ac_link") 2>conftest.er1
13669
-  ac_status=$?
13670
-  grep -v '^ *+' conftest.er1 >conftest.err
13671
-  rm -f conftest.er1
13672
-  cat conftest.err >&5
13673
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674
-  (exit $ac_status); } && {
13675
-	 test -z "$ac_c_werror_flag" ||
13676
-	 test ! -s conftest.err
13677
-       } && test -s conftest$ac_exeext &&
13678
-       $as_test_x conftest$ac_exeext; then
13679
-  eval "$as_ac_var=yes"
13680
-else
13681
-  echo "$as_me: failed program was:" >&5
13682
-sed 's/^/| /' conftest.$ac_ext >&5
13683
-
13684
-	eval "$as_ac_var=no"
13685
-fi
13686
-
13687
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13688
-      conftest$ac_exeext conftest.$ac_ext
13689
-fi
13690
-ac_res=`eval echo '${'$as_ac_var'}'`
13691
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13692
-echo "${ECHO_T}$ac_res" >&6; }
13693
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13694
+do :
13695
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13696
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13697
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13698
   cat >>confdefs.h <<_ACEOF
13699
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13700
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13701
 _ACEOF
13702
 
13703
 fi
13704
 done
13705
 
13706
-
13707
-
13708
-
13709
-
13710
-
13711
-
13712
-
13713
-
13714
 for ac_func in memmove bcopy stpcpy strdup index isdigit mempcpy memrchr
13715
-do
13716
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13717
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13718
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13719
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13720
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13721
-else
13722
-  cat >conftest.$ac_ext <<_ACEOF
13723
-/* confdefs.h.  */
13724
-_ACEOF
13725
-cat confdefs.h >>conftest.$ac_ext
13726
-cat >>conftest.$ac_ext <<_ACEOF
13727
-/* end confdefs.h.  */
13728
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13729
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13730
-#define $ac_func innocuous_$ac_func
13731
-
13732
-/* System header to define __stub macros and hopefully few prototypes,
13733
-    which can conflict with char $ac_func (); below.
13734
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13735
-    <limits.h> exists even on freestanding compilers.  */
13736
-
13737
-#ifdef __STDC__
13738
-# include <limits.h>
13739
-#else
13740
-# include <assert.h>
13741
-#endif
13742
-
13743
-#undef $ac_func
13744
-
13745
-/* Override any GCC internal prototype to avoid an error.
13746
-   Use char because int might match the return type of a GCC
13747
-   builtin and then its argument prototype would still apply.  */
13748
-#ifdef __cplusplus
13749
-extern "C"
13750
-#endif
13751
-char $ac_func ();
13752
-/* The GNU C library defines this for functions which it implements
13753
-    to always fail with ENOSYS.  Some functions are actually named
13754
-    something starting with __ and the normal name is an alias.  */
13755
-#if defined __stub_$ac_func || defined __stub___$ac_func
13756
-choke me
13757
-#endif
13758
-
13759
-int
13760
-main ()
13761
-{
13762
-return $ac_func ();
13763
-  ;
13764
-  return 0;
13765
-}
13766
-_ACEOF
13767
-rm -f conftest.$ac_objext conftest$ac_exeext
13768
-if { (ac_try="$ac_link"
13769
-case "(($ac_try" in
13770
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13771
-  *) ac_try_echo=$ac_try;;
13772
-esac
13773
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13774
-  (eval "$ac_link") 2>conftest.er1
13775
-  ac_status=$?
13776
-  grep -v '^ *+' conftest.er1 >conftest.err
13777
-  rm -f conftest.er1
13778
-  cat conftest.err >&5
13779
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780
-  (exit $ac_status); } && {
13781
-	 test -z "$ac_c_werror_flag" ||
13782
-	 test ! -s conftest.err
13783
-       } && test -s conftest$ac_exeext &&
13784
-       $as_test_x conftest$ac_exeext; then
13785
-  eval "$as_ac_var=yes"
13786
-else
13787
-  echo "$as_me: failed program was:" >&5
13788
-sed 's/^/| /' conftest.$ac_ext >&5
13789
-
13790
-	eval "$as_ac_var=no"
13791
-fi
13792
-
13793
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13794
-      conftest$ac_exeext conftest.$ac_ext
13795
-fi
13796
-ac_res=`eval echo '${'$as_ac_var'}'`
13797
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13798
-echo "${ECHO_T}$ac_res" >&6; }
13799
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13800
+do :
13801
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13802
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13803
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13804
   cat >>confdefs.h <<_ACEOF
13805
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13806
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13807
 _ACEOF
13808
 
13809
 fi
13810
 done
13811
 
13812
-
13813
-
13814
-
13815
-
13816
 for ac_func in snprintf vsnprintf asprintf vasprintf
13817
-do
13818
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13819
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13820
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13821
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13822
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13823
-else
13824
-  cat >conftest.$ac_ext <<_ACEOF
13825
-/* confdefs.h.  */
13826
-_ACEOF
13827
-cat confdefs.h >>conftest.$ac_ext
13828
-cat >>conftest.$ac_ext <<_ACEOF
13829
-/* end confdefs.h.  */
13830
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13831
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13832
-#define $ac_func innocuous_$ac_func
13833
-
13834
-/* System header to define __stub macros and hopefully few prototypes,
13835
-    which can conflict with char $ac_func (); below.
13836
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13837
-    <limits.h> exists even on freestanding compilers.  */
13838
-
13839
-#ifdef __STDC__
13840
-# include <limits.h>
13841
-#else
13842
-# include <assert.h>
13843
-#endif
13844
-
13845
-#undef $ac_func
13846
-
13847
-/* Override any GCC internal prototype to avoid an error.
13848
-   Use char because int might match the return type of a GCC
13849
-   builtin and then its argument prototype would still apply.  */
13850
-#ifdef __cplusplus
13851
-extern "C"
13852
-#endif
13853
-char $ac_func ();
13854
-/* The GNU C library defines this for functions which it implements
13855
-    to always fail with ENOSYS.  Some functions are actually named
13856
-    something starting with __ and the normal name is an alias.  */
13857
-#if defined __stub_$ac_func || defined __stub___$ac_func
13858
-choke me
13859
-#endif
13860
-
13861
-int
13862
-main ()
13863
-{
13864
-return $ac_func ();
13865
-  ;
13866
-  return 0;
13867
-}
13868
-_ACEOF
13869
-rm -f conftest.$ac_objext conftest$ac_exeext
13870
-if { (ac_try="$ac_link"
13871
-case "(($ac_try" in
13872
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13873
-  *) ac_try_echo=$ac_try;;
13874
-esac
13875
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13876
-  (eval "$ac_link") 2>conftest.er1
13877
-  ac_status=$?
13878
-  grep -v '^ *+' conftest.er1 >conftest.err
13879
-  rm -f conftest.er1
13880
-  cat conftest.err >&5
13881
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882
-  (exit $ac_status); } && {
13883
-	 test -z "$ac_c_werror_flag" ||
13884
-	 test ! -s conftest.err
13885
-       } && test -s conftest$ac_exeext &&
13886
-       $as_test_x conftest$ac_exeext; then
13887
-  eval "$as_ac_var=yes"
13888
-else
13889
-  echo "$as_me: failed program was:" >&5
13890
-sed 's/^/| /' conftest.$ac_ext >&5
13891
-
13892
-	eval "$as_ac_var=no"
13893
-fi
13894
-
13895
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13896
-      conftest$ac_exeext conftest.$ac_ext
13897
-fi
13898
-ac_res=`eval echo '${'$as_ac_var'}'`
13899
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13900
-echo "${ECHO_T}$ac_res" >&6; }
13901
-if test `eval echo '${'$as_ac_var'}'` = yes; then
13902
+do :
13903
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13904
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13905
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13906
   cat >>confdefs.h <<_ACEOF
13907
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13908
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13909
 _ACEOF
13910
 
13911
 fi
13912
 done
13913
 
13914
-
13915
-
13916
-
13917
-
13918
 for ac_func in getifaddrs getpwnam inet_pton inet_ntop
13919
-do
13920
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13921
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13922
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13923
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13924
-  echo $ECHO_N "(cached) $ECHO_C" >&6
13925
-else
13926
-  cat >conftest.$ac_ext <<_ACEOF
13927
-/* confdefs.h.  */
13928
-_ACEOF
13929
-cat confdefs.h >>conftest.$ac_ext
13930
-cat >>conftest.$ac_ext <<_ACEOF
13931
-/* end confdefs.h.  */
13932
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13933
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13934
-#define $ac_func innocuous_$ac_func
13935
-
13936
-/* System header to define __stub macros and hopefully few prototypes,
13937
-    which can conflict with char $ac_func (); below.
13938
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13939
-    <limits.h> exists even on freestanding compilers.  */
13940
-
13941
-#ifdef __STDC__
13942
-# include <limits.h>
13943
-#else
13944
-# include <assert.h>
13945
-#endif
13946
-
13947
-#undef $ac_func
13948
-
13949
-/* Override any GCC internal prototype to avoid an error.
13950
-   Use char because int might match the return type of a GCC
13951
-   builtin and then its argument prototype would still apply.  */
13952
-#ifdef __cplusplus
13953
-extern "C"
13954
-#endif
13955
-char $ac_func ();
13956
-/* The GNU C library defines this for functions which it implements
13957
-    to always fail with ENOSYS.  Some functions are actually named
13958
-    something starting with __ and the normal name is an alias.  */
13959
-#if defined __stub_$ac_func || defined __stub___$ac_func
13960
-choke me
13961
-#endif
13962
-
13963
-int
13964
-main ()
13965
-{
13966
-return $ac_func ();
13967
-  ;
13968
-  return 0;
13969
-}
13970
-_ACEOF
13971
-rm -f conftest.$ac_objext conftest$ac_exeext
13972
-if { (ac_try="$ac_link"
13973
-case "(($ac_try" in
13974
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13975
-  *) ac_try_echo=$ac_try;;
13976
-esac
13977
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13978
-  (eval "$ac_link") 2>conftest.er1
13979
-  ac_status=$?
13980
-  grep -v '^ *+' conftest.er1 >conftest.err
13981
-  rm -f conftest.er1
13982
-  cat conftest.err >&5
13983
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984
-  (exit $ac_status); } && {
13985
-	 test -z "$ac_c_werror_flag" ||
13986
-	 test ! -s conftest.err
13987
-       } && test -s conftest$ac_exeext &&
13988
-       $as_test_x conftest$ac_exeext; then
13989
-  eval "$as_ac_var=yes"
13990
-else
13991
-  echo "$as_me: failed program was:" >&5
13992
-sed 's/^/| /' conftest.$ac_ext >&5
13993
-
13994
-	eval "$as_ac_var=no"
13995
-fi
13996
-
13997
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13998
-      conftest$ac_exeext conftest.$ac_ext
13999
-fi
14000
-ac_res=`eval echo '${'$as_ac_var'}'`
14001
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14002
-echo "${ECHO_T}$ac_res" >&6; }
14003
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14004
+do :
14005
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14006
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14007
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14008
   cat >>confdefs.h <<_ACEOF
14009
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14010
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14011
 _ACEOF
14012
 
14013
 fi
14014
 done
14015
 
14016
-
14017
-
14018
-
14019
-
14020
-
14021
 for ac_func in fflush fsync fseeko ftello sigaction
14022
-do
14023
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14024
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14025
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14026
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14027
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14028
-else
14029
-  cat >conftest.$ac_ext <<_ACEOF
14030
-/* confdefs.h.  */
14031
-_ACEOF
14032
-cat confdefs.h >>conftest.$ac_ext
14033
-cat >>conftest.$ac_ext <<_ACEOF
14034
-/* end confdefs.h.  */
14035
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14036
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14037
-#define $ac_func innocuous_$ac_func
14038
-
14039
-/* System header to define __stub macros and hopefully few prototypes,
14040
-    which can conflict with char $ac_func (); below.
14041
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14042
-    <limits.h> exists even on freestanding compilers.  */
14043
-
14044
-#ifdef __STDC__
14045
-# include <limits.h>
14046
-#else
14047
-# include <assert.h>
14048
-#endif
14049
-
14050
-#undef $ac_func
14051
-
14052
-/* Override any GCC internal prototype to avoid an error.
14053
-   Use char because int might match the return type of a GCC
14054
-   builtin and then its argument prototype would still apply.  */
14055
-#ifdef __cplusplus
14056
-extern "C"
14057
-#endif
14058
-char $ac_func ();
14059
-/* The GNU C library defines this for functions which it implements
14060
-    to always fail with ENOSYS.  Some functions are actually named
14061
-    something starting with __ and the normal name is an alias.  */
14062
-#if defined __stub_$ac_func || defined __stub___$ac_func
14063
-choke me
14064
-#endif
14065
-
14066
-int
14067
-main ()
14068
-{
14069
-return $ac_func ();
14070
-  ;
14071
-  return 0;
14072
-}
14073
-_ACEOF
14074
-rm -f conftest.$ac_objext conftest$ac_exeext
14075
-if { (ac_try="$ac_link"
14076
-case "(($ac_try" in
14077
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14078
-  *) ac_try_echo=$ac_try;;
14079
-esac
14080
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14081
-  (eval "$ac_link") 2>conftest.er1
14082
-  ac_status=$?
14083
-  grep -v '^ *+' conftest.er1 >conftest.err
14084
-  rm -f conftest.er1
14085
-  cat conftest.err >&5
14086
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087
-  (exit $ac_status); } && {
14088
-	 test -z "$ac_c_werror_flag" ||
14089
-	 test ! -s conftest.err
14090
-       } && test -s conftest$ac_exeext &&
14091
-       $as_test_x conftest$ac_exeext; then
14092
-  eval "$as_ac_var=yes"
14093
-else
14094
-  echo "$as_me: failed program was:" >&5
14095
-sed 's/^/| /' conftest.$ac_ext >&5
14096
-
14097
-	eval "$as_ac_var=no"
14098
-fi
14099
-
14100
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14101
-      conftest$ac_exeext conftest.$ac_ext
14102
-fi
14103
-ac_res=`eval echo '${'$as_ac_var'}'`
14104
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14105
-echo "${ECHO_T}$ac_res" >&6; }
14106
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14107
+do :
14108
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14109
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14110
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14111
   cat >>confdefs.h <<_ACEOF
14112
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14113
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14114
 _ACEOF
14115
 
14116
 fi
14117
 done
14118
 
14119
-
14120
-
14121
 for ac_func in gettimeofday clock_gettime
14122
-do
14123
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14124
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14125
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14126
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14127
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14128
-else
14129
-  cat >conftest.$ac_ext <<_ACEOF
14130
-/* confdefs.h.  */
14131
-_ACEOF
14132
-cat confdefs.h >>conftest.$ac_ext
14133
-cat >>conftest.$ac_ext <<_ACEOF
14134
-/* end confdefs.h.  */
14135
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14136
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14137
-#define $ac_func innocuous_$ac_func
14138
-
14139
-/* System header to define __stub macros and hopefully few prototypes,
14140
-    which can conflict with char $ac_func (); below.
14141
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14142
-    <limits.h> exists even on freestanding compilers.  */
14143
-
14144
-#ifdef __STDC__
14145
-# include <limits.h>
14146
-#else
14147
-# include <assert.h>
14148
-#endif
14149
-
14150
-#undef $ac_func
14151
-
14152
-/* Override any GCC internal prototype to avoid an error.
14153
-   Use char because int might match the return type of a GCC
14154
-   builtin and then its argument prototype would still apply.  */
14155
-#ifdef __cplusplus
14156
-extern "C"
14157
-#endif
14158
-char $ac_func ();
14159
-/* The GNU C library defines this for functions which it implements
14160
-    to always fail with ENOSYS.  Some functions are actually named
14161
-    something starting with __ and the normal name is an alias.  */
14162
-#if defined __stub_$ac_func || defined __stub___$ac_func
14163
-choke me
14164
-#endif
14165
-
14166
-int
14167
-main ()
14168
-{
14169
-return $ac_func ();
14170
-  ;
14171
-  return 0;
14172
-}
14173
-_ACEOF
14174
-rm -f conftest.$ac_objext conftest$ac_exeext
14175
-if { (ac_try="$ac_link"
14176
-case "(($ac_try" in
14177
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14178
-  *) ac_try_echo=$ac_try;;
14179
-esac
14180
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14181
-  (eval "$ac_link") 2>conftest.er1
14182
-  ac_status=$?
14183
-  grep -v '^ *+' conftest.er1 >conftest.err
14184
-  rm -f conftest.er1
14185
-  cat conftest.err >&5
14186
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187
-  (exit $ac_status); } && {
14188
-	 test -z "$ac_c_werror_flag" ||
14189
-	 test ! -s conftest.err
14190
-       } && test -s conftest$ac_exeext &&
14191
-       $as_test_x conftest$ac_exeext; then
14192
-  eval "$as_ac_var=yes"
14193
-else
14194
-  echo "$as_me: failed program was:" >&5
14195
-sed 's/^/| /' conftest.$ac_ext >&5
14196
-
14197
-	eval "$as_ac_var=no"
14198
-fi
14199
-
14200
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14201
-      conftest$ac_exeext conftest.$ac_ext
14202
-fi
14203
-ac_res=`eval echo '${'$as_ac_var'}'`
14204
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14205
-echo "${ECHO_T}$ac_res" >&6; }
14206
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14207
+do :
14208
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14209
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14210
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14211
   cat >>confdefs.h <<_ACEOF
14212
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14213
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14214
 _ACEOF
14215
 
14216
 fi
14217
 done
14218
 
14219
 
14220
-
14221
 for ac_func in cygwin_conv_to_full_win32_path
14222
-do
14223
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14224
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14225
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14226
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14227
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14228
-else
14229
-  cat >conftest.$ac_ext <<_ACEOF
14230
-/* confdefs.h.  */
14231
-_ACEOF
14232
-cat confdefs.h >>conftest.$ac_ext
14233
-cat >>conftest.$ac_ext <<_ACEOF
14234
-/* end confdefs.h.  */
14235
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14236
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14237
-#define $ac_func innocuous_$ac_func
14238
-
14239
-/* System header to define __stub macros and hopefully few prototypes,
14240
-    which can conflict with char $ac_func (); below.
14241
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14242
-    <limits.h> exists even on freestanding compilers.  */
14243
-
14244
-#ifdef __STDC__
14245
-# include <limits.h>
14246
-#else
14247
-# include <assert.h>
14248
-#endif
14249
-
14250
-#undef $ac_func
14251
-
14252
-/* Override any GCC internal prototype to avoid an error.
14253
-   Use char because int might match the return type of a GCC
14254
-   builtin and then its argument prototype would still apply.  */
14255
-#ifdef __cplusplus
14256
-extern "C"
14257
-#endif
14258
-char $ac_func ();
14259
-/* The GNU C library defines this for functions which it implements
14260
-    to always fail with ENOSYS.  Some functions are actually named
14261
-    something starting with __ and the normal name is an alias.  */
14262
-#if defined __stub_$ac_func || defined __stub___$ac_func
14263
-choke me
14264
-#endif
14265
-
14266
-int
14267
-main ()
14268
-{
14269
-return $ac_func ();
14270
-  ;
14271
-  return 0;
14272
-}
14273
-_ACEOF
14274
-rm -f conftest.$ac_objext conftest$ac_exeext
14275
-if { (ac_try="$ac_link"
14276
-case "(($ac_try" in
14277
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278
-  *) ac_try_echo=$ac_try;;
14279
-esac
14280
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14281
-  (eval "$ac_link") 2>conftest.er1
14282
-  ac_status=$?
14283
-  grep -v '^ *+' conftest.er1 >conftest.err
14284
-  rm -f conftest.er1
14285
-  cat conftest.err >&5
14286
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287
-  (exit $ac_status); } && {
14288
-	 test -z "$ac_c_werror_flag" ||
14289
-	 test ! -s conftest.err
14290
-       } && test -s conftest$ac_exeext &&
14291
-       $as_test_x conftest$ac_exeext; then
14292
-  eval "$as_ac_var=yes"
14293
-else
14294
-  echo "$as_me: failed program was:" >&5
14295
-sed 's/^/| /' conftest.$ac_ext >&5
14296
-
14297
-	eval "$as_ac_var=no"
14298
-fi
14299
-
14300
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14301
-      conftest$ac_exeext conftest.$ac_ext
14302
-fi
14303
-ac_res=`eval echo '${'$as_ac_var'}'`
14304
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14305
-echo "${ECHO_T}$ac_res" >&6; }
14306
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14307
+do :
14308
+  ac_fn_c_check_func "$LINENO" "cygwin_conv_to_full_win32_path" "ac_cv_func_cygwin_conv_to_full_win32_path"
14309
+if test "x$ac_cv_func_cygwin_conv_to_full_win32_path" = xyes; then :
14310
   cat >>confdefs.h <<_ACEOF
14311
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14312
+#define HAVE_CYGWIN_CONV_TO_FULL_WIN32_PATH 1
14313
 _ACEOF
14314
 
14315
 fi
14316
 done
14317
 
14318
 
14319
-
14320
-
14321
 for ac_func in setenv putenv
14322
-do
14323
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14324
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14325
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14326
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14327
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14328
-else
14329
-  cat >conftest.$ac_ext <<_ACEOF
14330
-/* confdefs.h.  */
14331
-_ACEOF
14332
-cat confdefs.h >>conftest.$ac_ext
14333
-cat >>conftest.$ac_ext <<_ACEOF
14334
-/* end confdefs.h.  */
14335
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14336
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14337
-#define $ac_func innocuous_$ac_func
14338
-
14339
-/* System header to define __stub macros and hopefully few prototypes,
14340
-    which can conflict with char $ac_func (); below.
14341
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14342
-    <limits.h> exists even on freestanding compilers.  */
14343
-
14344
-#ifdef __STDC__
14345
-# include <limits.h>
14346
-#else
14347
-# include <assert.h>
14348
-#endif
14349
-
14350
-#undef $ac_func
14351
-
14352
-/* Override any GCC internal prototype to avoid an error.
14353
-   Use char because int might match the return type of a GCC
14354
-   builtin and then its argument prototype would still apply.  */
14355
-#ifdef __cplusplus
14356
-extern "C"
14357
-#endif
14358
-char $ac_func ();
14359
-/* The GNU C library defines this for functions which it implements
14360
-    to always fail with ENOSYS.  Some functions are actually named
14361
-    something starting with __ and the normal name is an alias.  */
14362
-#if defined __stub_$ac_func || defined __stub___$ac_func
14363
-choke me
14364
-#endif
14365
-
14366
-int
14367
-main ()
14368
-{
14369
-return $ac_func ();
14370
-  ;
14371
-  return 0;
14372
-}
14373
-_ACEOF
14374
-rm -f conftest.$ac_objext conftest$ac_exeext
14375
-if { (ac_try="$ac_link"
14376
-case "(($ac_try" in
14377
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378
-  *) ac_try_echo=$ac_try;;
14379
-esac
14380
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381
-  (eval "$ac_link") 2>conftest.er1
14382
-  ac_status=$?
14383
-  grep -v '^ *+' conftest.er1 >conftest.err
14384
-  rm -f conftest.er1
14385
-  cat conftest.err >&5
14386
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387
-  (exit $ac_status); } && {
14388
-	 test -z "$ac_c_werror_flag" ||
14389
-	 test ! -s conftest.err
14390
-       } && test -s conftest$ac_exeext &&
14391
-       $as_test_x conftest$ac_exeext; then
14392
-  eval "$as_ac_var=yes"
14393
-else
14394
-  echo "$as_me: failed program was:" >&5
14395
-sed 's/^/| /' conftest.$ac_ext >&5
14396
-
14397
-	eval "$as_ac_var=no"
14398
-fi
14399
-
14400
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14401
-      conftest$ac_exeext conftest.$ac_ext
14402
-fi
14403
-ac_res=`eval echo '${'$as_ac_var'}'`
14404
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14405
-echo "${ECHO_T}$ac_res" >&6; }
14406
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14407
+do :
14408
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14409
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14410
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14411
   cat >>confdefs.h <<_ACEOF
14412
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14413
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14414
 _ACEOF
14415
  HAVE_SETENV_OR_PUTENV=yes
14416
 fi
14417
 done
14418
 
14419
-
14420
 for ac_func in getuid
14421
-do
14422
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14423
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14424
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14425
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14426
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14427
-else
14428
-  cat >conftest.$ac_ext <<_ACEOF
14429
-/* confdefs.h.  */
14430
-_ACEOF
14431
-cat confdefs.h >>conftest.$ac_ext
14432
-cat >>conftest.$ac_ext <<_ACEOF
14433
-/* end confdefs.h.  */
14434
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14435
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14436
-#define $ac_func innocuous_$ac_func
14437
-
14438
-/* System header to define __stub macros and hopefully few prototypes,
14439
-    which can conflict with char $ac_func (); below.
14440
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14441
-    <limits.h> exists even on freestanding compilers.  */
14442
-
14443
-#ifdef __STDC__
14444
-# include <limits.h>
14445
-#else
14446
-# include <assert.h>
14447
-#endif
14448
-
14449
-#undef $ac_func
14450
-
14451
-/* Override any GCC internal prototype to avoid an error.
14452
-   Use char because int might match the return type of a GCC
14453
-   builtin and then its argument prototype would still apply.  */
14454
-#ifdef __cplusplus
14455
-extern "C"
14456
-#endif
14457
-char $ac_func ();
14458
-/* The GNU C library defines this for functions which it implements
14459
-    to always fail with ENOSYS.  Some functions are actually named
14460
-    something starting with __ and the normal name is an alias.  */
14461
-#if defined __stub_$ac_func || defined __stub___$ac_func
14462
-choke me
14463
-#endif
14464
-
14465
-int
14466
-main ()
14467
-{
14468
-return $ac_func ();
14469
-  ;
14470
-  return 0;
14471
-}
14472
-_ACEOF
14473
-rm -f conftest.$ac_objext conftest$ac_exeext
14474
-if { (ac_try="$ac_link"
14475
-case "(($ac_try" in
14476
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14477
-  *) ac_try_echo=$ac_try;;
14478
-esac
14479
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14480
-  (eval "$ac_link") 2>conftest.er1
14481
-  ac_status=$?
14482
-  grep -v '^ *+' conftest.er1 >conftest.err
14483
-  rm -f conftest.er1
14484
-  cat conftest.err >&5
14485
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486
-  (exit $ac_status); } && {
14487
-	 test -z "$ac_c_werror_flag" ||
14488
-	 test ! -s conftest.err
14489
-       } && test -s conftest$ac_exeext &&
14490
-       $as_test_x conftest$ac_exeext; then
14491
-  eval "$as_ac_var=yes"
14492
-else
14493
-  echo "$as_me: failed program was:" >&5
14494
-sed 's/^/| /' conftest.$ac_ext >&5
14495
-
14496
-	eval "$as_ac_var=no"
14497
-fi
14498
-
14499
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14500
-      conftest$ac_exeext conftest.$ac_ext
14501
-fi
14502
-ac_res=`eval echo '${'$as_ac_var'}'`
14503
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14504
-echo "${ECHO_T}$ac_res" >&6; }
14505
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14506
+do :
14507
+  ac_fn_c_check_func "$LINENO" "getuid" "ac_cv_func_getuid"
14508
+if test "x$ac_cv_func_getuid" = xyes; then :
14509
   cat >>confdefs.h <<_ACEOF
14510
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14511
+#define HAVE_GETUID 1
14512
 _ACEOF
14513
  HAVE_GETUID=yes
14514
 fi
14515
 done
14516
 
14517
-
14518
 for ac_func in geteuid
14519
-do
14520
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14521
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14522
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14523
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14524
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14525
-else
14526
-  cat >conftest.$ac_ext <<_ACEOF
14527
-/* confdefs.h.  */
14528
-_ACEOF
14529
-cat confdefs.h >>conftest.$ac_ext
14530
-cat >>conftest.$ac_ext <<_ACEOF
14531
-/* end confdefs.h.  */
14532
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14533
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14534
-#define $ac_func innocuous_$ac_func
14535
-
14536
-/* System header to define __stub macros and hopefully few prototypes,
14537
-    which can conflict with char $ac_func (); below.
14538
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14539
-    <limits.h> exists even on freestanding compilers.  */
14540
-
14541
-#ifdef __STDC__
14542
-# include <limits.h>
14543
-#else
14544
-# include <assert.h>
14545
-#endif
14546
-
14547
-#undef $ac_func
14548
-
14549
-/* Override any GCC internal prototype to avoid an error.
14550
-   Use char because int might match the return type of a GCC
14551
-   builtin and then its argument prototype would still apply.  */
14552
-#ifdef __cplusplus
14553
-extern "C"
14554
-#endif
14555
-char $ac_func ();
14556
-/* The GNU C library defines this for functions which it implements
14557
-    to always fail with ENOSYS.  Some functions are actually named
14558
-    something starting with __ and the normal name is an alias.  */
14559
-#if defined __stub_$ac_func || defined __stub___$ac_func
14560
-choke me
14561
-#endif
14562
-
14563
-int
14564
-main ()
14565
-{
14566
-return $ac_func ();
14567
-  ;
14568
-  return 0;
14569
-}
14570
-_ACEOF
14571
-rm -f conftest.$ac_objext conftest$ac_exeext
14572
-if { (ac_try="$ac_link"
14573
-case "(($ac_try" in
14574
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14575
-  *) ac_try_echo=$ac_try;;
14576
-esac
14577
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14578
-  (eval "$ac_link") 2>conftest.er1
14579
-  ac_status=$?
14580
-  grep -v '^ *+' conftest.er1 >conftest.err
14581
-  rm -f conftest.er1
14582
-  cat conftest.err >&5
14583
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584
-  (exit $ac_status); } && {
14585
-	 test -z "$ac_c_werror_flag" ||
14586
-	 test ! -s conftest.err
14587
-       } && test -s conftest$ac_exeext &&
14588
-       $as_test_x conftest$ac_exeext; then
14589
-  eval "$as_ac_var=yes"
14590
-else
14591
-  echo "$as_me: failed program was:" >&5
14592
-sed 's/^/| /' conftest.$ac_ext >&5
14593
-
14594
-	eval "$as_ac_var=no"
14595
-fi
14596
-
14597
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14598
-      conftest$ac_exeext conftest.$ac_ext
14599
-fi
14600
-ac_res=`eval echo '${'$as_ac_var'}'`
14601
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14602
-echo "${ECHO_T}$ac_res" >&6; }
14603
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14604
+do :
14605
+  ac_fn_c_check_func "$LINENO" "geteuid" "ac_cv_func_geteuid"
14606
+if test "x$ac_cv_func_geteuid" = xyes; then :
14607
   cat >>confdefs.h <<_ACEOF
14608
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14609
+#define HAVE_GETEUID 1
14610
 _ACEOF
14611
  HAVE_GETEUID=yes
14612
 fi
14613
 done
14614
 
14615
 
14616
-
14617
 for ac_func in getpid
14618
-do
14619
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14620
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14621
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14622
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14623
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14624
-else
14625
-  cat >conftest.$ac_ext <<_ACEOF
14626
-/* confdefs.h.  */
14627
-_ACEOF
14628
-cat confdefs.h >>conftest.$ac_ext
14629
-cat >>conftest.$ac_ext <<_ACEOF
14630
-/* end confdefs.h.  */
14631
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14632
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14633
-#define $ac_func innocuous_$ac_func
14634
-
14635
-/* System header to define __stub macros and hopefully few prototypes,
14636
-    which can conflict with char $ac_func (); below.
14637
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14638
-    <limits.h> exists even on freestanding compilers.  */
14639
-
14640
-#ifdef __STDC__
14641
-# include <limits.h>
14642
-#else
14643
-# include <assert.h>
14644
-#endif
14645
-
14646
-#undef $ac_func
14647
-
14648
-/* Override any GCC internal prototype to avoid an error.
14649
-   Use char because int might match the return type of a GCC
14650
-   builtin and then its argument prototype would still apply.  */
14651
-#ifdef __cplusplus
14652
-extern "C"
14653
-#endif
14654
-char $ac_func ();
14655
-/* The GNU C library defines this for functions which it implements
14656
-    to always fail with ENOSYS.  Some functions are actually named
14657
-    something starting with __ and the normal name is an alias.  */
14658
-#if defined __stub_$ac_func || defined __stub___$ac_func
14659
-choke me
14660
-#endif
14661
-
14662
-int
14663
-main ()
14664
-{
14665
-return $ac_func ();
14666
-  ;
14667
-  return 0;
14668
-}
14669
-_ACEOF
14670
-rm -f conftest.$ac_objext conftest$ac_exeext
14671
-if { (ac_try="$ac_link"
14672
-case "(($ac_try" in
14673
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14674
-  *) ac_try_echo=$ac_try;;
14675
-esac
14676
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14677
-  (eval "$ac_link") 2>conftest.er1
14678
-  ac_status=$?
14679
-  grep -v '^ *+' conftest.er1 >conftest.err
14680
-  rm -f conftest.er1
14681
-  cat conftest.err >&5
14682
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683
-  (exit $ac_status); } && {
14684
-	 test -z "$ac_c_werror_flag" ||
14685
-	 test ! -s conftest.err
14686
-       } && test -s conftest$ac_exeext &&
14687
-       $as_test_x conftest$ac_exeext; then
14688
-  eval "$as_ac_var=yes"
14689
-else
14690
-  echo "$as_me: failed program was:" >&5
14691
-sed 's/^/| /' conftest.$ac_ext >&5
14692
-
14693
-	eval "$as_ac_var=no"
14694
-fi
14695
-
14696
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14697
-      conftest$ac_exeext conftest.$ac_ext
14698
-fi
14699
-ac_res=`eval echo '${'$as_ac_var'}'`
14700
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14701
-echo "${ECHO_T}$ac_res" >&6; }
14702
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14703
+do :
14704
+  ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid"
14705
+if test "x$ac_cv_func_getpid" = xyes; then :
14706
   cat >>confdefs.h <<_ACEOF
14707
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14708
+#define HAVE_GETPID 1
14709
 _ACEOF
14710
  HAVE_GETPID=yes
14711
 fi
14712
 done
14713
 
14714
-
14715
-
14716
-
14717
-
14718
 for ac_func in setpgid getpgid setpgrp getpgrp
14719
-do
14720
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14721
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14722
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14723
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14724
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14725
-else
14726
-  cat >conftest.$ac_ext <<_ACEOF
14727
-/* confdefs.h.  */
14728
-_ACEOF
14729
-cat confdefs.h >>conftest.$ac_ext
14730
-cat >>conftest.$ac_ext <<_ACEOF
14731
-/* end confdefs.h.  */
14732
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14733
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14734
-#define $ac_func innocuous_$ac_func
14735
-
14736
-/* System header to define __stub macros and hopefully few prototypes,
14737
-    which can conflict with char $ac_func (); below.
14738
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14739
-    <limits.h> exists even on freestanding compilers.  */
14740
-
14741
-#ifdef __STDC__
14742
-# include <limits.h>
14743
-#else
14744
-# include <assert.h>
14745
-#endif
14746
-
14747
-#undef $ac_func
14748
-
14749
-/* Override any GCC internal prototype to avoid an error.
14750
-   Use char because int might match the return type of a GCC
14751
-   builtin and then its argument prototype would still apply.  */
14752
-#ifdef __cplusplus
14753
-extern "C"
14754
-#endif
14755
-char $ac_func ();
14756
-/* The GNU C library defines this for functions which it implements
14757
-    to always fail with ENOSYS.  Some functions are actually named
14758
-    something starting with __ and the normal name is an alias.  */
14759
-#if defined __stub_$ac_func || defined __stub___$ac_func
14760
-choke me
14761
-#endif
14762
-
14763
-int
14764
-main ()
14765
-{
14766
-return $ac_func ();
14767
-  ;
14768
-  return 0;
14769
-}
14770
-_ACEOF
14771
-rm -f conftest.$ac_objext conftest$ac_exeext
14772
-if { (ac_try="$ac_link"
14773
-case "(($ac_try" in
14774
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14775
-  *) ac_try_echo=$ac_try;;
14776
-esac
14777
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14778
-  (eval "$ac_link") 2>conftest.er1
14779
-  ac_status=$?
14780
-  grep -v '^ *+' conftest.er1 >conftest.err
14781
-  rm -f conftest.er1
14782
-  cat conftest.err >&5
14783
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784
-  (exit $ac_status); } && {
14785
-	 test -z "$ac_c_werror_flag" ||
14786
-	 test ! -s conftest.err
14787
-       } && test -s conftest$ac_exeext &&
14788
-       $as_test_x conftest$ac_exeext; then
14789
-  eval "$as_ac_var=yes"
14790
-else
14791
-  echo "$as_me: failed program was:" >&5
14792
-sed 's/^/| /' conftest.$ac_ext >&5
14793
-
14794
-	eval "$as_ac_var=no"
14795
-fi
14796
-
14797
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14798
-      conftest$ac_exeext conftest.$ac_ext
14799
-fi
14800
-ac_res=`eval echo '${'$as_ac_var'}'`
14801
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14802
-echo "${ECHO_T}$ac_res" >&6; }
14803
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14804
+do :
14805
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14806
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14807
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14808
   cat >>confdefs.h <<_ACEOF
14809
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14810
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14811
 _ACEOF
14812
 
14813
 fi
14814
 done
14815
 
14816
-
14817
 for ac_func in raise
14818
-do
14819
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14820
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14821
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14822
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14823
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14824
-else
14825
-  cat >conftest.$ac_ext <<_ACEOF
14826
-/* confdefs.h.  */
14827
-_ACEOF
14828
-cat confdefs.h >>conftest.$ac_ext
14829
-cat >>conftest.$ac_ext <<_ACEOF
14830
-/* end confdefs.h.  */
14831
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14832
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14833
-#define $ac_func innocuous_$ac_func
14834
-
14835
-/* System header to define __stub macros and hopefully few prototypes,
14836
-    which can conflict with char $ac_func (); below.
14837
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14838
-    <limits.h> exists even on freestanding compilers.  */
14839
-
14840
-#ifdef __STDC__
14841
-# include <limits.h>
14842
-#else
14843
-# include <assert.h>
14844
-#endif
14845
-
14846
-#undef $ac_func
14847
-
14848
-/* Override any GCC internal prototype to avoid an error.
14849
-   Use char because int might match the return type of a GCC
14850
-   builtin and then its argument prototype would still apply.  */
14851
-#ifdef __cplusplus
14852
-extern "C"
14853
-#endif
14854
-char $ac_func ();
14855
-/* The GNU C library defines this for functions which it implements
14856
-    to always fail with ENOSYS.  Some functions are actually named
14857
-    something starting with __ and the normal name is an alias.  */
14858
-#if defined __stub_$ac_func || defined __stub___$ac_func
14859
-choke me
14860
-#endif
14861
-
14862
-int
14863
-main ()
14864
-{
14865
-return $ac_func ();
14866
-  ;
14867
-  return 0;
14868
-}
14869
-_ACEOF
14870
-rm -f conftest.$ac_objext conftest$ac_exeext
14871
-if { (ac_try="$ac_link"
14872
-case "(($ac_try" in
14873
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874
-  *) ac_try_echo=$ac_try;;
14875
-esac
14876
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877
-  (eval "$ac_link") 2>conftest.er1
14878
-  ac_status=$?
14879
-  grep -v '^ *+' conftest.er1 >conftest.err
14880
-  rm -f conftest.er1
14881
-  cat conftest.err >&5
14882
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883
-  (exit $ac_status); } && {
14884
-	 test -z "$ac_c_werror_flag" ||
14885
-	 test ! -s conftest.err
14886
-       } && test -s conftest$ac_exeext &&
14887
-       $as_test_x conftest$ac_exeext; then
14888
-  eval "$as_ac_var=yes"
14889
-else
14890
-  echo "$as_me: failed program was:" >&5
14891
-sed 's/^/| /' conftest.$ac_ext >&5
14892
-
14893
-	eval "$as_ac_var=no"
14894
-fi
14895
-
14896
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14897
-      conftest$ac_exeext conftest.$ac_ext
14898
-fi
14899
-ac_res=`eval echo '${'$as_ac_var'}'`
14900
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14901
-echo "${ECHO_T}$ac_res" >&6; }
14902
-if test `eval echo '${'$as_ac_var'}'` = yes; then
14903
+do :
14904
+  ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise"
14905
+if test "x$ac_cv_func_raise" = xyes; then :
14906
   cat >>confdefs.h <<_ACEOF
14907
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14908
+#define HAVE_RAISE 1
14909
 _ACEOF
14910
  HAVE_RAISE=yes
14911
 fi
14912
 done
14913
 
14914
-
14915
 for ac_func in kill
14916
-do
14917
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14918
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14919
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14920
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14921
-  echo $ECHO_N "(cached) $ECHO_C" >&6
14922
-else
14923
-  cat >conftest.$ac_ext <<_ACEOF
14924
-/* confdefs.h.  */
14925
-_ACEOF
14926
-cat confdefs.h >>conftest.$ac_ext
14927
-cat >>conftest.$ac_ext <<_ACEOF
14928
-/* end confdefs.h.  */
14929
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14930
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14931
-#define $ac_func innocuous_$ac_func
14932
-
14933
-/* System header to define __stub macros and hopefully few prototypes,
14934
-    which can conflict with char $ac_func (); below.
14935
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14936
-    <limits.h> exists even on freestanding compilers.  */
14937
-
14938
-#ifdef __STDC__
14939
-# include <limits.h>
14940
-#else
14941
-# include <assert.h>
14942
-#endif
14943
-
14944
-#undef $ac_func
14945
-
14946
-/* Override any GCC internal prototype to avoid an error.
14947
-   Use char because int might match the return type of a GCC
14948
-   builtin and then its argument prototype would still apply.  */
14949
-#ifdef __cplusplus
14950
-extern "C"
14951
-#endif
14952
-char $ac_func ();
14953
-/* The GNU C library defines this for functions which it implements
14954
-    to always fail with ENOSYS.  Some functions are actually named
14955
-    something starting with __ and the normal name is an alias.  */
14956
-#if defined __stub_$ac_func || defined __stub___$ac_func
14957
-choke me
14958
-#endif
14959
-
14960
-int
14961
-main ()
14962
-{
14963
-return $ac_func ();
14964
-  ;
14965
-  return 0;
14966
-}
14967
-_ACEOF
14968
-rm -f conftest.$ac_objext conftest$ac_exeext
14969
-if { (ac_try="$ac_link"
14970
-case "(($ac_try" in
14971
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14972
-  *) ac_try_echo=$ac_try;;
14973
-esac
14974
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14975
-  (eval "$ac_link") 2>conftest.er1
14976
-  ac_status=$?
14977
-  grep -v '^ *+' conftest.er1 >conftest.err
14978
-  rm -f conftest.er1
14979
-  cat conftest.err >&5
14980
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981
-  (exit $ac_status); } && {
14982
-	 test -z "$ac_c_werror_flag" ||
14983
-	 test ! -s conftest.err
14984
-       } && test -s conftest$ac_exeext &&
14985
-       $as_test_x conftest$ac_exeext; then
14986
-  eval "$as_ac_var=yes"
14987
-else
14988
-  echo "$as_me: failed program was:" >&5
14989
-sed 's/^/| /' conftest.$ac_ext >&5
14990
-
14991
-	eval "$as_ac_var=no"
14992
-fi
14993
-
14994
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14995
-      conftest$ac_exeext conftest.$ac_ext
14996
-fi
14997
-ac_res=`eval echo '${'$as_ac_var'}'`
14998
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
14999
-echo "${ECHO_T}$ac_res" >&6; }
15000
-if test `eval echo '${'$as_ac_var'}'` = yes; then
15001
+do :
15002
+  ac_fn_c_check_func "$LINENO" "kill" "ac_cv_func_kill"
15003
+if test "x$ac_cv_func_kill" = xyes; then :
15004
   cat >>confdefs.h <<_ACEOF
15005
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15006
+#define HAVE_KILL 1
15007
 _ACEOF
15008
  HAVE_KILL=yes
15009
 fi
15010
@@ -13861,23 +6948,17 @@ done
15011
 
15012
 if test x"$HAVE_RAISE" = x; then
15013
 	if test x"$HAVE_KILL" = x || test x"$HAVE_GETPID" = x; then
15014
-		{ { echo "$as_me:$LINENO: error: Unable to emulate raise()" >&5
15015
-echo "$as_me: error: Unable to emulate raise()" >&2;}
15016
-   { (exit 1); exit 1; }; }
15017
+		as_fn_error $? "Unable to emulate raise()" "$LINENO" 5
15018
 	fi
15019
 fi
15020
 
15021
-{ echo "$as_me:$LINENO: checking for __va_copy" >&5
15022
-echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
15023
-if test "${el_cv_HAVE_VA_COPY+set}" = set; then
15024
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15025
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
15026
+$as_echo_n "checking for __va_copy... " >&6; }
15027
+if ${el_cv_HAVE_VA_COPY+:} false; then :
15028
+  $as_echo_n "(cached) " >&6
15029
 else
15030
 
15031
-cat >conftest.$ac_ext <<_ACEOF
15032
-/* confdefs.h.  */
15033
-_ACEOF
15034
-cat confdefs.h >>conftest.$ac_ext
15035
-cat >>conftest.$ac_ext <<_ACEOF
15036
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037
 /* end confdefs.h.  */
15038
 #include <stdarg.h>
15039
 va_list ap1,ap2;
15040
@@ -13889,56 +6970,29 @@ __va_copy(ap1,ap2);
15041
   return 0;
15042
 }
15043
 _ACEOF
15044
-rm -f conftest.$ac_objext conftest$ac_exeext
15045
-if { (ac_try="$ac_link"
15046
-case "(($ac_try" in
15047
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048
-  *) ac_try_echo=$ac_try;;
15049
-esac
15050
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051
-  (eval "$ac_link") 2>conftest.er1
15052
-  ac_status=$?
15053
-  grep -v '^ *+' conftest.er1 >conftest.err
15054
-  rm -f conftest.er1
15055
-  cat conftest.err >&5
15056
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057
-  (exit $ac_status); } && {
15058
-	 test -z "$ac_c_werror_flag" ||
15059
-	 test ! -s conftest.err
15060
-       } && test -s conftest$ac_exeext &&
15061
-       $as_test_x conftest$ac_exeext; then
15062
+if ac_fn_c_try_link "$LINENO"; then :
15063
   el_cv_HAVE_VA_COPY=yes
15064
 else
15065
-  echo "$as_me: failed program was:" >&5
15066
-sed 's/^/| /' conftest.$ac_ext >&5
15067
-
15068
-	el_cv_HAVE_VA_COPY=no
15069
+  el_cv_HAVE_VA_COPY=no
15070
 fi
15071
-
15072
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15073
-      conftest$ac_exeext conftest.$ac_ext
15074
+rm -f core conftest.err conftest.$ac_objext \
15075
+    conftest$ac_exeext conftest.$ac_ext
15076
 fi
15077
-{ echo "$as_me:$LINENO: result: $el_cv_HAVE_VA_COPY" >&5
15078
-echo "${ECHO_T}$el_cv_HAVE_VA_COPY" >&6; }
15079
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $el_cv_HAVE_VA_COPY" >&5
15080
+$as_echo "$el_cv_HAVE_VA_COPY" >&6; }
15081
 if test x"$el_cv_HAVE_VA_COPY" = x"yes"; then
15082
 
15083
-cat >>confdefs.h <<\_ACEOF
15084
-#define HAVE_VA_COPY 1
15085
-_ACEOF
15086
+$as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
15087
 
15088
 fi
15089
 
15090
-{ echo "$as_me:$LINENO: checking for sysconf(_SC_PAGE_SIZE)" >&5
15091
-echo $ECHO_N "checking for sysconf(_SC_PAGE_SIZE)... $ECHO_C" >&6; }
15092
-if test "${el_cv_HAVE_SC_PAGE_SIZE+set}" = set; then
15093
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15094
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysconf(_SC_PAGE_SIZE)" >&5
15095
+$as_echo_n "checking for sysconf(_SC_PAGE_SIZE)... " >&6; }
15096
+if ${el_cv_HAVE_SC_PAGE_SIZE+:} false; then :
15097
+  $as_echo_n "(cached) " >&6
15098
 else
15099
 
15100
-cat >conftest.$ac_ext <<_ACEOF
15101
-/* confdefs.h.  */
15102
-_ACEOF
15103
-cat confdefs.h >>conftest.$ac_ext
15104
-cat >>conftest.$ac_ext <<_ACEOF
15105
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106
 /* end confdefs.h.  */
15107
 #include <unistd.h>
15108
 
15109
@@ -13950,59 +7004,32 @@ int page_size = sysconf(_SC_PAGE_SIZE);
15110
   return 0;
15111
 }
15112
 _ACEOF
15113
-rm -f conftest.$ac_objext conftest$ac_exeext
15114
-if { (ac_try="$ac_link"
15115
-case "(($ac_try" in
15116
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15117
-  *) ac_try_echo=$ac_try;;
15118
-esac
15119
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15120
-  (eval "$ac_link") 2>conftest.er1
15121
-  ac_status=$?
15122
-  grep -v '^ *+' conftest.er1 >conftest.err
15123
-  rm -f conftest.er1
15124
-  cat conftest.err >&5
15125
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126
-  (exit $ac_status); } && {
15127
-	 test -z "$ac_c_werror_flag" ||
15128
-	 test ! -s conftest.err
15129
-       } && test -s conftest$ac_exeext &&
15130
-       $as_test_x conftest$ac_exeext; then
15131
+if ac_fn_c_try_link "$LINENO"; then :
15132
   el_cv_HAVE_SC_PAGE_SIZE=yes
15133
 else
15134
-  echo "$as_me: failed program was:" >&5
15135
-sed 's/^/| /' conftest.$ac_ext >&5
15136
-
15137
-	el_cv_HAVE_SC_PAGE_SIZE=no
15138
+  el_cv_HAVE_SC_PAGE_SIZE=no
15139
 fi
15140
-
15141
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15142
-      conftest$ac_exeext conftest.$ac_ext
15143
+rm -f core conftest.err conftest.$ac_objext \
15144
+    conftest$ac_exeext conftest.$ac_ext
15145
 fi
15146
-{ echo "$as_me:$LINENO: result: $el_cv_HAVE_SC_PAGE_SIZE" >&5
15147
-echo "${ECHO_T}$el_cv_HAVE_SC_PAGE_SIZE" >&6; }
15148
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $el_cv_HAVE_SC_PAGE_SIZE" >&5
15149
+$as_echo "$el_cv_HAVE_SC_PAGE_SIZE" >&6; }
15150
 if test x"$el_cv_HAVE_SC_PAGE_SIZE" = x"yes"; then
15151
 
15152
-cat >>confdefs.h <<\_ACEOF
15153
-#define HAVE_SC_PAGE_SIZE 1
15154
-_ACEOF
15155
+$as_echo "#define HAVE_SC_PAGE_SIZE 1" >>confdefs.h
15156
 
15157
 fi
15158
 
15159
-{ echo "$as_me:$LINENO: checking for C99 vsnprintf" >&5
15160
-echo $ECHO_N "checking for C99 vsnprintf... $ECHO_C" >&6; }
15161
-if test "${el_cv_HAVE_C99_VSNPRINTF+set}" = set; then
15162
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15163
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 vsnprintf" >&5
15164
+$as_echo_n "checking for C99 vsnprintf... " >&6; }
15165
+if ${el_cv_HAVE_C99_VSNPRINTF+:} false; then :
15166
+  $as_echo_n "(cached) " >&6
15167
 else
15168
 
15169
-if test "$cross_compiling" = yes; then
15170
+if test "$cross_compiling" = yes; then :
15171
   el_cv_HAVE_C99_VSNPRINTF=cross
15172
 else
15173
-  cat >conftest.$ac_ext <<_ACEOF
15174
-/* confdefs.h.  */
15175
-_ACEOF
15176
-cat confdefs.h >>conftest.$ac_ext
15177
-cat >>conftest.$ac_ext <<_ACEOF
15178
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179
 /* end confdefs.h.  */
15180
 
15181
 #include <stdio.h>
15182
@@ -14038,63 +7065,32 @@ void foo(const char *format, ...) {
15183
 main() { foo("hello\n"); }
15184
 
15185
 _ACEOF
15186
-rm -f conftest$ac_exeext
15187
-if { (ac_try="$ac_link"
15188
-case "(($ac_try" in
15189
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15190
-  *) ac_try_echo=$ac_try;;
15191
-esac
15192
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15193
-  (eval "$ac_link") 2>&5
15194
-  ac_status=$?
15195
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15197
-  { (case "(($ac_try" in
15198
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199
-  *) ac_try_echo=$ac_try;;
15200
-esac
15201
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15202
-  (eval "$ac_try") 2>&5
15203
-  ac_status=$?
15204
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205
-  (exit $ac_status); }; }; then
15206
+if ac_fn_c_try_run "$LINENO"; then :
15207
   el_cv_HAVE_C99_VSNPRINTF=yes
15208
 else
15209
-  echo "$as_me: program exited with status $ac_status" >&5
15210
-echo "$as_me: failed program was:" >&5
15211
-sed 's/^/| /' conftest.$ac_ext >&5
15212
-
15213
-( exit $ac_status )
15214
-el_cv_HAVE_C99_VSNPRINTF=no
15215
+  el_cv_HAVE_C99_VSNPRINTF=no
15216
 fi
15217
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15218
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15219
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
15220
 fi
15221
 
15222
-
15223
 fi
15224
-{ echo "$as_me:$LINENO: result: $el_cv_HAVE_C99_VSNPRINTF" >&5
15225
-echo "${ECHO_T}$el_cv_HAVE_C99_VSNPRINTF" >&6; }
15226
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $el_cv_HAVE_C99_VSNPRINTF" >&5
15227
+$as_echo "$el_cv_HAVE_C99_VSNPRINTF" >&6; }
15228
 if test x"$el_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
15229
 
15230
-cat >>confdefs.h <<\_ACEOF
15231
-#define HAVE_C99_VSNPRINTF 1
15232
-_ACEOF
15233
+$as_echo "#define HAVE_C99_VSNPRINTF 1" >>confdefs.h
15234
 
15235
 fi
15236
 
15237
-
15238
-{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15239
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15240
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15241
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15242
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15243
+$as_echo_n "checking for dlopen in -ldl... " >&6; }
15244
+if ${ac_cv_lib_dl_dlopen+:} false; then :
15245
+  $as_echo_n "(cached) " >&6
15246
 else
15247
   ac_check_lib_save_LIBS=$LIBS
15248
 LIBS="-ldl  $LIBS"
15249
-cat >conftest.$ac_ext <<_ACEOF
15250
-/* confdefs.h.  */
15251
-_ACEOF
15252
-cat confdefs.h >>conftest.$ac_ext
15253
-cat >>conftest.$ac_ext <<_ACEOF
15254
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255
 /* end confdefs.h.  */
15256
 
15257
 /* Override any GCC internal prototype to avoid an error.
15258
@@ -14112,39 +7108,18 @@ return dlopen ();
15259
   return 0;
15260
 }
15261
 _ACEOF
15262
-rm -f conftest.$ac_objext conftest$ac_exeext
15263
-if { (ac_try="$ac_link"
15264
-case "(($ac_try" in
15265
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15266
-  *) ac_try_echo=$ac_try;;
15267
-esac
15268
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15269
-  (eval "$ac_link") 2>conftest.er1
15270
-  ac_status=$?
15271
-  grep -v '^ *+' conftest.er1 >conftest.err
15272
-  rm -f conftest.er1
15273
-  cat conftest.err >&5
15274
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275
-  (exit $ac_status); } && {
15276
-	 test -z "$ac_c_werror_flag" ||
15277
-	 test ! -s conftest.err
15278
-       } && test -s conftest$ac_exeext &&
15279
-       $as_test_x conftest$ac_exeext; then
15280
+if ac_fn_c_try_link "$LINENO"; then :
15281
   ac_cv_lib_dl_dlopen=yes
15282
 else
15283
-  echo "$as_me: failed program was:" >&5
15284
-sed 's/^/| /' conftest.$ac_ext >&5
15285
-
15286
-	ac_cv_lib_dl_dlopen=no
15287
+  ac_cv_lib_dl_dlopen=no
15288
 fi
15289
-
15290
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15291
-      conftest$ac_exeext conftest.$ac_ext
15292
+rm -f core conftest.err conftest.$ac_objext \
15293
+    conftest$ac_exeext conftest.$ac_ext
15294
 LIBS=$ac_check_lib_save_LIBS
15295
 fi
15296
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15297
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15298
-if test $ac_cv_lib_dl_dlopen = yes; then
15299
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15300
+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15301
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15302
   cat >>confdefs.h <<_ACEOF
15303
 #define HAVE_LIBDL 1
15304
 _ACEOF
15305
@@ -14155,107 +7130,22 @@ fi
15306
  # OpenSSL and Lua frequently needs it
15307
 
15308
 
15309
-{ echo "$as_me:$LINENO: checking for socket" >&5
15310
-echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
15311
-if test "${ac_cv_func_socket+set}" = set; then
15312
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15313
-else
15314
-  cat >conftest.$ac_ext <<_ACEOF
15315
-/* confdefs.h.  */
15316
-_ACEOF
15317
-cat confdefs.h >>conftest.$ac_ext
15318
-cat >>conftest.$ac_ext <<_ACEOF
15319
-/* end confdefs.h.  */
15320
-/* Define socket to an innocuous variant, in case <limits.h> declares socket.
15321
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15322
-#define socket innocuous_socket
15323
-
15324
-/* System header to define __stub macros and hopefully few prototypes,
15325
-    which can conflict with char socket (); below.
15326
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15327
-    <limits.h> exists even on freestanding compilers.  */
15328
-
15329
-#ifdef __STDC__
15330
-# include <limits.h>
15331
-#else
15332
-# include <assert.h>
15333
-#endif
15334
-
15335
-#undef socket
15336
-
15337
-/* Override any GCC internal prototype to avoid an error.
15338
-   Use char because int might match the return type of a GCC
15339
-   builtin and then its argument prototype would still apply.  */
15340
-#ifdef __cplusplus
15341
-extern "C"
15342
-#endif
15343
-char socket ();
15344
-/* The GNU C library defines this for functions which it implements
15345
-    to always fail with ENOSYS.  Some functions are actually named
15346
-    something starting with __ and the normal name is an alias.  */
15347
-#if defined __stub_socket || defined __stub___socket
15348
-choke me
15349
-#endif
15350
-
15351
-int
15352
-main ()
15353
-{
15354
-return socket ();
15355
-  ;
15356
-  return 0;
15357
-}
15358
-_ACEOF
15359
-rm -f conftest.$ac_objext conftest$ac_exeext
15360
-if { (ac_try="$ac_link"
15361
-case "(($ac_try" in
15362
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15363
-  *) ac_try_echo=$ac_try;;
15364
-esac
15365
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15366
-  (eval "$ac_link") 2>conftest.er1
15367
-  ac_status=$?
15368
-  grep -v '^ *+' conftest.er1 >conftest.err
15369
-  rm -f conftest.er1
15370
-  cat conftest.err >&5
15371
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372
-  (exit $ac_status); } && {
15373
-	 test -z "$ac_c_werror_flag" ||
15374
-	 test ! -s conftest.err
15375
-       } && test -s conftest$ac_exeext &&
15376
-       $as_test_x conftest$ac_exeext; then
15377
-  ac_cv_func_socket=yes
15378
-else
15379
-  echo "$as_me: failed program was:" >&5
15380
-sed 's/^/| /' conftest.$ac_ext >&5
15381
-
15382
-	ac_cv_func_socket=no
15383
-fi
15384
-
15385
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15386
-      conftest$ac_exeext conftest.$ac_ext
15387
-fi
15388
-{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
15389
-echo "${ECHO_T}$ac_cv_func_socket" >&6; }
15390
-if test $ac_cv_func_socket = yes; then
15391
+ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
15392
+if test "x$ac_cv_func_socket" = xyes; then :
15393
   cf_result=yes
15394
 else
15395
   cf_result=no
15396
 fi
15397
 
15398
 if test "$cf_result" = no; then
15399
-
15400
-{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
15401
-echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
15402
-if test "${ac_cv_lib_socket_socket+set}" = set; then
15403
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15404
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
15405
+$as_echo_n "checking for socket in -lsocket... " >&6; }
15406
+if ${ac_cv_lib_socket_socket+:} false; then :
15407
+  $as_echo_n "(cached) " >&6
15408
 else
15409
   ac_check_lib_save_LIBS=$LIBS
15410
 LIBS="-lsocket  $LIBS"
15411
-cat >conftest.$ac_ext <<_ACEOF
15412
-/* confdefs.h.  */
15413
-_ACEOF
15414
-cat confdefs.h >>conftest.$ac_ext
15415
-cat >>conftest.$ac_ext <<_ACEOF
15416
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417
 /* end confdefs.h.  */
15418
 
15419
 /* Override any GCC internal prototype to avoid an error.
15420
@@ -14273,39 +7163,18 @@ return socket ();
15421
   return 0;
15422
 }
15423
 _ACEOF
15424
-rm -f conftest.$ac_objext conftest$ac_exeext
15425
-if { (ac_try="$ac_link"
15426
-case "(($ac_try" in
15427
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428
-  *) ac_try_echo=$ac_try;;
15429
-esac
15430
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15431
-  (eval "$ac_link") 2>conftest.er1
15432
-  ac_status=$?
15433
-  grep -v '^ *+' conftest.er1 >conftest.err
15434
-  rm -f conftest.er1
15435
-  cat conftest.err >&5
15436
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437
-  (exit $ac_status); } && {
15438
-	 test -z "$ac_c_werror_flag" ||
15439
-	 test ! -s conftest.err
15440
-       } && test -s conftest$ac_exeext &&
15441
-       $as_test_x conftest$ac_exeext; then
15442
+if ac_fn_c_try_link "$LINENO"; then :
15443
   ac_cv_lib_socket_socket=yes
15444
 else
15445
-  echo "$as_me: failed program was:" >&5
15446
-sed 's/^/| /' conftest.$ac_ext >&5
15447
-
15448
-	ac_cv_lib_socket_socket=no
15449
+  ac_cv_lib_socket_socket=no
15450
 fi
15451
-
15452
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15453
-      conftest$ac_exeext conftest.$ac_ext
15454
+rm -f core conftest.err conftest.$ac_objext \
15455
+    conftest$ac_exeext conftest.$ac_ext
15456
 LIBS=$ac_check_lib_save_LIBS
15457
 fi
15458
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
15459
-echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
15460
-if test $ac_cv_lib_socket_socket = yes; then
15461
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
15462
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
15463
+if test "x$ac_cv_lib_socket_socket" = xyes; then :
15464
   cat >>confdefs.h <<_ACEOF
15465
 #define HAVE_LIBSOCKET 1
15466
 _ACEOF
15467
@@ -14316,107 +7185,22 @@ fi
15468
 
15469
 fi
15470
 
15471
-{ echo "$as_me:$LINENO: checking for setsockopt" >&5
15472
-echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; }
15473
-if test "${ac_cv_func_setsockopt+set}" = set; then
15474
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15475
-else
15476
-  cat >conftest.$ac_ext <<_ACEOF
15477
-/* confdefs.h.  */
15478
-_ACEOF
15479
-cat confdefs.h >>conftest.$ac_ext
15480
-cat >>conftest.$ac_ext <<_ACEOF
15481
-/* end confdefs.h.  */
15482
-/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
15483
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15484
-#define setsockopt innocuous_setsockopt
15485
-
15486
-/* System header to define __stub macros and hopefully few prototypes,
15487
-    which can conflict with char setsockopt (); below.
15488
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15489
-    <limits.h> exists even on freestanding compilers.  */
15490
-
15491
-#ifdef __STDC__
15492
-# include <limits.h>
15493
-#else
15494
-# include <assert.h>
15495
-#endif
15496
-
15497
-#undef setsockopt
15498
-
15499
-/* Override any GCC internal prototype to avoid an error.
15500
-   Use char because int might match the return type of a GCC
15501
-   builtin and then its argument prototype would still apply.  */
15502
-#ifdef __cplusplus
15503
-extern "C"
15504
-#endif
15505
-char setsockopt ();
15506
-/* The GNU C library defines this for functions which it implements
15507
-    to always fail with ENOSYS.  Some functions are actually named
15508
-    something starting with __ and the normal name is an alias.  */
15509
-#if defined __stub_setsockopt || defined __stub___setsockopt
15510
-choke me
15511
-#endif
15512
-
15513
-int
15514
-main ()
15515
-{
15516
-return setsockopt ();
15517
-  ;
15518
-  return 0;
15519
-}
15520
-_ACEOF
15521
-rm -f conftest.$ac_objext conftest$ac_exeext
15522
-if { (ac_try="$ac_link"
15523
-case "(($ac_try" in
15524
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525
-  *) ac_try_echo=$ac_try;;
15526
-esac
15527
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528
-  (eval "$ac_link") 2>conftest.er1
15529
-  ac_status=$?
15530
-  grep -v '^ *+' conftest.er1 >conftest.err
15531
-  rm -f conftest.er1
15532
-  cat conftest.err >&5
15533
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534
-  (exit $ac_status); } && {
15535
-	 test -z "$ac_c_werror_flag" ||
15536
-	 test ! -s conftest.err
15537
-       } && test -s conftest$ac_exeext &&
15538
-       $as_test_x conftest$ac_exeext; then
15539
-  ac_cv_func_setsockopt=yes
15540
-else
15541
-  echo "$as_me: failed program was:" >&5
15542
-sed 's/^/| /' conftest.$ac_ext >&5
15543
-
15544
-	ac_cv_func_setsockopt=no
15545
-fi
15546
-
15547
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15548
-      conftest$ac_exeext conftest.$ac_ext
15549
-fi
15550
-{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
15551
-echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; }
15552
-if test $ac_cv_func_setsockopt = yes; then
15553
+ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
15554
+if test "x$ac_cv_func_setsockopt" = xyes; then :
15555
   cf_result=yes
15556
 else
15557
   cf_result=no
15558
 fi
15559
 
15560
 if test "$cf_result" = no; then
15561
-
15562
-{ echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
15563
-echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
15564
-if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
15565
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15566
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
15567
+$as_echo_n "checking for setsockopt in -lsocket... " >&6; }
15568
+if ${ac_cv_lib_socket_setsockopt+:} false; then :
15569
+  $as_echo_n "(cached) " >&6
15570
 else
15571
   ac_check_lib_save_LIBS=$LIBS
15572
 LIBS="-lsocket  $LIBS"
15573
-cat >conftest.$ac_ext <<_ACEOF
15574
-/* confdefs.h.  */
15575
-_ACEOF
15576
-cat confdefs.h >>conftest.$ac_ext
15577
-cat >>conftest.$ac_ext <<_ACEOF
15578
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579
 /* end confdefs.h.  */
15580
 
15581
 /* Override any GCC internal prototype to avoid an error.
15582
@@ -14434,39 +7218,18 @@ return setsockopt ();
15583
   return 0;
15584
 }
15585
 _ACEOF
15586
-rm -f conftest.$ac_objext conftest$ac_exeext
15587
-if { (ac_try="$ac_link"
15588
-case "(($ac_try" in
15589
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15590
-  *) ac_try_echo=$ac_try;;
15591
-esac
15592
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15593
-  (eval "$ac_link") 2>conftest.er1
15594
-  ac_status=$?
15595
-  grep -v '^ *+' conftest.er1 >conftest.err
15596
-  rm -f conftest.er1
15597
-  cat conftest.err >&5
15598
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599
-  (exit $ac_status); } && {
15600
-	 test -z "$ac_c_werror_flag" ||
15601
-	 test ! -s conftest.err
15602
-       } && test -s conftest$ac_exeext &&
15603
-       $as_test_x conftest$ac_exeext; then
15604
+if ac_fn_c_try_link "$LINENO"; then :
15605
   ac_cv_lib_socket_setsockopt=yes
15606
 else
15607
-  echo "$as_me: failed program was:" >&5
15608
-sed 's/^/| /' conftest.$ac_ext >&5
15609
-
15610
-	ac_cv_lib_socket_setsockopt=no
15611
+  ac_cv_lib_socket_setsockopt=no
15612
 fi
15613
-
15614
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15615
-      conftest$ac_exeext conftest.$ac_ext
15616
+rm -f core conftest.err conftest.$ac_objext \
15617
+    conftest$ac_exeext conftest.$ac_ext
15618
 LIBS=$ac_check_lib_save_LIBS
15619
 fi
15620
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
15621
-echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
15622
-if test $ac_cv_lib_socket_setsockopt = yes; then
15623
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
15624
+$as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
15625
+if test "x$ac_cv_lib_socket_setsockopt" = xyes; then :
15626
   cat >>confdefs.h <<_ACEOF
15627
 #define HAVE_LIBSOCKET 1
15628
 _ACEOF
15629
@@ -14477,106 +7240,22 @@ fi
15630
 
15631
 fi
15632
 
15633
-{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
15634
-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
15635
-if test "${ac_cv_func_gethostbyname+set}" = set; then
15636
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15637
-else
15638
-  cat >conftest.$ac_ext <<_ACEOF
15639
-/* confdefs.h.  */
15640
-_ACEOF
15641
-cat confdefs.h >>conftest.$ac_ext
15642
-cat >>conftest.$ac_ext <<_ACEOF
15643
-/* end confdefs.h.  */
15644
-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
15645
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15646
-#define gethostbyname innocuous_gethostbyname
15647
-
15648
-/* System header to define __stub macros and hopefully few prototypes,
15649
-    which can conflict with char gethostbyname (); below.
15650
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15651
-    <limits.h> exists even on freestanding compilers.  */
15652
-
15653
-#ifdef __STDC__
15654
-# include <limits.h>
15655
-#else
15656
-# include <assert.h>
15657
-#endif
15658
-
15659
-#undef gethostbyname
15660
-
15661
-/* Override any GCC internal prototype to avoid an error.
15662
-   Use char because int might match the return type of a GCC
15663
-   builtin and then its argument prototype would still apply.  */
15664
-#ifdef __cplusplus
15665
-extern "C"
15666
-#endif
15667
-char gethostbyname ();
15668
-/* The GNU C library defines this for functions which it implements
15669
-    to always fail with ENOSYS.  Some functions are actually named
15670
-    something starting with __ and the normal name is an alias.  */
15671
-#if defined __stub_gethostbyname || defined __stub___gethostbyname
15672
-choke me
15673
-#endif
15674
-
15675
-int
15676
-main ()
15677
-{
15678
-return gethostbyname ();
15679
-  ;
15680
-  return 0;
15681
-}
15682
-_ACEOF
15683
-rm -f conftest.$ac_objext conftest$ac_exeext
15684
-if { (ac_try="$ac_link"
15685
-case "(($ac_try" in
15686
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15687
-  *) ac_try_echo=$ac_try;;
15688
-esac
15689
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15690
-  (eval "$ac_link") 2>conftest.er1
15691
-  ac_status=$?
15692
-  grep -v '^ *+' conftest.er1 >conftest.err
15693
-  rm -f conftest.er1
15694
-  cat conftest.err >&5
15695
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696
-  (exit $ac_status); } && {
15697
-	 test -z "$ac_c_werror_flag" ||
15698
-	 test ! -s conftest.err
15699
-       } && test -s conftest$ac_exeext &&
15700
-       $as_test_x conftest$ac_exeext; then
15701
-  ac_cv_func_gethostbyname=yes
15702
-else
15703
-  echo "$as_me: failed program was:" >&5
15704
-sed 's/^/| /' conftest.$ac_ext >&5
15705
-
15706
-	ac_cv_func_gethostbyname=no
15707
-fi
15708
-
15709
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15710
-      conftest$ac_exeext conftest.$ac_ext
15711
-fi
15712
-{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
15713
-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
15714
-if test $ac_cv_func_gethostbyname = yes; then
15715
+ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15716
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
15717
   cf_result=yes
15718
 else
15719
   cf_result=no
15720
 fi
15721
 
15722
 if test "$cf_result" = no; then
15723
-	{ echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5
15724
-echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
15725
-if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then
15726
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15727
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
15728
+$as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
15729
+if ${ac_cv_lib_socket_gethostbyname+:} false; then :
15730
+  $as_echo_n "(cached) " >&6
15731
 else
15732
   ac_check_lib_save_LIBS=$LIBS
15733
 LIBS="-lsocket  $LIBS"
15734
-cat >conftest.$ac_ext <<_ACEOF
15735
-/* confdefs.h.  */
15736
-_ACEOF
15737
-cat confdefs.h >>conftest.$ac_ext
15738
-cat >>conftest.$ac_ext <<_ACEOF
15739
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15740
 /* end confdefs.h.  */
15741
 
15742
 /* Override any GCC internal prototype to avoid an error.
15743
@@ -14594,58 +7273,32 @@ return gethostbyname ();
15744
   return 0;
15745
 }
15746
 _ACEOF
15747
-rm -f conftest.$ac_objext conftest$ac_exeext
15748
-if { (ac_try="$ac_link"
15749
-case "(($ac_try" in
15750
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15751
-  *) ac_try_echo=$ac_try;;
15752
-esac
15753
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15754
-  (eval "$ac_link") 2>conftest.er1
15755
-  ac_status=$?
15756
-  grep -v '^ *+' conftest.er1 >conftest.err
15757
-  rm -f conftest.er1
15758
-  cat conftest.err >&5
15759
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760
-  (exit $ac_status); } && {
15761
-	 test -z "$ac_c_werror_flag" ||
15762
-	 test ! -s conftest.err
15763
-       } && test -s conftest$ac_exeext &&
15764
-       $as_test_x conftest$ac_exeext; then
15765
+if ac_fn_c_try_link "$LINENO"; then :
15766
   ac_cv_lib_socket_gethostbyname=yes
15767
 else
15768
-  echo "$as_me: failed program was:" >&5
15769
-sed 's/^/| /' conftest.$ac_ext >&5
15770
-
15771
-	ac_cv_lib_socket_gethostbyname=no
15772
+  ac_cv_lib_socket_gethostbyname=no
15773
 fi
15774
-
15775
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15776
-      conftest$ac_exeext conftest.$ac_ext
15777
+rm -f core conftest.err conftest.$ac_objext \
15778
+    conftest$ac_exeext conftest.$ac_ext
15779
 LIBS=$ac_check_lib_save_LIBS
15780
 fi
15781
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5
15782
-echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; }
15783
-if test $ac_cv_lib_socket_gethostbyname = yes; then
15784
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
15785
+$as_echo "$ac_cv_lib_socket_gethostbyname" >&6; }
15786
+if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then :
15787
   cf_result=yes
15788
 else
15789
   cf_result=no
15790
 fi
15791
 
15792
 	if test "$cf_result" = no; then
15793
-
15794
-{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
15795
-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
15796
-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
15797
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15798
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
15799
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
15800
+if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
15801
+  $as_echo_n "(cached) " >&6
15802
 else
15803
   ac_check_lib_save_LIBS=$LIBS
15804
 LIBS="-lnsl  $LIBS"
15805
-cat >conftest.$ac_ext <<_ACEOF
15806
-/* confdefs.h.  */
15807
-_ACEOF
15808
-cat confdefs.h >>conftest.$ac_ext
15809
-cat >>conftest.$ac_ext <<_ACEOF
15810
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811
 /* end confdefs.h.  */
15812
 
15813
 /* Override any GCC internal prototype to avoid an error.
15814
@@ -14663,39 +7316,18 @@ return gethostbyname ();
15815
   return 0;
15816
 }
15817
 _ACEOF
15818
-rm -f conftest.$ac_objext conftest$ac_exeext
15819
-if { (ac_try="$ac_link"
15820
-case "(($ac_try" in
15821
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15822
-  *) ac_try_echo=$ac_try;;
15823
-esac
15824
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15825
-  (eval "$ac_link") 2>conftest.er1
15826
-  ac_status=$?
15827
-  grep -v '^ *+' conftest.er1 >conftest.err
15828
-  rm -f conftest.er1
15829
-  cat conftest.err >&5
15830
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831
-  (exit $ac_status); } && {
15832
-	 test -z "$ac_c_werror_flag" ||
15833
-	 test ! -s conftest.err
15834
-       } && test -s conftest$ac_exeext &&
15835
-       $as_test_x conftest$ac_exeext; then
15836
+if ac_fn_c_try_link "$LINENO"; then :
15837
   ac_cv_lib_nsl_gethostbyname=yes
15838
 else
15839
-  echo "$as_me: failed program was:" >&5
15840
-sed 's/^/| /' conftest.$ac_ext >&5
15841
-
15842
-	ac_cv_lib_nsl_gethostbyname=no
15843
+  ac_cv_lib_nsl_gethostbyname=no
15844
 fi
15845
-
15846
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15847
-      conftest$ac_exeext conftest.$ac_ext
15848
+rm -f core conftest.err conftest.$ac_objext \
15849
+    conftest$ac_exeext conftest.$ac_ext
15850
 LIBS=$ac_check_lib_save_LIBS
15851
 fi
15852
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
15853
-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
15854
-if test $ac_cv_lib_nsl_gethostbyname = yes; then
15855
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
15856
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
15857
+if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
15858
   cat >>confdefs.h <<_ACEOF
15859
 #define HAVE_LIBNSL 1
15860
 _ACEOF
15861
@@ -14712,7 +7344,7 @@ fi
15862
 
15863
 
15864
 # Check whether --with-xterm was given.
15865
-if test "${with_xterm+set}" = set; then
15866
+if test "${with_xterm+set}" = set; then :
15867
   withval=$with_xterm;  if test "$withval" != no && test "$withval" != yes; then
15868
 
15869
 cat >>confdefs.h <<_ACEOF
15870
@@ -14734,19 +7366,19 @@ fi
15871
 
15872
 
15873
 # Check whether --with-gpm was given.
15874
-if test "${with_gpm+set}" = set; then
15875
+if test "${with_gpm+set}" = set; then :
15876
   withval=$with_gpm; WITHVAL_CONFIG_GPM="$withval"
15877
 fi
15878
 
15879
 	if test "x$WITHVAL_CONFIG_GPM" = xno; then CONFIG_GPM=no; fi
15880
 
15881
 
15882
-	{ echo "$as_me:$LINENO: checking for gpm support" >&5
15883
-echo $ECHO_N "checking for gpm support... $ECHO_C" >&6; }
15884
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpm support" >&5
15885
+$as_echo_n "checking for gpm support... " >&6; }
15886
 
15887
 	if test "$CONFIG_GPM" != no; then
15888
-		{ echo "$as_me:$LINENO: result: yes" >&5
15889
-echo "${ECHO_T}yes" >&6; }
15890
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15891
+$as_echo "yes" >&6; }
15892
 
15893
 	CFLAGS_X="$CFLAGS";
15894
 	CPPFLAGS_X="$CPPFLAGS";
15895
@@ -14759,140 +7391,12 @@ echo "${ECHO_T}yes" >&6; }
15896
 			LDFLAGS="$LDFLAGS -L$withval/lib";
15897
 		fi
15898
 
15899
-
15900
-for ac_header in gpm.h
15901
-do
15902
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15903
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15904
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
15905
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15906
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15907
-  echo $ECHO_N "(cached) $ECHO_C" >&6
15908
-fi
15909
-ac_res=`eval echo '${'$as_ac_Header'}'`
15910
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
15911
-echo "${ECHO_T}$ac_res" >&6; }
15912
-else
15913
-  # Is the header compilable?
15914
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
15915
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15916
-cat >conftest.$ac_ext <<_ACEOF
15917
-/* confdefs.h.  */
15918
-_ACEOF
15919
-cat confdefs.h >>conftest.$ac_ext
15920
-cat >>conftest.$ac_ext <<_ACEOF
15921
-/* end confdefs.h.  */
15922
-$ac_includes_default
15923
-#include <$ac_header>
15924
-_ACEOF
15925
-rm -f conftest.$ac_objext
15926
-if { (ac_try="$ac_compile"
15927
-case "(($ac_try" in
15928
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929
-  *) ac_try_echo=$ac_try;;
15930
-esac
15931
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932
-  (eval "$ac_compile") 2>conftest.er1
15933
-  ac_status=$?
15934
-  grep -v '^ *+' conftest.er1 >conftest.err
15935
-  rm -f conftest.er1
15936
-  cat conftest.err >&5
15937
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938
-  (exit $ac_status); } && {
15939
-	 test -z "$ac_c_werror_flag" ||
15940
-	 test ! -s conftest.err
15941
-       } && test -s conftest.$ac_objext; then
15942
-  ac_header_compiler=yes
15943
-else
15944
-  echo "$as_me: failed program was:" >&5
15945
-sed 's/^/| /' conftest.$ac_ext >&5
15946
-
15947
-	ac_header_compiler=no
15948
-fi
15949
-
15950
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15951
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15952
-echo "${ECHO_T}$ac_header_compiler" >&6; }
15953
-
15954
-# Is the header present?
15955
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
15956
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15957
-cat >conftest.$ac_ext <<_ACEOF
15958
-/* confdefs.h.  */
15959
-_ACEOF
15960
-cat confdefs.h >>conftest.$ac_ext
15961
-cat >>conftest.$ac_ext <<_ACEOF
15962
-/* end confdefs.h.  */
15963
-#include <$ac_header>
15964
-_ACEOF
15965
-if { (ac_try="$ac_cpp conftest.$ac_ext"
15966
-case "(($ac_try" in
15967
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15968
-  *) ac_try_echo=$ac_try;;
15969
-esac
15970
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15971
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15972
-  ac_status=$?
15973
-  grep -v '^ *+' conftest.er1 >conftest.err
15974
-  rm -f conftest.er1
15975
-  cat conftest.err >&5
15976
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977
-  (exit $ac_status); } >/dev/null && {
15978
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15979
-	 test ! -s conftest.err
15980
-       }; then
15981
-  ac_header_preproc=yes
15982
-else
15983
-  echo "$as_me: failed program was:" >&5
15984
-sed 's/^/| /' conftest.$ac_ext >&5
15985
-
15986
-  ac_header_preproc=no
15987
-fi
15988
-
15989
-rm -f conftest.err conftest.$ac_ext
15990
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15991
-echo "${ECHO_T}$ac_header_preproc" >&6; }
15992
-
15993
-# So?  What about this header?
15994
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15995
-  yes:no: )
15996
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15997
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15998
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15999
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16000
-    ac_header_preproc=yes
16001
-    ;;
16002
-  no:yes:* )
16003
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16004
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16005
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16006
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16007
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16008
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16009
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16010
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16011
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16012
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16013
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16014
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16015
-
16016
-    ;;
16017
-esac
16018
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16019
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16020
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16021
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16022
-else
16023
-  eval "$as_ac_Header=\$ac_header_preproc"
16024
-fi
16025
-ac_res=`eval echo '${'$as_ac_Header'}'`
16026
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16027
-echo "${ECHO_T}$ac_res" >&6; }
16028
-
16029
-fi
16030
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
16031
+		for ac_header in gpm.h
16032
+do :
16033
+  ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
16034
+if test "x$ac_cv_header_gpm_h" = xyes; then :
16035
   cat >>confdefs.h <<_ACEOF
16036
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16037
+#define HAVE_GPM_H 1
16038
 _ACEOF
16039
  CONFIG_GPM=yes
16040
 else
16041
@@ -14902,18 +7406,14 @@ fi
16042
 done
16043
 
16044
 		if test "$CONFIG_GPM" = yes; then
16045
-			{ echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
16046
-echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6; }
16047
-if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
16048
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16049
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
16050
+$as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
16051
+if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
16052
+  $as_echo_n "(cached) " >&6
16053
 else
16054
   ac_check_lib_save_LIBS=$LIBS
16055
 LIBS="-lgpm  $LIBS"
16056
-cat >conftest.$ac_ext <<_ACEOF
16057
-/* confdefs.h.  */
16058
-_ACEOF
16059
-cat confdefs.h >>conftest.$ac_ext
16060
-cat >>conftest.$ac_ext <<_ACEOF
16061
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062
 /* end confdefs.h.  */
16063
 
16064
 /* Override any GCC internal prototype to avoid an error.
16065
@@ -14931,39 +7431,18 @@ return Gpm_Open ();
16066
   return 0;
16067
 }
16068
 _ACEOF
16069
-rm -f conftest.$ac_objext conftest$ac_exeext
16070
-if { (ac_try="$ac_link"
16071
-case "(($ac_try" in
16072
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073
-  *) ac_try_echo=$ac_try;;
16074
-esac
16075
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16076
-  (eval "$ac_link") 2>conftest.er1
16077
-  ac_status=$?
16078
-  grep -v '^ *+' conftest.er1 >conftest.err
16079
-  rm -f conftest.er1
16080
-  cat conftest.err >&5
16081
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082
-  (exit $ac_status); } && {
16083
-	 test -z "$ac_c_werror_flag" ||
16084
-	 test ! -s conftest.err
16085
-       } && test -s conftest$ac_exeext &&
16086
-       $as_test_x conftest$ac_exeext; then
16087
+if ac_fn_c_try_link "$LINENO"; then :
16088
   ac_cv_lib_gpm_Gpm_Open=yes
16089
 else
16090
-  echo "$as_me: failed program was:" >&5
16091
-sed 's/^/| /' conftest.$ac_ext >&5
16092
-
16093
-	ac_cv_lib_gpm_Gpm_Open=no
16094
+  ac_cv_lib_gpm_Gpm_Open=no
16095
 fi
16096
-
16097
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16098
-      conftest$ac_exeext conftest.$ac_ext
16099
+rm -f core conftest.err conftest.$ac_objext \
16100
+    conftest$ac_exeext conftest.$ac_ext
16101
 LIBS=$ac_check_lib_save_LIBS
16102
 fi
16103
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
16104
-echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6; }
16105
-if test $ac_cv_lib_gpm_Gpm_Open = yes; then
16106
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
16107
+$as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
16108
+if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
16109
   CONFIG_GPM=yes
16110
 else
16111
   CONFIG_GPM=no
16112
@@ -14976,17 +7455,13 @@ fi
16113
 	  CONFIG_GPM=yes
16114
 	  ABOUT_CONFIG_GPM="gpm"
16115
 
16116
-cat >>confdefs.h <<\_ACEOF
16117
-#define CONFIG_GPM 1
16118
-_ACEOF
16119
+$as_echo "#define CONFIG_GPM 1" >>confdefs.h
16120
 
16121
 			LIBS="$LIBS -lgpm"
16122
 		else
16123
 			if test -n "$WITHVAL_CONFIG_GPM" &&
16124
 			   test "$WITHVAL_CONFIG_GPM" != xno; then
16125
-				{ { echo "$as_me:$LINENO: error: gpm not found" >&5
16126
-echo "$as_me: error: gpm not found" >&2;}
16127
-   { (exit 1); exit 1; }; }
16128
+				as_fn_error $? "gpm not found" "$LINENO" 5
16129
 			fi
16130
 
16131
 	CFLAGS="$CFLAGS_X";
16132
@@ -14996,8 +7471,8 @@ echo "$as_me: error: gpm not found" >&2;
16133
 
16134
 		fi
16135
 	else
16136
-		{ echo "$as_me:$LINENO: result: disabled" >&5
16137
-echo "${ECHO_T}disabled" >&6; }
16138
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16139
+$as_echo "disabled" >&6; }
16140
 	fi
16141
 
16142
 
16143
@@ -15031,19 +7506,19 @@ echo "${ECHO_T}disabled" >&6; }
16144
 
16145
 
16146
 # Check whether --with-zlib was given.
16147
-if test "${with_zlib+set}" = set; then
16148
+if test "${with_zlib+set}" = set; then :
16149
   withval=$with_zlib; WITHVAL_CONFIG_GZIP="$withval"
16150
 fi
16151
 
16152
 	if test "x$WITHVAL_CONFIG_GZIP" = xno; then CONFIG_GZIP=no; fi
16153
 
16154
 
16155
-	{ echo "$as_me:$LINENO: checking for zlib support" >&5
16156
-echo $ECHO_N "checking for zlib support... $ECHO_C" >&6; }
16157
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib support" >&5
16158
+$as_echo_n "checking for zlib support... " >&6; }
16159
 
16160
 	if test "$CONFIG_GZIP" != no; then
16161
-		{ echo "$as_me:$LINENO: result: yes" >&5
16162
-echo "${ECHO_T}yes" >&6; }
16163
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16164
+$as_echo "yes" >&6; }
16165
 
16166
 	CFLAGS_X="$CFLAGS";
16167
 	CPPFLAGS_X="$CPPFLAGS";
16168
@@ -15056,140 +7531,12 @@ echo "${ECHO_T}yes" >&6; }
16169
 			LDFLAGS="$LDFLAGS -L$withval/lib";
16170
 		fi
16171
 
16172
-
16173
-for ac_header in zlib.h
16174
-do
16175
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16176
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16177
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
16178
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16179
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16180
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16181
-fi
16182
-ac_res=`eval echo '${'$as_ac_Header'}'`
16183
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16184
-echo "${ECHO_T}$ac_res" >&6; }
16185
-else
16186
-  # Is the header compilable?
16187
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16188
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16189
-cat >conftest.$ac_ext <<_ACEOF
16190
-/* confdefs.h.  */
16191
-_ACEOF
16192
-cat confdefs.h >>conftest.$ac_ext
16193
-cat >>conftest.$ac_ext <<_ACEOF
16194
-/* end confdefs.h.  */
16195
-$ac_includes_default
16196
-#include <$ac_header>
16197
-_ACEOF
16198
-rm -f conftest.$ac_objext
16199
-if { (ac_try="$ac_compile"
16200
-case "(($ac_try" in
16201
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16202
-  *) ac_try_echo=$ac_try;;
16203
-esac
16204
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16205
-  (eval "$ac_compile") 2>conftest.er1
16206
-  ac_status=$?
16207
-  grep -v '^ *+' conftest.er1 >conftest.err
16208
-  rm -f conftest.er1
16209
-  cat conftest.err >&5
16210
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211
-  (exit $ac_status); } && {
16212
-	 test -z "$ac_c_werror_flag" ||
16213
-	 test ! -s conftest.err
16214
-       } && test -s conftest.$ac_objext; then
16215
-  ac_header_compiler=yes
16216
-else
16217
-  echo "$as_me: failed program was:" >&5
16218
-sed 's/^/| /' conftest.$ac_ext >&5
16219
-
16220
-	ac_header_compiler=no
16221
-fi
16222
-
16223
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16224
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16225
-echo "${ECHO_T}$ac_header_compiler" >&6; }
16226
-
16227
-# Is the header present?
16228
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16229
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16230
-cat >conftest.$ac_ext <<_ACEOF
16231
-/* confdefs.h.  */
16232
-_ACEOF
16233
-cat confdefs.h >>conftest.$ac_ext
16234
-cat >>conftest.$ac_ext <<_ACEOF
16235
-/* end confdefs.h.  */
16236
-#include <$ac_header>
16237
-_ACEOF
16238
-if { (ac_try="$ac_cpp conftest.$ac_ext"
16239
-case "(($ac_try" in
16240
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16241
-  *) ac_try_echo=$ac_try;;
16242
-esac
16243
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16244
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16245
-  ac_status=$?
16246
-  grep -v '^ *+' conftest.er1 >conftest.err
16247
-  rm -f conftest.er1
16248
-  cat conftest.err >&5
16249
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250
-  (exit $ac_status); } >/dev/null && {
16251
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16252
-	 test ! -s conftest.err
16253
-       }; then
16254
-  ac_header_preproc=yes
16255
-else
16256
-  echo "$as_me: failed program was:" >&5
16257
-sed 's/^/| /' conftest.$ac_ext >&5
16258
-
16259
-  ac_header_preproc=no
16260
-fi
16261
-
16262
-rm -f conftest.err conftest.$ac_ext
16263
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16264
-echo "${ECHO_T}$ac_header_preproc" >&6; }
16265
-
16266
-# So?  What about this header?
16267
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16268
-  yes:no: )
16269
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16270
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16271
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16272
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16273
-    ac_header_preproc=yes
16274
-    ;;
16275
-  no:yes:* )
16276
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16277
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16278
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16279
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16280
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16281
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16282
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16283
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16284
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16285
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16286
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16287
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16288
-
16289
-    ;;
16290
-esac
16291
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16292
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16293
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16294
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16295
-else
16296
-  eval "$as_ac_Header=\$ac_header_preproc"
16297
-fi
16298
-ac_res=`eval echo '${'$as_ac_Header'}'`
16299
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16300
-echo "${ECHO_T}$ac_res" >&6; }
16301
-
16302
-fi
16303
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
16304
+		for ac_header in zlib.h
16305
+do :
16306
+  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
16307
+if test "x$ac_cv_header_zlib_h" = xyes; then :
16308
   cat >>confdefs.h <<_ACEOF
16309
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16310
+#define HAVE_ZLIB_H 1
16311
 _ACEOF
16312
  CONFIG_GZIP=yes
16313
 else
16314
@@ -15199,18 +7546,14 @@ fi
16315
 done
16316
 
16317
 		if test "$CONFIG_GZIP" = yes; then
16318
-			{ echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5
16319
-echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6; }
16320
-if test "${ac_cv_lib_z_gzdopen+set}" = set; then
16321
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16322
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
16323
+$as_echo_n "checking for gzdopen in -lz... " >&6; }
16324
+if ${ac_cv_lib_z_gzdopen+:} false; then :
16325
+  $as_echo_n "(cached) " >&6
16326
 else
16327
   ac_check_lib_save_LIBS=$LIBS
16328
 LIBS="-lz  $LIBS"
16329
-cat >conftest.$ac_ext <<_ACEOF
16330
-/* confdefs.h.  */
16331
-_ACEOF
16332
-cat confdefs.h >>conftest.$ac_ext
16333
-cat >>conftest.$ac_ext <<_ACEOF
16334
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16335
 /* end confdefs.h.  */
16336
 
16337
 /* Override any GCC internal prototype to avoid an error.
16338
@@ -15228,39 +7571,18 @@ return gzdopen ();
16339
   return 0;
16340
 }
16341
 _ACEOF
16342
-rm -f conftest.$ac_objext conftest$ac_exeext
16343
-if { (ac_try="$ac_link"
16344
-case "(($ac_try" in
16345
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16346
-  *) ac_try_echo=$ac_try;;
16347
-esac
16348
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16349
-  (eval "$ac_link") 2>conftest.er1
16350
-  ac_status=$?
16351
-  grep -v '^ *+' conftest.er1 >conftest.err
16352
-  rm -f conftest.er1
16353
-  cat conftest.err >&5
16354
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355
-  (exit $ac_status); } && {
16356
-	 test -z "$ac_c_werror_flag" ||
16357
-	 test ! -s conftest.err
16358
-       } && test -s conftest$ac_exeext &&
16359
-       $as_test_x conftest$ac_exeext; then
16360
+if ac_fn_c_try_link "$LINENO"; then :
16361
   ac_cv_lib_z_gzdopen=yes
16362
 else
16363
-  echo "$as_me: failed program was:" >&5
16364
-sed 's/^/| /' conftest.$ac_ext >&5
16365
-
16366
-	ac_cv_lib_z_gzdopen=no
16367
+  ac_cv_lib_z_gzdopen=no
16368
 fi
16369
-
16370
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16371
-      conftest$ac_exeext conftest.$ac_ext
16372
+rm -f core conftest.err conftest.$ac_objext \
16373
+    conftest$ac_exeext conftest.$ac_ext
16374
 LIBS=$ac_check_lib_save_LIBS
16375
 fi
16376
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
16377
-echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6; }
16378
-if test $ac_cv_lib_z_gzdopen = yes; then
16379
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
16380
+$as_echo "$ac_cv_lib_z_gzdopen" >&6; }
16381
+if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
16382
   CONFIG_GZIP=yes
16383
 else
16384
   CONFIG_GZIP=no
16385
@@ -15273,17 +7595,13 @@ fi
16386
 	  CONFIG_GZIP=yes
16387
 	  ABOUT_CONFIG_GZIP="zlib"
16388
 
16389
-cat >>confdefs.h <<\_ACEOF
16390
-#define CONFIG_GZIP 1
16391
-_ACEOF
16392
+$as_echo "#define CONFIG_GZIP 1" >>confdefs.h
16393
 
16394
 			LIBS="$LIBS -lz"
16395
 		else
16396
 			if test -n "$WITHVAL_CONFIG_GZIP" &&
16397
 			   test "$WITHVAL_CONFIG_GZIP" != xno; then
16398
-				{ { echo "$as_me:$LINENO: error: zlib not found" >&5
16399
-echo "$as_me: error: zlib not found" >&2;}
16400
-   { (exit 1); exit 1; }; }
16401
+				as_fn_error $? "zlib not found" "$LINENO" 5
16402
 			fi
16403
 
16404
 	CFLAGS="$CFLAGS_X";
16405
@@ -15293,8 +7611,8 @@ echo "$as_me: error: zlib not found" >&2
16406
 
16407
 		fi
16408
 	else
16409
-		{ echo "$as_me:$LINENO: result: disabled" >&5
16410
-echo "${ECHO_T}disabled" >&6; }
16411
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16412
+$as_echo "disabled" >&6; }
16413
 	fi
16414
 
16415
 
16416
@@ -15328,19 +7646,19 @@ echo "${ECHO_T}disabled" >&6; }
16417
 
16418
 
16419
 # Check whether --with-bzlib was given.
16420
-if test "${with_bzlib+set}" = set; then
16421
+if test "${with_bzlib+set}" = set; then :
16422
   withval=$with_bzlib; WITHVAL_CONFIG_BZIP2="$withval"
16423
 fi
16424
 
16425
 	if test "x$WITHVAL_CONFIG_BZIP2" = xno; then CONFIG_BZIP2=no; fi
16426
 
16427
 
16428
-	{ echo "$as_me:$LINENO: checking for bzlib support" >&5
16429
-echo $ECHO_N "checking for bzlib support... $ECHO_C" >&6; }
16430
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bzlib support" >&5
16431
+$as_echo_n "checking for bzlib support... " >&6; }
16432
 
16433
 	if test "$CONFIG_BZIP2" != no; then
16434
-		{ echo "$as_me:$LINENO: result: yes" >&5
16435
-echo "${ECHO_T}yes" >&6; }
16436
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16437
+$as_echo "yes" >&6; }
16438
 
16439
 	CFLAGS_X="$CFLAGS";
16440
 	CPPFLAGS_X="$CPPFLAGS";
16441
@@ -15353,140 +7671,12 @@ echo "${ECHO_T}yes" >&6; }
16442
 			LDFLAGS="$LDFLAGS -L$withval/lib";
16443
 		fi
16444
 
16445
-
16446
-for ac_header in bzlib.h
16447
-do
16448
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16449
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16450
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
16451
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16452
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16453
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16454
-fi
16455
-ac_res=`eval echo '${'$as_ac_Header'}'`
16456
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16457
-echo "${ECHO_T}$ac_res" >&6; }
16458
-else
16459
-  # Is the header compilable?
16460
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16461
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16462
-cat >conftest.$ac_ext <<_ACEOF
16463
-/* confdefs.h.  */
16464
-_ACEOF
16465
-cat confdefs.h >>conftest.$ac_ext
16466
-cat >>conftest.$ac_ext <<_ACEOF
16467
-/* end confdefs.h.  */
16468
-$ac_includes_default
16469
-#include <$ac_header>
16470
-_ACEOF
16471
-rm -f conftest.$ac_objext
16472
-if { (ac_try="$ac_compile"
16473
-case "(($ac_try" in
16474
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475
-  *) ac_try_echo=$ac_try;;
16476
-esac
16477
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478
-  (eval "$ac_compile") 2>conftest.er1
16479
-  ac_status=$?
16480
-  grep -v '^ *+' conftest.er1 >conftest.err
16481
-  rm -f conftest.er1
16482
-  cat conftest.err >&5
16483
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484
-  (exit $ac_status); } && {
16485
-	 test -z "$ac_c_werror_flag" ||
16486
-	 test ! -s conftest.err
16487
-       } && test -s conftest.$ac_objext; then
16488
-  ac_header_compiler=yes
16489
-else
16490
-  echo "$as_me: failed program was:" >&5
16491
-sed 's/^/| /' conftest.$ac_ext >&5
16492
-
16493
-	ac_header_compiler=no
16494
-fi
16495
-
16496
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16497
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16498
-echo "${ECHO_T}$ac_header_compiler" >&6; }
16499
-
16500
-# Is the header present?
16501
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16502
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16503
-cat >conftest.$ac_ext <<_ACEOF
16504
-/* confdefs.h.  */
16505
-_ACEOF
16506
-cat confdefs.h >>conftest.$ac_ext
16507
-cat >>conftest.$ac_ext <<_ACEOF
16508
-/* end confdefs.h.  */
16509
-#include <$ac_header>
16510
-_ACEOF
16511
-if { (ac_try="$ac_cpp conftest.$ac_ext"
16512
-case "(($ac_try" in
16513
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16514
-  *) ac_try_echo=$ac_try;;
16515
-esac
16516
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16517
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16518
-  ac_status=$?
16519
-  grep -v '^ *+' conftest.er1 >conftest.err
16520
-  rm -f conftest.er1
16521
-  cat conftest.err >&5
16522
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523
-  (exit $ac_status); } >/dev/null && {
16524
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16525
-	 test ! -s conftest.err
16526
-       }; then
16527
-  ac_header_preproc=yes
16528
-else
16529
-  echo "$as_me: failed program was:" >&5
16530
-sed 's/^/| /' conftest.$ac_ext >&5
16531
-
16532
-  ac_header_preproc=no
16533
-fi
16534
-
16535
-rm -f conftest.err conftest.$ac_ext
16536
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16537
-echo "${ECHO_T}$ac_header_preproc" >&6; }
16538
-
16539
-# So?  What about this header?
16540
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16541
-  yes:no: )
16542
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16543
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16544
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16545
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16546
-    ac_header_preproc=yes
16547
-    ;;
16548
-  no:yes:* )
16549
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16550
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16551
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16552
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16553
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16554
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16555
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16556
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16557
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16558
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16559
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16560
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16561
-
16562
-    ;;
16563
-esac
16564
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16565
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16566
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16567
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16568
-else
16569
-  eval "$as_ac_Header=\$ac_header_preproc"
16570
-fi
16571
-ac_res=`eval echo '${'$as_ac_Header'}'`
16572
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16573
-echo "${ECHO_T}$ac_res" >&6; }
16574
-
16575
-fi
16576
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
16577
+		for ac_header in bzlib.h
16578
+do :
16579
+  ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
16580
+if test "x$ac_cv_header_bzlib_h" = xyes; then :
16581
   cat >>confdefs.h <<_ACEOF
16582
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16583
+#define HAVE_BZLIB_H 1
16584
 _ACEOF
16585
  CONFIG_BZIP2=yes
16586
 else
16587
@@ -15496,18 +7686,14 @@ fi
16588
 done
16589
 
16590
 		if test "$CONFIG_BZIP2" = yes; then
16591
-			{ echo "$as_me:$LINENO: checking for BZ2_bzReadOpen in -lbz2" >&5
16592
-echo $ECHO_N "checking for BZ2_bzReadOpen in -lbz2... $ECHO_C" >&6; }
16593
-if test "${ac_cv_lib_bz2_BZ2_bzReadOpen+set}" = set; then
16594
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16595
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzReadOpen in -lbz2" >&5
16596
+$as_echo_n "checking for BZ2_bzReadOpen in -lbz2... " >&6; }
16597
+if ${ac_cv_lib_bz2_BZ2_bzReadOpen+:} false; then :
16598
+  $as_echo_n "(cached) " >&6
16599
 else
16600
   ac_check_lib_save_LIBS=$LIBS
16601
 LIBS="-lbz2  $LIBS"
16602
-cat >conftest.$ac_ext <<_ACEOF
16603
-/* confdefs.h.  */
16604
-_ACEOF
16605
-cat confdefs.h >>conftest.$ac_ext
16606
-cat >>conftest.$ac_ext <<_ACEOF
16607
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608
 /* end confdefs.h.  */
16609
 
16610
 /* Override any GCC internal prototype to avoid an error.
16611
@@ -15525,39 +7711,18 @@ return BZ2_bzReadOpen ();
16612
   return 0;
16613
 }
16614
 _ACEOF
16615
-rm -f conftest.$ac_objext conftest$ac_exeext
16616
-if { (ac_try="$ac_link"
16617
-case "(($ac_try" in
16618
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16619
-  *) ac_try_echo=$ac_try;;
16620
-esac
16621
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16622
-  (eval "$ac_link") 2>conftest.er1
16623
-  ac_status=$?
16624
-  grep -v '^ *+' conftest.er1 >conftest.err
16625
-  rm -f conftest.er1
16626
-  cat conftest.err >&5
16627
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628
-  (exit $ac_status); } && {
16629
-	 test -z "$ac_c_werror_flag" ||
16630
-	 test ! -s conftest.err
16631
-       } && test -s conftest$ac_exeext &&
16632
-       $as_test_x conftest$ac_exeext; then
16633
+if ac_fn_c_try_link "$LINENO"; then :
16634
   ac_cv_lib_bz2_BZ2_bzReadOpen=yes
16635
 else
16636
-  echo "$as_me: failed program was:" >&5
16637
-sed 's/^/| /' conftest.$ac_ext >&5
16638
-
16639
-	ac_cv_lib_bz2_BZ2_bzReadOpen=no
16640
+  ac_cv_lib_bz2_BZ2_bzReadOpen=no
16641
 fi
16642
-
16643
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16644
-      conftest$ac_exeext conftest.$ac_ext
16645
+rm -f core conftest.err conftest.$ac_objext \
16646
+    conftest$ac_exeext conftest.$ac_ext
16647
 LIBS=$ac_check_lib_save_LIBS
16648
 fi
16649
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzReadOpen" >&5
16650
-echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; }
16651
-if test $ac_cv_lib_bz2_BZ2_bzReadOpen = yes; then
16652
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzReadOpen" >&5
16653
+$as_echo "$ac_cv_lib_bz2_BZ2_bzReadOpen" >&6; }
16654
+if test "x$ac_cv_lib_bz2_BZ2_bzReadOpen" = xyes; then :
16655
   CONFIG_BZIP2=yes
16656
 else
16657
   CONFIG_BZIP2=no
16658
@@ -15570,17 +7735,13 @@ fi
16659
 	  CONFIG_BZIP2=yes
16660
 	  ABOUT_CONFIG_BZIP2="bzlib"
16661
 
16662
-cat >>confdefs.h <<\_ACEOF
16663
-#define CONFIG_BZIP2 1
16664
-_ACEOF
16665
+$as_echo "#define CONFIG_BZIP2 1" >>confdefs.h
16666
 
16667
 			LIBS="$LIBS -lbz2"
16668
 		else
16669
 			if test -n "$WITHVAL_CONFIG_BZIP2" &&
16670
 			   test "$WITHVAL_CONFIG_BZIP2" != xno; then
16671
-				{ { echo "$as_me:$LINENO: error: bzlib not found" >&5
16672
-echo "$as_me: error: bzlib not found" >&2;}
16673
-   { (exit 1); exit 1; }; }
16674
+				as_fn_error $? "bzlib not found" "$LINENO" 5
16675
 			fi
16676
 
16677
 	CFLAGS="$CFLAGS_X";
16678
@@ -15590,8 +7751,8 @@ echo "$as_me: error: bzlib not found" >&
16679
 
16680
 		fi
16681
 	else
16682
-		{ echo "$as_me:$LINENO: result: disabled" >&5
16683
-echo "${ECHO_T}disabled" >&6; }
16684
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16685
+$as_echo "disabled" >&6; }
16686
 	fi
16687
 
16688
 
16689
@@ -15625,19 +7786,19 @@ echo "${ECHO_T}disabled" >&6; }
16690
 
16691
 
16692
 # Check whether --with-idn was given.
16693
-if test "${with_idn+set}" = set; then
16694
+if test "${with_idn+set}" = set; then :
16695
   withval=$with_idn; WITHVAL_CONFIG_IDN="$withval"
16696
 fi
16697
 
16698
 	if test "x$WITHVAL_CONFIG_IDN" = xno; then CONFIG_IDN=no; fi
16699
 
16700
 
16701
-	{ echo "$as_me:$LINENO: checking for idn support" >&5
16702
-echo $ECHO_N "checking for idn support... $ECHO_C" >&6; }
16703
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for idn support" >&5
16704
+$as_echo_n "checking for idn support... " >&6; }
16705
 
16706
 	if test "$CONFIG_IDN" != no; then
16707
-		{ echo "$as_me:$LINENO: result: yes" >&5
16708
-echo "${ECHO_T}yes" >&6; }
16709
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16710
+$as_echo "yes" >&6; }
16711
 
16712
 	CFLAGS_X="$CFLAGS";
16713
 	CPPFLAGS_X="$CPPFLAGS";
16714
@@ -15650,140 +7811,12 @@ echo "${ECHO_T}yes" >&6; }
16715
 			LDFLAGS="$LDFLAGS -L$withval/lib";
16716
 		fi
16717
 
16718
-
16719
-for ac_header in idna.h
16720
-do
16721
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16722
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16723
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
16724
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16725
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16726
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16727
-fi
16728
-ac_res=`eval echo '${'$as_ac_Header'}'`
16729
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16730
-echo "${ECHO_T}$ac_res" >&6; }
16731
-else
16732
-  # Is the header compilable?
16733
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16734
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16735
-cat >conftest.$ac_ext <<_ACEOF
16736
-/* confdefs.h.  */
16737
-_ACEOF
16738
-cat confdefs.h >>conftest.$ac_ext
16739
-cat >>conftest.$ac_ext <<_ACEOF
16740
-/* end confdefs.h.  */
16741
-$ac_includes_default
16742
-#include <$ac_header>
16743
-_ACEOF
16744
-rm -f conftest.$ac_objext
16745
-if { (ac_try="$ac_compile"
16746
-case "(($ac_try" in
16747
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748
-  *) ac_try_echo=$ac_try;;
16749
-esac
16750
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751
-  (eval "$ac_compile") 2>conftest.er1
16752
-  ac_status=$?
16753
-  grep -v '^ *+' conftest.er1 >conftest.err
16754
-  rm -f conftest.er1
16755
-  cat conftest.err >&5
16756
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757
-  (exit $ac_status); } && {
16758
-	 test -z "$ac_c_werror_flag" ||
16759
-	 test ! -s conftest.err
16760
-       } && test -s conftest.$ac_objext; then
16761
-  ac_header_compiler=yes
16762
-else
16763
-  echo "$as_me: failed program was:" >&5
16764
-sed 's/^/| /' conftest.$ac_ext >&5
16765
-
16766
-	ac_header_compiler=no
16767
-fi
16768
-
16769
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16771
-echo "${ECHO_T}$ac_header_compiler" >&6; }
16772
-
16773
-# Is the header present?
16774
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16775
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16776
-cat >conftest.$ac_ext <<_ACEOF
16777
-/* confdefs.h.  */
16778
-_ACEOF
16779
-cat confdefs.h >>conftest.$ac_ext
16780
-cat >>conftest.$ac_ext <<_ACEOF
16781
-/* end confdefs.h.  */
16782
-#include <$ac_header>
16783
-_ACEOF
16784
-if { (ac_try="$ac_cpp conftest.$ac_ext"
16785
-case "(($ac_try" in
16786
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787
-  *) ac_try_echo=$ac_try;;
16788
-esac
16789
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16790
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16791
-  ac_status=$?
16792
-  grep -v '^ *+' conftest.er1 >conftest.err
16793
-  rm -f conftest.er1
16794
-  cat conftest.err >&5
16795
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796
-  (exit $ac_status); } >/dev/null && {
16797
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16798
-	 test ! -s conftest.err
16799
-       }; then
16800
-  ac_header_preproc=yes
16801
-else
16802
-  echo "$as_me: failed program was:" >&5
16803
-sed 's/^/| /' conftest.$ac_ext >&5
16804
-
16805
-  ac_header_preproc=no
16806
-fi
16807
-
16808
-rm -f conftest.err conftest.$ac_ext
16809
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16810
-echo "${ECHO_T}$ac_header_preproc" >&6; }
16811
-
16812
-# So?  What about this header?
16813
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16814
-  yes:no: )
16815
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16816
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16817
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16818
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16819
-    ac_header_preproc=yes
16820
-    ;;
16821
-  no:yes:* )
16822
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16823
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16824
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16825
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16826
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16827
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16828
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16829
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16830
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16831
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16832
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16833
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16834
-
16835
-    ;;
16836
-esac
16837
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16838
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16839
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16840
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16841
-else
16842
-  eval "$as_ac_Header=\$ac_header_preproc"
16843
-fi
16844
-ac_res=`eval echo '${'$as_ac_Header'}'`
16845
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16846
-echo "${ECHO_T}$ac_res" >&6; }
16847
-
16848
-fi
16849
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
16850
+		for ac_header in idna.h
16851
+do :
16852
+  ac_fn_c_check_header_mongrel "$LINENO" "idna.h" "ac_cv_header_idna_h" "$ac_includes_default"
16853
+if test "x$ac_cv_header_idna_h" = xyes; then :
16854
   cat >>confdefs.h <<_ACEOF
16855
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16856
+#define HAVE_IDNA_H 1
16857
 _ACEOF
16858
  CONFIG_IDN=yes
16859
 else
16860
@@ -15793,18 +7826,14 @@ fi
16861
 done
16862
 
16863
 		if test "$CONFIG_IDN" = yes; then
16864
-			{ echo "$as_me:$LINENO: checking for stringprep_check_version in -lidn" >&5
16865
-echo $ECHO_N "checking for stringprep_check_version in -lidn... $ECHO_C" >&6; }
16866
-if test "${ac_cv_lib_idn_stringprep_check_version+set}" = set; then
16867
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16868
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stringprep_check_version in -lidn" >&5
16869
+$as_echo_n "checking for stringprep_check_version in -lidn... " >&6; }
16870
+if ${ac_cv_lib_idn_stringprep_check_version+:} false; then :
16871
+  $as_echo_n "(cached) " >&6
16872
 else
16873
   ac_check_lib_save_LIBS=$LIBS
16874
 LIBS="-lidn  $LIBS"
16875
-cat >conftest.$ac_ext <<_ACEOF
16876
-/* confdefs.h.  */
16877
-_ACEOF
16878
-cat confdefs.h >>conftest.$ac_ext
16879
-cat >>conftest.$ac_ext <<_ACEOF
16880
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881
 /* end confdefs.h.  */
16882
 
16883
 /* Override any GCC internal prototype to avoid an error.
16884
@@ -15822,39 +7851,18 @@ return stringprep_check_version ();
16885
   return 0;
16886
 }
16887
 _ACEOF
16888
-rm -f conftest.$ac_objext conftest$ac_exeext
16889
-if { (ac_try="$ac_link"
16890
-case "(($ac_try" in
16891
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16892
-  *) ac_try_echo=$ac_try;;
16893
-esac
16894
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16895
-  (eval "$ac_link") 2>conftest.er1
16896
-  ac_status=$?
16897
-  grep -v '^ *+' conftest.er1 >conftest.err
16898
-  rm -f conftest.er1
16899
-  cat conftest.err >&5
16900
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901
-  (exit $ac_status); } && {
16902
-	 test -z "$ac_c_werror_flag" ||
16903
-	 test ! -s conftest.err
16904
-       } && test -s conftest$ac_exeext &&
16905
-       $as_test_x conftest$ac_exeext; then
16906
+if ac_fn_c_try_link "$LINENO"; then :
16907
   ac_cv_lib_idn_stringprep_check_version=yes
16908
 else
16909
-  echo "$as_me: failed program was:" >&5
16910
-sed 's/^/| /' conftest.$ac_ext >&5
16911
-
16912
-	ac_cv_lib_idn_stringprep_check_version=no
16913
+  ac_cv_lib_idn_stringprep_check_version=no
16914
 fi
16915
-
16916
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16917
-      conftest$ac_exeext conftest.$ac_ext
16918
+rm -f core conftest.err conftest.$ac_objext \
16919
+    conftest$ac_exeext conftest.$ac_ext
16920
 LIBS=$ac_check_lib_save_LIBS
16921
 fi
16922
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_idn_stringprep_check_version" >&5
16923
-echo "${ECHO_T}$ac_cv_lib_idn_stringprep_check_version" >&6; }
16924
-if test $ac_cv_lib_idn_stringprep_check_version = yes; then
16925
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_stringprep_check_version" >&5
16926
+$as_echo "$ac_cv_lib_idn_stringprep_check_version" >&6; }
16927
+if test "x$ac_cv_lib_idn_stringprep_check_version" = xyes; then :
16928
   CONFIG_IDN=yes
16929
 else
16930
   CONFIG_IDN=no
16931
@@ -15867,17 +7875,13 @@ fi
16932
 	  CONFIG_IDN=yes
16933
 	  ABOUT_CONFIG_IDN="idn"
16934
 
16935
-cat >>confdefs.h <<\_ACEOF
16936
-#define CONFIG_IDN 1
16937
-_ACEOF
16938
+$as_echo "#define CONFIG_IDN 1" >>confdefs.h
16939
 
16940
 			LIBS="$LIBS -lidn"
16941
 		else
16942
 			if test -n "$WITHVAL_CONFIG_IDN" &&
16943
 			   test "$WITHVAL_CONFIG_IDN" != xno; then
16944
-				{ { echo "$as_me:$LINENO: error: idn not found" >&5
16945
-echo "$as_me: error: idn not found" >&2;}
16946
-   { (exit 1); exit 1; }; }
16947
+				as_fn_error $? "idn not found" "$LINENO" 5
16948
 			fi
16949
 
16950
 	CFLAGS="$CFLAGS_X";
16951
@@ -15887,8 +7891,8 @@ echo "$as_me: error: idn not found" >&2;
16952
 
16953
 		fi
16954
 	else
16955
-		{ echo "$as_me:$LINENO: result: disabled" >&5
16956
-echo "${ECHO_T}disabled" >&6; }
16957
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
16958
+$as_echo "disabled" >&6; }
16959
 	fi
16960
 
16961
 
16962
@@ -15926,7 +7930,7 @@ echo "${ECHO_T}disabled" >&6; }
16963
 
16964
 
16965
 	# Check whether --enable-bookmarks was given.
16966
-if test "${enable_bookmarks+set}" = set; then
16967
+if test "${enable_bookmarks+set}" = set; then :
16968
   enableval=$enable_bookmarks;
16969
 		if test "$enableval" != no; then enableval="yes"; fi
16970
 		CONFIG_BOOKMARKS="$enableval";
16971
@@ -15939,9 +7943,7 @@ fi
16972
 	  CONFIG_BOOKMARKS=yes
16973
 	  ABOUT_CONFIG_BOOKMARKS="Bookmarks"
16974
 
16975
-cat >>confdefs.h <<\_ACEOF
16976
-#define CONFIG_BOOKMARKS 1
16977
-_ACEOF
16978
+$as_echo "#define CONFIG_BOOKMARKS 1" >>confdefs.h
16979
 
16980
 	else
16981
 		CONFIG_BOOKMARKS=no
16982
@@ -15972,140 +7974,12 @@ _ACEOF
16983
 
16984
 # Check whether --enable-xbel or --disable-xbel was given.
16985
 if test "x${enable_xbel}" != xno; then
16986
-
16987
-for ac_header in expat.h
16988
-do
16989
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16990
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16991
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
16992
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16993
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16994
-  echo $ECHO_N "(cached) $ECHO_C" >&6
16995
-fi
16996
-ac_res=`eval echo '${'$as_ac_Header'}'`
16997
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
16998
-echo "${ECHO_T}$ac_res" >&6; }
16999
-else
17000
-  # Is the header compilable?
17001
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17002
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17003
-cat >conftest.$ac_ext <<_ACEOF
17004
-/* confdefs.h.  */
17005
-_ACEOF
17006
-cat confdefs.h >>conftest.$ac_ext
17007
-cat >>conftest.$ac_ext <<_ACEOF
17008
-/* end confdefs.h.  */
17009
-$ac_includes_default
17010
-#include <$ac_header>
17011
-_ACEOF
17012
-rm -f conftest.$ac_objext
17013
-if { (ac_try="$ac_compile"
17014
-case "(($ac_try" in
17015
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016
-  *) ac_try_echo=$ac_try;;
17017
-esac
17018
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019
-  (eval "$ac_compile") 2>conftest.er1
17020
-  ac_status=$?
17021
-  grep -v '^ *+' conftest.er1 >conftest.err
17022
-  rm -f conftest.er1
17023
-  cat conftest.err >&5
17024
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025
-  (exit $ac_status); } && {
17026
-	 test -z "$ac_c_werror_flag" ||
17027
-	 test ! -s conftest.err
17028
-       } && test -s conftest.$ac_objext; then
17029
-  ac_header_compiler=yes
17030
-else
17031
-  echo "$as_me: failed program was:" >&5
17032
-sed 's/^/| /' conftest.$ac_ext >&5
17033
-
17034
-	ac_header_compiler=no
17035
-fi
17036
-
17037
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17039
-echo "${ECHO_T}$ac_header_compiler" >&6; }
17040
-
17041
-# Is the header present?
17042
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17043
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17044
-cat >conftest.$ac_ext <<_ACEOF
17045
-/* confdefs.h.  */
17046
-_ACEOF
17047
-cat confdefs.h >>conftest.$ac_ext
17048
-cat >>conftest.$ac_ext <<_ACEOF
17049
-/* end confdefs.h.  */
17050
-#include <$ac_header>
17051
-_ACEOF
17052
-if { (ac_try="$ac_cpp conftest.$ac_ext"
17053
-case "(($ac_try" in
17054
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17055
-  *) ac_try_echo=$ac_try;;
17056
-esac
17057
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17058
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17059
-  ac_status=$?
17060
-  grep -v '^ *+' conftest.er1 >conftest.err
17061
-  rm -f conftest.er1
17062
-  cat conftest.err >&5
17063
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064
-  (exit $ac_status); } >/dev/null && {
17065
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17066
-	 test ! -s conftest.err
17067
-       }; then
17068
-  ac_header_preproc=yes
17069
-else
17070
-  echo "$as_me: failed program was:" >&5
17071
-sed 's/^/| /' conftest.$ac_ext >&5
17072
-
17073
-  ac_header_preproc=no
17074
-fi
17075
-
17076
-rm -f conftest.err conftest.$ac_ext
17077
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17078
-echo "${ECHO_T}$ac_header_preproc" >&6; }
17079
-
17080
-# So?  What about this header?
17081
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17082
-  yes:no: )
17083
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17084
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17085
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17086
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17087
-    ac_header_preproc=yes
17088
-    ;;
17089
-  no:yes:* )
17090
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17091
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17092
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17093
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17094
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17095
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17096
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17097
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17098
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17099
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17100
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17101
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17102
-
17103
-    ;;
17104
-esac
17105
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17106
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17107
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17108
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17109
-else
17110
-  eval "$as_ac_Header=\$ac_header_preproc"
17111
-fi
17112
-ac_res=`eval echo '${'$as_ac_Header'}'`
17113
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
17114
-echo "${ECHO_T}$ac_res" >&6; }
17115
-
17116
-fi
17117
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
17118
+	for ac_header in expat.h
17119
+do :
17120
+  ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
17121
+if test "x$ac_cv_header_expat_h" = xyes; then :
17122
   cat >>confdefs.h <<_ACEOF
17123
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17124
+#define HAVE_EXPAT_H 1
17125
 _ACEOF
17126
  HAVE_LIBEXPAT=yes
17127
 else
17128
@@ -16116,18 +7990,14 @@ done
17129
 
17130
 
17131
 	if test "$HAVE_LIBEXPAT" = yes; then
17132
-		{ echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
17133
-echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
17134
-if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
17135
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17136
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
17137
+$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
17138
+if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
17139
+  $as_echo_n "(cached) " >&6
17140
 else
17141
   ac_check_lib_save_LIBS=$LIBS
17142
 LIBS="-lexpat  $LIBS"
17143
-cat >conftest.$ac_ext <<_ACEOF
17144
-/* confdefs.h.  */
17145
-_ACEOF
17146
-cat confdefs.h >>conftest.$ac_ext
17147
-cat >>conftest.$ac_ext <<_ACEOF
17148
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149
 /* end confdefs.h.  */
17150
 
17151
 /* Override any GCC internal prototype to avoid an error.
17152
@@ -16145,39 +8015,18 @@ return XML_ParserCreate ();
17153
   return 0;
17154
 }
17155
 _ACEOF
17156
-rm -f conftest.$ac_objext conftest$ac_exeext
17157
-if { (ac_try="$ac_link"
17158
-case "(($ac_try" in
17159
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17160
-  *) ac_try_echo=$ac_try;;
17161
-esac
17162
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163
-  (eval "$ac_link") 2>conftest.er1
17164
-  ac_status=$?
17165
-  grep -v '^ *+' conftest.er1 >conftest.err
17166
-  rm -f conftest.er1
17167
-  cat conftest.err >&5
17168
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169
-  (exit $ac_status); } && {
17170
-	 test -z "$ac_c_werror_flag" ||
17171
-	 test ! -s conftest.err
17172
-       } && test -s conftest$ac_exeext &&
17173
-       $as_test_x conftest$ac_exeext; then
17174
+if ac_fn_c_try_link "$LINENO"; then :
17175
   ac_cv_lib_expat_XML_ParserCreate=yes
17176
 else
17177
-  echo "$as_me: failed program was:" >&5
17178
-sed 's/^/| /' conftest.$ac_ext >&5
17179
-
17180
-	ac_cv_lib_expat_XML_ParserCreate=no
17181
+  ac_cv_lib_expat_XML_ParserCreate=no
17182
 fi
17183
-
17184
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17185
-      conftest$ac_exeext conftest.$ac_ext
17186
+rm -f core conftest.err conftest.$ac_objext \
17187
+    conftest$ac_exeext conftest.$ac_ext
17188
 LIBS=$ac_check_lib_save_LIBS
17189
 fi
17190
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
17191
-echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
17192
-if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
17193
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
17194
+$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
17195
+if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
17196
   HAVE_LIBEXPAT=yes
17197
 else
17198
   HAVE_LIBEXPAT=no
17199
@@ -16192,7 +8041,7 @@ fi
17200
 
17201
 
17202
 	# Check whether --enable-xbel was given.
17203
-if test "${enable_xbel+set}" = set; then
17204
+if test "${enable_xbel+set}" = set; then :
17205
   enableval=$enable_xbel;
17206
 		if test "$enableval" != no; then enableval="yes"; fi
17207
 		CONFIG_XBEL_BOOKMARKS="$enableval"
17208
@@ -16220,9 +8069,7 @@ fi
17209
 	  CONFIG_XBEL_BOOKMARKS=yes
17210
 	  ABOUT_CONFIG_XBEL_BOOKMARKS="XBEL bookmarks"
17211
 
17212
-cat >>confdefs.h <<\_ACEOF
17213
-#define CONFIG_XBEL_BOOKMARKS 1
17214
-_ACEOF
17215
+$as_echo "#define CONFIG_XBEL_BOOKMARKS 1" >>confdefs.h
17216
 
17217
 		else
17218
 			CONFIG_XBEL_BOOKMARKS=no;
17219
@@ -16267,141 +8114,13 @@ fi
17220
 HAVE_SYSMOUSE_HEADER="no"
17221
 
17222
 # Either of these header files provides the (same) sysmouse interface
17223
-
17224
-
17225
 for ac_header in sys/consio.h machine/console.h
17226
-do
17227
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17228
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17229
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
17230
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17231
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17232
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17233
-fi
17234
-ac_res=`eval echo '${'$as_ac_Header'}'`
17235
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
17236
-echo "${ECHO_T}$ac_res" >&6; }
17237
-else
17238
-  # Is the header compilable?
17239
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17240
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17241
-cat >conftest.$ac_ext <<_ACEOF
17242
-/* confdefs.h.  */
17243
-_ACEOF
17244
-cat confdefs.h >>conftest.$ac_ext
17245
-cat >>conftest.$ac_ext <<_ACEOF
17246
-/* end confdefs.h.  */
17247
-$ac_includes_default
17248
-#include <$ac_header>
17249
-_ACEOF
17250
-rm -f conftest.$ac_objext
17251
-if { (ac_try="$ac_compile"
17252
-case "(($ac_try" in
17253
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254
-  *) ac_try_echo=$ac_try;;
17255
-esac
17256
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257
-  (eval "$ac_compile") 2>conftest.er1
17258
-  ac_status=$?
17259
-  grep -v '^ *+' conftest.er1 >conftest.err
17260
-  rm -f conftest.er1
17261
-  cat conftest.err >&5
17262
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263
-  (exit $ac_status); } && {
17264
-	 test -z "$ac_c_werror_flag" ||
17265
-	 test ! -s conftest.err
17266
-       } && test -s conftest.$ac_objext; then
17267
-  ac_header_compiler=yes
17268
-else
17269
-  echo "$as_me: failed program was:" >&5
17270
-sed 's/^/| /' conftest.$ac_ext >&5
17271
-
17272
-	ac_header_compiler=no
17273
-fi
17274
-
17275
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17277
-echo "${ECHO_T}$ac_header_compiler" >&6; }
17278
-
17279
-# Is the header present?
17280
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17281
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17282
-cat >conftest.$ac_ext <<_ACEOF
17283
-/* confdefs.h.  */
17284
-_ACEOF
17285
-cat confdefs.h >>conftest.$ac_ext
17286
-cat >>conftest.$ac_ext <<_ACEOF
17287
-/* end confdefs.h.  */
17288
-#include <$ac_header>
17289
-_ACEOF
17290
-if { (ac_try="$ac_cpp conftest.$ac_ext"
17291
-case "(($ac_try" in
17292
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17293
-  *) ac_try_echo=$ac_try;;
17294
-esac
17295
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17296
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17297
-  ac_status=$?
17298
-  grep -v '^ *+' conftest.er1 >conftest.err
17299
-  rm -f conftest.er1
17300
-  cat conftest.err >&5
17301
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302
-  (exit $ac_status); } >/dev/null && {
17303
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17304
-	 test ! -s conftest.err
17305
-       }; then
17306
-  ac_header_preproc=yes
17307
-else
17308
-  echo "$as_me: failed program was:" >&5
17309
-sed 's/^/| /' conftest.$ac_ext >&5
17310
-
17311
-  ac_header_preproc=no
17312
-fi
17313
-
17314
-rm -f conftest.err conftest.$ac_ext
17315
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17316
-echo "${ECHO_T}$ac_header_preproc" >&6; }
17317
-
17318
-# So?  What about this header?
17319
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17320
-  yes:no: )
17321
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17322
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17323
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17324
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17325
-    ac_header_preproc=yes
17326
-    ;;
17327
-  no:yes:* )
17328
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17329
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17330
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17331
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17332
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17333
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17334
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17335
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17336
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17337
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17338
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17339
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17340
-
17341
-    ;;
17342
-esac
17343
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17344
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17345
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17346
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17347
-else
17348
-  eval "$as_ac_Header=\$ac_header_preproc"
17349
-fi
17350
-ac_res=`eval echo '${'$as_ac_Header'}'`
17351
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
17352
-echo "${ECHO_T}$ac_res" >&6; }
17353
-
17354
-fi
17355
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
17356
+do :
17357
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17358
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17359
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17360
   cat >>confdefs.h <<_ACEOF
17361
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17362
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17363
 _ACEOF
17364
  HAVE_SYSMOUSE_HEADER="yes"
17365
 fi
17366
@@ -16412,8 +8131,8 @@ done
17367
 
17368
 if test "$CONFIG_OS2" = yes; then
17369
 
17370
-	{ echo "$as_me:$LINENO: checking for OS/2 threads" >&5
17371
-echo $ECHO_N "checking for OS/2 threads... $ECHO_C" >&6; }
17372
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS/2 threads" >&5
17373
+$as_echo_n "checking for OS/2 threads... " >&6; }
17374
 
17375
 
17376
 	CFLAGS_X="$CFLAGS";
17377
@@ -16423,11 +8142,7 @@ echo $ECHO_N "checking for OS/2 threads.
17378
 
17379
 	CFLAGS="$CFLAGS -Zmt"
17380
 
17381
-	cat >conftest.$ac_ext <<_ACEOF
17382
-/* confdefs.h.  */
17383
-_ACEOF
17384
-cat confdefs.h >>conftest.$ac_ext
17385
-cat >>conftest.$ac_ext <<_ACEOF
17386
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387
 /* end confdefs.h.  */
17388
 #include <stdlib.h>
17389
 int
17390
@@ -16438,42 +8153,19 @@ _beginthread(NULL, NULL, 0, NULL)
17391
   return 0;
17392
 }
17393
 _ACEOF
17394
-rm -f conftest.$ac_objext conftest$ac_exeext
17395
-if { (ac_try="$ac_link"
17396
-case "(($ac_try" in
17397
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17398
-  *) ac_try_echo=$ac_try;;
17399
-esac
17400
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17401
-  (eval "$ac_link") 2>conftest.er1
17402
-  ac_status=$?
17403
-  grep -v '^ *+' conftest.er1 >conftest.err
17404
-  rm -f conftest.er1
17405
-  cat conftest.err >&5
17406
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407
-  (exit $ac_status); } && {
17408
-	 test -z "$ac_c_werror_flag" ||
17409
-	 test ! -s conftest.err
17410
-       } && test -s conftest$ac_exeext &&
17411
-       $as_test_x conftest$ac_exeext; then
17412
+if ac_fn_c_try_link "$LINENO"; then :
17413
   cf_result=yes
17414
 else
17415
-  echo "$as_me: failed program was:" >&5
17416
-sed 's/^/| /' conftest.$ac_ext >&5
17417
-
17418
-	cf_result=no
17419
+  cf_result=no
17420
 fi
17421
-
17422
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17423
-      conftest$ac_exeext conftest.$ac_ext
17424
-	{ echo "$as_me:$LINENO: result: $cf_result" >&5
17425
-echo "${ECHO_T}$cf_result" >&6; }
17426
+rm -f core conftest.err conftest.$ac_objext \
17427
+    conftest$ac_exeext conftest.$ac_ext
17428
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
17429
+$as_echo "$cf_result" >&6; }
17430
 
17431
 	if test "$cf_result" = yes; then
17432
 
17433
-cat >>confdefs.h <<\_ACEOF
17434
-#define HAVE_BEGINTHREAD 1
17435
-_ACEOF
17436
+$as_echo "#define HAVE_BEGINTHREAD 1" >>confdefs.h
17437
 
17438
 	else
17439
 
17440
@@ -16484,187 +8176,23 @@ _ACEOF
17441
 
17442
 	fi
17443
 
17444
-	{ echo "$as_me:$LINENO: checking for MouOpen" >&5
17445
-echo $ECHO_N "checking for MouOpen... $ECHO_C" >&6; }
17446
-if test "${ac_cv_func_MouOpen+set}" = set; then
17447
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17448
-else
17449
-  cat >conftest.$ac_ext <<_ACEOF
17450
-/* confdefs.h.  */
17451
-_ACEOF
17452
-cat confdefs.h >>conftest.$ac_ext
17453
-cat >>conftest.$ac_ext <<_ACEOF
17454
-/* end confdefs.h.  */
17455
-/* Define MouOpen to an innocuous variant, in case <limits.h> declares MouOpen.
17456
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17457
-#define MouOpen innocuous_MouOpen
17458
-
17459
-/* System header to define __stub macros and hopefully few prototypes,
17460
-    which can conflict with char MouOpen (); below.
17461
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17462
-    <limits.h> exists even on freestanding compilers.  */
17463
-
17464
-#ifdef __STDC__
17465
-# include <limits.h>
17466
-#else
17467
-# include <assert.h>
17468
-#endif
17469
-
17470
-#undef MouOpen
17471
-
17472
-/* Override any GCC internal prototype to avoid an error.
17473
-   Use char because int might match the return type of a GCC
17474
-   builtin and then its argument prototype would still apply.  */
17475
-#ifdef __cplusplus
17476
-extern "C"
17477
-#endif
17478
-char MouOpen ();
17479
-/* The GNU C library defines this for functions which it implements
17480
-    to always fail with ENOSYS.  Some functions are actually named
17481
-    something starting with __ and the normal name is an alias.  */
17482
-#if defined __stub_MouOpen || defined __stub___MouOpen
17483
-choke me
17484
-#endif
17485
-
17486
-int
17487
-main ()
17488
-{
17489
-return MouOpen ();
17490
-  ;
17491
-  return 0;
17492
-}
17493
-_ACEOF
17494
-rm -f conftest.$ac_objext conftest$ac_exeext
17495
-if { (ac_try="$ac_link"
17496
-case "(($ac_try" in
17497
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17498
-  *) ac_try_echo=$ac_try;;
17499
-esac
17500
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17501
-  (eval "$ac_link") 2>conftest.er1
17502
-  ac_status=$?
17503
-  grep -v '^ *+' conftest.er1 >conftest.err
17504
-  rm -f conftest.er1
17505
-  cat conftest.err >&5
17506
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507
-  (exit $ac_status); } && {
17508
-	 test -z "$ac_c_werror_flag" ||
17509
-	 test ! -s conftest.err
17510
-       } && test -s conftest$ac_exeext &&
17511
-       $as_test_x conftest$ac_exeext; then
17512
-  ac_cv_func_MouOpen=yes
17513
-else
17514
-  echo "$as_me: failed program was:" >&5
17515
-sed 's/^/| /' conftest.$ac_ext >&5
17516
-
17517
-	ac_cv_func_MouOpen=no
17518
-fi
17519
-
17520
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17521
-      conftest$ac_exeext conftest.$ac_ext
17522
-fi
17523
-{ echo "$as_me:$LINENO: result: $ac_cv_func_MouOpen" >&5
17524
-echo "${ECHO_T}$ac_cv_func_MouOpen" >&6; }
17525
-if test $ac_cv_func_MouOpen = yes; then
17526
-
17527
-cat >>confdefs.h <<\_ACEOF
17528
-#define HAVE_MOUOPEN 1
17529
-_ACEOF
17530
-
17531
-fi
17532
-
17533
-	{ echo "$as_me:$LINENO: checking for _read_kbd" >&5
17534
-echo $ECHO_N "checking for _read_kbd... $ECHO_C" >&6; }
17535
-if test "${ac_cv_func__read_kbd+set}" = set; then
17536
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17537
-else
17538
-  cat >conftest.$ac_ext <<_ACEOF
17539
-/* confdefs.h.  */
17540
-_ACEOF
17541
-cat confdefs.h >>conftest.$ac_ext
17542
-cat >>conftest.$ac_ext <<_ACEOF
17543
-/* end confdefs.h.  */
17544
-/* Define _read_kbd to an innocuous variant, in case <limits.h> declares _read_kbd.
17545
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17546
-#define _read_kbd innocuous__read_kbd
17547
-
17548
-/* System header to define __stub macros and hopefully few prototypes,
17549
-    which can conflict with char _read_kbd (); below.
17550
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17551
-    <limits.h> exists even on freestanding compilers.  */
17552
-
17553
-#ifdef __STDC__
17554
-# include <limits.h>
17555
-#else
17556
-# include <assert.h>
17557
-#endif
17558
-
17559
-#undef _read_kbd
17560
-
17561
-/* Override any GCC internal prototype to avoid an error.
17562
-   Use char because int might match the return type of a GCC
17563
-   builtin and then its argument prototype would still apply.  */
17564
-#ifdef __cplusplus
17565
-extern "C"
17566
-#endif
17567
-char _read_kbd ();
17568
-/* The GNU C library defines this for functions which it implements
17569
-    to always fail with ENOSYS.  Some functions are actually named
17570
-    something starting with __ and the normal name is an alias.  */
17571
-#if defined __stub__read_kbd || defined __stub____read_kbd
17572
-choke me
17573
-#endif
17574
+	ac_fn_c_check_func "$LINENO" "MouOpen" "ac_cv_func_MouOpen"
17575
+if test "x$ac_cv_func_MouOpen" = xyes; then :
17576
 
17577
-int
17578
-main ()
17579
-{
17580
-return _read_kbd ();
17581
-  ;
17582
-  return 0;
17583
-}
17584
-_ACEOF
17585
-rm -f conftest.$ac_objext conftest$ac_exeext
17586
-if { (ac_try="$ac_link"
17587
-case "(($ac_try" in
17588
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589
-  *) ac_try_echo=$ac_try;;
17590
-esac
17591
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592
-  (eval "$ac_link") 2>conftest.er1
17593
-  ac_status=$?
17594
-  grep -v '^ *+' conftest.er1 >conftest.err
17595
-  rm -f conftest.er1
17596
-  cat conftest.err >&5
17597
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598
-  (exit $ac_status); } && {
17599
-	 test -z "$ac_c_werror_flag" ||
17600
-	 test ! -s conftest.err
17601
-       } && test -s conftest$ac_exeext &&
17602
-       $as_test_x conftest$ac_exeext; then
17603
-  ac_cv_func__read_kbd=yes
17604
-else
17605
-  echo "$as_me: failed program was:" >&5
17606
-sed 's/^/| /' conftest.$ac_ext >&5
17607
+$as_echo "#define HAVE_MOUOPEN 1" >>confdefs.h
17608
 
17609
-	ac_cv_func__read_kbd=no
17610
 fi
17611
 
17612
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17613
-      conftest$ac_exeext conftest.$ac_ext
17614
-fi
17615
-{ echo "$as_me:$LINENO: result: $ac_cv_func__read_kbd" >&5
17616
-echo "${ECHO_T}$ac_cv_func__read_kbd" >&6; }
17617
-if test $ac_cv_func__read_kbd = yes; then
17618
+	ac_fn_c_check_func "$LINENO" "_read_kbd" "ac_cv_func__read_kbd"
17619
+if test "x$ac_cv_func__read_kbd" = xyes; then :
17620
 
17621
-cat >>confdefs.h <<\_ACEOF
17622
-#define HAVE_READ_KBD 1
17623
-_ACEOF
17624
+$as_echo "#define HAVE_READ_KBD 1" >>confdefs.h
17625
 
17626
 fi
17627
 
17628
 
17629
-	{ echo "$as_me:$LINENO: checking for XFree for OS/2" >&5
17630
-echo $ECHO_N "checking for XFree for OS/2... $ECHO_C" >&6; }
17631
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree for OS/2" >&5
17632
+$as_echo_n "checking for XFree for OS/2... " >&6; }
17633
 
17634
 
17635
 	CFLAGS_X="$CFLAGS";
17636
@@ -16678,11 +8206,7 @@ echo $ECHO_N "checking for XFree for OS/
17637
 	if test -n "$X11ROOT"; then
17638
 		CFLAGS="$CFLAGS_X -I$X11ROOT/XFree86/include"
17639
 		LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86_gcc"
17640
-		cat >conftest.$ac_ext <<_ACEOF
17641
-/* confdefs.h.  */
17642
-_ACEOF
17643
-cat confdefs.h >>conftest.$ac_ext
17644
-cat >>conftest.$ac_ext <<_ACEOF
17645
+		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646
 /* end confdefs.h.  */
17647
 #include <pty.h>
17648
 int
17649
@@ -16693,41 +8217,16 @@ struct winsize win;ptioctl(1, TIOCGWINSZ
17650
   return 0;
17651
 }
17652
 _ACEOF
17653
-rm -f conftest.$ac_objext conftest$ac_exeext
17654
-if { (ac_try="$ac_link"
17655
-case "(($ac_try" in
17656
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657
-  *) ac_try_echo=$ac_try;;
17658
-esac
17659
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660
-  (eval "$ac_link") 2>conftest.er1
17661
-  ac_status=$?
17662
-  grep -v '^ *+' conftest.er1 >conftest.err
17663
-  rm -f conftest.er1
17664
-  cat conftest.err >&5
17665
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666
-  (exit $ac_status); } && {
17667
-	 test -z "$ac_c_werror_flag" ||
17668
-	 test ! -s conftest.err
17669
-       } && test -s conftest$ac_exeext &&
17670
-       $as_test_x conftest$ac_exeext; then
17671
+if ac_fn_c_try_link "$LINENO"; then :
17672
   cf_result=yes
17673
 else
17674
-  echo "$as_me: failed program was:" >&5
17675
-sed 's/^/| /' conftest.$ac_ext >&5
17676
-
17677
-	cf_result=no
17678
+  cf_result=no
17679
 fi
17680
-
17681
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17682
-      conftest$ac_exeext conftest.$ac_ext
17683
+rm -f core conftest.err conftest.$ac_objext \
17684
+    conftest$ac_exeext conftest.$ac_ext
17685
 		if test "$cf_result" = no; then
17686
 			LIBS="$LIBS_X -L$X11ROOT/XFree86/lib -lxf86"
17687
-			cat >conftest.$ac_ext <<_ACEOF
17688
-/* confdefs.h.  */
17689
-_ACEOF
17690
-cat confdefs.h >>conftest.$ac_ext
17691
-cat >>conftest.$ac_ext <<_ACEOF
17692
+			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693
 /* end confdefs.h.  */
17694
 #include <pty.h>
17695
 int
17696
@@ -16738,34 +8237,13 @@ struct winsize win;ptioctl(1, TIOCGWINSZ
17697
   return 0;
17698
 }
17699
 _ACEOF
17700
-rm -f conftest.$ac_objext conftest$ac_exeext
17701
-if { (ac_try="$ac_link"
17702
-case "(($ac_try" in
17703
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704
-  *) ac_try_echo=$ac_try;;
17705
-esac
17706
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707
-  (eval "$ac_link") 2>conftest.er1
17708
-  ac_status=$?
17709
-  grep -v '^ *+' conftest.er1 >conftest.err
17710
-  rm -f conftest.er1
17711
-  cat conftest.err >&5
17712
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713
-  (exit $ac_status); } && {
17714
-	 test -z "$ac_c_werror_flag" ||
17715
-	 test ! -s conftest.err
17716
-       } && test -s conftest$ac_exeext &&
17717
-       $as_test_x conftest$ac_exeext; then
17718
+if ac_fn_c_try_link "$LINENO"; then :
17719
   cf_result=yes
17720
 else
17721
-  echo "$as_me: failed program was:" >&5
17722
-sed 's/^/| /' conftest.$ac_ext >&5
17723
-
17724
-	cf_result=no
17725
+  cf_result=no
17726
 fi
17727
-
17728
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17729
-      conftest$ac_exeext conftest.$ac_ext
17730
+rm -f core conftest.err conftest.$ac_objext \
17731
+    conftest$ac_exeext conftest.$ac_ext
17732
 		fi
17733
 	fi
17734
 
17735
@@ -16778,22 +8256,20 @@ rm -f core conftest.err conftest.$ac_obj
17736
 
17737
 	else
17738
 
17739
-cat >>confdefs.h <<\_ACEOF
17740
-#define X2 1
17741
-_ACEOF
17742
+$as_echo "#define X2 1" >>confdefs.h
17743
 
17744
 	fi
17745
 
17746
-	{ echo "$as_me:$LINENO: result: $cf_result" >&5
17747
-echo "${ECHO_T}$cf_result" >&6; }
17748
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
17749
+$as_echo "$cf_result" >&6; }
17750
 
17751
 fi
17752
 
17753
 
17754
 if test "$CONFIG_WIN32" = yes; then
17755
 
17756
-	{ echo "$as_me:$LINENO: checking for win32 threads" >&5
17757
-echo $ECHO_N "checking for win32 threads... $ECHO_C" >&6; }
17758
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for win32 threads" >&5
17759
+$as_echo_n "checking for win32 threads... " >&6; }
17760
 
17761
 
17762
 	CFLAGS_X="$CFLAGS";
17763
@@ -16802,11 +8278,7 @@ echo $ECHO_N "checking for win32 threads
17764
 	LIBS_X="$LIBS";
17765
 
17766
 
17767
-	cat >conftest.$ac_ext <<_ACEOF
17768
-/* confdefs.h.  */
17769
-_ACEOF
17770
-cat confdefs.h >>conftest.$ac_ext
17771
-cat >>conftest.$ac_ext <<_ACEOF
17772
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773
 /* end confdefs.h.  */
17774
 #include <stdlib.h>
17775
 int
17776
@@ -16817,42 +8289,19 @@ _beginthread(NULL, NULL, 0, NULL)
17777
   return 0;
17778
 }
17779
 _ACEOF
17780
-rm -f conftest.$ac_objext conftest$ac_exeext
17781
-if { (ac_try="$ac_link"
17782
-case "(($ac_try" in
17783
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784
-  *) ac_try_echo=$ac_try;;
17785
-esac
17786
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787
-  (eval "$ac_link") 2>conftest.er1
17788
-  ac_status=$?
17789
-  grep -v '^ *+' conftest.er1 >conftest.err
17790
-  rm -f conftest.er1
17791
-  cat conftest.err >&5
17792
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793
-  (exit $ac_status); } && {
17794
-	 test -z "$ac_c_werror_flag" ||
17795
-	 test ! -s conftest.err
17796
-       } && test -s conftest$ac_exeext &&
17797
-       $as_test_x conftest$ac_exeext; then
17798
+if ac_fn_c_try_link "$LINENO"; then :
17799
   cf_result=yes
17800
 else
17801
-  echo "$as_me: failed program was:" >&5
17802
-sed 's/^/| /' conftest.$ac_ext >&5
17803
-
17804
-	cf_result=no
17805
+  cf_result=no
17806
 fi
17807
-
17808
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17809
-      conftest$ac_exeext conftest.$ac_ext
17810
-	{ echo "$as_me:$LINENO: result: $cf_result" >&5
17811
-echo "${ECHO_T}$cf_result" >&6; }
17812
+rm -f core conftest.err conftest.$ac_objext \
17813
+    conftest$ac_exeext conftest.$ac_ext
17814
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
17815
+$as_echo "$cf_result" >&6; }
17816
 
17817
 	if test "$cf_result" = yes; then
17818
 
17819
-cat >>confdefs.h <<\_ACEOF
17820
-#define HAVE_BEGINTHREAD 1
17821
-_ACEOF
17822
+$as_echo "#define HAVE_BEGINTHREAD 1" >>confdefs.h
17823
 
17824
 	else
17825
 
17826
@@ -16863,140 +8312,12 @@ _ACEOF
17827
 
17828
 	fi
17829
 
17830
-
17831
-for ac_header in windows.h
17832
-do
17833
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17834
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17835
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
17836
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17837
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17838
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17839
-fi
17840
-ac_res=`eval echo '${'$as_ac_Header'}'`
17841
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
17842
-echo "${ECHO_T}$ac_res" >&6; }
17843
-else
17844
-  # Is the header compilable?
17845
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17846
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17847
-cat >conftest.$ac_ext <<_ACEOF
17848
-/* confdefs.h.  */
17849
-_ACEOF
17850
-cat confdefs.h >>conftest.$ac_ext
17851
-cat >>conftest.$ac_ext <<_ACEOF
17852
-/* end confdefs.h.  */
17853
-$ac_includes_default
17854
-#include <$ac_header>
17855
-_ACEOF
17856
-rm -f conftest.$ac_objext
17857
-if { (ac_try="$ac_compile"
17858
-case "(($ac_try" in
17859
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17860
-  *) ac_try_echo=$ac_try;;
17861
-esac
17862
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17863
-  (eval "$ac_compile") 2>conftest.er1
17864
-  ac_status=$?
17865
-  grep -v '^ *+' conftest.er1 >conftest.err
17866
-  rm -f conftest.er1
17867
-  cat conftest.err >&5
17868
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869
-  (exit $ac_status); } && {
17870
-	 test -z "$ac_c_werror_flag" ||
17871
-	 test ! -s conftest.err
17872
-       } && test -s conftest.$ac_objext; then
17873
-  ac_header_compiler=yes
17874
-else
17875
-  echo "$as_me: failed program was:" >&5
17876
-sed 's/^/| /' conftest.$ac_ext >&5
17877
-
17878
-	ac_header_compiler=no
17879
-fi
17880
-
17881
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17883
-echo "${ECHO_T}$ac_header_compiler" >&6; }
17884
-
17885
-# Is the header present?
17886
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17887
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17888
-cat >conftest.$ac_ext <<_ACEOF
17889
-/* confdefs.h.  */
17890
-_ACEOF
17891
-cat confdefs.h >>conftest.$ac_ext
17892
-cat >>conftest.$ac_ext <<_ACEOF
17893
-/* end confdefs.h.  */
17894
-#include <$ac_header>
17895
-_ACEOF
17896
-if { (ac_try="$ac_cpp conftest.$ac_ext"
17897
-case "(($ac_try" in
17898
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17899
-  *) ac_try_echo=$ac_try;;
17900
-esac
17901
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17902
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17903
-  ac_status=$?
17904
-  grep -v '^ *+' conftest.er1 >conftest.err
17905
-  rm -f conftest.er1
17906
-  cat conftest.err >&5
17907
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908
-  (exit $ac_status); } >/dev/null && {
17909
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17910
-	 test ! -s conftest.err
17911
-       }; then
17912
-  ac_header_preproc=yes
17913
-else
17914
-  echo "$as_me: failed program was:" >&5
17915
-sed 's/^/| /' conftest.$ac_ext >&5
17916
-
17917
-  ac_header_preproc=no
17918
-fi
17919
-
17920
-rm -f conftest.err conftest.$ac_ext
17921
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17922
-echo "${ECHO_T}$ac_header_preproc" >&6; }
17923
-
17924
-# So?  What about this header?
17925
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17926
-  yes:no: )
17927
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17928
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17929
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17930
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17931
-    ac_header_preproc=yes
17932
-    ;;
17933
-  no:yes:* )
17934
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17935
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17936
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17937
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17938
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17939
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17940
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17941
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17942
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17943
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17944
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17945
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17946
-
17947
-    ;;
17948
-esac
17949
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17950
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17951
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17952
-  echo $ECHO_N "(cached) $ECHO_C" >&6
17953
-else
17954
-  eval "$as_ac_Header=\$ac_header_preproc"
17955
-fi
17956
-ac_res=`eval echo '${'$as_ac_Header'}'`
17957
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
17958
-echo "${ECHO_T}$ac_res" >&6; }
17959
-
17960
-fi
17961
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
17962
+	for ac_header in windows.h
17963
+do :
17964
+  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
17965
+if test "x$ac_cv_header_windows_h" = xyes; then :
17966
   cat >>confdefs.h <<_ACEOF
17967
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17968
+#define HAVE_WINDOWS_H 1
17969
 _ACEOF
17970
 
17971
 fi
17972
@@ -17013,12 +8334,12 @@ fi
17973
 
17974
 
17975
 # Check whether --with-spidermonkey was given.
17976
-if test "${with_spidermonkey+set}" = set; then
17977
+if test "${with_spidermonkey+set}" = set; then :
17978
   withval=$with_spidermonkey; if test "$withval" = no; then disable_spidermonkey=yes; fi
17979
 fi
17980
 
17981
-{ echo "$as_me:$LINENO: checking for SpiderMonkey" >&5
17982
-echo $ECHO_N "checking for SpiderMonkey... $ECHO_C" >&6; }
17983
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SpiderMonkey" >&5
17984
+$as_echo_n "checking for SpiderMonkey... " >&6; }
17985
 
17986
 
17987
 	CFLAGS_X="$CFLAGS";
17988
@@ -17047,11 +8368,7 @@ if test -z "$disable_spidermonkey"; then
17989
 					CFLAGS="$CFLAGS_X $SPIDERMONKEY_CFLAGS"
17990
 					CPPFLAGS="$CPPFLAGS_X $SPIDERMONKEY_CFLAGS"
17991
 
17992
-					cat >conftest.$ac_ext <<_ACEOF
17993
-/* confdefs.h.  */
17994
-_ACEOF
17995
-cat confdefs.h >>conftest.$ac_ext
17996
-cat >>conftest.$ac_ext <<_ACEOF
17997
+					cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998
 /* end confdefs.h.  */
17999
 #define XP_UNIX
18000
 						     #include <jsapi.h>
18001
@@ -17063,42 +8380,21 @@ JS_GetImplementationVersion()
18002
   return 0;
18003
 }
18004
 _ACEOF
18005
-rm -f conftest.$ac_objext conftest$ac_exeext
18006
-if { (ac_try="$ac_link"
18007
-case "(($ac_try" in
18008
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18009
-  *) ac_try_echo=$ac_try;;
18010
-esac
18011
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18012
-  (eval "$ac_link") 2>conftest.er1
18013
-  ac_status=$?
18014
-  grep -v '^ *+' conftest.er1 >conftest.err
18015
-  rm -f conftest.er1
18016
-  cat conftest.err >&5
18017
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018
-  (exit $ac_status); } && {
18019
-	 test -z "$ac_c_werror_flag" ||
18020
-	 test ! -s conftest.err
18021
-       } && test -s conftest$ac_exeext &&
18022
-       $as_test_x conftest$ac_exeext; then
18023
+if ac_fn_c_try_link "$LINENO"; then :
18024
   cf_result=yes
18025
 else
18026
-  echo "$as_me: failed program was:" >&5
18027
-sed 's/^/| /' conftest.$ac_ext >&5
18028
-
18029
-	cf_result=no
18030
+  cf_result=no
18031
 fi
18032
-
18033
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18034
-      conftest$ac_exeext conftest.$ac_ext
18035
+rm -f core conftest.err conftest.$ac_objext \
18036
+    conftest$ac_exeext conftest.$ac_ext
18037
 				fi
18038
 			done
18039
 		done
18040
 	done
18041
 fi
18042
 
18043
-{ echo "$as_me:$LINENO: result: $cf_result" >&5
18044
-echo "${ECHO_T}$cf_result" >&6; }
18045
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
18046
+$as_echo "$cf_result" >&6; }
18047
 
18048
 if test "$cf_result" != yes; then
18049
 
18050
@@ -17112,9 +8408,7 @@ else
18051
 	  CONFIG_SPIDERMONKEY=yes
18052
 	  ABOUT_CONFIG_SPIDERMONKEY="SpiderMonkey"
18053
 
18054
-cat >>confdefs.h <<\_ACEOF
18055
-#define CONFIG_SPIDERMONKEY 1
18056
-_ACEOF
18057
+$as_echo "#define CONFIG_SPIDERMONKEY 1" >>confdefs.h
18058
 
18059
 
18060
 	CFLAGS="$CFLAGS_X"
18061
@@ -17150,9 +8444,7 @@ fi
18062
 	  CONFIG_ECMASCRIPT=yes
18063
 	  ABOUT_CONFIG_ECMASCRIPT="ECMAScript (JavaScript)"
18064
 
18065
-cat >>confdefs.h <<\_ACEOF
18066
-#define CONFIG_ECMASCRIPT 1
18067
-_ACEOF
18068
+$as_echo "#define CONFIG_ECMASCRIPT 1" >>confdefs.h
18069
 
18070
 	fi
18071
 
18072
@@ -17185,7 +8477,7 @@ enable_guile="no";
18073
 
18074
 
18075
 # Check whether --with-guile was given.
18076
-if test "${with_guile+set}" = set; then
18077
+if test "${with_guile+set}" = set; then :
18078
   withval=$with_guile;  if test "x$withval" != xno; then enable_guile=yes; fi
18079
 fi
18080
 
18081
@@ -17195,12 +8487,12 @@ fi
18082
 # to compile CVS. Also, the macro seems to be really stupid regarding searching
18083
 # for Guile in $PATH etc. --pasky
18084
 
18085
-{ echo "$as_me:$LINENO: checking for Guile" >&5
18086
-echo $ECHO_N "checking for Guile... $ECHO_C" >&6; }
18087
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Guile" >&5
18088
+$as_echo_n "checking for Guile... " >&6; }
18089
 
18090
 if test "$enable_guile" = "yes"; then
18091
-	{ echo "$as_me:$LINENO: result: yes" >&5
18092
-echo "${ECHO_T}yes" >&6; };
18093
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18094
+$as_echo "yes" >&6; };
18095
 	## Based on the GUILE_FLAGS macro.
18096
 
18097
 	if test -d "$withval"; then
18098
@@ -17211,10 +8503,10 @@ echo "${ECHO_T}yes" >&6; };
18099
 
18100
 	# Extract the first word of "guile-config", so it can be a program name with args.
18101
 set dummy guile-config; ac_word=$2
18102
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18103
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18104
-if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then
18105
-  echo $ECHO_N "(cached) $ECHO_C" >&6
18106
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18107
+$as_echo_n "checking for $ac_word... " >&6; }
18108
+if ${ac_cv_path_GUILE_CONFIG+:} false; then :
18109
+  $as_echo_n "(cached) " >&6
18110
 else
18111
   case $GUILE_CONFIG in
18112
   [\\/]* | ?:[\\/]*)
18113
@@ -17226,14 +8518,14 @@ for as_dir in $GUILE_PATH
18114
 do
18115
   IFS=$as_save_IFS
18116
   test -z "$as_dir" && as_dir=.
18117
-  for ac_exec_ext in '' $ac_executable_extensions; do
18118
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18119
+    for ac_exec_ext in '' $ac_executable_extensions; do
18120
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18121
     ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18122
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18123
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18124
     break 2
18125
   fi
18126
 done
18127
-done
18128
+  done
18129
 IFS=$as_save_IFS
18130
 
18131
   test -z "$ac_cv_path_GUILE_CONFIG" && ac_cv_path_GUILE_CONFIG="no"
18132
@@ -17242,11 +8534,11 @@ esac
18133
 fi
18134
 GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
18135
 if test -n "$GUILE_CONFIG"; then
18136
-  { echo "$as_me:$LINENO: result: $GUILE_CONFIG" >&5
18137
-echo "${ECHO_T}$GUILE_CONFIG" >&6; }
18138
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG" >&5
18139
+$as_echo "$GUILE_CONFIG" >&6; }
18140
 else
18141
-  { echo "$as_me:$LINENO: result: no" >&5
18142
-echo "${ECHO_T}no" >&6; }
18143
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18144
+$as_echo "no" >&6; }
18145
 fi
18146
 
18147
 
18148
@@ -17263,9 +8555,7 @@ fi
18149
 	  CONFIG_GUILE=yes
18150
 	  ABOUT_CONFIG_GUILE="Guile"
18151
 
18152
-cat >>confdefs.h <<\_ACEOF
18153
-#define CONFIG_GUILE 1
18154
-_ACEOF
18155
+$as_echo "#define CONFIG_GUILE 1" >>confdefs.h
18156
 
18157
 
18158
 		cat <<EOF
18159
@@ -17279,24 +8569,22 @@ src/scripting/guile/README for further d
18160
 EOF
18161
 	else
18162
 		if test -n "$withval" && test "x$withval" != xno; then
18163
-			{ { echo "$as_me:$LINENO: error: Guile not found" >&5
18164
-echo "$as_me: error: Guile not found" >&2;}
18165
-   { (exit 1); exit 1; }; }
18166
+			as_fn_error $? "Guile not found" "$LINENO" 5
18167
 		else
18168
-			{ echo "$as_me:$LINENO: WARNING: Guile support disabled" >&5
18169
-echo "$as_me: WARNING: Guile support disabled" >&2;}
18170
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Guile support disabled" >&5
18171
+$as_echo "$as_me: WARNING: Guile support disabled" >&2;}
18172
 		fi
18173
 	fi
18174
 else
18175
-	{ echo "$as_me:$LINENO: result: no" >&5
18176
-echo "${ECHO_T}no" >&6; };
18177
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18178
+$as_echo "no" >&6; };
18179
 fi
18180
 
18181
 enable_perl="no";
18182
 
18183
 
18184
 # Check whether --with-perl was given.
18185
-if test "${with_perl+set}" = set; then
18186
+if test "${with_perl+set}" = set; then :
18187
   withval=$with_perl;
18188
 if test "$withval" = yes; then
18189
 	# FIXME: If withval is a valid directory append it to PATH
18190
@@ -17308,8 +8596,8 @@ fi
18191
 fi
18192
 
18193
 
18194
-{ echo "$as_me:$LINENO: checking for Perl" >&5
18195
-echo $ECHO_N "checking for Perl... $ECHO_C" >&6; }
18196
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl" >&5
18197
+$as_echo_n "checking for Perl... " >&6; }
18198
 
18199
 cf_result=no
18200
 
18201
@@ -17326,11 +8614,7 @@ if test "$enable_perl" = "yes"; then
18202
 	LIBS="$PERL_LIBS $LIBS"
18203
 	CFLAGS="$PERL_CFLAGS $CFLAGS"
18204
 	CPPFLAGS="$CPPFLAGS $PERL_CFLAGS"
18205
-	cat >conftest.$ac_ext <<_ACEOF
18206
-/* confdefs.h.  */
18207
-_ACEOF
18208
-cat confdefs.h >>conftest.$ac_ext
18209
-cat >>conftest.$ac_ext <<_ACEOF
18210
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211
 /* end confdefs.h.  */
18212
 
18213
 #include <EXTERN.h>
18214
@@ -17345,46 +8629,21 @@ PerlInterpreter *my_perl = perl_alloc();
18215
   return 0;
18216
 }
18217
 _ACEOF
18218
-rm -f conftest.$ac_objext conftest$ac_exeext
18219
-if { (ac_try="$ac_link"
18220
-case "(($ac_try" in
18221
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18222
-  *) ac_try_echo=$ac_try;;
18223
-esac
18224
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18225
-  (eval "$ac_link") 2>conftest.er1
18226
-  ac_status=$?
18227
-  grep -v '^ *+' conftest.er1 >conftest.err
18228
-  rm -f conftest.er1
18229
-  cat conftest.err >&5
18230
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231
-  (exit $ac_status); } && {
18232
-	 test -z "$ac_c_werror_flag" ||
18233
-	 test ! -s conftest.err
18234
-       } && test -s conftest$ac_exeext &&
18235
-       $as_test_x conftest$ac_exeext; then
18236
+if ac_fn_c_try_link "$LINENO"; then :
18237
   cf_result=yes
18238
 else
18239
-  echo "$as_me: failed program was:" >&5
18240
-sed 's/^/| /' conftest.$ac_ext >&5
18241
-
18242
-	cf_result=no
18243
+  cf_result=no
18244
 fi
18245
-
18246
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18247
-      conftest$ac_exeext conftest.$ac_ext
18248
+rm -f core conftest.err conftest.$ac_objext \
18249
+    conftest$ac_exeext conftest.$ac_ext
18250
 fi
18251
 
18252
-if test "$cf_result"; then { echo "$as_me:$LINENO: result: $cf_result" >&5
18253
-echo "${ECHO_T}$cf_result" >&6; }; fi
18254
+if test "$cf_result"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
18255
+$as_echo "$cf_result" >&6; }; fi
18256
 
18257
-{ echo "$as_me:$LINENO: checking whether POPpx works without an n_a variable" >&5
18258
-echo $ECHO_N "checking whether POPpx works without an n_a variable... $ECHO_C" >&6; }
18259
-cat >conftest.$ac_ext <<_ACEOF
18260
-/* confdefs.h.  */
18261
-_ACEOF
18262
-cat confdefs.h >>conftest.$ac_ext
18263
-cat >>conftest.$ac_ext <<_ACEOF
18264
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POPpx works without an n_a variable" >&5
18265
+$as_echo_n "checking whether POPpx works without an n_a variable... " >&6; }
18266
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18267
 /* end confdefs.h.  */
18268
 
18269
 #include <EXTERN.h>
18270
@@ -17399,38 +8658,16 @@ dSP; (void) POPpx;
18271
   return 0;
18272
 }
18273
 _ACEOF
18274
-rm -f conftest.$ac_objext
18275
-if { (ac_try="$ac_compile"
18276
-case "(($ac_try" in
18277
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18278
-  *) ac_try_echo=$ac_try;;
18279
-esac
18280
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18281
-  (eval "$ac_compile") 2>conftest.er1
18282
-  ac_status=$?
18283
-  grep -v '^ *+' conftest.er1 >conftest.err
18284
-  rm -f conftest.er1
18285
-  cat conftest.err >&5
18286
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287
-  (exit $ac_status); } && {
18288
-	 test -z "$ac_c_werror_flag" ||
18289
-	 test ! -s conftest.err
18290
-       } && test -s conftest.$ac_objext; then
18291
-  { echo "$as_me:$LINENO: result: yes" >&5
18292
-echo "${ECHO_T}yes" >&6; }
18293
+if ac_fn_c_try_compile "$LINENO"; then :
18294
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18295
+$as_echo "yes" >&6; }
18296
 
18297
-cat >>confdefs.h <<\_ACEOF
18298
-#define CONFIG_PERL_POPPX_WITHOUT_N_A 1
18299
-_ACEOF
18300
+$as_echo "#define CONFIG_PERL_POPPX_WITHOUT_N_A 1" >>confdefs.h
18301
 
18302
 else
18303
-  echo "$as_me: failed program was:" >&5
18304
-sed 's/^/| /' conftest.$ac_ext >&5
18305
-
18306
-	{ echo "$as_me:$LINENO: result: no" >&5
18307
-echo "${ECHO_T}no" >&6; }
18308
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18309
+$as_echo "no" >&6; }
18310
 fi
18311
-
18312
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313
 
18314
 if test "$cf_result" != "yes"; then
18315
@@ -17445,9 +8682,7 @@ else
18316
 	  CONFIG_PERL=yes
18317
 	  ABOUT_CONFIG_PERL="Perl"
18318
 
18319
-cat >>confdefs.h <<\_ACEOF
18320
-#define CONFIG_PERL 1
18321
-_ACEOF
18322
+$as_echo "#define CONFIG_PERL 1" >>confdefs.h
18323
 
18324
 
18325
 	CFLAGS="$CFLAGS_X"
18326
@@ -17459,7 +8694,7 @@ enable_python="no";
18327
 
18328
 
18329
 # Check whether --with-python was given.
18330
-if test "${with_python+set}" = set; then
18331
+if test "${with_python+set}" = set; then :
18332
   withval=$with_python;
18333
 if test "$withval" = yes; then
18334
 	# FIXME: If withval is a valid directory append it to PATH
18335
@@ -17479,8 +8714,8 @@ fi
18336
 fi
18337
 
18338
 
18339
-{ echo "$as_me:$LINENO: checking for Python" >&5
18340
-echo $ECHO_N "checking for Python... $ECHO_C" >&6; }
18341
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python" >&5
18342
+$as_echo_n "checking for Python... " >&6; }
18343
 
18344
 cf_result=no
18345
 
18346
@@ -17497,11 +8732,7 @@ if test "$enable_python" = "yes"; then
18347
 	LIBS="$PYTHON_LIBS $LIBS"
18348
 	CFLAGS="$PYTHON_CFLAGS $CFLAGS"
18349
 	CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
18350
-	cat >conftest.$ac_ext <<_ACEOF
18351
-/* confdefs.h.  */
18352
-_ACEOF
18353
-cat confdefs.h >>conftest.$ac_ext
18354
-cat >>conftest.$ac_ext <<_ACEOF
18355
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356
 /* end confdefs.h.  */
18357
 
18358
 #include <Python.h>
18359
@@ -17514,34 +8745,13 @@ Py_Initialize();
18360
   return 0;
18361
 }
18362
 _ACEOF
18363
-rm -f conftest.$ac_objext conftest$ac_exeext
18364
-if { (ac_try="$ac_link"
18365
-case "(($ac_try" in
18366
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18367
-  *) ac_try_echo=$ac_try;;
18368
-esac
18369
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18370
-  (eval "$ac_link") 2>conftest.er1
18371
-  ac_status=$?
18372
-  grep -v '^ *+' conftest.er1 >conftest.err
18373
-  rm -f conftest.er1
18374
-  cat conftest.err >&5
18375
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376
-  (exit $ac_status); } && {
18377
-	 test -z "$ac_c_werror_flag" ||
18378
-	 test ! -s conftest.err
18379
-       } && test -s conftest$ac_exeext &&
18380
-       $as_test_x conftest$ac_exeext; then
18381
+if ac_fn_c_try_link "$LINENO"; then :
18382
   cf_result=yes
18383
 else
18384
-  echo "$as_me: failed program was:" >&5
18385
-sed 's/^/| /' conftest.$ac_ext >&5
18386
-
18387
-	cf_result=no
18388
+  cf_result=no
18389
 fi
18390
-
18391
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18392
-      conftest$ac_exeext conftest.$ac_ext
18393
+rm -f core conftest.err conftest.$ac_objext \
18394
+    conftest$ac_exeext conftest.$ac_ext
18395
 fi
18396
 
18397
 if test "$cf_result" != "yes"; then
18398
@@ -17556,9 +8766,7 @@ else
18399
 	  CONFIG_PYTHON=yes
18400
 	  ABOUT_CONFIG_PYTHON="Python"
18401
 
18402
-cat >>confdefs.h <<\_ACEOF
18403
-#define CONFIG_PYTHON 1
18404
-_ACEOF
18405
+$as_echo "#define CONFIG_PYTHON 1" >>confdefs.h
18406
 
18407
 
18408
 	CFLAGS="$CFLAGS_X"
18409
@@ -17566,20 +8774,20 @@ _ACEOF
18410
 
18411
 fi
18412
 
18413
-if test "$cf_result"; then { echo "$as_me:$LINENO: result: $cf_result" >&5
18414
-echo "${ECHO_T}$cf_result" >&6; }; fi
18415
+if test "$cf_result"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
18416
+$as_echo "$cf_result" >&6; }; fi
18417
 
18418
 
18419
 
18420
 
18421
 
18422
 # Check whether --with-lua was given.
18423
-if test "${with_lua+set}" = set; then
18424
+if test "${with_lua+set}" = set; then :
18425
   withval=$with_lua; if test "$withval" = no; then disable_lua=yes; fi
18426
 fi
18427
 
18428
-{ echo "$as_me:$LINENO: checking for Lua" >&5
18429
-echo $ECHO_N "checking for Lua... $ECHO_C" >&6; }
18430
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Lua" >&5
18431
+$as_echo_n "checking for Lua... " >&6; }
18432
 
18433
 
18434
 	CFLAGS_X="$CFLAGS";
18435
@@ -17608,11 +8816,7 @@ if test -z "$disable_lua"; then
18436
 				CPPFLAGS="$CPPFLAGS_X $LUA_CFLAGS"
18437
 
18438
 				# Check that it is a compatible Lua version
18439
-				cat >conftest.$ac_ext <<_ACEOF
18440
-/* confdefs.h.  */
18441
-_ACEOF
18442
-cat confdefs.h >>conftest.$ac_ext
18443
-cat >>conftest.$ac_ext <<_ACEOF
18444
+				cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445
 /* end confdefs.h.  */
18446
 	#include <lua.h>
18447
 						#include <lualib.h>
18448
@@ -17631,41 +8835,20 @@ main ()
18449
   return 0;
18450
 }
18451
 _ACEOF
18452
-rm -f conftest.$ac_objext conftest$ac_exeext
18453
-if { (ac_try="$ac_link"
18454
-case "(($ac_try" in
18455
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456
-  *) ac_try_echo=$ac_try;;
18457
-esac
18458
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459
-  (eval "$ac_link") 2>conftest.er1
18460
-  ac_status=$?
18461
-  grep -v '^ *+' conftest.er1 >conftest.err
18462
-  rm -f conftest.er1
18463
-  cat conftest.err >&5
18464
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465
-  (exit $ac_status); } && {
18466
-	 test -z "$ac_c_werror_flag" ||
18467
-	 test ! -s conftest.err
18468
-       } && test -s conftest$ac_exeext &&
18469
-       $as_test_x conftest$ac_exeext; then
18470
+if ac_fn_c_try_link "$LINENO"; then :
18471
   cf_result=yes
18472
 else
18473
-  echo "$as_me: failed program was:" >&5
18474
-sed 's/^/| /' conftest.$ac_ext >&5
18475
-
18476
-	cf_result=no
18477
+  cf_result=no
18478
 fi
18479
-
18480
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18481
-      conftest$ac_exeext conftest.$ac_ext
18482
+rm -f core conftest.err conftest.$ac_objext \
18483
+    conftest$ac_exeext conftest.$ac_ext
18484
 			fi
18485
 		done
18486
 	done
18487
 fi
18488
 
18489
-{ echo "$as_me:$LINENO: result: $cf_result" >&5
18490
-echo "${ECHO_T}$cf_result" >&6; }
18491
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
18492
+$as_echo "$cf_result" >&6; }
18493
 
18494
 if test "$cf_result" != yes; then
18495
 
18496
@@ -17679,144 +8862,14 @@ else
18497
 	  CONFIG_LUA=yes
18498
 	  ABOUT_CONFIG_LUA="Lua"
18499
 
18500
-cat >>confdefs.h <<\_ACEOF
18501
-#define CONFIG_LUA 1
18502
-_ACEOF
18503
-
18504
-
18505
-for ac_header in lauxlib.h
18506
-do
18507
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18508
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18509
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
18510
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18511
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18512
-  echo $ECHO_N "(cached) $ECHO_C" >&6
18513
-fi
18514
-ac_res=`eval echo '${'$as_ac_Header'}'`
18515
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
18516
-echo "${ECHO_T}$ac_res" >&6; }
18517
-else
18518
-  # Is the header compilable?
18519
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
18520
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18521
-cat >conftest.$ac_ext <<_ACEOF
18522
-/* confdefs.h.  */
18523
-_ACEOF
18524
-cat confdefs.h >>conftest.$ac_ext
18525
-cat >>conftest.$ac_ext <<_ACEOF
18526
-/* end confdefs.h.  */
18527
-$ac_includes_default
18528
-#include <$ac_header>
18529
-_ACEOF
18530
-rm -f conftest.$ac_objext
18531
-if { (ac_try="$ac_compile"
18532
-case "(($ac_try" in
18533
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534
-  *) ac_try_echo=$ac_try;;
18535
-esac
18536
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18537
-  (eval "$ac_compile") 2>conftest.er1
18538
-  ac_status=$?
18539
-  grep -v '^ *+' conftest.er1 >conftest.err
18540
-  rm -f conftest.er1
18541
-  cat conftest.err >&5
18542
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543
-  (exit $ac_status); } && {
18544
-	 test -z "$ac_c_werror_flag" ||
18545
-	 test ! -s conftest.err
18546
-       } && test -s conftest.$ac_objext; then
18547
-  ac_header_compiler=yes
18548
-else
18549
-  echo "$as_me: failed program was:" >&5
18550
-sed 's/^/| /' conftest.$ac_ext >&5
18551
-
18552
-	ac_header_compiler=no
18553
-fi
18554
-
18555
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18556
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18557
-echo "${ECHO_T}$ac_header_compiler" >&6; }
18558
-
18559
-# Is the header present?
18560
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
18561
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18562
-cat >conftest.$ac_ext <<_ACEOF
18563
-/* confdefs.h.  */
18564
-_ACEOF
18565
-cat confdefs.h >>conftest.$ac_ext
18566
-cat >>conftest.$ac_ext <<_ACEOF
18567
-/* end confdefs.h.  */
18568
-#include <$ac_header>
18569
-_ACEOF
18570
-if { (ac_try="$ac_cpp conftest.$ac_ext"
18571
-case "(($ac_try" in
18572
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18573
-  *) ac_try_echo=$ac_try;;
18574
-esac
18575
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18576
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18577
-  ac_status=$?
18578
-  grep -v '^ *+' conftest.er1 >conftest.err
18579
-  rm -f conftest.er1
18580
-  cat conftest.err >&5
18581
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582
-  (exit $ac_status); } >/dev/null && {
18583
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18584
-	 test ! -s conftest.err
18585
-       }; then
18586
-  ac_header_preproc=yes
18587
-else
18588
-  echo "$as_me: failed program was:" >&5
18589
-sed 's/^/| /' conftest.$ac_ext >&5
18590
-
18591
-  ac_header_preproc=no
18592
-fi
18593
-
18594
-rm -f conftest.err conftest.$ac_ext
18595
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18596
-echo "${ECHO_T}$ac_header_preproc" >&6; }
18597
-
18598
-# So?  What about this header?
18599
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18600
-  yes:no: )
18601
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18602
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18603
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18604
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18605
-    ac_header_preproc=yes
18606
-    ;;
18607
-  no:yes:* )
18608
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18609
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18610
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18611
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18612
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18613
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18614
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18615
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18616
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18617
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18618
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18619
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18620
-
18621
-    ;;
18622
-esac
18623
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
18624
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18625
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18626
-  echo $ECHO_N "(cached) $ECHO_C" >&6
18627
-else
18628
-  eval "$as_ac_Header=\$ac_header_preproc"
18629
-fi
18630
-ac_res=`eval echo '${'$as_ac_Header'}'`
18631
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
18632
-echo "${ECHO_T}$ac_res" >&6; }
18633
+$as_echo "#define CONFIG_LUA 1" >>confdefs.h
18634
 
18635
-fi
18636
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
18637
+	for ac_header in lauxlib.h
18638
+do :
18639
+  ac_fn_c_check_header_mongrel "$LINENO" "lauxlib.h" "ac_cv_header_lauxlib_h" "$ac_includes_default"
18640
+if test "x$ac_cv_header_lauxlib_h" = xyes; then :
18641
   cat >>confdefs.h <<_ACEOF
18642
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18643
+#define HAVE_LAUXLIB_H 1
18644
 _ACEOF
18645
 
18646
 fi
18647
@@ -17832,8 +8885,8 @@ fi
18648
 
18649
 
18650
 
18651
-{ echo "$as_me:$LINENO: checking for Ruby" >&5
18652
-echo $ECHO_N "checking for Ruby... $ECHO_C" >&6; }
18653
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby" >&5
18654
+$as_echo_n "checking for Ruby... " >&6; }
18655
 
18656
 CONFIG_RUBY_WITHVAL="no"
18657
 CONFIG_RUBY="no"
18658
@@ -17847,7 +8900,7 @@ CONFIG_RUBY="no"
18659
 
18660
 
18661
 # Check whether --with-ruby was given.
18662
-if test "${with_ruby+set}" = set; then
18663
+if test "${with_ruby+set}" = set; then :
18664
   withval=$with_ruby; CONFIG_RUBY_WITHVAL="$withval"
18665
 fi
18666
 
18667
@@ -17856,8 +8909,8 @@ if test "$CONFIG_RUBY_WITHVAL" != no; th
18668
 	CONFIG_RUBY="yes"
18669
 fi
18670
 
18671
-{ echo "$as_me:$LINENO: result: $CONFIG_RUBY" >&5
18672
-echo "${ECHO_T}$CONFIG_RUBY" >&6; }
18673
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_RUBY" >&5
18674
+$as_echo "$CONFIG_RUBY" >&6; }
18675
 
18676
 if test "$CONFIG_RUBY" = "yes"; then
18677
 	if test -d "$CONFIG_RUBY_WITHVAL"; then
18678
@@ -17868,10 +8921,10 @@ if test "$CONFIG_RUBY" = "yes"; then
18679
 
18680
 	# Extract the first word of "ruby", so it can be a program name with args.
18681
 set dummy ruby; ac_word=$2
18682
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18683
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18684
-if test "${ac_cv_path_CONFIG_RUBY+set}" = set; then
18685
-  echo $ECHO_N "(cached) $ECHO_C" >&6
18686
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18687
+$as_echo_n "checking for $ac_word... " >&6; }
18688
+if ${ac_cv_path_CONFIG_RUBY+:} false; then :
18689
+  $as_echo_n "(cached) " >&6
18690
 else
18691
   case $CONFIG_RUBY in
18692
   [\\/]* | ?:[\\/]*)
18693
@@ -17883,14 +8936,14 @@ for as_dir in $RUBY_PATH
18694
 do
18695
   IFS=$as_save_IFS
18696
   test -z "$as_dir" && as_dir=.
18697
-  for ac_exec_ext in '' $ac_executable_extensions; do
18698
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18699
+    for ac_exec_ext in '' $ac_executable_extensions; do
18700
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18701
     ac_cv_path_CONFIG_RUBY="$as_dir/$ac_word$ac_exec_ext"
18702
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18703
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18704
     break 2
18705
   fi
18706
 done
18707
-done
18708
+  done
18709
 IFS=$as_save_IFS
18710
 
18711
   test -z "$ac_cv_path_CONFIG_RUBY" && ac_cv_path_CONFIG_RUBY="no"
18712
@@ -17899,30 +8952,30 @@ esac
18713
 fi
18714
 CONFIG_RUBY=$ac_cv_path_CONFIG_RUBY
18715
 if test -n "$CONFIG_RUBY"; then
18716
-  { echo "$as_me:$LINENO: result: $CONFIG_RUBY" >&5
18717
-echo "${ECHO_T}$CONFIG_RUBY" >&6; }
18718
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_RUBY" >&5
18719
+$as_echo "$CONFIG_RUBY" >&6; }
18720
 else
18721
-  { echo "$as_me:$LINENO: result: no" >&5
18722
-echo "${ECHO_T}no" >&6; }
18723
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18724
+$as_echo "no" >&6; }
18725
 fi
18726
 
18727
 
18728
 	if test "$CONFIG_RUBY" != "no"; then
18729
 
18730
-		{ echo "$as_me:$LINENO: checking Ruby version" >&5
18731
-echo $ECHO_N "checking Ruby version... $ECHO_C" >&6; }
18732
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Ruby version" >&5
18733
+$as_echo_n "checking Ruby version... " >&6; }
18734
 		if $CONFIG_RUBY -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
18735
 			ruby_version=`$CONFIG_RUBY -e 'puts "#{VERSION rescue RUBY_VERSION}"'`
18736
-			{ echo "$as_me:$LINENO: result: $ruby_version" >&5
18737
-echo "${ECHO_T}$ruby_version" >&6; }
18738
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5
18739
+$as_echo "$ruby_version" >&6; }
18740
 
18741
-			{ echo "$as_me:$LINENO: checking for Ruby header files" >&5
18742
-echo $ECHO_N "checking for Ruby header files... $ECHO_C" >&6; }
18743
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby header files" >&5
18744
+$as_echo_n "checking for Ruby header files... " >&6; }
18745
 			rubyhdrdir=`$CONFIG_RUBY -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
18746
 
18747
 			if test "X$rubyhdrdir" != "X"; then
18748
-				{ echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
18749
-echo "${ECHO_T}$rubyhdrdir" >&6; }
18750
+				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyhdrdir" >&5
18751
+$as_echo "$rubyhdrdir" >&6; }
18752
 				RUBY_CFLAGS="-I$rubyhdrdir"
18753
 				rubylibs=`$CONFIG_RUBY -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
18754
 
18755
@@ -17959,11 +9012,7 @@ echo "${ECHO_T}$rubyhdrdir" >&6; }
18756
 				CFLAGS="$RUBY_CFLAGS $CFLAGS"
18757
 				CPPFLAGS="$CPPFLAGS $RUBY_CFLAGS"
18758
 
18759
-				cat >conftest.$ac_ext <<_ACEOF
18760
-/* confdefs.h.  */
18761
-_ACEOF
18762
-cat confdefs.h >>conftest.$ac_ext
18763
-cat >>conftest.$ac_ext <<_ACEOF
18764
+				cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765
 /* end confdefs.h.  */
18766
 #include <ruby.h>
18767
 int
18768
@@ -17974,41 +9023,20 @@ ruby_init();
18769
   return 0;
18770
 }
18771
 _ACEOF
18772
-rm -f conftest.$ac_objext conftest$ac_exeext
18773
-if { (ac_try="$ac_link"
18774
-case "(($ac_try" in
18775
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776
-  *) ac_try_echo=$ac_try;;
18777
-esac
18778
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779
-  (eval "$ac_link") 2>conftest.er1
18780
-  ac_status=$?
18781
-  grep -v '^ *+' conftest.er1 >conftest.err
18782
-  rm -f conftest.er1
18783
-  cat conftest.err >&5
18784
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785
-  (exit $ac_status); } && {
18786
-	 test -z "$ac_c_werror_flag" ||
18787
-	 test ! -s conftest.err
18788
-       } && test -s conftest$ac_exeext &&
18789
-       $as_test_x conftest$ac_exeext; then
18790
+if ac_fn_c_try_link "$LINENO"; then :
18791
   CONFIG_RUBY=yes
18792
 else
18793
-  echo "$as_me: failed program was:" >&5
18794
-sed 's/^/| /' conftest.$ac_ext >&5
18795
-
18796
-	CONFIG_RUBY=no
18797
+  CONFIG_RUBY=no
18798
 fi
18799
-
18800
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18801
-      conftest$ac_exeext conftest.$ac_ext
18802
+rm -f core conftest.err conftest.$ac_objext \
18803
+    conftest$ac_exeext conftest.$ac_ext
18804
 			else
18805
-				{ echo "$as_me:$LINENO: result: Ruby header files not found" >&5
18806
-echo "${ECHO_T}Ruby header files not found" >&6; }
18807
+				{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Ruby header files not found" >&5
18808
+$as_echo "Ruby header files not found" >&6; }
18809
 			fi
18810
 		else
18811
-			{ echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
18812
-echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6; }
18813
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: too old; need Ruby version 1.6.0 or later" >&5
18814
+$as_echo "too old; need Ruby version 1.6.0 or later" >&6; }
18815
 		fi
18816
 	fi
18817
 fi
18818
@@ -18023,18 +9051,14 @@ fi
18819
 if test "$CONFIG_RUBY" != "yes"; then
18820
 	if test -n "$CONFIG_RUBY_WITHVAL" &&
18821
 	   test "$CONFIG_RUBY_WITHVAL" != no; then
18822
-		{ { echo "$as_me:$LINENO: error: Ruby not found" >&5
18823
-echo "$as_me: error: Ruby not found" >&2;}
18824
-   { (exit 1); exit 1; }; }
18825
+		as_fn_error $? "Ruby not found" "$LINENO" 5
18826
 	fi
18827
 else
18828
 
18829
 	  CONFIG_RUBY=yes
18830
 	  ABOUT_CONFIG_RUBY="Ruby"
18831
 
18832
-cat >>confdefs.h <<\_ACEOF
18833
-#define CONFIG_RUBY 1
18834
-_ACEOF
18835
+$as_echo "#define CONFIG_RUBY 1" >>confdefs.h
18836
 
18837
 
18838
 	LIBS="$LIBS $RUBY_LIBS"
18839
@@ -18045,7 +9069,7 @@ fi
18840
 
18841
 
18842
 # Check whether --enable-sm-scripting was given.
18843
-if test "${enable_sm_scripting+set}" = set; then
18844
+if test "${enable_sm_scripting+set}" = set; then :
18845
   enableval=$enable_sm_scripting; if test "$enableval" != no; then enableval="yes"; fi
18846
 	       CONFIG_SM_SCRIPTING="$enableval";
18847
 fi
18848
@@ -18057,9 +9081,7 @@ if test "x$CONFIG_SPIDERMONKEY" = xyes &
18849
 	  CONFIG_SM_SCRIPTING=yes
18850
 	  ABOUT_CONFIG_SM_SCRIPTING="SpiderMonkey"
18851
 
18852
-cat >>confdefs.h <<\_ACEOF
18853
-#define CONFIG_SM_SCRIPTING 1
18854
-_ACEOF
18855
+$as_echo "#define CONFIG_SM_SCRIPTING 1" >>confdefs.h
18856
 
18857
 else
18858
 	CONFIG_SM_SCRIPTING=no
18859
@@ -18092,9 +9114,7 @@ fi
18860
 	  CONFIG_SCRIPTING=yes
18861
 	  ABOUT_CONFIG_SCRIPTING="Browser scripting"
18862
 
18863
-cat >>confdefs.h <<\_ACEOF
18864
-#define CONFIG_SCRIPTING 1
18865
-_ACEOF
18866
+$as_echo "#define CONFIG_SCRIPTING 1" >>confdefs.h
18867
 
18868
 	fi
18869
 
18870
@@ -18139,13 +9159,13 @@ enable_gnutls=""
18871
 
18872
 
18873
 # Check whether --with-gnutls was given.
18874
-if test "${with_gnutls+set}" = set; then
18875
+if test "${with_gnutls+set}" = set; then :
18876
   withval=$with_gnutls; if test "$with_gnutls" = no;  then disable_gnutls=yes; fi
18877
 fi
18878
 
18879
 
18880
 # Check whether --with-gnutls was given.
18881
-if test "${with_gnutls+set}" = set; then
18882
+if test "${with_gnutls+set}" = set; then :
18883
   withval=$with_gnutls; if test "$with_gnutls" != no;  then enable_gnutls=yes; fi
18884
 fi
18885
 
18886
@@ -18157,21 +9177,21 @@ fi
18887
 
18888
 
18889
 # Check whether --with-openssl was given.
18890
-if test "${with_openssl+set}" = set; then
18891
+if test "${with_openssl+set}" = set; then :
18892
   withval=$with_openssl; if test "$with_openssl" = no;  then disable_openssl=yes; fi
18893
 fi
18894
 
18895
 
18896
 # Check whether --with-openssl was given.
18897
-if test "${with_openssl+set}" = set; then
18898
+if test "${with_openssl+set}" = set; then :
18899
   withval=$with_openssl;
18900
 fi
18901
 
18902
 openssl_withval="$withval"
18903
 
18904
 
18905
-{ echo "$as_me:$LINENO: checking for OpenSSL" >&5
18906
-echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; }
18907
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
18908
+$as_echo_n "checking for OpenSSL... " >&6; }
18909
 
18910
 
18911
 	CFLAGS_X="$CFLAGS";
18912
@@ -18202,11 +9222,7 @@ else
18913
 			else
18914
 				LIBS="-lssl -lcrypto $LIBS_X"
18915
 			fi
18916
-			cat >conftest.$ac_ext <<_ACEOF
18917
-/* confdefs.h.  */
18918
-_ACEOF
18919
-cat confdefs.h >>conftest.$ac_ext
18920
-cat >>conftest.$ac_ext <<_ACEOF
18921
+			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18922
 /* end confdefs.h.  */
18923
 #include <openssl/ssl.h>
18924
 int
18925
@@ -18217,40 +9233,15 @@ OpenSSL_add_all_algorithms()
18926
   return 0;
18927
 }
18928
 _ACEOF
18929
-rm -f conftest.$ac_objext conftest$ac_exeext
18930
-if { (ac_try="$ac_link"
18931
-case "(($ac_try" in
18932
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18933
-  *) ac_try_echo=$ac_try;;
18934
-esac
18935
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18936
-  (eval "$ac_link") 2>conftest.er1
18937
-  ac_status=$?
18938
-  grep -v '^ *+' conftest.er1 >conftest.err
18939
-  rm -f conftest.er1
18940
-  cat conftest.err >&5
18941
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942
-  (exit $ac_status); } && {
18943
-	 test -z "$ac_c_werror_flag" ||
18944
-	 test ! -s conftest.err
18945
-       } && test -s conftest$ac_exeext &&
18946
-       $as_test_x conftest$ac_exeext; then
18947
+if ac_fn_c_try_link "$LINENO"; then :
18948
   cf_result=yes
18949
 else
18950
-  echo "$as_me: failed program was:" >&5
18951
-sed 's/^/| /' conftest.$ac_ext >&5
18952
-
18953
-	cf_result=no
18954
+  cf_result=no
18955
 fi
18956
-
18957
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18958
-      conftest$ac_exeext conftest.$ac_ext
18959
+rm -f core conftest.err conftest.$ac_objext \
18960
+    conftest$ac_exeext conftest.$ac_ext
18961
 			if test "$cf_result" != yes; then
18962
-				cat >conftest.$ac_ext <<_ACEOF
18963
-/* confdefs.h.  */
18964
-_ACEOF
18965
-cat confdefs.h >>conftest.$ac_ext
18966
-cat >>conftest.$ac_ext <<_ACEOF
18967
+				cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968
 /* end confdefs.h.  */
18969
 #include <openssl/ssl.h>
18970
 int
18971
@@ -18261,43 +9252,20 @@ SSLeay_add_ssl_algorithms()
18972
   return 0;
18973
 }
18974
 _ACEOF
18975
-rm -f conftest.$ac_objext conftest$ac_exeext
18976
-if { (ac_try="$ac_link"
18977
-case "(($ac_try" in
18978
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18979
-  *) ac_try_echo=$ac_try;;
18980
-esac
18981
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982
-  (eval "$ac_link") 2>conftest.er1
18983
-  ac_status=$?
18984
-  grep -v '^ *+' conftest.er1 >conftest.err
18985
-  rm -f conftest.er1
18986
-  cat conftest.err >&5
18987
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988
-  (exit $ac_status); } && {
18989
-	 test -z "$ac_c_werror_flag" ||
18990
-	 test ! -s conftest.err
18991
-       } && test -s conftest$ac_exeext &&
18992
-       $as_test_x conftest$ac_exeext; then
18993
+if ac_fn_c_try_link "$LINENO"; then :
18994
   cf_result=yes
18995
 else
18996
-  echo "$as_me: failed program was:" >&5
18997
-sed 's/^/| /' conftest.$ac_ext >&5
18998
-
18999
-	cf_result=no
19000
+  cf_result=no
19001
 fi
19002
-
19003
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19004
-      conftest$ac_exeext conftest.$ac_ext
19005
+rm -f core conftest.err conftest.$ac_objext \
19006
+    conftest$ac_exeext conftest.$ac_ext
19007
 			fi
19008
 		fi
19009
 	done
19010
 
19011
 	if test "$cf_result" != yes; then
19012
 		if test -n "$openssl_withval" && test "x$openssl_withval" != xno; then
19013
-			{ { echo "$as_me:$LINENO: error: OpenSSL not found" >&5
19014
-echo "$as_me: error: OpenSSL not found" >&2;}
19015
-   { (exit 1); exit 1; }; }
19016
+			as_fn_error $? "OpenSSL not found" "$LINENO" 5
19017
 		fi
19018
 
19019
 	CFLAGS="$CFLAGS_X";
19020
@@ -18310,9 +9278,7 @@ echo "$as_me: error: OpenSSL not found" 
19021
 	  CONFIG_OPENSSL=yes
19022
 	  ABOUT_CONFIG_OPENSSL="OpenSSL"
19023
 
19024
-cat >>confdefs.h <<\_ACEOF
19025
-#define CONFIG_OPENSSL 1
19026
-_ACEOF
19027
+$as_echo "#define CONFIG_OPENSSL 1" >>confdefs.h
19028
 
19029
 
19030
 		CFLAGS="$CFLAGS_X"
19031
@@ -18320,8 +9286,51 @@ _ACEOF
19032
 	fi
19033
 fi
19034
 
19035
-{ echo "$as_me:$LINENO: result: $cf_result" >&5
19036
-echo "${ECHO_T}$cf_result" >&6; }
19037
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
19038
+$as_echo "$cf_result" >&6; }
19039
+
19040
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_egd in -lcrypto" >&5
19041
+$as_echo_n "checking for RAND_egd in -lcrypto... " >&6; }
19042
+if ${ac_cv_lib_crypto_RAND_egd+:} false; then :
19043
+  $as_echo_n "(cached) " >&6
19044
+else
19045
+  ac_check_lib_save_LIBS=$LIBS
19046
+LIBS="-lcrypto  $LIBS"
19047
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048
+/* end confdefs.h.  */
19049
+
19050
+/* Override any GCC internal prototype to avoid an error.
19051
+   Use char because int might match the return type of a GCC
19052
+   builtin and then its argument prototype would still apply.  */
19053
+#ifdef __cplusplus
19054
+extern "C"
19055
+#endif
19056
+char RAND_egd ();
19057
+int
19058
+main ()
19059
+{
19060
+return RAND_egd ();
19061
+  ;
19062
+  return 0;
19063
+}
19064
+_ACEOF
19065
+if ac_fn_c_try_link "$LINENO"; then :
19066
+  ac_cv_lib_crypto_RAND_egd=yes
19067
+else
19068
+  ac_cv_lib_crypto_RAND_egd=no
19069
+fi
19070
+rm -f core conftest.err conftest.$ac_objext \
19071
+    conftest$ac_exeext conftest.$ac_ext
19072
+LIBS=$ac_check_lib_save_LIBS
19073
+fi
19074
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_egd" >&5
19075
+$as_echo "$ac_cv_lib_crypto_RAND_egd" >&6; }
19076
+if test "x$ac_cv_lib_crypto_RAND_egd" = xyes; then :
19077
+
19078
+$as_echo "#define HAVE_RAND_EGD 1" >>confdefs.h
19079
+
19080
+fi
19081
+
19082
 
19083
 CONFIG_GNUTLS_OPENSSL_COMPAT=no
19084
 
19085
@@ -18350,10 +9359,10 @@ else
19086
 
19087
 		# Extract the first word of "libgnutls-config", so it can be a program name with args.
19088
 set dummy libgnutls-config; ac_word=$2
19089
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19090
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19091
-if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
19092
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19093
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19094
+$as_echo_n "checking for $ac_word... " >&6; }
19095
+if ${ac_cv_path_LIBGNUTLS_CONFIG+:} false; then :
19096
+  $as_echo_n "(cached) " >&6
19097
 else
19098
   case $LIBGNUTLS_CONFIG in
19099
   [\\/]* | ?:[\\/]*)
19100
@@ -18365,14 +9374,14 @@ for as_dir in $GNUTLS_PATH
19101
 do
19102
   IFS=$as_save_IFS
19103
   test -z "$as_dir" && as_dir=.
19104
-  for ac_exec_ext in '' $ac_executable_extensions; do
19105
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19106
+    for ac_exec_ext in '' $ac_executable_extensions; do
19107
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19108
     ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19109
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19110
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19111
     break 2
19112
   fi
19113
 done
19114
-done
19115
+  done
19116
 IFS=$as_save_IFS
19117
 
19118
   test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
19119
@@ -18381,11 +9390,11 @@ esac
19120
 fi
19121
 LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
19122
 if test -n "$LIBGNUTLS_CONFIG"; then
19123
-  { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
19124
-echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
19125
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_CONFIG" >&5
19126
+$as_echo "$LIBGNUTLS_CONFIG" >&6; }
19127
 else
19128
-  { echo "$as_me:$LINENO: result: no" >&5
19129
-echo "${ECHO_T}no" >&6; }
19130
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19131
+$as_echo "no" >&6; }
19132
 fi
19133
 
19134
 
19135
@@ -18403,11 +9412,7 @@ fi
19136
 			# Verify if it's really usable.  gnutls_session was
19137
 			# renamed to gnutls_session_t before GNU TLS 1.2.0
19138
 			# (on 2004-06-13); ELinks now requires this.
19139
-			cat >conftest.$ac_ext <<_ACEOF
19140
-/* confdefs.h.  */
19141
-_ACEOF
19142
-cat confdefs.h >>conftest.$ac_ext
19143
-cat >>conftest.$ac_ext <<_ACEOF
19144
+			cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19145
 /* end confdefs.h.  */
19146
 #include <gnutls/gnutls.h>
19147
 int
19148
@@ -18419,34 +9424,13 @@ gnutls_session_t dummy;
19149
   return 0;
19150
 }
19151
 _ACEOF
19152
-rm -f conftest.$ac_objext conftest$ac_exeext
19153
-if { (ac_try="$ac_link"
19154
-case "(($ac_try" in
19155
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156
-  *) ac_try_echo=$ac_try;;
19157
-esac
19158
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159
-  (eval "$ac_link") 2>conftest.er1
19160
-  ac_status=$?
19161
-  grep -v '^ *+' conftest.er1 >conftest.err
19162
-  rm -f conftest.er1
19163
-  cat conftest.err >&5
19164
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165
-  (exit $ac_status); } && {
19166
-	 test -z "$ac_c_werror_flag" ||
19167
-	 test ! -s conftest.err
19168
-       } && test -s conftest$ac_exeext &&
19169
-       $as_test_x conftest$ac_exeext; then
19170
+if ac_fn_c_try_link "$LINENO"; then :
19171
   cf_result=yes
19172
 else
19173
-  echo "$as_me: failed program was:" >&5
19174
-sed 's/^/| /' conftest.$ac_ext >&5
19175
-
19176
-	cf_result=no
19177
+  cf_result=no
19178
 fi
19179
-
19180
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19181
-      conftest$ac_exeext conftest.$ac_ext
19182
+rm -f core conftest.err conftest.$ac_objext \
19183
+    conftest$ac_exeext conftest.$ac_ext
19184
 		fi
19185
 
19186
 		if test "$cf_result" = yes; then
19187
@@ -18454,9 +9438,7 @@ rm -f core conftest.err conftest.$ac_obj
19188
 	  CONFIG_GNUTLS=yes
19189
 	  ABOUT_CONFIG_GNUTLS="GNUTLS"
19190
 
19191
-cat >>confdefs.h <<\_ACEOF
19192
-#define CONFIG_GNUTLS 1
19193
-_ACEOF
19194
+$as_echo "#define CONFIG_GNUTLS 1" >>confdefs.h
19195
 
19196
 
19197
 			CFLAGS="$CFLAGS_X"
19198
@@ -18468,9 +9450,7 @@ _ACEOF
19199
 			CONFIG_GNUTLS_OPENSSL_COMPAT=no
19200
 		else
19201
 			if test -n "$gnutls_withval" && test "x$gnutls_withval" != xno; then
19202
-				{ { echo "$as_me:$LINENO: error: GNUTLS (1.2 or later) not found.  ELinks no longer supports GNUTLS 1.1." >&5
19203
-echo "$as_me: error: GNUTLS (1.2 or later) not found.  ELinks no longer supports GNUTLS 1.1." >&2;}
19204
-   { (exit 1); exit 1; }; }
19205
+				as_fn_error $? "GNUTLS (1.2 or later) not found.  ELinks no longer supports GNUTLS 1.1." "$LINENO" 5
19206
 			fi
19207
 
19208
 	CFLAGS="$CFLAGS_X";
19209
@@ -18482,10 +9462,10 @@ echo "$as_me: error: GNUTLS (1.2 or late
19210
 	fi
19211
 fi
19212
 
19213
-{ echo "$as_me:$LINENO: checking for GNU TLS (1.2 or later)" >&5
19214
-echo $ECHO_N "checking for GNU TLS (1.2 or later)... $ECHO_C" >&6; }
19215
-{ echo "$as_me:$LINENO: result: $cf_result" >&5
19216
-echo "${ECHO_T}$cf_result" >&6; }
19217
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU TLS (1.2 or later)" >&5
19218
+$as_echo_n "checking for GNU TLS (1.2 or later)... " >&6; }
19219
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_result" >&5
19220
+$as_echo "$cf_result" >&6; }
19221
 
19222
 
19223
 
19224
@@ -18514,9 +9494,7 @@ echo "${ECHO_T}$cf_result" >&6; }
19225
 	  CONFIG_SSL=yes
19226
 	  ABOUT_CONFIG_SSL="SSL"
19227
 
19228
-cat >>confdefs.h <<\_ACEOF
19229
-#define CONFIG_SSL 1
19230
-_ACEOF
19231
+$as_echo "#define CONFIG_SSL 1" >>confdefs.h
19232
 
19233
 	fi
19234
 
19235
@@ -18548,23 +9526,19 @@ _ACEOF
19236
 
19237
 #endif
19238
 
19239
-{ echo "$as_me:$LINENO: checking whether to be or not to be" >&5
19240
-echo $ECHO_N "checking whether to be or not to be... $ECHO_C" >&6; }
19241
-{ echo "$as_me:$LINENO: result: needs to be determined experimentally" >&5
19242
-echo "${ECHO_T}needs to be determined experimentally" >&6; }
19243
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to be or not to be" >&5
19244
+$as_echo_n "checking whether to be or not to be... " >&6; }
19245
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: needs to be determined experimentally" >&5
19246
+$as_echo "needs to be determined experimentally" >&6; }
19247
 
19248
 
19249
 
19250
 
19251
 
19252
 	HAVE_SA_STORAGE=yes;
19253
-	{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
19254
-echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
19255
-	cat >conftest.$ac_ext <<_ACEOF
19256
-/* confdefs.h.  */
19257
-_ACEOF
19258
-cat confdefs.h >>conftest.$ac_ext
19259
-cat >>conftest.$ac_ext <<_ACEOF
19260
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
19261
+$as_echo_n "checking for struct sockaddr_storage... " >&6; }
19262
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263
 /* end confdefs.h.  */
19264
 
19265
 #include <sys/types.h>
19266
@@ -18581,38 +9555,16 @@ int a = sizeof(struct sockaddr_storage);
19267
   return 0;
19268
 }
19269
 _ACEOF
19270
-rm -f conftest.$ac_objext
19271
-if { (ac_try="$ac_compile"
19272
-case "(($ac_try" in
19273
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19274
-  *) ac_try_echo=$ac_try;;
19275
-esac
19276
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19277
-  (eval "$ac_compile") 2>conftest.er1
19278
-  ac_status=$?
19279
-  grep -v '^ *+' conftest.er1 >conftest.err
19280
-  rm -f conftest.er1
19281
-  cat conftest.err >&5
19282
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283
-  (exit $ac_status); } && {
19284
-	 test -z "$ac_c_werror_flag" ||
19285
-	 test ! -s conftest.err
19286
-       } && test -s conftest.$ac_objext; then
19287
+if ac_fn_c_try_compile "$LINENO"; then :
19288
 
19289
-cat >>confdefs.h <<\_ACEOF
19290
-#define HAVE_SA_STORAGE 1
19291
-_ACEOF
19292
+$as_echo "#define HAVE_SA_STORAGE 1" >>confdefs.h
19293
 
19294
 else
19295
-  echo "$as_me: failed program was:" >&5
19296
-sed 's/^/| /' conftest.$ac_ext >&5
19297
-
19298
-	HAVE_SA_STORAGE=no
19299
+  HAVE_SA_STORAGE=no
19300
 fi
19301
-
19302
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19303
-	{ echo "$as_me:$LINENO: result: $HAVE_SA_STORAGE" >&5
19304
-echo "${ECHO_T}$HAVE_SA_STORAGE" >&6; }
19305
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SA_STORAGE" >&5
19306
+$as_echo "$HAVE_SA_STORAGE" >&6; }
19307
 
19308
 
19309
 
19310
@@ -18620,13 +9572,9 @@ echo "${ECHO_T}$HAVE_SA_STORAGE" >&6; }
19311
 
19312
 
19313
 	HAVE_SA_IN6=yes;
19314
-	{ echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
19315
-echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
19316
-	cat >conftest.$ac_ext <<_ACEOF
19317
-/* confdefs.h.  */
19318
-_ACEOF
19319
-cat confdefs.h >>conftest.$ac_ext
19320
-cat >>conftest.$ac_ext <<_ACEOF
19321
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_in6" >&5
19322
+$as_echo_n "checking for struct sockaddr_in6... " >&6; }
19323
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324
 /* end confdefs.h.  */
19325
 
19326
 #include <sys/types.h>
19327
@@ -18643,38 +9591,16 @@ int a = sizeof(struct sockaddr_in6);
19328
   return 0;
19329
 }
19330
 _ACEOF
19331
-rm -f conftest.$ac_objext
19332
-if { (ac_try="$ac_compile"
19333
-case "(($ac_try" in
19334
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335
-  *) ac_try_echo=$ac_try;;
19336
-esac
19337
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338
-  (eval "$ac_compile") 2>conftest.er1
19339
-  ac_status=$?
19340
-  grep -v '^ *+' conftest.er1 >conftest.err
19341
-  rm -f conftest.er1
19342
-  cat conftest.err >&5
19343
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344
-  (exit $ac_status); } && {
19345
-	 test -z "$ac_c_werror_flag" ||
19346
-	 test ! -s conftest.err
19347
-       } && test -s conftest.$ac_objext; then
19348
+if ac_fn_c_try_compile "$LINENO"; then :
19349
 
19350
-cat >>confdefs.h <<\_ACEOF
19351
-#define HAVE_SA_IN6 1
19352
-_ACEOF
19353
+$as_echo "#define HAVE_SA_IN6 1" >>confdefs.h
19354
 
19355
 else
19356
-  echo "$as_me: failed program was:" >&5
19357
-sed 's/^/| /' conftest.$ac_ext >&5
19358
-
19359
-	HAVE_SA_IN6=no
19360
+  HAVE_SA_IN6=no
19361
 fi
19362
-
19363
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19364
-	{ echo "$as_me:$LINENO: result: $HAVE_SA_IN6" >&5
19365
-echo "${ECHO_T}$HAVE_SA_IN6" >&6; }
19366
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SA_IN6" >&5
19367
+$as_echo "$HAVE_SA_IN6" >&6; }
19368
 
19369
 
19370
 
19371
@@ -18682,13 +9608,9 @@ echo "${ECHO_T}$HAVE_SA_IN6" >&6; }
19372
 
19373
 
19374
 	HAVE_ADDRINFO=yes;
19375
-	{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5
19376
-echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
19377
-	cat >conftest.$ac_ext <<_ACEOF
19378
-/* confdefs.h.  */
19379
-_ACEOF
19380
-cat confdefs.h >>conftest.$ac_ext
19381
-cat >>conftest.$ac_ext <<_ACEOF
19382
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
19383
+$as_echo_n "checking for struct addrinfo... " >&6; }
19384
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385
 /* end confdefs.h.  */
19386
 
19387
 #include <sys/types.h>
19388
@@ -18705,142 +9627,36 @@ int a = sizeof(struct addrinfo);
19389
   return 0;
19390
 }
19391
 _ACEOF
19392
-rm -f conftest.$ac_objext
19393
-if { (ac_try="$ac_compile"
19394
-case "(($ac_try" in
19395
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396
-  *) ac_try_echo=$ac_try;;
19397
-esac
19398
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399
-  (eval "$ac_compile") 2>conftest.er1
19400
-  ac_status=$?
19401
-  grep -v '^ *+' conftest.er1 >conftest.err
19402
-  rm -f conftest.er1
19403
-  cat conftest.err >&5
19404
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405
-  (exit $ac_status); } && {
19406
-	 test -z "$ac_c_werror_flag" ||
19407
-	 test ! -s conftest.err
19408
-       } && test -s conftest.$ac_objext; then
19409
+if ac_fn_c_try_compile "$LINENO"; then :
19410
 
19411
-cat >>confdefs.h <<\_ACEOF
19412
-#define HAVE_ADDRINFO 1
19413
-_ACEOF
19414
+$as_echo "#define HAVE_ADDRINFO 1" >>confdefs.h
19415
 
19416
 else
19417
-  echo "$as_me: failed program was:" >&5
19418
-sed 's/^/| /' conftest.$ac_ext >&5
19419
-
19420
-	HAVE_ADDRINFO=no
19421
+  HAVE_ADDRINFO=no
19422
 fi
19423
-
19424
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425
-	{ echo "$as_me:$LINENO: result: $HAVE_ADDRINFO" >&5
19426
-echo "${ECHO_T}$HAVE_ADDRINFO" >&6; }
19427
-
19428
-
19429
-
19430
-
19431
-{ echo "$as_me:$LINENO: checking for getaddrinfo" >&5
19432
-echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
19433
-if test "${ac_cv_func_getaddrinfo+set}" = set; then
19434
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19435
-else
19436
-  cat >conftest.$ac_ext <<_ACEOF
19437
-/* confdefs.h.  */
19438
-_ACEOF
19439
-cat confdefs.h >>conftest.$ac_ext
19440
-cat >>conftest.$ac_ext <<_ACEOF
19441
-/* end confdefs.h.  */
19442
-/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
19443
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19444
-#define getaddrinfo innocuous_getaddrinfo
19445
-
19446
-/* System header to define __stub macros and hopefully few prototypes,
19447
-    which can conflict with char getaddrinfo (); below.
19448
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19449
-    <limits.h> exists even on freestanding compilers.  */
19450
-
19451
-#ifdef __STDC__
19452
-# include <limits.h>
19453
-#else
19454
-# include <assert.h>
19455
-#endif
19456
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ADDRINFO" >&5
19457
+$as_echo "$HAVE_ADDRINFO" >&6; }
19458
 
19459
-#undef getaddrinfo
19460
 
19461
-/* Override any GCC internal prototype to avoid an error.
19462
-   Use char because int might match the return type of a GCC
19463
-   builtin and then its argument prototype would still apply.  */
19464
-#ifdef __cplusplus
19465
-extern "C"
19466
-#endif
19467
-char getaddrinfo ();
19468
-/* The GNU C library defines this for functions which it implements
19469
-    to always fail with ENOSYS.  Some functions are actually named
19470
-    something starting with __ and the normal name is an alias.  */
19471
-#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
19472
-choke me
19473
-#endif
19474
-
19475
-int
19476
-main ()
19477
-{
19478
-return getaddrinfo ();
19479
-  ;
19480
-  return 0;
19481
-}
19482
-_ACEOF
19483
-rm -f conftest.$ac_objext conftest$ac_exeext
19484
-if { (ac_try="$ac_link"
19485
-case "(($ac_try" in
19486
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487
-  *) ac_try_echo=$ac_try;;
19488
-esac
19489
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490
-  (eval "$ac_link") 2>conftest.er1
19491
-  ac_status=$?
19492
-  grep -v '^ *+' conftest.er1 >conftest.err
19493
-  rm -f conftest.er1
19494
-  cat conftest.err >&5
19495
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496
-  (exit $ac_status); } && {
19497
-	 test -z "$ac_c_werror_flag" ||
19498
-	 test ! -s conftest.err
19499
-       } && test -s conftest$ac_exeext &&
19500
-       $as_test_x conftest$ac_exeext; then
19501
-  ac_cv_func_getaddrinfo=yes
19502
-else
19503
-  echo "$as_me: failed program was:" >&5
19504
-sed 's/^/| /' conftest.$ac_ext >&5
19505
 
19506
-	ac_cv_func_getaddrinfo=no
19507
-fi
19508
 
19509
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19510
-      conftest$ac_exeext conftest.$ac_ext
19511
-fi
19512
-{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
19513
-echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
19514
-if test $ac_cv_func_getaddrinfo = yes; then
19515
+ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19516
+if test "x$ac_cv_func_getaddrinfo" = xyes; then :
19517
   HAVE_GETADDRINFO=yes
19518
 else
19519
   HAVE_GETADDRINFO=no
19520
 fi
19521
 
19522
 if test "$HAVE_GETADDRINFO" != yes; then
19523
-	{ echo "$as_me:$LINENO: checking for getaddrinfo in -linet6" >&5
19524
-echo $ECHO_N "checking for getaddrinfo in -linet6... $ECHO_C" >&6; }
19525
-if test "${ac_cv_lib_inet6_getaddrinfo+set}" = set; then
19526
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19527
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -linet6" >&5
19528
+$as_echo_n "checking for getaddrinfo in -linet6... " >&6; }
19529
+if ${ac_cv_lib_inet6_getaddrinfo+:} false; then :
19530
+  $as_echo_n "(cached) " >&6
19531
 else
19532
   ac_check_lib_save_LIBS=$LIBS
19533
 LIBS="-linet6  $LIBS"
19534
-cat >conftest.$ac_ext <<_ACEOF
19535
-/* confdefs.h.  */
19536
-_ACEOF
19537
-cat confdefs.h >>conftest.$ac_ext
19538
-cat >>conftest.$ac_ext <<_ACEOF
19539
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540
 /* end confdefs.h.  */
19541
 
19542
 /* Override any GCC internal prototype to avoid an error.
19543
@@ -18858,39 +9674,18 @@ return getaddrinfo ();
19544
   return 0;
19545
 }
19546
 _ACEOF
19547
-rm -f conftest.$ac_objext conftest$ac_exeext
19548
-if { (ac_try="$ac_link"
19549
-case "(($ac_try" in
19550
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551
-  *) ac_try_echo=$ac_try;;
19552
-esac
19553
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554
-  (eval "$ac_link") 2>conftest.er1
19555
-  ac_status=$?
19556
-  grep -v '^ *+' conftest.er1 >conftest.err
19557
-  rm -f conftest.er1
19558
-  cat conftest.err >&5
19559
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560
-  (exit $ac_status); } && {
19561
-	 test -z "$ac_c_werror_flag" ||
19562
-	 test ! -s conftest.err
19563
-       } && test -s conftest$ac_exeext &&
19564
-       $as_test_x conftest$ac_exeext; then
19565
+if ac_fn_c_try_link "$LINENO"; then :
19566
   ac_cv_lib_inet6_getaddrinfo=yes
19567
 else
19568
-  echo "$as_me: failed program was:" >&5
19569
-sed 's/^/| /' conftest.$ac_ext >&5
19570
-
19571
-	ac_cv_lib_inet6_getaddrinfo=no
19572
+  ac_cv_lib_inet6_getaddrinfo=no
19573
 fi
19574
-
19575
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19576
-      conftest$ac_exeext conftest.$ac_ext
19577
+rm -f core conftest.err conftest.$ac_objext \
19578
+    conftest$ac_exeext conftest.$ac_ext
19579
 LIBS=$ac_check_lib_save_LIBS
19580
 fi
19581
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_inet6_getaddrinfo" >&5
19582
-echo "${ECHO_T}$ac_cv_lib_inet6_getaddrinfo" >&6; }
19583
-if test $ac_cv_lib_inet6_getaddrinfo = yes; then
19584
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet6_getaddrinfo" >&5
19585
+$as_echo "$ac_cv_lib_inet6_getaddrinfo" >&6; }
19586
+if test "x$ac_cv_lib_inet6_getaddrinfo" = xyes; then :
19587
   HAVE_GETADDRINFO=yes
19588
 else
19589
   HAVE_GETADDRINFO=no
19590
@@ -18903,12 +9698,12 @@ fi
19591
 
19592
 
19593
 
19594
-{ echo "$as_me:$LINENO: checking for X" >&5
19595
-echo $ECHO_N "checking for X... $ECHO_C" >&6; }
19596
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19597
+$as_echo_n "checking for X... " >&6; }
19598
 
19599
 
19600
 # Check whether --with-x was given.
19601
-if test "${with_x+set}" = set; then
19602
+if test "${with_x+set}" = set; then :
19603
   withval=$with_x;
19604
 fi
19605
 
19606
@@ -18918,11 +9713,9 @@ if test "x$with_x" = xno; then
19607
   have_x=disabled
19608
 else
19609
   case $x_includes,$x_libraries in #(
19610
-    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
19611
-echo "$as_me: error: Cannot use X directory names containing '" >&2;}
19612
-   { (exit 1); exit 1; }; };; #(
19613
-    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
19614
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19615
+    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
19616
+    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
19617
+  $as_echo_n "(cached) " >&6
19618
 else
19619
   # One or both of the vars are not set, and there is no cached value.
19620
 ac_x_includes=no ac_x_libraries=no
19621
@@ -18938,12 +9731,12 @@ libdir:
19622
 	@echo libdir='${LIBDIR}'
19623
 _ACEOF
19624
   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19625
-    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19626
+    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
19627
     for ac_var in incroot usrlibdir libdir; do
19628
       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19629
     done
19630
     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19631
-    for ac_extension in a so sl; do
19632
+    for ac_extension in a so sl dylib la dll; do
19633
       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19634
 	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19635
 	ac_im_usrlibdir=$ac_im_libdir; break
19636
@@ -18957,7 +9750,7 @@ _ACEOF
19637
 	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19638
     esac
19639
     case $ac_im_usrlibdir in
19640
-	/usr/lib | /lib) ;;
19641
+	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
19642
 	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19643
     esac
19644
   fi
19645
@@ -18969,21 +9762,25 @@ fi
19646
 # Check X11 before X11Rn because it is often a symlink to the current release.
19647
 ac_x_header_dirs='
19648
 /usr/X11/include
19649
+/usr/X11R7/include
19650
 /usr/X11R6/include
19651
 /usr/X11R5/include
19652
 /usr/X11R4/include
19653
 
19654
 /usr/include/X11
19655
+/usr/include/X11R7
19656
 /usr/include/X11R6
19657
 /usr/include/X11R5
19658
 /usr/include/X11R4
19659
 
19660
 /usr/local/X11/include
19661
+/usr/local/X11R7/include
19662
 /usr/local/X11R6/include
19663
 /usr/local/X11R5/include
19664
 /usr/local/X11R4/include
19665
 
19666
 /usr/local/include/X11
19667
+/usr/local/include/X11R7
19668
 /usr/local/include/X11R6
19669
 /usr/local/include/X11R5
19670
 /usr/local/include/X11R4
19671
@@ -19005,36 +9802,14 @@ ac_x_header_dirs='
19672
 if test "$ac_x_includes" = no; then
19673
   # Guess where to find include files, by looking for Xlib.h.
19674
   # First, try using that file with no special directory specified.
19675
-  cat >conftest.$ac_ext <<_ACEOF
19676
-/* confdefs.h.  */
19677
-_ACEOF
19678
-cat confdefs.h >>conftest.$ac_ext
19679
-cat >>conftest.$ac_ext <<_ACEOF
19680
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681
 /* end confdefs.h.  */
19682
 #include <X11/Xlib.h>
19683
 _ACEOF
19684
-if { (ac_try="$ac_cpp conftest.$ac_ext"
19685
-case "(($ac_try" in
19686
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687
-  *) ac_try_echo=$ac_try;;
19688
-esac
19689
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19691
-  ac_status=$?
19692
-  grep -v '^ *+' conftest.er1 >conftest.err
19693
-  rm -f conftest.er1
19694
-  cat conftest.err >&5
19695
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696
-  (exit $ac_status); } >/dev/null && {
19697
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19698
-	 test ! -s conftest.err
19699
-       }; then
19700
+if ac_fn_c_try_cpp "$LINENO"; then :
19701
   # We can compile using X headers with no special include directory.
19702
 ac_x_includes=
19703
 else
19704
-  echo "$as_me: failed program was:" >&5
19705
-sed 's/^/| /' conftest.$ac_ext >&5
19706
-
19707
   for ac_dir in $ac_x_header_dirs; do
19708
   if test -r "$ac_dir/X11/Xlib.h"; then
19709
     ac_x_includes=$ac_dir
19710
@@ -19042,8 +9817,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
19711
   fi
19712
 done
19713
 fi
19714
-
19715
-rm -f conftest.err conftest.$ac_ext
19716
+rm -f conftest.err conftest.i conftest.$ac_ext
19717
 fi # $ac_x_includes = no
19718
 
19719
 if test "$ac_x_libraries" = no; then
19720
@@ -19052,11 +9826,7 @@ if test "$ac_x_libraries" = no; then
19721
   # Don't add to $LIBS permanently.
19722
   ac_save_LIBS=$LIBS
19723
   LIBS="-lX11 $LIBS"
19724
-  cat >conftest.$ac_ext <<_ACEOF
19725
-/* confdefs.h.  */
19726
-_ACEOF
19727
-cat confdefs.h >>conftest.$ac_ext
19728
-cat >>conftest.$ac_ext <<_ACEOF
19729
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730
 /* end confdefs.h.  */
19731
 #include <X11/Xlib.h>
19732
 int
19733
@@ -19067,36 +9837,16 @@ XrmInitialize ()
19734
   return 0;
19735
 }
19736
 _ACEOF
19737
-rm -f conftest.$ac_objext conftest$ac_exeext
19738
-if { (ac_try="$ac_link"
19739
-case "(($ac_try" in
19740
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741
-  *) ac_try_echo=$ac_try;;
19742
-esac
19743
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744
-  (eval "$ac_link") 2>conftest.er1
19745
-  ac_status=$?
19746
-  grep -v '^ *+' conftest.er1 >conftest.err
19747
-  rm -f conftest.er1
19748
-  cat conftest.err >&5
19749
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750
-  (exit $ac_status); } && {
19751
-	 test -z "$ac_c_werror_flag" ||
19752
-	 test ! -s conftest.err
19753
-       } && test -s conftest$ac_exeext &&
19754
-       $as_test_x conftest$ac_exeext; then
19755
+if ac_fn_c_try_link "$LINENO"; then :
19756
   LIBS=$ac_save_LIBS
19757
 # We can link X programs with no special library path.
19758
 ac_x_libraries=
19759
 else
19760
-  echo "$as_me: failed program was:" >&5
19761
-sed 's/^/| /' conftest.$ac_ext >&5
19762
-
19763
-	LIBS=$ac_save_LIBS
19764
-for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19765
+  LIBS=$ac_save_LIBS
19766
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19767
 do
19768
   # Don't even attempt the hair of trying to link an X program!
19769
-  for ac_extension in a so sl; do
19770
+  for ac_extension in a so sl dylib la dll; do
19771
     if test -r "$ac_dir/libX11.$ac_extension"; then
19772
       ac_x_libraries=$ac_dir
19773
       break 2
19774
@@ -19104,9 +9854,8 @@ do
19775
   done
19776
 done
19777
 fi
19778
-
19779
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19780
-      conftest$ac_exeext conftest.$ac_ext
19781
+rm -f core conftest.err conftest.$ac_objext \
19782
+    conftest$ac_exeext conftest.$ac_ext
19783
 fi # $ac_x_libraries = no
19784
 
19785
 case $ac_x_includes,$ac_x_libraries in #(
19786
@@ -19127,8 +9876,8 @@ fi
19787
 fi # $with_x != no
19788
 
19789
 if test "$have_x" != yes; then
19790
-  { echo "$as_me:$LINENO: result: $have_x" >&5
19791
-echo "${ECHO_T}$have_x" >&6; }
19792
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19793
+$as_echo "$have_x" >&6; }
19794
   no_x=yes
19795
 else
19796
   # If each of the values was on the command line, it overrides each guess.
19797
@@ -19138,8 +9887,8 @@ else
19798
   ac_cv_have_x="have_x=yes\
19799
 	ac_x_includes='$x_includes'\
19800
 	ac_x_libraries='$x_libraries'"
19801
-  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19802
-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
19803
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19804
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19805
 fi
19806
 
19807
 if test x"$no_x" != xyes; then
19808
@@ -19157,11 +9906,7 @@ if test x"$no_x" != xyes; then
19809
 		LDFLAGS="$LDFLAGS -L$x_libraries"
19810
 	fi
19811
 	LIBS="-lX11 $LIBS"
19812
-	cat >conftest.$ac_ext <<_ACEOF
19813
-/* confdefs.h.  */
19814
-_ACEOF
19815
-cat confdefs.h >>conftest.$ac_ext
19816
-cat >>conftest.$ac_ext <<_ACEOF
19817
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818
 /* end confdefs.h.  */
19819
 #include <X11/Xlib.h>
19820
 int
19821
@@ -19172,34 +9917,13 @@ XrmInitialize()
19822
   return 0;
19823
 }
19824
 _ACEOF
19825
-rm -f conftest.$ac_objext conftest$ac_exeext
19826
-if { (ac_try="$ac_link"
19827
-case "(($ac_try" in
19828
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19829
-  *) ac_try_echo=$ac_try;;
19830
-esac
19831
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832
-  (eval "$ac_link") 2>conftest.er1
19833
-  ac_status=$?
19834
-  grep -v '^ *+' conftest.er1 >conftest.err
19835
-  rm -f conftest.er1
19836
-  cat conftest.err >&5
19837
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838
-  (exit $ac_status); } && {
19839
-	 test -z "$ac_c_werror_flag" ||
19840
-	 test ! -s conftest.err
19841
-       } && test -s conftest$ac_exeext &&
19842
-       $as_test_x conftest$ac_exeext; then
19843
+if ac_fn_c_try_link "$LINENO"; then :
19844
   cf_result=yes
19845
 else
19846
-  echo "$as_me: failed program was:" >&5
19847
-sed 's/^/| /' conftest.$ac_ext >&5
19848
-
19849
-	cf_result=no
19850
+  cf_result=no
19851
 fi
19852
-
19853
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19854
-      conftest$ac_exeext conftest.$ac_ext
19855
+rm -f core conftest.err conftest.$ac_objext \
19856
+    conftest$ac_exeext conftest.$ac_ext
19857
 
19858
 	CFLAGS="$CFLAGS_X";
19859
 	CPPFLAGS="$CPPFLAGS_X";
19860
@@ -19212,9 +9936,7 @@ rm -f core conftest.err conftest.$ac_obj
19861
 		fi
19862
 		LIBS="-lX11 $LIBS"
19863
 
19864
-cat >>confdefs.h <<\_ACEOF
19865
-#define HAVE_X11 1
19866
-_ACEOF
19867
+$as_echo "#define HAVE_X11 1" >>confdefs.h
19868
 
19869
 
19870
 	fi
19871
@@ -19222,140 +9944,12 @@ fi
19872
 
19873
 
19874
 
19875
-
19876
 for ac_header in execinfo.h
19877
-do
19878
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19879
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19880
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
19881
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19882
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19883
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19884
-fi
19885
-ac_res=`eval echo '${'$as_ac_Header'}'`
19886
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
19887
-echo "${ECHO_T}$ac_res" >&6; }
19888
-else
19889
-  # Is the header compilable?
19890
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19891
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19892
-cat >conftest.$ac_ext <<_ACEOF
19893
-/* confdefs.h.  */
19894
-_ACEOF
19895
-cat confdefs.h >>conftest.$ac_ext
19896
-cat >>conftest.$ac_ext <<_ACEOF
19897
-/* end confdefs.h.  */
19898
-$ac_includes_default
19899
-#include <$ac_header>
19900
-_ACEOF
19901
-rm -f conftest.$ac_objext
19902
-if { (ac_try="$ac_compile"
19903
-case "(($ac_try" in
19904
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905
-  *) ac_try_echo=$ac_try;;
19906
-esac
19907
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908
-  (eval "$ac_compile") 2>conftest.er1
19909
-  ac_status=$?
19910
-  grep -v '^ *+' conftest.er1 >conftest.err
19911
-  rm -f conftest.er1
19912
-  cat conftest.err >&5
19913
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914
-  (exit $ac_status); } && {
19915
-	 test -z "$ac_c_werror_flag" ||
19916
-	 test ! -s conftest.err
19917
-       } && test -s conftest.$ac_objext; then
19918
-  ac_header_compiler=yes
19919
-else
19920
-  echo "$as_me: failed program was:" >&5
19921
-sed 's/^/| /' conftest.$ac_ext >&5
19922
-
19923
-	ac_header_compiler=no
19924
-fi
19925
-
19926
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19927
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19928
-echo "${ECHO_T}$ac_header_compiler" >&6; }
19929
-
19930
-# Is the header present?
19931
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19932
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19933
-cat >conftest.$ac_ext <<_ACEOF
19934
-/* confdefs.h.  */
19935
-_ACEOF
19936
-cat confdefs.h >>conftest.$ac_ext
19937
-cat >>conftest.$ac_ext <<_ACEOF
19938
-/* end confdefs.h.  */
19939
-#include <$ac_header>
19940
-_ACEOF
19941
-if { (ac_try="$ac_cpp conftest.$ac_ext"
19942
-case "(($ac_try" in
19943
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944
-  *) ac_try_echo=$ac_try;;
19945
-esac
19946
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19948
-  ac_status=$?
19949
-  grep -v '^ *+' conftest.er1 >conftest.err
19950
-  rm -f conftest.er1
19951
-  cat conftest.err >&5
19952
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953
-  (exit $ac_status); } >/dev/null && {
19954
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19955
-	 test ! -s conftest.err
19956
-       }; then
19957
-  ac_header_preproc=yes
19958
-else
19959
-  echo "$as_me: failed program was:" >&5
19960
-sed 's/^/| /' conftest.$ac_ext >&5
19961
-
19962
-  ac_header_preproc=no
19963
-fi
19964
-
19965
-rm -f conftest.err conftest.$ac_ext
19966
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19967
-echo "${ECHO_T}$ac_header_preproc" >&6; }
19968
-
19969
-# So?  What about this header?
19970
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19971
-  yes:no: )
19972
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19973
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19974
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19975
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19976
-    ac_header_preproc=yes
19977
-    ;;
19978
-  no:yes:* )
19979
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19980
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19981
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19982
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19983
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19984
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19985
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19986
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19987
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19988
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19989
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19990
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19991
-
19992
-    ;;
19993
-esac
19994
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19995
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19996
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19997
-  echo $ECHO_N "(cached) $ECHO_C" >&6
19998
-else
19999
-  eval "$as_ac_Header=\$ac_header_preproc"
20000
-fi
20001
-ac_res=`eval echo '${'$as_ac_Header'}'`
20002
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20003
-echo "${ECHO_T}$ac_res" >&6; }
20004
-
20005
-fi
20006
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
20007
+do :
20008
+  ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
20009
+if test "x$ac_cv_header_execinfo_h" = xyes; then :
20010
   cat >>confdefs.h <<_ACEOF
20011
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20012
+#define HAVE_EXECINFO_H 1
20013
 _ACEOF
20014
  HAVE_EXECINFO=yes
20015
 else
20016
@@ -19370,10 +9964,10 @@ done
20017
 
20018
 # Extract the first word of "smbclient", so it can be a program name with args.
20019
 set dummy smbclient; ac_word=$2
20020
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20021
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20022
-if test "${ac_cv_prog_HAVE_SMBCLIENT+set}" = set; then
20023
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20024
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20025
+$as_echo_n "checking for $ac_word... " >&6; }
20026
+if ${ac_cv_prog_HAVE_SMBCLIENT+:} false; then :
20027
+  $as_echo_n "(cached) " >&6
20028
 else
20029
   if test -n "$HAVE_SMBCLIENT"; then
20030
   ac_cv_prog_HAVE_SMBCLIENT="$HAVE_SMBCLIENT" # Let the user override the test.
20031
@@ -19383,14 +9977,14 @@ for as_dir in $PATH
20032
 do
20033
   IFS=$as_save_IFS
20034
   test -z "$as_dir" && as_dir=.
20035
-  for ac_exec_ext in '' $ac_executable_extensions; do
20036
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20037
+    for ac_exec_ext in '' $ac_executable_extensions; do
20038
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20039
     ac_cv_prog_HAVE_SMBCLIENT="yes"
20040
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20041
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20042
     break 2
20043
   fi
20044
 done
20045
-done
20046
+  done
20047
 IFS=$as_save_IFS
20048
 
20049
   test -z "$ac_cv_prog_HAVE_SMBCLIENT" && ac_cv_prog_HAVE_SMBCLIENT="no"
20050
@@ -19398,11 +9992,11 @@ fi
20051
 fi
20052
 HAVE_SMBCLIENT=$ac_cv_prog_HAVE_SMBCLIENT
20053
 if test -n "$HAVE_SMBCLIENT"; then
20054
-  { echo "$as_me:$LINENO: result: $HAVE_SMBCLIENT" >&5
20055
-echo "${ECHO_T}$HAVE_SMBCLIENT" >&6; }
20056
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SMBCLIENT" >&5
20057
+$as_echo "$HAVE_SMBCLIENT" >&6; }
20058
 else
20059
-  { echo "$as_me:$LINENO: result: no" >&5
20060
-echo "${ECHO_T}no" >&6; }
20061
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20062
+$as_echo "no" >&6; }
20063
 fi
20064
 
20065
 
20066
@@ -19411,18 +10005,19 @@ fi
20067
 
20068
 ALL_LINGUAS="be bg ca cs da de el es et fi fr gl hr hu id is it lt nl nb pl pt pt_BR ro ru sk sr sv tr uk"
20069
 
20070
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20071
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20072
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20073
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20074
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20075
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20076
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
20077
+set x ${MAKE-make}
20078
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20079
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
20080
+  $as_echo_n "(cached) " >&6
20081
 else
20082
   cat >conftest.make <<\_ACEOF
20083
 SHELL = /bin/sh
20084
 all:
20085
 	@echo '@@@%%%=$(MAKE)=@@@%%%'
20086
 _ACEOF
20087
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20088
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20089
 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20090
   *@@@%%%=?*=@@@%%%*)
20091
     eval ac_cv_prog_make_${ac_make}_set=yes;;
20092
@@ -19432,46 +10027,38 @@ esac
20093
 rm -f conftest.make
20094
 fi
20095
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20096
-  { echo "$as_me:$LINENO: result: yes" >&5
20097
-echo "${ECHO_T}yes" >&6; }
20098
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20099
+$as_echo "yes" >&6; }
20100
   SET_MAKE=
20101
 else
20102
-  { echo "$as_me:$LINENO: result: no" >&5
20103
-echo "${ECHO_T}no" >&6; }
20104
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20105
+$as_echo "no" >&6; }
20106
   SET_MAKE="MAKE=${MAKE-make}"
20107
 fi
20108
 
20109
 # Make sure we can run config.sub.
20110
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
20111
-  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
20112
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
20113
-   { (exit 1); exit 1; }; }
20114
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
20115
 
20116
-{ echo "$as_me:$LINENO: checking build system type" >&5
20117
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
20118
-if test "${ac_cv_build+set}" = set; then
20119
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20120
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
20121
+$as_echo_n "checking build system type... " >&6; }
20122
+if ${ac_cv_build+:} false; then :
20123
+  $as_echo_n "(cached) " >&6
20124
 else
20125
   ac_build_alias=$build_alias
20126
 test "x$ac_build_alias" = x &&
20127
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
20128
 test "x$ac_build_alias" = x &&
20129
-  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
20130
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
20131
-   { (exit 1); exit 1; }; }
20132
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
20133
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
20134
-  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
20135
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
20136
-   { (exit 1); exit 1; }; }
20137
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
20138
 
20139
 fi
20140
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
20141
-echo "${ECHO_T}$ac_cv_build" >&6; }
20142
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
20143
+$as_echo "$ac_cv_build" >&6; }
20144
 case $ac_cv_build in
20145
 *-*-*) ;;
20146
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
20147
-echo "$as_me: error: invalid value of canonical build" >&2;}
20148
-   { (exit 1); exit 1; }; };;
20149
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
20150
 esac
20151
 build=$ac_cv_build
20152
 ac_save_IFS=$IFS; IFS='-'
20153
@@ -19487,28 +10074,24 @@ IFS=$ac_save_IFS
20154
 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
20155
 
20156
 
20157
-{ echo "$as_me:$LINENO: checking host system type" >&5
20158
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
20159
-if test "${ac_cv_host+set}" = set; then
20160
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20161
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
20162
+$as_echo_n "checking host system type... " >&6; }
20163
+if ${ac_cv_host+:} false; then :
20164
+  $as_echo_n "(cached) " >&6
20165
 else
20166
   if test "x$host_alias" = x; then
20167
   ac_cv_host=$ac_cv_build
20168
 else
20169
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
20170
-    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
20171
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
20172
-   { (exit 1); exit 1; }; }
20173
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
20174
 fi
20175
 
20176
 fi
20177
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
20178
-echo "${ECHO_T}$ac_cv_host" >&6; }
20179
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
20180
+$as_echo "$ac_cv_host" >&6; }
20181
 case $ac_cv_host in
20182
 *-*-*) ;;
20183
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
20184
-echo "$as_me: error: invalid value of canonical host" >&2;}
20185
-   { (exit 1); exit 1; }; };;
20186
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
20187
 esac
20188
 host=$ac_cv_host
20189
 ac_save_IFS=$IFS; IFS='-'
20190
@@ -19525,18 +10108,14 @@ case $host_os in *\ *) host_os=`echo "$h
20191
 
20192
 
20193
 
20194
-        { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
20195
-echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
20196
-if test "${ac_cv_lib_cposix_strerror+set}" = set; then
20197
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20198
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
20199
+$as_echo_n "checking for strerror in -lcposix... " >&6; }
20200
+if ${ac_cv_lib_cposix_strerror+:} false; then :
20201
+  $as_echo_n "(cached) " >&6
20202
 else
20203
   ac_check_lib_save_LIBS=$LIBS
20204
 LIBS="-lcposix  $LIBS"
20205
-cat >conftest.$ac_ext <<_ACEOF
20206
-/* confdefs.h.  */
20207
-_ACEOF
20208
-cat confdefs.h >>conftest.$ac_ext
20209
-cat >>conftest.$ac_ext <<_ACEOF
20210
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20211
 /* end confdefs.h.  */
20212
 
20213
 /* Override any GCC internal prototype to avoid an error.
20214
@@ -19554,39 +10133,18 @@ return strerror ();
20215
   return 0;
20216
 }
20217
 _ACEOF
20218
-rm -f conftest.$ac_objext conftest$ac_exeext
20219
-if { (ac_try="$ac_link"
20220
-case "(($ac_try" in
20221
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222
-  *) ac_try_echo=$ac_try;;
20223
-esac
20224
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20225
-  (eval "$ac_link") 2>conftest.er1
20226
-  ac_status=$?
20227
-  grep -v '^ *+' conftest.er1 >conftest.err
20228
-  rm -f conftest.er1
20229
-  cat conftest.err >&5
20230
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231
-  (exit $ac_status); } && {
20232
-	 test -z "$ac_c_werror_flag" ||
20233
-	 test ! -s conftest.err
20234
-       } && test -s conftest$ac_exeext &&
20235
-       $as_test_x conftest$ac_exeext; then
20236
+if ac_fn_c_try_link "$LINENO"; then :
20237
   ac_cv_lib_cposix_strerror=yes
20238
 else
20239
-  echo "$as_me: failed program was:" >&5
20240
-sed 's/^/| /' conftest.$ac_ext >&5
20241
-
20242
-	ac_cv_lib_cposix_strerror=no
20243
+  ac_cv_lib_cposix_strerror=no
20244
 fi
20245
-
20246
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20247
-      conftest$ac_exeext conftest.$ac_ext
20248
+rm -f core conftest.err conftest.$ac_objext \
20249
+    conftest$ac_exeext conftest.$ac_ext
20250
 LIBS=$ac_check_lib_save_LIBS
20251
 fi
20252
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
20253
-echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
20254
-if test $ac_cv_lib_cposix_strerror = yes; then
20255
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
20256
+$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
20257
+if test "x$ac_cv_lib_cposix_strerror" = xyes; then :
20258
   LIBS="$LIBS -lcposix"
20259
 fi
20260
 
20261
@@ -19594,16 +10152,12 @@ fi
20262
 
20263
 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20264
 # for constant arguments.  Useless!
20265
-{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
20266
-echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
20267
-if test "${ac_cv_working_alloca_h+set}" = set; then
20268
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20269
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20270
+$as_echo_n "checking for working alloca.h... " >&6; }
20271
+if ${ac_cv_working_alloca_h+:} false; then :
20272
+  $as_echo_n "(cached) " >&6
20273
 else
20274
-  cat >conftest.$ac_ext <<_ACEOF
20275
-/* confdefs.h.  */
20276
-_ACEOF
20277
-cat confdefs.h >>conftest.$ac_ext
20278
-cat >>conftest.$ac_ext <<_ACEOF
20279
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280
 /* end confdefs.h.  */
20281
 #include <alloca.h>
20282
 int
20283
@@ -19615,55 +10169,28 @@ char *p = (char *) alloca (2 * sizeof (i
20284
   return 0;
20285
 }
20286
 _ACEOF
20287
-rm -f conftest.$ac_objext conftest$ac_exeext
20288
-if { (ac_try="$ac_link"
20289
-case "(($ac_try" in
20290
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291
-  *) ac_try_echo=$ac_try;;
20292
-esac
20293
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294
-  (eval "$ac_link") 2>conftest.er1
20295
-  ac_status=$?
20296
-  grep -v '^ *+' conftest.er1 >conftest.err
20297
-  rm -f conftest.er1
20298
-  cat conftest.err >&5
20299
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300
-  (exit $ac_status); } && {
20301
-	 test -z "$ac_c_werror_flag" ||
20302
-	 test ! -s conftest.err
20303
-       } && test -s conftest$ac_exeext &&
20304
-       $as_test_x conftest$ac_exeext; then
20305
+if ac_fn_c_try_link "$LINENO"; then :
20306
   ac_cv_working_alloca_h=yes
20307
 else
20308
-  echo "$as_me: failed program was:" >&5
20309
-sed 's/^/| /' conftest.$ac_ext >&5
20310
-
20311
-	ac_cv_working_alloca_h=no
20312
+  ac_cv_working_alloca_h=no
20313
 fi
20314
-
20315
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20316
-      conftest$ac_exeext conftest.$ac_ext
20317
+rm -f core conftest.err conftest.$ac_objext \
20318
+    conftest$ac_exeext conftest.$ac_ext
20319
 fi
20320
-{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20321
-echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
20322
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20323
+$as_echo "$ac_cv_working_alloca_h" >&6; }
20324
 if test $ac_cv_working_alloca_h = yes; then
20325
 
20326
-cat >>confdefs.h <<\_ACEOF
20327
-#define HAVE_ALLOCA_H 1
20328
-_ACEOF
20329
+$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20330
 
20331
 fi
20332
 
20333
-{ echo "$as_me:$LINENO: checking for alloca" >&5
20334
-echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
20335
-if test "${ac_cv_func_alloca_works+set}" = set; then
20336
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20337
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20338
+$as_echo_n "checking for alloca... " >&6; }
20339
+if ${ac_cv_func_alloca_works+:} false; then :
20340
+  $as_echo_n "(cached) " >&6
20341
 else
20342
-  cat >conftest.$ac_ext <<_ACEOF
20343
-/* confdefs.h.  */
20344
-_ACEOF
20345
-cat confdefs.h >>conftest.$ac_ext
20346
-cat >>conftest.$ac_ext <<_ACEOF
20347
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348
 /* end confdefs.h.  */
20349
 #ifdef __GNUC__
20350
 # define alloca __builtin_alloca
20351
@@ -19679,7 +10206,7 @@ cat >>conftest.$ac_ext <<_ACEOF
20352
  #pragma alloca
20353
 #   else
20354
 #    ifndef alloca /* predefined by HP cc +Olibcalls */
20355
-char *alloca ();
20356
+void *alloca (size_t);
20357
 #    endif
20358
 #   endif
20359
 #  endif
20360
@@ -19695,43 +10222,20 @@ char *p = (char *) alloca (1);
20361
   return 0;
20362
 }
20363
 _ACEOF
20364
-rm -f conftest.$ac_objext conftest$ac_exeext
20365
-if { (ac_try="$ac_link"
20366
-case "(($ac_try" in
20367
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368
-  *) ac_try_echo=$ac_try;;
20369
-esac
20370
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371
-  (eval "$ac_link") 2>conftest.er1
20372
-  ac_status=$?
20373
-  grep -v '^ *+' conftest.er1 >conftest.err
20374
-  rm -f conftest.er1
20375
-  cat conftest.err >&5
20376
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377
-  (exit $ac_status); } && {
20378
-	 test -z "$ac_c_werror_flag" ||
20379
-	 test ! -s conftest.err
20380
-       } && test -s conftest$ac_exeext &&
20381
-       $as_test_x conftest$ac_exeext; then
20382
+if ac_fn_c_try_link "$LINENO"; then :
20383
   ac_cv_func_alloca_works=yes
20384
 else
20385
-  echo "$as_me: failed program was:" >&5
20386
-sed 's/^/| /' conftest.$ac_ext >&5
20387
-
20388
-	ac_cv_func_alloca_works=no
20389
+  ac_cv_func_alloca_works=no
20390
 fi
20391
-
20392
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20393
-      conftest$ac_exeext conftest.$ac_ext
20394
+rm -f core conftest.err conftest.$ac_objext \
20395
+    conftest$ac_exeext conftest.$ac_ext
20396
 fi
20397
-{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20398
-echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
20399
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20400
+$as_echo "$ac_cv_func_alloca_works" >&6; }
20401
 
20402
 if test $ac_cv_func_alloca_works = yes; then
20403
 
20404
-cat >>confdefs.h <<\_ACEOF
20405
-#define HAVE_ALLOCA 1
20406
-_ACEOF
20407
+$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20408
 
20409
 else
20410
   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20411
@@ -19741,21 +10245,15 @@ else
20412
 
20413
 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20414
 
20415
-cat >>confdefs.h <<\_ACEOF
20416
-#define C_ALLOCA 1
20417
-_ACEOF
20418
+$as_echo "#define C_ALLOCA 1" >>confdefs.h
20419
 
20420
 
20421
-{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20422
-echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
20423
-if test "${ac_cv_os_cray+set}" = set; then
20424
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20425
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20426
+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20427
+if ${ac_cv_os_cray+:} false; then :
20428
+  $as_echo_n "(cached) " >&6
20429
 else
20430
-  cat >conftest.$ac_ext <<_ACEOF
20431
-/* confdefs.h.  */
20432
-_ACEOF
20433
-cat confdefs.h >>conftest.$ac_ext
20434
-cat >>conftest.$ac_ext <<_ACEOF
20435
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436
 /* end confdefs.h.  */
20437
 #if defined CRAY && ! defined CRAY2
20438
 webecray
20439
@@ -19765,7 +10263,7 @@ wenotbecray
20440
 
20441
 _ACEOF
20442
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20443
-  $EGREP "webecray" >/dev/null 2>&1; then
20444
+  $EGREP "webecray" >/dev/null 2>&1; then :
20445
   ac_cv_os_cray=yes
20446
 else
20447
   ac_cv_os_cray=no
20448
@@ -19773,94 +10271,13 @@ fi
20449
 rm -f conftest*
20450
 
20451
 fi
20452
-{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20453
-echo "${ECHO_T}$ac_cv_os_cray" >&6; }
20454
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20455
+$as_echo "$ac_cv_os_cray" >&6; }
20456
 if test $ac_cv_os_cray = yes; then
20457
   for ac_func in _getb67 GETB67 getb67; do
20458
-    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20459
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20460
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20461
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20462
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20463
-else
20464
-  cat >conftest.$ac_ext <<_ACEOF
20465
-/* confdefs.h.  */
20466
-_ACEOF
20467
-cat confdefs.h >>conftest.$ac_ext
20468
-cat >>conftest.$ac_ext <<_ACEOF
20469
-/* end confdefs.h.  */
20470
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20471
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20472
-#define $ac_func innocuous_$ac_func
20473
-
20474
-/* System header to define __stub macros and hopefully few prototypes,
20475
-    which can conflict with char $ac_func (); below.
20476
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20477
-    <limits.h> exists even on freestanding compilers.  */
20478
-
20479
-#ifdef __STDC__
20480
-# include <limits.h>
20481
-#else
20482
-# include <assert.h>
20483
-#endif
20484
-
20485
-#undef $ac_func
20486
-
20487
-/* Override any GCC internal prototype to avoid an error.
20488
-   Use char because int might match the return type of a GCC
20489
-   builtin and then its argument prototype would still apply.  */
20490
-#ifdef __cplusplus
20491
-extern "C"
20492
-#endif
20493
-char $ac_func ();
20494
-/* The GNU C library defines this for functions which it implements
20495
-    to always fail with ENOSYS.  Some functions are actually named
20496
-    something starting with __ and the normal name is an alias.  */
20497
-#if defined __stub_$ac_func || defined __stub___$ac_func
20498
-choke me
20499
-#endif
20500
-
20501
-int
20502
-main ()
20503
-{
20504
-return $ac_func ();
20505
-  ;
20506
-  return 0;
20507
-}
20508
-_ACEOF
20509
-rm -f conftest.$ac_objext conftest$ac_exeext
20510
-if { (ac_try="$ac_link"
20511
-case "(($ac_try" in
20512
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513
-  *) ac_try_echo=$ac_try;;
20514
-esac
20515
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516
-  (eval "$ac_link") 2>conftest.er1
20517
-  ac_status=$?
20518
-  grep -v '^ *+' conftest.er1 >conftest.err
20519
-  rm -f conftest.er1
20520
-  cat conftest.err >&5
20521
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522
-  (exit $ac_status); } && {
20523
-	 test -z "$ac_c_werror_flag" ||
20524
-	 test ! -s conftest.err
20525
-       } && test -s conftest$ac_exeext &&
20526
-       $as_test_x conftest$ac_exeext; then
20527
-  eval "$as_ac_var=yes"
20528
-else
20529
-  echo "$as_me: failed program was:" >&5
20530
-sed 's/^/| /' conftest.$ac_ext >&5
20531
-
20532
-	eval "$as_ac_var=no"
20533
-fi
20534
-
20535
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20536
-      conftest$ac_exeext conftest.$ac_ext
20537
-fi
20538
-ac_res=`eval echo '${'$as_ac_var'}'`
20539
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20540
-echo "${ECHO_T}$ac_res" >&6; }
20541
-if test `eval echo '${'$as_ac_var'}'` = yes; then
20542
+    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20543
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20544
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20545
 
20546
 cat >>confdefs.h <<_ACEOF
20547
 #define CRAY_STACKSEG_END $ac_func
20548
@@ -19872,78 +10289,46 @@ fi
20549
   done
20550
 fi
20551
 
20552
-{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
20553
-echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
20554
-if test "${ac_cv_c_stack_direction+set}" = set; then
20555
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20556
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20557
+$as_echo_n "checking stack direction for C alloca... " >&6; }
20558
+if ${ac_cv_c_stack_direction+:} false; then :
20559
+  $as_echo_n "(cached) " >&6
20560
 else
20561
-  if test "$cross_compiling" = yes; then
20562
+  if test "$cross_compiling" = yes; then :
20563
   ac_cv_c_stack_direction=0
20564
 else
20565
-  cat >conftest.$ac_ext <<_ACEOF
20566
-/* confdefs.h.  */
20567
-_ACEOF
20568
-cat confdefs.h >>conftest.$ac_ext
20569
-cat >>conftest.$ac_ext <<_ACEOF
20570
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20571
 /* end confdefs.h.  */
20572
 $ac_includes_default
20573
 int
20574
-find_stack_direction ()
20575
+find_stack_direction (int *addr, int depth)
20576
 {
20577
-  static char *addr = 0;
20578
-  auto char dummy;
20579
-  if (addr == 0)
20580
-    {
20581
-      addr = &dummy;
20582
-      return find_stack_direction ();
20583
-    }
20584
-  else
20585
-    return (&dummy > addr) ? 1 : -1;
20586
+  int dir, dummy = 0;
20587
+  if (! addr)
20588
+    addr = &dummy;
20589
+  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
20590
+  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
20591
+  return dir + dummy;
20592
 }
20593
 
20594
 int
20595
-main ()
20596
+main (int argc, char **argv)
20597
 {
20598
-  return find_stack_direction () < 0;
20599
+  return find_stack_direction (0, argc + !argv + 20) < 0;
20600
 }
20601
 _ACEOF
20602
-rm -f conftest$ac_exeext
20603
-if { (ac_try="$ac_link"
20604
-case "(($ac_try" in
20605
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606
-  *) ac_try_echo=$ac_try;;
20607
-esac
20608
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609
-  (eval "$ac_link") 2>&5
20610
-  ac_status=$?
20611
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20613
-  { (case "(($ac_try" in
20614
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615
-  *) ac_try_echo=$ac_try;;
20616
-esac
20617
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618
-  (eval "$ac_try") 2>&5
20619
-  ac_status=$?
20620
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621
-  (exit $ac_status); }; }; then
20622
+if ac_fn_c_try_run "$LINENO"; then :
20623
   ac_cv_c_stack_direction=1
20624
 else
20625
-  echo "$as_me: program exited with status $ac_status" >&5
20626
-echo "$as_me: failed program was:" >&5
20627
-sed 's/^/| /' conftest.$ac_ext >&5
20628
-
20629
-( exit $ac_status )
20630
-ac_cv_c_stack_direction=-1
20631
+  ac_cv_c_stack_direction=-1
20632
 fi
20633
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20634
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20635
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
20636
 fi
20637
 
20638
-
20639
 fi
20640
-{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
20641
-echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
20642
-
20643
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20644
+$as_echo "$ac_cv_c_stack_direction" >&6; }
20645
 cat >>confdefs.h <<_ACEOF
20646
 #define STACK_DIRECTION $ac_cv_c_stack_direction
20647
 _ACEOF
20648
@@ -19952,16 +10337,12 @@ _ACEOF
20649
 fi
20650
 
20651
 
20652
-    { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
20653
-echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
20654
-if test "${ac_cv_gnu_library_2_1+set}" = set; then
20655
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20656
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
20657
+$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
20658
+if ${ac_cv_gnu_library_2_1+:} false; then :
20659
+  $as_echo_n "(cached) " >&6
20660
 else
20661
-  cat >conftest.$ac_ext <<_ACEOF
20662
-/* confdefs.h.  */
20663
-_ACEOF
20664
-cat confdefs.h >>conftest.$ac_ext
20665
-cat >>conftest.$ac_ext <<_ACEOF
20666
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20667
 /* end confdefs.h.  */
20668
 
20669
 #include <features.h>
20670
@@ -19973,7 +10354,7 @@ cat >>conftest.$ac_ext <<_ACEOF
20671
 
20672
 _ACEOF
20673
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20674
-  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
20675
+  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
20676
   ac_cv_gnu_library_2_1=yes
20677
 else
20678
   ac_cv_gnu_library_2_1=no
20679
@@ -19983,274 +10364,36 @@ rm -f conftest*
20680
 
20681
 
20682
 fi
20683
-{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
20684
-echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
20685
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
20686
+$as_echo "$ac_cv_gnu_library_2_1" >&6; }
20687
 
20688
     GLIBC21="$ac_cv_gnu_library_2_1"
20689
 
20690
 
20691
 
20692
-
20693
-
20694
-
20695
-
20696
-
20697
-
20698
-
20699
-
20700
-
20701
-
20702
-for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
20703
+   for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
20704
 stdlib.h string.h unistd.h sys/param.h
20705
-do
20706
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20707
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20708
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20709
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20710
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20711
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20712
-fi
20713
-ac_res=`eval echo '${'$as_ac_Header'}'`
20714
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20715
-echo "${ECHO_T}$ac_res" >&6; }
20716
-else
20717
-  # Is the header compilable?
20718
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20719
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20720
-cat >conftest.$ac_ext <<_ACEOF
20721
-/* confdefs.h.  */
20722
-_ACEOF
20723
-cat confdefs.h >>conftest.$ac_ext
20724
-cat >>conftest.$ac_ext <<_ACEOF
20725
-/* end confdefs.h.  */
20726
-$ac_includes_default
20727
-#include <$ac_header>
20728
-_ACEOF
20729
-rm -f conftest.$ac_objext
20730
-if { (ac_try="$ac_compile"
20731
-case "(($ac_try" in
20732
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20733
-  *) ac_try_echo=$ac_try;;
20734
-esac
20735
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20736
-  (eval "$ac_compile") 2>conftest.er1
20737
-  ac_status=$?
20738
-  grep -v '^ *+' conftest.er1 >conftest.err
20739
-  rm -f conftest.er1
20740
-  cat conftest.err >&5
20741
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742
-  (exit $ac_status); } && {
20743
-	 test -z "$ac_c_werror_flag" ||
20744
-	 test ! -s conftest.err
20745
-       } && test -s conftest.$ac_objext; then
20746
-  ac_header_compiler=yes
20747
-else
20748
-  echo "$as_me: failed program was:" >&5
20749
-sed 's/^/| /' conftest.$ac_ext >&5
20750
-
20751
-	ac_header_compiler=no
20752
-fi
20753
-
20754
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20755
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20756
-echo "${ECHO_T}$ac_header_compiler" >&6; }
20757
-
20758
-# Is the header present?
20759
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20760
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20761
-cat >conftest.$ac_ext <<_ACEOF
20762
-/* confdefs.h.  */
20763
-_ACEOF
20764
-cat confdefs.h >>conftest.$ac_ext
20765
-cat >>conftest.$ac_ext <<_ACEOF
20766
-/* end confdefs.h.  */
20767
-#include <$ac_header>
20768
-_ACEOF
20769
-if { (ac_try="$ac_cpp conftest.$ac_ext"
20770
-case "(($ac_try" in
20771
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20772
-  *) ac_try_echo=$ac_try;;
20773
-esac
20774
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20776
-  ac_status=$?
20777
-  grep -v '^ *+' conftest.er1 >conftest.err
20778
-  rm -f conftest.er1
20779
-  cat conftest.err >&5
20780
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781
-  (exit $ac_status); } >/dev/null && {
20782
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20783
-	 test ! -s conftest.err
20784
-       }; then
20785
-  ac_header_preproc=yes
20786
-else
20787
-  echo "$as_me: failed program was:" >&5
20788
-sed 's/^/| /' conftest.$ac_ext >&5
20789
-
20790
-  ac_header_preproc=no
20791
-fi
20792
-
20793
-rm -f conftest.err conftest.$ac_ext
20794
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20795
-echo "${ECHO_T}$ac_header_preproc" >&6; }
20796
-
20797
-# So?  What about this header?
20798
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20799
-  yes:no: )
20800
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20801
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20802
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20803
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20804
-    ac_header_preproc=yes
20805
-    ;;
20806
-  no:yes:* )
20807
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20808
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20809
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20810
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20811
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20812
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20813
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20814
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20815
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20816
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20817
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20818
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20819
-
20820
-    ;;
20821
-esac
20822
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20823
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20824
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20825
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20826
-else
20827
-  eval "$as_ac_Header=\$ac_header_preproc"
20828
-fi
20829
-ac_res=`eval echo '${'$as_ac_Header'}'`
20830
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20831
-echo "${ECHO_T}$ac_res" >&6; }
20832
-
20833
-fi
20834
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
20835
+do :
20836
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20837
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20838
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20839
   cat >>confdefs.h <<_ACEOF
20840
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20841
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20842
 _ACEOF
20843
 
20844
 fi
20845
 
20846
 done
20847
 
20848
-
20849
-
20850
-
20851
-
20852
-
20853
-
20854
-
20855
-
20856
-
20857
-
20858
-
20859
-
20860
-
20861
-
20862
-
20863
-
20864
-
20865
-
20866
-
20867
-
20868
-
20869
-for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
20870
+   for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
20871
 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
20872
 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
20873
-do
20874
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20875
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20876
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20877
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20878
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20879
-else
20880
-  cat >conftest.$ac_ext <<_ACEOF
20881
-/* confdefs.h.  */
20882
-_ACEOF
20883
-cat confdefs.h >>conftest.$ac_ext
20884
-cat >>conftest.$ac_ext <<_ACEOF
20885
-/* end confdefs.h.  */
20886
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20887
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20888
-#define $ac_func innocuous_$ac_func
20889
-
20890
-/* System header to define __stub macros and hopefully few prototypes,
20891
-    which can conflict with char $ac_func (); below.
20892
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20893
-    <limits.h> exists even on freestanding compilers.  */
20894
-
20895
-#ifdef __STDC__
20896
-# include <limits.h>
20897
-#else
20898
-# include <assert.h>
20899
-#endif
20900
-
20901
-#undef $ac_func
20902
-
20903
-/* Override any GCC internal prototype to avoid an error.
20904
-   Use char because int might match the return type of a GCC
20905
-   builtin and then its argument prototype would still apply.  */
20906
-#ifdef __cplusplus
20907
-extern "C"
20908
-#endif
20909
-char $ac_func ();
20910
-/* The GNU C library defines this for functions which it implements
20911
-    to always fail with ENOSYS.  Some functions are actually named
20912
-    something starting with __ and the normal name is an alias.  */
20913
-#if defined __stub_$ac_func || defined __stub___$ac_func
20914
-choke me
20915
-#endif
20916
-
20917
-int
20918
-main ()
20919
-{
20920
-return $ac_func ();
20921
-  ;
20922
-  return 0;
20923
-}
20924
-_ACEOF
20925
-rm -f conftest.$ac_objext conftest$ac_exeext
20926
-if { (ac_try="$ac_link"
20927
-case "(($ac_try" in
20928
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929
-  *) ac_try_echo=$ac_try;;
20930
-esac
20931
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932
-  (eval "$ac_link") 2>conftest.er1
20933
-  ac_status=$?
20934
-  grep -v '^ *+' conftest.er1 >conftest.err
20935
-  rm -f conftest.er1
20936
-  cat conftest.err >&5
20937
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938
-  (exit $ac_status); } && {
20939
-	 test -z "$ac_c_werror_flag" ||
20940
-	 test ! -s conftest.err
20941
-       } && test -s conftest$ac_exeext &&
20942
-       $as_test_x conftest$ac_exeext; then
20943
-  eval "$as_ac_var=yes"
20944
-else
20945
-  echo "$as_me: failed program was:" >&5
20946
-sed 's/^/| /' conftest.$ac_ext >&5
20947
-
20948
-	eval "$as_ac_var=no"
20949
-fi
20950
-
20951
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20952
-      conftest$ac_exeext conftest.$ac_ext
20953
-fi
20954
-ac_res=`eval echo '${'$as_ac_var'}'`
20955
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20956
-echo "${ECHO_T}$ac_res" >&6; }
20957
-if test `eval echo '${'$as_ac_var'}'` = yes; then
20958
+do :
20959
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20960
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20961
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20962
   cat >>confdefs.h <<_ACEOF
20963
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20964
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20965
 _ACEOF
20966
 
20967
 fi
20968
@@ -20261,7 +10404,7 @@ done
20969
 
20970
 
20971
 # Check whether --with-libiconv was given.
20972
-if test "${with_libiconv+set}" = set; then
20973
+if test "${with_libiconv+set}" = set; then :
20974
   withval=$with_libiconv;
20975
     for dir in `echo "$withval" | tr : ' '`; do
20976
       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
20977
@@ -20271,19 +10414,15 @@ if test "${with_libiconv+set}" = set; th
20978
 fi
20979
 
20980
 
20981
-  { echo "$as_me:$LINENO: checking for iconv" >&5
20982
-echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
20983
-if test "${am_cv_func_iconv+set}" = set; then
20984
-  echo $ECHO_N "(cached) $ECHO_C" >&6
20985
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20986
+$as_echo_n "checking for iconv... " >&6; }
20987
+if ${am_cv_func_iconv+:} false; then :
20988
+  $as_echo_n "(cached) " >&6
20989
 else
20990
 
20991
     am_cv_func_iconv="no, consider installing GNU libiconv"
20992
     am_cv_lib_iconv=no
20993
-    cat >conftest.$ac_ext <<_ACEOF
20994
-/* confdefs.h.  */
20995
-_ACEOF
20996
-cat confdefs.h >>conftest.$ac_ext
20997
-cat >>conftest.$ac_ext <<_ACEOF
20998
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20999
 /* end confdefs.h.  */
21000
 #include <stdlib.h>
21001
 #include <iconv.h>
21002
@@ -20297,42 +10436,15 @@ iconv_t cd = iconv_open("","");
21003
   return 0;
21004
 }
21005
 _ACEOF
21006
-rm -f conftest.$ac_objext conftest$ac_exeext
21007
-if { (ac_try="$ac_link"
21008
-case "(($ac_try" in
21009
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010
-  *) ac_try_echo=$ac_try;;
21011
-esac
21012
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013
-  (eval "$ac_link") 2>conftest.er1
21014
-  ac_status=$?
21015
-  grep -v '^ *+' conftest.er1 >conftest.err
21016
-  rm -f conftest.er1
21017
-  cat conftest.err >&5
21018
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019
-  (exit $ac_status); } && {
21020
-	 test -z "$ac_c_werror_flag" ||
21021
-	 test ! -s conftest.err
21022
-       } && test -s conftest$ac_exeext &&
21023
-       $as_test_x conftest$ac_exeext; then
21024
+if ac_fn_c_try_link "$LINENO"; then :
21025
   am_cv_func_iconv=yes
21026
-else
21027
-  echo "$as_me: failed program was:" >&5
21028
-sed 's/^/| /' conftest.$ac_ext >&5
21029
-
21030
-
21031
 fi
21032
-
21033
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21034
-      conftest$ac_exeext conftest.$ac_ext
21035
+rm -f core conftest.err conftest.$ac_objext \
21036
+    conftest$ac_exeext conftest.$ac_ext
21037
     if test "$am_cv_func_iconv" != yes; then
21038
       am_save_LIBS="$LIBS"
21039
       LIBS="$LIBS -liconv"
21040
-      cat >conftest.$ac_ext <<_ACEOF
21041
-/* confdefs.h.  */
21042
-_ACEOF
21043
-cat confdefs.h >>conftest.$ac_ext
21044
-cat >>conftest.$ac_ext <<_ACEOF
21045
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046
 /* end confdefs.h.  */
21047
 #include <stdlib.h>
21048
 #include <iconv.h>
21049
@@ -20346,58 +10458,29 @@ iconv_t cd = iconv_open("","");
21050
   return 0;
21051
 }
21052
 _ACEOF
21053
-rm -f conftest.$ac_objext conftest$ac_exeext
21054
-if { (ac_try="$ac_link"
21055
-case "(($ac_try" in
21056
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057
-  *) ac_try_echo=$ac_try;;
21058
-esac
21059
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060
-  (eval "$ac_link") 2>conftest.er1
21061
-  ac_status=$?
21062
-  grep -v '^ *+' conftest.er1 >conftest.err
21063
-  rm -f conftest.er1
21064
-  cat conftest.err >&5
21065
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066
-  (exit $ac_status); } && {
21067
-	 test -z "$ac_c_werror_flag" ||
21068
-	 test ! -s conftest.err
21069
-       } && test -s conftest$ac_exeext &&
21070
-       $as_test_x conftest$ac_exeext; then
21071
+if ac_fn_c_try_link "$LINENO"; then :
21072
   am_cv_lib_iconv=yes
21073
         am_cv_func_iconv=yes
21074
-else
21075
-  echo "$as_me: failed program was:" >&5
21076
-sed 's/^/| /' conftest.$ac_ext >&5
21077
-
21078
-
21079
 fi
21080
-
21081
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21082
-      conftest$ac_exeext conftest.$ac_ext
21083
+rm -f core conftest.err conftest.$ac_objext \
21084
+    conftest$ac_exeext conftest.$ac_ext
21085
       LIBS="$am_save_LIBS"
21086
     fi
21087
 
21088
 fi
21089
-{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
21090
-echo "${ECHO_T}$am_cv_func_iconv" >&6; }
21091
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21092
+$as_echo "$am_cv_func_iconv" >&6; }
21093
   if test "$am_cv_func_iconv" = yes; then
21094
 
21095
-cat >>confdefs.h <<\_ACEOF
21096
-#define HAVE_ICONV 1
21097
-_ACEOF
21098
+$as_echo "#define HAVE_ICONV 1" >>confdefs.h
21099
 
21100
-    { echo "$as_me:$LINENO: checking for iconv declaration" >&5
21101
-echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
21102
-    if test "${am_cv_proto_iconv+set}" = set; then
21103
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21104
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21105
+$as_echo_n "checking for iconv declaration... " >&6; }
21106
+    if ${am_cv_proto_iconv+:} false; then :
21107
+  $as_echo_n "(cached) " >&6
21108
 else
21109
 
21110
-      cat >conftest.$ac_ext <<_ACEOF
21111
-/* confdefs.h.  */
21112
-_ACEOF
21113
-cat confdefs.h >>conftest.$ac_ext
21114
-cat >>conftest.$ac_ext <<_ACEOF
21115
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116
 /* end confdefs.h.  */
21117
 
21118
 #include <stdlib.h>
21119
@@ -20420,39 +10503,19 @@ main ()
21120
   return 0;
21121
 }
21122
 _ACEOF
21123
-rm -f conftest.$ac_objext
21124
-if { (ac_try="$ac_compile"
21125
-case "(($ac_try" in
21126
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21127
-  *) ac_try_echo=$ac_try;;
21128
-esac
21129
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21130
-  (eval "$ac_compile") 2>conftest.er1
21131
-  ac_status=$?
21132
-  grep -v '^ *+' conftest.er1 >conftest.err
21133
-  rm -f conftest.er1
21134
-  cat conftest.err >&5
21135
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136
-  (exit $ac_status); } && {
21137
-	 test -z "$ac_c_werror_flag" ||
21138
-	 test ! -s conftest.err
21139
-       } && test -s conftest.$ac_objext; then
21140
+if ac_fn_c_try_compile "$LINENO"; then :
21141
   am_cv_proto_iconv_arg1=""
21142
 else
21143
-  echo "$as_me: failed program was:" >&5
21144
-sed 's/^/| /' conftest.$ac_ext >&5
21145
-
21146
-	am_cv_proto_iconv_arg1="const"
21147
+  am_cv_proto_iconv_arg1="const"
21148
 fi
21149
-
21150
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21151
       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);"
21152
 fi
21153
 
21154
     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21155
-    { echo "$as_me:$LINENO: result: ${ac_t:-
21156
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21157
          }$am_cv_proto_iconv" >&5
21158
-echo "${ECHO_T}${ac_t:-
21159
+$as_echo "${ac_t:-
21160
          }$am_cv_proto_iconv" >&6; }
21161
 
21162
 cat >>confdefs.h <<_ACEOF
21163
@@ -20466,16 +10529,12 @@ _ACEOF
21164
   fi
21165
 
21166
 
21167
-  { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21168
-echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
21169
-if test "${am_cv_langinfo_codeset+set}" = set; then
21170
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21171
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
21172
+$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
21173
+if ${am_cv_langinfo_codeset+:} false; then :
21174
+  $as_echo_n "(cached) " >&6
21175
 else
21176
-  cat >conftest.$ac_ext <<_ACEOF
21177
-/* confdefs.h.  */
21178
-_ACEOF
21179
-cat confdefs.h >>conftest.$ac_ext
21180
-cat >>conftest.$ac_ext <<_ACEOF
21181
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182
 /* end confdefs.h.  */
21183
 #include <langinfo.h>
21184
 int
21185
@@ -20486,57 +10545,30 @@ char* cs = nl_langinfo(CODESET);
21186
   return 0;
21187
 }
21188
 _ACEOF
21189
-rm -f conftest.$ac_objext conftest$ac_exeext
21190
-if { (ac_try="$ac_link"
21191
-case "(($ac_try" in
21192
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193
-  *) ac_try_echo=$ac_try;;
21194
-esac
21195
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196
-  (eval "$ac_link") 2>conftest.er1
21197
-  ac_status=$?
21198
-  grep -v '^ *+' conftest.er1 >conftest.err
21199
-  rm -f conftest.er1
21200
-  cat conftest.err >&5
21201
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202
-  (exit $ac_status); } && {
21203
-	 test -z "$ac_c_werror_flag" ||
21204
-	 test ! -s conftest.err
21205
-       } && test -s conftest$ac_exeext &&
21206
-       $as_test_x conftest$ac_exeext; then
21207
+if ac_fn_c_try_link "$LINENO"; then :
21208
   am_cv_langinfo_codeset=yes
21209
 else
21210
-  echo "$as_me: failed program was:" >&5
21211
-sed 's/^/| /' conftest.$ac_ext >&5
21212
-
21213
-	am_cv_langinfo_codeset=no
21214
+  am_cv_langinfo_codeset=no
21215
 fi
21216
-
21217
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21218
-      conftest$ac_exeext conftest.$ac_ext
21219
+rm -f core conftest.err conftest.$ac_objext \
21220
+    conftest$ac_exeext conftest.$ac_ext
21221
 
21222
 fi
21223
-{ echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
21224
-echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
21225
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
21226
+$as_echo "$am_cv_langinfo_codeset" >&6; }
21227
   if test $am_cv_langinfo_codeset = yes; then
21228
 
21229
-cat >>confdefs.h <<\_ACEOF
21230
-#define HAVE_LANGINFO_CODESET 1
21231
-_ACEOF
21232
+$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
21233
 
21234
   fi
21235
 
21236
    if test $ac_cv_header_locale_h = yes; then
21237
-    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21238
-echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21239
-if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21240
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21241
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21242
+$as_echo_n "checking for LC_MESSAGES... " >&6; }
21243
+if ${am_cv_val_LC_MESSAGES+:} false; then :
21244
+  $as_echo_n "(cached) " >&6
21245
 else
21246
-  cat >conftest.$ac_ext <<_ACEOF
21247
-/* confdefs.h.  */
21248
-_ACEOF
21249
-cat confdefs.h >>conftest.$ac_ext
21250
-cat >>conftest.$ac_ext <<_ACEOF
21251
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21252
 /* end confdefs.h.  */
21253
 #include <locale.h>
21254
 int
21255
@@ -20547,51 +10579,28 @@ return LC_MESSAGES
21256
   return 0;
21257
 }
21258
 _ACEOF
21259
-rm -f conftest.$ac_objext conftest$ac_exeext
21260
-if { (ac_try="$ac_link"
21261
-case "(($ac_try" in
21262
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21263
-  *) ac_try_echo=$ac_try;;
21264
-esac
21265
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21266
-  (eval "$ac_link") 2>conftest.er1
21267
-  ac_status=$?
21268
-  grep -v '^ *+' conftest.er1 >conftest.err
21269
-  rm -f conftest.er1
21270
-  cat conftest.err >&5
21271
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272
-  (exit $ac_status); } && {
21273
-	 test -z "$ac_c_werror_flag" ||
21274
-	 test ! -s conftest.err
21275
-       } && test -s conftest$ac_exeext &&
21276
-       $as_test_x conftest$ac_exeext; then
21277
+if ac_fn_c_try_link "$LINENO"; then :
21278
   am_cv_val_LC_MESSAGES=yes
21279
 else
21280
-  echo "$as_me: failed program was:" >&5
21281
-sed 's/^/| /' conftest.$ac_ext >&5
21282
-
21283
-	am_cv_val_LC_MESSAGES=no
21284
+  am_cv_val_LC_MESSAGES=no
21285
 fi
21286
-
21287
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21288
-      conftest$ac_exeext conftest.$ac_ext
21289
+rm -f core conftest.err conftest.$ac_objext \
21290
+    conftest$ac_exeext conftest.$ac_ext
21291
 fi
21292
-{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21293
-echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21294
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21295
+$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21296
     if test $am_cv_val_LC_MESSAGES = yes; then
21297
 
21298
-cat >>confdefs.h <<\_ACEOF
21299
-#define HAVE_LC_MESSAGES 1
21300
-_ACEOF
21301
+$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21302
 
21303
     fi
21304
   fi
21305
-   { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
21306
-echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
21307
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
21308
+$as_echo_n "checking whether NLS is requested... " >&6; }
21309
         CONFIG_NLS=yes
21310
 
21311
 	# Check whether --enable-nls was given.
21312
-if test "${enable_nls+set}" = set; then
21313
+if test "${enable_nls+set}" = set; then :
21314
   enableval=$enable_nls;
21315
 		if test "$enableval" != no; then enableval="yes"; fi
21316
 		CONFIG_NLS="$enableval";
21317
@@ -20604,9 +10613,7 @@ fi
21318
 	  CONFIG_NLS=yes
21319
 	  ABOUT_CONFIG_NLS="Native Language Support"
21320
 
21321
-cat >>confdefs.h <<\_ACEOF
21322
-#define CONFIG_NLS 1
21323
-_ACEOF
21324
+$as_echo "#define CONFIG_NLS 1" >>confdefs.h
21325
 
21326
 	else
21327
 		CONFIG_NLS=no
21328
@@ -20635,8 +10642,8 @@ _ACEOF
21329
 
21330
 
21331
 
21332
-    { echo "$as_me:$LINENO: result: $CONFIG_NLS" >&5
21333
-echo "${ECHO_T}$CONFIG_NLS" >&6; }
21334
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_NLS" >&5
21335
+$as_echo "$CONFIG_NLS" >&6; }
21336
 
21337
 
21338
      if test "$CONFIG_NLS" = "yes"; then
21339
@@ -20650,9 +10657,7 @@ fi
21340
 
21341
         if test "$CONFIG_NLS" = "yes"; then
21342
 
21343
-cat >>confdefs.h <<\_ACEOF
21344
-#define CONFIG_NLS 1
21345
-_ACEOF
21346
+$as_echo "#define CONFIG_NLS 1" >>confdefs.h
21347
 
21348
 
21349
       nls_cv_force_use_gnu_gettext=yes
21350
@@ -20660,10 +10665,10 @@ _ACEOF
21351
 
21352
             # Extract the first word of "msgfmt", so it can be a program name with args.
21353
 set dummy msgfmt; ac_word=$2
21354
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21355
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21356
-if test "${ac_cv_path_MSGFMT+set}" = set; then
21357
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21358
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21359
+$as_echo_n "checking for $ac_word... " >&6; }
21360
+if ${ac_cv_path_MSGFMT+:} false; then :
21361
+  $as_echo_n "(cached) " >&6
21362
 else
21363
   case "$MSGFMT" in
21364
   /*)
21365
@@ -20687,19 +10692,19 @@ esac
21366
 fi
21367
 MSGFMT="$ac_cv_path_MSGFMT"
21368
 if test "$MSGFMT" != ":"; then
21369
-  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
21370
-echo "${ECHO_T}$MSGFMT" >&6; }
21371
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
21372
+$as_echo "$MSGFMT" >&6; }
21373
 else
21374
-  { echo "$as_me:$LINENO: result: no" >&5
21375
-echo "${ECHO_T}no" >&6; }
21376
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21377
+$as_echo "no" >&6; }
21378
 fi
21379
 
21380
       # Extract the first word of "gmsgfmt", so it can be a program name with args.
21381
 set dummy gmsgfmt; ac_word=$2
21382
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21383
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21384
-if test "${ac_cv_path_GMSGFMT+set}" = set; then
21385
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21386
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21387
+$as_echo_n "checking for $ac_word... " >&6; }
21388
+if ${ac_cv_path_GMSGFMT+:} false; then :
21389
+  $as_echo_n "(cached) " >&6
21390
 else
21391
   case $GMSGFMT in
21392
   [\\/]* | ?:[\\/]*)
21393
@@ -20711,14 +10716,14 @@ for as_dir in $PATH
21394
 do
21395
   IFS=$as_save_IFS
21396
   test -z "$as_dir" && as_dir=.
21397
-  for ac_exec_ext in '' $ac_executable_extensions; do
21398
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21399
+    for ac_exec_ext in '' $ac_executable_extensions; do
21400
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21401
     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21402
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21403
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21404
     break 2
21405
   fi
21406
 done
21407
-done
21408
+  done
21409
 IFS=$as_save_IFS
21410
 
21411
   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21412
@@ -20727,20 +10732,20 @@ esac
21413
 fi
21414
 GMSGFMT=$ac_cv_path_GMSGFMT
21415
 if test -n "$GMSGFMT"; then
21416
-  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21417
-echo "${ECHO_T}$GMSGFMT" >&6; }
21418
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
21419
+$as_echo "$GMSGFMT" >&6; }
21420
 else
21421
-  { echo "$as_me:$LINENO: result: no" >&5
21422
-echo "${ECHO_T}no" >&6; }
21423
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21424
+$as_echo "no" >&6; }
21425
 fi
21426
 
21427
 
21428
       # Extract the first word of "xgettext", so it can be a program name with args.
21429
 set dummy xgettext; ac_word=$2
21430
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21431
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21432
-if test "${ac_cv_path_XGETTEXT+set}" = set; then
21433
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21434
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21435
+$as_echo_n "checking for $ac_word... " >&6; }
21436
+if ${ac_cv_path_XGETTEXT+:} false; then :
21437
+  $as_echo_n "(cached) " >&6
21438
 else
21439
   case "$XGETTEXT" in
21440
   /*)
21441
@@ -20764,11 +10769,11 @@ esac
21442
 fi
21443
 XGETTEXT="$ac_cv_path_XGETTEXT"
21444
 if test "$XGETTEXT" != ":"; then
21445
-  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21446
-echo "${ECHO_T}$XGETTEXT" >&6; }
21447
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
21448
+$as_echo "$XGETTEXT" >&6; }
21449
 else
21450
-  { echo "$as_me:$LINENO: result: no" >&5
21451
-echo "${ECHO_T}no" >&6; }
21452
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21453
+$as_echo "no" >&6; }
21454
 fi
21455
 
21456
 
21457
@@ -20779,8 +10784,8 @@ fi
21458
 			if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
21459
 	  : ;
21460
 	else
21461
-	  { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21462
-echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
21463
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21464
+$as_echo "found msgfmt program is not GNU msgfmt; ignore it" >&6; }
21465
 	  GMSGFMT=":"
21466
 	fi
21467
       fi
21468
@@ -20789,8 +10794,8 @@ echo "${ECHO_T}found msgfmt program is n
21469
 			if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
21470
 	  : ;
21471
 	else
21472
-	  { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
21473
-echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
21474
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
21475
+$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
21476
 	  XGETTEXT=":"
21477
 	fi
21478
       fi
21479
@@ -20801,10 +10806,10 @@ echo "${ECHO_T}found xgettext program is
21480
 do
21481
   # Extract the first word of "$ac_prog", so it can be a program name with args.
21482
 set dummy $ac_prog; ac_word=$2
21483
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21484
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21485
-if test "${ac_cv_prog_INTLBISON+set}" = set; then
21486
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21487
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21488
+$as_echo_n "checking for $ac_word... " >&6; }
21489
+if ${ac_cv_prog_INTLBISON+:} false; then :
21490
+  $as_echo_n "(cached) " >&6
21491
 else
21492
   if test -n "$INTLBISON"; then
21493
   ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
21494
@@ -20814,25 +10819,25 @@ for as_dir in $PATH
21495
 do
21496
   IFS=$as_save_IFS
21497
   test -z "$as_dir" && as_dir=.
21498
-  for ac_exec_ext in '' $ac_executable_extensions; do
21499
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21500
+    for ac_exec_ext in '' $ac_executable_extensions; do
21501
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21502
     ac_cv_prog_INTLBISON="$ac_prog"
21503
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21504
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21505
     break 2
21506
   fi
21507
 done
21508
-done
21509
+  done
21510
 IFS=$as_save_IFS
21511
 
21512
 fi
21513
 fi
21514
 INTLBISON=$ac_cv_prog_INTLBISON
21515
 if test -n "$INTLBISON"; then
21516
-  { echo "$as_me:$LINENO: result: $INTLBISON" >&5
21517
-echo "${ECHO_T}$INTLBISON" >&6; }
21518
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
21519
+$as_echo "$INTLBISON" >&6; }
21520
 else
21521
-  { echo "$as_me:$LINENO: result: no" >&5
21522
-echo "${ECHO_T}no" >&6; }
21523
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21524
+$as_echo "no" >&6; }
21525
 fi
21526
 
21527
 
21528
@@ -20842,8 +10847,8 @@ done
21529
     if test -z "$INTLBISON"; then
21530
       ac_verc_fail=yes
21531
     else
21532
-            { echo "$as_me:$LINENO: checking version of bison" >&5
21533
-echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
21534
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
21535
+$as_echo_n "checking version of bison... " >&6; }
21536
       ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
21537
       case $ac_prog_version in
21538
         '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
21539
@@ -20851,8 +10856,8 @@ echo $ECHO_N "checking version of bison.
21540
            ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
21541
         *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
21542
       esac
21543
-      { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
21544
-echo "${ECHO_T}$ac_prog_version" >&6; }
21545
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
21546
+$as_echo "$ac_prog_version" >&6; }
21547
     fi
21548
     if test $ac_verc_fail = yes; then
21549
       INTLBISON=:
21550
@@ -20872,8 +10877,8 @@ echo "${ECHO_T}$ac_prog_version" >&6; }
21551
    if test "x$ALL_LINGUAS" = "x"; then
21552
      LINGUAS=
21553
    else
21554
-     { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
21555
-echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
21556
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
21557
+$as_echo_n "checking for catalogs to be installed... " >&6; }
21558
      NEW_LINGUAS=
21559
      for presentlang in $ALL_LINGUAS; do
21560
        useit=no
21561
@@ -20892,8 +10897,8 @@ echo $ECHO_N "checking for catalogs to b
21562
        fi
21563
      done
21564
      LINGUAS=$NEW_LINGUAS
21565
-     { echo "$as_me:$LINENO: result: $LINGUAS" >&5
21566
-echo "${ECHO_T}$LINGUAS" >&6; }
21567
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
21568
+$as_echo "$LINGUAS" >&6; }
21569
    fi
21570
 
21571
       if test -n "$LINGUAS"; then
21572
@@ -20918,7 +10923,7 @@ echo "${ECHO_T}$LINGUAS" >&6; }
21573
 
21574
 
21575
 	# Check whether --enable-cookies was given.
21576
-if test "${enable_cookies+set}" = set; then
21577
+if test "${enable_cookies+set}" = set; then :
21578
   enableval=$enable_cookies;
21579
 		if test "$enableval" != no; then enableval="yes"; fi
21580
 		CONFIG_COOKIES="$enableval";
21581
@@ -20931,9 +10936,7 @@ fi
21582
 	  CONFIG_COOKIES=yes
21583
 	  ABOUT_CONFIG_COOKIES="Cookies"
21584
 
21585
-cat >>confdefs.h <<\_ACEOF
21586
-#define CONFIG_COOKIES 1
21587
-_ACEOF
21588
+$as_echo "#define CONFIG_COOKIES 1" >>confdefs.h
21589
 
21590
 	else
21591
 		CONFIG_COOKIES=no
21592
@@ -20964,7 +10967,7 @@ _ACEOF
21593
 
21594
 
21595
 	# Check whether --enable-formhist was given.
21596
-if test "${enable_formhist+set}" = set; then
21597
+if test "${enable_formhist+set}" = set; then :
21598
   enableval=$enable_formhist;
21599
 		if test "$enableval" != no; then enableval="yes"; fi
21600
 		CONFIG_FORMHIST="$enableval";
21601
@@ -20977,9 +10980,7 @@ fi
21602
 	  CONFIG_FORMHIST=yes
21603
 	  ABOUT_CONFIG_FORMHIST="Form history"
21604
 
21605
-cat >>confdefs.h <<\_ACEOF
21606
-#define CONFIG_FORMHIST 1
21607
-_ACEOF
21608
+$as_echo "#define CONFIG_FORMHIST 1" >>confdefs.h
21609
 
21610
 	else
21611
 		CONFIG_FORMHIST=no
21612
@@ -21010,7 +11011,7 @@ _ACEOF
21613
 
21614
 
21615
 	# Check whether --enable-globhist was given.
21616
-if test "${enable_globhist+set}" = set; then
21617
+if test "${enable_globhist+set}" = set; then :
21618
   enableval=$enable_globhist;
21619
 		if test "$enableval" != no; then enableval="yes"; fi
21620
 		CONFIG_GLOBHIST="$enableval";
21621
@@ -21023,9 +11024,7 @@ fi
21622
 	  CONFIG_GLOBHIST=yes
21623
 	  ABOUT_CONFIG_GLOBHIST="Global history"
21624
 
21625
-cat >>confdefs.h <<\_ACEOF
21626
-#define CONFIG_GLOBHIST 1
21627
-_ACEOF
21628
+$as_echo "#define CONFIG_GLOBHIST 1" >>confdefs.h
21629
 
21630
 	else
21631
 		CONFIG_GLOBHIST=no
21632
@@ -21057,7 +11056,7 @@ _ACEOF
21633
 
21634
 
21635
 	# Check whether --enable-mailcap was given.
21636
-if test "${enable_mailcap+set}" = set; then
21637
+if test "${enable_mailcap+set}" = set; then :
21638
   enableval=$enable_mailcap;
21639
 		if test "$enableval" != no; then enableval="yes"; fi
21640
 		CONFIG_MAILCAP="$enableval";
21641
@@ -21070,9 +11069,7 @@ fi
21642
 	  CONFIG_MAILCAP=yes
21643
 	  ABOUT_CONFIG_MAILCAP="Mailcap"
21644
 
21645
-cat >>confdefs.h <<\_ACEOF
21646
-#define CONFIG_MAILCAP 1
21647
-_ACEOF
21648
+$as_echo "#define CONFIG_MAILCAP 1" >>confdefs.h
21649
 
21650
 	else
21651
 		CONFIG_MAILCAP=no
21652
@@ -21103,7 +11100,7 @@ _ACEOF
21653
 
21654
 
21655
 	# Check whether --enable-mimetypes was given.
21656
-if test "${enable_mimetypes+set}" = set; then
21657
+if test "${enable_mimetypes+set}" = set; then :
21658
   enableval=$enable_mimetypes;
21659
 		if test "$enableval" != no; then enableval="yes"; fi
21660
 		CONFIG_MIMETYPES="$enableval";
21661
@@ -21116,9 +11113,7 @@ fi
21662
 	  CONFIG_MIMETYPES=yes
21663
 	  ABOUT_CONFIG_MIMETYPES="Mimetypes files"
21664
 
21665
-cat >>confdefs.h <<\_ACEOF
21666
-#define CONFIG_MIMETYPES 1
21667
-_ACEOF
21668
+$as_echo "#define CONFIG_MIMETYPES 1" >>confdefs.h
21669
 
21670
 	else
21671
 		CONFIG_MIMETYPES=no
21672
@@ -21150,7 +11145,7 @@ _ACEOF
21673
 
21674
 
21675
 	# Check whether --enable-ipv6 was given.
21676
-if test "${enable_ipv6+set}" = set; then
21677
+if test "${enable_ipv6+set}" = set; then :
21678
   enableval=$enable_ipv6;
21679
 		if test "$enableval" != no; then enableval="yes"; fi
21680
 		CONFIG_IPV6="$enableval"
21681
@@ -21178,9 +11173,7 @@ fi
21682
 	  CONFIG_IPV6=yes
21683
 	  ABOUT_CONFIG_IPV6="IPv6"
21684
 
21685
-cat >>confdefs.h <<\_ACEOF
21686
-#define CONFIG_IPV6 1
21687
-_ACEOF
21688
+$as_echo "#define CONFIG_IPV6 1" >>confdefs.h
21689
 
21690
 		else
21691
 			CONFIG_IPV6=no;
21692
@@ -21214,7 +11207,7 @@ _ACEOF
21693
 
21694
 
21695
 	# Check whether --enable-bittorrent was given.
21696
-if test "${enable_bittorrent+set}" = set; then
21697
+if test "${enable_bittorrent+set}" = set; then :
21698
   enableval=$enable_bittorrent;
21699
 		if test "$enableval" != no; then enableval="yes"; fi
21700
 		CONFIG_BITTORRENT="$enableval";
21701
@@ -21227,9 +11220,7 @@ fi
21702
 	  CONFIG_BITTORRENT=yes
21703
 	  ABOUT_CONFIG_BITTORRENT="BitTorrent protocol"
21704
 
21705
-cat >>confdefs.h <<\_ACEOF
21706
-#define CONFIG_BITTORRENT 1
21707
-_ACEOF
21708
+$as_echo "#define CONFIG_BITTORRENT 1" >>confdefs.h
21709
 
21710
 	else
21711
 		CONFIG_BITTORRENT=no
21712
@@ -21260,7 +11251,7 @@ _ACEOF
21713
 
21714
 
21715
 	# Check whether --enable-data was given.
21716
-if test "${enable_data+set}" = set; then
21717
+if test "${enable_data+set}" = set; then :
21718
   enableval=$enable_data;
21719
 		if test "$enableval" != no; then enableval="yes"; fi
21720
 		CONFIG_DATA="$enableval";
21721
@@ -21273,9 +11264,7 @@ fi
21722
 	  CONFIG_DATA=yes
21723
 	  ABOUT_CONFIG_DATA="Data protocol"
21724
 
21725
-cat >>confdefs.h <<\_ACEOF
21726
-#define CONFIG_DATA 1
21727
-_ACEOF
21728
+$as_echo "#define CONFIG_DATA 1" >>confdefs.h
21729
 
21730
 	else
21731
 		CONFIG_DATA=no
21732
@@ -21306,7 +11295,7 @@ _ACEOF
21733
 
21734
 
21735
 	# Check whether --enable-uri-rewrite was given.
21736
-if test "${enable_uri_rewrite+set}" = set; then
21737
+if test "${enable_uri_rewrite+set}" = set; then :
21738
   enableval=$enable_uri_rewrite;
21739
 		if test "$enableval" != no; then enableval="yes"; fi
21740
 		CONFIG_URI_REWRITE="$enableval";
21741
@@ -21319,9 +11308,7 @@ fi
21742
 	  CONFIG_URI_REWRITE=yes
21743
 	  ABOUT_CONFIG_URI_REWRITE="URI rewriting"
21744
 
21745
-cat >>confdefs.h <<\_ACEOF
21746
-#define CONFIG_URI_REWRITE 1
21747
-_ACEOF
21748
+$as_echo "#define CONFIG_URI_REWRITE 1" >>confdefs.h
21749
 
21750
 	else
21751
 		CONFIG_URI_REWRITE=no
21752
@@ -21352,7 +11339,7 @@ _ACEOF
21753
 
21754
 
21755
 	# Check whether --enable-cgi was given.
21756
-if test "${enable_cgi+set}" = set; then
21757
+if test "${enable_cgi+set}" = set; then :
21758
   enableval=$enable_cgi;
21759
 		if test "$enableval" != no; then enableval="yes"; fi
21760
 		CONFIG_CGI="$enableval"
21761
@@ -21380,9 +11367,7 @@ fi
21762
 	  CONFIG_CGI=yes
21763
 	  ABOUT_CONFIG_CGI="Local CGI"
21764
 
21765
-cat >>confdefs.h <<\_ACEOF
21766
-#define CONFIG_CGI 1
21767
-_ACEOF
21768
+$as_echo "#define CONFIG_CGI 1" >>confdefs.h
21769
 
21770
 		else
21771
 			CONFIG_CGI=no;
21772
@@ -21416,7 +11401,7 @@ _ACEOF
21773
 
21774
 
21775
 	# Check whether --enable-finger was given.
21776
-if test "${enable_finger+set}" = set; then
21777
+if test "${enable_finger+set}" = set; then :
21778
   enableval=$enable_finger;
21779
 		if test "$enableval" != no; then enableval="yes"; fi
21780
 		CONFIG_FINGER="$enableval";
21781
@@ -21429,9 +11414,7 @@ fi
21782
 	  CONFIG_FINGER=yes
21783
 	  ABOUT_CONFIG_FINGER="Finger protocol"
21784
 
21785
-cat >>confdefs.h <<\_ACEOF
21786
-#define CONFIG_FINGER 1
21787
-_ACEOF
21788
+$as_echo "#define CONFIG_FINGER 1" >>confdefs.h
21789
 
21790
 	else
21791
 		CONFIG_FINGER=no
21792
@@ -21468,140 +11451,12 @@ _ACEOF
21793
 
21794
 
21795
 if test "x${enable_fsp}" != xno; then
21796
-
21797
-for ac_header in fsplib.h
21798
-do
21799
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21800
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21801
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21802
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21803
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21804
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21805
-fi
21806
-ac_res=`eval echo '${'$as_ac_Header'}'`
21807
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21808
-echo "${ECHO_T}$ac_res" >&6; }
21809
-else
21810
-  # Is the header compilable?
21811
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21812
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21813
-cat >conftest.$ac_ext <<_ACEOF
21814
-/* confdefs.h.  */
21815
-_ACEOF
21816
-cat confdefs.h >>conftest.$ac_ext
21817
-cat >>conftest.$ac_ext <<_ACEOF
21818
-/* end confdefs.h.  */
21819
-$ac_includes_default
21820
-#include <$ac_header>
21821
-_ACEOF
21822
-rm -f conftest.$ac_objext
21823
-if { (ac_try="$ac_compile"
21824
-case "(($ac_try" in
21825
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21826
-  *) ac_try_echo=$ac_try;;
21827
-esac
21828
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21829
-  (eval "$ac_compile") 2>conftest.er1
21830
-  ac_status=$?
21831
-  grep -v '^ *+' conftest.er1 >conftest.err
21832
-  rm -f conftest.er1
21833
-  cat conftest.err >&5
21834
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835
-  (exit $ac_status); } && {
21836
-	 test -z "$ac_c_werror_flag" ||
21837
-	 test ! -s conftest.err
21838
-       } && test -s conftest.$ac_objext; then
21839
-  ac_header_compiler=yes
21840
-else
21841
-  echo "$as_me: failed program was:" >&5
21842
-sed 's/^/| /' conftest.$ac_ext >&5
21843
-
21844
-	ac_header_compiler=no
21845
-fi
21846
-
21847
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21849
-echo "${ECHO_T}$ac_header_compiler" >&6; }
21850
-
21851
-# Is the header present?
21852
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21853
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21854
-cat >conftest.$ac_ext <<_ACEOF
21855
-/* confdefs.h.  */
21856
-_ACEOF
21857
-cat confdefs.h >>conftest.$ac_ext
21858
-cat >>conftest.$ac_ext <<_ACEOF
21859
-/* end confdefs.h.  */
21860
-#include <$ac_header>
21861
-_ACEOF
21862
-if { (ac_try="$ac_cpp conftest.$ac_ext"
21863
-case "(($ac_try" in
21864
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21865
-  *) ac_try_echo=$ac_try;;
21866
-esac
21867
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21868
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21869
-  ac_status=$?
21870
-  grep -v '^ *+' conftest.er1 >conftest.err
21871
-  rm -f conftest.er1
21872
-  cat conftest.err >&5
21873
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874
-  (exit $ac_status); } >/dev/null && {
21875
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21876
-	 test ! -s conftest.err
21877
-       }; then
21878
-  ac_header_preproc=yes
21879
-else
21880
-  echo "$as_me: failed program was:" >&5
21881
-sed 's/^/| /' conftest.$ac_ext >&5
21882
-
21883
-  ac_header_preproc=no
21884
-fi
21885
-
21886
-rm -f conftest.err conftest.$ac_ext
21887
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21888
-echo "${ECHO_T}$ac_header_preproc" >&6; }
21889
-
21890
-# So?  What about this header?
21891
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21892
-  yes:no: )
21893
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21894
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21895
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21896
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21897
-    ac_header_preproc=yes
21898
-    ;;
21899
-  no:yes:* )
21900
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21901
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21902
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21903
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21904
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21905
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21906
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21907
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21908
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21909
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21910
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21911
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21912
-
21913
-    ;;
21914
-esac
21915
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21916
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21917
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21918
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21919
-else
21920
-  eval "$as_ac_Header=\$ac_header_preproc"
21921
-fi
21922
-ac_res=`eval echo '${'$as_ac_Header'}'`
21923
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
21924
-echo "${ECHO_T}$ac_res" >&6; }
21925
-
21926
-fi
21927
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
21928
+	for ac_header in fsplib.h
21929
+do :
21930
+  ac_fn_c_check_header_mongrel "$LINENO" "fsplib.h" "ac_cv_header_fsplib_h" "$ac_includes_default"
21931
+if test "x$ac_cv_header_fsplib_h" = xyes; then :
21932
   cat >>confdefs.h <<_ACEOF
21933
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21934
+#define HAVE_FSPLIB_H 1
21935
 _ACEOF
21936
  HAVE_FSPLIB=yes
21937
 else
21938
@@ -21612,18 +11467,14 @@ done
21939
 
21940
 
21941
 	if test "$HAVE_FSPLIB" = yes; then
21942
-		{ echo "$as_me:$LINENO: checking for fsp_open_session in -lfsplib" >&5
21943
-echo $ECHO_N "checking for fsp_open_session in -lfsplib... $ECHO_C" >&6; }
21944
-if test "${ac_cv_lib_fsplib_fsp_open_session+set}" = set; then
21945
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21946
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsp_open_session in -lfsplib" >&5
21947
+$as_echo_n "checking for fsp_open_session in -lfsplib... " >&6; }
21948
+if ${ac_cv_lib_fsplib_fsp_open_session+:} false; then :
21949
+  $as_echo_n "(cached) " >&6
21950
 else
21951
   ac_check_lib_save_LIBS=$LIBS
21952
 LIBS="-lfsplib  $LIBS"
21953
-cat >conftest.$ac_ext <<_ACEOF
21954
-/* confdefs.h.  */
21955
-_ACEOF
21956
-cat confdefs.h >>conftest.$ac_ext
21957
-cat >>conftest.$ac_ext <<_ACEOF
21958
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21959
 /* end confdefs.h.  */
21960
 
21961
 /* Override any GCC internal prototype to avoid an error.
21962
@@ -21641,39 +11492,18 @@ return fsp_open_session ();
21963
   return 0;
21964
 }
21965
 _ACEOF
21966
-rm -f conftest.$ac_objext conftest$ac_exeext
21967
-if { (ac_try="$ac_link"
21968
-case "(($ac_try" in
21969
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970
-  *) ac_try_echo=$ac_try;;
21971
-esac
21972
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973
-  (eval "$ac_link") 2>conftest.er1
21974
-  ac_status=$?
21975
-  grep -v '^ *+' conftest.er1 >conftest.err
21976
-  rm -f conftest.er1
21977
-  cat conftest.err >&5
21978
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979
-  (exit $ac_status); } && {
21980
-	 test -z "$ac_c_werror_flag" ||
21981
-	 test ! -s conftest.err
21982
-       } && test -s conftest$ac_exeext &&
21983
-       $as_test_x conftest$ac_exeext; then
21984
+if ac_fn_c_try_link "$LINENO"; then :
21985
   ac_cv_lib_fsplib_fsp_open_session=yes
21986
 else
21987
-  echo "$as_me: failed program was:" >&5
21988
-sed 's/^/| /' conftest.$ac_ext >&5
21989
-
21990
-	ac_cv_lib_fsplib_fsp_open_session=no
21991
+  ac_cv_lib_fsplib_fsp_open_session=no
21992
 fi
21993
-
21994
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21995
-      conftest$ac_exeext conftest.$ac_ext
21996
+rm -f core conftest.err conftest.$ac_objext \
21997
+    conftest$ac_exeext conftest.$ac_ext
21998
 LIBS=$ac_check_lib_save_LIBS
21999
 fi
22000
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_fsplib_fsp_open_session" >&5
22001
-echo "${ECHO_T}$ac_cv_lib_fsplib_fsp_open_session" >&6; }
22002
-if test $ac_cv_lib_fsplib_fsp_open_session = yes; then
22003
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fsplib_fsp_open_session" >&5
22004
+$as_echo "$ac_cv_lib_fsplib_fsp_open_session" >&6; }
22005
+if test "x$ac_cv_lib_fsplib_fsp_open_session" = xyes; then :
22006
   HAVE_FSPLIB=yes
22007
 else
22008
   HAVE_FSPLIB=no
22009
@@ -21682,18 +11512,14 @@ fi
22010
 		if test "$HAVE_FSPLIB" = yes; then
22011
 			LIBS="$LIBS -lfsplib"
22012
 		else
22013
-			{ echo "$as_me:$LINENO: checking for fsp_open_session in -lfsp" >&5
22014
-echo $ECHO_N "checking for fsp_open_session in -lfsp... $ECHO_C" >&6; }
22015
-if test "${ac_cv_lib_fsp_fsp_open_session+set}" = set; then
22016
-  echo $ECHO_N "(cached) $ECHO_C" >&6
22017
+			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsp_open_session in -lfsp" >&5
22018
+$as_echo_n "checking for fsp_open_session in -lfsp... " >&6; }
22019
+if ${ac_cv_lib_fsp_fsp_open_session+:} false; then :
22020
+  $as_echo_n "(cached) " >&6
22021
 else
22022
   ac_check_lib_save_LIBS=$LIBS
22023
 LIBS="-lfsp  $LIBS"
22024
-cat >conftest.$ac_ext <<_ACEOF
22025
-/* confdefs.h.  */
22026
-_ACEOF
22027
-cat confdefs.h >>conftest.$ac_ext
22028
-cat >>conftest.$ac_ext <<_ACEOF
22029
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22030
 /* end confdefs.h.  */
22031
 
22032
 /* Override any GCC internal prototype to avoid an error.
22033
@@ -21711,39 +11537,18 @@ return fsp_open_session ();
22034
   return 0;
22035
 }
22036
 _ACEOF
22037
-rm -f conftest.$ac_objext conftest$ac_exeext
22038
-if { (ac_try="$ac_link"
22039
-case "(($ac_try" in
22040
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041
-  *) ac_try_echo=$ac_try;;
22042
-esac
22043
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044
-  (eval "$ac_link") 2>conftest.er1
22045
-  ac_status=$?
22046
-  grep -v '^ *+' conftest.er1 >conftest.err
22047
-  rm -f conftest.er1
22048
-  cat conftest.err >&5
22049
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050
-  (exit $ac_status); } && {
22051
-	 test -z "$ac_c_werror_flag" ||
22052
-	 test ! -s conftest.err
22053
-       } && test -s conftest$ac_exeext &&
22054
-       $as_test_x conftest$ac_exeext; then
22055
+if ac_fn_c_try_link "$LINENO"; then :
22056
   ac_cv_lib_fsp_fsp_open_session=yes
22057
 else
22058
-  echo "$as_me: failed program was:" >&5
22059
-sed 's/^/| /' conftest.$ac_ext >&5
22060
-
22061
-	ac_cv_lib_fsp_fsp_open_session=no
22062
+  ac_cv_lib_fsp_fsp_open_session=no
22063
 fi
22064
-
22065
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22066
-      conftest$ac_exeext conftest.$ac_ext
22067
+rm -f core conftest.err conftest.$ac_objext \
22068
+    conftest$ac_exeext conftest.$ac_ext
22069
 LIBS=$ac_check_lib_save_LIBS
22070
 fi
22071
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_fsp_fsp_open_session" >&5
22072
-echo "${ECHO_T}$ac_cv_lib_fsp_fsp_open_session" >&6; }
22073
-if test $ac_cv_lib_fsp_fsp_open_session = yes; then
22074
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fsp_fsp_open_session" >&5
22075
+$as_echo "$ac_cv_lib_fsp_fsp_open_session" >&6; }
22076
+if test "x$ac_cv_lib_fsp_fsp_open_session" = xyes; then :
22077
   HAVE_FSPLIB=yes
22078
 else
22079
   HAVE_FSPLIB=no
22080
@@ -21758,7 +11563,7 @@ fi
22081
 
22082
 
22083
 	# Check whether --enable-fsp was given.
22084
-if test "${enable_fsp+set}" = set; then
22085
+if test "${enable_fsp+set}" = set; then :
22086
   enableval=$enable_fsp;
22087
 		if test "$enableval" != no; then enableval="yes"; fi
22088
 		CONFIG_FSP="$enableval"
22089
@@ -21786,9 +11591,7 @@ fi
22090
 	  CONFIG_FSP=yes
22091
 	  ABOUT_CONFIG_FSP="FSP protocol"
22092
 
22093
-cat >>confdefs.h <<\_ACEOF
22094
-#define CONFIG_FSP 1
22095
-_ACEOF
22096
+$as_echo "#define CONFIG_FSP 1" >>confdefs.h
22097
 
22098
 		else
22099
 			CONFIG_FSP=no;
22100
@@ -21831,7 +11634,7 @@ fi
22101
 
22102
 
22103
 	# Check whether --enable-ftp was given.
22104
-if test "${enable_ftp+set}" = set; then
22105
+if test "${enable_ftp+set}" = set; then :
22106
   enableval=$enable_ftp;
22107
 		if test "$enableval" != no; then enableval="yes"; fi
22108
 		CONFIG_FTP="$enableval";
22109
@@ -21844,9 +11647,7 @@ fi
22110
 	  CONFIG_FTP=yes
22111
 	  ABOUT_CONFIG_FTP="FTP protocol"
22112
 
22113
-cat >>confdefs.h <<\_ACEOF
22114
-#define CONFIG_FTP 1
22115
-_ACEOF
22116
+$as_echo "#define CONFIG_FTP 1" >>confdefs.h
22117
 
22118
 	else
22119
 		CONFIG_FTP=no
22120
@@ -21877,7 +11678,7 @@ _ACEOF
22121
 
22122
 
22123
 	# Check whether --enable-gopher was given.
22124
-if test "${enable_gopher+set}" = set; then
22125
+if test "${enable_gopher+set}" = set; then :
22126
   enableval=$enable_gopher;
22127
 		if test "$enableval" != no; then enableval="yes"; fi
22128
 		CONFIG_GOPHER="$enableval";
22129
@@ -21890,9 +11691,7 @@ fi
22130
 	  CONFIG_GOPHER=yes
22131
 	  ABOUT_CONFIG_GOPHER="Gopher protocol"
22132
 
22133
-cat >>confdefs.h <<\_ACEOF
22134
-#define CONFIG_GOPHER 1
22135
-_ACEOF
22136
+$as_echo "#define CONFIG_GOPHER 1" >>confdefs.h
22137
 
22138
 	else
22139
 		CONFIG_GOPHER=no
22140
@@ -21923,7 +11722,7 @@ _ACEOF
22141
 
22142
 
22143
 	# Check whether --enable-nntp was given.
22144
-if test "${enable_nntp+set}" = set; then
22145
+if test "${enable_nntp+set}" = set; then :
22146
   enableval=$enable_nntp;
22147
 		if test "$enableval" != no; then enableval="yes"; fi
22148
 		CONFIG_NNTP="$enableval";
22149
@@ -21936,9 +11735,7 @@ fi
22150
 	  CONFIG_NNTP=yes
22151
 	  ABOUT_CONFIG_NNTP="NNTP protocol"
22152
 
22153
-cat >>confdefs.h <<\_ACEOF
22154
-#define CONFIG_NNTP 1
22155
-_ACEOF
22156
+$as_echo "#define CONFIG_NNTP 1" >>confdefs.h
22157
 
22158
 	else
22159
 		CONFIG_NNTP=no
22160
@@ -21968,16 +11765,16 @@ _ACEOF
22161
 
22162
 
22163
 if test "${enable_smb-no}" != no || test "${CONFIG_SMB-no}" != no; then
22164
-  { echo "$as_me:$LINENO: WARNING: Forcing --disable-smb because of vulnerability CVE-2006-5925.
22165
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --disable-smb because of vulnerability CVE-2006-5925.
22166
 If you want to use SMB, please wait for ELinks 0.12.0 or see bug 844." >&5
22167
-echo "$as_me: WARNING: Forcing --disable-smb because of vulnerability CVE-2006-5925.
22168
+$as_echo "$as_me: WARNING: Forcing --disable-smb because of vulnerability CVE-2006-5925.
22169
 If you want to use SMB, please wait for ELinks 0.12.0 or see bug 844." >&2;}
22170
 fi
22171
 enable_smb=no
22172
 CONFIG_SMB=no
22173
 
22174
 	# Check whether --enable-smb was given.
22175
-if test "${enable_smb+set}" = set; then
22176
+if test "${enable_smb+set}" = set; then :
22177
   enableval=$enable_smb;
22178
 		if test "$enableval" != no; then enableval="yes"; fi
22179
 		CONFIG_SMB="$enableval"
22180
@@ -22005,9 +11802,7 @@ fi
22181
 	  CONFIG_SMB=yes
22182
 	  ABOUT_CONFIG_SMB="SMB protocol"
22183
 
22184
-cat >>confdefs.h <<\_ACEOF
22185
-#define CONFIG_SMB 1
22186
-_ACEOF
22187
+$as_echo "#define CONFIG_SMB 1" >>confdefs.h
22188
 
22189
 		else
22190
 			CONFIG_SMB=no;
22191
@@ -22042,7 +11837,7 @@ _ACEOF
22192
 
22193
 
22194
 	# Check whether --enable-mouse was given.
22195
-if test "${enable_mouse+set}" = set; then
22196
+if test "${enable_mouse+set}" = set; then :
22197
   enableval=$enable_mouse;
22198
 		if test "$enableval" != no; then enableval="yes"; fi
22199
 		CONFIG_MOUSE="$enableval";
22200
@@ -22055,9 +11850,7 @@ fi
22201
 	  CONFIG_MOUSE=yes
22202
 	  ABOUT_CONFIG_MOUSE="Mouse handling"
22203
 
22204
-cat >>confdefs.h <<\_ACEOF
22205
-#define CONFIG_MOUSE 1
22206
-_ACEOF
22207
+$as_echo "#define CONFIG_MOUSE 1" >>confdefs.h
22208
 
22209
 	else
22210
 		CONFIG_MOUSE=no
22211
@@ -22090,7 +11883,7 @@ _ACEOF
22212
 CONFIG_SYSMOUSE=yes
22213
 
22214
 	# Check whether --enable-sysmouse was given.
22215
-if test "${enable_sysmouse+set}" = set; then
22216
+if test "${enable_sysmouse+set}" = set; then :
22217
   enableval=$enable_sysmouse;
22218
 		if test "$enableval" != no; then enableval="yes"; fi
22219
 		CONFIG_SYSMOUSE="$enableval"
22220
@@ -22118,9 +11911,7 @@ fi
22221
 	  CONFIG_SYSMOUSE=yes
22222
 	  ABOUT_CONFIG_SYSMOUSE="BSD sysmouse"
22223
 
22224
-cat >>confdefs.h <<\_ACEOF
22225
-#define CONFIG_SYSMOUSE 1
22226
-_ACEOF
22227
+$as_echo "#define CONFIG_SYSMOUSE 1" >>confdefs.h
22228
 
22229
 		else
22230
 			CONFIG_SYSMOUSE=no;
22231
@@ -22154,7 +11945,7 @@ _ACEOF
22232
 
22233
 
22234
 	# Check whether --enable-88-colors was given.
22235
-if test "${enable_88_colors+set}" = set; then
22236
+if test "${enable_88_colors+set}" = set; then :
22237
   enableval=$enable_88_colors;
22238
 		if test "$enableval" != no; then enableval="yes"; fi
22239
 		CONFIG_88_COLORS="$enableval";
22240
@@ -22167,9 +11958,7 @@ fi
22241
 	  CONFIG_88_COLORS=yes
22242
 	  ABOUT_CONFIG_88_COLORS="88 colors"
22243
 
22244
-cat >>confdefs.h <<\_ACEOF
22245
-#define CONFIG_88_COLORS 1
22246
-_ACEOF
22247
+$as_echo "#define CONFIG_88_COLORS 1" >>confdefs.h
22248
 
22249
 	else
22250
 		CONFIG_88_COLORS=no
22251
@@ -22200,7 +11989,7 @@ _ACEOF
22252
 
22253
 
22254
 	# Check whether --enable-256-colors was given.
22255
-if test "${enable_256_colors+set}" = set; then
22256
+if test "${enable_256_colors+set}" = set; then :
22257
   enableval=$enable_256_colors;
22258
 		if test "$enableval" != no; then enableval="yes"; fi
22259
 		CONFIG_256_COLORS="$enableval";
22260
@@ -22213,9 +12002,7 @@ fi
22261
 	  CONFIG_256_COLORS=yes
22262
 	  ABOUT_CONFIG_256_COLORS="256 colors"
22263
 
22264
-cat >>confdefs.h <<\_ACEOF
22265
-#define CONFIG_256_COLORS 1
22266
-_ACEOF
22267
+$as_echo "#define CONFIG_256_COLORS 1" >>confdefs.h
22268
 
22269
 	else
22270
 		CONFIG_256_COLORS=no
22271
@@ -22247,7 +12034,7 @@ _ACEOF
22272
 
22273
 
22274
 	# Check whether --enable-exmode was given.
22275
-if test "${enable_exmode+set}" = set; then
22276
+if test "${enable_exmode+set}" = set; then :
22277
   enableval=$enable_exmode;
22278
 		if test "$enableval" != no; then enableval="yes"; fi
22279
 		CONFIG_EXMODE="$enableval";
22280
@@ -22260,9 +12047,7 @@ fi
22281
 	  CONFIG_EXMODE=yes
22282
 	  ABOUT_CONFIG_EXMODE="Exmode interface"
22283
 
22284
-cat >>confdefs.h <<\_ACEOF
22285
-#define CONFIG_EXMODE 1
22286
-_ACEOF
22287
+$as_echo "#define CONFIG_EXMODE 1" >>confdefs.h
22288
 
22289
 	else
22290
 		CONFIG_EXMODE=no
22291
@@ -22293,7 +12078,7 @@ _ACEOF
22292
 
22293
 
22294
 	# Check whether --enable-leds was given.
22295
-if test "${enable_leds+set}" = set; then
22296
+if test "${enable_leds+set}" = set; then :
22297
   enableval=$enable_leds;
22298
 		if test "$enableval" != no; then enableval="yes"; fi
22299
 		CONFIG_LEDS="$enableval";
22300
@@ -22306,9 +12091,7 @@ fi
22301
 	  CONFIG_LEDS=yes
22302
 	  ABOUT_CONFIG_LEDS="LEDs"
22303
 
22304
-cat >>confdefs.h <<\_ACEOF
22305
-#define CONFIG_LEDS 1
22306
-_ACEOF
22307
+$as_echo "#define CONFIG_LEDS 1" >>confdefs.h
22308
 
22309
 	else
22310
 		CONFIG_LEDS=no
22311
@@ -22339,7 +12122,7 @@ _ACEOF
22312
 
22313
 
22314
 	# Check whether --enable-marks was given.
22315
-if test "${enable_marks+set}" = set; then
22316
+if test "${enable_marks+set}" = set; then :
22317
   enableval=$enable_marks;
22318
 		if test "$enableval" != no; then enableval="yes"; fi
22319
 		CONFIG_MARKS="$enableval";
22320
@@ -22352,9 +12135,7 @@ fi
22321
 	  CONFIG_MARKS=yes
22322
 	  ABOUT_CONFIG_MARKS="Marks"
22323
 
22324
-cat >>confdefs.h <<\_ACEOF
22325
-#define CONFIG_MARKS 1
22326
-_ACEOF
22327
+$as_echo "#define CONFIG_MARKS 1" >>confdefs.h
22328
 
22329
 	else
22330
 		CONFIG_MARKS=no
22331
@@ -22386,7 +12167,7 @@ _ACEOF
22332
 
22333
 
22334
 	# Check whether --enable-css was given.
22335
-if test "${enable_css+set}" = set; then
22336
+if test "${enable_css+set}" = set; then :
22337
   enableval=$enable_css;
22338
 		if test "$enableval" != no; then enableval="yes"; fi
22339
 		CONFIG_CSS="$enableval";
22340
@@ -22399,9 +12180,7 @@ fi
22341
 	  CONFIG_CSS=yes
22342
 	  ABOUT_CONFIG_CSS="Cascading Style Sheets"
22343
 
22344
-cat >>confdefs.h <<\_ACEOF
22345
-#define CONFIG_CSS 1
22346
-_ACEOF
22347
+$as_echo "#define CONFIG_CSS 1" >>confdefs.h
22348
 
22349
 	else
22350
 		CONFIG_CSS=no
22351
@@ -22432,7 +12211,7 @@ _ACEOF
22352
 
22353
 
22354
 	# Check whether --enable-html-highlight was given.
22355
-if test "${enable_html_highlight+set}" = set; then
22356
+if test "${enable_html_highlight+set}" = set; then :
22357
   enableval=$enable_html_highlight;
22358
 		if test "$enableval" != no; then enableval="yes"; fi
22359
 		CONFIG_HTML_HIGHLIGHT="$enableval"
22360
@@ -22460,9 +12239,7 @@ fi
22361
 	  CONFIG_HTML_HIGHLIGHT=yes
22362
 	  ABOUT_CONFIG_HTML_HIGHLIGHT="HTML highlighting"
22363
 
22364
-cat >>confdefs.h <<\_ACEOF
22365
-#define CONFIG_HTML_HIGHLIGHT 1
22366
-_ACEOF
22367
+$as_echo "#define CONFIG_HTML_HIGHLIGHT 1" >>confdefs.h
22368
 
22369
 		else
22370
 			CONFIG_HTML_HIGHLIGHT=no;
22371
@@ -22520,9 +12297,7 @@ _ACEOF
22372
 	  CONFIG_DOM=yes
22373
 	  ABOUT_CONFIG_DOM="DOM engine"
22374
 
22375
-cat >>confdefs.h <<\_ACEOF
22376
-#define CONFIG_DOM 1
22377
-_ACEOF
22378
+$as_echo "#define CONFIG_DOM 1" >>confdefs.h
22379
 
22380
 	fi
22381
 
22382
@@ -22551,7 +12326,7 @@ _ACEOF
22383
 
22384
 
22385
 	# Check whether --enable-backtrace was given.
22386
-if test "${enable_backtrace+set}" = set; then
22387
+if test "${enable_backtrace+set}" = set; then :
22388
   enableval=$enable_backtrace;
22389
 		if test "$enableval" != no; then enableval="yes"; fi
22390
 		CONFIG_BACKTRACE="$enableval"
22391
@@ -22579,9 +12354,7 @@ fi
22392
 	  CONFIG_BACKTRACE=yes
22393
 	  ABOUT_CONFIG_BACKTRACE="Backtrace"
22394
 
22395
-cat >>confdefs.h <<\_ACEOF
22396
-#define CONFIG_BACKTRACE 1
22397
-_ACEOF
22398
+$as_echo "#define CONFIG_BACKTRACE 1" >>confdefs.h
22399
 
22400
 		else
22401
 			CONFIG_BACKTRACE=no;
22402
@@ -22615,7 +12388,7 @@ _ACEOF
22403
 
22404
 
22405
 	# Check whether --enable-no-root was given.
22406
-if test "${enable_no_root+set}" = set; then
22407
+if test "${enable_no_root+set}" = set; then :
22408
   enableval=$enable_no_root;
22409
 		if test "$enableval" != no; then enableval="yes"; fi
22410
 		CONFIG_NO_ROOT_EXEC="$enableval"
22411
@@ -22643,9 +12416,7 @@ fi
22412
 	  CONFIG_NO_ROOT_EXEC=yes
22413
 	  ABOUT_CONFIG_NO_ROOT_EXEC="No root exec"
22414
 
22415
-cat >>confdefs.h <<\_ACEOF
22416
-#define CONFIG_NO_ROOT_EXEC 1
22417
-_ACEOF
22418
+$as_echo "#define CONFIG_NO_ROOT_EXEC 1" >>confdefs.h
22419
 
22420
 		else
22421
 			CONFIG_NO_ROOT_EXEC=no;
22422
@@ -22680,7 +12451,7 @@ _ACEOF
22423
 
22424
 
22425
 	# Check whether --enable-debug was given.
22426
-if test "${enable_debug+set}" = set; then
22427
+if test "${enable_debug+set}" = set; then :
22428
   enableval=$enable_debug;
22429
 		if test "$enableval" != no; then enableval="yes"; fi
22430
 		CONFIG_DEBUG="$enableval";
22431
@@ -22693,9 +12464,7 @@ fi
22432
 	  CONFIG_DEBUG=yes
22433
 	  ABOUT_CONFIG_DEBUG="Debug mode"
22434
 
22435
-cat >>confdefs.h <<\_ACEOF
22436
-#define CONFIG_DEBUG 1
22437
-_ACEOF
22438
+$as_echo "#define CONFIG_DEBUG 1" >>confdefs.h
22439
 
22440
 	else
22441
 		CONFIG_DEBUG=no
22442
@@ -22726,7 +12495,7 @@ _ACEOF
22443
 
22444
 
22445
 	# Check whether --enable-fastmem was given.
22446
-if test "${enable_fastmem+set}" = set; then
22447
+if test "${enable_fastmem+set}" = set; then :
22448
   enableval=$enable_fastmem;
22449
 		if test "$enableval" != no; then enableval="yes"; fi
22450
 		CONFIG_FASTMEM="$enableval"
22451
@@ -22754,9 +12523,7 @@ fi
22452
 	  CONFIG_FASTMEM=yes
22453
 	  ABOUT_CONFIG_FASTMEM="Fast mode"
22454
 
22455
-cat >>confdefs.h <<\_ACEOF
22456
-#define CONFIG_FASTMEM 1
22457
-_ACEOF
22458
+$as_echo "#define CONFIG_FASTMEM 1" >>confdefs.h
22459
 
22460
 		else
22461
 			CONFIG_FASTMEM=no;
22462
@@ -22790,7 +12557,7 @@ _ACEOF
22463
 
22464
 
22465
 	# Check whether --enable-own-libc was given.
22466
-if test "${enable_own_libc+set}" = set; then
22467
+if test "${enable_own_libc+set}" = set; then :
22468
   enableval=$enable_own_libc;
22469
 		if test "$enableval" != no; then enableval="yes"; fi
22470
 		CONFIG_OWN_LIBC="$enableval";
22471
@@ -22803,9 +12570,7 @@ fi
22472
 	  CONFIG_OWN_LIBC=yes
22473
 	  ABOUT_CONFIG_OWN_LIBC="Own libc stubs"
22474
 
22475
-cat >>confdefs.h <<\_ACEOF
22476
-#define CONFIG_OWN_LIBC 1
22477
-_ACEOF
22478
+$as_echo "#define CONFIG_OWN_LIBC 1" >>confdefs.h
22479
 
22480
 	else
22481
 		CONFIG_OWN_LIBC=no
22482
@@ -22836,7 +12601,7 @@ _ACEOF
22483
 
22484
 
22485
 	# Check whether --enable-small was given.
22486
-if test "${enable_small+set}" = set; then
22487
+if test "${enable_small+set}" = set; then :
22488
   enableval=$enable_small;
22489
 		if test "$enableval" != no; then enableval="yes"; fi
22490
 		CONFIG_SMALL="$enableval";
22491
@@ -22849,9 +12614,7 @@ fi
22492
 	  CONFIG_SMALL=yes
22493
 	  ABOUT_CONFIG_SMALL="Small binary"
22494
 
22495
-cat >>confdefs.h <<\_ACEOF
22496
-#define CONFIG_SMALL 1
22497
-_ACEOF
22498
+$as_echo "#define CONFIG_SMALL 1" >>confdefs.h
22499
 
22500
 	else
22501
 		CONFIG_SMALL=no
22502
@@ -22884,17 +12647,15 @@ if test "$CONFIG_OPENSSL" != yes &&
22503
    test "$CONFIG_GNUTLS_OPENSSL_COMPAT" != yes ||
22504
    test "$CONFIG_OWN_LIBC" = yes;
22505
 then
22506
-	{ echo "$as_me:$LINENO: checking for built-in MD5 support" >&5
22507
-echo $ECHO_N "checking for built-in MD5 support... $ECHO_C" >&6; }
22508
-	{ echo "$as_me:$LINENO: result: yes" >&5
22509
-echo "${ECHO_T}yes" >&6; }
22510
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for built-in MD5 support" >&5
22511
+$as_echo_n "checking for built-in MD5 support... " >&6; }
22512
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22513
+$as_echo "yes" >&6; }
22514
 
22515
 	  CONFIG_MD5=yes
22516
 	  ABOUT_CONFIG_MD5="Built-in MD5"
22517
 
22518
-cat >>confdefs.h <<\_ACEOF
22519
-#define CONFIG_MD5 1
22520
-_ACEOF
22521
+$as_echo "#define CONFIG_MD5 1" >>confdefs.h
22522
 
22523
 fi
22524
 
22525
@@ -22904,17 +12665,15 @@ if test "$CONFIG_BITTORRENT" = yes; then
22526
 	if test "$CONFIG_OPENSSL" != yes ||
22527
 	   test "$CONFIG_OWN_LIBC" = yes;
22528
 	then
22529
-		{ echo "$as_me:$LINENO: checking for built-in SHA1 support" >&5
22530
-echo $ECHO_N "checking for built-in SHA1 support... $ECHO_C" >&6; }
22531
-		{ echo "$as_me:$LINENO: result: yes" >&5
22532
-echo "${ECHO_T}yes" >&6; }
22533
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for built-in SHA1 support" >&5
22534
+$as_echo_n "checking for built-in SHA1 support... " >&6; }
22535
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22536
+$as_echo "yes" >&6; }
22537
 
22538
 	  CONFIG_SHA1=yes
22539
 	  ABOUT_CONFIG_SHA1="Built-in SHA1"
22540
 
22541
-cat >>confdefs.h <<\_ACEOF
22542
-#define CONFIG_SHA1 1
22543
-_ACEOF
22544
+$as_echo "#define CONFIG_SHA1 1" >>confdefs.h
22545
 
22546
 	fi
22547
 fi
22548
@@ -22927,18 +12686,14 @@ then
22549
 	  CONFIG_SCANNER=yes
22550
 	  ABOUT_CONFIG_SCANNER="Built-in scanner"
22551
 
22552
-cat >>confdefs.h <<\_ACEOF
22553
-#define CONFIG_SCANNER 1
22554
-_ACEOF
22555
+$as_echo "#define CONFIG_SCANNER 1" >>confdefs.h
22556
 
22557
 fi
22558
 
22559
 
22560
 # Check whether --enable-weehoofooboomookerchoo was given.
22561
-if test "${enable_weehoofooboomookerchoo+set}" = set; then
22562
-  enableval=$enable_weehoofooboomookerchoo; { { echo "$as_me:$LINENO: error: Are you strange" >&5
22563
-echo "$as_me: error: Are you strange" >&2;}
22564
-   { (exit or what?); exit or what?; }; }
22565
+if test "${enable_weehoofooboomookerchoo+set}" = set; then :
22566
+  enableval=$enable_weehoofooboomookerchoo; as_fn_error or what? "Are you strange" "$LINENO" 5
22567
 fi
22568
 
22569
 
22570
@@ -23075,8 +12830,8 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes
22571
   # GCC 4.2.1 needs -Wno-address, but GCC 4.2 snapshots need -Wno-always-true.
22572
   # GCC 4.1.3 recognizes neither and exits with code 1 if they are given.
22573
   for warning_flag in -Wno-address -Wno-always-true; do
22574
-    { echo "$as_me:$LINENO: checking whether $CC accepts $warning_flag" >&5
22575
-echo $ECHO_N "checking whether $CC accepts $warning_flag... $ECHO_C" >&6; }
22576
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $warning_flag" >&5
22577
+$as_echo_n "checking whether $CC accepts $warning_flag... " >&6; }
22578
 
22579
 	CFLAGS_X="$CFLAGS";
22580
 	CPPFLAGS_X="$CPPFLAGS";
22581
@@ -23084,11 +12839,7 @@ echo $ECHO_N "checking whether $CC accep
22582
 	LIBS_X="$LIBS";
22583
 
22584
     CFLAGS="$CFLAGS $warning_flag"
22585
-    cat >conftest.$ac_ext <<_ACEOF
22586
-/* confdefs.h.  */
22587
-_ACEOF
22588
-cat confdefs.h >>conftest.$ac_ext
22589
-cat >>conftest.$ac_ext <<_ACEOF
22590
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22591
 /* end confdefs.h.  */
22592
 
22593
 int
22594
@@ -23099,34 +12850,14 @@ main ()
22595
   return 0;
22596
 }
22597
 _ACEOF
22598
-rm -f conftest.$ac_objext
22599
-if { (ac_try="$ac_compile"
22600
-case "(($ac_try" in
22601
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22602
-  *) ac_try_echo=$ac_try;;
22603
-esac
22604
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22605
-  (eval "$ac_compile") 2>conftest.er1
22606
-  ac_status=$?
22607
-  grep -v '^ *+' conftest.er1 >conftest.err
22608
-  rm -f conftest.er1
22609
-  cat conftest.err >&5
22610
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611
-  (exit $ac_status); } && {
22612
-	 test -z "$ac_c_werror_flag" ||
22613
-	 test ! -s conftest.err
22614
-       } && test -s conftest.$ac_objext; then
22615
-  { echo "$as_me:$LINENO: result: yes" >&5
22616
-echo "${ECHO_T}yes" >&6; }
22617
+if ac_fn_c_try_compile "$LINENO"; then :
22618
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22619
+$as_echo "yes" >&6; }
22620
        break
22621
 else
22622
-  echo "$as_me: failed program was:" >&5
22623
-sed 's/^/| /' conftest.$ac_ext >&5
22624
-
22625
-	{ echo "$as_me:$LINENO: result: no" >&5
22626
-echo "${ECHO_T}no" >&6; }
22627
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22628
+$as_echo "no" >&6; }
22629
 fi
22630
-
22631
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22632
 
22633
 	CFLAGS="$CFLAGS_X";
22634
@@ -23181,8 +12912,8 @@ rm -f core conftest.err conftest.$ac_obj
22635
   #
22636
   # Apparently, -ftrapv does not work reliably at all.
22637
   for overflow_flag in -fno-strict-overflow -fwrapv; do
22638
-    { echo "$as_me:$LINENO: checking whether $CC accepts $overflow_flag" >&5
22639
-echo $ECHO_N "checking whether $CC accepts $overflow_flag... $ECHO_C" >&6; }
22640
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $overflow_flag" >&5
22641
+$as_echo_n "checking whether $CC accepts $overflow_flag... " >&6; }
22642
 
22643
 	CFLAGS_X="$CFLAGS";
22644
 	CPPFLAGS_X="$CPPFLAGS";
22645
@@ -23190,11 +12921,7 @@ echo $ECHO_N "checking whether $CC accep
22646
 	LIBS_X="$LIBS";
22647
 
22648
     CFLAGS="$CFLAGS $overflow_flag"
22649
-    cat >conftest.$ac_ext <<_ACEOF
22650
-/* confdefs.h.  */
22651
-_ACEOF
22652
-cat confdefs.h >>conftest.$ac_ext
22653
-cat >>conftest.$ac_ext <<_ACEOF
22654
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655
 /* end confdefs.h.  */
22656
 
22657
 int
22658
@@ -23205,34 +12932,14 @@ main ()
22659
   return 0;
22660
 }
22661
 _ACEOF
22662
-rm -f conftest.$ac_objext
22663
-if { (ac_try="$ac_compile"
22664
-case "(($ac_try" in
22665
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22666
-  *) ac_try_echo=$ac_try;;
22667
-esac
22668
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22669
-  (eval "$ac_compile") 2>conftest.er1
22670
-  ac_status=$?
22671
-  grep -v '^ *+' conftest.er1 >conftest.err
22672
-  rm -f conftest.er1
22673
-  cat conftest.err >&5
22674
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675
-  (exit $ac_status); } && {
22676
-	 test -z "$ac_c_werror_flag" ||
22677
-	 test ! -s conftest.err
22678
-       } && test -s conftest.$ac_objext; then
22679
-  { echo "$as_me:$LINENO: result: yes" >&5
22680
-echo "${ECHO_T}yes" >&6; }
22681
+if ac_fn_c_try_compile "$LINENO"; then :
22682
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22683
+$as_echo "yes" >&6; }
22684
        break
22685
 else
22686
-  echo "$as_me: failed program was:" >&5
22687
-sed 's/^/| /' conftest.$ac_ext >&5
22688
-
22689
-	{ echo "$as_me:$LINENO: result: no" >&5
22690
-echo "${ECHO_T}no" >&6; }
22691
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22692
+$as_echo "no" >&6; }
22693
 fi
22694
-
22695
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22696
 
22697
 	CFLAGS="$CFLAGS_X";
22698
@@ -23329,12 +13036,13 @@ _ACEOF
22699
     case $ac_val in #(
22700
     *${as_nl}*)
22701
       case $ac_var in #(
22702
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22703
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22704
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22705
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22706
       esac
22707
       case $ac_var in #(
22708
       _ | IFS | as_nl) ;; #(
22709
-      *) $as_unset $ac_var ;;
22710
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22711
+      *) { eval $ac_var=; unset $ac_var;} ;;
22712
       esac ;;
22713
     esac
22714
   done
22715
@@ -23342,8 +13050,8 @@ echo "$as_me: WARNING: Cache variable $a
22716
   (set) 2>&1 |
22717
     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22718
     *${as_nl}ac_space=\ *)
22719
-      # `set' does not quote correctly, so add quotes (double-quote
22720
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
22721
+      # `set' does not quote correctly, so add quotes: double-quote
22722
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
22723
       sed -n \
22724
 	"s/'/'\\\\''/g;
22725
 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22726
@@ -23365,13 +13073,24 @@ echo "$as_me: WARNING: Cache variable $a
22727
      :end' >>confcache
22728
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22729
   if test -w "$cache_file"; then
22730
-    test "x$cache_file" != "x/dev/null" &&
22731
-      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22732
-echo "$as_me: updating cache $cache_file" >&6;}
22733
-    cat confcache >$cache_file
22734
+    if test "x$cache_file" != "x/dev/null"; then
22735
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22736
+$as_echo "$as_me: updating cache $cache_file" >&6;}
22737
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
22738
+	cat confcache >"$cache_file"
22739
+      else
22740
+        case $cache_file in #(
22741
+        */* | ?:*)
22742
+	  mv -f confcache "$cache_file"$$ &&
22743
+	  mv -f "$cache_file"$$ "$cache_file" ;; #(
22744
+        *)
22745
+	  mv -f confcache "$cache_file" ;;
22746
+	esac
22747
+      fi
22748
+    fi
22749
   else
22750
-    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22751
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22752
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22753
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22754
   fi
22755
 fi
22756
 rm -f confcache
22757
@@ -23384,14 +13103,15 @@ DEFS=-DHAVE_CONFIG_H
22758
 
22759
 ac_libobjs=
22760
 ac_ltlibobjs=
22761
+U=
22762
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22763
   # 1. Remove the extension, and $U if already installed.
22764
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22765
-  ac_i=`echo "$ac_i" | sed "$ac_script"`
22766
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22767
   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22768
   #    will be set to the directory where LIBOBJS objects are built.
22769
-  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22770
-  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22771
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22772
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22773
 done
22774
 LIBOBJS=$ac_libobjs
22775
 
22776
@@ -23399,19 +13119,18 @@ LTLIBOBJS=$ac_ltlibobjs
22777
 
22778
 
22779
 if test -z "${CONFIG_NLS_TRUE}" && test -z "${CONFIG_NLS_FALSE}"; then
22780
-  { { echo "$as_me:$LINENO: error: conditional \"CONFIG_NLS\" was never defined.
22781
-Usually this means the macro was only invoked conditionally." >&5
22782
-echo "$as_me: error: conditional \"CONFIG_NLS\" was never defined.
22783
-Usually this means the macro was only invoked conditionally." >&2;}
22784
-   { (exit 1); exit 1; }; }
22785
+  as_fn_error $? "conditional \"CONFIG_NLS\" was never defined.
22786
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
22787
 fi
22788
 
22789
-: ${CONFIG_STATUS=./config.status}
22790
+: "${CONFIG_STATUS=./config.status}"
22791
+ac_write_fail=0
22792
 ac_clean_files_save=$ac_clean_files
22793
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22794
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22795
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
22796
-cat >$CONFIG_STATUS <<_ACEOF
22797
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22798
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22799
+as_write_fail=0
22800
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22801
 #! $SHELL
22802
 # Generated by $as_me.
22803
 # Run this file to recreate the current configuration.
22804
@@ -23421,59 +13140,79 @@ cat >$CONFIG_STATUS <<_ACEOF
22805
 debug=false
22806
 ac_cs_recheck=false
22807
 ac_cs_silent=false
22808
-SHELL=\${CONFIG_SHELL-$SHELL}
22809
-_ACEOF
22810
 
22811
-cat >>$CONFIG_STATUS <<\_ACEOF
22812
-## --------------------- ##
22813
-## M4sh Initialization.  ##
22814
-## --------------------- ##
22815
+SHELL=\${CONFIG_SHELL-$SHELL}
22816
+export SHELL
22817
+_ASEOF
22818
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22819
+## -------------------- ##
22820
+## M4sh Initialization. ##
22821
+## -------------------- ##
22822
 
22823
 # Be more Bourne compatible
22824
 DUALCASE=1; export DUALCASE # for MKS sh
22825
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22826
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22827
   emulate sh
22828
   NULLCMD=:
22829
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22830
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22831
   # is contrary to our usage.  Disable this feature.
22832
   alias -g '${1+"$@"}'='"$@"'
22833
   setopt NO_GLOB_SUBST
22834
 else
22835
-  case `(set -o) 2>/dev/null` in
22836
-  *posix*) set -o posix ;;
22837
+  case `(set -o) 2>/dev/null` in #(
22838
+  *posix*) :
22839
+    set -o posix ;; #(
22840
+  *) :
22841
+     ;;
22842
 esac
22843
-
22844
 fi
22845
 
22846
 
22847
-
22848
-
22849
-# PATH needs CR
22850
-# Avoid depending upon Character Ranges.
22851
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22852
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22853
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22854
-as_cr_digits='0123456789'
22855
-as_cr_alnum=$as_cr_Letters$as_cr_digits
22856
-
22857
-# The user is always right.
22858
-if test "${PATH_SEPARATOR+set}" != set; then
22859
-  echo "#! /bin/sh" >conf$$.sh
22860
-  echo  "exit 0"   >>conf$$.sh
22861
-  chmod +x conf$$.sh
22862
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22863
-    PATH_SEPARATOR=';'
22864
+as_nl='
22865
+'
22866
+export as_nl
22867
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
22868
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22869
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22870
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22871
+# Prefer a ksh shell builtin over an external printf program on Solaris,
22872
+# but without wasting forks for bash or zsh.
22873
+if test -z "$BASH_VERSION$ZSH_VERSION" \
22874
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22875
+  as_echo='print -r --'
22876
+  as_echo_n='print -rn --'
22877
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22878
+  as_echo='printf %s\n'
22879
+  as_echo_n='printf %s'
22880
+else
22881
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22882
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
22883
+    as_echo_n='/usr/ucb/echo -n'
22884
   else
22885
-    PATH_SEPARATOR=:
22886
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22887
+    as_echo_n_body='eval
22888
+      arg=$1;
22889
+      case $arg in #(
22890
+      *"$as_nl"*)
22891
+	expr "X$arg" : "X\\(.*\\)$as_nl";
22892
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22893
+      esac;
22894
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22895
+    '
22896
+    export as_echo_n_body
22897
+    as_echo_n='sh -c $as_echo_n_body as_echo'
22898
   fi
22899
-  rm -f conf$$.sh
22900
+  export as_echo_body
22901
+  as_echo='sh -c $as_echo_body as_echo'
22902
 fi
22903
 
22904
-# Support unset when possible.
22905
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22906
-  as_unset=unset
22907
-else
22908
-  as_unset=false
22909
+# The user is always right.
22910
+if test "${PATH_SEPARATOR+set}" != set; then
22911
+  PATH_SEPARATOR=:
22912
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22913
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22914
+      PATH_SEPARATOR=';'
22915
+  }
22916
 fi
22917
 
22918
 
22919
@@ -23482,20 +13221,19 @@ fi
22920
 # there to prevent editors from complaining about space-tab.
22921
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22922
 # splitting by setting IFS to empty value.)
22923
-as_nl='
22924
-'
22925
 IFS=" ""	$as_nl"
22926
 
22927
 # Find who we are.  Look in the path if we contain no directory separator.
22928
-case $0 in
22929
+as_myself=
22930
+case $0 in #((
22931
   *[\\/]* ) as_myself=$0 ;;
22932
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22933
 for as_dir in $PATH
22934
 do
22935
   IFS=$as_save_IFS
22936
   test -z "$as_dir" && as_dir=.
22937
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22938
-done
22939
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22940
+  done
22941
 IFS=$as_save_IFS
22942
 
22943
      ;;
22944
@@ -23506,32 +13244,111 @@ if test "x$as_myself" = x; then
22945
   as_myself=$0
22946
 fi
22947
 if test ! -f "$as_myself"; then
22948
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22949
-  { (exit 1); exit 1; }
22950
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22951
+  exit 1
22952
 fi
22953
 
22954
-# Work around bugs in pre-3.0 UWIN ksh.
22955
-for as_var in ENV MAIL MAILPATH
22956
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22957
+# Unset variables that we do not need and which cause bugs (e.g. in
22958
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
22959
+# suppresses any "Segmentation fault" message there.  '((' could
22960
+# trigger a bug in pdksh 5.2.14.
22961
+for as_var in BASH_ENV ENV MAIL MAILPATH
22962
+do eval test x\${$as_var+set} = xset \
22963
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22964
 done
22965
 PS1='$ '
22966
 PS2='> '
22967
 PS4='+ '
22968
 
22969
 # NLS nuisances.
22970
-for as_var in \
22971
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22972
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22973
-  LC_TELEPHONE LC_TIME
22974
-do
22975
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22976
-    eval $as_var=C; export $as_var
22977
-  else
22978
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22979
+LC_ALL=C
22980
+export LC_ALL
22981
+LANGUAGE=C
22982
+export LANGUAGE
22983
+
22984
+# CDPATH.
22985
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22986
+
22987
+
22988
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
22989
+# ----------------------------------------
22990
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22991
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22992
+# script with STATUS, using 1 if that was 0.
22993
+as_fn_error ()
22994
+{
22995
+  as_status=$1; test $as_status -eq 0 && as_status=1
22996
+  if test "$4"; then
22997
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22998
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22999
   fi
23000
-done
23001
+  $as_echo "$as_me: error: $2" >&2
23002
+  as_fn_exit $as_status
23003
+} # as_fn_error
23004
+
23005
+
23006
+# as_fn_set_status STATUS
23007
+# -----------------------
23008
+# Set $? to STATUS, without forking.
23009
+as_fn_set_status ()
23010
+{
23011
+  return $1
23012
+} # as_fn_set_status
23013
+
23014
+# as_fn_exit STATUS
23015
+# -----------------
23016
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23017
+as_fn_exit ()
23018
+{
23019
+  set +e
23020
+  as_fn_set_status $1
23021
+  exit $1
23022
+} # as_fn_exit
23023
+
23024
+# as_fn_unset VAR
23025
+# ---------------
23026
+# Portably unset VAR.
23027
+as_fn_unset ()
23028
+{
23029
+  { eval $1=; unset $1;}
23030
+}
23031
+as_unset=as_fn_unset
23032
+# as_fn_append VAR VALUE
23033
+# ----------------------
23034
+# Append the text in VALUE to the end of the definition contained in VAR. Take
23035
+# advantage of any shell optimizations that allow amortized linear growth over
23036
+# repeated appends, instead of the typical quadratic growth present in naive
23037
+# implementations.
23038
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23039
+  eval 'as_fn_append ()
23040
+  {
23041
+    eval $1+=\$2
23042
+  }'
23043
+else
23044
+  as_fn_append ()
23045
+  {
23046
+    eval $1=\$$1\$2
23047
+  }
23048
+fi # as_fn_append
23049
+
23050
+# as_fn_arith ARG...
23051
+# ------------------
23052
+# Perform arithmetic evaluation on the ARGs, and store the result in the
23053
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
23054
+# must be portable across $(()) and expr.
23055
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23056
+  eval 'as_fn_arith ()
23057
+  {
23058
+    as_val=$(( $* ))
23059
+  }'
23060
+else
23061
+  as_fn_arith ()
23062
+  {
23063
+    as_val=`expr "$@" || test $? -eq 1`
23064
+  }
23065
+fi # as_fn_arith
23066
+
23067
 
23068
-# Required to use basename.
23069
 if expr a : '\(a\)' >/dev/null 2>&1 &&
23070
    test "X`expr 00001 : '.*\(...\)'`" = X001; then
23071
   as_expr=expr
23072
@@ -23545,13 +13362,17 @@ else
23073
   as_basename=false
23074
 fi
23075
 
23076
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23077
+  as_dirname=dirname
23078
+else
23079
+  as_dirname=false
23080
+fi
23081
 
23082
-# Name of the executable.
23083
 as_me=`$as_basename -- "$0" ||
23084
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23085
 	 X"$0" : 'X\(//\)$' \| \
23086
 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23087
-echo X/"$0" |
23088
+$as_echo X/"$0" |
23089
     sed '/^.*\/\([^/][^/]*\)\/*$/{
23090
 	    s//\1/
23091
 	    q
23092
@@ -23566,131 +13387,118 @@ echo X/"$0" |
23093
 	  }
23094
 	  s/.*/./; q'`
23095
 
23096
-# CDPATH.
23097
-$as_unset CDPATH
23098
-
23099
-
23100
-
23101
-  as_lineno_1=$LINENO
23102
-  as_lineno_2=$LINENO
23103
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
23104
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23105
-
23106
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23107
-  # uniformly replaced by the line number.  The first 'sed' inserts a
23108
-  # line-number line after each line using $LINENO; the second 'sed'
23109
-  # does the real work.  The second script uses 'N' to pair each
23110
-  # line-number line with the line containing $LINENO, and appends
23111
-  # trailing '-' during substitution so that $LINENO is not a special
23112
-  # case at line end.
23113
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23114
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
23115
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
23116
-  sed -n '
23117
-    p
23118
-    /[$]LINENO/=
23119
-  ' <$as_myself |
23120
-    sed '
23121
-      s/[$]LINENO.*/&-/
23122
-      t lineno
23123
-      b
23124
-      :lineno
23125
-      N
23126
-      :loop
23127
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23128
-      t loop
23129
-      s/-\n.*//
23130
-    ' >$as_me.lineno &&
23131
-  chmod +x "$as_me.lineno" ||
23132
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23133
-   { (exit 1); exit 1; }; }
23134
-
23135
-  # Don't try to exec as it changes $[0], causing all sort of problems
23136
-  # (the dirname of $[0] is not the place where we might find the
23137
-  # original and so on.  Autoconf is especially sensitive to this).
23138
-  . "./$as_me.lineno"
23139
-  # Exit status is that of the last command.
23140
-  exit
23141
-}
23142
-
23143
-
23144
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23145
-  as_dirname=dirname
23146
-else
23147
-  as_dirname=false
23148
-fi
23149
+# Avoid depending upon Character Ranges.
23150
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23151
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23152
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23153
+as_cr_digits='0123456789'
23154
+as_cr_alnum=$as_cr_Letters$as_cr_digits
23155
 
23156
 ECHO_C= ECHO_N= ECHO_T=
23157
-case `echo -n x` in
23158
+case `echo -n x` in #(((((
23159
 -n*)
23160
-  case `echo 'x\c'` in
23161
+  case `echo 'xy\c'` in
23162
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
23163
-  *)   ECHO_C='\c';;
23164
+  xy)  ECHO_C='\c';;
23165
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
23166
+       ECHO_T='	';;
23167
   esac;;
23168
 *)
23169
   ECHO_N='-n';;
23170
 esac
23171
 
23172
-if expr a : '\(a\)' >/dev/null 2>&1 &&
23173
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23174
-  as_expr=expr
23175
-else
23176
-  as_expr=false
23177
-fi
23178
-
23179
 rm -f conf$$ conf$$.exe conf$$.file
23180
 if test -d conf$$.dir; then
23181
   rm -f conf$$.dir/conf$$.file
23182
 else
23183
   rm -f conf$$.dir
23184
-  mkdir conf$$.dir
23185
+  mkdir conf$$.dir 2>/dev/null
23186
 fi
23187
-echo >conf$$.file
23188
-if ln -s conf$$.file conf$$ 2>/dev/null; then
23189
-  as_ln_s='ln -s'
23190
-  # ... but there are two gotchas:
23191
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23192
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23193
-  # In both cases, we have to default to `cp -p'.
23194
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23195
-    as_ln_s='cp -p'
23196
-elif ln conf$$.file conf$$ 2>/dev/null; then
23197
-  as_ln_s=ln
23198
+if (echo >conf$$.file) 2>/dev/null; then
23199
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
23200
+    as_ln_s='ln -s'
23201
+    # ... but there are two gotchas:
23202
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23203
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23204
+    # In both cases, we have to default to `cp -pR'.
23205
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23206
+      as_ln_s='cp -pR'
23207
+  elif ln conf$$.file conf$$ 2>/dev/null; then
23208
+    as_ln_s=ln
23209
+  else
23210
+    as_ln_s='cp -pR'
23211
+  fi
23212
 else
23213
-  as_ln_s='cp -p'
23214
+  as_ln_s='cp -pR'
23215
 fi
23216
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23217
 rmdir conf$$.dir 2>/dev/null
23218
 
23219
+
23220
+# as_fn_mkdir_p
23221
+# -------------
23222
+# Create "$as_dir" as a directory, including parents if necessary.
23223
+as_fn_mkdir_p ()
23224
+{
23225
+
23226
+  case $as_dir in #(
23227
+  -*) as_dir=./$as_dir;;
23228
+  esac
23229
+  test -d "$as_dir" || eval $as_mkdir_p || {
23230
+    as_dirs=
23231
+    while :; do
23232
+      case $as_dir in #(
23233
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23234
+      *) as_qdir=$as_dir;;
23235
+      esac
23236
+      as_dirs="'$as_qdir' $as_dirs"
23237
+      as_dir=`$as_dirname -- "$as_dir" ||
23238
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23239
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
23240
+	 X"$as_dir" : 'X\(//\)$' \| \
23241
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23242
+$as_echo X"$as_dir" |
23243
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23244
+	    s//\1/
23245
+	    q
23246
+	  }
23247
+	  /^X\(\/\/\)[^/].*/{
23248
+	    s//\1/
23249
+	    q
23250
+	  }
23251
+	  /^X\(\/\/\)$/{
23252
+	    s//\1/
23253
+	    q
23254
+	  }
23255
+	  /^X\(\/\).*/{
23256
+	    s//\1/
23257
+	    q
23258
+	  }
23259
+	  s/.*/./; q'`
23260
+      test -d "$as_dir" && break
23261
+    done
23262
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
23263
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23264
+
23265
+
23266
+} # as_fn_mkdir_p
23267
 if mkdir -p . 2>/dev/null; then
23268
-  as_mkdir_p=:
23269
+  as_mkdir_p='mkdir -p "$as_dir"'
23270
 else
23271
   test -d ./-p && rmdir ./-p
23272
   as_mkdir_p=false
23273
 fi
23274
 
23275
-if test -x / >/dev/null 2>&1; then
23276
-  as_test_x='test -x'
23277
-else
23278
-  if ls -dL / >/dev/null 2>&1; then
23279
-    as_ls_L_option=L
23280
-  else
23281
-    as_ls_L_option=
23282
-  fi
23283
-  as_test_x='
23284
-    eval sh -c '\''
23285
-      if test -d "$1"; then
23286
-        test -d "$1/.";
23287
-      else
23288
-	case $1 in
23289
-        -*)set "./$1";;
23290
-	esac;
23291
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23292
-	???[sx]*):;;*)false;;esac;fi
23293
-    '\'' sh
23294
-  '
23295
-fi
23296
-as_executable_p=$as_test_x
23297
+
23298
+# as_fn_executable_p FILE
23299
+# -----------------------
23300
+# Test if FILE is an executable regular file.
23301
+as_fn_executable_p ()
23302
+{
23303
+  test -f "$1" && test -x "$1"
23304
+} # as_fn_executable_p
23305
+as_test_x='test -x'
23306
+as_executable_p=as_fn_executable_p
23307
 
23308
 # Sed expression to map a string onto a valid CPP name.
23309
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23310
@@ -23700,13 +13508,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
23311
 
23312
 
23313
 exec 6>&1
23314
+## ----------------------------------- ##
23315
+## Main body of $CONFIG_STATUS script. ##
23316
+## ----------------------------------- ##
23317
+_ASEOF
23318
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23319
 
23320
-# Save the log message, to keep $[0] and so on meaningful, and to
23321
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23322
+# Save the log message, to keep $0 and so on meaningful, and to
23323
 # report actual input values of CONFIG_FILES etc. instead of their
23324
 # values after options handling.
23325
 ac_log="
23326
 This file was extended by $as_me, which was
23327
-generated by GNU Autoconf 2.61.  Invocation command line was
23328
+generated by GNU Autoconf 2.69.  Invocation command line was
23329
 
23330
   CONFIG_FILES    = $CONFIG_FILES
23331
   CONFIG_HEADERS  = $CONFIG_HEADERS
23332
@@ -23719,29 +13533,41 @@ on `(hostname || uname -n) 2>/dev/null |
23333
 
23334
 _ACEOF
23335
 
23336
-cat >>$CONFIG_STATUS <<_ACEOF
23337
+case $ac_config_files in *"
23338
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
23339
+esac
23340
+
23341
+case $ac_config_headers in *"
23342
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23343
+esac
23344
+
23345
+
23346
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23347
 # Files that config.status was made for.
23348
 config_files="$ac_config_files"
23349
 config_headers="$ac_config_headers"
23350
 
23351
 _ACEOF
23352
 
23353
-cat >>$CONFIG_STATUS <<\_ACEOF
23354
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23355
 ac_cs_usage="\
23356
-\`$as_me' instantiates files from templates according to the
23357
-current configuration.
23358
+\`$as_me' instantiates files and other configuration actions
23359
+from templates according to the current configuration.  Unless the files
23360
+and actions are specified as TAGs, all are instantiated by default.
23361
 
23362
-Usage: $0 [OPTIONS] [FILE]...
23363
+Usage: $0 [OPTION]... [TAG]...
23364
 
23365
   -h, --help       print this help, then exit
23366
   -V, --version    print version number and configuration settings, then exit
23367
-  -q, --quiet      do not print progress messages
23368
+      --config     print configuration, then exit
23369
+  -q, --quiet, --silent
23370
+                   do not print progress messages
23371
   -d, --debug      don't remove temporary files
23372
       --recheck    update $as_me by reconfiguring in the same conditions
23373
-  --file=FILE[:TEMPLATE]
23374
-		   instantiate the configuration file FILE
23375
-  --header=FILE[:TEMPLATE]
23376
-		   instantiate the configuration header FILE
23377
+      --file=FILE[:TEMPLATE]
23378
+                   instantiate the configuration file FILE
23379
+      --header=FILE[:TEMPLATE]
23380
+                   instantiate the configuration header FILE
23381
 
23382
 Configuration files:
23383
 $config_files
23384
@@ -23749,36 +13575,43 @@ $config_files
23385
 Configuration headers:
23386
 $config_headers
23387
 
23388
-Report bugs to <bug-autoconf@gnu.org>."
23389
+Report bugs to the package provider."
23390
 
23391
 _ACEOF
23392
-cat >>$CONFIG_STATUS <<_ACEOF
23393
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23394
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23395
 ac_cs_version="\\
23396
 config.status
23397
-configured by $0, generated by GNU Autoconf 2.61,
23398
-  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23399
+configured by $0, generated by GNU Autoconf 2.69,
23400
+  with options \\"\$ac_cs_config\\"
23401
 
23402
-Copyright (C) 2006 Free Software Foundation, Inc.
23403
+Copyright (C) 2012 Free Software Foundation, Inc.
23404
 This config.status script is free software; the Free Software Foundation
23405
 gives unlimited permission to copy, distribute and modify it."
23406
 
23407
 ac_pwd='$ac_pwd'
23408
 srcdir='$srcdir'
23409
 INSTALL='$INSTALL'
23410
+AWK='$AWK'
23411
+test -n "\$AWK" || AWK=awk
23412
 _ACEOF
23413
 
23414
-cat >>$CONFIG_STATUS <<\_ACEOF
23415
-# If no file are specified by the user, then we need to provide default
23416
-# value.  By we need to know if files were specified by the user.
23417
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23418
+# The default lists apply if the user does not specify any file.
23419
 ac_need_defaults=:
23420
 while test $# != 0
23421
 do
23422
   case $1 in
23423
-  --*=*)
23424
+  --*=?*)
23425
     ac_option=`expr "X$1" : 'X\([^=]*\)='`
23426
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23427
     ac_shift=:
23428
     ;;
23429
+  --*=)
23430
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23431
+    ac_optarg=
23432
+    ac_shift=:
23433
+    ;;
23434
   *)
23435
     ac_option=$1
23436
     ac_optarg=$2
23437
@@ -23791,34 +13624,41 @@ do
23438
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23439
     ac_cs_recheck=: ;;
23440
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23441
-    echo "$ac_cs_version"; exit ;;
23442
+    $as_echo "$ac_cs_version"; exit ;;
23443
+  --config | --confi | --conf | --con | --co | --c )
23444
+    $as_echo "$ac_cs_config"; exit ;;
23445
   --debug | --debu | --deb | --de | --d | -d )
23446
     debug=: ;;
23447
   --file | --fil | --fi | --f )
23448
     $ac_shift
23449
-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23450
+    case $ac_optarg in
23451
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23452
+    '') as_fn_error $? "missing file argument" ;;
23453
+    esac
23454
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
23455
     ac_need_defaults=false;;
23456
   --header | --heade | --head | --hea )
23457
     $ac_shift
23458
-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23459
+    case $ac_optarg in
23460
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23461
+    esac
23462
+    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23463
     ac_need_defaults=false;;
23464
   --he | --h)
23465
     # Conflict between --help and --header
23466
-    { echo "$as_me: error: ambiguous option: $1
23467
-Try \`$0 --help' for more information." >&2
23468
-   { (exit 1); exit 1; }; };;
23469
+    as_fn_error $? "ambiguous option: \`$1'
23470
+Try \`$0 --help' for more information.";;
23471
   --help | --hel | -h )
23472
-    echo "$ac_cs_usage"; exit ;;
23473
+    $as_echo "$ac_cs_usage"; exit ;;
23474
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23475
   | -silent | --silent | --silen | --sile | --sil | --si | --s)
23476
     ac_cs_silent=: ;;
23477
 
23478
   # This is an error.
23479
-  -*) { echo "$as_me: error: unrecognized option: $1
23480
-Try \`$0 --help' for more information." >&2
23481
-   { (exit 1); exit 1; }; } ;;
23482
+  -*) as_fn_error $? "unrecognized option: \`$1'
23483
+Try \`$0 --help' for more information." ;;
23484
 
23485
-  *) ac_config_targets="$ac_config_targets $1"
23486
+  *) as_fn_append ac_config_targets " $1"
23487
      ac_need_defaults=false ;;
23488
 
23489
   esac
23490
@@ -23833,30 +13673,32 @@ if $ac_cs_silent; then
23491
 fi
23492
 
23493
 _ACEOF
23494
-cat >>$CONFIG_STATUS <<_ACEOF
23495
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23496
 if \$ac_cs_recheck; then
23497
-  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23498
-  CONFIG_SHELL=$SHELL
23499
+  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23500
+  shift
23501
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23502
+  CONFIG_SHELL='$SHELL'
23503
   export CONFIG_SHELL
23504
-  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23505
+  exec "\$@"
23506
 fi
23507
 
23508
 _ACEOF
23509
-cat >>$CONFIG_STATUS <<\_ACEOF
23510
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23511
 exec 5>>config.log
23512
 {
23513
   echo
23514
   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23515
 ## Running $as_me. ##
23516
 _ASBOX
23517
-  echo "$ac_log"
23518
+  $as_echo "$ac_log"
23519
 } >&5
23520
 
23521
 _ACEOF
23522
-cat >>$CONFIG_STATUS <<_ACEOF
23523
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23524
 _ACEOF
23525
 
23526
-cat >>$CONFIG_STATUS <<\_ACEOF
23527
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23528
 
23529
 # Handling of arguments.
23530
 for ac_config_target in $ac_config_targets
23531
@@ -23871,9 +13713,7 @@ do
23532
     "src/intl/gettext/ref-add.sed") CONFIG_FILES="$CONFIG_FILES src/intl/gettext/ref-add.sed" ;;
23533
     "src/intl/gettext/ref-del.sed") CONFIG_FILES="$CONFIG_FILES src/intl/gettext/ref-del.sed" ;;
23534
 
23535
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23536
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23537
-   { (exit 1); exit 1; }; };;
23538
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23539
   esac
23540
 done
23541
 
23542
@@ -23895,331 +13735,302 @@ fi
23543
 # after its creation but before its name has been assigned to `$tmp'.
23544
 $debug ||
23545
 {
23546
-  tmp=
23547
+  tmp= ac_tmp=
23548
   trap 'exit_status=$?
23549
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23550
+  : "${ac_tmp:=$tmp}"
23551
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23552
 ' 0
23553
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
23554
+  trap 'as_fn_exit 1' 1 2 13 15
23555
 }
23556
 # Create a (secure) tmp directory for tmp files.
23557
 
23558
 {
23559
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23560
-  test -n "$tmp" && test -d "$tmp"
23561
+  test -d "$tmp"
23562
 }  ||
23563
 {
23564
   tmp=./conf$$-$RANDOM
23565
   (umask 077 && mkdir "$tmp")
23566
-} ||
23567
-{
23568
-   echo "$me: cannot create a temporary directory in ." >&2
23569
-   { (exit 1); exit 1; }
23570
-}
23571
-
23572
-#
23573
-# Set up the sed scripts for CONFIG_FILES section.
23574
-#
23575
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23576
+ac_tmp=$tmp
23577
 
23578
-# No need to generate the scripts if there are no CONFIG_FILES.
23579
-# This happens for instance when ./config.status config.h
23580
+# Set up the scripts for CONFIG_FILES section.
23581
+# No need to generate them if there are no CONFIG_FILES.
23582
+# This happens for instance with `./config.status config.h'.
23583
 if test -n "$CONFIG_FILES"; then
23584
 
23585
-_ACEOF
23586
-
23587
-
23588
 
23589
-ac_delim='%!_!# '
23590
-for ac_last_try in false false false false false :; do
23591
-  cat >conf$$subs.sed <<_ACEOF
23592
-SHELL!$SHELL$ac_delim
23593
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23594
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23595
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23596
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23597
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23598
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23599
-exec_prefix!$exec_prefix$ac_delim
23600
-prefix!$prefix$ac_delim
23601
-program_transform_name!$program_transform_name$ac_delim
23602
-bindir!$bindir$ac_delim
23603
-sbindir!$sbindir$ac_delim
23604
-libexecdir!$libexecdir$ac_delim
23605
-datarootdir!$datarootdir$ac_delim
23606
-datadir!$datadir$ac_delim
23607
-sysconfdir!$sysconfdir$ac_delim
23608
-sharedstatedir!$sharedstatedir$ac_delim
23609
-localstatedir!$localstatedir$ac_delim
23610
-includedir!$includedir$ac_delim
23611
-oldincludedir!$oldincludedir$ac_delim
23612
-docdir!$docdir$ac_delim
23613
-infodir!$infodir$ac_delim
23614
-htmldir!$htmldir$ac_delim
23615
-dvidir!$dvidir$ac_delim
23616
-pdfdir!$pdfdir$ac_delim
23617
-psdir!$psdir$ac_delim
23618
-libdir!$libdir$ac_delim
23619
-localedir!$localedir$ac_delim
23620
-mandir!$mandir$ac_delim
23621
-DEFS!$DEFS$ac_delim
23622
-ECHO_C!$ECHO_C$ac_delim
23623
-ECHO_N!$ECHO_N$ac_delim
23624
-ECHO_T!$ECHO_T$ac_delim
23625
-LIBS!$LIBS$ac_delim
23626
-build_alias!$build_alias$ac_delim
23627
-host_alias!$host_alias$ac_delim
23628
-target_alias!$target_alias$ac_delim
23629
-PACKAGE!$PACKAGE$ac_delim
23630
-VERSION!$VERSION$ac_delim
23631
-ACLOCAL!$ACLOCAL$ac_delim
23632
-AUTOCONF!$AUTOCONF$ac_delim
23633
-AUTOHEADER!$AUTOHEADER$ac_delim
23634
-MAKE!$MAKE$ac_delim
23635
-CC!$CC$ac_delim
23636
-CFLAGS!$CFLAGS$ac_delim
23637
-LDFLAGS!$LDFLAGS$ac_delim
23638
-CPPFLAGS!$CPPFLAGS$ac_delim
23639
-ac_ct_CC!$ac_ct_CC$ac_delim
23640
-EXEEXT!$EXEEXT$ac_delim
23641
-OBJEXT!$OBJEXT$ac_delim
23642
-AWK!$AWK$ac_delim
23643
-RANLIB!$RANLIB$ac_delim
23644
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23645
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23646
-INSTALL_DATA!$INSTALL_DATA$ac_delim
23647
-GIT!$GIT$ac_delim
23648
-SPARSE!$SPARSE$ac_delim
23649
-ASCIIDOC!$ASCIIDOC$ac_delim
23650
-XMLTO!$XMLTO$ac_delim
23651
-JW!$JW$ac_delim
23652
-POD2HTML!$POD2HTML$ac_delim
23653
-ASCIIDOC_FLAGS!$ASCIIDOC_FLAGS$ac_delim
23654
-CONFIG_ASCIIDOC!$CONFIG_ASCIIDOC$ac_delim
23655
-CONFIG_POD2HTML!$CONFIG_POD2HTML$ac_delim
23656
-CONFIG_XMLTO!$CONFIG_XMLTO$ac_delim
23657
-CONFIG_JW!$CONFIG_JW$ac_delim
23658
-CONFIG_DOC!$CONFIG_DOC$ac_delim
23659
-CONFIG_MANUAL!$CONFIG_MANUAL$ac_delim
23660
-CONFIG_MANPAGE!$CONFIG_MANPAGE$ac_delim
23661
-CONFIG_BEOS!$CONFIG_BEOS$ac_delim
23662
-CONFIG_RISCOS!$CONFIG_RISCOS$ac_delim
23663
-CONFIG_WIN32!$CONFIG_WIN32$ac_delim
23664
-CONFIG_OS2!$CONFIG_OS2$ac_delim
23665
-CONFIG_UNIX!$CONFIG_UNIX$ac_delim
23666
-CPP!$CPP$ac_delim
23667
-GREP!$GREP$ac_delim
23668
-EGREP!$EGREP$ac_delim
23669
-CONFIG_INTERLINK!$CONFIG_INTERLINK$ac_delim
23670
-LIBOBJS!$LIBOBJS$ac_delim
23671
-CONFIG_GPM!$CONFIG_GPM$ac_delim
23672
-CONFIG_GZIP!$CONFIG_GZIP$ac_delim
23673
-CONFIG_BZIP2!$CONFIG_BZIP2$ac_delim
23674
-CONFIG_IDN!$CONFIG_IDN$ac_delim
23675
-CONFIG_BOOKMARKS!$CONFIG_BOOKMARKS$ac_delim
23676
-CONFIG_XBEL_BOOKMARKS!$CONFIG_XBEL_BOOKMARKS$ac_delim
23677
-SPIDERMONKEY_LIBS!$SPIDERMONKEY_LIBS$ac_delim
23678
-SPIDERMONKEY_CFLAGS!$SPIDERMONKEY_CFLAGS$ac_delim
23679
-CONFIG_SPIDERMONKEY!$CONFIG_SPIDERMONKEY$ac_delim
23680
-CONFIG_ECMASCRIPT!$CONFIG_ECMASCRIPT$ac_delim
23681
-GUILE_CONFIG!$GUILE_CONFIG$ac_delim
23682
-GUILE_CFLAGS!$GUILE_CFLAGS$ac_delim
23683
-PERL_LIBS!$PERL_LIBS$ac_delim
23684
-PERL_CFLAGS!$PERL_CFLAGS$ac_delim
23685
-PYTHON_LIBS!$PYTHON_LIBS$ac_delim
23686
-PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
23687
-LUA_LIBS!$LUA_LIBS$ac_delim
23688
-LUA_CFLAGS!$LUA_CFLAGS$ac_delim
23689
-_ACEOF
23690
-
23691
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23692
-    break
23693
-  elif $ac_last_try; then
23694
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23695
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23696
-   { (exit 1); exit 1; }; }
23697
-  else
23698
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23699
-  fi
23700
-done
23701
-
23702
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23703
-if test -n "$ac_eof"; then
23704
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23705
-  ac_eof=`expr $ac_eof + 1`
23706
+ac_cr=`echo X | tr X '\015'`
23707
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
23708
+# But we know of no other shell where ac_cr would be empty at this
23709
+# point, so we can use a bashism as a fallback.
23710
+if test "x$ac_cr" = x; then
23711
+  eval ac_cr=\$\'\\r\'
23712
+fi
23713
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23714
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23715
+  ac_cs_awk_cr='\\r'
23716
+else
23717
+  ac_cs_awk_cr=$ac_cr
23718
 fi
23719
 
23720
-cat >>$CONFIG_STATUS <<_ACEOF
23721
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23722
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23723
-_ACEOF
23724
-sed '
23725
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23726
-s/^/s,@/; s/!/@,|#_!!_#|/
23727
-:n
23728
-t n
23729
-s/'"$ac_delim"'$/,g/; t
23730
-s/$/\\/; p
23731
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23732
-' >>$CONFIG_STATUS <conf$$subs.sed
23733
-rm -f conf$$subs.sed
23734
-cat >>$CONFIG_STATUS <<_ACEOF
23735
-CEOF$ac_eof
23736
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23737
 _ACEOF
23738
 
23739
 
23740
+{
23741
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
23742
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23743
+  echo "_ACEOF"
23744
+} >conf$$subs.sh ||
23745
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23746
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23747
 ac_delim='%!_!# '
23748
 for ac_last_try in false false false false false :; do
23749
-  cat >conf$$subs.sed <<_ACEOF
23750
-CONFIG_RUBY!$CONFIG_RUBY$ac_delim
23751
-RUBY_CFLAGS!$RUBY_CFLAGS$ac_delim
23752
-RUBY_LIBS!$RUBY_LIBS$ac_delim
23753
-CONFIG_SCRIPTING!$CONFIG_SCRIPTING$ac_delim
23754
-CONFIG_GUILE!$CONFIG_GUILE$ac_delim
23755
-CONFIG_LUA!$CONFIG_LUA$ac_delim
23756
-CONFIG_PERL!$CONFIG_PERL$ac_delim
23757
-CONFIG_PYTHON!$CONFIG_PYTHON$ac_delim
23758
-CONFIG_SM_SCRIPTING!$CONFIG_SM_SCRIPTING$ac_delim
23759
-OPENSSL_CFLAGS!$OPENSSL_CFLAGS$ac_delim
23760
-LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
23761
-GNUTLS_CFLAGS!$GNUTLS_CFLAGS$ac_delim
23762
-CONFIG_SSL!$CONFIG_SSL$ac_delim
23763
-CONFIG_GNUTLS_OPENSSL_COMPAT!$CONFIG_GNUTLS_OPENSSL_COMPAT$ac_delim
23764
-CONFIG_OPENSSL!$CONFIG_OPENSSL$ac_delim
23765
-CONFIG_GNUTLS!$CONFIG_GNUTLS$ac_delim
23766
-XMKMF!$XMKMF$ac_delim
23767
-X_CFLAGS!$X_CFLAGS$ac_delim
23768
-HAVE_SMBCLIENT!$HAVE_SMBCLIENT$ac_delim
23769
-SET_MAKE!$SET_MAKE$ac_delim
23770
-build!$build$ac_delim
23771
-build_cpu!$build_cpu$ac_delim
23772
-build_vendor!$build_vendor$ac_delim
23773
-build_os!$build_os$ac_delim
23774
-host!$host$ac_delim
23775
-host_cpu!$host_cpu$ac_delim
23776
-host_vendor!$host_vendor$ac_delim
23777
-host_os!$host_os$ac_delim
23778
-ALLOCA!$ALLOCA$ac_delim
23779
-GLIBC21!$GLIBC21$ac_delim
23780
-CONFIG_NLS!$CONFIG_NLS$ac_delim
23781
-CONFIG_NLS_TRUE!$CONFIG_NLS_TRUE$ac_delim
23782
-CONFIG_NLS_FALSE!$CONFIG_NLS_FALSE$ac_delim
23783
-MSGFMT!$MSGFMT$ac_delim
23784
-GMSGFMT!$GMSGFMT$ac_delim
23785
-XGETTEXT!$XGETTEXT$ac_delim
23786
-INTLBISON!$INTLBISON$ac_delim
23787
-CATALOGS!$CATALOGS$ac_delim
23788
-GMOFILES!$GMOFILES$ac_delim
23789
-MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23790
-INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
23791
-CONFIG_COOKIES!$CONFIG_COOKIES$ac_delim
23792
-CONFIG_FORMHIST!$CONFIG_FORMHIST$ac_delim
23793
-CONFIG_GLOBHIST!$CONFIG_GLOBHIST$ac_delim
23794
-CONFIG_MAILCAP!$CONFIG_MAILCAP$ac_delim
23795
-CONFIG_MIMETYPES!$CONFIG_MIMETYPES$ac_delim
23796
-CONFIG_IPV6!$CONFIG_IPV6$ac_delim
23797
-CONFIG_BITTORRENT!$CONFIG_BITTORRENT$ac_delim
23798
-CONFIG_DATA!$CONFIG_DATA$ac_delim
23799
-CONFIG_URI_REWRITE!$CONFIG_URI_REWRITE$ac_delim
23800
-CONFIG_CGI!$CONFIG_CGI$ac_delim
23801
-CONFIG_FINGER!$CONFIG_FINGER$ac_delim
23802
-CONFIG_FSP!$CONFIG_FSP$ac_delim
23803
-CONFIG_FTP!$CONFIG_FTP$ac_delim
23804
-CONFIG_GOPHER!$CONFIG_GOPHER$ac_delim
23805
-CONFIG_NNTP!$CONFIG_NNTP$ac_delim
23806
-CONFIG_SMB!$CONFIG_SMB$ac_delim
23807
-CONFIG_MOUSE!$CONFIG_MOUSE$ac_delim
23808
-CONFIG_SYSMOUSE!$CONFIG_SYSMOUSE$ac_delim
23809
-CONFIG_88_COLORS!$CONFIG_88_COLORS$ac_delim
23810
-CONFIG_256_COLORS!$CONFIG_256_COLORS$ac_delim
23811
-CONFIG_EXMODE!$CONFIG_EXMODE$ac_delim
23812
-CONFIG_LEDS!$CONFIG_LEDS$ac_delim
23813
-CONFIG_MARKS!$CONFIG_MARKS$ac_delim
23814
-CONFIG_CSS!$CONFIG_CSS$ac_delim
23815
-CONFIG_HTML_HIGHLIGHT!$CONFIG_HTML_HIGHLIGHT$ac_delim
23816
-CONFIG_DOM!$CONFIG_DOM$ac_delim
23817
-CONFIG_BACKTRACE!$CONFIG_BACKTRACE$ac_delim
23818
-CONFIG_NO_ROOT_EXEC!$CONFIG_NO_ROOT_EXEC$ac_delim
23819
-CONFIG_DEBUG!$CONFIG_DEBUG$ac_delim
23820
-CONFIG_FASTMEM!$CONFIG_FASTMEM$ac_delim
23821
-CONFIG_OWN_LIBC!$CONFIG_OWN_LIBC$ac_delim
23822
-CONFIG_SMALL!$CONFIG_SMALL$ac_delim
23823
-CONFIG_MD5!$CONFIG_MD5$ac_delim
23824
-CONFIG_SHA1!$CONFIG_SHA1$ac_delim
23825
-CONFIG_SCANNER!$CONFIG_SCANNER$ac_delim
23826
-CONFDIR!$CONFDIR$ac_delim
23827
-LOCALEDIR!$LOCALEDIR$ac_delim
23828
-LIBDIR!$LIBDIR$ac_delim
23829
-ALL_CFLAGS!$ALL_CFLAGS$ac_delim
23830
-MAKE_COLOR!$MAKE_COLOR$ac_delim
23831
-LTLIBOBJS!$LTLIBOBJS$ac_delim
23832
-_ACEOF
23833
+  . ./conf$$subs.sh ||
23834
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23835
 
23836
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23837
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23838
+  if test $ac_delim_n = $ac_delim_num; then
23839
     break
23840
   elif $ac_last_try; then
23841
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23842
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23843
-   { (exit 1); exit 1; }; }
23844
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23845
   else
23846
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23847
   fi
23848
 done
23849
+rm -f conf$$subs.sh
23850
 
23851
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23852
-if test -n "$ac_eof"; then
23853
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23854
-  ac_eof=`expr $ac_eof + 1`
23855
-fi
23856
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23857
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23858
+_ACEOF
23859
+sed -n '
23860
+h
23861
+s/^/S["/; s/!.*/"]=/
23862
+p
23863
+g
23864
+s/^[^!]*!//
23865
+:repl
23866
+t repl
23867
+s/'"$ac_delim"'$//
23868
+t delim
23869
+:nl
23870
+h
23871
+s/\(.\{148\}\)..*/\1/
23872
+t more1
23873
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
23874
+p
23875
+n
23876
+b repl
23877
+:more1
23878
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23879
+p
23880
+g
23881
+s/.\{148\}//
23882
+t nl
23883
+:delim
23884
+h
23885
+s/\(.\{148\}\)..*/\1/
23886
+t more2
23887
+s/["\\]/\\&/g; s/^/"/; s/$/"/
23888
+p
23889
+b
23890
+:more2
23891
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23892
+p
23893
+g
23894
+s/.\{148\}//
23895
+t delim
23896
+' <conf$$subs.awk | sed '
23897
+/^[^""]/{
23898
+  N
23899
+  s/\n//
23900
+}
23901
+' >>$CONFIG_STATUS || ac_write_fail=1
23902
+rm -f conf$$subs.awk
23903
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23904
+_ACAWK
23905
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23906
+  for (key in S) S_is_set[key] = 1
23907
+  FS = ""
23908
 
23909
-cat >>$CONFIG_STATUS <<_ACEOF
23910
-cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23911
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23912
+}
23913
+{
23914
+  line = $ 0
23915
+  nfields = split(line, field, "@")
23916
+  substed = 0
23917
+  len = length(field[1])
23918
+  for (i = 2; i < nfields; i++) {
23919
+    key = field[i]
23920
+    keylen = length(key)
23921
+    if (S_is_set[key]) {
23922
+      value = S[key]
23923
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23924
+      len += length(value) + length(field[++i])
23925
+      substed = 1
23926
+    } else
23927
+      len += 1 + keylen
23928
+  }
23929
+
23930
+  print line
23931
+}
23932
+
23933
+_ACAWK
23934
 _ACEOF
23935
-sed '
23936
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23937
-s/^/s,@/; s/!/@,|#_!!_#|/
23938
-:n
23939
-t n
23940
-s/'"$ac_delim"'$/,g/; t
23941
-s/$/\\/; p
23942
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23943
-' >>$CONFIG_STATUS <conf$$subs.sed
23944
-rm -f conf$$subs.sed
23945
-cat >>$CONFIG_STATUS <<_ACEOF
23946
-:end
23947
-s/|#_!!_#|//g
23948
-CEOF$ac_eof
23949
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23950
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23951
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23952
+else
23953
+  cat
23954
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
23955
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23956
 _ACEOF
23957
 
23958
-
23959
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
23960
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23961
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23962
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
23963
 # trailing colons and then remove the whole line if VPATH becomes empty
23964
 # (actually we leave an empty line to preserve line numbers).
23965
 if test "x$srcdir" = x.; then
23966
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
23967
-s/:*\$(srcdir):*/:/
23968
-s/:*\${srcdir}:*/:/
23969
-s/:*@srcdir@:*/:/
23970
-s/^\([^=]*=[	 ]*\):*/\1/
23971
+  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
23972
+h
23973
+s///
23974
+s/^/:/
23975
+s/[	 ]*$/:/
23976
+s/:\$(srcdir):/:/g
23977
+s/:\${srcdir}:/:/g
23978
+s/:@srcdir@:/:/g
23979
+s/^:*//
23980
 s/:*$//
23981
+x
23982
+s/\(=[	 ]*\).*/\1/
23983
+G
23984
+s/\n//
23985
 s/^[^=]*=[	 ]*$//
23986
 }'
23987
 fi
23988
 
23989
-cat >>$CONFIG_STATUS <<\_ACEOF
23990
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23991
 fi # test -n "$CONFIG_FILES"
23992
 
23993
+# Set up the scripts for CONFIG_HEADERS section.
23994
+# No need to generate them if there are no CONFIG_HEADERS.
23995
+# This happens for instance with `./config.status Makefile'.
23996
+if test -n "$CONFIG_HEADERS"; then
23997
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23998
+BEGIN {
23999
+_ACEOF
24000
 
24001
-for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
24002
+# Transform confdefs.h into an awk script `defines.awk', embedded as
24003
+# here-document in config.status, that substitutes the proper values into
24004
+# config.h.in to produce config.h.
24005
+
24006
+# Create a delimiter string that does not exist in confdefs.h, to ease
24007
+# handling of long lines.
24008
+ac_delim='%!_!# '
24009
+for ac_last_try in false false :; do
24010
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24011
+  if test -z "$ac_tt"; then
24012
+    break
24013
+  elif $ac_last_try; then
24014
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24015
+  else
24016
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24017
+  fi
24018
+done
24019
+
24020
+# For the awk script, D is an array of macro values keyed by name,
24021
+# likewise P contains macro parameters if any.  Preserve backslash
24022
+# newline sequences.
24023
+
24024
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24025
+sed -n '
24026
+s/.\{148\}/&'"$ac_delim"'/g
24027
+t rset
24028
+:rset
24029
+s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
24030
+t def
24031
+d
24032
+:def
24033
+s/\\$//
24034
+t bsnl
24035
+s/["\\]/\\&/g
24036
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
24037
+D["\1"]=" \3"/p
24038
+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
24039
+d
24040
+:bsnl
24041
+s/["\\]/\\&/g
24042
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
24043
+D["\1"]=" \3\\\\\\n"\\/p
24044
+t cont
24045
+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24046
+t cont
24047
+d
24048
+:cont
24049
+n
24050
+s/.\{148\}/&'"$ac_delim"'/g
24051
+t clear
24052
+:clear
24053
+s/\\$//
24054
+t bsnlc
24055
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
24056
+d
24057
+:bsnlc
24058
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24059
+b cont
24060
+' <confdefs.h | sed '
24061
+s/'"$ac_delim"'/"\\\
24062
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
24063
+
24064
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24065
+  for (key in D) D_is_set[key] = 1
24066
+  FS = ""
24067
+}
24068
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24069
+  line = \$ 0
24070
+  split(line, arg, " ")
24071
+  if (arg[1] == "#") {
24072
+    defundef = arg[2]
24073
+    mac1 = arg[3]
24074
+  } else {
24075
+    defundef = substr(arg[1], 2)
24076
+    mac1 = arg[2]
24077
+  }
24078
+  split(mac1, mac2, "(") #)
24079
+  macro = mac2[1]
24080
+  prefix = substr(line, 1, index(line, defundef) - 1)
24081
+  if (D_is_set[macro]) {
24082
+    # Preserve the white space surrounding the "#".
24083
+    print prefix "define", macro P[macro] D[macro]
24084
+    next
24085
+  } else {
24086
+    # Replace #undef with comments.  This is necessary, for example,
24087
+    # in the case of _POSIX_SOURCE, which is predefined and required
24088
+    # on some systems where configure will not decide to define it.
24089
+    if (defundef == "undef") {
24090
+      print "/*", prefix defundef, macro, "*/"
24091
+      next
24092
+    }
24093
+  }
24094
+}
24095
+{ print }
24096
+_ACAWK
24097
+_ACEOF
24098
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24099
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24100
+fi # test -n "$CONFIG_HEADERS"
24101
+
24102
+
24103
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
24104
+shift
24105
+for ac_tag
24106
 do
24107
   case $ac_tag in
24108
   :[FHLC]) ac_mode=$ac_tag; continue;;
24109
   esac
24110
   case $ac_mode$ac_tag in
24111
   :[FHL]*:*);;
24112
-  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24113
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24114
-   { (exit 1); exit 1; }; };;
24115
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24116
   :[FH]-) ac_tag=-:-;;
24117
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24118
   esac
24119
@@ -24238,7 +14049,7 @@ echo "$as_me: error: Invalid tag $ac_tag
24120
     for ac_f
24121
     do
24122
       case $ac_f in
24123
-      -) ac_f="$tmp/stdin";;
24124
+      -) ac_f="$ac_tmp/stdin";;
24125
       *) # Look for the file first in the build tree, then in the source tree
24126
 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
24127
 	 # because $ac_f cannot contain `:'.
24128
@@ -24247,26 +14058,34 @@ echo "$as_me: error: Invalid tag $ac_tag
24129
 	   [\\/$]*) false;;
24130
 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24131
 	   esac ||
24132
-	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24133
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24134
-   { (exit 1); exit 1; }; };;
24135
+	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24136
       esac
24137
-      ac_file_inputs="$ac_file_inputs $ac_f"
24138
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24139
+      as_fn_append ac_file_inputs " '$ac_f'"
24140
     done
24141
 
24142
     # Let's still pretend it is `configure' which instantiates (i.e., don't
24143
     # use $as_me), people would be surprised to read:
24144
     #    /* config.h.  Generated by config.status.  */
24145
-    configure_input="Generated from "`IFS=:
24146
-	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24147
+    configure_input='Generated from '`
24148
+	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24149
+	`' by configure.'
24150
     if test x"$ac_file" != x-; then
24151
       configure_input="$ac_file.  $configure_input"
24152
-      { echo "$as_me:$LINENO: creating $ac_file" >&5
24153
-echo "$as_me: creating $ac_file" >&6;}
24154
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24155
+$as_echo "$as_me: creating $ac_file" >&6;}
24156
     fi
24157
+    # Neutralize special characters interpreted by sed in replacement strings.
24158
+    case $configure_input in #(
24159
+    *\&* | *\|* | *\\* )
24160
+       ac_sed_conf_input=`$as_echo "$configure_input" |
24161
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
24162
+    *) ac_sed_conf_input=$configure_input;;
24163
+    esac
24164
 
24165
     case $ac_tag in
24166
-    *:-:* | *:-) cat >"$tmp/stdin";;
24167
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
24168
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24169
     esac
24170
     ;;
24171
   esac
24172
@@ -24276,42 +14095,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
24173
 	 X"$ac_file" : 'X\(//\)[^/]' \| \
24174
 	 X"$ac_file" : 'X\(//\)$' \| \
24175
 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24176
-echo X"$ac_file" |
24177
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24178
-	    s//\1/
24179
-	    q
24180
-	  }
24181
-	  /^X\(\/\/\)[^/].*/{
24182
-	    s//\1/
24183
-	    q
24184
-	  }
24185
-	  /^X\(\/\/\)$/{
24186
-	    s//\1/
24187
-	    q
24188
-	  }
24189
-	  /^X\(\/\).*/{
24190
-	    s//\1/
24191
-	    q
24192
-	  }
24193
-	  s/.*/./; q'`
24194
-  { as_dir="$ac_dir"
24195
-  case $as_dir in #(
24196
-  -*) as_dir=./$as_dir;;
24197
-  esac
24198
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24199
-    as_dirs=
24200
-    while :; do
24201
-      case $as_dir in #(
24202
-      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24203
-      *) as_qdir=$as_dir;;
24204
-      esac
24205
-      as_dirs="'$as_qdir' $as_dirs"
24206
-      as_dir=`$as_dirname -- "$as_dir" ||
24207
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24208
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
24209
-	 X"$as_dir" : 'X\(//\)$' \| \
24210
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24211
-echo X"$as_dir" |
24212
+$as_echo X"$ac_file" |
24213
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24214
 	    s//\1/
24215
 	    q
24216
@@ -24329,20 +14113,15 @@ echo X"$as_dir" |
24217
 	    q
24218
 	  }
24219
 	  s/.*/./; q'`
24220
-      test -d "$as_dir" && break
24221
-    done
24222
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
24223
-  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24224
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
24225
-   { (exit 1); exit 1; }; }; }
24226
+  as_dir="$ac_dir"; as_fn_mkdir_p
24227
   ac_builddir=.
24228
 
24229
 case "$ac_dir" in
24230
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24231
 *)
24232
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24233
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24234
   # A ".." for each directory in $ac_dir_suffix.
24235
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24236
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24237
   case $ac_top_builddir_sub in
24238
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24239
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24240
@@ -24382,12 +14161,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
24241
   esac
24242
 _ACEOF
24243
 
24244
-cat >>$CONFIG_STATUS <<\_ACEOF
24245
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24246
 # If the template does not know about datarootdir, expand it.
24247
 # FIXME: This hack should be removed a few years after 2.60.
24248
 ac_datarootdir_hack=; ac_datarootdir_seen=
24249
-
24250
-case `sed -n '/datarootdir/ {
24251
+ac_sed_dataroot='
24252
+/datarootdir/ {
24253
   p
24254
   q
24255
 }
24256
@@ -24395,36 +14174,37 @@ case `sed -n '/datarootdir/ {
24257
 /@docdir@/p
24258
 /@infodir@/p
24259
 /@localedir@/p
24260
-/@mandir@/p
24261
-' $ac_file_inputs` in
24262
+/@mandir@/p'
24263
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24264
 *datarootdir*) ac_datarootdir_seen=yes;;
24265
 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24266
-  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24267
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24268
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24269
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24270
 _ACEOF
24271
-cat >>$CONFIG_STATUS <<_ACEOF
24272
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24273
   ac_datarootdir_hack='
24274
   s&@datadir@&$datadir&g
24275
   s&@docdir@&$docdir&g
24276
   s&@infodir@&$infodir&g
24277
   s&@localedir@&$localedir&g
24278
   s&@mandir@&$mandir&g
24279
-    s&\\\${datarootdir}&$datarootdir&g' ;;
24280
+  s&\\\${datarootdir}&$datarootdir&g' ;;
24281
 esac
24282
 _ACEOF
24283
 
24284
 # Neutralize VPATH when `$srcdir' = `.'.
24285
 # Shell code in configure.ac might set extrasub.
24286
 # FIXME: do we really want to maintain this feature?
24287
-cat >>$CONFIG_STATUS <<_ACEOF
24288
-  sed "$ac_vpsub
24289
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24290
+ac_sed_extra="$ac_vpsub
24291
 $extrasub
24292
 _ACEOF
24293
-cat >>$CONFIG_STATUS <<\_ACEOF
24294
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24295
 :t
24296
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24297
-s&@configure_input@&$configure_input&;t t
24298
+s|@configure_input@|$ac_sed_conf_input|;t t
24299
 s&@top_builddir@&$ac_top_builddir_sub&;t t
24300
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
24301
 s&@srcdir@&$ac_srcdir&;t t
24302
 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24303
 s&@top_srcdir@&$ac_top_srcdir&;t t
24304
@@ -24434,119 +14214,49 @@ s&@abs_builddir@&$ac_abs_builddir&;t t
24305
 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24306
 s&@INSTALL@&$ac_INSTALL&;t t
24307
 $ac_datarootdir_hack
24308
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24309
+"
24310
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
24311
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24312
 
24313
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24314
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24315
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24316
-  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24317
-which seems to be undefined.  Please make sure it is defined." >&5
24318
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24319
-which seems to be undefined.  Please make sure it is defined." >&2;}
24320
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
24321
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
24322
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
24323
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24324
+which seems to be undefined.  Please make sure it is defined" >&5
24325
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24326
+which seems to be undefined.  Please make sure it is defined" >&2;}
24327
 
24328
-  rm -f "$tmp/stdin"
24329
+  rm -f "$ac_tmp/stdin"
24330
   case $ac_file in
24331
-  -) cat "$tmp/out"; rm -f "$tmp/out";;
24332
-  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24333
-  esac
24334
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24335
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24336
+  esac \
24337
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24338
  ;;
24339
   :H)
24340
   #
24341
   # CONFIG_HEADER
24342
   #
24343
-_ACEOF
24344
-
24345
-# Transform confdefs.h into a sed script `conftest.defines', that
24346
-# substitutes the proper values into config.h.in to produce config.h.
24347
-rm -f conftest.defines conftest.tail
24348
-# First, append a space to every undef/define line, to ease matching.
24349
-echo 's/$/ /' >conftest.defines
24350
-# Then, protect against being on the right side of a sed subst, or in
24351
-# an unquoted here document, in config.status.  If some macros were
24352
-# called several times there might be several #defines for the same
24353
-# symbol, which is useless.  But do not sort them, since the last
24354
-# AC_DEFINE must be honored.
24355
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24356
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24357
-# NAME is the cpp macro being defined, VALUE is the value it is being given.
24358
-# PARAMS is the parameter list in the macro definition--in most cases, it's
24359
-# just an empty string.
24360
-ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
24361
-ac_dB='\\)[	 (].*,\\1define\\2'
24362
-ac_dC=' '
24363
-ac_dD=' ,'
24364
-
24365
-uniq confdefs.h |
24366
-  sed -n '
24367
-	t rset
24368
-	:rset
24369
-	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
24370
-	t ok
24371
-	d
24372
-	:ok
24373
-	s/[\\&,]/\\&/g
24374
-	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24375
-	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24376
-  ' >>conftest.defines
24377
-
24378
-# Remove the space that was appended to ease matching.
24379
-# Then replace #undef with comments.  This is necessary, for
24380
-# example, in the case of _POSIX_SOURCE, which is predefined and required
24381
-# on some systems where configure will not decide to define it.
24382
-# (The regexp can be short, since the line contains either #define or #undef.)
24383
-echo 's/ $//
24384
-s,^[	 #]*u.*,/* & */,' >>conftest.defines
24385
-
24386
-# Break up conftest.defines:
24387
-ac_max_sed_lines=50
24388
-
24389
-# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24390
-# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24391
-# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24392
-# et cetera.
24393
-ac_in='$ac_file_inputs'
24394
-ac_out='"$tmp/out1"'
24395
-ac_nxt='"$tmp/out2"'
24396
-
24397
-while :
24398
-do
24399
-  # Write a here document:
24400
-    cat >>$CONFIG_STATUS <<_ACEOF
24401
-    # First, check the format of the line:
24402
-    cat >"\$tmp/defines.sed" <<\\CEOF
24403
-/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
24404
-/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
24405
-b
24406
-:def
24407
-_ACEOF
24408
-  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24409
-  echo 'CEOF
24410
-    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24411
-  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24412
-  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24413
-  grep . conftest.tail >/dev/null || break
24414
-  rm -f conftest.defines
24415
-  mv conftest.tail conftest.defines
24416
-done
24417
-rm -f conftest.defines conftest.tail
24418
-
24419
-echo "ac_result=$ac_in" >>$CONFIG_STATUS
24420
-cat >>$CONFIG_STATUS <<\_ACEOF
24421
   if test x"$ac_file" != x-; then
24422
-    echo "/* $configure_input  */" >"$tmp/config.h"
24423
-    cat "$ac_result" >>"$tmp/config.h"
24424
-    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24425
-      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24426
-echo "$as_me: $ac_file is unchanged" >&6;}
24427
+    {
24428
+      $as_echo "/* $configure_input  */" \
24429
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24430
+    } >"$ac_tmp/config.h" \
24431
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24432
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24433
+      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24434
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
24435
     else
24436
-      rm -f $ac_file
24437
-      mv "$tmp/config.h" $ac_file
24438
+      rm -f "$ac_file"
24439
+      mv "$ac_tmp/config.h" "$ac_file" \
24440
+	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
24441
     fi
24442
   else
24443
-    echo "/* $configure_input  */"
24444
-    cat "$ac_result"
24445
+    $as_echo "/* $configure_input  */" \
24446
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24447
+      || as_fn_error $? "could not create -" "$LINENO" 5
24448
   fi
24449
-  rm -f "$tmp/out12"
24450
  ;;
24451
 
24452
 
24453
@@ -24555,11 +14265,13 @@ echo "$as_me: $ac_file is unchanged" >&6
24454
 done # for ac_tag
24455
 
24456
 
24457
-{ (exit 0); exit 0; }
24458
+as_fn_exit 0
24459
 _ACEOF
24460
-chmod +x $CONFIG_STATUS
24461
 ac_clean_files=$ac_clean_files_save
24462
 
24463
+test $ac_write_fail = 0 ||
24464
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24465
+
24466
 
24467
 # configure is writing to config.log, and then calls config.status.
24468
 # config.status does its own redirection, appending to config.log.
24469
@@ -24579,7 +14291,11 @@ if test "$no_create" != yes; then
24470
   exec 5>>config.log
24471
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24472
   # would make configure fail if this is the last instruction.
24473
-  $ac_cs_success || { (exit 1); exit 1; }
24474
+  $ac_cs_success || as_fn_exit 1
24475
+fi
24476
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24477
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24478
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24479
 fi
24480
 
24481
 
24482
@@ -24595,6 +14311,6 @@ fi
24483
 
24484
 
24485
 
24486
-{ echo "$as_me:$LINENO: result: The following feature summary has been saved to features.log" >&5
24487
-echo "${ECHO_T}The following feature summary has been saved to features.log" >&6; }
24488
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: The following feature summary has been saved to features.log" >&5
24489
+$as_echo "The following feature summary has been saved to features.log" >&6; }
24490
 cat features.log
(-)www/elinks/files/patch-configure.in (+11 lines)
Line 0 Link Here
1
--- configure.in.orig	2009-08-22 11:15:08 UTC
2
+++ configure.in
3
@@ -905,6 +905,8 @@ fi
4
 
5
 AC_MSG_RESULT($cf_result)
6
 
7
+AC_CHECK_LIB(crypto, RAND_egd, AC_DEFINE(HAVE_RAND_EGD, 1, [Define if the libcrypto has RAND_egd]))
8
+
9
 CONFIG_GNUTLS_OPENSSL_COMPAT=no
10
 dnl ---- GNU TLS
11
 dnl We can't have AC_MSG_CHECKING here, because AC_PATH_PROG prints its own and
(-)www/elinks/files/patch-src_intl_gettext_Makefile (-4 / +4 lines)
Lines 1-6 Link Here
1
--- src/intl/gettext/Makefile.orig	Thu Feb 16 07:41:10 2006
1
--- src/intl/gettext/Makefile.orig	2009-08-22 11:15:08 UTC
2
+++ src/intl/gettext/Makefile	Thu Feb 16 07:48:45 2006
2
+++ src/intl/gettext/Makefile
3
@@ -47,14 +47,12 @@
3
@@ -47,14 +47,12 @@ install-local: $(builddir)/charset.alias
4
 	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
4
 	  if test -f $(DESTDIR)$(libdir)/charset.alias; then \
5
 	    orig=$(DESTDIR)$(libdir)/charset.alias; \
5
 	    orig=$(DESTDIR)$(libdir)/charset.alias; \
6
 	    sed -f ref-add.sed $$orig > $$temp; \
6
 	    sed -f ref-add.sed $$orig > $$temp; \
Lines 15-21 Link Here
15
 	      rm -f $$temp; \
15
 	      rm -f $$temp; \
16
 	    fi; \
16
 	    fi; \
17
 	  fi; \
17
 	  fi; \
18
@@ -65,7 +63,6 @@
18
@@ -65,7 +63,6 @@ install-local: $(builddir)/charset.alias
19
 	  temp=$(DESTDIR)$(localedir)/t-locale.alias; \
19
 	  temp=$(DESTDIR)$(localedir)/t-locale.alias; \
20
 	  dest=$(DESTDIR)$(localedir)/locale.alias; \
20
 	  dest=$(DESTDIR)$(localedir)/locale.alias; \
21
 	  sed -f ref-add.sed $$orig > $$temp; \
21
 	  sed -f ref-add.sed $$orig > $$temp; \
(-)www/elinks/files/patch-src_network_ssl_ssl.c (+14 lines)
Line 0 Link Here
1
--- src/network/ssl/ssl.c.orig	2009-08-22 13:15:08.000000000 +0200
2
+++ src/network/ssl/ssl.c	2015-03-21 12:41:15.886709287 +0100
3
@@ -49,7 +49,10 @@ init_openssl(struct module *module)
4
 	 * cannot initialize the PRNG and so every attempt to use SSL fails.
5
 	 * It's actually an OpenSSL FAQ, and according to them, it's up to the
6
 	 * application coders to seed the RNG. -- William Yodlowsky */
7
-	if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) {
8
+#ifdef HAVE_RAND_EGD
9
+	if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) 
10
+#endif
11
+	{
12
 		/* Not an EGD, so read and write to it */
13
 		if (RAND_load_file(f_randfile, -1))
14
 			RAND_write_file(f_randfile);
(-)www/elinks/files/patch-src_scripting_lua_Makefile (-2 / +2 lines)
Lines 1-5 Link Here
1
--- src/scripting/lua/Makefile.orig	2007-07-30 16:17:41.000000000 +0200
1
--- src/scripting/lua/Makefile.orig	2009-08-22 11:15:08 UTC
2
+++ src/scripting/lua/Makefile	2007-07-30 16:17:53.000000000 +0200
2
+++ src/scripting/lua/Makefile
3
@@ -1,7 +1,7 @@
3
@@ -1,7 +1,7 @@
4
 top_builddir=../../..
4
 top_builddir=../../..
5
 include $(top_builddir)/Makefile.config
5
 include $(top_builddir)/Makefile.config

Return to bug 198764