View | Details | Raw Unified | Return to bug 198771
Collapse All | Expand All

(-)russian/ircd-hybrid/files/patch-configure (+16860 lines)
Line 0 Link Here
1
--- configure.orig	2010-03-26 19:57:34.000000000 +0100
2
+++ configure	2015-03-21 14:46:49.329315610 +0100
3
@@ -1,62 +1,83 @@
4
 #! /bin/sh
5
 # Guess values for system-dependent variables and create Makefiles.
6
-# Generated by GNU Autoconf 2.61 for ircd-hybrid 7.2.4.
7
+# Generated by GNU Autoconf 2.69 for ircd-hybrid 7.2.2.
8
 #
9
 # $Id: configure.ac 715 2006-07-14 21:01:55Z michael $
10
 #
11
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
13
+#
14
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
15
+#
16
+#
17
 # This configure script is free software; the Free Software Foundation
18
 # gives unlimited permission to copy, distribute and modify it.
19
-## --------------------- ##
20
-## M4sh Initialization.  ##
21
-## --------------------- ##
22
+## -------------------- ##
23
+## M4sh Initialization. ##
24
+## -------------------- ##
25
 
26
 # Be more Bourne compatible
27
 DUALCASE=1; export DUALCASE # for MKS sh
28
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
30
   emulate sh
31
   NULLCMD=:
32
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
34
   # is contrary to our usage.  Disable this feature.
35
   alias -g '${1+"$@"}'='"$@"'
36
   setopt NO_GLOB_SUBST
37
 else
38
-  case `(set -o) 2>/dev/null` in
39
-  *posix*) set -o posix ;;
40
+  case `(set -o) 2>/dev/null` in #(
41
+  *posix*) :
42
+    set -o posix ;; #(
43
+  *) :
44
+     ;;
45
 esac
46
-
47
 fi
48
 
49
 
50
-
51
-
52
-# PATH needs CR
53
-# Avoid depending upon Character Ranges.
54
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
57
-as_cr_digits='0123456789'
58
-as_cr_alnum=$as_cr_Letters$as_cr_digits
59
-
60
-# The user is always right.
61
-if test "${PATH_SEPARATOR+set}" != set; then
62
-  echo "#! /bin/sh" >conf$$.sh
63
-  echo  "exit 0"   >>conf$$.sh
64
-  chmod +x conf$$.sh
65
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66
-    PATH_SEPARATOR=';'
67
+as_nl='
68
+'
69
+export as_nl
70
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
71
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
74
+# Prefer a ksh shell builtin over an external printf program on Solaris,
75
+# but without wasting forks for bash or zsh.
76
+if test -z "$BASH_VERSION$ZSH_VERSION" \
77
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78
+  as_echo='print -r --'
79
+  as_echo_n='print -rn --'
80
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81
+  as_echo='printf %s\n'
82
+  as_echo_n='printf %s'
83
+else
84
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
85
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
86
+    as_echo_n='/usr/ucb/echo -n'
87
   else
88
-    PATH_SEPARATOR=:
89
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
90
+    as_echo_n_body='eval
91
+      arg=$1;
92
+      case $arg in #(
93
+      *"$as_nl"*)
94
+	expr "X$arg" : "X\\(.*\\)$as_nl";
95
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
96
+      esac;
97
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
98
+    '
99
+    export as_echo_n_body
100
+    as_echo_n='sh -c $as_echo_n_body as_echo'
101
   fi
102
-  rm -f conf$$.sh
103
+  export as_echo_body
104
+  as_echo='sh -c $as_echo_body as_echo'
105
 fi
106
 
107
-# Support unset when possible.
108
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
109
-  as_unset=unset
110
-else
111
-  as_unset=false
112
+# The user is always right.
113
+if test "${PATH_SEPARATOR+set}" != set; then
114
+  PATH_SEPARATOR=:
115
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
116
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
117
+      PATH_SEPARATOR=';'
118
+  }
119
 fi
120
 
121
 
122
@@ -65,20 +86,19 @@
123
 # there to prevent editors from complaining about space-tab.
124
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
125
 # splitting by setting IFS to empty value.)
126
-as_nl='
127
-'
128
 IFS=" ""	$as_nl"
129
 
130
 # Find who we are.  Look in the path if we contain no directory separator.
131
-case $0 in
132
+as_myself=
133
+case $0 in #((
134
   *[\\/]* ) as_myself=$0 ;;
135
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
136
 for as_dir in $PATH
137
 do
138
   IFS=$as_save_IFS
139
   test -z "$as_dir" && as_dir=.
140
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
141
-done
142
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
143
+  done
144
 IFS=$as_save_IFS
145
 
146
      ;;
147
@@ -89,354 +109,366 @@
148
   as_myself=$0
149
 fi
150
 if test ! -f "$as_myself"; then
151
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
152
-  { (exit 1); exit 1; }
153
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
154
+  exit 1
155
 fi
156
 
157
-# Work around bugs in pre-3.0 UWIN ksh.
158
-for as_var in ENV MAIL MAILPATH
159
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
160
+# Unset variables that we do not need and which cause bugs (e.g. in
161
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
162
+# suppresses any "Segmentation fault" message there.  '((' could
163
+# trigger a bug in pdksh 5.2.14.
164
+for as_var in BASH_ENV ENV MAIL MAILPATH
165
+do eval test x\${$as_var+set} = xset \
166
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
167
 done
168
 PS1='$ '
169
 PS2='> '
170
 PS4='+ '
171
 
172
 # NLS nuisances.
173
-for as_var in \
174
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
175
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
176
-  LC_TELEPHONE LC_TIME
177
-do
178
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
179
-    eval $as_var=C; export $as_var
180
-  else
181
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
182
-  fi
183
-done
184
-
185
-# Required to use basename.
186
-if expr a : '\(a\)' >/dev/null 2>&1 &&
187
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
188
-  as_expr=expr
189
-else
190
-  as_expr=false
191
-fi
192
-
193
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
194
-  as_basename=basename
195
-else
196
-  as_basename=false
197
-fi
198
-
199
-
200
-# Name of the executable.
201
-as_me=`$as_basename -- "$0" ||
202
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
203
-	 X"$0" : 'X\(//\)$' \| \
204
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
205
-echo X/"$0" |
206
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
207
-	    s//\1/
208
-	    q
209
-	  }
210
-	  /^X\/\(\/\/\)$/{
211
-	    s//\1/
212
-	    q
213
-	  }
214
-	  /^X\/\(\/\).*/{
215
-	    s//\1/
216
-	    q
217
-	  }
218
-	  s/.*/./; q'`
219
+LC_ALL=C
220
+export LC_ALL
221
+LANGUAGE=C
222
+export LANGUAGE
223
 
224
 # CDPATH.
225
-$as_unset CDPATH
226
-
227
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
228
 
229
+# Use a proper internal environment variable to ensure we don't fall
230
+  # into an infinite loop, continuously re-executing ourselves.
231
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
232
+    _as_can_reexec=no; export _as_can_reexec;
233
+    # We cannot yet assume a decent shell, so we have to provide a
234
+# neutralization value for shells without unset; and this also
235
+# works around shells that cannot unset nonexistent variables.
236
+# Preserve -v and -x to the replacement shell.
237
+BASH_ENV=/dev/null
238
+ENV=/dev/null
239
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
240
+case $- in # ((((
241
+  *v*x* | *x*v* ) as_opts=-vx ;;
242
+  *v* ) as_opts=-v ;;
243
+  *x* ) as_opts=-x ;;
244
+  * ) as_opts= ;;
245
+esac
246
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
247
+# Admittedly, this is quite paranoid, since all the known shells bail
248
+# out after a failed `exec'.
249
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
250
+as_fn_exit 255
251
+  fi
252
+  # We don't want this to propagate to other subprocesses.
253
+          { _as_can_reexec=; unset _as_can_reexec;}
254
 if test "x$CONFIG_SHELL" = x; then
255
-  if (eval ":") 2>/dev/null; then
256
-  as_have_required=yes
257
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
258
+  emulate sh
259
+  NULLCMD=:
260
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
261
+  # is contrary to our usage.  Disable this feature.
262
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
263
+  setopt NO_GLOB_SUBST
264
 else
265
-  as_have_required=no
266
+  case \`(set -o) 2>/dev/null\` in #(
267
+  *posix*) :
268
+    set -o posix ;; #(
269
+  *) :
270
+     ;;
271
+esac
272
 fi
273
-
274
-  if test $as_have_required = yes && 	 (eval ":
275
-(as_func_return () {
276
-  (exit \$1)
277
-}
278
-as_func_success () {
279
-  as_func_return 0
280
-}
281
-as_func_failure () {
282
-  as_func_return 1
283
-}
284
-as_func_ret_success () {
285
-  return 0
286
-}
287
-as_func_ret_failure () {
288
-  return 1
289
-}
290
+"
291
+  as_required="as_fn_return () { (exit \$1); }
292
+as_fn_success () { as_fn_return 0; }
293
+as_fn_failure () { as_fn_return 1; }
294
+as_fn_ret_success () { return 0; }
295
+as_fn_ret_failure () { return 1; }
296
 
297
 exitcode=0
298
-if as_func_success; then
299
-  :
300
-else
301
-  exitcode=1
302
-  echo as_func_success failed.
303
-fi
304
-
305
-if as_func_failure; then
306
-  exitcode=1
307
-  echo as_func_failure succeeded.
308
-fi
309
-
310
-if as_func_ret_success; then
311
-  :
312
-else
313
-  exitcode=1
314
-  echo as_func_ret_success failed.
315
-fi
316
-
317
-if as_func_ret_failure; then
318
-  exitcode=1
319
-  echo as_func_ret_failure succeeded.
320
-fi
321
-
322
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
323
-  :
324
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
325
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
326
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
327
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
328
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
329
+
330
+else
331
+  exitcode=1; echo positional parameters were not saved.
332
+fi
333
+test x\$exitcode = x0 || exit 1
334
+test -x / || exit 1"
335
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
336
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
337
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
338
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
339
+test \$(( 1 + 1 )) = 2 || exit 1"
340
+  if (eval "$as_required") 2>/dev/null; then :
341
+  as_have_required=yes
342
 else
343
-  exitcode=1
344
-  echo positional parameters were not saved.
345
+  as_have_required=no
346
 fi
347
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
348
 
349
-test \$exitcode = 0) || { (exit 1); exit 1; }
350
-
351
-(
352
-  as_lineno_1=\$LINENO
353
-  as_lineno_2=\$LINENO
354
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
355
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
356
-") 2> /dev/null; then
357
-  :
358
 else
359
-  as_candidate_shells=
360
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
361
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
362
+as_found=false
363
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
364
 do
365
   IFS=$as_save_IFS
366
   test -z "$as_dir" && as_dir=.
367
-  case $as_dir in
368
+  as_found=:
369
+  case $as_dir in #(
370
 	 /*)
371
 	   for as_base in sh bash ksh sh5; do
372
-	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
373
+	     # Try only shells that exist, to save several forks.
374
+	     as_shell=$as_dir/$as_base
375
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
376
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
377
+  CONFIG_SHELL=$as_shell as_have_required=yes
378
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
379
+  break 2
380
+fi
381
+fi
382
 	   done;;
383
        esac
384
+  as_found=false
385
 done
386
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
387
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
388
+  CONFIG_SHELL=$SHELL as_have_required=yes
389
+fi; }
390
 IFS=$as_save_IFS
391
 
392
 
393
-      for as_shell in $as_candidate_shells $SHELL; do
394
-	 # Try only shells that exist, to save several forks.
395
-	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
396
-		{ ("$as_shell") 2> /dev/null <<\_ASEOF
397
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
398
-  emulate sh
399
-  NULLCMD=:
400
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
401
-  # is contrary to our usage.  Disable this feature.
402
-  alias -g '${1+"$@"}'='"$@"'
403
-  setopt NO_GLOB_SUBST
404
-else
405
-  case `(set -o) 2>/dev/null` in
406
-  *posix*) set -o posix ;;
407
-esac
408
-
409
+      if test "x$CONFIG_SHELL" != x; then :
410
+  export CONFIG_SHELL
411
+             # We cannot yet assume a decent shell, so we have to provide a
412
+# neutralization value for shells without unset; and this also
413
+# works around shells that cannot unset nonexistent variables.
414
+# Preserve -v and -x to the replacement shell.
415
+BASH_ENV=/dev/null
416
+ENV=/dev/null
417
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
418
+case $- in # ((((
419
+  *v*x* | *x*v* ) as_opts=-vx ;;
420
+  *v* ) as_opts=-v ;;
421
+  *x* ) as_opts=-x ;;
422
+  * ) as_opts= ;;
423
+esac
424
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
425
+# Admittedly, this is quite paranoid, since all the known shells bail
426
+# out after a failed `exec'.
427
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
428
+exit 255
429
+fi
430
+
431
+    if test x$as_have_required = xno; then :
432
+  $as_echo "$0: This script requires a shell more modern than all"
433
+  $as_echo "$0: the shells that I found on your system."
434
+  if test x${ZSH_VERSION+set} = xset ; then
435
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
436
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
437
+  else
438
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
439
+$0: including any error possibly output before this
440
+$0: message. Then install a modern shell, or manually run
441
+$0: the script under such a shell if you do have one."
442
+  fi
443
+  exit 1
444
 fi
445
-
446
-
447
-:
448
-_ASEOF
449
-}; then
450
-  CONFIG_SHELL=$as_shell
451
-	       as_have_required=yes
452
-	       if { "$as_shell" 2> /dev/null <<\_ASEOF
453
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
454
-  emulate sh
455
-  NULLCMD=:
456
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
457
-  # is contrary to our usage.  Disable this feature.
458
-  alias -g '${1+"$@"}'='"$@"'
459
-  setopt NO_GLOB_SUBST
460
-else
461
-  case `(set -o) 2>/dev/null` in
462
-  *posix*) set -o posix ;;
463
-esac
464
-
465
 fi
466
+fi
467
+SHELL=${CONFIG_SHELL-/bin/sh}
468
+export SHELL
469
+# Unset more variables known to interfere with behavior of common tools.
470
+CLICOLOR_FORCE= GREP_OPTIONS=
471
+unset CLICOLOR_FORCE GREP_OPTIONS
472
 
473
+## --------------------- ##
474
+## M4sh Shell Functions. ##
475
+## --------------------- ##
476
+# as_fn_unset VAR
477
+# ---------------
478
+# Portably unset VAR.
479
+as_fn_unset ()
480
+{
481
+  { eval $1=; unset $1;}
482
+}
483
+as_unset=as_fn_unset
484
+
485
+# as_fn_set_status STATUS
486
+# -----------------------
487
+# Set $? to STATUS, without forking.
488
+as_fn_set_status ()
489
+{
490
+  return $1
491
+} # as_fn_set_status
492
+
493
+# as_fn_exit STATUS
494
+# -----------------
495
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
496
+as_fn_exit ()
497
+{
498
+  set +e
499
+  as_fn_set_status $1
500
+  exit $1
501
+} # as_fn_exit
502
+
503
+# as_fn_mkdir_p
504
+# -------------
505
+# Create "$as_dir" as a directory, including parents if necessary.
506
+as_fn_mkdir_p ()
507
+{
508
 
509
-:
510
-(as_func_return () {
511
-  (exit $1)
512
-}
513
-as_func_success () {
514
-  as_func_return 0
515
-}
516
-as_func_failure () {
517
-  as_func_return 1
518
-}
519
-as_func_ret_success () {
520
-  return 0
521
-}
522
-as_func_ret_failure () {
523
-  return 1
524
-}
525
+  case $as_dir in #(
526
+  -*) as_dir=./$as_dir;;
527
+  esac
528
+  test -d "$as_dir" || eval $as_mkdir_p || {
529
+    as_dirs=
530
+    while :; do
531
+      case $as_dir in #(
532
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
533
+      *) as_qdir=$as_dir;;
534
+      esac
535
+      as_dirs="'$as_qdir' $as_dirs"
536
+      as_dir=`$as_dirname -- "$as_dir" ||
537
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
538
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
539
+	 X"$as_dir" : 'X\(//\)$' \| \
540
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
541
+$as_echo X"$as_dir" |
542
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
543
+	    s//\1/
544
+	    q
545
+	  }
546
+	  /^X\(\/\/\)[^/].*/{
547
+	    s//\1/
548
+	    q
549
+	  }
550
+	  /^X\(\/\/\)$/{
551
+	    s//\1/
552
+	    q
553
+	  }
554
+	  /^X\(\/\).*/{
555
+	    s//\1/
556
+	    q
557
+	  }
558
+	  s/.*/./; q'`
559
+      test -d "$as_dir" && break
560
+    done
561
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
562
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
563
 
564
-exitcode=0
565
-if as_func_success; then
566
-  :
567
-else
568
-  exitcode=1
569
-  echo as_func_success failed.
570
-fi
571
 
572
-if as_func_failure; then
573
-  exitcode=1
574
-  echo as_func_failure succeeded.
575
-fi
576
+} # as_fn_mkdir_p
577
 
578
-if as_func_ret_success; then
579
-  :
580
+# as_fn_executable_p FILE
581
+# -----------------------
582
+# Test if FILE is an executable regular file.
583
+as_fn_executable_p ()
584
+{
585
+  test -f "$1" && test -x "$1"
586
+} # as_fn_executable_p
587
+# as_fn_append VAR VALUE
588
+# ----------------------
589
+# Append the text in VALUE to the end of the definition contained in VAR. Take
590
+# advantage of any shell optimizations that allow amortized linear growth over
591
+# repeated appends, instead of the typical quadratic growth present in naive
592
+# implementations.
593
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
594
+  eval 'as_fn_append ()
595
+  {
596
+    eval $1+=\$2
597
+  }'
598
 else
599
-  exitcode=1
600
-  echo as_func_ret_success failed.
601
-fi
602
-
603
-if as_func_ret_failure; then
604
-  exitcode=1
605
-  echo as_func_ret_failure succeeded.
606
-fi
607
-
608
-if ( set x; as_func_ret_success y && test x = "$1" ); then
609
-  :
610
+  as_fn_append ()
611
+  {
612
+    eval $1=\$$1\$2
613
+  }
614
+fi # as_fn_append
615
+
616
+# as_fn_arith ARG...
617
+# ------------------
618
+# Perform arithmetic evaluation on the ARGs, and store the result in the
619
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
620
+# must be portable across $(()) and expr.
621
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
622
+  eval 'as_fn_arith ()
623
+  {
624
+    as_val=$(( $* ))
625
+  }'
626
 else
627
-  exitcode=1
628
-  echo positional parameters were not saved.
629
-fi
630
-
631
-test $exitcode = 0) || { (exit 1); exit 1; }
632
-
633
-(
634
-  as_lineno_1=$LINENO
635
-  as_lineno_2=$LINENO
636
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
637
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
638
-
639
-_ASEOF
640
-}; then
641
-  break
642
-fi
643
-
644
-fi
645
-
646
-      done
647
-
648
-      if test "x$CONFIG_SHELL" != x; then
649
-  for as_var in BASH_ENV ENV
650
-        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
651
-        done
652
-        export CONFIG_SHELL
653
-        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
654
-fi
655
-
656
-
657
-    if test $as_have_required = no; then
658
-  echo This script requires a shell more modern than all the
659
-      echo shells that I found on your system.  Please install a
660
-      echo modern shell, or manually run the script under such a
661
-      echo shell if you do have one.
662
-      { (exit 1); exit 1; }
663
-fi
664
-
665
-
666
-fi
667
-
668
-fi
669
-
670
-
671
-
672
-(eval "as_func_return () {
673
-  (exit \$1)
674
-}
675
-as_func_success () {
676
-  as_func_return 0
677
-}
678
-as_func_failure () {
679
-  as_func_return 1
680
-}
681
-as_func_ret_success () {
682
-  return 0
683
-}
684
-as_func_ret_failure () {
685
-  return 1
686
-}
687
+  as_fn_arith ()
688
+  {
689
+    as_val=`expr "$@" || test $? -eq 1`
690
+  }
691
+fi # as_fn_arith
692
+
693
+
694
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
695
+# ----------------------------------------
696
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
697
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
698
+# script with STATUS, using 1 if that was 0.
699
+as_fn_error ()
700
+{
701
+  as_status=$1; test $as_status -eq 0 && as_status=1
702
+  if test "$4"; then
703
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
704
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
705
+  fi
706
+  $as_echo "$as_me: error: $2" >&2
707
+  as_fn_exit $as_status
708
+} # as_fn_error
709
 
710
-exitcode=0
711
-if as_func_success; then
712
-  :
713
+if expr a : '\(a\)' >/dev/null 2>&1 &&
714
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
715
+  as_expr=expr
716
 else
717
-  exitcode=1
718
-  echo as_func_success failed.
719
-fi
720
-
721
-if as_func_failure; then
722
-  exitcode=1
723
-  echo as_func_failure succeeded.
724
+  as_expr=false
725
 fi
726
 
727
-if as_func_ret_success; then
728
-  :
729
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
730
+  as_basename=basename
731
 else
732
-  exitcode=1
733
-  echo as_func_ret_success failed.
734
-fi
735
-
736
-if as_func_ret_failure; then
737
-  exitcode=1
738
-  echo as_func_ret_failure succeeded.
739
+  as_basename=false
740
 fi
741
 
742
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
743
-  :
744
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
745
+  as_dirname=dirname
746
 else
747
-  exitcode=1
748
-  echo positional parameters were not saved.
749
+  as_dirname=false
750
 fi
751
 
752
-test \$exitcode = 0") || {
753
-  echo No shell found that supports shell functions.
754
-  echo Please tell autoconf@gnu.org about your system,
755
-  echo including any error possibly output before this
756
-  echo message
757
-}
758
+as_me=`$as_basename -- "$0" ||
759
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
760
+	 X"$0" : 'X\(//\)$' \| \
761
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
762
+$as_echo X/"$0" |
763
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
764
+	    s//\1/
765
+	    q
766
+	  }
767
+	  /^X\/\(\/\/\)$/{
768
+	    s//\1/
769
+	    q
770
+	  }
771
+	  /^X\/\(\/\).*/{
772
+	    s//\1/
773
+	    q
774
+	  }
775
+	  s/.*/./; q'`
776
 
777
+# Avoid depending upon Character Ranges.
778
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
779
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
780
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
781
+as_cr_digits='0123456789'
782
+as_cr_alnum=$as_cr_Letters$as_cr_digits
783
 
784
 
785
-  as_lineno_1=$LINENO
786
-  as_lineno_2=$LINENO
787
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
788
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
789
-
790
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
791
-  # uniformly replaced by the line number.  The first 'sed' inserts a
792
-  # line-number line after each line using $LINENO; the second 'sed'
793
-  # does the real work.  The second script uses 'N' to pair each
794
-  # line-number line with the line containing $LINENO, and appends
795
-  # trailing '-' during substitution so that $LINENO is not a special
796
-  # case at line end.
797
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
798
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
799
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
800
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
801
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
802
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
803
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
804
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
805
   sed -n '
806
     p
807
     /[$]LINENO/=
808
@@ -453,9 +485,12 @@
809
       s/-\n.*//
810
     ' >$as_me.lineno &&
811
   chmod +x "$as_me.lineno" ||
812
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
813
-   { (exit 1); exit 1; }; }
814
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
815
 
816
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
817
+  # already done that, so ensure we don't try to do so again and fall
818
+  # in an infinite loop.  This has already happened in practice.
819
+  _as_can_reexec=no; export _as_can_reexec
820
   # Don't try to exec as it changes $[0], causing all sort of problems
821
   # (the dirname of $[0] is not the place where we might find the
822
   # original and so on.  Autoconf is especially sensitive to this).
823
@@ -464,84 +499,55 @@
824
   exit
825
 }
826
 
827
-
828
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
829
-  as_dirname=dirname
830
-else
831
-  as_dirname=false
832
-fi
833
-
834
 ECHO_C= ECHO_N= ECHO_T=
835
-case `echo -n x` in
836
+case `echo -n x` in #(((((
837
 -n*)
838
-  case `echo 'x\c'` in
839
+  case `echo 'xy\c'` in
840
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
841
-  *)   ECHO_C='\c';;
842
+  xy)  ECHO_C='\c';;
843
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
844
+       ECHO_T='	';;
845
   esac;;
846
 *)
847
   ECHO_N='-n';;
848
 esac
849
 
850
-if expr a : '\(a\)' >/dev/null 2>&1 &&
851
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
852
-  as_expr=expr
853
-else
854
-  as_expr=false
855
-fi
856
-
857
 rm -f conf$$ conf$$.exe conf$$.file
858
 if test -d conf$$.dir; then
859
   rm -f conf$$.dir/conf$$.file
860
 else
861
   rm -f conf$$.dir
862
-  mkdir conf$$.dir
863
+  mkdir conf$$.dir 2>/dev/null
864
 fi
865
-echo >conf$$.file
866
-if ln -s conf$$.file conf$$ 2>/dev/null; then
867
-  as_ln_s='ln -s'
868
-  # ... but there are two gotchas:
869
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
870
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
871
-  # In both cases, we have to default to `cp -p'.
872
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
873
-    as_ln_s='cp -p'
874
-elif ln conf$$.file conf$$ 2>/dev/null; then
875
-  as_ln_s=ln
876
+if (echo >conf$$.file) 2>/dev/null; then
877
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
878
+    as_ln_s='ln -s'
879
+    # ... but there are two gotchas:
880
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
881
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
882
+    # In both cases, we have to default to `cp -pR'.
883
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
884
+      as_ln_s='cp -pR'
885
+  elif ln conf$$.file conf$$ 2>/dev/null; then
886
+    as_ln_s=ln
887
+  else
888
+    as_ln_s='cp -pR'
889
+  fi
890
 else
891
-  as_ln_s='cp -p'
892
+  as_ln_s='cp -pR'
893
 fi
894
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
895
 rmdir conf$$.dir 2>/dev/null
896
 
897
 if mkdir -p . 2>/dev/null; then
898
-  as_mkdir_p=:
899
+  as_mkdir_p='mkdir -p "$as_dir"'
900
 else
901
   test -d ./-p && rmdir ./-p
902
   as_mkdir_p=false
903
 fi
904
 
905
-if test -x / >/dev/null 2>&1; then
906
-  as_test_x='test -x'
907
-else
908
-  if ls -dL / >/dev/null 2>&1; then
909
-    as_ls_L_option=L
910
-  else
911
-    as_ls_L_option=
912
-  fi
913
-  as_test_x='
914
-    eval sh -c '\''
915
-      if test -d "$1"; then
916
-        test -d "$1/.";
917
-      else
918
-	case $1 in
919
-        -*)set "./$1";;
920
-	esac;
921
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
922
-	???[sx]*):;;*)false;;esac;fi
923
-    '\'' sh
924
-  '
925
-fi
926
-as_executable_p=$as_test_x
927
+as_test_x='test -x'
928
+as_executable_p=as_fn_executable_p
929
 
930
 # Sed expression to map a string onto a valid CPP name.
931
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
932
@@ -550,11 +556,11 @@
933
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
934
 
935
 
936
-
937
-exec 7<&0 </dev/null 6>&1
938
+test -n "$DJDIR" || exec 7<&0 </dev/null
939
+exec 6>&1
940
 
941
 # Name of the host.
942
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
943
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
944
 # so uname gets run too.
945
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
946
 
947
@@ -569,14 +575,14 @@
948
 subdirs=
949
 MFLAGS=
950
 MAKEFLAGS=
951
-SHELL=${CONFIG_SHELL-/bin/sh}
952
 
953
 # Identity of this package.
954
 PACKAGE_NAME='ircd-hybrid'
955
 PACKAGE_TARNAME='ircd-hybrid'
956
-PACKAGE_VERSION='7.2.4'
957
-PACKAGE_STRING='ircd-hybrid 7.2.4'
958
+PACKAGE_VERSION='7.2.2'
959
+PACKAGE_STRING='ircd-hybrid 7.2.2'
960
 PACKAGE_BUGREPORT=''
961
+PACKAGE_URL=''
962
 
963
 ac_default_prefix=/usr/local/ircd
964
 # Factoring default headers for most tests.
965
@@ -615,90 +621,119 @@
966
 # include <unistd.h>
967
 #endif"
968
 
969
-ac_subst_vars='SHELL
970
-PATH_SEPARATOR
971
-PACKAGE_NAME
972
-PACKAGE_TARNAME
973
-PACKAGE_VERSION
974
-PACKAGE_STRING
975
-PACKAGE_BUGREPORT
976
-exec_prefix
977
-prefix
978
-program_transform_name
979
-bindir
980
-sbindir
981
-libexecdir
982
-datarootdir
983
-datadir
984
-sysconfdir
985
-sharedstatedir
986
-localstatedir
987
-includedir
988
-oldincludedir
989
-docdir
990
-infodir
991
-htmldir
992
-dvidir
993
-pdfdir
994
-psdir
995
-libdir
996
-localedir
997
-mandir
998
-DEFS
999
-ECHO_C
1000
-ECHO_N
1001
-ECHO_T
1002
-LIBS
1003
-build_alias
1004
-host_alias
1005
-target_alias
1006
-CC
1007
-CFLAGS
1008
-LDFLAGS
1009
-CPPFLAGS
1010
-ac_ct_CC
1011
-EXEEXT
1012
-OBJEXT
1013
-MKDEP
1014
-MAKEDEPEND
1015
+ac_subst_vars='LTLIBOBJS
1016
+LIBOBJS
1017
+DYNLINK_C
1018
+SEDOBJ
1019
+IRC_CFLAGS
1020
+PICFLAGS
1021
+SSL_LIBS
1022
+SSL_INCLUDES
1023
+SSL_SRCS_ENABLE
1024
+MOD_TARGET
1025
+MODULES_LIBS
1026
+EXAMPLE_CONF
1027
+BALLOC_C
1028
+CLOBBER
1029
+SELECT_TYPE
1030
+ZLIB_LD
1031
+ENCSPEED
1032
+SNPRINTF_C
1033
+CRYPT_LIB
1034
+CRYPT_C
1035
+INET_MISC
1036
+TEST
1037
+LD
1038
+AR
1039
+SED
1040
+LN
1041
+MV
1042
+CP
1043
+RM
1044
+INSTALL_DATA
1045
+INSTALL_SCRIPT
1046
+INSTALL_PROGRAM
1047
+SET_MAKE
1048
 STDOUT
1049
-CPP
1050
-GREP
1051
+MAKEDEPEND
1052
+MKDEP
1053
 EGREP
1054
-SET_MAKE
1055
-INSTALL_PROGRAM
1056
-INSTALL_SCRIPT
1057
-INSTALL_DATA
1058
-RM
1059
-CP
1060
-MV
1061
-LN
1062
-SED
1063
-AR
1064
-LD
1065
-TEST
1066
-INET_MISC
1067
-CRYPT_C
1068
-CRYPT_LIB
1069
-SNPRINTF_C
1070
-ENCSPEED
1071
-ZLIB_LD
1072
-SELECT_TYPE
1073
-CLOBBER
1074
-BALLOC_C
1075
-EXAMPLE_CONF
1076
-MODULES_LIBS
1077
-MOD_TARGET
1078
-SSL_SRCS_ENABLE
1079
-SSL_INCLUDES
1080
-SSL_LIBS
1081
-PICFLAGS
1082
-IRC_CFLAGS
1083
-SEDOBJ
1084
-DYNLINK_C
1085
-LIBOBJS
1086
-LTLIBOBJS'
1087
+GREP
1088
+CPP
1089
+OBJEXT
1090
+EXEEXT
1091
+ac_ct_CC
1092
+CPPFLAGS
1093
+LDFLAGS
1094
+CFLAGS
1095
+CC
1096
+target_alias
1097
+host_alias
1098
+build_alias
1099
+LIBS
1100
+ECHO_T
1101
+ECHO_N
1102
+ECHO_C
1103
+DEFS
1104
+mandir
1105
+localedir
1106
+libdir
1107
+psdir
1108
+pdfdir
1109
+dvidir
1110
+htmldir
1111
+infodir
1112
+docdir
1113
+oldincludedir
1114
+includedir
1115
+localstatedir
1116
+sharedstatedir
1117
+sysconfdir
1118
+datadir
1119
+datarootdir
1120
+libexecdir
1121
+sbindir
1122
+bindir
1123
+program_transform_name
1124
+prefix
1125
+exec_prefix
1126
+PACKAGE_URL
1127
+PACKAGE_BUGREPORT
1128
+PACKAGE_STRING
1129
+PACKAGE_VERSION
1130
+PACKAGE_TARNAME
1131
+PACKAGE_NAME
1132
+PATH_SEPARATOR
1133
+SHELL'
1134
 ac_subst_files=''
1135
+ac_user_opts='
1136
+enable_option_checking
1137
+enable_openssl
1138
+with_zlib_path
1139
+enable_zlib
1140
+enable_poll
1141
+enable_select
1142
+enable_kqueue
1143
+enable_devpoll
1144
+enable_rtsigio
1145
+enable_epoll
1146
+enable_clobber
1147
+enable_assert
1148
+enable_profile
1149
+enable_efence
1150
+enable_block_alloc
1151
+enable_warnings
1152
+enable_small_net
1153
+enable_efnet
1154
+enable_dalnetru
1155
+enable_gline_voting
1156
+enable_halfops
1157
+enable_syslog
1158
+with_syslog_facility
1159
+with_nicklen
1160
+with_topiclen
1161
+enable_shared_modules
1162
+'
1163
       ac_precious_vars='build_alias
1164
 host_alias
1165
 target_alias
1166
@@ -713,6 +748,8 @@
1167
 # Initialize some variables set by options.
1168
 ac_init_help=
1169
 ac_init_version=false
1170
+ac_unrecognized_opts=
1171
+ac_unrecognized_sep=
1172
 # The variables have the same names as the options, with
1173
 # dashes changed to underlines.
1174
 cache_file=/dev/null
1175
@@ -768,8 +805,9 @@
1176
   fi
1177
 
1178
   case $ac_option in
1179
-  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1180
-  *)	ac_optarg=yes ;;
1181
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1182
+  *=)   ac_optarg= ;;
1183
+  *)    ac_optarg=yes ;;
1184
   esac
1185
 
1186
   # Accept the important Cygnus configure options, so we can diagnose typos.
1187
@@ -811,13 +849,20 @@
1188
     datarootdir=$ac_optarg ;;
1189
 
1190
   -disable-* | --disable-*)
1191
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1192
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1193
     # Reject names that are not valid shell variable names.
1194
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1195
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1196
-   { (exit 1); exit 1; }; }
1197
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1198
-    eval enable_$ac_feature=no ;;
1199
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200
+      as_fn_error $? "invalid feature name: $ac_useropt"
1201
+    ac_useropt_orig=$ac_useropt
1202
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203
+    case $ac_user_opts in
1204
+      *"
1205
+"enable_$ac_useropt"
1206
+"*) ;;
1207
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1208
+	 ac_unrecognized_sep=', ';;
1209
+    esac
1210
+    eval enable_$ac_useropt=no ;;
1211
 
1212
   -docdir | --docdir | --docdi | --doc | --do)
1213
     ac_prev=docdir ;;
1214
@@ -830,13 +875,20 @@
1215
     dvidir=$ac_optarg ;;
1216
 
1217
   -enable-* | --enable-*)
1218
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1219
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220
     # Reject names that are not valid shell variable names.
1221
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223
-   { (exit 1); exit 1; }; }
1224
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225
-    eval enable_$ac_feature=\$ac_optarg ;;
1226
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1227
+      as_fn_error $? "invalid feature name: $ac_useropt"
1228
+    ac_useropt_orig=$ac_useropt
1229
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230
+    case $ac_user_opts in
1231
+      *"
1232
+"enable_$ac_useropt"
1233
+"*) ;;
1234
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1235
+	 ac_unrecognized_sep=', ';;
1236
+    esac
1237
+    eval enable_$ac_useropt=\$ac_optarg ;;
1238
 
1239
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1240
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1241
@@ -1027,22 +1079,36 @@
1242
     ac_init_version=: ;;
1243
 
1244
   -with-* | --with-*)
1245
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247
     # Reject names that are not valid shell variable names.
1248
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1250
-   { (exit 1); exit 1; }; }
1251
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1252
-    eval with_$ac_package=\$ac_optarg ;;
1253
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254
+      as_fn_error $? "invalid package name: $ac_useropt"
1255
+    ac_useropt_orig=$ac_useropt
1256
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257
+    case $ac_user_opts in
1258
+      *"
1259
+"with_$ac_useropt"
1260
+"*) ;;
1261
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1262
+	 ac_unrecognized_sep=', ';;
1263
+    esac
1264
+    eval with_$ac_useropt=\$ac_optarg ;;
1265
 
1266
   -without-* | --without-*)
1267
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269
     # Reject names that are not valid shell variable names.
1270
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1272
-   { (exit 1); exit 1; }; }
1273
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1274
-    eval with_$ac_package=no ;;
1275
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276
+      as_fn_error $? "invalid package name: $ac_useropt"
1277
+    ac_useropt_orig=$ac_useropt
1278
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279
+    case $ac_user_opts in
1280
+      *"
1281
+"with_$ac_useropt"
1282
+"*) ;;
1283
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1284
+	 ac_unrecognized_sep=', ';;
1285
+    esac
1286
+    eval with_$ac_useropt=no ;;
1287
 
1288
   --x)
1289
     # Obsolete; use --with-x.
1290
@@ -1062,26 +1128,26 @@
1291
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292
     x_libraries=$ac_optarg ;;
1293
 
1294
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
1295
-Try \`$0 --help' for more information." >&2
1296
-   { (exit 1); exit 1; }; }
1297
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1298
+Try \`$0 --help' for more information"
1299
     ;;
1300
 
1301
   *=*)
1302
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1303
     # Reject names that are not valid shell variable names.
1304
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1305
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1306
-   { (exit 1); exit 1; }; }
1307
+    case $ac_envvar in #(
1308
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
1309
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310
+    esac
1311
     eval $ac_envvar=\$ac_optarg
1312
     export $ac_envvar ;;
1313
 
1314
   *)
1315
     # FIXME: should be removed in autoconf 3.0.
1316
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1317
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1318
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1319
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1320
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1321
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1322
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1323
     ;;
1324
 
1325
   esac
1326
@@ -1089,23 +1155,36 @@
1327
 
1328
 if test -n "$ac_prev"; then
1329
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1330
-  { echo "$as_me: error: missing argument to $ac_option" >&2
1331
-   { (exit 1); exit 1; }; }
1332
+  as_fn_error $? "missing argument to $ac_option"
1333
+fi
1334
+
1335
+if test -n "$ac_unrecognized_opts"; then
1336
+  case $enable_option_checking in
1337
+    no) ;;
1338
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1339
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340
+  esac
1341
 fi
1342
 
1343
-# Be sure to have absolute directory names.
1344
+# Check all directory arguments for consistency.
1345
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1346
 		datadir sysconfdir sharedstatedir localstatedir includedir \
1347
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1348
 		libdir localedir mandir
1349
 do
1350
   eval ac_val=\$$ac_var
1351
+  # Remove trailing slashes.
1352
+  case $ac_val in
1353
+    */ )
1354
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1355
+      eval $ac_var=\$ac_val;;
1356
+  esac
1357
+  # Be sure to have absolute directory names.
1358
   case $ac_val in
1359
     [\\/$]* | ?:[\\/]* )  continue;;
1360
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361
   esac
1362
-  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1363
-   { (exit 1); exit 1; }; }
1364
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1365
 done
1366
 
1367
 # There might be people who depend on the old broken behavior: `$host'
1368
@@ -1119,8 +1198,6 @@
1369
 if test "x$host_alias" != x; then
1370
   if test "x$build_alias" = x; then
1371
     cross_compiling=maybe
1372
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1373
-    If a cross compiler is detected then cross compile mode will be used." >&2
1374
   elif test "x$build_alias" != "x$host_alias"; then
1375
     cross_compiling=yes
1376
   fi
1377
@@ -1135,23 +1212,21 @@
1378
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1379
 ac_ls_di=`ls -di .` &&
1380
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1381
-  { echo "$as_me: error: Working directory cannot be determined" >&2
1382
-   { (exit 1); exit 1; }; }
1383
+  as_fn_error $? "working directory cannot be determined"
1384
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385
-  { echo "$as_me: error: pwd does not report name of working directory" >&2
1386
-   { (exit 1); exit 1; }; }
1387
+  as_fn_error $? "pwd does not report name of working directory"
1388
 
1389
 
1390
 # Find the source files, if location was not specified.
1391
 if test -z "$srcdir"; then
1392
   ac_srcdir_defaulted=yes
1393
   # Try the directory containing this script, then the parent directory.
1394
-  ac_confdir=`$as_dirname -- "$0" ||
1395
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396
-	 X"$0" : 'X\(//\)[^/]' \| \
1397
-	 X"$0" : 'X\(//\)$' \| \
1398
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1399
-echo X"$0" |
1400
+  ac_confdir=`$as_dirname -- "$as_myself" ||
1401
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402
+	 X"$as_myself" : 'X\(//\)[^/]' \| \
1403
+	 X"$as_myself" : 'X\(//\)$' \| \
1404
+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405
+$as_echo X"$as_myself" |
1406
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407
 	    s//\1/
1408
 	    q
1409
@@ -1178,13 +1253,11 @@
1410
 fi
1411
 if test ! -r "$srcdir/$ac_unique_file"; then
1412
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1413
-  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1414
-   { (exit 1); exit 1; }; }
1415
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1416
 fi
1417
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418
 ac_abs_confdir=`(
1419
-	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1420
-   { (exit 1); exit 1; }; }
1421
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1422
 	pwd)`
1423
 # When building in place, set srcdir=.
1424
 if test "$ac_abs_confdir" = "$ac_pwd"; then
1425
@@ -1210,7 +1283,7 @@
1426
   # Omit some internal or obsolete options to make the list less imposing.
1427
   # This message is too long to be a string in the A/UX 3.1 sh.
1428
   cat <<_ACEOF
1429
-\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1430
+\`configure' configures ircd-hybrid 7.2.2 to adapt to many kinds of systems.
1431
 
1432
 Usage: $0 [OPTION]... [VAR=VALUE]...
1433
 
1434
@@ -1224,7 +1297,7 @@
1435
       --help=short        display options specific to this package
1436
       --help=recursive    display the short help of all the included packages
1437
   -V, --version           display version information and exit
1438
-  -q, --quiet, --silent   do not print \`checking...' messages
1439
+  -q, --quiet, --silent   do not print \`checking ...' messages
1440
       --cache-file=FILE   cache test results in FILE [disabled]
1441
   -C, --config-cache      alias for \`--cache-file=config.cache'
1442
   -n, --no-create         do not create output files
1443
@@ -1232,9 +1305,9 @@
1444
 
1445
 Installation directories:
1446
   --prefix=PREFIX         install architecture-independent files in PREFIX
1447
-			  [$ac_default_prefix]
1448
+                          [$ac_default_prefix]
1449
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1450
-			  [PREFIX]
1451
+                          [PREFIX]
1452
 
1453
 By default, \`make install' will install all the files in
1454
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1455
@@ -1244,25 +1317,25 @@
1456
 For better control, use the options below.
1457
 
1458
 Fine tuning of the installation directories:
1459
-  --bindir=DIR           user executables [EPREFIX/bin]
1460
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1461
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
1462
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1463
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1464
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1465
-  --libdir=DIR           object code libraries [EPREFIX/lib]
1466
-  --includedir=DIR       C header files [PREFIX/include]
1467
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1468
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1469
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1470
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
1471
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1472
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
1473
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/ircd-hybrid]
1474
-  --htmldir=DIR          html documentation [DOCDIR]
1475
-  --dvidir=DIR           dvi documentation [DOCDIR]
1476
-  --pdfdir=DIR           pdf documentation [DOCDIR]
1477
-  --psdir=DIR            ps documentation [DOCDIR]
1478
+  --bindir=DIR            user executables [EPREFIX/bin]
1479
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1480
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
1481
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1482
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1483
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1484
+  --libdir=DIR            object code libraries [EPREFIX/lib]
1485
+  --includedir=DIR        C header files [PREFIX/include]
1486
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1487
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1488
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1489
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
1490
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1491
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
1492
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/ircd-hybrid]
1493
+  --htmldir=DIR           html documentation [DOCDIR]
1494
+  --dvidir=DIR            dvi documentation [DOCDIR]
1495
+  --pdfdir=DIR            pdf documentation [DOCDIR]
1496
+  --psdir=DIR             ps documentation [DOCDIR]
1497
 _ACEOF
1498
 
1499
   cat <<\_ACEOF
1500
@@ -1271,11 +1344,12 @@
1501
 
1502
 if test -n "$ac_init_help"; then
1503
   case $ac_init_help in
1504
-     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1505
+     short | recursive ) echo "Configuration of ircd-hybrid 7.2.2:";;
1506
    esac
1507
   cat <<\_ACEOF
1508
 
1509
 Optional Features:
1510
+  --disable-option-checking  ignore unrecognized --enable/--with options
1511
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1512
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1513
   --enable-openssl=DIR    Enable OpenSSL support (DIR optional).
1514
@@ -1323,13 +1397,14 @@
1515
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1516
               nonstandard directory <lib dir>
1517
   LIBS        libraries to pass to the linker, e.g. -l<library>
1518
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1519
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1520
               you have headers in a nonstandard directory <include dir>
1521
   CPP         C preprocessor
1522
 
1523
 Use these variables to override the choices made by `configure' or to help
1524
 it to find libraries and programs with nonstandard names/locations.
1525
 
1526
+Report bugs to the package provider.
1527
 _ACEOF
1528
 ac_status=$?
1529
 fi
1530
@@ -1337,15 +1412,17 @@
1531
 if test "$ac_init_help" = "recursive"; then
1532
   # If there are subdirs, report their specific --help.
1533
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534
-    test -d "$ac_dir" || continue
1535
+    test -d "$ac_dir" ||
1536
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537
+      continue
1538
     ac_builddir=.
1539
 
1540
 case "$ac_dir" in
1541
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542
 *)
1543
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1544
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545
   # A ".." for each directory in $ac_dir_suffix.
1546
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1547
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548
   case $ac_top_builddir_sub in
1549
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551
@@ -1381,7 +1458,7 @@
1552
       echo &&
1553
       $SHELL "$ac_srcdir/configure" --help=recursive
1554
     else
1555
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1556
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1557
     fi || ac_status=$?
1558
     cd "$ac_pwd" || { ac_status=$?; break; }
1559
   done
1560
@@ -1390,11 +1467,10 @@
1561
 test -n "$ac_init_help" && exit $ac_status
1562
 if $ac_init_version; then
1563
   cat <<\_ACEOF
1564
-ircd-hybrid configure 7.2.4
1565
-generated by GNU Autoconf 2.61
1566
+ircd-hybrid configure 7.2.2
1567
+generated by GNU Autoconf 2.69
1568
 
1569
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1570
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1571
+Copyright (C) 2012 Free Software Foundation, Inc.
1572
 This configure script is free software; the Free Software Foundation
1573
 gives unlimited permission to copy, distribute and modify it.
1574
 
1575
@@ -1402,6110 +1478,4225 @@
1576
 _ACEOF
1577
   exit
1578
 fi
1579
-cat >config.log <<_ACEOF
1580
-This file contains any messages produced by compilers while
1581
-running configure, to aid debugging if configure makes a mistake.
1582
-
1583
-It was created by ircd-hybrid $as_me 7.2.4, which was
1584
-generated by GNU Autoconf 2.61.  Invocation command line was
1585
-
1586
-  $ $0 $@
1587
 
1588
-_ACEOF
1589
-exec 5>>config.log
1590
+## ------------------------ ##
1591
+## Autoconf initialization. ##
1592
+## ------------------------ ##
1593
+
1594
+# ac_fn_c_try_compile LINENO
1595
+# --------------------------
1596
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1597
+ac_fn_c_try_compile ()
1598
 {
1599
-cat <<_ASUNAME
1600
-## --------- ##
1601
-## Platform. ##
1602
-## --------- ##
1603
-
1604
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1605
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
1606
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
1607
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
1608
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
1609
-
1610
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1611
-/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1612
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613
+  rm -f conftest.$ac_objext
1614
+  if { { ac_try="$ac_compile"
1615
+case "(($ac_try" in
1616
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617
+  *) ac_try_echo=$ac_try;;
1618
+esac
1619
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620
+$as_echo "$ac_try_echo"; } >&5
1621
+  (eval "$ac_compile") 2>conftest.err
1622
+  ac_status=$?
1623
+  if test -s conftest.err; then
1624
+    grep -v '^ *+' conftest.err >conftest.er1
1625
+    cat conftest.er1 >&5
1626
+    mv -f conftest.er1 conftest.err
1627
+  fi
1628
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629
+  test $ac_status = 0; } && {
1630
+	 test -z "$ac_c_werror_flag" ||
1631
+	 test ! -s conftest.err
1632
+       } && test -s conftest.$ac_objext; then :
1633
+  ac_retval=0
1634
+else
1635
+  $as_echo "$as_me: failed program was:" >&5
1636
+sed 's/^/| /' conftest.$ac_ext >&5
1637
 
1638
-/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1639
-/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1640
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1641
-/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1642
-/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1643
-/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1644
-/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1645
+	ac_retval=1
1646
+fi
1647
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648
+  as_fn_set_status $ac_retval
1649
 
1650
-_ASUNAME
1651
+} # ac_fn_c_try_compile
1652
 
1653
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654
-for as_dir in $PATH
1655
-do
1656
-  IFS=$as_save_IFS
1657
-  test -z "$as_dir" && as_dir=.
1658
-  echo "PATH: $as_dir"
1659
-done
1660
-IFS=$as_save_IFS
1661
+# ac_fn_c_try_cpp LINENO
1662
+# ----------------------
1663
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1664
+ac_fn_c_try_cpp ()
1665
+{
1666
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
1668
+case "(($ac_try" in
1669
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670
+  *) ac_try_echo=$ac_try;;
1671
+esac
1672
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673
+$as_echo "$ac_try_echo"; } >&5
1674
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1675
+  ac_status=$?
1676
+  if test -s conftest.err; then
1677
+    grep -v '^ *+' conftest.err >conftest.er1
1678
+    cat conftest.er1 >&5
1679
+    mv -f conftest.er1 conftest.err
1680
+  fi
1681
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682
+  test $ac_status = 0; } > conftest.i && {
1683
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1684
+	 test ! -s conftest.err
1685
+       }; then :
1686
+  ac_retval=0
1687
+else
1688
+  $as_echo "$as_me: failed program was:" >&5
1689
+sed 's/^/| /' conftest.$ac_ext >&5
1690
 
1691
-} >&5
1692
+    ac_retval=1
1693
+fi
1694
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695
+  as_fn_set_status $ac_retval
1696
 
1697
-cat >&5 <<_ACEOF
1698
-
1699
-
1700
-## ----------- ##
1701
-## Core tests. ##
1702
-## ----------- ##
1703
+} # ac_fn_c_try_cpp
1704
 
1705
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1706
+# -------------------------------------------------------
1707
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1708
+# the include files in INCLUDES and setting the cache variable VAR
1709
+# accordingly.
1710
+ac_fn_c_check_header_mongrel ()
1711
+{
1712
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713
+  if eval \${$3+:} false; then :
1714
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715
+$as_echo_n "checking for $2... " >&6; }
1716
+if eval \${$3+:} false; then :
1717
+  $as_echo_n "(cached) " >&6
1718
+fi
1719
+eval ac_res=\$$3
1720
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721
+$as_echo "$ac_res" >&6; }
1722
+else
1723
+  # Is the header compilable?
1724
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1725
+$as_echo_n "checking $2 usability... " >&6; }
1726
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727
+/* end confdefs.h.  */
1728
+$4
1729
+#include <$2>
1730
 _ACEOF
1731
+if ac_fn_c_try_compile "$LINENO"; then :
1732
+  ac_header_compiler=yes
1733
+else
1734
+  ac_header_compiler=no
1735
+fi
1736
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1738
+$as_echo "$ac_header_compiler" >&6; }
1739
 
1740
+# Is the header present?
1741
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1742
+$as_echo_n "checking $2 presence... " >&6; }
1743
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744
+/* end confdefs.h.  */
1745
+#include <$2>
1746
+_ACEOF
1747
+if ac_fn_c_try_cpp "$LINENO"; then :
1748
+  ac_header_preproc=yes
1749
+else
1750
+  ac_header_preproc=no
1751
+fi
1752
+rm -f conftest.err conftest.i conftest.$ac_ext
1753
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1754
+$as_echo "$ac_header_preproc" >&6; }
1755
 
1756
-# Keep a trace of the command line.
1757
-# Strip out --no-create and --no-recursion so they do not pile up.
1758
-# Strip out --silent because we don't want to record it for future runs.
1759
-# Also quote any args containing shell meta-characters.
1760
-# Make two passes to allow for proper duplicate-argument suppression.
1761
-ac_configure_args=
1762
-ac_configure_args0=
1763
-ac_configure_args1=
1764
-ac_must_keep_next=false
1765
-for ac_pass in 1 2
1766
-do
1767
-  for ac_arg
1768
-  do
1769
-    case $ac_arg in
1770
-    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1771
-    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1772
-    | -silent | --silent | --silen | --sile | --sil)
1773
-      continue ;;
1774
-    *\'*)
1775
-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1776
-    esac
1777
-    case $ac_pass in
1778
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1779
-    2)
1780
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1781
-      if test $ac_must_keep_next = true; then
1782
-	ac_must_keep_next=false # Got value, back to normal.
1783
-      else
1784
-	case $ac_arg in
1785
-	  *=* | --config-cache | -C | -disable-* | --disable-* \
1786
-	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1787
-	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1788
-	  | -with-* | --with-* | -without-* | --without-* | --x)
1789
-	    case "$ac_configure_args0 " in
1790
-	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1791
-	    esac
1792
-	    ;;
1793
-	  -* ) ac_must_keep_next=true ;;
1794
-	esac
1795
-      fi
1796
-      ac_configure_args="$ac_configure_args '$ac_arg'"
1797
-      ;;
1798
-    esac
1799
-  done
1800
-done
1801
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1802
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1803
+# So?  What about this header?
1804
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1805
+  yes:no: )
1806
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1807
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1808
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1809
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810
+    ;;
1811
+  no:yes:* )
1812
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1813
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1814
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1815
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1816
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1817
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1818
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1819
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1820
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822
+    ;;
1823
+esac
1824
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825
+$as_echo_n "checking for $2... " >&6; }
1826
+if eval \${$3+:} false; then :
1827
+  $as_echo_n "(cached) " >&6
1828
+else
1829
+  eval "$3=\$ac_header_compiler"
1830
+fi
1831
+eval ac_res=\$$3
1832
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833
+$as_echo "$ac_res" >&6; }
1834
+fi
1835
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836
 
1837
-# When interrupted or exit'd, cleanup temporary files, and complete
1838
-# config.log.  We remove comments because anyway the quotes in there
1839
-# would cause problems or look ugly.
1840
-# WARNING: Use '\'' to represent an apostrophe within the trap.
1841
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1842
-trap 'exit_status=$?
1843
-  # Save into config.log some information that might help in debugging.
1844
-  {
1845
-    echo
1846
+} # ac_fn_c_check_header_mongrel
1847
 
1848
-    cat <<\_ASBOX
1849
-## ---------------- ##
1850
-## Cache variables. ##
1851
-## ---------------- ##
1852
-_ASBOX
1853
-    echo
1854
-    # The following way of writing the cache mishandles newlines in values,
1855
-(
1856
-  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1857
-    eval ac_val=\$$ac_var
1858
-    case $ac_val in #(
1859
-    *${as_nl}*)
1860
-      case $ac_var in #(
1861
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1862
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1863
-      esac
1864
-      case $ac_var in #(
1865
-      _ | IFS | as_nl) ;; #(
1866
-      *) $as_unset $ac_var ;;
1867
-      esac ;;
1868
-    esac
1869
-  done
1870
-  (set) 2>&1 |
1871
-    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1872
-    *${as_nl}ac_space=\ *)
1873
-      sed -n \
1874
-	"s/'\''/'\''\\\\'\'''\''/g;
1875
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1876
-      ;; #(
1877
-    *)
1878
-      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1879
-      ;;
1880
-    esac |
1881
-    sort
1882
-)
1883
-    echo
1884
+# ac_fn_c_try_run LINENO
1885
+# ----------------------
1886
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1887
+# that executables *can* be run.
1888
+ac_fn_c_try_run ()
1889
+{
1890
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891
+  if { { ac_try="$ac_link"
1892
+case "(($ac_try" in
1893
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894
+  *) ac_try_echo=$ac_try;;
1895
+esac
1896
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897
+$as_echo "$ac_try_echo"; } >&5
1898
+  (eval "$ac_link") 2>&5
1899
+  ac_status=$?
1900
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1902
+  { { case "(($ac_try" in
1903
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904
+  *) ac_try_echo=$ac_try;;
1905
+esac
1906
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907
+$as_echo "$ac_try_echo"; } >&5
1908
+  (eval "$ac_try") 2>&5
1909
+  ac_status=$?
1910
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911
+  test $ac_status = 0; }; }; then :
1912
+  ac_retval=0
1913
+else
1914
+  $as_echo "$as_me: program exited with status $ac_status" >&5
1915
+       $as_echo "$as_me: failed program was:" >&5
1916
+sed 's/^/| /' conftest.$ac_ext >&5
1917
 
1918
-    cat <<\_ASBOX
1919
-## ----------------- ##
1920
-## Output variables. ##
1921
-## ----------------- ##
1922
-_ASBOX
1923
-    echo
1924
-    for ac_var in $ac_subst_vars
1925
-    do
1926
-      eval ac_val=\$$ac_var
1927
-      case $ac_val in
1928
-      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929
-      esac
1930
-      echo "$ac_var='\''$ac_val'\''"
1931
-    done | sort
1932
-    echo
1933
+       ac_retval=$ac_status
1934
+fi
1935
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1936
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937
+  as_fn_set_status $ac_retval
1938
 
1939
-    if test -n "$ac_subst_files"; then
1940
-      cat <<\_ASBOX
1941
-## ------------------- ##
1942
-## File substitutions. ##
1943
-## ------------------- ##
1944
-_ASBOX
1945
-      echo
1946
-      for ac_var in $ac_subst_files
1947
-      do
1948
-	eval ac_val=\$$ac_var
1949
-	case $ac_val in
1950
-	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1951
-	esac
1952
-	echo "$ac_var='\''$ac_val'\''"
1953
-      done | sort
1954
-      echo
1955
-    fi
1956
+} # ac_fn_c_try_run
1957
 
1958
-    if test -s confdefs.h; then
1959
-      cat <<\_ASBOX
1960
-## ----------- ##
1961
-## confdefs.h. ##
1962
-## ----------- ##
1963
-_ASBOX
1964
-      echo
1965
-      cat confdefs.h
1966
-      echo
1967
-    fi
1968
-    test "$ac_signal" != 0 &&
1969
-      echo "$as_me: caught signal $ac_signal"
1970
-    echo "$as_me: exit $exit_status"
1971
-  } >&5
1972
-  rm -f core *.core core.conftest.* &&
1973
-    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1974
-    exit $exit_status
1975
-' 0
1976
-for ac_signal in 1 2 13 15; do
1977
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1978
-done
1979
-ac_signal=0
1980
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1981
+# -------------------------------------------------------
1982
+# Tests whether HEADER exists and can be compiled using the include files in
1983
+# INCLUDES, setting the cache variable VAR accordingly.
1984
+ac_fn_c_check_header_compile ()
1985
+{
1986
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988
+$as_echo_n "checking for $2... " >&6; }
1989
+if eval \${$3+:} false; then :
1990
+  $as_echo_n "(cached) " >&6
1991
+else
1992
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993
+/* end confdefs.h.  */
1994
+$4
1995
+#include <$2>
1996
+_ACEOF
1997
+if ac_fn_c_try_compile "$LINENO"; then :
1998
+  eval "$3=yes"
1999
+else
2000
+  eval "$3=no"
2001
+fi
2002
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2003
+fi
2004
+eval ac_res=\$$3
2005
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006
+$as_echo "$ac_res" >&6; }
2007
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008
 
2009
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
2010
-rm -f -r conftest* confdefs.h
2011
+} # ac_fn_c_check_header_compile
2012
 
2013
-# Predefined preprocessor variables.
2014
+# ac_fn_c_try_link LINENO
2015
+# -----------------------
2016
+# Try to link conftest.$ac_ext, and return whether this succeeded.
2017
+ac_fn_c_try_link ()
2018
+{
2019
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020
+  rm -f conftest.$ac_objext conftest$ac_exeext
2021
+  if { { ac_try="$ac_link"
2022
+case "(($ac_try" in
2023
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024
+  *) ac_try_echo=$ac_try;;
2025
+esac
2026
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027
+$as_echo "$ac_try_echo"; } >&5
2028
+  (eval "$ac_link") 2>conftest.err
2029
+  ac_status=$?
2030
+  if test -s conftest.err; then
2031
+    grep -v '^ *+' conftest.err >conftest.er1
2032
+    cat conftest.er1 >&5
2033
+    mv -f conftest.er1 conftest.err
2034
+  fi
2035
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036
+  test $ac_status = 0; } && {
2037
+	 test -z "$ac_c_werror_flag" ||
2038
+	 test ! -s conftest.err
2039
+       } && test -s conftest$ac_exeext && {
2040
+	 test "$cross_compiling" = yes ||
2041
+	 test -x conftest$ac_exeext
2042
+       }; then :
2043
+  ac_retval=0
2044
+else
2045
+  $as_echo "$as_me: failed program was:" >&5
2046
+sed 's/^/| /' conftest.$ac_ext >&5
2047
 
2048
-cat >>confdefs.h <<_ACEOF
2049
-#define PACKAGE_NAME "$PACKAGE_NAME"
2050
-_ACEOF
2051
+	ac_retval=1
2052
+fi
2053
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2054
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2055
+  # interfere with the next link command; also delete a directory that is
2056
+  # left behind by Apple's compiler.  We do this before executing the actions.
2057
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2058
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059
+  as_fn_set_status $ac_retval
2060
 
2061
+} # ac_fn_c_try_link
2062
 
2063
-cat >>confdefs.h <<_ACEOF
2064
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2065
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2066
+# -------------------------------------------
2067
+# Tests whether TYPE exists after having included INCLUDES, setting cache
2068
+# variable VAR accordingly.
2069
+ac_fn_c_check_type ()
2070
+{
2071
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2072
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2073
+$as_echo_n "checking for $2... " >&6; }
2074
+if eval \${$3+:} false; then :
2075
+  $as_echo_n "(cached) " >&6
2076
+else
2077
+  eval "$3=no"
2078
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079
+/* end confdefs.h.  */
2080
+$4
2081
+int
2082
+main ()
2083
+{
2084
+if (sizeof ($2))
2085
+	 return 0;
2086
+  ;
2087
+  return 0;
2088
+}
2089
 _ACEOF
2090
-
2091
-
2092
-cat >>confdefs.h <<_ACEOF
2093
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
2094
+if ac_fn_c_try_compile "$LINENO"; then :
2095
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096
+/* end confdefs.h.  */
2097
+$4
2098
+int
2099
+main ()
2100
+{
2101
+if (sizeof (($2)))
2102
+	    return 0;
2103
+  ;
2104
+  return 0;
2105
+}
2106
 _ACEOF
2107
+if ac_fn_c_try_compile "$LINENO"; then :
2108
 
2109
+else
2110
+  eval "$3=yes"
2111
+fi
2112
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113
+fi
2114
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115
+fi
2116
+eval ac_res=\$$3
2117
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118
+$as_echo "$ac_res" >&6; }
2119
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120
 
2121
-cat >>confdefs.h <<_ACEOF
2122
-#define PACKAGE_STRING "$PACKAGE_STRING"
2123
-_ACEOF
2124
-
2125
+} # ac_fn_c_check_type
2126
 
2127
-cat >>confdefs.h <<_ACEOF
2128
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2129
+# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2130
+# ----------------------------------------------------
2131
+# Tries to find if the field MEMBER exists in type AGGR, after including
2132
+# INCLUDES, setting cache variable VAR accordingly.
2133
+ac_fn_c_check_member ()
2134
+{
2135
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2136
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2137
+$as_echo_n "checking for $2.$3... " >&6; }
2138
+if eval \${$4+:} false; then :
2139
+  $as_echo_n "(cached) " >&6
2140
+else
2141
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2142
+/* end confdefs.h.  */
2143
+$5
2144
+int
2145
+main ()
2146
+{
2147
+static $2 ac_aggr;
2148
+if (ac_aggr.$3)
2149
+return 0;
2150
+  ;
2151
+  return 0;
2152
+}
2153
+_ACEOF
2154
+if ac_fn_c_try_compile "$LINENO"; then :
2155
+  eval "$4=yes"
2156
+else
2157
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158
+/* end confdefs.h.  */
2159
+$5
2160
+int
2161
+main ()
2162
+{
2163
+static $2 ac_aggr;
2164
+if (sizeof ac_aggr.$3)
2165
+return 0;
2166
+  ;
2167
+  return 0;
2168
+}
2169
 _ACEOF
2170
+if ac_fn_c_try_compile "$LINENO"; then :
2171
+  eval "$4=yes"
2172
+else
2173
+  eval "$4=no"
2174
+fi
2175
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2176
+fi
2177
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178
+fi
2179
+eval ac_res=\$$4
2180
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181
+$as_echo "$ac_res" >&6; }
2182
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2183
 
2184
+} # ac_fn_c_check_member
2185
 
2186
-# Let the site file select an alternate cache file if it wants to.
2187
-# Prefer explicitly selected file to automatically selected ones.
2188
-if test -n "$CONFIG_SITE"; then
2189
-  set x "$CONFIG_SITE"
2190
-elif test "x$prefix" != xNONE; then
2191
-  set x "$prefix/share/config.site" "$prefix/etc/config.site"
2192
+# ac_fn_c_check_func LINENO FUNC VAR
2193
+# ----------------------------------
2194
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
2195
+ac_fn_c_check_func ()
2196
+{
2197
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2199
+$as_echo_n "checking for $2... " >&6; }
2200
+if eval \${$3+:} false; then :
2201
+  $as_echo_n "(cached) " >&6
2202
 else
2203
-  set x "$ac_default_prefix/share/config.site" \
2204
-	"$ac_default_prefix/etc/config.site"
2205
-fi
2206
-shift
2207
-for ac_site_file
2208
-do
2209
-  if test -r "$ac_site_file"; then
2210
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2211
-echo "$as_me: loading site script $ac_site_file" >&6;}
2212
-    sed 's/^/| /' "$ac_site_file" >&5
2213
-    . "$ac_site_file"
2214
-  fi
2215
-done
2216
-
2217
-if test -r "$cache_file"; then
2218
-  # Some versions of bash will fail to source /dev/null (special
2219
-  # files actually), so we avoid doing that.
2220
-  if test -f "$cache_file"; then
2221
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2222
-echo "$as_me: loading cache $cache_file" >&6;}
2223
-    case $cache_file in
2224
-      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2225
-      *)                      . "./$cache_file";;
2226
-    esac
2227
-  fi
2228
-else
2229
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2230
-echo "$as_me: creating cache $cache_file" >&6;}
2231
-  >$cache_file
2232
-fi
2233
-
2234
-# Check that the precious variables saved in the cache have kept the same
2235
-# value.
2236
-ac_cache_corrupted=false
2237
-for ac_var in $ac_precious_vars; do
2238
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2239
-  eval ac_new_set=\$ac_env_${ac_var}_set
2240
-  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2241
-  eval ac_new_val=\$ac_env_${ac_var}_value
2242
-  case $ac_old_set,$ac_new_set in
2243
-    set,)
2244
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2245
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2246
-      ac_cache_corrupted=: ;;
2247
-    ,set)
2248
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2249
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2250
-      ac_cache_corrupted=: ;;
2251
-    ,);;
2252
-    *)
2253
-      if test "x$ac_old_val" != "x$ac_new_val"; then
2254
-	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2255
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2256
-	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2257
-echo "$as_me:   former value:  $ac_old_val" >&2;}
2258
-	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2259
-echo "$as_me:   current value: $ac_new_val" >&2;}
2260
-	ac_cache_corrupted=:
2261
-      fi;;
2262
-  esac
2263
-  # Pass precious variables to config.status.
2264
-  if test "$ac_new_set" = set; then
2265
-    case $ac_new_val in
2266
-    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2267
-    *) ac_arg=$ac_var=$ac_new_val ;;
2268
-    esac
2269
-    case " $ac_configure_args " in
2270
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2271
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2272
-    esac
2273
-  fi
2274
-done
2275
-if $ac_cache_corrupted; then
2276
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2277
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2278
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2279
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2280
-   { (exit 1); exit 1; }; }
2281
-fi
2282
-
2283
-
2284
-
2285
-
2286
-
2287
-
2288
-
2289
-
2290
-
2291
-
2292
-
2293
-
2294
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295
+/* end confdefs.h.  */
2296
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2297
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2298
+#define $2 innocuous_$2
2299
 
2300
+/* System header to define __stub macros and hopefully few prototypes,
2301
+    which can conflict with char $2 (); below.
2302
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2303
+    <limits.h> exists even on freestanding compilers.  */
2304
 
2305
+#ifdef __STDC__
2306
+# include <limits.h>
2307
+#else
2308
+# include <assert.h>
2309
+#endif
2310
 
2311
+#undef $2
2312
 
2313
+/* Override any GCC internal prototype to avoid an error.
2314
+   Use char because int might match the return type of a GCC
2315
+   builtin and then its argument prototype would still apply.  */
2316
+#ifdef __cplusplus
2317
+extern "C"
2318
+#endif
2319
+char $2 ();
2320
+/* The GNU C library defines this for functions which it implements
2321
+    to always fail with ENOSYS.  Some functions are actually named
2322
+    something starting with __ and the normal name is an alias.  */
2323
+#if defined __stub_$2 || defined __stub___$2
2324
+choke me
2325
+#endif
2326
 
2327
+int
2328
+main ()
2329
+{
2330
+return $2 ();
2331
+  ;
2332
+  return 0;
2333
+}
2334
+_ACEOF
2335
+if ac_fn_c_try_link "$LINENO"; then :
2336
+  eval "$3=yes"
2337
+else
2338
+  eval "$3=no"
2339
+fi
2340
+rm -f core conftest.err conftest.$ac_objext \
2341
+    conftest$ac_exeext conftest.$ac_ext
2342
+fi
2343
+eval ac_res=\$$3
2344
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2345
+$as_echo "$ac_res" >&6; }
2346
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2347
 
2348
+} # ac_fn_c_check_func
2349
 
2350
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2351
+# --------------------------------------------
2352
+# Tries to find the compile-time value of EXPR in a program that includes
2353
+# INCLUDES, setting VAR accordingly. Returns whether the value could be
2354
+# computed
2355
+ac_fn_c_compute_int ()
2356
+{
2357
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2358
+  if test "$cross_compiling" = yes; then
2359
+    # Depending upon the size, compute the lo and hi bounds.
2360
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361
+/* end confdefs.h.  */
2362
+$4
2363
+int
2364
+main ()
2365
+{
2366
+static int test_array [1 - 2 * !(($2) >= 0)];
2367
+test_array [0] = 0;
2368
+return test_array [0];
2369
 
2370
+  ;
2371
+  return 0;
2372
+}
2373
+_ACEOF
2374
+if ac_fn_c_try_compile "$LINENO"; then :
2375
+  ac_lo=0 ac_mid=0
2376
+  while :; do
2377
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378
+/* end confdefs.h.  */
2379
+$4
2380
+int
2381
+main ()
2382
+{
2383
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2384
+test_array [0] = 0;
2385
+return test_array [0];
2386
 
2387
+  ;
2388
+  return 0;
2389
+}
2390
+_ACEOF
2391
+if ac_fn_c_try_compile "$LINENO"; then :
2392
+  ac_hi=$ac_mid; break
2393
+else
2394
+  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2395
+			if test $ac_lo -le $ac_mid; then
2396
+			  ac_lo= ac_hi=
2397
+			  break
2398
+			fi
2399
+			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2400
+fi
2401
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402
+  done
2403
+else
2404
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405
+/* end confdefs.h.  */
2406
+$4
2407
+int
2408
+main ()
2409
+{
2410
+static int test_array [1 - 2 * !(($2) < 0)];
2411
+test_array [0] = 0;
2412
+return test_array [0];
2413
 
2414
+  ;
2415
+  return 0;
2416
+}
2417
+_ACEOF
2418
+if ac_fn_c_try_compile "$LINENO"; then :
2419
+  ac_hi=-1 ac_mid=-1
2420
+  while :; do
2421
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2422
+/* end confdefs.h.  */
2423
+$4
2424
+int
2425
+main ()
2426
+{
2427
+static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2428
+test_array [0] = 0;
2429
+return test_array [0];
2430
 
2431
+  ;
2432
+  return 0;
2433
+}
2434
+_ACEOF
2435
+if ac_fn_c_try_compile "$LINENO"; then :
2436
+  ac_lo=$ac_mid; break
2437
+else
2438
+  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2439
+			if test $ac_mid -le $ac_hi; then
2440
+			  ac_lo= ac_hi=
2441
+			  break
2442
+			fi
2443
+			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2444
+fi
2445
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446
+  done
2447
+else
2448
+  ac_lo= ac_hi=
2449
+fi
2450
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451
+fi
2452
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453
+# Binary search between lo and hi bounds.
2454
+while test "x$ac_lo" != "x$ac_hi"; do
2455
+  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2456
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457
+/* end confdefs.h.  */
2458
+$4
2459
+int
2460
+main ()
2461
+{
2462
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2463
+test_array [0] = 0;
2464
+return test_array [0];
2465
 
2466
+  ;
2467
+  return 0;
2468
+}
2469
+_ACEOF
2470
+if ac_fn_c_try_compile "$LINENO"; then :
2471
+  ac_hi=$ac_mid
2472
+else
2473
+  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2474
+fi
2475
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476
+done
2477
+case $ac_lo in #((
2478
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2479
+'') ac_retval=1 ;;
2480
+esac
2481
+  else
2482
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2483
+/* end confdefs.h.  */
2484
+$4
2485
+static long int longval () { return $2; }
2486
+static unsigned long int ulongval () { return $2; }
2487
+#include <stdio.h>
2488
+#include <stdlib.h>
2489
+int
2490
+main ()
2491
+{
2492
 
2493
-ac_ext=c
2494
-ac_cpp='$CPP $CPPFLAGS'
2495
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2496
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2497
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2498
+  FILE *f = fopen ("conftest.val", "w");
2499
+  if (! f)
2500
+    return 1;
2501
+  if (($2) < 0)
2502
+    {
2503
+      long int i = longval ();
2504
+      if (i != ($2))
2505
+	return 1;
2506
+      fprintf (f, "%ld", i);
2507
+    }
2508
+  else
2509
+    {
2510
+      unsigned long int i = ulongval ();
2511
+      if (i != ($2))
2512
+	return 1;
2513
+      fprintf (f, "%lu", i);
2514
+    }
2515
+  /* Do not output a trailing newline, as this causes \r\n confusion
2516
+     on some platforms.  */
2517
+  return ferror (f) || fclose (f) != 0;
2518
 
2519
+  ;
2520
+  return 0;
2521
+}
2522
+_ACEOF
2523
+if ac_fn_c_try_run "$LINENO"; then :
2524
+  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2525
+else
2526
+  ac_retval=1
2527
+fi
2528
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2529
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
2530
+rm -f conftest.val
2531
 
2532
+  fi
2533
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534
+  as_fn_set_status $ac_retval
2535
 
2536
-ac_config_headers="$ac_config_headers include/setup.h"
2537
+} # ac_fn_c_compute_int
2538
+cat >config.log <<_ACEOF
2539
+This file contains any messages produced by compilers while
2540
+running configure, to aid debugging if configure makes a mistake.
2541
 
2542
+It was created by ircd-hybrid $as_me 7.2.2, which was
2543
+generated by GNU Autoconf 2.69.  Invocation command line was
2544
 
2545
+  $ $0 $@
2546
 
2547
+_ACEOF
2548
+exec 5>>config.log
2549
+{
2550
+cat <<_ASUNAME
2551
+## --------- ##
2552
+## Platform. ##
2553
+## --------- ##
2554
 
2555
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2556
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
2557
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
2558
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
2559
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
2560
 
2561
-cat >>confdefs.h <<\_ACEOF
2562
-#define _GNU_SOURCE 1
2563
-_ACEOF
2564
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2565
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2566
 
2567
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2568
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2569
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2570
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2571
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2572
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2573
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2574
 
2575
+_ASUNAME
2576
 
2577
-OLD_CFLAGS="$CFLAGS"
2578
-ac_ext=c
2579
-ac_cpp='$CPP $CPPFLAGS'
2580
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2583
-if test -n "$ac_tool_prefix"; then
2584
-  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2585
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
2586
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2587
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2588
-if test "${ac_cv_prog_CC+set}" = set; then
2589
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2590
-else
2591
-  if test -n "$CC"; then
2592
-  ac_cv_prog_CC="$CC" # Let the user override the test.
2593
-else
2594
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595
 for as_dir in $PATH
2596
 do
2597
   IFS=$as_save_IFS
2598
   test -z "$as_dir" && as_dir=.
2599
-  for ac_exec_ext in '' $ac_executable_extensions; do
2600
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601
-    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2602
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603
-    break 2
2604
-  fi
2605
-done
2606
-done
2607
+    $as_echo "PATH: $as_dir"
2608
+  done
2609
 IFS=$as_save_IFS
2610
 
2611
-fi
2612
-fi
2613
-CC=$ac_cv_prog_CC
2614
-if test -n "$CC"; then
2615
-  { echo "$as_me:$LINENO: result: $CC" >&5
2616
-echo "${ECHO_T}$CC" >&6; }
2617
-else
2618
-  { echo "$as_me:$LINENO: result: no" >&5
2619
-echo "${ECHO_T}no" >&6; }
2620
-fi
2621
+} >&5
2622
 
2623
+cat >&5 <<_ACEOF
2624
 
2625
-fi
2626
-if test -z "$ac_cv_prog_CC"; then
2627
-  ac_ct_CC=$CC
2628
-  # Extract the first word of "gcc", so it can be a program name with args.
2629
-set dummy gcc; ac_word=$2
2630
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2631
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2632
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2633
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2634
-else
2635
-  if test -n "$ac_ct_CC"; then
2636
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2637
-else
2638
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639
-for as_dir in $PATH
2640
-do
2641
-  IFS=$as_save_IFS
2642
-  test -z "$as_dir" && as_dir=.
2643
-  for ac_exec_ext in '' $ac_executable_extensions; do
2644
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645
-    ac_cv_prog_ac_ct_CC="gcc"
2646
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647
-    break 2
2648
-  fi
2649
-done
2650
-done
2651
-IFS=$as_save_IFS
2652
-
2653
-fi
2654
-fi
2655
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656
-if test -n "$ac_ct_CC"; then
2657
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2658
-echo "${ECHO_T}$ac_ct_CC" >&6; }
2659
-else
2660
-  { echo "$as_me:$LINENO: result: no" >&5
2661
-echo "${ECHO_T}no" >&6; }
2662
-fi
2663
-
2664
-  if test "x$ac_ct_CC" = x; then
2665
-    CC=""
2666
-  else
2667
-    case $cross_compiling:$ac_tool_warned in
2668
-yes:)
2669
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2670
-whose name does not start with the host triplet.  If you think this
2671
-configuration is useful to you, please write to autoconf@gnu.org." >&5
2672
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2673
-whose name does not start with the host triplet.  If you think this
2674
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2675
-ac_tool_warned=yes ;;
2676
-esac
2677
-    CC=$ac_ct_CC
2678
-  fi
2679
-else
2680
-  CC="$ac_cv_prog_CC"
2681
-fi
2682
-
2683
-if test -z "$CC"; then
2684
-          if test -n "$ac_tool_prefix"; then
2685
-    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2686
-set dummy ${ac_tool_prefix}cc; ac_word=$2
2687
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2688
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2689
-if test "${ac_cv_prog_CC+set}" = set; then
2690
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2691
-else
2692
-  if test -n "$CC"; then
2693
-  ac_cv_prog_CC="$CC" # Let the user override the test.
2694
-else
2695
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696
-for as_dir in $PATH
2697
-do
2698
-  IFS=$as_save_IFS
2699
-  test -z "$as_dir" && as_dir=.
2700
-  for ac_exec_ext in '' $ac_executable_extensions; do
2701
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702
-    ac_cv_prog_CC="${ac_tool_prefix}cc"
2703
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704
-    break 2
2705
-  fi
2706
-done
2707
-done
2708
-IFS=$as_save_IFS
2709
-
2710
-fi
2711
-fi
2712
-CC=$ac_cv_prog_CC
2713
-if test -n "$CC"; then
2714
-  { echo "$as_me:$LINENO: result: $CC" >&5
2715
-echo "${ECHO_T}$CC" >&6; }
2716
-else
2717
-  { echo "$as_me:$LINENO: result: no" >&5
2718
-echo "${ECHO_T}no" >&6; }
2719
-fi
2720
-
2721
-
2722
-  fi
2723
-fi
2724
-if test -z "$CC"; then
2725
-  # Extract the first word of "cc", so it can be a program name with args.
2726
-set dummy cc; ac_word=$2
2727
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2728
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2729
-if test "${ac_cv_prog_CC+set}" = set; then
2730
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2731
-else
2732
-  if test -n "$CC"; then
2733
-  ac_cv_prog_CC="$CC" # Let the user override the test.
2734
-else
2735
-  ac_prog_rejected=no
2736
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737
-for as_dir in $PATH
2738
-do
2739
-  IFS=$as_save_IFS
2740
-  test -z "$as_dir" && as_dir=.
2741
-  for ac_exec_ext in '' $ac_executable_extensions; do
2742
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743
-    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2744
-       ac_prog_rejected=yes
2745
-       continue
2746
-     fi
2747
-    ac_cv_prog_CC="cc"
2748
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749
-    break 2
2750
-  fi
2751
-done
2752
-done
2753
-IFS=$as_save_IFS
2754
-
2755
-if test $ac_prog_rejected = yes; then
2756
-  # We found a bogon in the path, so make sure we never use it.
2757
-  set dummy $ac_cv_prog_CC
2758
-  shift
2759
-  if test $# != 0; then
2760
-    # We chose a different compiler from the bogus one.
2761
-    # However, it has the same basename, so the bogon will be chosen
2762
-    # first if we set CC to just the basename; use the full file name.
2763
-    shift
2764
-    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2765
-  fi
2766
-fi
2767
-fi
2768
-fi
2769
-CC=$ac_cv_prog_CC
2770
-if test -n "$CC"; then
2771
-  { echo "$as_me:$LINENO: result: $CC" >&5
2772
-echo "${ECHO_T}$CC" >&6; }
2773
-else
2774
-  { echo "$as_me:$LINENO: result: no" >&5
2775
-echo "${ECHO_T}no" >&6; }
2776
-fi
2777
-
2778
-
2779
-fi
2780
-if test -z "$CC"; then
2781
-  if test -n "$ac_tool_prefix"; then
2782
-  for ac_prog in cl.exe
2783
-  do
2784
-    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2785
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2786
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2787
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2788
-if test "${ac_cv_prog_CC+set}" = set; then
2789
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2790
-else
2791
-  if test -n "$CC"; then
2792
-  ac_cv_prog_CC="$CC" # Let the user override the test.
2793
-else
2794
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2795
-for as_dir in $PATH
2796
-do
2797
-  IFS=$as_save_IFS
2798
-  test -z "$as_dir" && as_dir=.
2799
-  for ac_exec_ext in '' $ac_executable_extensions; do
2800
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801
-    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2802
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803
-    break 2
2804
-  fi
2805
-done
2806
-done
2807
-IFS=$as_save_IFS
2808
-
2809
-fi
2810
-fi
2811
-CC=$ac_cv_prog_CC
2812
-if test -n "$CC"; then
2813
-  { echo "$as_me:$LINENO: result: $CC" >&5
2814
-echo "${ECHO_T}$CC" >&6; }
2815
-else
2816
-  { echo "$as_me:$LINENO: result: no" >&5
2817
-echo "${ECHO_T}no" >&6; }
2818
-fi
2819
-
2820
-
2821
-    test -n "$CC" && break
2822
-  done
2823
-fi
2824
-if test -z "$CC"; then
2825
-  ac_ct_CC=$CC
2826
-  for ac_prog in cl.exe
2827
-do
2828
-  # Extract the first word of "$ac_prog", so it can be a program name with args.
2829
-set dummy $ac_prog; ac_word=$2
2830
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2831
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2832
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2833
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2834
-else
2835
-  if test -n "$ac_ct_CC"; then
2836
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2837
-else
2838
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839
-for as_dir in $PATH
2840
-do
2841
-  IFS=$as_save_IFS
2842
-  test -z "$as_dir" && as_dir=.
2843
-  for ac_exec_ext in '' $ac_executable_extensions; do
2844
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2845
-    ac_cv_prog_ac_ct_CC="$ac_prog"
2846
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847
-    break 2
2848
-  fi
2849
-done
2850
-done
2851
-IFS=$as_save_IFS
2852
-
2853
-fi
2854
-fi
2855
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2856
-if test -n "$ac_ct_CC"; then
2857
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2858
-echo "${ECHO_T}$ac_ct_CC" >&6; }
2859
-else
2860
-  { echo "$as_me:$LINENO: result: no" >&5
2861
-echo "${ECHO_T}no" >&6; }
2862
-fi
2863
-
2864
-
2865
-  test -n "$ac_ct_CC" && break
2866
-done
2867
-
2868
-  if test "x$ac_ct_CC" = x; then
2869
-    CC=""
2870
-  else
2871
-    case $cross_compiling:$ac_tool_warned in
2872
-yes:)
2873
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2874
-whose name does not start with the host triplet.  If you think this
2875
-configuration is useful to you, please write to autoconf@gnu.org." >&5
2876
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2877
-whose name does not start with the host triplet.  If you think this
2878
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2879
-ac_tool_warned=yes ;;
2880
-esac
2881
-    CC=$ac_ct_CC
2882
-  fi
2883
-fi
2884
-
2885
-fi
2886
-
2887
-
2888
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2889
-See \`config.log' for more details." >&5
2890
-echo "$as_me: error: no acceptable C compiler found in \$PATH
2891
-See \`config.log' for more details." >&2;}
2892
-   { (exit 1); exit 1; }; }
2893
-
2894
-# Provide some information about the compiler.
2895
-echo "$as_me:$LINENO: checking for C compiler version" >&5
2896
-ac_compiler=`set X $ac_compile; echo $2`
2897
-{ (ac_try="$ac_compiler --version >&5"
2898
-case "(($ac_try" in
2899
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900
-  *) ac_try_echo=$ac_try;;
2901
-esac
2902
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903
-  (eval "$ac_compiler --version >&5") 2>&5
2904
-  ac_status=$?
2905
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
-  (exit $ac_status); }
2907
-{ (ac_try="$ac_compiler -v >&5"
2908
-case "(($ac_try" in
2909
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910
-  *) ac_try_echo=$ac_try;;
2911
-esac
2912
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913
-  (eval "$ac_compiler -v >&5") 2>&5
2914
-  ac_status=$?
2915
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
-  (exit $ac_status); }
2917
-{ (ac_try="$ac_compiler -V >&5"
2918
-case "(($ac_try" in
2919
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920
-  *) ac_try_echo=$ac_try;;
2921
-esac
2922
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2923
-  (eval "$ac_compiler -V >&5") 2>&5
2924
-  ac_status=$?
2925
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926
-  (exit $ac_status); }
2927
-
2928
-cat >conftest.$ac_ext <<_ACEOF
2929
-/* confdefs.h.  */
2930
-_ACEOF
2931
-cat confdefs.h >>conftest.$ac_ext
2932
-cat >>conftest.$ac_ext <<_ACEOF
2933
-/* end confdefs.h.  */
2934
-
2935
-int
2936
-main ()
2937
-{
2938
-
2939
-  ;
2940
-  return 0;
2941
-}
2942
-_ACEOF
2943
-ac_clean_files_save=$ac_clean_files
2944
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
2945
-# Try to create an executable without -o first, disregard a.out.
2946
-# It will help us diagnose broken compilers, and finding out an intuition
2947
-# of exeext.
2948
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2949
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2950
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2951
-#
2952
-# List of possible output files, starting from the most likely.
2953
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2954
-# only as a last resort.  b.out is created by i960 compilers.
2955
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2956
-#
2957
-# The IRIX 6 linker writes into existing files which may not be
2958
-# executable, retaining their permissions.  Remove them first so a
2959
-# subsequent execution test works.
2960
-ac_rmfiles=
2961
-for ac_file in $ac_files
2962
-do
2963
-  case $ac_file in
2964
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2965
-    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2966
-  esac
2967
-done
2968
-rm -f $ac_rmfiles
2969
-
2970
-if { (ac_try="$ac_link_default"
2971
-case "(($ac_try" in
2972
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973
-  *) ac_try_echo=$ac_try;;
2974
-esac
2975
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976
-  (eval "$ac_link_default") 2>&5
2977
-  ac_status=$?
2978
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979
-  (exit $ac_status); }; then
2980
-  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2981
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2982
-# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2983
-# so that the user can short-circuit this test for compilers unknown to
2984
-# Autoconf.
2985
-for ac_file in $ac_files ''
2986
-do
2987
-  test -f "$ac_file" || continue
2988
-  case $ac_file in
2989
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2990
-	;;
2991
-    [ab].out )
2992
-	# We found the default executable, but exeext='' is most
2993
-	# certainly right.
2994
-	break;;
2995
-    *.* )
2996
-        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2997
-	then :; else
2998
-	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999
-	fi
3000
-	# We set ac_cv_exeext here because the later test for it is not
3001
-	# safe: cross compilers may not add the suffix if given an `-o'
3002
-	# argument, so we may need to know it at that point already.
3003
-	# Even if this section looks crufty: it has the advantage of
3004
-	# actually working.
3005
-	break;;
3006
-    * )
3007
-	break;;
3008
-  esac
3009
-done
3010
-test "$ac_cv_exeext" = no && ac_cv_exeext=
3011
-
3012
-else
3013
-  ac_file=''
3014
-fi
3015
-
3016
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
3017
-echo "${ECHO_T}$ac_file" >&6; }
3018
-if test -z "$ac_file"; then
3019
-  echo "$as_me: failed program was:" >&5
3020
-sed 's/^/| /' conftest.$ac_ext >&5
3021
-
3022
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3023
-See \`config.log' for more details." >&5
3024
-echo "$as_me: error: C compiler cannot create executables
3025
-See \`config.log' for more details." >&2;}
3026
-   { (exit 77); exit 77; }; }
3027
-fi
3028
-
3029
-ac_exeext=$ac_cv_exeext
3030
-
3031
-# Check that the compiler produces executables we can run.  If not, either
3032
-# the compiler is broken, or we cross compile.
3033
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3034
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3035
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3036
-# If not cross compiling, check that we can run a simple program.
3037
-if test "$cross_compiling" != yes; then
3038
-  if { ac_try='./$ac_file'
3039
-  { (case "(($ac_try" in
3040
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041
-  *) ac_try_echo=$ac_try;;
3042
-esac
3043
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3044
-  (eval "$ac_try") 2>&5
3045
-  ac_status=$?
3046
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
-  (exit $ac_status); }; }; then
3048
-    cross_compiling=no
3049
-  else
3050
-    if test "$cross_compiling" = maybe; then
3051
-	cross_compiling=yes
3052
-    else
3053
-	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3054
-If you meant to cross compile, use \`--host'.
3055
-See \`config.log' for more details." >&5
3056
-echo "$as_me: error: cannot run C compiled programs.
3057
-If you meant to cross compile, use \`--host'.
3058
-See \`config.log' for more details." >&2;}
3059
-   { (exit 1); exit 1; }; }
3060
-    fi
3061
-  fi
3062
-fi
3063
-{ echo "$as_me:$LINENO: result: yes" >&5
3064
-echo "${ECHO_T}yes" >&6; }
3065
-
3066
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
3067
-ac_clean_files=$ac_clean_files_save
3068
-# Check that the compiler produces executables we can run.  If not, either
3069
-# the compiler is broken, or we cross compile.
3070
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3071
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3072
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3073
-echo "${ECHO_T}$cross_compiling" >&6; }
3074
-
3075
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3076
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3077
-if { (ac_try="$ac_link"
3078
-case "(($ac_try" in
3079
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080
-  *) ac_try_echo=$ac_try;;
3081
-esac
3082
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3083
-  (eval "$ac_link") 2>&5
3084
-  ac_status=$?
3085
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086
-  (exit $ac_status); }; then
3087
-  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3088
-# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3089
-# work properly (i.e., refer to `conftest.exe'), while it won't with
3090
-# `rm'.
3091
-for ac_file in conftest.exe conftest conftest.*; do
3092
-  test -f "$ac_file" || continue
3093
-  case $ac_file in
3094
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3095
-    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3096
-	  break;;
3097
-    * ) break;;
3098
-  esac
3099
-done
3100
-else
3101
-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3102
-See \`config.log' for more details." >&5
3103
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3104
-See \`config.log' for more details." >&2;}
3105
-   { (exit 1); exit 1; }; }
3106
-fi
3107
-
3108
-rm -f conftest$ac_cv_exeext
3109
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3110
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
3111
-
3112
-rm -f conftest.$ac_ext
3113
-EXEEXT=$ac_cv_exeext
3114
-ac_exeext=$EXEEXT
3115
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3116
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3117
-if test "${ac_cv_objext+set}" = set; then
3118
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3119
-else
3120
-  cat >conftest.$ac_ext <<_ACEOF
3121
-/* confdefs.h.  */
3122
-_ACEOF
3123
-cat confdefs.h >>conftest.$ac_ext
3124
-cat >>conftest.$ac_ext <<_ACEOF
3125
-/* end confdefs.h.  */
3126
-
3127
-int
3128
-main ()
3129
-{
3130
-
3131
-  ;
3132
-  return 0;
3133
-}
3134
-_ACEOF
3135
-rm -f conftest.o conftest.obj
3136
-if { (ac_try="$ac_compile"
3137
-case "(($ac_try" in
3138
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139
-  *) ac_try_echo=$ac_try;;
3140
-esac
3141
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142
-  (eval "$ac_compile") 2>&5
3143
-  ac_status=$?
3144
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145
-  (exit $ac_status); }; then
3146
-  for ac_file in conftest.o conftest.obj conftest.*; do
3147
-  test -f "$ac_file" || continue;
3148
-  case $ac_file in
3149
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3150
-    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3151
-       break;;
3152
-  esac
3153
-done
3154
-else
3155
-  echo "$as_me: failed program was:" >&5
3156
-sed 's/^/| /' conftest.$ac_ext >&5
3157
-
3158
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3159
-See \`config.log' for more details." >&5
3160
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
3161
-See \`config.log' for more details." >&2;}
3162
-   { (exit 1); exit 1; }; }
3163
-fi
3164
-
3165
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
3166
-fi
3167
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3168
-echo "${ECHO_T}$ac_cv_objext" >&6; }
3169
-OBJEXT=$ac_cv_objext
3170
-ac_objext=$OBJEXT
3171
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3172
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3173
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
3174
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3175
-else
3176
-  cat >conftest.$ac_ext <<_ACEOF
3177
-/* confdefs.h.  */
3178
-_ACEOF
3179
-cat confdefs.h >>conftest.$ac_ext
3180
-cat >>conftest.$ac_ext <<_ACEOF
3181
-/* end confdefs.h.  */
3182
-
3183
-int
3184
-main ()
3185
-{
3186
-#ifndef __GNUC__
3187
-       choke me
3188
-#endif
3189
-
3190
-  ;
3191
-  return 0;
3192
-}
3193
-_ACEOF
3194
-rm -f conftest.$ac_objext
3195
-if { (ac_try="$ac_compile"
3196
-case "(($ac_try" in
3197
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198
-  *) ac_try_echo=$ac_try;;
3199
-esac
3200
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201
-  (eval "$ac_compile") 2>conftest.er1
3202
-  ac_status=$?
3203
-  grep -v '^ *+' conftest.er1 >conftest.err
3204
-  rm -f conftest.er1
3205
-  cat conftest.err >&5
3206
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207
-  (exit $ac_status); } && {
3208
-	 test -z "$ac_c_werror_flag" ||
3209
-	 test ! -s conftest.err
3210
-       } && test -s conftest.$ac_objext; then
3211
-  ac_compiler_gnu=yes
3212
-else
3213
-  echo "$as_me: failed program was:" >&5
3214
-sed 's/^/| /' conftest.$ac_ext >&5
3215
-
3216
-	ac_compiler_gnu=no
3217
-fi
3218
-
3219
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
3221
-
3222
-fi
3223
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3224
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3225
-GCC=`test $ac_compiler_gnu = yes && echo yes`
3226
-ac_test_CFLAGS=${CFLAGS+set}
3227
-ac_save_CFLAGS=$CFLAGS
3228
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3229
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3230
-if test "${ac_cv_prog_cc_g+set}" = set; then
3231
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3232
-else
3233
-  ac_save_c_werror_flag=$ac_c_werror_flag
3234
-   ac_c_werror_flag=yes
3235
-   ac_cv_prog_cc_g=no
3236
-   CFLAGS="-g"
3237
-   cat >conftest.$ac_ext <<_ACEOF
3238
-/* confdefs.h.  */
3239
-_ACEOF
3240
-cat confdefs.h >>conftest.$ac_ext
3241
-cat >>conftest.$ac_ext <<_ACEOF
3242
-/* end confdefs.h.  */
3243
-
3244
-int
3245
-main ()
3246
-{
3247
-
3248
-  ;
3249
-  return 0;
3250
-}
3251
-_ACEOF
3252
-rm -f conftest.$ac_objext
3253
-if { (ac_try="$ac_compile"
3254
-case "(($ac_try" in
3255
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256
-  *) ac_try_echo=$ac_try;;
3257
-esac
3258
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3259
-  (eval "$ac_compile") 2>conftest.er1
3260
-  ac_status=$?
3261
-  grep -v '^ *+' conftest.er1 >conftest.err
3262
-  rm -f conftest.er1
3263
-  cat conftest.err >&5
3264
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265
-  (exit $ac_status); } && {
3266
-	 test -z "$ac_c_werror_flag" ||
3267
-	 test ! -s conftest.err
3268
-       } && test -s conftest.$ac_objext; then
3269
-  ac_cv_prog_cc_g=yes
3270
-else
3271
-  echo "$as_me: failed program was:" >&5
3272
-sed 's/^/| /' conftest.$ac_ext >&5
3273
-
3274
-	CFLAGS=""
3275
-      cat >conftest.$ac_ext <<_ACEOF
3276
-/* confdefs.h.  */
3277
-_ACEOF
3278
-cat confdefs.h >>conftest.$ac_ext
3279
-cat >>conftest.$ac_ext <<_ACEOF
3280
-/* end confdefs.h.  */
3281
-
3282
-int
3283
-main ()
3284
-{
3285
-
3286
-  ;
3287
-  return 0;
3288
-}
3289
-_ACEOF
3290
-rm -f conftest.$ac_objext
3291
-if { (ac_try="$ac_compile"
3292
-case "(($ac_try" in
3293
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294
-  *) ac_try_echo=$ac_try;;
3295
-esac
3296
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3297
-  (eval "$ac_compile") 2>conftest.er1
3298
-  ac_status=$?
3299
-  grep -v '^ *+' conftest.er1 >conftest.err
3300
-  rm -f conftest.er1
3301
-  cat conftest.err >&5
3302
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303
-  (exit $ac_status); } && {
3304
-	 test -z "$ac_c_werror_flag" ||
3305
-	 test ! -s conftest.err
3306
-       } && test -s conftest.$ac_objext; then
3307
-  :
3308
-else
3309
-  echo "$as_me: failed program was:" >&5
3310
-sed 's/^/| /' conftest.$ac_ext >&5
3311
-
3312
-	ac_c_werror_flag=$ac_save_c_werror_flag
3313
-	 CFLAGS="-g"
3314
-	 cat >conftest.$ac_ext <<_ACEOF
3315
-/* confdefs.h.  */
3316
-_ACEOF
3317
-cat confdefs.h >>conftest.$ac_ext
3318
-cat >>conftest.$ac_ext <<_ACEOF
3319
-/* end confdefs.h.  */
3320
-
3321
-int
3322
-main ()
3323
-{
3324
-
3325
-  ;
3326
-  return 0;
3327
-}
3328
-_ACEOF
3329
-rm -f conftest.$ac_objext
3330
-if { (ac_try="$ac_compile"
3331
-case "(($ac_try" in
3332
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333
-  *) ac_try_echo=$ac_try;;
3334
-esac
3335
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336
-  (eval "$ac_compile") 2>conftest.er1
3337
-  ac_status=$?
3338
-  grep -v '^ *+' conftest.er1 >conftest.err
3339
-  rm -f conftest.er1
3340
-  cat conftest.err >&5
3341
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342
-  (exit $ac_status); } && {
3343
-	 test -z "$ac_c_werror_flag" ||
3344
-	 test ! -s conftest.err
3345
-       } && test -s conftest.$ac_objext; then
3346
-  ac_cv_prog_cc_g=yes
3347
-else
3348
-  echo "$as_me: failed program was:" >&5
3349
-sed 's/^/| /' conftest.$ac_ext >&5
3350
-
3351
-
3352
-fi
3353
-
3354
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355
-fi
3356
-
3357
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3358
-fi
3359
-
3360
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361
-   ac_c_werror_flag=$ac_save_c_werror_flag
3362
-fi
3363
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3364
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3365
-if test "$ac_test_CFLAGS" = set; then
3366
-  CFLAGS=$ac_save_CFLAGS
3367
-elif test $ac_cv_prog_cc_g = yes; then
3368
-  if test "$GCC" = yes; then
3369
-    CFLAGS="-g -O2"
3370
-  else
3371
-    CFLAGS="-g"
3372
-  fi
3373
-else
3374
-  if test "$GCC" = yes; then
3375
-    CFLAGS="-O2"
3376
-  else
3377
-    CFLAGS=
3378
-  fi
3379
-fi
3380
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3381
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3382
-if test "${ac_cv_prog_cc_c89+set}" = set; then
3383
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3384
-else
3385
-  ac_cv_prog_cc_c89=no
3386
-ac_save_CC=$CC
3387
-cat >conftest.$ac_ext <<_ACEOF
3388
-/* confdefs.h.  */
3389
-_ACEOF
3390
-cat confdefs.h >>conftest.$ac_ext
3391
-cat >>conftest.$ac_ext <<_ACEOF
3392
-/* end confdefs.h.  */
3393
-#include <stdarg.h>
3394
-#include <stdio.h>
3395
-#include <sys/types.h>
3396
-#include <sys/stat.h>
3397
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3398
-struct buf { int x; };
3399
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
3400
-static char *e (p, i)
3401
-     char **p;
3402
-     int i;
3403
-{
3404
-  return p[i];
3405
-}
3406
-static char *f (char * (*g) (char **, int), char **p, ...)
3407
-{
3408
-  char *s;
3409
-  va_list v;
3410
-  va_start (v,p);
3411
-  s = g (p, va_arg (v,int));
3412
-  va_end (v);
3413
-  return s;
3414
-}
3415
-
3416
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3417
-   function prototypes and stuff, but not '\xHH' hex character constants.
3418
-   These don't provoke an error unfortunately, instead are silently treated
3419
-   as 'x'.  The following induces an error, until -std is added to get
3420
-   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3421
-   array size at least.  It's necessary to write '\x00'==0 to get something
3422
-   that's true only with -std.  */
3423
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3424
-
3425
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3426
-   inside strings and character constants.  */
3427
-#define FOO(x) 'x'
3428
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3429
-
3430
-int test (int i, double x);
3431
-struct s1 {int (*f) (int a);};
3432
-struct s2 {int (*f) (double a);};
3433
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3434
-int argc;
3435
-char **argv;
3436
-int
3437
-main ()
3438
-{
3439
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3440
-  ;
3441
-  return 0;
3442
-}
3443
-_ACEOF
3444
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3445
-	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3446
-do
3447
-  CC="$ac_save_CC $ac_arg"
3448
-  rm -f conftest.$ac_objext
3449
-if { (ac_try="$ac_compile"
3450
-case "(($ac_try" in
3451
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452
-  *) ac_try_echo=$ac_try;;
3453
-esac
3454
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3455
-  (eval "$ac_compile") 2>conftest.er1
3456
-  ac_status=$?
3457
-  grep -v '^ *+' conftest.er1 >conftest.err
3458
-  rm -f conftest.er1
3459
-  cat conftest.err >&5
3460
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461
-  (exit $ac_status); } && {
3462
-	 test -z "$ac_c_werror_flag" ||
3463
-	 test ! -s conftest.err
3464
-       } && test -s conftest.$ac_objext; then
3465
-  ac_cv_prog_cc_c89=$ac_arg
3466
-else
3467
-  echo "$as_me: failed program was:" >&5
3468
-sed 's/^/| /' conftest.$ac_ext >&5
3469
-
3470
-
3471
-fi
3472
-
3473
-rm -f core conftest.err conftest.$ac_objext
3474
-  test "x$ac_cv_prog_cc_c89" != "xno" && break
3475
-done
3476
-rm -f conftest.$ac_ext
3477
-CC=$ac_save_CC
3478
-
3479
-fi
3480
-# AC_CACHE_VAL
3481
-case "x$ac_cv_prog_cc_c89" in
3482
-  x)
3483
-    { echo "$as_me:$LINENO: result: none needed" >&5
3484
-echo "${ECHO_T}none needed" >&6; } ;;
3485
-  xno)
3486
-    { echo "$as_me:$LINENO: result: unsupported" >&5
3487
-echo "${ECHO_T}unsupported" >&6; } ;;
3488
-  *)
3489
-    CC="$CC $ac_cv_prog_cc_c89"
3490
-    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3491
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3492
-esac
3493
-
3494
-
3495
-ac_ext=c
3496
-ac_cpp='$CPP $CPPFLAGS'
3497
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3498
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3499
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3500
-
3501
-ac_ext=c
3502
-ac_cpp='$CPP $CPPFLAGS'
3503
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506
-
3507
-
3508
-CFLAGS="$OLD_CFLAGS"
3509
-
3510
-
3511
-if test "$ac_cv_c_compiler_gnu" != yes; then
3512
-
3513
-SGS=no
3514
-{ echo "$as_me:$LINENO: checking $CC -version for TenDRA or MIPSpro" >&5
3515
-echo $ECHO_N "checking $CC -version for TenDRA or MIPSpro... $ECHO_C" >&6; }
3516
-case `$CC -version 2>&1` in
3517
-*TenDRA*)
3518
-	{ echo "$as_me:$LINENO: result: yes, TenDRA" >&5
3519
-echo "${ECHO_T}yes, TenDRA" >&6; }
3520
-	IRC_CFLAGS=""
3521
-	CPPFLAGS="$CPPFLAGS -Ylonglong -Yansi -Ysystem"
3522
-	SGS=yes
3523
-	TenDRA=yes
3524
-;;
3525
-*MIPSpro*)
3526
-	{ echo "$as_me:$LINENO: result: yes, MIPSpro" >&5
3527
-echo "${ECHO_T}yes, MIPSpro" >&6; }
3528
-	MIPSpro=yes
3529
-	SGS=yes
3530
-;;
3531
-*)
3532
-	{ echo "$as_me:$LINENO: result: no" >&5
3533
-echo "${ECHO_T}no" >&6; }
3534
-	TenDRA=no
3535
-	MIPSpro=no
3536
-;;
3537
-esac
3538
-
3539
-{ echo "$as_me:$LINENO: checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc" >&5
3540
-echo $ECHO_N "checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc... $ECHO_C" >&6; }
3541
-case `$CC -V 2>&1` in
3542
-*Sun*WorkShop* | *Forte*Developer* | *Sun*C*)
3543
-	{ echo "$as_me:$LINENO: result: Sun Workshop/Forte" >&5
3544
-echo "${ECHO_T}Sun Workshop/Forte" >&6; }
3545
-	IRC_CFLAGS="-xO3 -xdepend -xinline=dlinkAdd,dlinkAddBefore,dlinkAddTail,dlinkDelete,dlink_list_length,dlink_node,dlinkMoveList,_MyMalloc,_MyRealloc,_MyFree,_DupString"
3546
-	SunWorkShop=yes
3547
-	SGS=yes
3548
-;;
3549
-*Tru64*)
3550
-	{ echo "$as_me:$LINENO: result: Tru64 cc" >&5
3551
-echo "${ECHO_T}Tru64 cc" >&6; }
3552
-	IRC_CFLAGS=""
3553
-	CPPFLAGS="-I/usr/local/include"
3554
-	Tru=yes
3555
-;;
3556
-*HP*ANSI*)
3557
-	{ echo "$as_me:$LINENO: result: HPUX cc" >&5
3558
-echo "${ECHO_T}HPUX cc" >&6; }
3559
-	HPUX=yes
3560
-	IRC_CFLAGS="+e"
3561
-;;
3562
-*)
3563
-	{ echo "$as_me:$LINENO: result: no" >&5
3564
-echo "${ECHO_T}no" >&6; }
3565
-;;
3566
-esac
3567
-
3568
-fi
3569
-
3570
-{ echo "$as_me:$LINENO: checking uname -s for Cygwin, Solaris or HPUX" >&5
3571
-echo $ECHO_N "checking uname -s for Cygwin, Solaris or HPUX... $ECHO_C" >&6; }
3572
-case `uname -s` in
3573
-        HP-UX*)
3574
-
3575
-		if test "$HPUX" != yes -a "$ac_cv_c_compiler_gnu" = no; then
3576
-        	        { echo "$as_me:$LINENO: result: assuming old HPUX with its own cc" >&5
3577
-echo "${ECHO_T}assuming old HPUX with its own cc" >&6; }
3578
-			IRC_CFLAGS="$IRC_CFLAGS +e"
3579
-			HPUX=yes
3580
-		else
3581
-			{ echo "$as_me:$LINENO: result: already using newer HPUX" >&5
3582
-echo "${ECHO_T}already using newer HPUX" >&6; }
3583
-		fi
3584
-	;;
3585
-	CYGWIN*)
3586
-		{ echo "$as_me:$LINENO: result: Cygwin" >&5
3587
-echo "${ECHO_T}Cygwin" >&6; }
3588
-		CYGWIN=yes
3589
-	;;
3590
-	SunOS*)
3591
-		{ echo "$as_me:$LINENO: result: SunOS or Solaris" >&5
3592
-echo "${ECHO_T}SunOS or Solaris" >&6; }
3593
-
3594
-cat >>confdefs.h <<\_ACEOF
3595
-#define __EXTENSIONS__ 1
3596
-_ACEOF
3597
-
3598
-	;;
3599
-	*)
3600
-		{ echo "$as_me:$LINENO: result: no" >&5
3601
-echo "${ECHO_T}no" >&6; }
3602
-	;;
3603
-esac
3604
-
3605
-if test "$ac_cv_c_compiler_gnu" = yes; then
3606
-	{ echo "$as_me:$LINENO: checking if $CC is Apple GCC" >&5
3607
-echo $ECHO_N "checking if $CC is Apple GCC... $ECHO_C" >&6; }
3608
-
3609
-	if expr "`$CC -v 2>&1 | tail -1`" : ".*Apple" >/dev/null; then
3610
-		AppleGCC=yes
3611
-	else
3612
-		AppleGCC=no
3613
-	fi
3614
-
3615
-	{ echo "$as_me:$LINENO: result: $AppleGCC" >&5
3616
-echo "${ECHO_T}$AppleGCC" >&6; }
3617
-
3618
-	IRC_CFLAGS="$IRC_CFLAGS -Wall -O2"
3619
-fi
3620
-
3621
-if test "$ac_cv_prog_cc_g" = yes; then
3622
-		if test "$Tru" = yes; then
3623
-		IRC_CFLAGS="$IRC_CFLAGS -g3"
3624
-	else
3625
-		IRC_CFLAGS="$IRC_CFLAGS -g"
3626
-	fi
3627
-fi
3628
-
3629
-{ echo "$as_me:$LINENO: checking if $CC supports the SVR4 SGS interfaces" >&5
3630
-echo $ECHO_N "checking if $CC supports the SVR4 SGS interfaces... $ECHO_C" >&6; }
3631
-if test "$SGS" = "yes"; then
3632
-	{ echo "$as_me:$LINENO: result: yes" >&5
3633
-echo "${ECHO_T}yes" >&6; }
3634
-else
3635
-	{ echo "$as_me:$LINENO: result: no" >&5
3636
-echo "${ECHO_T}no" >&6; }
3637
-fi
3638
-
3639
-# Extract the first word of "mkdep", so it can be a program name with args.
3640
-set dummy mkdep; ac_word=$2
3641
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3642
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3643
-if test "${ac_cv_path_MKDEP+set}" = set; then
3644
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3645
-else
3646
-  case $MKDEP in
3647
-  [\\/]* | ?:[\\/]*)
3648
-  ac_cv_path_MKDEP="$MKDEP" # Let the user override the test with a path.
3649
-  ;;
3650
-  *)
3651
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652
-for as_dir in $PATH
3653
-do
3654
-  IFS=$as_save_IFS
3655
-  test -z "$as_dir" && as_dir=.
3656
-  for ac_exec_ext in '' $ac_executable_extensions; do
3657
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658
-    ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext"
3659
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3660
-    break 2
3661
-  fi
3662
-done
3663
-done
3664
-IFS=$as_save_IFS
3665
-
3666
-  ;;
3667
-esac
3668
-fi
3669
-MKDEP=$ac_cv_path_MKDEP
3670
-if test -n "$MKDEP"; then
3671
-  { echo "$as_me:$LINENO: result: $MKDEP" >&5
3672
-echo "${ECHO_T}$MKDEP" >&6; }
3673
-else
3674
-  { echo "$as_me:$LINENO: result: no" >&5
3675
-echo "${ECHO_T}no" >&6; }
3676
-fi
3677
-
3678
-
3679
-# Extract the first word of "makedepend", so it can be a program name with args.
3680
-set dummy makedepend; ac_word=$2
3681
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3682
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3683
-if test "${ac_cv_path_MAKEDEPEND+set}" = set; then
3684
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3685
-else
3686
-  case $MAKEDEPEND in
3687
-  [\\/]* | ?:[\\/]*)
3688
-  ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path.
3689
-  ;;
3690
-  *)
3691
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692
-for as_dir in $PATH
3693
-do
3694
-  IFS=$as_save_IFS
3695
-  test -z "$as_dir" && as_dir=.
3696
-  for ac_exec_ext in '' $ac_executable_extensions; do
3697
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3698
-    ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext"
3699
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3700
-    break 2
3701
-  fi
3702
-done
3703
-done
3704
-IFS=$as_save_IFS
3705
-
3706
-  ;;
3707
-esac
3708
-fi
3709
-MAKEDEPEND=$ac_cv_path_MAKEDEPEND
3710
-if test -n "$MAKEDEPEND"; then
3711
-  { echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5
3712
-echo "${ECHO_T}$MAKEDEPEND" >&6; }
3713
-else
3714
-  { echo "$as_me:$LINENO: result: no" >&5
3715
-echo "${ECHO_T}no" >&6; }
3716
-fi
3717
-
3718
-
3719
-
3720
-{ echo "$as_me:$LINENO: checking how to generate dependency info" >&5
3721
-echo $ECHO_N "checking how to generate dependency info... $ECHO_C" >&6; }
3722
-
3723
-STDOUT="> .depend"
3724
-
3725
-if test "$ac_cv_c_compiler_gnu" = yes; then
3726
-	{ echo "$as_me:$LINENO: result: gcc -MM" >&5
3727
-echo "${ECHO_T}gcc -MM" >&6; }
3728
-	MKDEP="$CC -MM"
3729
-elif test ! -z "$MKDEP"; then
3730
-	{ echo "$as_me:$LINENO: result: mkdep" >&5
3731
-echo "${ECHO_T}mkdep" >&6; }
3732
-
3733
-		if test -z "$Tru"; then
3734
-		STDOUT=""
3735
-	else
3736
-		STDOUT=" 2> /dev/null"
3737
-	fi
3738
-elif test "$SunWorkShop" = yes; then
3739
-	{ echo "$as_me:$LINENO: result: $CC -xM" >&5
3740
-echo "${ECHO_T}$CC -xM" >&6; }
3741
-	MKDEP="$CC -xM"
3742
-	STDOUT="> .depend 2> /dev/null"
3743
-elif test ! -z "$MAKEDEPEND"; then
3744
-	{ echo "$as_me:$LINENO: result: makedepend" >&5
3745
-echo "${ECHO_T}makedepend" >&6; }
3746
-	MKDEP="$MAKEDEPEND -f-"
3747
-else
3748
-	{ echo "$as_me:$LINENO: result: nothing suitable.. forget it!" >&5
3749
-echo "${ECHO_T}nothing suitable.. forget it!" >&6; }
3750
-	MKDEP=":"
3751
-fi
3752
-
3753
-
3754
-
3755
-
3756
-{ echo "$as_me:$LINENO: checking for /dev/null" >&5
3757
-echo $ECHO_N "checking for /dev/null... $ECHO_C" >&6; }
3758
-if test -c /dev/null ; then
3759
-
3760
-cat >>confdefs.h <<\_ACEOF
3761
-#define PATH_DEVNULL "/dev/null"
3762
-_ACEOF
3763
-
3764
-	{ echo "$as_me:$LINENO: result: yes" >&5
3765
-echo "${ECHO_T}yes" >&6; }
3766
-else
3767
-
3768
-cat >>confdefs.h <<\_ACEOF
3769
-#define PATH_DEVNULL "devnull.log"
3770
-_ACEOF
3771
-
3772
-	{ echo "$as_me:$LINENO: result: no - using devnull.log" >&5
3773
-echo "${ECHO_T}no - using devnull.log" >&6; }
3774
-fi
3775
-
3776
-if test ! -z "$CFLAGS"; then
3777
-	IRC_CFLAGS="$IRC_CFLAGS $CFLAGS"
3778
-fi
3779
-
3780
-
3781
-{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3782
-echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3783
-if test "${ac_cv_search_strerror+set}" = set; then
3784
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3785
-else
3786
-  ac_func_search_save_LIBS=$LIBS
3787
-cat >conftest.$ac_ext <<_ACEOF
3788
-/* confdefs.h.  */
3789
-_ACEOF
3790
-cat confdefs.h >>conftest.$ac_ext
3791
-cat >>conftest.$ac_ext <<_ACEOF
3792
-/* end confdefs.h.  */
3793
-
3794
-/* Override any GCC internal prototype to avoid an error.
3795
-   Use char because int might match the return type of a GCC
3796
-   builtin and then its argument prototype would still apply.  */
3797
-#ifdef __cplusplus
3798
-extern "C"
3799
-#endif
3800
-char strerror ();
3801
-int
3802
-main ()
3803
-{
3804
-return strerror ();
3805
-  ;
3806
-  return 0;
3807
-}
3808
-_ACEOF
3809
-for ac_lib in '' cposix; do
3810
-  if test -z "$ac_lib"; then
3811
-    ac_res="none required"
3812
-  else
3813
-    ac_res=-l$ac_lib
3814
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3815
-  fi
3816
-  rm -f conftest.$ac_objext conftest$ac_exeext
3817
-if { (ac_try="$ac_link"
3818
-case "(($ac_try" in
3819
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3820
-  *) ac_try_echo=$ac_try;;
3821
-esac
3822
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3823
-  (eval "$ac_link") 2>conftest.er1
3824
-  ac_status=$?
3825
-  grep -v '^ *+' conftest.er1 >conftest.err
3826
-  rm -f conftest.er1
3827
-  cat conftest.err >&5
3828
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829
-  (exit $ac_status); } && {
3830
-	 test -z "$ac_c_werror_flag" ||
3831
-	 test ! -s conftest.err
3832
-       } && test -s conftest$ac_exeext &&
3833
-       $as_test_x conftest$ac_exeext; then
3834
-  ac_cv_search_strerror=$ac_res
3835
-else
3836
-  echo "$as_me: failed program was:" >&5
3837
-sed 's/^/| /' conftest.$ac_ext >&5
3838
-
3839
-
3840
-fi
3841
-
3842
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3843
-      conftest$ac_exeext
3844
-  if test "${ac_cv_search_strerror+set}" = set; then
3845
-  break
3846
-fi
3847
-done
3848
-if test "${ac_cv_search_strerror+set}" = set; then
3849
-  :
3850
-else
3851
-  ac_cv_search_strerror=no
3852
-fi
3853
-rm conftest.$ac_ext
3854
-LIBS=$ac_func_search_save_LIBS
3855
-fi
3856
-{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3857
-echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3858
-ac_res=$ac_cv_search_strerror
3859
-if test "$ac_res" != no; then
3860
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3861
-
3862
-fi
3863
-
3864
-{ echo "$as_me:$LINENO: checking for inline" >&5
3865
-echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3866
-if test "${ac_cv_c_inline+set}" = set; then
3867
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3868
-else
3869
-  ac_cv_c_inline=no
3870
-for ac_kw in inline __inline__ __inline; do
3871
-  cat >conftest.$ac_ext <<_ACEOF
3872
-/* confdefs.h.  */
3873
-_ACEOF
3874
-cat confdefs.h >>conftest.$ac_ext
3875
-cat >>conftest.$ac_ext <<_ACEOF
3876
-/* end confdefs.h.  */
3877
-#ifndef __cplusplus
3878
-typedef int foo_t;
3879
-static $ac_kw foo_t static_foo () {return 0; }
3880
-$ac_kw foo_t foo () {return 0; }
3881
-#endif
3882
-
3883
-_ACEOF
3884
-rm -f conftest.$ac_objext
3885
-if { (ac_try="$ac_compile"
3886
-case "(($ac_try" in
3887
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888
-  *) ac_try_echo=$ac_try;;
3889
-esac
3890
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3891
-  (eval "$ac_compile") 2>conftest.er1
3892
-  ac_status=$?
3893
-  grep -v '^ *+' conftest.er1 >conftest.err
3894
-  rm -f conftest.er1
3895
-  cat conftest.err >&5
3896
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897
-  (exit $ac_status); } && {
3898
-	 test -z "$ac_c_werror_flag" ||
3899
-	 test ! -s conftest.err
3900
-       } && test -s conftest.$ac_objext; then
3901
-  ac_cv_c_inline=$ac_kw
3902
-else
3903
-  echo "$as_me: failed program was:" >&5
3904
-sed 's/^/| /' conftest.$ac_ext >&5
3905
-
3906
-
3907
-fi
3908
-
3909
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910
-  test "$ac_cv_c_inline" != no && break
3911
-done
3912
-
3913
-fi
3914
-{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3915
-echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3916
-
3917
-
3918
-case $ac_cv_c_inline in
3919
-  inline | yes) ;;
3920
-  *)
3921
-    case $ac_cv_c_inline in
3922
-      no) ac_val=;;
3923
-      *) ac_val=$ac_cv_c_inline;;
3924
-    esac
3925
-    cat >>confdefs.h <<_ACEOF
3926
-#ifndef __cplusplus
3927
-#define inline $ac_val
3928
-#endif
3929
-_ACEOF
3930
-    ;;
3931
-esac
3932
-
3933
-ac_ext=c
3934
-ac_cpp='$CPP $CPPFLAGS'
3935
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3938
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3939
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3940
-# On Suns, sometimes $CPP names a directory.
3941
-if test -n "$CPP" && test -d "$CPP"; then
3942
-  CPP=
3943
-fi
3944
-if test -z "$CPP"; then
3945
-  if test "${ac_cv_prog_CPP+set}" = set; then
3946
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3947
-else
3948
-      # Double quotes because CPP needs to be expanded
3949
-    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3950
-    do
3951
-      ac_preproc_ok=false
3952
-for ac_c_preproc_warn_flag in '' yes
3953
-do
3954
-  # Use a header file that comes with gcc, so configuring glibc
3955
-  # with a fresh cross-compiler works.
3956
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3957
-  # <limits.h> exists even on freestanding compilers.
3958
-  # On the NeXT, cc -E runs the code through the compiler's parser,
3959
-  # not just through cpp. "Syntax error" is here to catch this case.
3960
-  cat >conftest.$ac_ext <<_ACEOF
3961
-/* confdefs.h.  */
3962
-_ACEOF
3963
-cat confdefs.h >>conftest.$ac_ext
3964
-cat >>conftest.$ac_ext <<_ACEOF
3965
-/* end confdefs.h.  */
3966
-#ifdef __STDC__
3967
-# include <limits.h>
3968
-#else
3969
-# include <assert.h>
3970
-#endif
3971
-		     Syntax error
3972
-_ACEOF
3973
-if { (ac_try="$ac_cpp conftest.$ac_ext"
3974
-case "(($ac_try" in
3975
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976
-  *) ac_try_echo=$ac_try;;
3977
-esac
3978
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3979
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3980
-  ac_status=$?
3981
-  grep -v '^ *+' conftest.er1 >conftest.err
3982
-  rm -f conftest.er1
3983
-  cat conftest.err >&5
3984
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985
-  (exit $ac_status); } >/dev/null && {
3986
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3987
-	 test ! -s conftest.err
3988
-       }; then
3989
-  :
3990
-else
3991
-  echo "$as_me: failed program was:" >&5
3992
-sed 's/^/| /' conftest.$ac_ext >&5
3993
-
3994
-  # Broken: fails on valid input.
3995
-continue
3996
-fi
3997
-
3998
-rm -f conftest.err conftest.$ac_ext
3999
-
4000
-  # OK, works on sane cases.  Now check whether nonexistent headers
4001
-  # can be detected and how.
4002
-  cat >conftest.$ac_ext <<_ACEOF
4003
-/* confdefs.h.  */
4004
-_ACEOF
4005
-cat confdefs.h >>conftest.$ac_ext
4006
-cat >>conftest.$ac_ext <<_ACEOF
4007
-/* end confdefs.h.  */
4008
-#include <ac_nonexistent.h>
4009
-_ACEOF
4010
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4011
-case "(($ac_try" in
4012
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013
-  *) ac_try_echo=$ac_try;;
4014
-esac
4015
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4016
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4017
-  ac_status=$?
4018
-  grep -v '^ *+' conftest.er1 >conftest.err
4019
-  rm -f conftest.er1
4020
-  cat conftest.err >&5
4021
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022
-  (exit $ac_status); } >/dev/null && {
4023
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4024
-	 test ! -s conftest.err
4025
-       }; then
4026
-  # Broken: success on invalid input.
4027
-continue
4028
-else
4029
-  echo "$as_me: failed program was:" >&5
4030
-sed 's/^/| /' conftest.$ac_ext >&5
4031
-
4032
-  # Passes both tests.
4033
-ac_preproc_ok=:
4034
-break
4035
-fi
4036
-
4037
-rm -f conftest.err conftest.$ac_ext
4038
-
4039
-done
4040
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4041
-rm -f conftest.err conftest.$ac_ext
4042
-if $ac_preproc_ok; then
4043
-  break
4044
-fi
4045
-
4046
-    done
4047
-    ac_cv_prog_CPP=$CPP
4048
-
4049
-fi
4050
-  CPP=$ac_cv_prog_CPP
4051
-else
4052
-  ac_cv_prog_CPP=$CPP
4053
-fi
4054
-{ echo "$as_me:$LINENO: result: $CPP" >&5
4055
-echo "${ECHO_T}$CPP" >&6; }
4056
-ac_preproc_ok=false
4057
-for ac_c_preproc_warn_flag in '' yes
4058
-do
4059
-  # Use a header file that comes with gcc, so configuring glibc
4060
-  # with a fresh cross-compiler works.
4061
-  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4062
-  # <limits.h> exists even on freestanding compilers.
4063
-  # On the NeXT, cc -E runs the code through the compiler's parser,
4064
-  # not just through cpp. "Syntax error" is here to catch this case.
4065
-  cat >conftest.$ac_ext <<_ACEOF
4066
-/* confdefs.h.  */
4067
-_ACEOF
4068
-cat confdefs.h >>conftest.$ac_ext
4069
-cat >>conftest.$ac_ext <<_ACEOF
4070
-/* end confdefs.h.  */
4071
-#ifdef __STDC__
4072
-# include <limits.h>
4073
-#else
4074
-# include <assert.h>
4075
-#endif
4076
-		     Syntax error
4077
-_ACEOF
4078
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4079
-case "(($ac_try" in
4080
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081
-  *) ac_try_echo=$ac_try;;
4082
-esac
4083
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4085
-  ac_status=$?
4086
-  grep -v '^ *+' conftest.er1 >conftest.err
4087
-  rm -f conftest.er1
4088
-  cat conftest.err >&5
4089
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
-  (exit $ac_status); } >/dev/null && {
4091
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4092
-	 test ! -s conftest.err
4093
-       }; then
4094
-  :
4095
-else
4096
-  echo "$as_me: failed program was:" >&5
4097
-sed 's/^/| /' conftest.$ac_ext >&5
4098
-
4099
-  # Broken: fails on valid input.
4100
-continue
4101
-fi
4102
-
4103
-rm -f conftest.err conftest.$ac_ext
4104
-
4105
-  # OK, works on sane cases.  Now check whether nonexistent headers
4106
-  # can be detected and how.
4107
-  cat >conftest.$ac_ext <<_ACEOF
4108
-/* confdefs.h.  */
4109
-_ACEOF
4110
-cat confdefs.h >>conftest.$ac_ext
4111
-cat >>conftest.$ac_ext <<_ACEOF
4112
-/* end confdefs.h.  */
4113
-#include <ac_nonexistent.h>
4114
-_ACEOF
4115
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4116
-case "(($ac_try" in
4117
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118
-  *) ac_try_echo=$ac_try;;
4119
-esac
4120
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4121
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4122
-  ac_status=$?
4123
-  grep -v '^ *+' conftest.er1 >conftest.err
4124
-  rm -f conftest.er1
4125
-  cat conftest.err >&5
4126
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127
-  (exit $ac_status); } >/dev/null && {
4128
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4129
-	 test ! -s conftest.err
4130
-       }; then
4131
-  # Broken: success on invalid input.
4132
-continue
4133
-else
4134
-  echo "$as_me: failed program was:" >&5
4135
-sed 's/^/| /' conftest.$ac_ext >&5
4136
-
4137
-  # Passes both tests.
4138
-ac_preproc_ok=:
4139
-break
4140
-fi
4141
-
4142
-rm -f conftest.err conftest.$ac_ext
4143
-
4144
-done
4145
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4146
-rm -f conftest.err conftest.$ac_ext
4147
-if $ac_preproc_ok; then
4148
-  :
4149
-else
4150
-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4151
-See \`config.log' for more details." >&5
4152
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4153
-See \`config.log' for more details." >&2;}
4154
-   { (exit 1); exit 1; }; }
4155
-fi
4156
-
4157
-ac_ext=c
4158
-ac_cpp='$CPP $CPPFLAGS'
4159
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162
-
4163
-
4164
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4165
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4166
-if test "${ac_cv_path_GREP+set}" = set; then
4167
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4168
-else
4169
-  # Extract the first word of "grep ggrep" to use in msg output
4170
-if test -z "$GREP"; then
4171
-set dummy grep ggrep; ac_prog_name=$2
4172
-if test "${ac_cv_path_GREP+set}" = set; then
4173
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4174
-else
4175
-  ac_path_GREP_found=false
4176
-# Loop through the user's path and test for each of PROGNAME-LIST
4177
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4179
-do
4180
-  IFS=$as_save_IFS
4181
-  test -z "$as_dir" && as_dir=.
4182
-  for ac_prog in grep ggrep; do
4183
-  for ac_exec_ext in '' $ac_executable_extensions; do
4184
-    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4185
-    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4186
-    # Check for GNU ac_path_GREP and select it if it is found.
4187
-  # Check for GNU $ac_path_GREP
4188
-case `"$ac_path_GREP" --version 2>&1` in
4189
-*GNU*)
4190
-  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4191
-*)
4192
-  ac_count=0
4193
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4194
-  while :
4195
-  do
4196
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
4197
-    mv "conftest.tmp" "conftest.in"
4198
-    cp "conftest.in" "conftest.nl"
4199
-    echo 'GREP' >> "conftest.nl"
4200
-    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4201
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4202
-    ac_count=`expr $ac_count + 1`
4203
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4204
-      # Best one so far, save it but keep looking for a better one
4205
-      ac_cv_path_GREP="$ac_path_GREP"
4206
-      ac_path_GREP_max=$ac_count
4207
-    fi
4208
-    # 10*(2^10) chars as input seems more than enough
4209
-    test $ac_count -gt 10 && break
4210
-  done
4211
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4212
-esac
4213
-
4214
-
4215
-    $ac_path_GREP_found && break 3
4216
-  done
4217
-done
4218
-
4219
-done
4220
-IFS=$as_save_IFS
4221
-
4222
-
4223
-fi
4224
-
4225
-GREP="$ac_cv_path_GREP"
4226
-if test -z "$GREP"; then
4227
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4228
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4229
-   { (exit 1); exit 1; }; }
4230
-fi
4231
-
4232
-else
4233
-  ac_cv_path_GREP=$GREP
4234
-fi
4235
-
4236
-
4237
-fi
4238
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4239
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4240
- GREP="$ac_cv_path_GREP"
4241
-
4242
-
4243
-{ echo "$as_me:$LINENO: checking for egrep" >&5
4244
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4245
-if test "${ac_cv_path_EGREP+set}" = set; then
4246
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4247
-else
4248
-  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4249
-   then ac_cv_path_EGREP="$GREP -E"
4250
-   else
4251
-     # Extract the first word of "egrep" to use in msg output
4252
-if test -z "$EGREP"; then
4253
-set dummy egrep; ac_prog_name=$2
4254
-if test "${ac_cv_path_EGREP+set}" = set; then
4255
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4256
-else
4257
-  ac_path_EGREP_found=false
4258
-# Loop through the user's path and test for each of PROGNAME-LIST
4259
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4261
-do
4262
-  IFS=$as_save_IFS
4263
-  test -z "$as_dir" && as_dir=.
4264
-  for ac_prog in egrep; do
4265
-  for ac_exec_ext in '' $ac_executable_extensions; do
4266
-    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4267
-    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4268
-    # Check for GNU ac_path_EGREP and select it if it is found.
4269
-  # Check for GNU $ac_path_EGREP
4270
-case `"$ac_path_EGREP" --version 2>&1` in
4271
-*GNU*)
4272
-  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4273
-*)
4274
-  ac_count=0
4275
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4276
-  while :
4277
-  do
4278
-    cat "conftest.in" "conftest.in" >"conftest.tmp"
4279
-    mv "conftest.tmp" "conftest.in"
4280
-    cp "conftest.in" "conftest.nl"
4281
-    echo 'EGREP' >> "conftest.nl"
4282
-    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4283
-    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4284
-    ac_count=`expr $ac_count + 1`
4285
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4286
-      # Best one so far, save it but keep looking for a better one
4287
-      ac_cv_path_EGREP="$ac_path_EGREP"
4288
-      ac_path_EGREP_max=$ac_count
4289
-    fi
4290
-    # 10*(2^10) chars as input seems more than enough
4291
-    test $ac_count -gt 10 && break
4292
-  done
4293
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4294
-esac
4295
-
4296
-
4297
-    $ac_path_EGREP_found && break 3
4298
-  done
4299
-done
4300
-
4301
-done
4302
-IFS=$as_save_IFS
4303
-
4304
-
4305
-fi
4306
-
4307
-EGREP="$ac_cv_path_EGREP"
4308
-if test -z "$EGREP"; then
4309
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4310
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4311
-   { (exit 1); exit 1; }; }
4312
-fi
4313
-
4314
-else
4315
-  ac_cv_path_EGREP=$EGREP
4316
-fi
4317
-
4318
-
4319
-   fi
4320
-fi
4321
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4322
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4323
- EGREP="$ac_cv_path_EGREP"
4324
-
4325
-
4326
-if test $ac_cv_c_compiler_gnu = yes; then
4327
-    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4328
-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
4329
-if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4330
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4331
-else
4332
-    ac_pattern="Autoconf.*'x'"
4333
-  cat >conftest.$ac_ext <<_ACEOF
4334
-/* confdefs.h.  */
4335
-_ACEOF
4336
-cat confdefs.h >>conftest.$ac_ext
4337
-cat >>conftest.$ac_ext <<_ACEOF
4338
-/* end confdefs.h.  */
4339
-#include <sgtty.h>
4340
-Autoconf TIOCGETP
4341
-_ACEOF
4342
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4343
-  $EGREP "$ac_pattern" >/dev/null 2>&1; then
4344
-  ac_cv_prog_gcc_traditional=yes
4345
-else
4346
-  ac_cv_prog_gcc_traditional=no
4347
-fi
4348
-rm -f conftest*
4349
-
4350
-
4351
-  if test $ac_cv_prog_gcc_traditional = no; then
4352
-    cat >conftest.$ac_ext <<_ACEOF
4353
-/* confdefs.h.  */
4354
-_ACEOF
4355
-cat confdefs.h >>conftest.$ac_ext
4356
-cat >>conftest.$ac_ext <<_ACEOF
4357
-/* end confdefs.h.  */
4358
-#include <termio.h>
4359
-Autoconf TCGETA
4360
-_ACEOF
4361
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4362
-  $EGREP "$ac_pattern" >/dev/null 2>&1; then
4363
-  ac_cv_prog_gcc_traditional=yes
4364
-fi
4365
-rm -f conftest*
4366
 
4367
-  fi
4368
-fi
4369
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4370
-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
4371
-  if test $ac_cv_prog_gcc_traditional = yes; then
4372
-    CC="$CC -traditional"
4373
-  fi
4374
-fi
4375
+## ----------- ##
4376
+## Core tests. ##
4377
+## ----------- ##
4378
 
4379
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4380
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4381
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4382
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4383
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4384
-else
4385
-  cat >conftest.make <<\_ACEOF
4386
-SHELL = /bin/sh
4387
-all:
4388
-	@echo '@@@%%%=$(MAKE)=@@@%%%'
4389
 _ACEOF
4390
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4391
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
4392
-  *@@@%%%=?*=@@@%%%*)
4393
-    eval ac_cv_prog_make_${ac_make}_set=yes;;
4394
-  *)
4395
-    eval ac_cv_prog_make_${ac_make}_set=no;;
4396
-esac
4397
-rm -f conftest.make
4398
-fi
4399
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4400
-  { echo "$as_me:$LINENO: result: yes" >&5
4401
-echo "${ECHO_T}yes" >&6; }
4402
-  SET_MAKE=
4403
-else
4404
-  { echo "$as_me:$LINENO: result: no" >&5
4405
-echo "${ECHO_T}no" >&6; }
4406
-  SET_MAKE="MAKE=${MAKE-make}"
4407
-fi
4408
-
4409
-ac_aux_dir=
4410
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4411
-  if test -f "$ac_dir/install-sh"; then
4412
-    ac_aux_dir=$ac_dir
4413
-    ac_install_sh="$ac_aux_dir/install-sh -c"
4414
-    break
4415
-  elif test -f "$ac_dir/install.sh"; then
4416
-    ac_aux_dir=$ac_dir
4417
-    ac_install_sh="$ac_aux_dir/install.sh -c"
4418
-    break
4419
-  elif test -f "$ac_dir/shtool"; then
4420
-    ac_aux_dir=$ac_dir
4421
-    ac_install_sh="$ac_aux_dir/shtool install -c"
4422
-    break
4423
-  fi
4424
-done
4425
-if test -z "$ac_aux_dir"; then
4426
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4427
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4428
-   { (exit 1); exit 1; }; }
4429
-fi
4430
-
4431
-# These three variables are undocumented and unsupported,
4432
-# and are intended to be withdrawn in a future Autoconf release.
4433
-# They can cause serious problems if a builder's source tree is in a directory
4434
-# whose full name contains unusual characters.
4435
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4436
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4437
-ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4438
 
4439
 
4440
-# Find a good install program.  We prefer a C program (faster),
4441
-# so one script is as good as another.  But avoid the broken or
4442
-# incompatible versions:
4443
-# SysV /etc/install, /usr/sbin/install
4444
-# SunOS /usr/etc/install
4445
-# IRIX /sbin/install
4446
-# AIX /bin/install
4447
-# AmigaOS /C/install, which installs bootblocks on floppy discs
4448
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4449
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4450
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4451
-# OS/2's system install, which has a completely different semantic
4452
-# ./install, which can be erroneously created by make from ./install.sh.
4453
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4454
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4455
-if test -z "$INSTALL"; then
4456
-if test "${ac_cv_path_install+set}" = set; then
4457
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4458
-else
4459
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460
-for as_dir in $PATH
4461
+# Keep a trace of the command line.
4462
+# Strip out --no-create and --no-recursion so they do not pile up.
4463
+# Strip out --silent because we don't want to record it for future runs.
4464
+# Also quote any args containing shell meta-characters.
4465
+# Make two passes to allow for proper duplicate-argument suppression.
4466
+ac_configure_args=
4467
+ac_configure_args0=
4468
+ac_configure_args1=
4469
+ac_must_keep_next=false
4470
+for ac_pass in 1 2
4471
 do
4472
-  IFS=$as_save_IFS
4473
-  test -z "$as_dir" && as_dir=.
4474
-  # Account for people who put trailing slashes in PATH elements.
4475
-case $as_dir/ in
4476
-  ./ | .// | /cC/* | \
4477
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4478
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4479
-  /usr/ucb/* ) ;;
4480
-  *)
4481
-    # OSF1 and SCO ODT 3.0 have their own names for install.
4482
-    # Don't use installbsd from OSF since it installs stuff as root
4483
-    # by default.
4484
-    for ac_prog in ginstall scoinst install; do
4485
-      for ac_exec_ext in '' $ac_executable_extensions; do
4486
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4487
-	  if test $ac_prog = install &&
4488
-	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4489
-	    # AIX install.  It has an incompatible calling convention.
4490
-	    :
4491
-	  elif test $ac_prog = install &&
4492
-	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4493
-	    # program-specific install script used by HP pwplus--don't use.
4494
-	    :
4495
-	  else
4496
-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4497
-	    break 3
4498
-	  fi
4499
-	fi
4500
-      done
4501
-    done
4502
-    ;;
4503
-esac
4504
+  for ac_arg
4505
+  do
4506
+    case $ac_arg in
4507
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
4508
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4509
+    | -silent | --silent | --silen | --sile | --sil)
4510
+      continue ;;
4511
+    *\'*)
4512
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4513
+    esac
4514
+    case $ac_pass in
4515
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
4516
+    2)
4517
+      as_fn_append ac_configure_args1 " '$ac_arg'"
4518
+      if test $ac_must_keep_next = true; then
4519
+	ac_must_keep_next=false # Got value, back to normal.
4520
+      else
4521
+	case $ac_arg in
4522
+	  *=* | --config-cache | -C | -disable-* | --disable-* \
4523
+	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4524
+	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4525
+	  | -with-* | --with-* | -without-* | --without-* | --x)
4526
+	    case "$ac_configure_args0 " in
4527
+	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4528
+	    esac
4529
+	    ;;
4530
+	  -* ) ac_must_keep_next=true ;;
4531
+	esac
4532
+      fi
4533
+      as_fn_append ac_configure_args " '$ac_arg'"
4534
+      ;;
4535
+    esac
4536
+  done
4537
 done
4538
-IFS=$as_save_IFS
4539
-
4540
+{ ac_configure_args0=; unset ac_configure_args0;}
4541
+{ ac_configure_args1=; unset ac_configure_args1;}
4542
 
4543
-fi
4544
-  if test "${ac_cv_path_install+set}" = set; then
4545
-    INSTALL=$ac_cv_path_install
4546
-  else
4547
-    # As a last resort, use the slow shell script.  Don't cache a
4548
-    # value for INSTALL within a source directory, because that will
4549
-    # break other packages using the cache if that directory is
4550
-    # removed, or if the value is a relative name.
4551
-    INSTALL=$ac_install_sh
4552
-  fi
4553
-fi
4554
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4555
-echo "${ECHO_T}$INSTALL" >&6; }
4556
+# When interrupted or exit'd, cleanup temporary files, and complete
4557
+# config.log.  We remove comments because anyway the quotes in there
4558
+# would cause problems or look ugly.
4559
+# WARNING: Use '\'' to represent an apostrophe within the trap.
4560
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
4561
+trap 'exit_status=$?
4562
+  # Save into config.log some information that might help in debugging.
4563
+  {
4564
+    echo
4565
 
4566
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4567
-# It thinks the first close brace ends the variable substitution.
4568
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4569
+    $as_echo "## ---------------- ##
4570
+## Cache variables. ##
4571
+## ---------------- ##"
4572
+    echo
4573
+    # The following way of writing the cache mishandles newlines in values,
4574
+(
4575
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
4576
+    eval ac_val=\$$ac_var
4577
+    case $ac_val in #(
4578
+    *${as_nl}*)
4579
+      case $ac_var in #(
4580
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4581
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4582
+      esac
4583
+      case $ac_var in #(
4584
+      _ | IFS | as_nl) ;; #(
4585
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4586
+      *) { eval $ac_var=; unset $ac_var;} ;;
4587
+      esac ;;
4588
+    esac
4589
+  done
4590
+  (set) 2>&1 |
4591
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
4592
+    *${as_nl}ac_space=\ *)
4593
+      sed -n \
4594
+	"s/'\''/'\''\\\\'\'''\''/g;
4595
+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
4596
+      ;; #(
4597
+    *)
4598
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4599
+      ;;
4600
+    esac |
4601
+    sort
4602
+)
4603
+    echo
4604
 
4605
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4606
+    $as_echo "## ----------------- ##
4607
+## Output variables. ##
4608
+## ----------------- ##"
4609
+    echo
4610
+    for ac_var in $ac_subst_vars
4611
+    do
4612
+      eval ac_val=\$$ac_var
4613
+      case $ac_val in
4614
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4615
+      esac
4616
+      $as_echo "$ac_var='\''$ac_val'\''"
4617
+    done | sort
4618
+    echo
4619
 
4620
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4621
+    if test -n "$ac_subst_files"; then
4622
+      $as_echo "## ------------------- ##
4623
+## File substitutions. ##
4624
+## ------------------- ##"
4625
+      echo
4626
+      for ac_var in $ac_subst_files
4627
+      do
4628
+	eval ac_val=\$$ac_var
4629
+	case $ac_val in
4630
+	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
4631
+	esac
4632
+	$as_echo "$ac_var='\''$ac_val'\''"
4633
+      done | sort
4634
+      echo
4635
+    fi
4636
 
4637
-# Extract the first word of "rm", so it can be a program name with args.
4638
-set dummy rm; ac_word=$2
4639
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4640
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4641
-if test "${ac_cv_path_RM+set}" = set; then
4642
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4643
-else
4644
-  case $RM in
4645
-  [\\/]* | ?:[\\/]*)
4646
-  ac_cv_path_RM="$RM" # Let the user override the test with a path.
4647
-  ;;
4648
-  *)
4649
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650
-for as_dir in $PATH
4651
-do
4652
-  IFS=$as_save_IFS
4653
-  test -z "$as_dir" && as_dir=.
4654
-  for ac_exec_ext in '' $ac_executable_extensions; do
4655
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656
-    ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4657
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4658
-    break 2
4659
-  fi
4660
-done
4661
+    if test -s confdefs.h; then
4662
+      $as_echo "## ----------- ##
4663
+## confdefs.h. ##
4664
+## ----------- ##"
4665
+      echo
4666
+      cat confdefs.h
4667
+      echo
4668
+    fi
4669
+    test "$ac_signal" != 0 &&
4670
+      $as_echo "$as_me: caught signal $ac_signal"
4671
+    $as_echo "$as_me: exit $exit_status"
4672
+  } >&5
4673
+  rm -f core *.core core.conftest.* &&
4674
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
4675
+    exit $exit_status
4676
+' 0
4677
+for ac_signal in 1 2 13 15; do
4678
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
4679
 done
4680
-IFS=$as_save_IFS
4681
+ac_signal=0
4682
 
4683
-  ;;
4684
-esac
4685
-fi
4686
-RM=$ac_cv_path_RM
4687
-if test -n "$RM"; then
4688
-  { echo "$as_me:$LINENO: result: $RM" >&5
4689
-echo "${ECHO_T}$RM" >&6; }
4690
-else
4691
-  { echo "$as_me:$LINENO: result: no" >&5
4692
-echo "${ECHO_T}no" >&6; }
4693
-fi
4694
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
4695
+rm -f -r conftest* confdefs.h
4696
 
4697
+$as_echo "/* confdefs.h */" > confdefs.h
4698
 
4699
-# Extract the first word of "cp", so it can be a program name with args.
4700
-set dummy cp; ac_word=$2
4701
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4702
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4703
-if test "${ac_cv_path_CP+set}" = set; then
4704
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4705
-else
4706
-  case $CP in
4707
-  [\\/]* | ?:[\\/]*)
4708
-  ac_cv_path_CP="$CP" # Let the user override the test with a path.
4709
-  ;;
4710
-  *)
4711
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712
-for as_dir in $PATH
4713
-do
4714
-  IFS=$as_save_IFS
4715
-  test -z "$as_dir" && as_dir=.
4716
-  for ac_exec_ext in '' $ac_executable_extensions; do
4717
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718
-    ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4719
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4720
-    break 2
4721
-  fi
4722
-done
4723
-done
4724
-IFS=$as_save_IFS
4725
+# Predefined preprocessor variables.
4726
 
4727
-  ;;
4728
-esac
4729
-fi
4730
-CP=$ac_cv_path_CP
4731
-if test -n "$CP"; then
4732
-  { echo "$as_me:$LINENO: result: $CP" >&5
4733
-echo "${ECHO_T}$CP" >&6; }
4734
-else
4735
-  { echo "$as_me:$LINENO: result: no" >&5
4736
-echo "${ECHO_T}no" >&6; }
4737
-fi
4738
+cat >>confdefs.h <<_ACEOF
4739
+#define PACKAGE_NAME "$PACKAGE_NAME"
4740
+_ACEOF
4741
 
4742
+cat >>confdefs.h <<_ACEOF
4743
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
4744
+_ACEOF
4745
 
4746
-# Extract the first word of "mv", so it can be a program name with args.
4747
-set dummy mv; ac_word=$2
4748
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4749
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4750
-if test "${ac_cv_path_MV+set}" = set; then
4751
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4752
-else
4753
-  case $MV in
4754
-  [\\/]* | ?:[\\/]*)
4755
-  ac_cv_path_MV="$MV" # Let the user override the test with a path.
4756
-  ;;
4757
-  *)
4758
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759
-for as_dir in $PATH
4760
-do
4761
-  IFS=$as_save_IFS
4762
-  test -z "$as_dir" && as_dir=.
4763
-  for ac_exec_ext in '' $ac_executable_extensions; do
4764
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765
-    ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4766
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4767
-    break 2
4768
-  fi
4769
-done
4770
-done
4771
-IFS=$as_save_IFS
4772
+cat >>confdefs.h <<_ACEOF
4773
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
4774
+_ACEOF
4775
 
4776
-  ;;
4777
-esac
4778
-fi
4779
-MV=$ac_cv_path_MV
4780
-if test -n "$MV"; then
4781
-  { echo "$as_me:$LINENO: result: $MV" >&5
4782
-echo "${ECHO_T}$MV" >&6; }
4783
-else
4784
-  { echo "$as_me:$LINENO: result: no" >&5
4785
-echo "${ECHO_T}no" >&6; }
4786
-fi
4787
+cat >>confdefs.h <<_ACEOF
4788
+#define PACKAGE_STRING "$PACKAGE_STRING"
4789
+_ACEOF
4790
 
4791
+cat >>confdefs.h <<_ACEOF
4792
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
4793
+_ACEOF
4794
 
4795
-# Extract the first word of "ln", so it can be a program name with args.
4796
-set dummy ln; ac_word=$2
4797
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4798
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4799
-if test "${ac_cv_path_LN+set}" = set; then
4800
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4801
+cat >>confdefs.h <<_ACEOF
4802
+#define PACKAGE_URL "$PACKAGE_URL"
4803
+_ACEOF
4804
+
4805
+
4806
+# Let the site file select an alternate cache file if it wants to.
4807
+# Prefer an explicitly selected file to automatically selected ones.
4808
+ac_site_file1=NONE
4809
+ac_site_file2=NONE
4810
+if test -n "$CONFIG_SITE"; then
4811
+  # We do not want a PATH search for config.site.
4812
+  case $CONFIG_SITE in #((
4813
+    -*)  ac_site_file1=./$CONFIG_SITE;;
4814
+    */*) ac_site_file1=$CONFIG_SITE;;
4815
+    *)   ac_site_file1=./$CONFIG_SITE;;
4816
+  esac
4817
+elif test "x$prefix" != xNONE; then
4818
+  ac_site_file1=$prefix/share/config.site
4819
+  ac_site_file2=$prefix/etc/config.site
4820
 else
4821
-  case $LN in
4822
-  [\\/]* | ?:[\\/]*)
4823
-  ac_cv_path_LN="$LN" # Let the user override the test with a path.
4824
-  ;;
4825
-  *)
4826
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827
-for as_dir in $PATH
4828
+  ac_site_file1=$ac_default_prefix/share/config.site
4829
+  ac_site_file2=$ac_default_prefix/etc/config.site
4830
+fi
4831
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
4832
 do
4833
-  IFS=$as_save_IFS
4834
-  test -z "$as_dir" && as_dir=.
4835
-  for ac_exec_ext in '' $ac_executable_extensions; do
4836
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837
-    ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4838
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4839
-    break 2
4840
+  test "x$ac_site_file" = xNONE && continue
4841
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
4842
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
4843
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
4844
+    sed 's/^/| /' "$ac_site_file" >&5
4845
+    . "$ac_site_file" \
4846
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4847
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4848
+as_fn_error $? "failed to load site script $ac_site_file
4849
+See \`config.log' for more details" "$LINENO" 5; }
4850
   fi
4851
 done
4852
-done
4853
-IFS=$as_save_IFS
4854
 
4855
-  ;;
4856
-esac
4857
-fi
4858
-LN=$ac_cv_path_LN
4859
-if test -n "$LN"; then
4860
-  { echo "$as_me:$LINENO: result: $LN" >&5
4861
-echo "${ECHO_T}$LN" >&6; }
4862
+if test -r "$cache_file"; then
4863
+  # Some versions of bash will fail to source /dev/null (special files
4864
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
4865
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
4866
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
4867
+$as_echo "$as_me: loading cache $cache_file" >&6;}
4868
+    case $cache_file in
4869
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
4870
+      *)                      . "./$cache_file";;
4871
+    esac
4872
+  fi
4873
 else
4874
-  { echo "$as_me:$LINENO: result: no" >&5
4875
-echo "${ECHO_T}no" >&6; }
4876
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
4877
+$as_echo "$as_me: creating cache $cache_file" >&6;}
4878
+  >$cache_file
4879
 fi
4880
 
4881
-
4882
-# Extract the first word of "sed", so it can be a program name with args.
4883
-set dummy sed; ac_word=$2
4884
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4885
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4886
-if test "${ac_cv_path_SED+set}" = set; then
4887
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4888
-else
4889
-  case $SED in
4890
-  [\\/]* | ?:[\\/]*)
4891
-  ac_cv_path_SED="$SED" # Let the user override the test with a path.
4892
-  ;;
4893
-  *)
4894
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895
-for as_dir in $PATH
4896
-do
4897
-  IFS=$as_save_IFS
4898
-  test -z "$as_dir" && as_dir=.
4899
-  for ac_exec_ext in '' $ac_executable_extensions; do
4900
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901
-    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4902
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4903
-    break 2
4904
+# Check that the precious variables saved in the cache have kept the same
4905
+# value.
4906
+ac_cache_corrupted=false
4907
+for ac_var in $ac_precious_vars; do
4908
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
4909
+  eval ac_new_set=\$ac_env_${ac_var}_set
4910
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
4911
+  eval ac_new_val=\$ac_env_${ac_var}_value
4912
+  case $ac_old_set,$ac_new_set in
4913
+    set,)
4914
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4915
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4916
+      ac_cache_corrupted=: ;;
4917
+    ,set)
4918
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4919
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4920
+      ac_cache_corrupted=: ;;
4921
+    ,);;
4922
+    *)
4923
+      if test "x$ac_old_val" != "x$ac_new_val"; then
4924
+	# differences in whitespace do not lead to failure.
4925
+	ac_old_val_w=`echo x $ac_old_val`
4926
+	ac_new_val_w=`echo x $ac_new_val`
4927
+	if test "$ac_old_val_w" != "$ac_new_val_w"; then
4928
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4929
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4930
+	  ac_cache_corrupted=:
4931
+	else
4932
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4933
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4934
+	  eval $ac_var=\$ac_old_val
4935
+	fi
4936
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
4937
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
4938
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
4939
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
4940
+      fi;;
4941
+  esac
4942
+  # Pass precious variables to config.status.
4943
+  if test "$ac_new_set" = set; then
4944
+    case $ac_new_val in
4945
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4946
+    *) ac_arg=$ac_var=$ac_new_val ;;
4947
+    esac
4948
+    case " $ac_configure_args " in
4949
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
4950
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4951
+    esac
4952
   fi
4953
 done
4954
-done
4955
-IFS=$as_save_IFS
4956
+if $ac_cache_corrupted; then
4957
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4958
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4959
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4960
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
4961
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
4962
+fi
4963
+## -------------------- ##
4964
+## Main body of script. ##
4965
+## -------------------- ##
4966
 
4967
-  ;;
4968
-esac
4969
-fi
4970
-SED=$ac_cv_path_SED
4971
-if test -n "$SED"; then
4972
-  { echo "$as_me:$LINENO: result: $SED" >&5
4973
-echo "${ECHO_T}$SED" >&6; }
4974
-else
4975
-  { echo "$as_me:$LINENO: result: no" >&5
4976
-echo "${ECHO_T}no" >&6; }
4977
-fi
4978
+ac_ext=c
4979
+ac_cpp='$CPP $CPPFLAGS'
4980
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4983
 
4984
 
4985
-# Extract the first word of "ar", so it can be a program name with args.
4986
-set dummy ar; ac_word=$2
4987
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4988
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4989
-if test "${ac_cv_path_AR+set}" = set; then
4990
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4991
-else
4992
-  case $AR in
4993
-  [\\/]* | ?:[\\/]*)
4994
-  ac_cv_path_AR="$AR" # Let the user override the test with a path.
4995
-  ;;
4996
-  *)
4997
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4998
-for as_dir in $PATH
4999
-do
5000
-  IFS=$as_save_IFS
5001
-  test -z "$as_dir" && as_dir=.
5002
-  for ac_exec_ext in '' $ac_executable_extensions; do
5003
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5004
-    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
5005
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5006
-    break 2
5007
-  fi
5008
-done
5009
-done
5010
-IFS=$as_save_IFS
5011
 
5012
-  ;;
5013
-esac
5014
-fi
5015
-AR=$ac_cv_path_AR
5016
-if test -n "$AR"; then
5017
-  { echo "$as_me:$LINENO: result: $AR" >&5
5018
-echo "${ECHO_T}$AR" >&6; }
5019
-else
5020
-  { echo "$as_me:$LINENO: result: no" >&5
5021
-echo "${ECHO_T}no" >&6; }
5022
-fi
5023
+ac_config_headers="$ac_config_headers include/setup.h"
5024
 
5025
 
5026
-# Extract the first word of "ld", so it can be a program name with args.
5027
-set dummy ld; ac_word=$2
5028
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5029
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5030
-if test "${ac_cv_path_LD+set}" = set; then
5031
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5032
+
5033
+
5034
+ac_ext=c
5035
+ac_cpp='$CPP $CPPFLAGS'
5036
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
5039
+if test -n "$ac_tool_prefix"; then
5040
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5041
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
5042
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043
+$as_echo_n "checking for $ac_word... " >&6; }
5044
+if ${ac_cv_prog_CC+:} false; then :
5045
+  $as_echo_n "(cached) " >&6
5046
 else
5047
-  case $LD in
5048
-  [\\/]* | ?:[\\/]*)
5049
-  ac_cv_path_LD="$LD" # Let the user override the test with a path.
5050
-  ;;
5051
-  *)
5052
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053
+  if test -n "$CC"; then
5054
+  ac_cv_prog_CC="$CC" # Let the user override the test.
5055
+else
5056
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057
 for as_dir in $PATH
5058
 do
5059
   IFS=$as_save_IFS
5060
   test -z "$as_dir" && as_dir=.
5061
-  for ac_exec_ext in '' $ac_executable_extensions; do
5062
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063
-    ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
5064
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065
+    for ac_exec_ext in '' $ac_executable_extensions; do
5066
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5068
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069
     break 2
5070
   fi
5071
 done
5072
-done
5073
+  done
5074
 IFS=$as_save_IFS
5075
 
5076
-  ;;
5077
-esac
5078
 fi
5079
-LD=$ac_cv_path_LD
5080
-if test -n "$LD"; then
5081
-  { echo "$as_me:$LINENO: result: $LD" >&5
5082
-echo "${ECHO_T}$LD" >&6; }
5083
+fi
5084
+CC=$ac_cv_prog_CC
5085
+if test -n "$CC"; then
5086
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5087
+$as_echo "$CC" >&6; }
5088
 else
5089
-  { echo "$as_me:$LINENO: result: no" >&5
5090
-echo "${ECHO_T}no" >&6; }
5091
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092
+$as_echo "no" >&6; }
5093
 fi
5094
 
5095
 
5096
-# Extract the first word of "test", so it can be a program name with args.
5097
-set dummy test; ac_word=$2
5098
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5099
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5100
-if test "${ac_cv_path_TEST+set}" = set; then
5101
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5102
+fi
5103
+if test -z "$ac_cv_prog_CC"; then
5104
+  ac_ct_CC=$CC
5105
+  # Extract the first word of "gcc", so it can be a program name with args.
5106
+set dummy gcc; ac_word=$2
5107
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108
+$as_echo_n "checking for $ac_word... " >&6; }
5109
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
5110
+  $as_echo_n "(cached) " >&6
5111
 else
5112
-  case $TEST in
5113
-  [\\/]* | ?:[\\/]*)
5114
-  ac_cv_path_TEST="$TEST" # Let the user override the test with a path.
5115
-  ;;
5116
-  *)
5117
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118
+  if test -n "$ac_ct_CC"; then
5119
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5120
+else
5121
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122
 for as_dir in $PATH
5123
 do
5124
   IFS=$as_save_IFS
5125
   test -z "$as_dir" && as_dir=.
5126
-  for ac_exec_ext in '' $ac_executable_extensions; do
5127
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128
-    ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext"
5129
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5130
+    for ac_exec_ext in '' $ac_executable_extensions; do
5131
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132
+    ac_cv_prog_ac_ct_CC="gcc"
5133
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134
     break 2
5135
   fi
5136
 done
5137
-done
5138
+  done
5139
 IFS=$as_save_IFS
5140
 
5141
-  test -z "$ac_cv_path_TEST" && ac_cv_path_TEST="test"
5142
-  ;;
5143
-esac
5144
-fi
5145
-TEST=$ac_cv_path_TEST
5146
-if test -n "$TEST"; then
5147
-  { echo "$as_me:$LINENO: result: $TEST" >&5
5148
-echo "${ECHO_T}$TEST" >&6; }
5149
-else
5150
-  { echo "$as_me:$LINENO: result: no" >&5
5151
-echo "${ECHO_T}no" >&6; }
5152
 fi
5153
-
5154
-
5155
-
5156
-if test "$libexecdir" = '${exec_prefix}/libexec' &&
5157
-   test "$localstatedir" = '${prefix}/var'; then
5158
-	libexecdir='${bindir}'
5159
-	localstatedir='${prefix}'
5160
 fi
5161
-
5162
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5163
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5164
-if test "${ac_cv_header_stdc+set}" = set; then
5165
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5166
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
5167
+if test -n "$ac_ct_CC"; then
5168
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5169
+$as_echo "$ac_ct_CC" >&6; }
5170
 else
5171
-  cat >conftest.$ac_ext <<_ACEOF
5172
-/* confdefs.h.  */
5173
-_ACEOF
5174
-cat confdefs.h >>conftest.$ac_ext
5175
-cat >>conftest.$ac_ext <<_ACEOF
5176
-/* end confdefs.h.  */
5177
-#include <stdlib.h>
5178
-#include <stdarg.h>
5179
-#include <string.h>
5180
-#include <float.h>
5181
-
5182
-int
5183
-main ()
5184
-{
5185
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186
+$as_echo "no" >&6; }
5187
+fi
5188
 
5189
-  ;
5190
-  return 0;
5191
-}
5192
-_ACEOF
5193
-rm -f conftest.$ac_objext
5194
-if { (ac_try="$ac_compile"
5195
-case "(($ac_try" in
5196
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5197
-  *) ac_try_echo=$ac_try;;
5198
+  if test "x$ac_ct_CC" = x; then
5199
+    CC=""
5200
+  else
5201
+    case $cross_compiling:$ac_tool_warned in
5202
+yes:)
5203
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5204
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5205
+ac_tool_warned=yes ;;
5206
 esac
5207
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208
-  (eval "$ac_compile") 2>conftest.er1
5209
-  ac_status=$?
5210
-  grep -v '^ *+' conftest.er1 >conftest.err
5211
-  rm -f conftest.er1
5212
-  cat conftest.err >&5
5213
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214
-  (exit $ac_status); } && {
5215
-	 test -z "$ac_c_werror_flag" ||
5216
-	 test ! -s conftest.err
5217
-       } && test -s conftest.$ac_objext; then
5218
-  ac_cv_header_stdc=yes
5219
+    CC=$ac_ct_CC
5220
+  fi
5221
 else
5222
-  echo "$as_me: failed program was:" >&5
5223
-sed 's/^/| /' conftest.$ac_ext >&5
5224
-
5225
-	ac_cv_header_stdc=no
5226
+  CC="$ac_cv_prog_CC"
5227
 fi
5228
 
5229
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230
-
5231
-if test $ac_cv_header_stdc = yes; then
5232
-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5233
-  cat >conftest.$ac_ext <<_ACEOF
5234
-/* confdefs.h.  */
5235
-_ACEOF
5236
-cat confdefs.h >>conftest.$ac_ext
5237
-cat >>conftest.$ac_ext <<_ACEOF
5238
-/* end confdefs.h.  */
5239
-#include <string.h>
5240
-
5241
-_ACEOF
5242
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5243
-  $EGREP "memchr" >/dev/null 2>&1; then
5244
-  :
5245
+if test -z "$CC"; then
5246
+          if test -n "$ac_tool_prefix"; then
5247
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5248
+set dummy ${ac_tool_prefix}cc; ac_word=$2
5249
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250
+$as_echo_n "checking for $ac_word... " >&6; }
5251
+if ${ac_cv_prog_CC+:} false; then :
5252
+  $as_echo_n "(cached) " >&6
5253
 else
5254
-  ac_cv_header_stdc=no
5255
-fi
5256
-rm -f conftest*
5257
+  if test -n "$CC"; then
5258
+  ac_cv_prog_CC="$CC" # Let the user override the test.
5259
+else
5260
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261
+for as_dir in $PATH
5262
+do
5263
+  IFS=$as_save_IFS
5264
+  test -z "$as_dir" && as_dir=.
5265
+    for ac_exec_ext in '' $ac_executable_extensions; do
5266
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
5268
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269
+    break 2
5270
+  fi
5271
+done
5272
+  done
5273
+IFS=$as_save_IFS
5274
 
5275
 fi
5276
-
5277
-if test $ac_cv_header_stdc = yes; then
5278
-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5279
-  cat >conftest.$ac_ext <<_ACEOF
5280
-/* confdefs.h.  */
5281
-_ACEOF
5282
-cat confdefs.h >>conftest.$ac_ext
5283
-cat >>conftest.$ac_ext <<_ACEOF
5284
-/* end confdefs.h.  */
5285
-#include <stdlib.h>
5286
-
5287
-_ACEOF
5288
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5289
-  $EGREP "free" >/dev/null 2>&1; then
5290
-  :
5291
+fi
5292
+CC=$ac_cv_prog_CC
5293
+if test -n "$CC"; then
5294
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5295
+$as_echo "$CC" >&6; }
5296
 else
5297
-  ac_cv_header_stdc=no
5298
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299
+$as_echo "no" >&6; }
5300
 fi
5301
-rm -f conftest*
5302
 
5303
-fi
5304
 
5305
-if test $ac_cv_header_stdc = yes; then
5306
-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5307
-  if test "$cross_compiling" = yes; then
5308
-  :
5309
+  fi
5310
+fi
5311
+if test -z "$CC"; then
5312
+  # Extract the first word of "cc", so it can be a program name with args.
5313
+set dummy cc; ac_word=$2
5314
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315
+$as_echo_n "checking for $ac_word... " >&6; }
5316
+if ${ac_cv_prog_CC+:} false; then :
5317
+  $as_echo_n "(cached) " >&6
5318
 else
5319
-  cat >conftest.$ac_ext <<_ACEOF
5320
-/* confdefs.h.  */
5321
-_ACEOF
5322
-cat confdefs.h >>conftest.$ac_ext
5323
-cat >>conftest.$ac_ext <<_ACEOF
5324
-/* end confdefs.h.  */
5325
-#include <ctype.h>
5326
-#include <stdlib.h>
5327
-#if ((' ' & 0x0FF) == 0x020)
5328
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5329
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5330
-#else
5331
-# define ISLOWER(c) \
5332
-		   (('a' <= (c) && (c) <= 'i') \
5333
-		     || ('j' <= (c) && (c) <= 'r') \
5334
-		     || ('s' <= (c) && (c) <= 'z'))
5335
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5336
-#endif
5337
-
5338
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5339
-int
5340
-main ()
5341
-{
5342
-  int i;
5343
-  for (i = 0; i < 256; i++)
5344
-    if (XOR (islower (i), ISLOWER (i))
5345
-	|| toupper (i) != TOUPPER (i))
5346
-      return 2;
5347
-  return 0;
5348
-}
5349
-_ACEOF
5350
-rm -f conftest$ac_exeext
5351
-if { (ac_try="$ac_link"
5352
-case "(($ac_try" in
5353
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354
-  *) ac_try_echo=$ac_try;;
5355
-esac
5356
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5357
-  (eval "$ac_link") 2>&5
5358
-  ac_status=$?
5359
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5361
-  { (case "(($ac_try" in
5362
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5363
-  *) ac_try_echo=$ac_try;;
5364
-esac
5365
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5366
-  (eval "$ac_try") 2>&5
5367
-  ac_status=$?
5368
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369
-  (exit $ac_status); }; }; then
5370
-  :
5371
+  if test -n "$CC"; then
5372
+  ac_cv_prog_CC="$CC" # Let the user override the test.
5373
 else
5374
-  echo "$as_me: program exited with status $ac_status" >&5
5375
-echo "$as_me: failed program was:" >&5
5376
-sed 's/^/| /' conftest.$ac_ext >&5
5377
+  ac_prog_rejected=no
5378
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379
+for as_dir in $PATH
5380
+do
5381
+  IFS=$as_save_IFS
5382
+  test -z "$as_dir" && as_dir=.
5383
+    for ac_exec_ext in '' $ac_executable_extensions; do
5384
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5385
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5386
+       ac_prog_rejected=yes
5387
+       continue
5388
+     fi
5389
+    ac_cv_prog_CC="cc"
5390
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391
+    break 2
5392
+  fi
5393
+done
5394
+  done
5395
+IFS=$as_save_IFS
5396
 
5397
-( exit $ac_status )
5398
-ac_cv_header_stdc=no
5399
+if test $ac_prog_rejected = yes; then
5400
+  # We found a bogon in the path, so make sure we never use it.
5401
+  set dummy $ac_cv_prog_CC
5402
+  shift
5403
+  if test $# != 0; then
5404
+    # We chose a different compiler from the bogus one.
5405
+    # However, it has the same basename, so the bogon will be chosen
5406
+    # first if we set CC to just the basename; use the full file name.
5407
+    shift
5408
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5409
+  fi
5410
 fi
5411
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5412
 fi
5413
-
5414
-
5415
 fi
5416
+CC=$ac_cv_prog_CC
5417
+if test -n "$CC"; then
5418
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5419
+$as_echo "$CC" >&6; }
5420
+else
5421
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422
+$as_echo "no" >&6; }
5423
 fi
5424
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5425
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5426
-if test $ac_cv_header_stdc = yes; then
5427
 
5428
-cat >>confdefs.h <<\_ACEOF
5429
-#define STDC_HEADERS 1
5430
-_ACEOF
5431
 
5432
 fi
5433
-
5434
-
5435
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5436
-
5437
-
5438
-
5439
-
5440
-
5441
-
5442
-
5443
-
5444
-
5445
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5446
-		  inttypes.h stdint.h unistd.h
5447
-do
5448
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5449
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5450
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5451
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5452
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5453
+if test -z "$CC"; then
5454
+  if test -n "$ac_tool_prefix"; then
5455
+  for ac_prog in cl.exe
5456
+  do
5457
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5458
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5459
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460
+$as_echo_n "checking for $ac_word... " >&6; }
5461
+if ${ac_cv_prog_CC+:} false; then :
5462
+  $as_echo_n "(cached) " >&6
5463
 else
5464
-  cat >conftest.$ac_ext <<_ACEOF
5465
-/* confdefs.h.  */
5466
-_ACEOF
5467
-cat confdefs.h >>conftest.$ac_ext
5468
-cat >>conftest.$ac_ext <<_ACEOF
5469
-/* end confdefs.h.  */
5470
-$ac_includes_default
5471
-
5472
-#include <$ac_header>
5473
-_ACEOF
5474
-rm -f conftest.$ac_objext
5475
-if { (ac_try="$ac_compile"
5476
-case "(($ac_try" in
5477
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5478
-  *) ac_try_echo=$ac_try;;
5479
-esac
5480
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5481
-  (eval "$ac_compile") 2>conftest.er1
5482
-  ac_status=$?
5483
-  grep -v '^ *+' conftest.er1 >conftest.err
5484
-  rm -f conftest.er1
5485
-  cat conftest.err >&5
5486
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487
-  (exit $ac_status); } && {
5488
-	 test -z "$ac_c_werror_flag" ||
5489
-	 test ! -s conftest.err
5490
-       } && test -s conftest.$ac_objext; then
5491
-  eval "$as_ac_Header=yes"
5492
+  if test -n "$CC"; then
5493
+  ac_cv_prog_CC="$CC" # Let the user override the test.
5494
 else
5495
-  echo "$as_me: failed program was:" >&5
5496
-sed 's/^/| /' conftest.$ac_ext >&5
5497
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498
+for as_dir in $PATH
5499
+do
5500
+  IFS=$as_save_IFS
5501
+  test -z "$as_dir" && as_dir=.
5502
+    for ac_exec_ext in '' $ac_executable_extensions; do
5503
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5505
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506
+    break 2
5507
+  fi
5508
+done
5509
+  done
5510
+IFS=$as_save_IFS
5511
 
5512
-	eval "$as_ac_Header=no"
5513
 fi
5514
-
5515
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5516
 fi
5517
-ac_res=`eval echo '${'$as_ac_Header'}'`
5518
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5519
-echo "${ECHO_T}$ac_res" >&6; }
5520
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
5521
-  cat >>confdefs.h <<_ACEOF
5522
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5523
-_ACEOF
5524
-
5525
+CC=$ac_cv_prog_CC
5526
+if test -n "$CC"; then
5527
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5528
+$as_echo "$CC" >&6; }
5529
+else
5530
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531
+$as_echo "no" >&6; }
5532
 fi
5533
 
5534
-done
5535
-
5536
-
5537
-
5538
-
5539
-
5540
-
5541
-
5542
-
5543
-
5544
-
5545
-
5546
-
5547
-
5548
 
5549
-for ac_header in crypt.h inttypes.h stdint.h sys/resource.h sys/param.h errno.h sys/syslog.h stddef.h libgen.h sys/wait.h wait.h link.h
5550
+    test -n "$CC" && break
5551
+  done
5552
+fi
5553
+if test -z "$CC"; then
5554
+  ac_ct_CC=$CC
5555
+  for ac_prog in cl.exe
5556
 do
5557
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5558
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5559
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5560
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5561
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5562
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5563
-fi
5564
-ac_res=`eval echo '${'$as_ac_Header'}'`
5565
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5566
-echo "${ECHO_T}$ac_res" >&6; }
5567
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
5568
+set dummy $ac_prog; ac_word=$2
5569
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570
+$as_echo_n "checking for $ac_word... " >&6; }
5571
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
5572
+  $as_echo_n "(cached) " >&6
5573
 else
5574
-  # Is the header compilable?
5575
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5576
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5577
-cat >conftest.$ac_ext <<_ACEOF
5578
-/* confdefs.h.  */
5579
-_ACEOF
5580
-cat confdefs.h >>conftest.$ac_ext
5581
-cat >>conftest.$ac_ext <<_ACEOF
5582
-/* end confdefs.h.  */
5583
-$ac_includes_default
5584
-#include <$ac_header>
5585
-_ACEOF
5586
-rm -f conftest.$ac_objext
5587
-if { (ac_try="$ac_compile"
5588
-case "(($ac_try" in
5589
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590
-  *) ac_try_echo=$ac_try;;
5591
-esac
5592
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593
-  (eval "$ac_compile") 2>conftest.er1
5594
-  ac_status=$?
5595
-  grep -v '^ *+' conftest.er1 >conftest.err
5596
-  rm -f conftest.er1
5597
-  cat conftest.err >&5
5598
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599
-  (exit $ac_status); } && {
5600
-	 test -z "$ac_c_werror_flag" ||
5601
-	 test ! -s conftest.err
5602
-       } && test -s conftest.$ac_objext; then
5603
-  ac_header_compiler=yes
5604
+  if test -n "$ac_ct_CC"; then
5605
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5606
 else
5607
-  echo "$as_me: failed program was:" >&5
5608
-sed 's/^/| /' conftest.$ac_ext >&5
5609
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610
+for as_dir in $PATH
5611
+do
5612
+  IFS=$as_save_IFS
5613
+  test -z "$as_dir" && as_dir=.
5614
+    for ac_exec_ext in '' $ac_executable_extensions; do
5615
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616
+    ac_cv_prog_ac_ct_CC="$ac_prog"
5617
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618
+    break 2
5619
+  fi
5620
+done
5621
+  done
5622
+IFS=$as_save_IFS
5623
 
5624
-	ac_header_compiler=no
5625
 fi
5626
-
5627
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5628
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5629
-echo "${ECHO_T}$ac_header_compiler" >&6; }
5630
-
5631
-# Is the header present?
5632
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5633
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5634
-cat >conftest.$ac_ext <<_ACEOF
5635
-/* confdefs.h.  */
5636
-_ACEOF
5637
-cat confdefs.h >>conftest.$ac_ext
5638
-cat >>conftest.$ac_ext <<_ACEOF
5639
-/* end confdefs.h.  */
5640
-#include <$ac_header>
5641
-_ACEOF
5642
-if { (ac_try="$ac_cpp conftest.$ac_ext"
5643
-case "(($ac_try" in
5644
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5645
-  *) ac_try_echo=$ac_try;;
5646
-esac
5647
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5648
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5649
-  ac_status=$?
5650
-  grep -v '^ *+' conftest.er1 >conftest.err
5651
-  rm -f conftest.er1
5652
-  cat conftest.err >&5
5653
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654
-  (exit $ac_status); } >/dev/null && {
5655
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5656
-	 test ! -s conftest.err
5657
-       }; then
5658
-  ac_header_preproc=yes
5659
+fi
5660
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
5661
+if test -n "$ac_ct_CC"; then
5662
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5663
+$as_echo "$ac_ct_CC" >&6; }
5664
 else
5665
-  echo "$as_me: failed program was:" >&5
5666
-sed 's/^/| /' conftest.$ac_ext >&5
5667
-
5668
-  ac_header_preproc=no
5669
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670
+$as_echo "no" >&6; }
5671
 fi
5672
 
5673
-rm -f conftest.err conftest.$ac_ext
5674
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5675
-echo "${ECHO_T}$ac_header_preproc" >&6; }
5676
 
5677
-# So?  What about this header?
5678
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5679
-  yes:no: )
5680
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5681
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5682
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5683
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5684
-    ac_header_preproc=yes
5685
-    ;;
5686
-  no:yes:* )
5687
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5688
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5689
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5690
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5691
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5692
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5693
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5694
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5695
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5696
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5697
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5698
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5699
+  test -n "$ac_ct_CC" && break
5700
+done
5701
 
5702
-    ;;
5703
+  if test "x$ac_ct_CC" = x; then
5704
+    CC=""
5705
+  else
5706
+    case $cross_compiling:$ac_tool_warned in
5707
+yes:)
5708
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5709
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5710
+ac_tool_warned=yes ;;
5711
 esac
5712
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5713
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5714
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5715
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5716
-else
5717
-  eval "$as_ac_Header=\$ac_header_preproc"
5718
-fi
5719
-ac_res=`eval echo '${'$as_ac_Header'}'`
5720
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5721
-echo "${ECHO_T}$ac_res" >&6; }
5722
-
5723
+    CC=$ac_ct_CC
5724
+  fi
5725
 fi
5726
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
5727
-  cat >>confdefs.h <<_ACEOF
5728
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5729
-_ACEOF
5730
 
5731
 fi
5732
 
5733
-done
5734
 
5735
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5736
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5737
+as_fn_error $? "no acceptable C compiler found in \$PATH
5738
+See \`config.log' for more details" "$LINENO" 5; }
5739
 
5740
+# Provide some information about the compiler.
5741
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5742
+set X $ac_compile
5743
+ac_compiler=$2
5744
+for ac_option in --version -v -V -qversion; do
5745
+  { { ac_try="$ac_compiler $ac_option >&5"
5746
+case "(($ac_try" in
5747
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748
+  *) ac_try_echo=$ac_try;;
5749
+esac
5750
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5751
+$as_echo "$ac_try_echo"; } >&5
5752
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5753
+  ac_status=$?
5754
+  if test -s conftest.err; then
5755
+    sed '10a\
5756
+... rest of stderr output deleted ...
5757
+         10q' conftest.err >conftest.er1
5758
+    cat conftest.er1 >&5
5759
+  fi
5760
+  rm -f conftest.er1 conftest.err
5761
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5762
+  test $ac_status = 0; }
5763
+done
5764
 
5765
-{ echo "$as_me:$LINENO: checking for library containing socket" >&5
5766
-echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
5767
-if test "${ac_cv_search_socket+set}" = set; then
5768
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5769
-else
5770
-  ac_func_search_save_LIBS=$LIBS
5771
-cat >conftest.$ac_ext <<_ACEOF
5772
-/* confdefs.h.  */
5773
-_ACEOF
5774
-cat confdefs.h >>conftest.$ac_ext
5775
-cat >>conftest.$ac_ext <<_ACEOF
5776
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5777
 /* end confdefs.h.  */
5778
 
5779
-/* Override any GCC internal prototype to avoid an error.
5780
-   Use char because int might match the return type of a GCC
5781
-   builtin and then its argument prototype would still apply.  */
5782
-#ifdef __cplusplus
5783
-extern "C"
5784
-#endif
5785
-char socket ();
5786
 int
5787
 main ()
5788
 {
5789
-return socket ();
5790
+
5791
   ;
5792
   return 0;
5793
 }
5794
 _ACEOF
5795
-for ac_lib in '' socket; do
5796
-  if test -z "$ac_lib"; then
5797
-    ac_res="none required"
5798
-  else
5799
-    ac_res=-l$ac_lib
5800
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5801
-  fi
5802
-  rm -f conftest.$ac_objext conftest$ac_exeext
5803
-if { (ac_try="$ac_link"
5804
+ac_clean_files_save=$ac_clean_files
5805
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5806
+# Try to create an executable without -o first, disregard a.out.
5807
+# It will help us diagnose broken compilers, and finding out an intuition
5808
+# of exeext.
5809
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5810
+$as_echo_n "checking whether the C compiler works... " >&6; }
5811
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5812
+
5813
+# The possible output files:
5814
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5815
+
5816
+ac_rmfiles=
5817
+for ac_file in $ac_files
5818
+do
5819
+  case $ac_file in
5820
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5821
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5822
+  esac
5823
+done
5824
+rm -f $ac_rmfiles
5825
+
5826
+if { { ac_try="$ac_link_default"
5827
 case "(($ac_try" in
5828
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5829
   *) ac_try_echo=$ac_try;;
5830
 esac
5831
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5832
-  (eval "$ac_link") 2>conftest.er1
5833
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5834
+$as_echo "$ac_try_echo"; } >&5
5835
+  (eval "$ac_link_default") 2>&5
5836
   ac_status=$?
5837
-  grep -v '^ *+' conftest.er1 >conftest.err
5838
-  rm -f conftest.er1
5839
-  cat conftest.err >&5
5840
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841
-  (exit $ac_status); } && {
5842
-	 test -z "$ac_c_werror_flag" ||
5843
-	 test ! -s conftest.err
5844
-       } && test -s conftest$ac_exeext &&
5845
-       $as_test_x conftest$ac_exeext; then
5846
-  ac_cv_search_socket=$ac_res
5847
-else
5848
-  echo "$as_me: failed program was:" >&5
5849
-sed 's/^/| /' conftest.$ac_ext >&5
5850
-
5851
-
5852
-fi
5853
-
5854
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5855
-      conftest$ac_exeext
5856
-  if test "${ac_cv_search_socket+set}" = set; then
5857
-  break
5858
-fi
5859
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5860
+  test $ac_status = 0; }; then :
5861
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5862
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5863
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
5864
+# so that the user can short-circuit this test for compilers unknown to
5865
+# Autoconf.
5866
+for ac_file in $ac_files ''
5867
+do
5868
+  test -f "$ac_file" || continue
5869
+  case $ac_file in
5870
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5871
+	;;
5872
+    [ab].out )
5873
+	# We found the default executable, but exeext='' is most
5874
+	# certainly right.
5875
+	break;;
5876
+    *.* )
5877
+	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5878
+	then :; else
5879
+	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5880
+	fi
5881
+	# We set ac_cv_exeext here because the later test for it is not
5882
+	# safe: cross compilers may not add the suffix if given an `-o'
5883
+	# argument, so we may need to know it at that point already.
5884
+	# Even if this section looks crufty: it has the advantage of
5885
+	# actually working.
5886
+	break;;
5887
+    * )
5888
+	break;;
5889
+  esac
5890
 done
5891
-if test "${ac_cv_search_socket+set}" = set; then
5892
-  :
5893
-else
5894
-  ac_cv_search_socket=no
5895
-fi
5896
-rm conftest.$ac_ext
5897
-LIBS=$ac_func_search_save_LIBS
5898
-fi
5899
-{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
5900
-echo "${ECHO_T}$ac_cv_search_socket" >&6; }
5901
-ac_res=$ac_cv_search_socket
5902
-if test "$ac_res" != no; then
5903
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5904
+test "$ac_cv_exeext" = no && ac_cv_exeext=
5905
 
5906
 else
5907
-  { { echo "$as_me:$LINENO: error: You have no socket()! Aborting." >&5
5908
-echo "$as_me: error: You have no socket()! Aborting." >&2;}
5909
-   { (exit 1); exit 1; }; }
5910
+  ac_file=''
5911
 fi
5912
+if test -z "$ac_file"; then :
5913
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914
+$as_echo "no" >&6; }
5915
+$as_echo "$as_me: failed program was:" >&5
5916
+sed 's/^/| /' conftest.$ac_ext >&5
5917
+
5918
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5919
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5920
+as_fn_error 77 "C compiler cannot create executables
5921
+See \`config.log' for more details" "$LINENO" 5; }
5922
+else
5923
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5924
+$as_echo "yes" >&6; }
5925
+fi
5926
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5927
+$as_echo_n "checking for C compiler default output file name... " >&6; }
5928
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5929
+$as_echo "$ac_file" >&6; }
5930
+ac_exeext=$ac_cv_exeext
5931
 
5932
-
5933
-{ echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
5934
-echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
5935
-if test "${ac_cv_search_inet_aton+set}" = set; then
5936
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5937
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5938
+ac_clean_files=$ac_clean_files_save
5939
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5940
+$as_echo_n "checking for suffix of executables... " >&6; }
5941
+if { { ac_try="$ac_link"
5942
+case "(($ac_try" in
5943
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5944
+  *) ac_try_echo=$ac_try;;
5945
+esac
5946
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5947
+$as_echo "$ac_try_echo"; } >&5
5948
+  (eval "$ac_link") 2>&5
5949
+  ac_status=$?
5950
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5951
+  test $ac_status = 0; }; then :
5952
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
5953
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5954
+# work properly (i.e., refer to `conftest.exe'), while it won't with
5955
+# `rm'.
5956
+for ac_file in conftest.exe conftest conftest.*; do
5957
+  test -f "$ac_file" || continue
5958
+  case $ac_file in
5959
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5960
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5961
+	  break;;
5962
+    * ) break;;
5963
+  esac
5964
+done
5965
 else
5966
-  ac_func_search_save_LIBS=$LIBS
5967
-cat >conftest.$ac_ext <<_ACEOF
5968
-/* confdefs.h.  */
5969
-_ACEOF
5970
-cat confdefs.h >>conftest.$ac_ext
5971
-cat >>conftest.$ac_ext <<_ACEOF
5972
-/* end confdefs.h.  */
5973
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5974
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5975
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5976
+See \`config.log' for more details" "$LINENO" 5; }
5977
+fi
5978
+rm -f conftest conftest$ac_cv_exeext
5979
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5980
+$as_echo "$ac_cv_exeext" >&6; }
5981
 
5982
-/* Override any GCC internal prototype to avoid an error.
5983
-   Use char because int might match the return type of a GCC
5984
-   builtin and then its argument prototype would still apply.  */
5985
-#ifdef __cplusplus
5986
-extern "C"
5987
-#endif
5988
-char inet_aton ();
5989
+rm -f conftest.$ac_ext
5990
+EXEEXT=$ac_cv_exeext
5991
+ac_exeext=$EXEEXT
5992
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993
+/* end confdefs.h.  */
5994
+#include <stdio.h>
5995
 int
5996
 main ()
5997
 {
5998
-return inet_aton ();
5999
+FILE *f = fopen ("conftest.out", "w");
6000
+ return ferror (f) || fclose (f) != 0;
6001
+
6002
   ;
6003
   return 0;
6004
 }
6005
 _ACEOF
6006
-for ac_lib in '' resolv; do
6007
-  if test -z "$ac_lib"; then
6008
-    ac_res="none required"
6009
-  else
6010
-    ac_res=-l$ac_lib
6011
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6012
-  fi
6013
-  rm -f conftest.$ac_objext conftest$ac_exeext
6014
-if { (ac_try="$ac_link"
6015
+ac_clean_files="$ac_clean_files conftest.out"
6016
+# Check that the compiler produces executables we can run.  If not, either
6017
+# the compiler is broken, or we cross compile.
6018
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6019
+$as_echo_n "checking whether we are cross compiling... " >&6; }
6020
+if test "$cross_compiling" != yes; then
6021
+  { { ac_try="$ac_link"
6022
 case "(($ac_try" in
6023
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6024
   *) ac_try_echo=$ac_try;;
6025
 esac
6026
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6027
-  (eval "$ac_link") 2>conftest.er1
6028
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6029
+$as_echo "$ac_try_echo"; } >&5
6030
+  (eval "$ac_link") 2>&5
6031
   ac_status=$?
6032
-  grep -v '^ *+' conftest.er1 >conftest.err
6033
-  rm -f conftest.er1
6034
-  cat conftest.err >&5
6035
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036
-  (exit $ac_status); } && {
6037
-	 test -z "$ac_c_werror_flag" ||
6038
-	 test ! -s conftest.err
6039
-       } && test -s conftest$ac_exeext &&
6040
-       $as_test_x conftest$ac_exeext; then
6041
-  ac_cv_search_inet_aton=$ac_res
6042
-else
6043
-  echo "$as_me: failed program was:" >&5
6044
-sed 's/^/| /' conftest.$ac_ext >&5
6045
-
6046
-
6047
-fi
6048
-
6049
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6050
-      conftest$ac_exeext
6051
-  if test "${ac_cv_search_inet_aton+set}" = set; then
6052
-  break
6053
-fi
6054
-done
6055
-if test "${ac_cv_search_inet_aton+set}" = set; then
6056
-  :
6057
-else
6058
-  ac_cv_search_inet_aton=no
6059
-fi
6060
-rm conftest.$ac_ext
6061
-LIBS=$ac_func_search_save_LIBS
6062
-fi
6063
-{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
6064
-echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
6065
-ac_res=$ac_cv_search_inet_aton
6066
-if test "$ac_res" != no; then
6067
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6068
-
6069
-else
6070
-  inet_misc=1;
6071
-cat >>confdefs.h <<\_ACEOF
6072
-#define NO_INET_ATON 1
6073
-_ACEOF
6074
-
6075
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6076
+  test $ac_status = 0; }
6077
+  if { ac_try='./conftest$ac_cv_exeext'
6078
+  { { case "(($ac_try" in
6079
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6080
+  *) ac_try_echo=$ac_try;;
6081
+esac
6082
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6083
+$as_echo "$ac_try_echo"; } >&5
6084
+  (eval "$ac_try") 2>&5
6085
+  ac_status=$?
6086
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6087
+  test $ac_status = 0; }; }; then
6088
+    cross_compiling=no
6089
+  else
6090
+    if test "$cross_compiling" = maybe; then
6091
+	cross_compiling=yes
6092
+    else
6093
+	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6094
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6095
+as_fn_error $? "cannot run C compiled programs.
6096
+If you meant to cross compile, use \`--host'.
6097
+See \`config.log' for more details" "$LINENO" 5; }
6098
+    fi
6099
+  fi
6100
 fi
6101
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6102
+$as_echo "$cross_compiling" >&6; }
6103
 
6104
-{ echo "$as_me:$LINENO: checking for library containing inet_pton" >&5
6105
-echo $ECHO_N "checking for library containing inet_pton... $ECHO_C" >&6; }
6106
-if test "${ac_cv_search_inet_pton+set}" = set; then
6107
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6108
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6109
+ac_clean_files=$ac_clean_files_save
6110
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6111
+$as_echo_n "checking for suffix of object files... " >&6; }
6112
+if ${ac_cv_objext+:} false; then :
6113
+  $as_echo_n "(cached) " >&6
6114
 else
6115
-  ac_func_search_save_LIBS=$LIBS
6116
-cat >conftest.$ac_ext <<_ACEOF
6117
-/* confdefs.h.  */
6118
-_ACEOF
6119
-cat confdefs.h >>conftest.$ac_ext
6120
-cat >>conftest.$ac_ext <<_ACEOF
6121
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122
 /* end confdefs.h.  */
6123
 
6124
-/* Override any GCC internal prototype to avoid an error.
6125
-   Use char because int might match the return type of a GCC
6126
-   builtin and then its argument prototype would still apply.  */
6127
-#ifdef __cplusplus
6128
-extern "C"
6129
-#endif
6130
-char inet_pton ();
6131
 int
6132
 main ()
6133
 {
6134
-return inet_pton ();
6135
+
6136
   ;
6137
   return 0;
6138
 }
6139
 _ACEOF
6140
-for ac_lib in '' resolv nsl; do
6141
-  if test -z "$ac_lib"; then
6142
-    ac_res="none required"
6143
-  else
6144
-    ac_res=-l$ac_lib
6145
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6146
-  fi
6147
-  rm -f conftest.$ac_objext conftest$ac_exeext
6148
-if { (ac_try="$ac_link"
6149
+rm -f conftest.o conftest.obj
6150
+if { { ac_try="$ac_compile"
6151
 case "(($ac_try" in
6152
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6153
   *) ac_try_echo=$ac_try;;
6154
 esac
6155
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156
-  (eval "$ac_link") 2>conftest.er1
6157
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6158
+$as_echo "$ac_try_echo"; } >&5
6159
+  (eval "$ac_compile") 2>&5
6160
   ac_status=$?
6161
-  grep -v '^ *+' conftest.er1 >conftest.err
6162
-  rm -f conftest.er1
6163
-  cat conftest.err >&5
6164
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165
-  (exit $ac_status); } && {
6166
-	 test -z "$ac_c_werror_flag" ||
6167
-	 test ! -s conftest.err
6168
-       } && test -s conftest$ac_exeext &&
6169
-       $as_test_x conftest$ac_exeext; then
6170
-  ac_cv_search_inet_pton=$ac_res
6171
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172
+  test $ac_status = 0; }; then :
6173
+  for ac_file in conftest.o conftest.obj conftest.*; do
6174
+  test -f "$ac_file" || continue;
6175
+  case $ac_file in
6176
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
6177
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6178
+       break;;
6179
+  esac
6180
+done
6181
 else
6182
-  echo "$as_me: failed program was:" >&5
6183
+  $as_echo "$as_me: failed program was:" >&5
6184
 sed 's/^/| /' conftest.$ac_ext >&5
6185
 
6186
-
6187
-fi
6188
-
6189
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6190
-      conftest$ac_exeext
6191
-  if test "${ac_cv_search_inet_pton+set}" = set; then
6192
-  break
6193
-fi
6194
-done
6195
-if test "${ac_cv_search_inet_pton+set}" = set; then
6196
-  :
6197
-else
6198
-  ac_cv_search_inet_pton=no
6199
-fi
6200
-rm conftest.$ac_ext
6201
-LIBS=$ac_func_search_save_LIBS
6202
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6203
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6204
+as_fn_error $? "cannot compute suffix of object files: cannot compile
6205
+See \`config.log' for more details" "$LINENO" 5; }
6206
 fi
6207
-{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_pton" >&5
6208
-echo "${ECHO_T}$ac_cv_search_inet_pton" >&6; }
6209
-ac_res=$ac_cv_search_inet_pton
6210
-if test "$ac_res" != no; then
6211
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6212
-
6213
-else
6214
-  inet_misc=1;
6215
-cat >>confdefs.h <<\_ACEOF
6216
-#define NO_INET_PTON 1
6217
-_ACEOF
6218
-
6219
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
6220
 fi
6221
-
6222
-{ echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5
6223
-echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; }
6224
-if test "${ac_cv_search_inet_ntop+set}" = set; then
6225
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6226
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
6227
+$as_echo "$ac_cv_objext" >&6; }
6228
+OBJEXT=$ac_cv_objext
6229
+ac_objext=$OBJEXT
6230
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6231
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6232
+if ${ac_cv_c_compiler_gnu+:} false; then :
6233
+  $as_echo_n "(cached) " >&6
6234
 else
6235
-  ac_func_search_save_LIBS=$LIBS
6236
-cat >conftest.$ac_ext <<_ACEOF
6237
-/* confdefs.h.  */
6238
-_ACEOF
6239
-cat confdefs.h >>conftest.$ac_ext
6240
-cat >>conftest.$ac_ext <<_ACEOF
6241
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242
 /* end confdefs.h.  */
6243
 
6244
-/* Override any GCC internal prototype to avoid an error.
6245
-   Use char because int might match the return type of a GCC
6246
-   builtin and then its argument prototype would still apply.  */
6247
-#ifdef __cplusplus
6248
-extern "C"
6249
-#endif
6250
-char inet_ntop ();
6251
 int
6252
 main ()
6253
 {
6254
-return inet_ntop ();
6255
+#ifndef __GNUC__
6256
+       choke me
6257
+#endif
6258
+
6259
   ;
6260
   return 0;
6261
 }
6262
 _ACEOF
6263
-for ac_lib in '' resolv nsl; do
6264
-  if test -z "$ac_lib"; then
6265
-    ac_res="none required"
6266
-  else
6267
-    ac_res=-l$ac_lib
6268
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6269
-  fi
6270
-  rm -f conftest.$ac_objext conftest$ac_exeext
6271
-if { (ac_try="$ac_link"
6272
-case "(($ac_try" in
6273
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6274
-  *) ac_try_echo=$ac_try;;
6275
-esac
6276
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6277
-  (eval "$ac_link") 2>conftest.er1
6278
-  ac_status=$?
6279
-  grep -v '^ *+' conftest.er1 >conftest.err
6280
-  rm -f conftest.er1
6281
-  cat conftest.err >&5
6282
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283
-  (exit $ac_status); } && {
6284
-	 test -z "$ac_c_werror_flag" ||
6285
-	 test ! -s conftest.err
6286
-       } && test -s conftest$ac_exeext &&
6287
-       $as_test_x conftest$ac_exeext; then
6288
-  ac_cv_search_inet_ntop=$ac_res
6289
+if ac_fn_c_try_compile "$LINENO"; then :
6290
+  ac_compiler_gnu=yes
6291
 else
6292
-  echo "$as_me: failed program was:" >&5
6293
-sed 's/^/| /' conftest.$ac_ext >&5
6294
-
6295
-
6296
+  ac_compiler_gnu=no
6297
 fi
6298
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
6300
 
6301
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6302
-      conftest$ac_exeext
6303
-  if test "${ac_cv_search_inet_ntop+set}" = set; then
6304
-  break
6305
 fi
6306
-done
6307
-if test "${ac_cv_search_inet_ntop+set}" = set; then
6308
-  :
6309
-else
6310
-  ac_cv_search_inet_ntop=no
6311
-fi
6312
-rm conftest.$ac_ext
6313
-LIBS=$ac_func_search_save_LIBS
6314
-fi
6315
-{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5
6316
-echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; }
6317
-ac_res=$ac_cv_search_inet_ntop
6318
-if test "$ac_res" != no; then
6319
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6320
-
6321
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6322
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6323
+if test $ac_compiler_gnu = yes; then
6324
+  GCC=yes
6325
 else
6326
-  inet_misc=1;
6327
-cat >>confdefs.h <<\_ACEOF
6328
-#define NO_INET_NTOP 1
6329
-_ACEOF
6330
-
6331
-fi
6332
-
6333
-
6334
-if test "$inet_misc" = 1; then
6335
-	INET_MISC=inet_misc.c
6336
-
6337
+  GCC=
6338
 fi
6339
-
6340
-{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6341
-echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6342
-if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
6343
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6344
+ac_test_CFLAGS=${CFLAGS+set}
6345
+ac_save_CFLAGS=$CFLAGS
6346
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6347
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
6348
+if ${ac_cv_prog_cc_g+:} false; then :
6349
+  $as_echo_n "(cached) " >&6
6350
 else
6351
-  cat >conftest.$ac_ext <<_ACEOF
6352
-/* confdefs.h.  */
6353
-_ACEOF
6354
-cat confdefs.h >>conftest.$ac_ext
6355
-cat >>conftest.$ac_ext <<_ACEOF
6356
+  ac_save_c_werror_flag=$ac_c_werror_flag
6357
+   ac_c_werror_flag=yes
6358
+   ac_cv_prog_cc_g=no
6359
+   CFLAGS="-g"
6360
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6361
 /* end confdefs.h.  */
6362
-#include <sys/types.h>
6363
-#include <sys/socket.h>
6364
 
6365
-
6366
-typedef struct sockaddr_storage ac__type_new_;
6367
 int
6368
 main ()
6369
 {
6370
-if ((ac__type_new_ *) 0)
6371
-  return 0;
6372
-if (sizeof (ac__type_new_))
6373
-  return 0;
6374
+
6375
   ;
6376
   return 0;
6377
 }
6378
 _ACEOF
6379
-rm -f conftest.$ac_objext
6380
-if { (ac_try="$ac_compile"
6381
-case "(($ac_try" in
6382
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383
-  *) ac_try_echo=$ac_try;;
6384
-esac
6385
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386
-  (eval "$ac_compile") 2>conftest.er1
6387
-  ac_status=$?
6388
-  grep -v '^ *+' conftest.er1 >conftest.err
6389
-  rm -f conftest.er1
6390
-  cat conftest.err >&5
6391
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392
-  (exit $ac_status); } && {
6393
-	 test -z "$ac_c_werror_flag" ||
6394
-	 test ! -s conftest.err
6395
-       } && test -s conftest.$ac_objext; then
6396
-  ac_cv_type_struct_sockaddr_storage=yes
6397
+if ac_fn_c_try_compile "$LINENO"; then :
6398
+  ac_cv_prog_cc_g=yes
6399
 else
6400
-  echo "$as_me: failed program was:" >&5
6401
-sed 's/^/| /' conftest.$ac_ext >&5
6402
-
6403
-	ac_cv_type_struct_sockaddr_storage=no
6404
-fi
6405
+  CFLAGS=""
6406
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407
+/* end confdefs.h.  */
6408
 
6409
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6410
-fi
6411
-{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
6412
-echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
6413
-if test $ac_cv_type_struct_sockaddr_storage = yes; then
6414
+int
6415
+main ()
6416
+{
6417
 
6418
-cat >>confdefs.h <<_ACEOF
6419
-#define HAVE_STRUCT_SOCKADDR_STORAGE 1
6420
+  ;
6421
+  return 0;
6422
+}
6423
 _ACEOF
6424
+if ac_fn_c_try_compile "$LINENO"; then :
6425
 
6426
-
6427
-fi
6428
-
6429
-
6430
-if test "$ac_cv_type_struct_sockaddr_storage" = no; then
6431
-	{ echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
6432
-echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
6433
-if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
6434
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6435
 else
6436
-  cat >conftest.$ac_ext <<_ACEOF
6437
-/* confdefs.h.  */
6438
-_ACEOF
6439
-cat confdefs.h >>conftest.$ac_ext
6440
-cat >>conftest.$ac_ext <<_ACEOF
6441
+  ac_c_werror_flag=$ac_save_c_werror_flag
6442
+	 CFLAGS="-g"
6443
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6444
 /* end confdefs.h.  */
6445
-$ac_includes_default
6446
+
6447
 int
6448
 main ()
6449
 {
6450
-static struct sockaddr_in ac_aggr;
6451
-if (ac_aggr.sin_len)
6452
-return 0;
6453
+
6454
   ;
6455
   return 0;
6456
 }
6457
 _ACEOF
6458
-rm -f conftest.$ac_objext
6459
-if { (ac_try="$ac_compile"
6460
-case "(($ac_try" in
6461
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6462
-  *) ac_try_echo=$ac_try;;
6463
-esac
6464
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6465
-  (eval "$ac_compile") 2>conftest.er1
6466
-  ac_status=$?
6467
-  grep -v '^ *+' conftest.er1 >conftest.err
6468
-  rm -f conftest.er1
6469
-  cat conftest.err >&5
6470
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471
-  (exit $ac_status); } && {
6472
-	 test -z "$ac_c_werror_flag" ||
6473
-	 test ! -s conftest.err
6474
-       } && test -s conftest.$ac_objext; then
6475
-  ac_cv_member_struct_sockaddr_in_sin_len=yes
6476
+if ac_fn_c_try_compile "$LINENO"; then :
6477
+  ac_cv_prog_cc_g=yes
6478
+fi
6479
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6480
+fi
6481
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6482
+fi
6483
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6484
+   ac_c_werror_flag=$ac_save_c_werror_flag
6485
+fi
6486
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6487
+$as_echo "$ac_cv_prog_cc_g" >&6; }
6488
+if test "$ac_test_CFLAGS" = set; then
6489
+  CFLAGS=$ac_save_CFLAGS
6490
+elif test $ac_cv_prog_cc_g = yes; then
6491
+  if test "$GCC" = yes; then
6492
+    CFLAGS="-g -O2"
6493
+  else
6494
+    CFLAGS="-g"
6495
+  fi
6496
 else
6497
-  echo "$as_me: failed program was:" >&5
6498
-sed 's/^/| /' conftest.$ac_ext >&5
6499
-
6500
-	cat >conftest.$ac_ext <<_ACEOF
6501
-/* confdefs.h.  */
6502
-_ACEOF
6503
-cat confdefs.h >>conftest.$ac_ext
6504
-cat >>conftest.$ac_ext <<_ACEOF
6505
+  if test "$GCC" = yes; then
6506
+    CFLAGS="-O2"
6507
+  else
6508
+    CFLAGS=
6509
+  fi
6510
+fi
6511
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6512
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6513
+if ${ac_cv_prog_cc_c89+:} false; then :
6514
+  $as_echo_n "(cached) " >&6
6515
+else
6516
+  ac_cv_prog_cc_c89=no
6517
+ac_save_CC=$CC
6518
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6519
 /* end confdefs.h.  */
6520
-$ac_includes_default
6521
+#include <stdarg.h>
6522
+#include <stdio.h>
6523
+struct stat;
6524
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6525
+struct buf { int x; };
6526
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
6527
+static char *e (p, i)
6528
+     char **p;
6529
+     int i;
6530
+{
6531
+  return p[i];
6532
+}
6533
+static char *f (char * (*g) (char **, int), char **p, ...)
6534
+{
6535
+  char *s;
6536
+  va_list v;
6537
+  va_start (v,p);
6538
+  s = g (p, va_arg (v,int));
6539
+  va_end (v);
6540
+  return s;
6541
+}
6542
+
6543
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6544
+   function prototypes and stuff, but not '\xHH' hex character constants.
6545
+   These don't provoke an error unfortunately, instead are silently treated
6546
+   as 'x'.  The following induces an error, until -std is added to get
6547
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6548
+   array size at least.  It's necessary to write '\x00'==0 to get something
6549
+   that's true only with -std.  */
6550
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6551
+
6552
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6553
+   inside strings and character constants.  */
6554
+#define FOO(x) 'x'
6555
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6556
+
6557
+int test (int i, double x);
6558
+struct s1 {int (*f) (int a);};
6559
+struct s2 {int (*f) (double a);};
6560
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6561
+int argc;
6562
+char **argv;
6563
 int
6564
 main ()
6565
 {
6566
-static struct sockaddr_in ac_aggr;
6567
-if (sizeof ac_aggr.sin_len)
6568
-return 0;
6569
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6570
   ;
6571
   return 0;
6572
 }
6573
 _ACEOF
6574
-rm -f conftest.$ac_objext
6575
-if { (ac_try="$ac_compile"
6576
-case "(($ac_try" in
6577
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6578
-  *) ac_try_echo=$ac_try;;
6579
-esac
6580
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6581
-  (eval "$ac_compile") 2>conftest.er1
6582
-  ac_status=$?
6583
-  grep -v '^ *+' conftest.er1 >conftest.err
6584
-  rm -f conftest.er1
6585
-  cat conftest.err >&5
6586
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587
-  (exit $ac_status); } && {
6588
-	 test -z "$ac_c_werror_flag" ||
6589
-	 test ! -s conftest.err
6590
-       } && test -s conftest.$ac_objext; then
6591
-  ac_cv_member_struct_sockaddr_in_sin_len=yes
6592
-else
6593
-  echo "$as_me: failed program was:" >&5
6594
-sed 's/^/| /' conftest.$ac_ext >&5
6595
-
6596
-	ac_cv_member_struct_sockaddr_in_sin_len=no
6597
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6598
+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6599
+do
6600
+  CC="$ac_save_CC $ac_arg"
6601
+  if ac_fn_c_try_compile "$LINENO"; then :
6602
+  ac_cv_prog_cc_c89=$ac_arg
6603
 fi
6604
+rm -f core conftest.err conftest.$ac_objext