~ubuntu-branches/ubuntu/precise/xshisen/precise

« back to all changes in this revision

Viewing changes to debian/patches/20_autotools_update.patch

  • Committer: Bazaar Package Importer
  • Author(s): Zak B. Elep
  • Date: 2006-10-05 16:37:36 UTC
  • mfrom: (2.1.2 edgy)
  • Revision ID: james.westby@ubuntu.com-20061005163736-7xrzftrptabz0smy
Tags: 1:1.51-3
* debian/control:
  + Use lesstif2-dev .  (Closes: #391164)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Update the autotools infrastructure.
 
2
# Patch by Zak B. Elep <zakame@spunge.org>
 
3
diff -Nur xshisen-1.51-1/configure xshisen-1.51-1.new/configure
 
4
--- xshisen-1.51-1/configure    2002-09-03 14:38:52.000000000 +0800
 
5
+++ xshisen-1.51-1.new/configure        2006-05-21 14:36:54.000000000 +0800
 
6
@@ -1,44 +1,702 @@
 
7
 #! /bin/sh
 
8
-
 
9
 # Guess values for system-dependent variables and create Makefiles.
 
10
-# Generated automatically using autoconf version 2.13 
 
11
-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 
12
+# Generated by GNU Autoconf 2.59d.
 
13
 #
 
14
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
15
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
16
 # This configure script is free software; the Free Software Foundation
 
17
 # gives unlimited permission to copy, distribute and modify it.
 
18
+## --------------------- ##
 
19
+## M4sh Initialization.  ##
 
20
+## --------------------- ##
 
21
+
 
22
+# Be Bourne compatible
 
23
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
24
+  emulate sh
 
25
+  NULLCMD=:
 
26
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
27
+  # is contrary to our usage.  Disable this feature.
 
28
+  alias -g '${1+"$@"}'='"$@"'
 
29
+  setopt NO_GLOB_SUBST
 
30
+else
 
31
+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
32
+fi
 
33
+BIN_SH=xpg4; export BIN_SH # for Tru64
 
34
+DUALCASE=1; export DUALCASE # for MKS sh
 
35
+
 
36
+
 
37
+# PATH needs CR
 
38
+# Avoid depending upon Character Ranges.
 
39
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
40
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
41
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
42
+as_cr_digits='0123456789'
 
43
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
44
+
 
45
+# The user is always right.
 
46
+if test "${PATH_SEPARATOR+set}" != set; then
 
47
+  echo "#! /bin/sh" >conf$$.sh
 
48
+  echo  "exit 0"   >>conf$$.sh
 
49
+  chmod +x conf$$.sh
 
50
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
51
+    PATH_SEPARATOR=';'
 
52
+  else
 
53
+    PATH_SEPARATOR=:
 
54
+  fi
 
55
+  rm -f conf$$.sh
 
56
+fi
 
57
+
 
58
+# Support unset when possible.
 
59
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
60
+  as_unset=unset
 
61
+else
 
62
+  as_unset=false
 
63
+fi
 
64
+
 
65
+
 
66
+# IFS
 
67
+# We need space, tab and new line, in precisely that order.  Quoting is
 
68
+# there to prevent editors from complaining about space-tab.
 
69
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
70
+# splitting by setting IFS to empty value.)
 
71
+as_nl='
 
72
+'
 
73
+IFS=" ""       $as_nl"
 
74
+
 
75
+# Find who we are.  Look in the path if we contain no directory separator.
 
76
+case $0 in
 
77
+  *[\\/]* ) as_myself=$0 ;;
 
78
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
79
+for as_dir in $PATH
 
80
+do
 
81
+  IFS=$as_save_IFS
 
82
+  test -z "$as_dir" && as_dir=.
 
83
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
84
+done
 
85
+IFS=$as_save_IFS
 
86
+
 
87
+     ;;
 
88
+esac
 
89
+# We did not find ourselves, most probably we were run as `sh COMMAND'
 
90
+# in which case we are not to be found in the path.
 
91
+if test "x$as_myself" = x; then
 
92
+  as_myself=$0
 
93
+fi
 
94
+if test ! -f "$as_myself"; then
 
95
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
96
+  { (exit 1); exit 1; }
 
97
+fi
 
98
+
 
99
+# Work around bugs in pre-3.0 UWIN ksh.
 
100
+for as_var in ENV MAIL MAILPATH
 
101
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
102
+done
 
103
+PS1='$ '
 
104
+PS2='> '
 
105
+PS4='+ '
 
106
+
 
107
+# NLS nuisances.
 
108
+for as_var in \
 
109
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
110
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
111
+  LC_TELEPHONE LC_TIME
 
112
+do
 
113
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
114
+    eval $as_var=C; export $as_var
 
115
+  else
 
116
+    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
+  fi
 
118
+done
 
119
+
 
120
+# Required to use basename.
 
121
+if expr a : '\(a\)' >/dev/null 2>&1 &&
 
122
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
123
+  as_expr=expr
 
124
+else
 
125
+  as_expr=false
 
126
+fi
 
127
+
 
128
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
129
+  as_basename=basename
 
130
+else
 
131
+  as_basename=false
 
132
+fi
 
133
+
 
134
+
 
135
+# Name of the executable.
 
136
+as_me=`$as_basename -- "$0" ||
 
137
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
138
+        X"$0" : 'X\(//\)$' \| \
 
139
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
140
+echo X/"$0" |
 
141
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
142
+           s//\1/
 
143
+           q
 
144
+         }
 
145
+         /^X\/\(\/\/\)$/{
 
146
+           s//\1/
 
147
+           q
 
148
+         }
 
149
+         /^X\/\(\/\).*/{
 
150
+           s//\1/
 
151
+           q
 
152
+         }
 
153
+         s/.*/./; q'`
 
154
+
 
155
+# CDPATH.
 
156
+$as_unset CDPATH
 
157
+
 
158
+
 
159
+if test "x$CONFIG_SHELL" = x; then
 
160
+  if (eval ":") 2>/dev/null; then
 
161
+  as_have_required=yes
 
162
+else
 
163
+  as_have_required=no
 
164
+fi
 
165
+
 
166
+  if test $as_have_required = yes &&    (eval ":
 
167
+(as_func_return () {
 
168
+  (exit \$1)
 
169
+}
 
170
+as_func_success () {
 
171
+  as_func_return 0
 
172
+}
 
173
+as_func_failure () {
 
174
+  as_func_return 1
 
175
+}
 
176
+as_func_ret_success () {
 
177
+  return 0
 
178
+}
 
179
+as_func_ret_failure () {
 
180
+  return 1
 
181
+}
 
182
+
 
183
+exitcode=0
 
184
+if as_func_success; then
 
185
+  :
 
186
+else
 
187
+  exitcode=1
 
188
+  echo as_func_success failed.
 
189
+fi
 
190
+
 
191
+if as_func_failure; then
 
192
+  exitcode=1
 
193
+  echo as_func_failure succeeded.
 
194
+fi
 
195
+
 
196
+if as_func_ret_success; then
 
197
+  :
 
198
+else
 
199
+  exitcode=1
 
200
+  echo as_func_ret_success failed.
 
201
+fi
 
202
+
 
203
+if as_func_ret_failure; then
 
204
+  exitcode=1
 
205
+  echo as_func_ret_failure succeeded.
 
206
+fi
 
207
+
 
208
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
209
+  :
 
210
+else
 
211
+  exitcode=1
 
212
+  echo positional parameters were not saved.
 
213
+fi
 
214
+
 
215
+test \$exitcode = 0) || { (exit 1); exit 1; }
 
216
+
 
217
+(
 
218
+  as_lineno_1=\$LINENO
 
219
+  as_lineno_2=\$LINENO
 
220
+  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
221
+  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
222
+") 2> /dev/null; then
 
223
+  :
 
224
+else
 
225
+  as_candidate_shells=
 
226
+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
227
+for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
228
+do
 
229
+  IFS=$as_save_IFS
 
230
+  test -z "$as_dir" && as_dir=.
 
231
+  case $as_dir in
 
232
+        /*)
 
233
+          for as_base in sh bash ksh sh5; do
 
234
+            as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
235
+          done;;
 
236
+       esac
 
237
+done
 
238
+IFS=$as_save_IFS
 
239
+
 
240
+
 
241
+      for as_shell in $as_candidate_shells $SHELL; do
 
242
+        # Try only shells which exist, to save several forks.
 
243
+        if test -f $as_shell &&
 
244
+               { ($as_shell) 2> /dev/null <<\_ASEOF
 
245
+# Be Bourne compatible
 
246
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
247
+  emulate sh
 
248
+  NULLCMD=:
 
249
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
250
+  # is contrary to our usage.  Disable this feature.
 
251
+  alias -g '${1+"$@"}'='"$@"'
 
252
+  setopt NO_GLOB_SUBST
 
253
+else
 
254
+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
255
+fi
 
256
+BIN_SH=xpg4; export BIN_SH # for Tru64
 
257
+DUALCASE=1; export DUALCASE # for MKS sh
 
258
+
 
259
+:
 
260
+_ASEOF
 
261
+}; then
 
262
+  CONFIG_SHELL=$as_shell
 
263
+              as_have_required=yes
 
264
+              if { $as_shell 2> /dev/null <<\_ASEOF
 
265
+# Be Bourne compatible
 
266
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
267
+  emulate sh
 
268
+  NULLCMD=:
 
269
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
270
+  # is contrary to our usage.  Disable this feature.
 
271
+  alias -g '${1+"$@"}'='"$@"'
 
272
+  setopt NO_GLOB_SUBST
 
273
+else
 
274
+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
275
+fi
 
276
+BIN_SH=xpg4; export BIN_SH # for Tru64
 
277
+DUALCASE=1; export DUALCASE # for MKS sh
 
278
+
 
279
+:
 
280
+(as_func_return () {
 
281
+  (exit $1)
 
282
+}
 
283
+as_func_success () {
 
284
+  as_func_return 0
 
285
+}
 
286
+as_func_failure () {
 
287
+  as_func_return 1
 
288
+}
 
289
+as_func_ret_success () {
 
290
+  return 0
 
291
+}
 
292
+as_func_ret_failure () {
 
293
+  return 1
 
294
+}
 
295
+
 
296
+exitcode=0
 
297
+if as_func_success; then
 
298
+  :
 
299
+else
 
300
+  exitcode=1
 
301
+  echo as_func_success failed.
 
302
+fi
 
303
+
 
304
+if as_func_failure; then
 
305
+  exitcode=1
 
306
+  echo as_func_failure succeeded.
 
307
+fi
 
308
+
 
309
+if as_func_ret_success; then
 
310
+  :
 
311
+else
 
312
+  exitcode=1
 
313
+  echo as_func_ret_success failed.
 
314
+fi
 
315
+
 
316
+if as_func_ret_failure; then
 
317
+  exitcode=1
 
318
+  echo as_func_ret_failure succeeded.
 
319
+fi
 
320
+
 
321
+if ( set x; as_func_ret_success y && test x = "$1" ); then
 
322
+  :
 
323
+else
 
324
+  exitcode=1
 
325
+  echo positional parameters were not saved.
 
326
+fi
 
327
 
 
328
-# Defaults:
 
329
-ac_help=
 
330
+test $exitcode = 0) || { (exit 1); exit 1; }
 
331
+
 
332
+(
 
333
+  as_lineno_1=$LINENO
 
334
+  as_lineno_2=$LINENO
 
335
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
336
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
337
+
 
338
+_ASEOF
 
339
+}; then
 
340
+  break
 
341
+fi
 
342
+
 
343
+fi
 
344
+
 
345
+      done
 
346
+
 
347
+      if test "x$CONFIG_SHELL" != x; then
 
348
+  for as_var in BASH_ENV ENV
 
349
+        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
350
+        done
 
351
+        export CONFIG_SHELL
 
352
+        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
353
+fi
 
354
+
 
355
+
 
356
+    if test $as_have_required = no; then
 
357
+  echo This script requires a shell more modern than all the
 
358
+      echo shells that I found on your system.  Please install a
 
359
+      echo modern shell, or manually run the script under such a
 
360
+      echo shell if you do have one.
 
361
+      { (exit 1); exit 1; }
 
362
+fi
 
363
+
 
364
+
 
365
+fi
 
366
+
 
367
+fi
 
368
+
 
369
+
 
370
+
 
371
+(eval "as_func_return () {
 
372
+  (exit \$1)
 
373
+}
 
374
+as_func_success () {
 
375
+  as_func_return 0
 
376
+}
 
377
+as_func_failure () {
 
378
+  as_func_return 1
 
379
+}
 
380
+as_func_ret_success () {
 
381
+  return 0
 
382
+}
 
383
+as_func_ret_failure () {
 
384
+  return 1
 
385
+}
 
386
+
 
387
+exitcode=0
 
388
+if as_func_success; then
 
389
+  :
 
390
+else
 
391
+  exitcode=1
 
392
+  echo as_func_success failed.
 
393
+fi
 
394
+
 
395
+if as_func_failure; then
 
396
+  exitcode=1
 
397
+  echo as_func_failure succeeded.
 
398
+fi
 
399
+
 
400
+if as_func_ret_success; then
 
401
+  :
 
402
+else
 
403
+  exitcode=1
 
404
+  echo as_func_ret_success failed.
 
405
+fi
 
406
+
 
407
+if as_func_ret_failure; then
 
408
+  exitcode=1
 
409
+  echo as_func_ret_failure succeeded.
 
410
+fi
 
411
+
 
412
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
413
+  :
 
414
+else
 
415
+  exitcode=1
 
416
+  echo positional parameters were not saved.
 
417
+fi
 
418
+
 
419
+test \$exitcode = 0") || {
 
420
+  echo No shell found that supports shell functions.
 
421
+  echo Please tell autoconf@gnu.org about your system,
 
422
+  echo including any error possibly output before this
 
423
+  echo message
 
424
+}
 
425
+
 
426
+
 
427
+
 
428
+  as_lineno_1=$LINENO
 
429
+  as_lineno_2=$LINENO
 
430
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
431
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
432
+
 
433
+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
434
+  # uniformly replaced by the line number.  The first 'sed' inserts a
 
435
+  # line-number line after each line using $LINENO; the second 'sed'
 
436
+  # does the real work.  The second script uses 'N' to pair each
 
437
+  # line-number line with the line containing $LINENO, and appends
 
438
+  # trailing '-' during substitution so that $LINENO is not a special
 
439
+  # case at line end.
 
440
+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
441
+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
442
+  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
443
+  sed -n '
 
444
+    p
 
445
+    /[$]LINENO/=
 
446
+  ' <$as_myself |
 
447
+    sed '
 
448
+      s/[$]LINENO.*/&-/
 
449
+      t lineno
 
450
+      b
 
451
+      :lineno
 
452
+      N
 
453
+      :loop
 
454
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
455
+      t loop
 
456
+      s/-\n.*//
 
457
+    ' >$as_me.lineno &&
 
458
+  chmod +x "$as_me.lineno" ||
 
459
+    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
460
+   { (exit 1); exit 1; }; }
 
461
+
 
462
+  # Don't try to exec as it changes $[0], causing all sort of problems
 
463
+  # (the dirname of $[0] is not the place where we might find the
 
464
+  # original and so on.  Autoconf is especially sensitive to this).
 
465
+  . "./$as_me.lineno"
 
466
+  # Exit status is that of the last command.
 
467
+  exit
 
468
+}
 
469
+
 
470
+
 
471
+if (dirname -- /) >/dev/null 2>&1; then
 
472
+  as_dirname=dirname
 
473
+else
 
474
+  as_dirname=false
 
475
+fi
 
476
+
 
477
+ECHO_C= ECHO_N= ECHO_T=
 
478
+case `echo -n x` in
 
479
+-n*)
 
480
+  case `echo 'x\c'` in
 
481
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
 
482
+  *)   ECHO_C='\c';;
 
483
+  esac;;
 
484
+*)
 
485
+  ECHO_N='-n';;
 
486
+esac
 
487
+
 
488
+if expr a : '\(a\)' >/dev/null 2>&1 &&
 
489
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
490
+  as_expr=expr
 
491
+else
 
492
+  as_expr=false
 
493
+fi
 
494
+
 
495
+rm -f conf$$ conf$$.exe conf$$.file
 
496
+if test -d conf$$.dir; then
 
497
+  rm -f conf$$.dir/conf$$.file
 
498
+else
 
499
+  rm -f conf$$.dir
 
500
+  mkdir conf$$.dir
 
501
+fi
 
502
+echo >conf$$.file
 
503
+if ln -s conf$$.file conf$$ 2>/dev/null; then
 
504
+  as_ln_s='ln -s'
 
505
+  # ... but there are two gotchas:
 
506
+  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
507
+  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
508
+  # In both cases, we have to default to `cp -p'.
 
509
+  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
510
+    as_ln_s='cp -p'
 
511
+elif ln conf$$.file conf$$ 2>/dev/null; then
 
512
+  as_ln_s=ln
 
513
+else
 
514
+  as_ln_s='cp -p'
 
515
+fi
 
516
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
517
+rmdir conf$$.dir 2>/dev/null
 
518
+
 
519
+if mkdir -p . 2>/dev/null; then
 
520
+  as_mkdir_p=:
 
521
+else
 
522
+  test -d ./-p && rmdir ./-p
 
523
+  as_mkdir_p=false
 
524
+fi
 
525
+
 
526
+# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
527
+# systems may use methods other than mode bits to determine executability.
 
528
+cat >conf$$.file <<_ASEOF
 
529
+#! /bin/sh
 
530
+exit 0
 
531
+_ASEOF
 
532
+chmod +x conf$$.file
 
533
+if test -x conf$$.file >/dev/null 2>&1; then
 
534
+  as_executable_p="test -x"
 
535
+else
 
536
+  as_executable_p=:
 
537
+fi
 
538
+rm -f conf$$.file
 
539
+
 
540
+# Sed expression to map a string onto a valid CPP name.
 
541
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
542
+
 
543
+# Sed expression to map a string onto a valid variable name.
 
544
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
545
+
 
546
+
 
547
+
 
548
+exec 7<&0 </dev/null 6>&1
 
549
+
 
550
+# Name of the host.
 
551
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
552
+# so uname gets run too.
 
553
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
554
+
 
555
+#
 
556
+# Initializations.
 
557
+#
 
558
 ac_default_prefix=/usr/local
 
559
-# Any additions from configure.in:
 
560
+ac_clean_files=
 
561
+ac_config_libobj_dir=.
 
562
+LIBOBJS=
 
563
+cross_compiling=no
 
564
+subdirs=
 
565
+MFLAGS=
 
566
+MAKEFLAGS=
 
567
+SHELL=${CONFIG_SHELL-/bin/sh}
 
568
+
 
569
+# Identity of this package.
 
570
+PACKAGE_NAME=
 
571
+PACKAGE_TARNAME=
 
572
+PACKAGE_VERSION=
 
573
+PACKAGE_STRING=
 
574
+PACKAGE_BUGREPORT=
 
575
+
 
576
+ac_unique_file="body.h"
 
577
 ac_default_prefix=/usr/local
 
578
-ac_help="$ac_help
 
579
-  --with-x                use the X Window System"
 
580
-ac_help="$ac_help
 
581
-  --with-xpm-include=DIR    XPM include files are in DIR"
 
582
-ac_help="$ac_help
 
583
-  --with-xpm-lib=DIR        XPM library file is in DIR"
 
584
-ac_help="$ac_help
 
585
-  --with-motif-include=DIR  Motif include files are in DIR"
 
586
-ac_help="$ac_help
 
587
-  --with-motif-lib=DIR      Motif library files are in DIR"
 
588
-ac_help="$ac_help
 
589
-  --with-motif              Use Motif Tool kit"
 
590
-ac_help="$ac_help
 
591
-  --with-x11-resource=DIR   The root of X11 resource files
 
592
-                            (Default \${x_libraries}/X11)"
 
593
-ac_help="$ac_help
 
594
-  --enable-dupscore         Allow one user to register multiple high score"
 
595
+# Factoring default headers for most tests.
 
596
+ac_includes_default="\
 
597
+#include <stdio.h>
 
598
+#if HAVE_SYS_TYPES_H
 
599
+# include <sys/types.h>
 
600
+#endif
 
601
+#if HAVE_SYS_STAT_H
 
602
+# include <sys/stat.h>
 
603
+#endif
 
604
+#if STDC_HEADERS
 
605
+# include <stdlib.h>
 
606
+# include <stddef.h>
 
607
+#else
 
608
+# if HAVE_STDLIB_H
 
609
+#  include <stdlib.h>
 
610
+# endif
 
611
+#endif
 
612
+#if HAVE_STRING_H
 
613
+# if !STDC_HEADERS && HAVE_MEMORY_H
 
614
+#  include <memory.h>
 
615
+# endif
 
616
+# include <string.h>
 
617
+#endif
 
618
+#if HAVE_STRINGS_H
 
619
+# include <strings.h>
 
620
+#endif
 
621
+#if HAVE_INTTYPES_H
 
622
+# include <inttypes.h>
 
623
+#endif
 
624
+#if HAVE_STDINT_H
 
625
+# include <stdint.h>
 
626
+#endif
 
627
+#if HAVE_UNISTD_H
 
628
+# include <unistd.h>
 
629
+#endif"
 
630
+
 
631
+ac_subst_vars='SHELL
 
632
+PATH_SEPARATOR
 
633
+PACKAGE_NAME
 
634
+PACKAGE_TARNAME
 
635
+PACKAGE_VERSION
 
636
+PACKAGE_STRING
 
637
+PACKAGE_BUGREPORT
 
638
+exec_prefix
 
639
+prefix
 
640
+program_transform_name
 
641
+bindir
 
642
+sbindir
 
643
+libexecdir
 
644
+datarootdir
 
645
+datadir
 
646
+sysconfdir
 
647
+sharedstatedir
 
648
+localstatedir
 
649
+includedir
 
650
+oldincludedir
 
651
+docdir
 
652
+infodir
 
653
+htmldir
 
654
+dvidir
 
655
+pdfdir
 
656
+psdir
 
657
+libdir
 
658
+localedir
 
659
+mandir
 
660
+DEFS
 
661
+ECHO_C
 
662
+ECHO_N
 
663
+ECHO_T
 
664
+LIBS
 
665
+build_alias
 
666
+host_alias
 
667
+target_alias
 
668
+build
 
669
+build_cpu
 
670
+build_vendor
 
671
+build_os
 
672
+host
 
673
+host_cpu
 
674
+host_vendor
 
675
+host_os
 
676
+target
 
677
+target_cpu
 
678
+target_vendor
 
679
+target_os
 
680
+CC
 
681
+CFLAGS
 
682
+LDFLAGS
 
683
+CPPFLAGS
 
684
+ac_ct_CC
 
685
+EXEEXT
 
686
+OBJEXT
 
687
+CXX
 
688
+CXXFLAGS
 
689
+ac_ct_CXX
 
690
+INSTALL_PROGRAM
 
691
+INSTALL_SCRIPT
 
692
+INSTALL_DATA
 
693
+CPP
 
694
+GREP
 
695
+EGREP
 
696
+XMKMF
 
697
+X_CFLAGS
 
698
+X_PRE_LIBS
 
699
+X_LIBS
 
700
+X_EXTRA_LIBS
 
701
+MKDIR
 
702
+XAD_DIR
 
703
+LANGS
 
704
+LIBOBJS
 
705
+LTLIBOBJS'
 
706
+ac_subst_files=''
 
707
+      ac_precious_vars='build_alias
 
708
+host_alias
 
709
+target_alias
 
710
+CC
 
711
+CFLAGS
 
712
+LDFLAGS
 
713
+CPPFLAGS
 
714
+CXX
 
715
+CXXFLAGS
 
716
+CCC
 
717
+CPP
 
718
+XMKMF'
 
719
+
 
720
 
 
721
 # Initialize some variables set by options.
 
722
+ac_init_help=
 
723
+ac_init_version=false
 
724
 # The variables have the same names as the options, with
 
725
 # dashes changed to underlines.
 
726
-build=NONE
 
727
-cache_file=./config.cache
 
728
+cache_file=/dev/null
 
729
 exec_prefix=NONE
 
730
-host=NONE
 
731
 no_create=
 
732
-nonopt=NONE
 
733
 no_recursion=
 
734
 prefix=NONE
 
735
 program_prefix=NONE
 
736
@@ -47,94 +705,117 @@
 
737
 silent=
 
738
 site=
 
739
 srcdir=
 
740
-target=NONE
 
741
 verbose=
 
742
 x_includes=NONE
 
743
 x_libraries=NONE
 
744
+
 
745
+# Installation directory options.
 
746
+# These are left unexpanded so users can "make install exec_prefix=/foo"
 
747
+# and all the variables that are supposed to be based on exec_prefix
 
748
+# by default will actually change.
 
749
+# Use braces instead of parens because sh, perl, etc. also accept them.
 
750
+# (The list follows the same order as the GNU Coding Standards.)
 
751
 bindir='${exec_prefix}/bin'
 
752
 sbindir='${exec_prefix}/sbin'
 
753
 libexecdir='${exec_prefix}/libexec'
 
754
-datadir='${prefix}/share'
 
755
+datarootdir='${prefix}/share'
 
756
+datadir='${datarootdir}'
 
757
 sysconfdir='${prefix}/etc'
 
758
 sharedstatedir='${prefix}/com'
 
759
 localstatedir='${prefix}/var'
 
760
-libdir='${exec_prefix}/lib'
 
761
 includedir='${prefix}/include'
 
762
 oldincludedir='/usr/include'
 
763
-infodir='${prefix}/info'
 
764
-mandir='${prefix}/man'
 
765
-
 
766
-# Initialize some other variables.
 
767
-subdirs=
 
768
-MFLAGS= MAKEFLAGS=
 
769
-SHELL=${CONFIG_SHELL-/bin/sh}
 
770
-# Maximum number of lines to put in a shell here document.
 
771
-ac_max_here_lines=12
 
772
+docdir='${datarootdir}/doc/${PACKAGE}'
 
773
+infodir='${datarootdir}/info'
 
774
+htmldir='${docdir}'
 
775
+dvidir='${docdir}'
 
776
+pdfdir='${docdir}'
 
777
+psdir='${docdir}'
 
778
+libdir='${exec_prefix}/lib'
 
779
+localedir='${datarootdir}/locale'
 
780
+mandir='${datarootdir}/man'
 
781
 
 
782
 ac_prev=
 
783
+ac_dashdash=
 
784
 for ac_option
 
785
 do
 
786
-
 
787
   # If the previous option needs an argument, assign it.
 
788
   if test -n "$ac_prev"; then
 
789
-    eval "$ac_prev=\$ac_option"
 
790
+    eval $ac_prev=\$ac_option
 
791
     ac_prev=
 
792
     continue
 
793
   fi
 
794
 
 
795
-  case "$ac_option" in
 
796
-  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
 
797
-  *) ac_optarg= ;;
 
798
+  case $ac_option in
 
799
+  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
800
+  *)   ac_optarg=yes ;;
 
801
   esac
 
802
 
 
803
   # Accept the important Cygnus configure options, so we can diagnose typos.
 
804
 
 
805
-  case "$ac_option" in
 
806
+  case $ac_dashdash$ac_option in
 
807
+  --)
 
808
+    ac_dashdash=yes ;;
 
809
 
 
810
   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
811
     ac_prev=bindir ;;
 
812
   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
813
-    bindir="$ac_optarg" ;;
 
814
+    bindir=$ac_optarg ;;
 
815
 
 
816
   -build | --build | --buil | --bui | --bu)
 
817
-    ac_prev=build ;;
 
818
+    ac_prev=build_alias ;;
 
819
   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
820
-    build="$ac_optarg" ;;
 
821
+    build_alias=$ac_optarg ;;
 
822
 
 
823
   -cache-file | --cache-file | --cache-fil | --cache-fi \
 
824
   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
825
     ac_prev=cache_file ;;
 
826
   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
827
   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
828
-    cache_file="$ac_optarg" ;;
 
829
+    cache_file=$ac_optarg ;;
 
830
+
 
831
+  --config-cache | -C)
 
832
+    cache_file=config.cache ;;
 
833
 
 
834
-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
835
+  -datadir | --datadir | --datadi | --datad)
 
836
     ac_prev=datadir ;;
 
837
-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
838
-  | --da=*)
 
839
-    datadir="$ac_optarg" ;;
 
840
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
841
+    datadir=$ac_optarg ;;
 
842
+
 
843
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
844
+  | --dataroo | --dataro | --datar)
 
845
+    ac_prev=datarootdir ;;
 
846
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
847
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
848
+    datarootdir=$ac_optarg ;;
 
849
 
 
850
   -disable-* | --disable-*)
 
851
-    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 
852
+    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
853
     # Reject names that are not valid shell variable names.
 
854
-    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
 
855
-      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 
856
-    fi
 
857
-    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
 
858
-    eval "enable_${ac_feature}=no" ;;
 
859
+    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
860
+      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
861
+   { (exit 1); exit 1; }; }
 
862
+    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
863
+    eval enable_$ac_feature=no ;;
 
864
+
 
865
+  -docdir | --docdir | --docdi | --doc | --do)
 
866
+    ac_prev=docdir ;;
 
867
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
868
+    docdir=$ac_optarg ;;
 
869
+
 
870
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
871
+    ac_prev=dvidir ;;
 
872
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
873
+    dvidir=$ac_optarg ;;
 
874
 
 
875
   -enable-* | --enable-*)
 
876
-    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 
877
+    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
878
     # Reject names that are not valid shell variable names.
 
879
-    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
 
880
-      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 
881
-    fi
 
882
-    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
 
883
-    case "$ac_option" in
 
884
-      *=*) ;;
 
885
-      *) ac_optarg=yes ;;
 
886
-    esac
 
887
-    eval "enable_${ac_feature}='$ac_optarg'" ;;
 
888
+    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
889
+      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
890
+   { (exit 1); exit 1; }; }
 
891
+    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
892
+    eval enable_$ac_feature=\$ac_optarg ;;
 
893
 
 
894
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
895
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
896
@@ -143,116 +824,77 @@
 
897
   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
898
   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
899
   | --exec=* | --exe=* | --ex=*)
 
900
-    exec_prefix="$ac_optarg" ;;
 
901
+    exec_prefix=$ac_optarg ;;
 
902
 
 
903
   -gas | --gas | --ga | --g)
 
904
     # Obsolete; use --with-gas.
 
905
     with_gas=yes ;;
 
906
 
 
907
-  -help | --help | --hel | --he)
 
908
-    # Omit some internal or obsolete options to make the list less imposing.
 
909
-    # This message is too long to be a string in the A/UX 3.1 sh.
 
910
-    cat << EOF
 
911
-Usage: configure [options] [host]
 
912
-Options: [defaults in brackets after descriptions]
 
913
-Configuration:
 
914
-  --cache-file=FILE       cache test results in FILE
 
915
-  --help                  print this message
 
916
-  --no-create             do not create output files
 
917
-  --quiet, --silent       do not print \`checking...' messages
 
918
-  --version               print the version of autoconf that created configure
 
919
-Directory and file names:
 
920
-  --prefix=PREFIX         install architecture-independent files in PREFIX
 
921
-                          [$ac_default_prefix]
 
922
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
923
-                          [same as prefix]
 
924
-  --bindir=DIR            user executables in DIR [EPREFIX/bin]
 
925
-  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
 
926
-  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
 
927
-  --datadir=DIR           read-only architecture-independent data in DIR
 
928
-                          [PREFIX/share]
 
929
-  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
 
930
-  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
 
931
-                          [PREFIX/com]
 
932
-  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
 
933
-  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
 
934
-  --includedir=DIR        C header files in DIR [PREFIX/include]
 
935
-  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
 
936
-  --infodir=DIR           info documentation in DIR [PREFIX/info]
 
937
-  --mandir=DIR            man documentation in DIR [PREFIX/man]
 
938
-  --srcdir=DIR            find the sources in DIR [configure dir or ..]
 
939
-  --program-prefix=PREFIX prepend PREFIX to installed program names
 
940
-  --program-suffix=SUFFIX append SUFFIX to installed program names
 
941
-  --program-transform-name=PROGRAM
 
942
-                          run sed PROGRAM on installed program names
 
943
-EOF
 
944
-    cat << EOF
 
945
-Host type:
 
946
-  --build=BUILD           configure for building on BUILD [BUILD=HOST]
 
947
-  --host=HOST             configure for HOST [guessed]
 
948
-  --target=TARGET         configure for TARGET [TARGET=HOST]
 
949
-Features and packages:
 
950
-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
951
-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
952
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
953
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
954
-  --x-includes=DIR        X include files are in DIR
 
955
-  --x-libraries=DIR       X library files are in DIR
 
956
-EOF
 
957
-    if test -n "$ac_help"; then
 
958
-      echo "--enable and --with options recognized:$ac_help"
 
959
-    fi
 
960
-    exit 0 ;;
 
961
+  -help | --help | --hel | --he | -h)
 
962
+    ac_init_help=long ;;
 
963
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
964
+    ac_init_help=recursive ;;
 
965
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
966
+    ac_init_help=short ;;
 
967
 
 
968
   -host | --host | --hos | --ho)
 
969
-    ac_prev=host ;;
 
970
+    ac_prev=host_alias ;;
 
971
   -host=* | --host=* | --hos=* | --ho=*)
 
972
-    host="$ac_optarg" ;;
 
973
+    host_alias=$ac_optarg ;;
 
974
+
 
975
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
976
+    ac_prev=htmldir ;;
 
977
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
978
+  | --ht=*)
 
979
+    htmldir=$ac_optarg ;;
 
980
 
 
981
   -includedir | --includedir | --includedi | --included | --include \
 
982
   | --includ | --inclu | --incl | --inc)
 
983
     ac_prev=includedir ;;
 
984
   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
985
   | --includ=* | --inclu=* | --incl=* | --inc=*)
 
986
-    includedir="$ac_optarg" ;;
 
987
+    includedir=$ac_optarg ;;
 
988
 
 
989
   -infodir | --infodir | --infodi | --infod | --info | --inf)
 
990
     ac_prev=infodir ;;
 
991
   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
992
-    infodir="$ac_optarg" ;;
 
993
+    infodir=$ac_optarg ;;
 
994
 
 
995
   -libdir | --libdir | --libdi | --libd)
 
996
     ac_prev=libdir ;;
 
997
   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
998
-    libdir="$ac_optarg" ;;
 
999
+    libdir=$ac_optarg ;;
 
1000
 
 
1001
   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1002
   | --libexe | --libex | --libe)
 
1003
     ac_prev=libexecdir ;;
 
1004
   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1005
   | --libexe=* | --libex=* | --libe=*)
 
1006
-    libexecdir="$ac_optarg" ;;
 
1007
+    libexecdir=$ac_optarg ;;
 
1008
+
 
1009
+  -localedir | --localedir | --localedi | --localed | --locale)
 
1010
+    ac_prev=localedir ;;
 
1011
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1012
+    localedir=$ac_optarg ;;
 
1013
 
 
1014
   -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1015
-  | --localstate | --localstat | --localsta | --localst \
 
1016
-  | --locals | --local | --loca | --loc | --lo)
 
1017
+  | --localstate | --localstat | --localsta | --localst | --locals)
 
1018
     ac_prev=localstatedir ;;
 
1019
   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1020
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
1021
-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1022
-    localstatedir="$ac_optarg" ;;
 
1023
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1024
+    localstatedir=$ac_optarg ;;
 
1025
 
 
1026
   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1027
     ac_prev=mandir ;;
 
1028
   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1029
-    mandir="$ac_optarg" ;;
 
1030
+    mandir=$ac_optarg ;;
 
1031
 
 
1032
   -nfp | --nfp | --nf)
 
1033
     # Obsolete; use --without-fp.
 
1034
     with_fp=no ;;
 
1035
 
 
1036
   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1037
-  | --no-cr | --no-c)
 
1038
+  | --no-cr | --no-c | -n)
 
1039
     no_create=yes ;;
 
1040
 
 
1041
   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1042
@@ -266,26 +908,26 @@
 
1043
   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1044
   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1045
   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1046
-    oldincludedir="$ac_optarg" ;;
 
1047
+    oldincludedir=$ac_optarg ;;
 
1048
 
 
1049
   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1050
     ac_prev=prefix ;;
 
1051
   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1052
-    prefix="$ac_optarg" ;;
 
1053
+    prefix=$ac_optarg ;;
 
1054
 
 
1055
   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1056
   | --program-pre | --program-pr | --program-p)
 
1057
     ac_prev=program_prefix ;;
 
1058
   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1059
   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1060
-    program_prefix="$ac_optarg" ;;
 
1061
+    program_prefix=$ac_optarg ;;
 
1062
 
 
1063
   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1064
   | --program-suf | --program-su | --program-s)
 
1065
     ac_prev=program_suffix ;;
 
1066
   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1067
   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1068
-    program_suffix="$ac_optarg" ;;
 
1069
+    program_suffix=$ac_optarg ;;
 
1070
 
 
1071
   -program-transform-name | --program-transform-name \
 
1072
   | --program-transform-nam | --program-transform-na \
 
1073
@@ -302,7 +944,17 @@
 
1074
   | --program-transfo=* | --program-transf=* \
 
1075
   | --program-trans=* | --program-tran=* \
 
1076
   | --progr-tra=* | --program-tr=* | --program-t=*)
 
1077
-    program_transform_name="$ac_optarg" ;;
 
1078
+    program_transform_name=$ac_optarg ;;
 
1079
+
 
1080
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1081
+    ac_prev=pdfdir ;;
 
1082
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1083
+    pdfdir=$ac_optarg ;;
 
1084
+
 
1085
+  -psdir | --psdir | --psdi | --psd | --ps)
 
1086
+    ac_prev=psdir ;;
 
1087
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1088
+    psdir=$ac_optarg ;;
 
1089
 
 
1090
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1091
   | -silent | --silent | --silen | --sile | --sil)
 
1092
@@ -312,7 +964,7 @@
 
1093
     ac_prev=sbindir ;;
 
1094
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1095
   | --sbi=* | --sb=*)
 
1096
-    sbindir="$ac_optarg" ;;
 
1097
+    sbindir=$ac_optarg ;;
 
1098
 
 
1099
   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1100
   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1101
@@ -323,58 +975,53 @@
 
1102
   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1103
   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1104
   | --sha=* | --sh=*)
 
1105
-    sharedstatedir="$ac_optarg" ;;
 
1106
+    sharedstatedir=$ac_optarg ;;
 
1107
 
 
1108
   -site | --site | --sit)
 
1109
     ac_prev=site ;;
 
1110
   -site=* | --site=* | --sit=*)
 
1111
-    site="$ac_optarg" ;;
 
1112
+    site=$ac_optarg ;;
 
1113
 
 
1114
   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1115
     ac_prev=srcdir ;;
 
1116
   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1117
-    srcdir="$ac_optarg" ;;
 
1118
+    srcdir=$ac_optarg ;;
 
1119
 
 
1120
   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1121
   | --syscon | --sysco | --sysc | --sys | --sy)
 
1122
     ac_prev=sysconfdir ;;
 
1123
   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1124
   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1125
-    sysconfdir="$ac_optarg" ;;
 
1126
+    sysconfdir=$ac_optarg ;;
 
1127
 
 
1128
   -target | --target | --targe | --targ | --tar | --ta | --t)
 
1129
-    ac_prev=target ;;
 
1130
+    ac_prev=target_alias ;;
 
1131
   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1132
-    target="$ac_optarg" ;;
 
1133
+    target_alias=$ac_optarg ;;
 
1134
 
 
1135
   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1136
     verbose=yes ;;
 
1137
 
 
1138
-  -version | --version | --versio | --versi | --vers)
 
1139
-    echo "configure generated by autoconf version 2.13"
 
1140
-    exit 0 ;;
 
1141
+  -version | --version | --versio | --versi | --vers | -V)
 
1142
+    ac_init_version=: ;;
 
1143
 
 
1144
   -with-* | --with-*)
 
1145
-    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 
1146
+    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1147
     # Reject names that are not valid shell variable names.
 
1148
-    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
 
1149
-      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 
1150
-    fi
 
1151
+    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1152
+      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1153
+   { (exit 1); exit 1; }; }
 
1154
     ac_package=`echo $ac_package| sed 's/-/_/g'`
 
1155
-    case "$ac_option" in
 
1156
-      *=*) ;;
 
1157
-      *) ac_optarg=yes ;;
 
1158
-    esac
 
1159
-    eval "with_${ac_package}='$ac_optarg'" ;;
 
1160
+    eval with_$ac_package=\$ac_optarg ;;
 
1161
 
 
1162
   -without-* | --without-*)
 
1163
-    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 
1164
+    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1165
     # Reject names that are not valid shell variable names.
 
1166
-    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
 
1167
-      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 
1168
-    fi
 
1169
-    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
1170
-    eval "with_${ac_package}=no" ;;
 
1171
+    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1172
+      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1173
+   { (exit 1); exit 1; }; }
 
1174
+    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
1175
+    eval with_$ac_package=no ;;
 
1176
 
 
1177
   --x)
 
1178
     # Obsolete; use --with-x.
 
1179
@@ -385,369 +1032,1583 @@
 
1180
     ac_prev=x_includes ;;
 
1181
   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1182
   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1183
-    x_includes="$ac_optarg" ;;
 
1184
+    x_includes=$ac_optarg ;;
 
1185
 
 
1186
   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1187
   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1188
     ac_prev=x_libraries ;;
 
1189
   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1190
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1191
-    x_libraries="$ac_optarg" ;;
 
1192
+    x_libraries=$ac_optarg ;;
 
1193
 
 
1194
-  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 
1195
+  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1196
+Try \`$0 --help' for more information." >&2
 
1197
+   { (exit 1); exit 1; }; }
 
1198
     ;;
 
1199
 
 
1200
+  *=*)
 
1201
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1202
+    # Reject names that are not valid shell variable names.
 
1203
+    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1204
+      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1205
+   { (exit 1); exit 1; }; }
 
1206
+    eval $ac_envvar=\$ac_optarg
 
1207
+    export $ac_envvar ;;
 
1208
+
 
1209
   *)
 
1210
-    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
 
1211
-      echo "configure: warning: $ac_option: invalid host type" 1>&2
 
1212
-    fi
 
1213
-    if test "x$nonopt" != xNONE; then
 
1214
-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
 
1215
-    fi
 
1216
-    nonopt="$ac_option"
 
1217
+    # FIXME: should be removed in autoconf 3.0.
 
1218
+    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1219
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1220
+      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1221
+    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1222
     ;;
 
1223
 
 
1224
   esac
 
1225
 done
 
1226
 
 
1227
 if test -n "$ac_prev"; then
 
1228
-  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
 
1229
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1230
+  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1231
+   { (exit 1); exit 1; }; }
 
1232
 fi
 
1233
 
 
1234
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
1235
+# Be sure to have absolute directory names.
 
1236
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1237
+               datadir sysconfdir sharedstatedir localstatedir includedir \
 
1238
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1239
+               libdir localedir mandir
 
1240
+do
 
1241
+  eval ac_val=\$$ac_var
 
1242
+  case $ac_val in
 
1243
+    [\\/$]* | ?:[\\/]* )  continue;;
 
1244
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1245
+  esac
 
1246
+  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1247
+   { (exit 1); exit 1; }; }
 
1248
+done
 
1249
 
 
1250
-# File descriptor usage:
 
1251
-# 0 standard input
 
1252
-# 1 file creation
 
1253
-# 2 errors and warnings
 
1254
-# 3 some systems may open it to /dev/tty
 
1255
-# 4 used on the Kubota Titan
 
1256
-# 6 checking for... messages and results
 
1257
-# 5 compiler messages saved in config.log
 
1258
-if test "$silent" = yes; then
 
1259
-  exec 6>/dev/null
 
1260
-else
 
1261
-  exec 6>&1
 
1262
+# There might be people who depend on the old broken behavior: `$host'
 
1263
+# used to hold the argument of --host etc.
 
1264
+# FIXME: To remove some day.
 
1265
+build=$build_alias
 
1266
+host=$host_alias
 
1267
+target=$target_alias
 
1268
+
 
1269
+# FIXME: To remove some day.
 
1270
+if test "x$host_alias" != x; then
 
1271
+  if test "x$build_alias" = x; then
 
1272
+    cross_compiling=maybe
 
1273
+    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1274
+    If a cross compiler is detected then cross compile mode will be used." >&2
 
1275
+  elif test "x$build_alias" != "x$host_alias"; then
 
1276
+    cross_compiling=yes
 
1277
+  fi
 
1278
 fi
 
1279
-exec 5>./config.log
 
1280
 
 
1281
-echo "\
 
1282
-This file contains any messages produced by compilers while
 
1283
-running configure, to aid debugging if configure makes a mistake.
 
1284
-" 1>&5
 
1285
+ac_tool_prefix=
 
1286
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1287
 
 
1288
-# Strip out --no-create and --no-recursion so they do not pile up.
 
1289
-# Also quote any args containing shell metacharacters.
 
1290
-ac_configure_args=
 
1291
-for ac_arg
 
1292
-do
 
1293
-  case "$ac_arg" in
 
1294
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1295
-  | --no-cr | --no-c) ;;
 
1296
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1297
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
 
1298
-  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
 
1299
-  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1300
-  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
 
1301
-  esac
 
1302
-done
 
1303
+test "$silent" = yes && exec 6>/dev/null
 
1304
 
 
1305
-# NLS nuisances.
 
1306
-# Only set these to C if already set.  These must not be set unconditionally
 
1307
-# because not all systems understand e.g. LANG=C (notably SCO).
 
1308
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
 
1309
-# Non-C LC_CTYPE values break the ctype check.
 
1310
-if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
 
1311
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
 
1312
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
 
1313
-if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
1314
 
 
1315
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1316
-rm -rf conftest* confdefs.h
 
1317
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1318
-echo > confdefs.h
 
1319
-
 
1320
-# A filename unique to this package, relative to the directory that
 
1321
-# configure is in, which we can look for to find out if srcdir is correct.
 
1322
-ac_unique_file=body.h
 
1323
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1324
+ac_ls_di=`ls -di .` &&
 
1325
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1326
+  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1327
+   { (exit 1); exit 1; }; }
 
1328
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1329
+  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1330
+   { (exit 1); exit 1; }; }
 
1331
+
 
1332
 
 
1333
 # Find the source files, if location was not specified.
 
1334
 if test -z "$srcdir"; then
 
1335
   ac_srcdir_defaulted=yes
 
1336
-  # Try the directory containing this script, then its parent.
 
1337
-  ac_prog=$0
 
1338
-  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
 
1339
-  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 
1340
+  # Try the directory containing this script, then the parent directory.
 
1341
+  ac_confdir=`$as_dirname -- "$0" ||
 
1342
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1343
+        X"$0" : 'X\(//\)[^/]' \| \
 
1344
+        X"$0" : 'X\(//\)$' \| \
 
1345
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
1346
+echo X"$0" |
 
1347
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1348
+           s//\1/
 
1349
+           q
 
1350
+         }
 
1351
+         /^X\(\/\/\)[^/].*/{
 
1352
+           s//\1/
 
1353
+           q
 
1354
+         }
 
1355
+         /^X\(\/\/\)$/{
 
1356
+           s//\1/
 
1357
+           q
 
1358
+         }
 
1359
+         /^X\(\/\).*/{
 
1360
+           s//\1/
 
1361
+           q
 
1362
+         }
 
1363
+         s/.*/./; q'`
 
1364
   srcdir=$ac_confdir
 
1365
-  if test ! -r $srcdir/$ac_unique_file; then
 
1366
+  if test ! -r "$srcdir/$ac_unique_file"; then
 
1367
     srcdir=..
 
1368
   fi
 
1369
 else
 
1370
   ac_srcdir_defaulted=no
 
1371
 fi
 
1372
-if test ! -r $srcdir/$ac_unique_file; then
 
1373
-  if test "$ac_srcdir_defaulted" = yes; then
 
1374
-    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
 
1375
-  else
 
1376
-    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 
1377
-  fi
 
1378
-fi
 
1379
-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
 
1380
-
 
1381
-# Prefer explicitly selected file to automatically selected ones.
 
1382
-if test -z "$CONFIG_SITE"; then
 
1383
-  if test "x$prefix" != xNONE; then
 
1384
-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1385
-  else
 
1386
-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1387
-  fi
 
1388
-fi
 
1389
-for ac_site_file in $CONFIG_SITE; do
 
1390
-  if test -r "$ac_site_file"; then
 
1391
-    echo "loading site script $ac_site_file"
 
1392
-    . "$ac_site_file"
 
1393
-  fi
 
1394
+if test ! -r "$srcdir/$ac_unique_file"; then
 
1395
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1396
+  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1397
+   { (exit 1); exit 1; }; }
 
1398
+fi
 
1399
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1400
+ac_abs_confdir=`(
 
1401
+       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1402
+   { (exit 1); exit 1; }; }
 
1403
+       pwd)`
 
1404
+# When building in place, set srcdir=.
 
1405
+if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1406
+  srcdir=.
 
1407
+fi
 
1408
+# Remove unnecessary trailing slashes from srcdir.
 
1409
+# Double slashes in file names in object file debugging info
 
1410
+# mess up M-x gdb in Emacs.
 
1411
+case $srcdir in
 
1412
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1413
+esac
 
1414
+for ac_var in $ac_precious_vars; do
 
1415
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1416
+  eval ac_env_${ac_var}_value=\$${ac_var}
 
1417
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1418
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1419
 done
 
1420
 
 
1421
-if test -r "$cache_file"; then
 
1422
-  echo "loading cache $cache_file"
 
1423
-  . $cache_file
 
1424
-else
 
1425
-  echo "creating cache $cache_file"
 
1426
-  > $cache_file
 
1427
-fi
 
1428
+#
 
1429
+# Report the --help message.
 
1430
+#
 
1431
+if test "$ac_init_help" = "long"; then
 
1432
+  # Omit some internal or obsolete options to make the list less imposing.
 
1433
+  # This message is too long to be a string in the A/UX 3.1 sh.
 
1434
+  cat <<_ACEOF
 
1435
+\`configure' configures this package to adapt to many kinds of systems.
 
1436
 
 
1437
-ac_ext=c
 
1438
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
1439
-ac_cpp='$CPP $CPPFLAGS'
 
1440
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
1441
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
1442
-cross_compiling=$ac_cv_prog_cc_cross
 
1443
+Usage: $0 [OPTION]... [VAR=VALUE]...
 
1444
 
 
1445
-ac_exeext=
 
1446
-ac_objext=o
 
1447
-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
 
1448
-  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
 
1449
-  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
 
1450
-    ac_n= ac_c='
 
1451
-' ac_t='       '
 
1452
-  else
 
1453
-    ac_n=-n ac_c= ac_t=
 
1454
-  fi
 
1455
-else
 
1456
-  ac_n= ac_c='\c' ac_t=
 
1457
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1458
+VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1459
+
 
1460
+Defaults for the options are specified in brackets.
 
1461
+
 
1462
+Configuration:
 
1463
+  -h, --help              display this help and exit
 
1464
+      --help=short        display options specific to this package
 
1465
+      --help=recursive    display the short help of all the included packages
 
1466
+  -V, --version           display version information and exit
 
1467
+  -q, --quiet, --silent   do not print \`checking...' messages
 
1468
+      --cache-file=FILE   cache test results in FILE [disabled]
 
1469
+  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1470
+  -n, --no-create         do not create output files
 
1471
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1472
+
 
1473
+Installation directories:
 
1474
+  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1475
+                         [$ac_default_prefix]
 
1476
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1477
+                         [PREFIX]
 
1478
+
 
1479
+By default, \`make install' will install all the files in
 
1480
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1481
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1482
+for instance \`--prefix=\$HOME'.
 
1483
+
 
1484
+For better control, use the options below.
 
1485
+
 
1486
+Fine tuning of the installation directories:
 
1487
+  --bindir=DIR           user executables [EPREFIX/bin]
 
1488
+  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
1489
+  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
1490
+  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
1491
+  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
1492
+  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
1493
+  --libdir=DIR           object code libraries [EPREFIX/lib]
 
1494
+  --includedir=DIR       C header files [PREFIX/include]
 
1495
+  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
1496
+  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1497
+  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1498
+  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1499
+  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1500
+  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1501
+  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1502
+  --htmldir=DIR          html documentation [DOCDIR]
 
1503
+  --dvidir=DIR           dvi documentation [DOCDIR]
 
1504
+  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1505
+  --psdir=DIR            ps documentation [DOCDIR]
 
1506
+_ACEOF
 
1507
+
 
1508
+  cat <<\_ACEOF
 
1509
+
 
1510
+X features:
 
1511
+  --x-includes=DIR    X include files are in DIR
 
1512
+  --x-libraries=DIR   X library files are in DIR
 
1513
+
 
1514
+System types:
 
1515
+  --build=BUILD     configure for building on BUILD [guessed]
 
1516
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1517
+  --target=TARGET   configure for building compilers for TARGET [HOST]
 
1518
+_ACEOF
 
1519
 fi
 
1520
 
 
1521
+if test -n "$ac_init_help"; then
 
1522
 
 
1523
+  cat <<\_ACEOF
 
1524
 
 
1525
-# Extract the first word of "gcc", so it can be a program name with args.
 
1526
-set dummy gcc; ac_word=$2
 
1527
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1528
-echo "configure:547: checking for $ac_word" >&5
 
1529
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
1530
-  echo $ac_n "(cached) $ac_c" 1>&6
 
1531
-else
 
1532
-  if test -n "$CC"; then
 
1533
-  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1534
-else
 
1535
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
1536
-  ac_dummy="$PATH"
 
1537
-  for ac_dir in $ac_dummy; do
 
1538
-    test -z "$ac_dir" && ac_dir=.
 
1539
-    if test -f $ac_dir/$ac_word; then
 
1540
-      ac_cv_prog_CC="gcc"
 
1541
-      break
 
1542
-    fi
 
1543
+Optional Features:
 
1544
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1545
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1546
+  --enable-dupscore         Allow one user to register multiple high score
 
1547
+
 
1548
+Optional Packages:
 
1549
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1550
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1551
+  --with-x                use the X Window System
 
1552
+  --with-xpm-include=DIR    XPM include files are in DIR
 
1553
+  --with-xpm-lib=DIR        XPM library file is in DIR
 
1554
+  --with-motif-include=DIR  Motif include files are in DIR
 
1555
+  --with-motif-lib=DIR      Motif library files are in DIR
 
1556
+  --with-motif              Use Motif Tool kit
 
1557
+  --with-x11-resource=DIR   The root of X11 resource files
 
1558
+                            (Default \${x_libraries}/X11)
 
1559
+
 
1560
+Some influential environment variables:
 
1561
+  CC          C compiler command
 
1562
+  CFLAGS      C compiler flags
 
1563
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1564
+              nonstandard directory <lib dir>
 
1565
+  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1566
+              you have headers in a nonstandard directory <include dir>
 
1567
+  CXX         C++ compiler command
 
1568
+  CXXFLAGS    C++ compiler flags
 
1569
+  CPP         C preprocessor
 
1570
+  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1571
+
 
1572
+Use these variables to override the choices made by `configure' or to help
 
1573
+it to find libraries and programs with nonstandard names/locations.
 
1574
+
 
1575
+_ACEOF
 
1576
+ac_status=$?
 
1577
+fi
 
1578
+
 
1579
+if test "$ac_init_help" = "recursive"; then
 
1580
+  # If there are subdirs, report their specific --help.
 
1581
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1582
+    test -d $ac_dir || continue
 
1583
+    ac_builddir=.
 
1584
+
 
1585
+case "$ac_dir" in
 
1586
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1587
+*)
 
1588
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1589
+  # A ".." for each directory in $ac_dir_suffix.
 
1590
+  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1591
+  case $ac_top_builddir_sub in
 
1592
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1593
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1594
+  esac ;;
 
1595
+esac
 
1596
+ac_abs_top_builddir=$ac_pwd
 
1597
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1598
+# for backward compatibility:
 
1599
+ac_top_builddir=$ac_top_build_prefix
 
1600
+
 
1601
+case $srcdir in
 
1602
+  .)  # We are building in place.
 
1603
+    ac_srcdir=.
 
1604
+    ac_top_srcdir=$ac_top_builddir_sub
 
1605
+    ac_abs_top_srcdir=$ac_pwd ;;
 
1606
+  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1607
+    ac_srcdir=$srcdir$ac_dir_suffix;
 
1608
+    ac_top_srcdir=$srcdir
 
1609
+    ac_abs_top_srcdir=$srcdir ;;
 
1610
+  *) # Relative name.
 
1611
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1612
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1613
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1614
+esac
 
1615
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1616
+
 
1617
+    cd "$ac_dir" || { ac_status=$?; continue; }
 
1618
+    # Check for guested configure.
 
1619
+    if test -f $ac_srcdir/configure.gnu; then
 
1620
+      echo &&
 
1621
+      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
1622
+    elif test -f $ac_srcdir/configure; then
 
1623
+      echo &&
 
1624
+      $SHELL $ac_srcdir/configure  --help=recursive
 
1625
+    else
 
1626
+      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1627
+    fi || ac_status=$?
 
1628
+    cd "$ac_pwd" || { ac_status=$?; break; }
 
1629
   done
 
1630
-  IFS="$ac_save_ifs"
 
1631
-fi
 
1632
 fi
 
1633
-CC="$ac_cv_prog_CC"
 
1634
-if test -n "$CC"; then
 
1635
-  echo "$ac_t""$CC" 1>&6
 
1636
-else
 
1637
-  echo "$ac_t""no" 1>&6
 
1638
+
 
1639
+test -n "$ac_init_help" && exit $ac_status
 
1640
+if $ac_init_version; then
 
1641
+  cat <<\_ACEOF
 
1642
+configure
 
1643
+generated by GNU Autoconf 2.59d
 
1644
+
 
1645
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1646
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1647
+This configure script is free software; the Free Software Foundation
 
1648
+gives unlimited permission to copy, distribute and modify it.
 
1649
+_ACEOF
 
1650
+  exit
 
1651
 fi
 
1652
+cat >config.log <<_ACEOF
 
1653
+This file contains any messages produced by compilers while
 
1654
+running configure, to aid debugging if configure makes a mistake.
 
1655
 
 
1656
-if test -z "$CC"; then
 
1657
-  # Extract the first word of "cc", so it can be a program name with args.
 
1658
-set dummy cc; ac_word=$2
 
1659
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1660
-echo "configure:577: checking for $ac_word" >&5
 
1661
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
1662
-  echo $ac_n "(cached) $ac_c" 1>&6
 
1663
-else
 
1664
-  if test -n "$CC"; then
 
1665
-  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1666
-else
 
1667
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
1668
-  ac_prog_rejected=no
 
1669
-  ac_dummy="$PATH"
 
1670
-  for ac_dir in $ac_dummy; do
 
1671
-    test -z "$ac_dir" && ac_dir=.
 
1672
-    if test -f $ac_dir/$ac_word; then
 
1673
-      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
 
1674
-        ac_prog_rejected=yes
 
1675
-       continue
 
1676
-      fi
 
1677
-      ac_cv_prog_CC="cc"
 
1678
-      break
 
1679
-    fi
 
1680
-  done
 
1681
-  IFS="$ac_save_ifs"
 
1682
-if test $ac_prog_rejected = yes; then
 
1683
-  # We found a bogon in the path, so make sure we never use it.
 
1684
+It was created by $as_me, which was
 
1685
+generated by GNU Autoconf 2.59d.  Invocation command line was
 
1686
+
 
1687
+  $ $0 $@
 
1688
+
 
1689
+_ACEOF
 
1690
+exec 5>>config.log
 
1691
+{
 
1692
+cat <<_ASUNAME
 
1693
+## --------- ##
 
1694
+## Platform. ##
 
1695
+## --------- ##
 
1696
+
 
1697
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1698
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1699
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1700
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1701
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1702
+
 
1703
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1704
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1705
+
 
1706
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1707
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1708
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1709
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1710
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1711
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1712
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1713
+
 
1714
+_ASUNAME
 
1715
+
 
1716
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1717
+for as_dir in $PATH
 
1718
+do
 
1719
+  IFS=$as_save_IFS
 
1720
+  test -z "$as_dir" && as_dir=.
 
1721
+  echo "PATH: $as_dir"
 
1722
+done
 
1723
+IFS=$as_save_IFS
 
1724
+
 
1725
+} >&5
 
1726
+
 
1727
+cat >&5 <<_ACEOF
 
1728
+
 
1729
+
 
1730
+## ----------- ##
 
1731
+## Core tests. ##
 
1732
+## ----------- ##
 
1733
+
 
1734
+_ACEOF
 
1735
+
 
1736
+
 
1737
+# Keep a trace of the command line.
 
1738
+# Strip out --no-create and --no-recursion so they do not pile up.
 
1739
+# Strip out --silent because we don't want to record it for future runs.
 
1740
+# Also quote any args containing shell meta-characters.
 
1741
+# Make two passes to allow for proper duplicate-argument suppression.
 
1742
+ac_configure_args=
 
1743
+ac_configure_args0=
 
1744
+ac_configure_args1=
 
1745
+ac_sep=
 
1746
+ac_must_keep_next=false
 
1747
+for ac_pass in 1 2
 
1748
+do
 
1749
+  for ac_arg
 
1750
+  do
 
1751
+    case $ac_arg in
 
1752
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1753
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1754
+    | -silent | --silent | --silen | --sile | --sil)
 
1755
+      continue ;;
 
1756
+    *\'*)
 
1757
+      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1758
+    esac
 
1759
+    case $ac_pass in
 
1760
+    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1761
+    2)
 
1762
+      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1763
+      if test $ac_must_keep_next = true; then
 
1764
+       ac_must_keep_next=false # Got value, back to normal.
 
1765
+      else
 
1766
+       case $ac_arg in
 
1767
+         *=* | --config-cache | -C | -disable-* | --disable-* \
 
1768
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1769
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1770
+         | -with-* | --with-* | -without-* | --without-* | --x)
 
1771
+           case "$ac_configure_args0 " in
 
1772
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1773
+           esac
 
1774
+           ;;
 
1775
+         -* ) ac_must_keep_next=true ;;
 
1776
+       esac
 
1777
+      fi
 
1778
+      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1779
+      # Get rid of the leading space.
 
1780
+      ac_sep=" "
 
1781
+      ;;
 
1782
+    esac
 
1783
+  done
 
1784
+done
 
1785
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1786
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1787
+
 
1788
+# When interrupted or exit'd, cleanup temporary files, and complete
 
1789
+# config.log.  We remove comments because anyway the quotes in there
 
1790
+# would cause problems or look ugly.
 
1791
+# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1792
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1793
+trap 'exit_status=$?
 
1794
+  # Save into config.log some information that might help in debugging.
 
1795
+  {
 
1796
+    echo
 
1797
+
 
1798
+    cat <<\_ASBOX
 
1799
+## ---------------- ##
 
1800
+## Cache variables. ##
 
1801
+## ---------------- ##
 
1802
+_ASBOX
 
1803
+    echo
 
1804
+    # The following way of writing the cache mishandles newlines in values,
 
1805
+(
 
1806
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1807
+    eval ac_val=\$$ac_var
 
1808
+    case $ac_val in #(
 
1809
+    *${as_nl}*)
 
1810
+      case $ac_var in #(
 
1811
+      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1812
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1813
+      esac
 
1814
+      case $ac_var in #(
 
1815
+      _ | IFS | as_nl) ;; #(
 
1816
+      *) $as_unset $ac_var ;;
 
1817
+      esac ;;
 
1818
+    esac
 
1819
+  done
 
1820
+  (set) 2>&1 |
 
1821
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1822
+    *${as_nl}ac_space=\ *)
 
1823
+      sed -n \
 
1824
+       "s/'\''/'\''\\\\'\'''\''/g;
 
1825
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1826
+      ;; #(
 
1827
+    *)
 
1828
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1829
+      ;;
 
1830
+    esac |
 
1831
+    sort
 
1832
+)
 
1833
+    echo
 
1834
+
 
1835
+    cat <<\_ASBOX
 
1836
+## ----------------- ##
 
1837
+## Output variables. ##
 
1838
+## ----------------- ##
 
1839
+_ASBOX
 
1840
+    echo
 
1841
+    for ac_var in $ac_subst_vars
 
1842
+    do
 
1843
+      eval ac_val=\$$ac_var
 
1844
+      echo "$ac_var='\''$ac_val'\''"
 
1845
+    done | sort
 
1846
+    echo
 
1847
+
 
1848
+    if test -n "$ac_subst_files"; then
 
1849
+      cat <<\_ASBOX
 
1850
+## ------------------- ##
 
1851
+## File substitutions. ##
 
1852
+## ------------------- ##
 
1853
+_ASBOX
 
1854
+      echo
 
1855
+      for ac_var in $ac_subst_files
 
1856
+      do
 
1857
+       eval ac_val=\$$ac_var
 
1858
+       echo "$ac_var='\''$ac_val'\''"
 
1859
+      done | sort
 
1860
+      echo
 
1861
+    fi
 
1862
+
 
1863
+    if test -s confdefs.h; then
 
1864
+      cat <<\_ASBOX
 
1865
+## ----------- ##
 
1866
+## confdefs.h. ##
 
1867
+## ----------- ##
 
1868
+_ASBOX
 
1869
+      echo
 
1870
+      cat confdefs.h
 
1871
+      echo
 
1872
+    fi
 
1873
+    test "$ac_signal" != 0 &&
 
1874
+      echo "$as_me: caught signal $ac_signal"
 
1875
+    echo "$as_me: exit $exit_status"
 
1876
+  } >&5
 
1877
+  rm -f core *.core core.conftest.* &&
 
1878
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1879
+    exit $exit_status
 
1880
+' 0
 
1881
+for ac_signal in 1 2 13 15; do
 
1882
+  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1883
+done
 
1884
+ac_signal=0
 
1885
+
 
1886
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1887
+rm -f -r conftest* confdefs.h
 
1888
+
 
1889
+# Predefined preprocessor variables.
 
1890
+
 
1891
+cat >>confdefs.h <<_ACEOF
 
1892
+#define PACKAGE_NAME "$PACKAGE_NAME"
 
1893
+_ACEOF
 
1894
+
 
1895
+
 
1896
+cat >>confdefs.h <<_ACEOF
 
1897
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1898
+_ACEOF
 
1899
+
 
1900
+
 
1901
+cat >>confdefs.h <<_ACEOF
 
1902
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1903
+_ACEOF
 
1904
+
 
1905
+
 
1906
+cat >>confdefs.h <<_ACEOF
 
1907
+#define PACKAGE_STRING "$PACKAGE_STRING"
 
1908
+_ACEOF
 
1909
+
 
1910
+
 
1911
+cat >>confdefs.h <<_ACEOF
 
1912
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1913
+_ACEOF
 
1914
+
 
1915
+
 
1916
+# Let the site file select an alternate cache file if it wants to.
 
1917
+# Prefer explicitly selected file to automatically selected ones.
 
1918
+if test -n "$CONFIG_SITE"; then
 
1919
+  set x "$CONFIG_SITE"
 
1920
+elif test "x$prefix" != xNONE; then
 
1921
+  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1922
+else
 
1923
+  set x "$ac_default_prefix/share/config.site" \
 
1924
+       "$ac_default_prefix/etc/config.site"
 
1925
+fi
 
1926
+shift
 
1927
+for ac_site_file
 
1928
+do
 
1929
+  if test -r "$ac_site_file"; then
 
1930
+    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1931
+echo "$as_me: loading site script $ac_site_file" >&6;}
 
1932
+    sed 's/^/| /' "$ac_site_file" >&5
 
1933
+    . "$ac_site_file"
 
1934
+  fi
 
1935
+done
 
1936
+
 
1937
+if test -r "$cache_file"; then
 
1938
+  # Some versions of bash will fail to source /dev/null (special
 
1939
+  # files actually), so we avoid doing that.
 
1940
+  if test -f "$cache_file"; then
 
1941
+    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1942
+echo "$as_me: loading cache $cache_file" >&6;}
 
1943
+    case $cache_file in
 
1944
+      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1945
+      *)                      . ./$cache_file;;
 
1946
+    esac
 
1947
+  fi
 
1948
+else
 
1949
+  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1950
+echo "$as_me: creating cache $cache_file" >&6;}
 
1951
+  >$cache_file
 
1952
+fi
 
1953
+
 
1954
+# Check that the precious variables saved in the cache have kept the same
 
1955
+# value.
 
1956
+ac_cache_corrupted=false
 
1957
+for ac_var in $ac_precious_vars; do
 
1958
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1959
+  eval ac_new_set=\$ac_env_${ac_var}_set
 
1960
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1961
+  eval ac_new_val=\$ac_env_${ac_var}_value
 
1962
+  case $ac_old_set,$ac_new_set in
 
1963
+    set,)
 
1964
+      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1965
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1966
+      ac_cache_corrupted=: ;;
 
1967
+    ,set)
 
1968
+      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1969
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1970
+      ac_cache_corrupted=: ;;
 
1971
+    ,);;
 
1972
+    *)
 
1973
+      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1974
+       { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1975
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1976
+       { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1977
+echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1978
+       { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1979
+echo "$as_me:   current value: $ac_new_val" >&2;}
 
1980
+       ac_cache_corrupted=:
 
1981
+      fi;;
 
1982
+  esac
 
1983
+  # Pass precious variables to config.status.
 
1984
+  if test "$ac_new_set" = set; then
 
1985
+    case $ac_new_val in
 
1986
+    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1987
+    *) ac_arg=$ac_var=$ac_new_val ;;
 
1988
+    esac
 
1989
+    case " $ac_configure_args " in
 
1990
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1991
+      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1992
+    esac
 
1993
+  fi
 
1994
+done
 
1995
+if $ac_cache_corrupted; then
 
1996
+  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1997
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1998
+  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1999
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2000
+   { (exit 1); exit 1; }; }
 
2001
+fi
 
2002
+
 
2003
+
 
2004
+
 
2005
+
 
2006
+
 
2007
+
 
2008
+
 
2009
+
 
2010
+
 
2011
+
 
2012
+
 
2013
+
 
2014
+
 
2015
+
 
2016
+
 
2017
+
 
2018
+
 
2019
+ac_ext=c
 
2020
+ac_cpp='$CPP $CPPFLAGS'
 
2021
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2022
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2023
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2024
+
 
2025
+
 
2026
+ac_aux_dir=
 
2027
+for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
2028
+  if test -f $ac_dir/install-sh; then
 
2029
+    ac_aux_dir=$ac_dir
 
2030
+    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2031
+    break
 
2032
+  elif test -f $ac_dir/install.sh; then
 
2033
+    ac_aux_dir=$ac_dir
 
2034
+    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2035
+    break
 
2036
+  elif test -f $ac_dir/shtool; then
 
2037
+    ac_aux_dir=$ac_dir
 
2038
+    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2039
+    break
 
2040
+  fi
 
2041
+done
 
2042
+if test -z "$ac_aux_dir"; then
 
2043
+  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
2044
+echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2045
+   { (exit 1); exit 1; }; }
 
2046
+fi
 
2047
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
2048
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
2049
+ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2050
+
 
2051
+# Make sure we can run config.sub.
 
2052
+$ac_config_sub sun4 >/dev/null 2>&1 ||
 
2053
+  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
2054
+echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2055
+   { (exit 1); exit 1; }; }
 
2056
+
 
2057
+{ echo "$as_me:$LINENO: checking build system type" >&5
 
2058
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
2059
+if test "${ac_cv_build+set}" = set; then
 
2060
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2061
+else
 
2062
+  ac_build_alias=$build_alias
 
2063
+test "x$ac_build_alias" = x &&
 
2064
+  ac_build_alias=`$ac_config_guess`
 
2065
+test "x$ac_build_alias" = x &&
 
2066
+  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2067
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2068
+   { (exit 1); exit 1; }; }
 
2069
+ac_cv_build=`$ac_config_sub $ac_build_alias` ||
 
2070
+  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
 
2071
+echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
 
2072
+   { (exit 1); exit 1; }; }
 
2073
+
 
2074
+fi
 
2075
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2076
+echo "${ECHO_T}$ac_cv_build" >&6; }
 
2077
+case $ac_cv_build in
 
2078
+*-*-*) ;;
 
2079
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2080
+echo "$as_me: error: invalid value of canonical build" >&2;}
 
2081
+   { (exit 1); exit 1; }; };;
 
2082
+esac
 
2083
+build=$ac_cv_build
 
2084
+ac_save_IFS=$IFS; IFS='-'
 
2085
+set x $ac_cv_build
 
2086
+shift
 
2087
+build_cpu=$1
 
2088
+build_vendor=$2
 
2089
+shift; shift
 
2090
+# Remember, the first character of IFS is used to create $*,
 
2091
+# except with old shells:
 
2092
+build_os=$*
 
2093
+IFS=$ac_save_IFS
 
2094
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2095
+
 
2096
+
 
2097
+{ echo "$as_me:$LINENO: checking host system type" >&5
 
2098
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
2099
+if test "${ac_cv_host+set}" = set; then
 
2100
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2101
+else
 
2102
+  if test "x$host_alias" = x; then
 
2103
+  ac_cv_host=$ac_cv_build
 
2104
+else
 
2105
+  ac_cv_host=`$ac_config_sub $host_alias` ||
 
2106
+    { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
 
2107
+echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
 
2108
+   { (exit 1); exit 1; }; }
 
2109
+fi
 
2110
+
 
2111
+fi
 
2112
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2113
+echo "${ECHO_T}$ac_cv_host" >&6; }
 
2114
+case $ac_cv_host in
 
2115
+*-*-*) ;;
 
2116
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2117
+echo "$as_me: error: invalid value of canonical host" >&2;}
 
2118
+   { (exit 1); exit 1; }; };;
 
2119
+esac
 
2120
+host=$ac_cv_host
 
2121
+ac_save_IFS=$IFS; IFS='-'
 
2122
+set x $ac_cv_host
 
2123
+shift
 
2124
+host_cpu=$1
 
2125
+host_vendor=$2
 
2126
+shift; shift
 
2127
+# Remember, the first character of IFS is used to create $*,
 
2128
+# except with old shells:
 
2129
+host_os=$*
 
2130
+IFS=$ac_save_IFS
 
2131
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2132
+
 
2133
+
 
2134
+{ echo "$as_me:$LINENO: checking target system type" >&5
 
2135
+echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 
2136
+if test "${ac_cv_target+set}" = set; then
 
2137
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2138
+else
 
2139
+  if test "x$target_alias" = x; then
 
2140
+  ac_cv_target=$ac_cv_host
 
2141
+else
 
2142
+  ac_cv_target=`$ac_config_sub $target_alias` ||
 
2143
+    { { echo "$as_me:$LINENO: error: $ac_config_sub $target_alias failed" >&5
 
2144
+echo "$as_me: error: $ac_config_sub $target_alias failed" >&2;}
 
2145
+   { (exit 1); exit 1; }; }
 
2146
+fi
 
2147
+
 
2148
+fi
 
2149
+{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2150
+echo "${ECHO_T}$ac_cv_target" >&6; }
 
2151
+case $ac_cv_target in
 
2152
+*-*-*) ;;
 
2153
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2154
+echo "$as_me: error: invalid value of canonical target" >&2;}
 
2155
+   { (exit 1); exit 1; }; };;
 
2156
+esac
 
2157
+target=$ac_cv_target
 
2158
+ac_save_IFS=$IFS; IFS='-'
 
2159
+set x $ac_cv_target
 
2160
+shift
 
2161
+target_cpu=$1
 
2162
+target_vendor=$2
 
2163
+shift; shift
 
2164
+# Remember, the first character of IFS is used to create $*,
 
2165
+# except with old shells:
 
2166
+target_os=$*
 
2167
+IFS=$ac_save_IFS
 
2168
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
2169
+
 
2170
+
 
2171
+# The aliases save the names the user supplied, while $host etc.
 
2172
+# will get canonicalized.
 
2173
+test -n "$target_alias" &&
 
2174
+  test "$program_prefix$program_suffix$program_transform_name" = \
 
2175
+    NONENONEs,x,x, &&
 
2176
+  program_prefix=${target_alias}-
 
2177
+
 
2178
+ac_ext=c
 
2179
+ac_cpp='$CPP $CPPFLAGS'
 
2180
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2181
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2182
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2183
+if test -n "$ac_tool_prefix"; then
 
2184
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2185
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2186
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2187
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2188
+if test "${ac_cv_prog_CC+set}" = set; then
 
2189
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2190
+else
 
2191
+  if test -n "$CC"; then
 
2192
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2193
+else
 
2194
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2195
+for as_dir in $PATH
 
2196
+do
 
2197
+  IFS=$as_save_IFS
 
2198
+  test -z "$as_dir" && as_dir=.
 
2199
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
2200
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2201
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2202
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2203
+    break 2
 
2204
+  fi
 
2205
+done
 
2206
+done
 
2207
+IFS=$as_save_IFS
 
2208
+
 
2209
+fi
 
2210
+fi
 
2211
+CC=$ac_cv_prog_CC
 
2212
+if test -n "$CC"; then
 
2213
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
2214
+echo "${ECHO_T}$CC" >&6; }
 
2215
+else
 
2216
+  { echo "$as_me:$LINENO: result: no" >&5
 
2217
+echo "${ECHO_T}no" >&6; }
 
2218
+fi
 
2219
+
 
2220
+
 
2221
+fi
 
2222
+if test -z "$ac_cv_prog_CC"; then
 
2223
+  ac_ct_CC=$CC
 
2224
+  # Extract the first word of "gcc", so it can be a program name with args.
 
2225
+set dummy gcc; ac_word=$2
 
2226
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2227
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2228
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2229
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2230
+else
 
2231
+  if test -n "$ac_ct_CC"; then
 
2232
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2233
+else
 
2234
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2235
+for as_dir in $PATH
 
2236
+do
 
2237
+  IFS=$as_save_IFS
 
2238
+  test -z "$as_dir" && as_dir=.
 
2239
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
2240
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2241
+    ac_cv_prog_ac_ct_CC="gcc"
 
2242
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2243
+    break 2
 
2244
+  fi
 
2245
+done
 
2246
+done
 
2247
+IFS=$as_save_IFS
 
2248
+
 
2249
+fi
 
2250
+fi
 
2251
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2252
+if test -n "$ac_ct_CC"; then
 
2253
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2254
+echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2255
+else
 
2256
+  { echo "$as_me:$LINENO: result: no" >&5
 
2257
+echo "${ECHO_T}no" >&6; }
 
2258
+fi
 
2259
+
 
2260
+  if test "x$ac_ct_CC" = x; then
 
2261
+    CC=""
 
2262
+  else
 
2263
+    case $cross_compiling:$ac_tool_warned in
 
2264
+yes:)
 
2265
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2266
+whose name does not start with the host triplet.  If you think this
 
2267
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2268
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2269
+whose name does not start with the host triplet.  If you think this
 
2270
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2271
+ac_tool_warned=yes ;;
 
2272
+esac
 
2273
+    CC=$ac_ct_CC
 
2274
+  fi
 
2275
+else
 
2276
+  CC="$ac_cv_prog_CC"
 
2277
+fi
 
2278
+
 
2279
+if test -z "$CC"; then
 
2280
+          if test -n "$ac_tool_prefix"; then
 
2281
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2282
+set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2283
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2284
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2285
+if test "${ac_cv_prog_CC+set}" = set; then
 
2286
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2287
+else
 
2288
+  if test -n "$CC"; then
 
2289
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2290
+else
 
2291
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2292
+for as_dir in $PATH
 
2293
+do
 
2294
+  IFS=$as_save_IFS
 
2295
+  test -z "$as_dir" && as_dir=.
 
2296
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
2297
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2298
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2299
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2300
+    break 2
 
2301
+  fi
 
2302
+done
 
2303
+done
 
2304
+IFS=$as_save_IFS
 
2305
+
 
2306
+fi
 
2307
+fi
 
2308
+CC=$ac_cv_prog_CC
 
2309
+if test -n "$CC"; then
 
2310
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
2311
+echo "${ECHO_T}$CC" >&6; }
 
2312
+else
 
2313
+  { echo "$as_me:$LINENO: result: no" >&5
 
2314
+echo "${ECHO_T}no" >&6; }
 
2315
+fi
 
2316
+
 
2317
+
 
2318
+  fi
 
2319
+fi
 
2320
+if test -z "$CC"; then
 
2321
+  # Extract the first word of "cc", so it can be a program name with args.
 
2322
+set dummy cc; ac_word=$2
 
2323
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2324
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2325
+if test "${ac_cv_prog_CC+set}" = set; then
 
2326
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2327
+else
 
2328
+  if test -n "$CC"; then
 
2329
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2330
+else
 
2331
+  ac_prog_rejected=no
 
2332
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2333
+for as_dir in $PATH
 
2334
+do
 
2335
+  IFS=$as_save_IFS
 
2336
+  test -z "$as_dir" && as_dir=.
 
2337
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
2338
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2339
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2340
+       ac_prog_rejected=yes
 
2341
+       continue
 
2342
+     fi
 
2343
+    ac_cv_prog_CC="cc"
 
2344
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2345
+    break 2
 
2346
+  fi
 
2347
+done
 
2348
+done
 
2349
+IFS=$as_save_IFS
 
2350
+
 
2351
+if test $ac_prog_rejected = yes; then
 
2352
+  # We found a bogon in the path, so make sure we never use it.
 
2353
   set dummy $ac_cv_prog_CC
 
2354
   shift
 
2355
-  if test $# -gt 0; then
 
2356
+  if test $# != 0; then
 
2357
     # We chose a different compiler from the bogus one.
 
2358
     # However, it has the same basename, so the bogon will be chosen
 
2359
     # first if we set CC to just the basename; use the full file name.
 
2360
     shift
 
2361
-    set dummy "$ac_dir/$ac_word" "$@"
 
2362
-    shift
 
2363
-    ac_cv_prog_CC="$@"
 
2364
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2365
   fi
 
2366
 fi
 
2367
 fi
 
2368
 fi
 
2369
-CC="$ac_cv_prog_CC"
 
2370
+CC=$ac_cv_prog_CC
 
2371
 if test -n "$CC"; then
 
2372
-  echo "$ac_t""$CC" 1>&6
 
2373
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
2374
+echo "${ECHO_T}$CC" >&6; }
 
2375
 else
 
2376
-  echo "$ac_t""no" 1>&6
 
2377
+  { echo "$as_me:$LINENO: result: no" >&5
 
2378
+echo "${ECHO_T}no" >&6; }
 
2379
 fi
 
2380
 
 
2381
-  if test -z "$CC"; then
 
2382
-    case "`uname -s`" in
 
2383
-    *win32* | *WIN32*)
 
2384
-      # Extract the first word of "cl", so it can be a program name with args.
 
2385
-set dummy cl; ac_word=$2
 
2386
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2387
-echo "configure:628: checking for $ac_word" >&5
 
2388
-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
2389
-  echo $ac_n "(cached) $ac_c" 1>&6
 
2390
+
 
2391
+fi
 
2392
+if test -z "$CC"; then
 
2393
+  if test -n "$ac_tool_prefix"; then
 
2394
+  for ac_prog in cl.exe
 
2395
+  do
 
2396
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2397
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2398
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2399
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2400
+if test "${ac_cv_prog_CC+set}" = set; then
 
2401
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2402
 else
 
2403
   if test -n "$CC"; then
 
2404
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
2405
 else
 
2406
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
2407
-  ac_dummy="$PATH"
 
2408
-  for ac_dir in $ac_dummy; do
 
2409
-    test -z "$ac_dir" && ac_dir=.
 
2410
-    if test -f $ac_dir/$ac_word; then
 
2411
-      ac_cv_prog_CC="cl"
 
2412
-      break
 
2413
-    fi
 
2414
-  done
 
2415
-  IFS="$ac_save_ifs"
 
2416
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2417
+for as_dir in $PATH
 
2418
+do
 
2419
+  IFS=$as_save_IFS
 
2420
+  test -z "$as_dir" && as_dir=.
 
2421
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
2422
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2423
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2424
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2425
+    break 2
 
2426
+  fi
 
2427
+done
 
2428
+done
 
2429
+IFS=$as_save_IFS
 
2430
+
 
2431
 fi
 
2432
 fi
 
2433
-CC="$ac_cv_prog_CC"
 
2434
+CC=$ac_cv_prog_CC
 
2435
 if test -n "$CC"; then
 
2436
-  echo "$ac_t""$CC" 1>&6
 
2437
+  { echo "$as_me:$LINENO: result: $CC" >&5
 
2438
+echo "${ECHO_T}$CC" >&6; }
 
2439
 else
 
2440
-  echo "$ac_t""no" 1>&6
 
2441
+  { echo "$as_me:$LINENO: result: no" >&5
 
2442
+echo "${ECHO_T}no" >&6; }
 
2443
 fi
 
2444
- ;;
 
2445
-    esac
 
2446
+
 
2447
+
 
2448
+    test -n "$CC" && break
 
2449
+  done
 
2450
+fi
 
2451
+if test -z "$CC"; then
 
2452
+  ac_ct_CC=$CC
 
2453
+  for ac_prog in cl.exe
 
2454
+do
 
2455
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2456
+set dummy $ac_prog; ac_word=$2
 
2457
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2458
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2459
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2460
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2461
+else
 
2462
+  if test -n "$ac_ct_CC"; then
 
2463
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2464
+else
 
2465
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2466
+for as_dir in $PATH
 
2467
+do
 
2468
+  IFS=$as_save_IFS
 
2469
+  test -z "$as_dir" && as_dir=.
 
2470
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
2471
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2472
+    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2473
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2474
+    break 2
 
2475
   fi
 
2476
-  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
 
2477
+done
 
2478
+done
 
2479
+IFS=$as_save_IFS
 
2480
+
 
2481
+fi
 
2482
+fi
 
2483
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2484
+if test -n "$ac_ct_CC"; then
 
2485
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2486
+echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2487
+else
 
2488
+  { echo "$as_me:$LINENO: result: no" >&5
 
2489
+echo "${ECHO_T}no" >&6; }
 
2490
 fi
 
2491
 
 
2492
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 
2493
-echo "configure:660: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
2494
 
 
2495
-ac_ext=c
 
2496
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
2497
-ac_cpp='$CPP $CPPFLAGS'
 
2498
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
2499
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
2500
-cross_compiling=$ac_cv_prog_cc_cross
 
2501
+  test -n "$ac_ct_CC" && break
 
2502
+done
 
2503
 
 
2504
-cat > conftest.$ac_ext << EOF
 
2505
+  if test "x$ac_ct_CC" = x; then
 
2506
+    CC=""
 
2507
+  else
 
2508
+    case $cross_compiling:$ac_tool_warned in
 
2509
+yes:)
 
2510
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2511
+whose name does not start with the host triplet.  If you think this
 
2512
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2513
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2514
+whose name does not start with the host triplet.  If you think this
 
2515
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2516
+ac_tool_warned=yes ;;
 
2517
+esac
 
2518
+    CC=$ac_ct_CC
 
2519
+  fi
 
2520
+fi
 
2521
+
 
2522
+fi
 
2523
+
 
2524
+
 
2525
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2526
+See \`config.log' for more details." >&5
 
2527
+echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2528
+See \`config.log' for more details." >&2;}
 
2529
+   { (exit 1); exit 1; }; }
 
2530
+
 
2531
+# Provide some information about the compiler.
 
2532
+echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2533
+ac_compiler=`set X $ac_compile; echo $2`
 
2534
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
 
2535
+  (eval $ac_compiler --version >&5) 2>&5
 
2536
+  ac_status=$?
 
2537
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2538
+  (exit $ac_status); }
 
2539
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
 
2540
+  (eval $ac_compiler -v >&5) 2>&5
 
2541
+  ac_status=$?
 
2542
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2543
+  (exit $ac_status); }
 
2544
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
 
2545
+  (eval $ac_compiler -V >&5) 2>&5
 
2546
+  ac_status=$?
 
2547
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2548
+  (exit $ac_status); }
 
2549
+
 
2550
+
 
2551
+# List of possible output files.  We want to start from the most likely,
 
2552
+# but we have to check foo.exe before foo, because Cygwin `test -f' looks
 
2553
+# also for foo.exe.  b.out is created by i960 compilers.
 
2554
+# As a last resort, we also try wildcards: `conftest.*' and `a.*'.
 
2555
+# But we are not allowed to rm a.*, and we do not want always remove
 
2556
+# conftest.*, so we will list them literally, when appropriate.
 
2557
+ac_outfiles="a_out.exe a.out conftest.exe conftest a.exe b.out"
 
2558
+
 
2559
+# The IRIX 6 linker writes into existing files which may not be
 
2560
+# executable, retaining their permissions.  Remove them first so a
 
2561
+# subsequent execution test works.
 
2562
+rm -f $ac_outfiles conftest.*
 
2563
+
 
2564
+cat >conftest.$ac_ext <<_ACEOF
 
2565
+/* confdefs.h.  */
 
2566
+_ACEOF
 
2567
+cat confdefs.h >>conftest.$ac_ext
 
2568
+cat >>conftest.$ac_ext <<_ACEOF
 
2569
+/* end confdefs.h.  */
 
2570
+
 
2571
+int
 
2572
+main ()
 
2573
+{
 
2574
+
 
2575
+  ;
 
2576
+  return 0;
 
2577
+}
 
2578
+_ACEOF
 
2579
+
 
2580
+ac_clean_files_save=$ac_clean_files
 
2581
+ac_clean_files="$ac_clean_files $ac_outfiles"
 
2582
+
 
2583
+# The following tests should remove their output except files matching conftest.*.
 
2584
+# Try to create an executable without -o first, disregard a.out.
 
2585
+# It will help us diagnose broken compilers, and finding out an intuition
 
2586
+# of exeext.
 
2587
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2588
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
2589
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2590
+
 
2591
+if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2592
+  (eval $ac_link_default) 2>&5
 
2593
+  ac_status=$?
 
2594
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2595
+  (exit $ac_status); }; then
 
2596
+  for ac_file in $ac_outfiles a.* conftest.* NO
 
2597
+do
 
2598
+  test -f "$ac_file" || continue
 
2599
+  case $ac_file in
 
2600
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2601
+    * ) break;;
 
2602
+  esac
 
2603
+done
 
2604
+if test "$ac_file" = NO; then
 
2605
+  { { echo "$as_me:$LINENO: error: no output file found
 
2606
+See \`config.log' for more details." >&5
 
2607
+echo "$as_me: error: no output file found
 
2608
+See \`config.log' for more details." >&2;}
 
2609
+   { (exit 1); exit 1; }; }
 
2610
+fi
 
2611
 
 
2612
-#line 671 "configure"
 
2613
-#include "confdefs.h"
 
2614
 
 
2615
-main(){return(0);}
 
2616
-EOF
 
2617
-if { (eval echo configure:676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
2618
-  ac_cv_prog_cc_works=yes
 
2619
-  # If we can't run a trivial program, we are probably using a cross compiler.
 
2620
-  if (./conftest; exit) 2>/dev/null; then
 
2621
-    ac_cv_prog_cc_cross=no
 
2622
+else
 
2623
+  echo "$as_me: failed program was:" >&5
 
2624
+sed 's/^/| /' conftest.$ac_ext >&5
 
2625
+
 
2626
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2627
+See \`config.log' for more details." >&5
 
2628
+echo "$as_me: error: C compiler cannot create executables
 
2629
+See \`config.log' for more details." >&2;}
 
2630
+   { (exit 77); exit 77; }; }
 
2631
+fi
 
2632
+
 
2633
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2634
+echo "${ECHO_T}$ac_file" >&6; }
 
2635
+# Check that the compiler produces executables we can run.  If not, either
 
2636
+# the compiler is broken, or we cross compile.
 
2637
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2638
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2639
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2640
+# If not cross compiling, check that we can run a simple program.
 
2641
+if test "$cross_compiling" != yes; then
 
2642
+  if { ac_try='./$ac_file'
 
2643
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2644
+  (eval $ac_try) 2>&5
 
2645
+  ac_status=$?
 
2646
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2647
+  (exit $ac_status); }; }; then
 
2648
+    cross_compiling=no
 
2649
   else
 
2650
-    ac_cv_prog_cc_cross=yes
 
2651
+    if test "$cross_compiling" = maybe; then
 
2652
+       cross_compiling=yes
 
2653
+    else
 
2654
+       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2655
+If you meant to cross compile, use \`--host'.
 
2656
+See \`config.log' for more details." >&5
 
2657
+echo "$as_me: error: cannot run C compiled programs.
 
2658
+If you meant to cross compile, use \`--host'.
 
2659
+See \`config.log' for more details." >&2;}
 
2660
+   { (exit 1); exit 1; }; }
 
2661
+    fi
 
2662
   fi
 
2663
-else
 
2664
-  echo "configure: failed program was:" >&5
 
2665
-  cat conftest.$ac_ext >&5
 
2666
-  ac_cv_prog_cc_works=no
 
2667
 fi
 
2668
-rm -fr conftest*
 
2669
-ac_ext=c
 
2670
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
2671
-ac_cpp='$CPP $CPPFLAGS'
 
2672
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
2673
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
2674
-cross_compiling=$ac_cv_prog_cc_cross
 
2675
+{ echo "$as_me:$LINENO: result: yes" >&5
 
2676
+echo "${ECHO_T}yes" >&6; }
 
2677
 
 
2678
-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
 
2679
-if test $ac_cv_prog_cc_works = no; then
 
2680
-  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 
2681
+# Clean up; list also $ac_file, in case it matched a wildcard entry.
 
2682
+rm -f $ac_outfiles $ac_file
 
2683
+
 
2684
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2685
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2686
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2687
+echo "${ECHO_T}$cross_compiling" >&6; }
 
2688
+
 
2689
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2690
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2691
+if test "${ac_cv_exeext+set}" = set; then
 
2692
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2693
+else
 
2694
+  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2695
+  (eval $ac_link) 2>&5
 
2696
+  ac_status=$?
 
2697
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2698
+  (exit $ac_status); }; then
 
2699
+  # If both `conftest.exe' and `conftest' are `present' (well, observable),
 
2700
+    # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2701
+    # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
 
2702
+    for ac_file in conftest.exe conftest conftest.* NO; do
 
2703
+      test -f "$ac_file" || continue
 
2704
+      case $ac_file in
 
2705
+       *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2706
+       *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2707
+             break;;
 
2708
+       * ) break;;
 
2709
+      esac
 
2710
+    done
 
2711
+    if test "$ac_file" = NO; then
 
2712
+  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
 
2713
+See \`config.log' for more details." >&5
 
2714
+echo "$as_me: error: cannot compute suffix of executables: no output file found
 
2715
+See \`config.log' for more details." >&2;}
 
2716
+   { (exit 1); exit 1; }; }
 
2717
 fi
 
2718
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 
2719
-echo "configure:702: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
2720
-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 
2721
-cross_compiling=$ac_cv_prog_cc_cross
 
2722
 
 
2723
-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
 
2724
-echo "configure:707: checking whether we are using GNU C" >&5
 
2725
-if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
 
2726
-  echo $ac_n "(cached) $ac_c" 1>&6
 
2727
-else
 
2728
-  cat > conftest.c <<EOF
 
2729
-#ifdef __GNUC__
 
2730
-  yes;
 
2731
-#endif
 
2732
-EOF
 
2733
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
2734
-  ac_cv_prog_gcc=yes
 
2735
+    # Clean up; list also $ac_file, in case it matched conftest.*.
 
2736
+    rm -f $ac_outfiles $ac_file
 
2737
+
 
2738
 else
 
2739
-  ac_cv_prog_gcc=no
 
2740
+  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2741
+See \`config.log' for more details." >&5
 
2742
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2743
+See \`config.log' for more details." >&2;}
 
2744
+   { (exit 1); exit 1; }; }
 
2745
+
 
2746
 fi
 
2747
+
 
2748
+
 
2749
 fi
 
2750
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2751
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2752
+EXEEXT=$ac_cv_exeext
 
2753
+ac_exeext=$EXEEXT
 
2754
 
 
2755
-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 
2756
 
 
2757
-if test $ac_cv_prog_gcc = yes; then
 
2758
-  GCC=yes
 
2759
+ac_clean_files=$ac_clean_files_save
 
2760
+
 
2761
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2762
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2763
+if test "${ac_cv_objext+set}" = set; then
 
2764
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2765
 else
 
2766
-  GCC=
 
2767
+  rm -f conftest.o conftest.obj
 
2768
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2769
+  (eval $ac_compile) 2>&5
 
2770
+  ac_status=$?
 
2771
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2772
+  (exit $ac_status); }; then
 
2773
+  for ac_file in conftest.o conftest.obj conftest.*; do
 
2774
+  test -f "$ac_file" || continue;
 
2775
+  case $ac_file in
 
2776
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2777
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2778
+       break;;
 
2779
+  esac
 
2780
+done
 
2781
+else
 
2782
+  echo "$as_me: failed program was:" >&5
 
2783
+sed 's/^/| /' conftest.$ac_ext >&5
 
2784
+
 
2785
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2786
+See \`config.log' for more details." >&5
 
2787
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2788
+See \`config.log' for more details." >&2;}
 
2789
+   { (exit 1); exit 1; }; }
 
2790
 fi
 
2791
 
 
2792
-ac_test_CFLAGS="${CFLAGS+set}"
 
2793
-ac_save_CFLAGS="$CFLAGS"
 
2794
-CFLAGS=
 
2795
-echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 
2796
-echo "configure:735: checking whether ${CC-cc} accepts -g" >&5
 
2797
-if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
 
2798
-  echo $ac_n "(cached) $ac_c" 1>&6
 
2799
+fi
 
2800
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2801
+echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2802
+OBJEXT=$ac_cv_objext
 
2803
+ac_objext=$OBJEXT
 
2804
+
 
2805
+
 
2806
+rm -f conftest.*
 
2807
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2808
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2809
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2810
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2811
+else
 
2812
+  cat >conftest.$ac_ext <<_ACEOF
 
2813
+/* confdefs.h.  */
 
2814
+_ACEOF
 
2815
+cat confdefs.h >>conftest.$ac_ext
 
2816
+cat >>conftest.$ac_ext <<_ACEOF
 
2817
+/* end confdefs.h.  */
 
2818
+
 
2819
+int
 
2820
+main ()
 
2821
+{
 
2822
+#ifndef __GNUC__
 
2823
+       choke me
 
2824
+#endif
 
2825
+
 
2826
+  ;
 
2827
+  return 0;
 
2828
+}
 
2829
+_ACEOF
 
2830
+rm -f conftest.$ac_objext
 
2831
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2832
+  (eval $ac_compile) 2>conftest.er1
 
2833
+  ac_status=$?
 
2834
+  grep -v '^ *+' conftest.er1 >conftest.err
 
2835
+  rm -f conftest.er1
 
2836
+  cat conftest.err >&5
 
2837
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2838
+  (exit $ac_status); } &&
 
2839
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2840
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2841
+  (eval $ac_try) 2>&5
 
2842
+  ac_status=$?
 
2843
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2844
+  (exit $ac_status); }; } &&
 
2845
+        { ac_try='test -s conftest.$ac_objext'
 
2846
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2847
+  (eval $ac_try) 2>&5
 
2848
+  ac_status=$?
 
2849
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2850
+  (exit $ac_status); }; }; then
 
2851
+  ac_compiler_gnu=yes
 
2852
+else
 
2853
+  echo "$as_me: failed program was:" >&5
 
2854
+sed 's/^/| /' conftest.$ac_ext >&5
 
2855
+
 
2856
+       ac_compiler_gnu=no
 
2857
+fi
 
2858
+
 
2859
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2860
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2861
+
 
2862
+fi
 
2863
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2864
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
2865
+GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2866
+ac_test_CFLAGS=${CFLAGS+set}
 
2867
+ac_save_CFLAGS=$CFLAGS
 
2868
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2869
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2870
+if test "${ac_cv_prog_cc_g+set}" = set; then
 
2871
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2872
+else
 
2873
+  ac_save_c_werror_flag=$ac_c_werror_flag
 
2874
+   ac_c_werror_flag=yes
 
2875
+   ac_cv_prog_cc_g=no
 
2876
+   CFLAGS="-g"
 
2877
+   cat >conftest.$ac_ext <<_ACEOF
 
2878
+/* confdefs.h.  */
 
2879
+_ACEOF
 
2880
+cat confdefs.h >>conftest.$ac_ext
 
2881
+cat >>conftest.$ac_ext <<_ACEOF
 
2882
+/* end confdefs.h.  */
 
2883
+
 
2884
+int
 
2885
+main ()
 
2886
+{
 
2887
+
 
2888
+  ;
 
2889
+  return 0;
 
2890
+}
 
2891
+_ACEOF
 
2892
+rm -f conftest.$ac_objext
 
2893
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2894
+  (eval $ac_compile) 2>conftest.er1
 
2895
+  ac_status=$?
 
2896
+  grep -v '^ *+' conftest.er1 >conftest.err
 
2897
+  rm -f conftest.er1
 
2898
+  cat conftest.err >&5
 
2899
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2900
+  (exit $ac_status); } &&
 
2901
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2902
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2903
+  (eval $ac_try) 2>&5
 
2904
+  ac_status=$?
 
2905
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2906
+  (exit $ac_status); }; } &&
 
2907
+        { ac_try='test -s conftest.$ac_objext'
 
2908
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2909
+  (eval $ac_try) 2>&5
 
2910
+  ac_status=$?
 
2911
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2912
+  (exit $ac_status); }; }; then
 
2913
+  ac_cv_prog_cc_g=yes
 
2914
 else
 
2915
-  echo 'void f(){}' > conftest.c
 
2916
-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
 
2917
+  echo "$as_me: failed program was:" >&5
 
2918
+sed 's/^/| /' conftest.$ac_ext >&5
 
2919
+
 
2920
+       CFLAGS=""
 
2921
+      cat >conftest.$ac_ext <<_ACEOF
 
2922
+/* confdefs.h.  */
 
2923
+_ACEOF
 
2924
+cat confdefs.h >>conftest.$ac_ext
 
2925
+cat >>conftest.$ac_ext <<_ACEOF
 
2926
+/* end confdefs.h.  */
 
2927
+
 
2928
+int
 
2929
+main ()
 
2930
+{
 
2931
+
 
2932
+  ;
 
2933
+  return 0;
 
2934
+}
 
2935
+_ACEOF
 
2936
+rm -f conftest.$ac_objext
 
2937
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2938
+  (eval $ac_compile) 2>conftest.er1
 
2939
+  ac_status=$?
 
2940
+  grep -v '^ *+' conftest.er1 >conftest.err
 
2941
+  rm -f conftest.er1
 
2942
+  cat conftest.err >&5
 
2943
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2944
+  (exit $ac_status); } &&
 
2945
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2946
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2947
+  (eval $ac_try) 2>&5
 
2948
+  ac_status=$?
 
2949
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2950
+  (exit $ac_status); }; } &&
 
2951
+        { ac_try='test -s conftest.$ac_objext'
 
2952
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2953
+  (eval $ac_try) 2>&5
 
2954
+  ac_status=$?
 
2955
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2956
+  (exit $ac_status); }; }; then
 
2957
+  :
 
2958
+else
 
2959
+  echo "$as_me: failed program was:" >&5
 
2960
+sed 's/^/| /' conftest.$ac_ext >&5
 
2961
+
 
2962
+       ac_c_werror_flag=$ac_save_c_werror_flag
 
2963
+        CFLAGS="-g"
 
2964
+        cat >conftest.$ac_ext <<_ACEOF
 
2965
+/* confdefs.h.  */
 
2966
+_ACEOF
 
2967
+cat confdefs.h >>conftest.$ac_ext
 
2968
+cat >>conftest.$ac_ext <<_ACEOF
 
2969
+/* end confdefs.h.  */
 
2970
+
 
2971
+int
 
2972
+main ()
 
2973
+{
 
2974
+
 
2975
+  ;
 
2976
+  return 0;
 
2977
+}
 
2978
+_ACEOF
 
2979
+rm -f conftest.$ac_objext
 
2980
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2981
+  (eval $ac_compile) 2>conftest.er1
 
2982
+  ac_status=$?
 
2983
+  grep -v '^ *+' conftest.er1 >conftest.err
 
2984
+  rm -f conftest.er1
 
2985
+  cat conftest.err >&5
 
2986
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2987
+  (exit $ac_status); } &&
 
2988
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2989
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2990
+  (eval $ac_try) 2>&5
 
2991
+  ac_status=$?
 
2992
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2993
+  (exit $ac_status); }; } &&
 
2994
+        { ac_try='test -s conftest.$ac_objext'
 
2995
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2996
+  (eval $ac_try) 2>&5
 
2997
+  ac_status=$?
 
2998
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2999
+  (exit $ac_status); }; }; then
 
3000
   ac_cv_prog_cc_g=yes
 
3001
 else
 
3002
-  ac_cv_prog_cc_g=no
 
3003
+  echo "$as_me: failed program was:" >&5
 
3004
+sed 's/^/| /' conftest.$ac_ext >&5
 
3005
+
 
3006
+
 
3007
 fi
 
3008
-rm -f conftest*
 
3009
 
 
3010
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3011
 fi
 
3012
 
 
3013
-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
 
3014
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3015
+fi
 
3016
+
 
3017
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3018
+   ac_c_werror_flag=$ac_save_c_werror_flag
 
3019
+fi
 
3020
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3021
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3022
 if test "$ac_test_CFLAGS" = set; then
 
3023
-  CFLAGS="$ac_save_CFLAGS"
 
3024
+  CFLAGS=$ac_save_CFLAGS
 
3025
 elif test $ac_cv_prog_cc_g = yes; then
 
3026
   if test "$GCC" = yes; then
 
3027
     CFLAGS="-g -O2"
 
3028
@@ -761,136 +2622,472 @@
 
3029
     CFLAGS=
 
3030
   fi
 
3031
 fi
 
3032
-
 
3033
-for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
 
3034
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3035
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3036
+if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3037
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3038
+else
 
3039
+  ac_cv_prog_cc_c89=no
 
3040
+ac_save_CC=$CC
 
3041
+cat >conftest.$ac_ext <<_ACEOF
 
3042
+/* confdefs.h.  */
 
3043
+_ACEOF
 
3044
+cat confdefs.h >>conftest.$ac_ext
 
3045
+cat >>conftest.$ac_ext <<_ACEOF
 
3046
+/* end confdefs.h.  */
 
3047
+#include <stdarg.h>
 
3048
+#include <stdio.h>
 
3049
+#include <sys/types.h>
 
3050
+#include <sys/stat.h>
 
3051
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3052
+struct buf { int x; };
 
3053
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3054
+static char *e (p, i)
 
3055
+     char **p;
 
3056
+     int i;
 
3057
+{
 
3058
+  return p[i];
 
3059
+}
 
3060
+static char *f (char * (*g) (char **, int), char **p, ...)
 
3061
+{
 
3062
+  char *s;
 
3063
+  va_list v;
 
3064
+  va_start (v,p);
 
3065
+  s = g (p, va_arg (v,int));
 
3066
+  va_end (v);
 
3067
+  return s;
 
3068
+}
 
3069
+
 
3070
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3071
+   function prototypes and stuff, but not '\xHH' hex character constants.
 
3072
+   These don't provoke an error unfortunately, instead are silently treated
 
3073
+   as 'x'.  The following induces an error, until -std is added to get
 
3074
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3075
+   array size at least.  It's necessary to write '\x00'==0 to get something
 
3076
+   that's true only with -std.  */
 
3077
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3078
+
 
3079
+int test (int i, double x);
 
3080
+struct s1 {int (*f) (int a);};
 
3081
+struct s2 {int (*f) (double a);};
 
3082
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3083
+int argc;
 
3084
+char **argv;
 
3085
+int
 
3086
+main ()
 
3087
+{
 
3088
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3089
+  ;
 
3090
+  return 0;
 
3091
+}
 
3092
+_ACEOF
 
3093
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3094
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3095
 do
 
3096
-# Extract the first word of "$ac_prog", so it can be a program name with args.
 
3097
-set dummy $ac_prog; ac_word=$2
 
3098
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
3099
-echo "configure:771: checking for $ac_word" >&5
 
3100
-if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
 
3101
-  echo $ac_n "(cached) $ac_c" 1>&6
 
3102
+  CC="$ac_save_CC $ac_arg"
 
3103
+  rm -f conftest.$ac_objext
 
3104
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3105
+  (eval $ac_compile) 2>conftest.er1
 
3106
+  ac_status=$?
 
3107
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3108
+  rm -f conftest.er1
 
3109
+  cat conftest.err >&5
 
3110
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3111
+  (exit $ac_status); } &&
 
3112
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3113
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3114
+  (eval $ac_try) 2>&5
 
3115
+  ac_status=$?
 
3116
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3117
+  (exit $ac_status); }; } &&
 
3118
+        { ac_try='test -s conftest.$ac_objext'
 
3119
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3120
+  (eval $ac_try) 2>&5
 
3121
+  ac_status=$?
 
3122
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3123
+  (exit $ac_status); }; }; then
 
3124
+  ac_cv_prog_cc_c89=$ac_arg
 
3125
+else
 
3126
+  echo "$as_me: failed program was:" >&5
 
3127
+sed 's/^/| /' conftest.$ac_ext >&5
 
3128
+
 
3129
+
 
3130
+fi
 
3131
+
 
3132
+rm -f conftest.err conftest.$ac_objext
 
3133
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3134
+done
 
3135
+rm -f conftest.$ac_ext
 
3136
+CC=$ac_save_CC
 
3137
+
 
3138
+fi
 
3139
+# AC_CACHE_VAL
 
3140
+case "x$ac_cv_prog_cc_c89" in
 
3141
+  x)
 
3142
+    { echo "$as_me:$LINENO: result: none needed" >&5
 
3143
+echo "${ECHO_T}none needed" >&6; } ;;
 
3144
+  xno)
 
3145
+    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3146
+echo "${ECHO_T}unsupported" >&6; } ;;
 
3147
+  *)
 
3148
+    CC="$CC $ac_cv_prog_cc_c89"
 
3149
+    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3150
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3151
+esac
 
3152
+
 
3153
+
 
3154
+ac_ext=c
 
3155
+ac_cpp='$CPP $CPPFLAGS'
 
3156
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3157
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3158
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3159
+
 
3160
+ac_ext=cpp
 
3161
+ac_cpp='$CXXCPP $CPPFLAGS'
 
3162
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3163
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3164
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
3165
+if test -z "$CXX"; then
 
3166
+  if test -n "$CCC"; then
 
3167
+    CXX=$CCC
 
3168
+  else
 
3169
+    if test -n "$ac_tool_prefix"; then
 
3170
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
3171
+  do
 
3172
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3173
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3174
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3175
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3176
+if test "${ac_cv_prog_CXX+set}" = set; then
 
3177
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3178
 else
 
3179
   if test -n "$CXX"; then
 
3180
   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
3181
 else
 
3182
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
3183
-  ac_dummy="$PATH"
 
3184
-  for ac_dir in $ac_dummy; do
 
3185
-    test -z "$ac_dir" && ac_dir=.
 
3186
-    if test -f $ac_dir/$ac_word; then
 
3187
-      ac_cv_prog_CXX="$ac_prog"
 
3188
-      break
 
3189
-    fi
 
3190
-  done
 
3191
-  IFS="$ac_save_ifs"
 
3192
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3193
+for as_dir in $PATH
 
3194
+do
 
3195
+  IFS=$as_save_IFS
 
3196
+  test -z "$as_dir" && as_dir=.
 
3197
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
3198
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3199
+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
3200
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3201
+    break 2
 
3202
+  fi
 
3203
+done
 
3204
+done
 
3205
+IFS=$as_save_IFS
 
3206
+
 
3207
 fi
 
3208
 fi
 
3209
-CXX="$ac_cv_prog_CXX"
 
3210
+CXX=$ac_cv_prog_CXX
 
3211
 if test -n "$CXX"; then
 
3212
-  echo "$ac_t""$CXX" 1>&6
 
3213
+  { echo "$as_me:$LINENO: result: $CXX" >&5
 
3214
+echo "${ECHO_T}$CXX" >&6; }
 
3215
 else
 
3216
-  echo "$ac_t""no" 1>&6
 
3217
+  { echo "$as_me:$LINENO: result: no" >&5
 
3218
+echo "${ECHO_T}no" >&6; }
 
3219
 fi
 
3220
 
 
3221
-test -n "$CXX" && break
 
3222
-done
 
3223
-test -n "$CXX" || CXX="gcc"
 
3224
 
 
3225
+    test -n "$CXX" && break
 
3226
+  done
 
3227
+fi
 
3228
+if test -z "$CXX"; then
 
3229
+  ac_ct_CXX=$CXX
 
3230
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
3231
+do
 
3232
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3233
+set dummy $ac_prog; ac_word=$2
 
3234
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3235
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3236
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
3237
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3238
+else
 
3239
+  if test -n "$ac_ct_CXX"; then
 
3240
+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
3241
+else
 
3242
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3243
+for as_dir in $PATH
 
3244
+do
 
3245
+  IFS=$as_save_IFS
 
3246
+  test -z "$as_dir" && as_dir=.
 
3247
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
3248
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3249
+    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
3250
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3251
+    break 2
 
3252
+  fi
 
3253
+done
 
3254
+done
 
3255
+IFS=$as_save_IFS
 
3256
 
 
3257
-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 
3258
-echo "configure:803: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
 
3259
-
 
3260
-ac_ext=C
 
3261
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
3262
-ac_cpp='$CXXCPP $CPPFLAGS'
 
3263
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
3264
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
3265
-cross_compiling=$ac_cv_prog_cxx_cross
 
3266
+fi
 
3267
+fi
 
3268
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
3269
+if test -n "$ac_ct_CXX"; then
 
3270
+  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
3271
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
3272
+else
 
3273
+  { echo "$as_me:$LINENO: result: no" >&5
 
3274
+echo "${ECHO_T}no" >&6; }
 
3275
+fi
 
3276
 
 
3277
-cat > conftest.$ac_ext << EOF
 
3278
 
 
3279
-#line 814 "configure"
 
3280
-#include "confdefs.h"
 
3281
+  test -n "$ac_ct_CXX" && break
 
3282
+done
 
3283
 
 
3284
-int main(){return(0);}
 
3285
-EOF
 
3286
-if { (eval echo configure:819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
3287
-  ac_cv_prog_cxx_works=yes
 
3288
-  # If we can't run a trivial program, we are probably using a cross compiler.
 
3289
-  if (./conftest; exit) 2>/dev/null; then
 
3290
-    ac_cv_prog_cxx_cross=no
 
3291
+  if test "x$ac_ct_CXX" = x; then
 
3292
+    CXX="g++"
 
3293
   else
 
3294
-    ac_cv_prog_cxx_cross=yes
 
3295
+    case $cross_compiling:$ac_tool_warned in
 
3296
+yes:)
 
3297
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3298
+whose name does not start with the host triplet.  If you think this
 
3299
+configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3300
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3301
+whose name does not start with the host triplet.  If you think this
 
3302
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3303
+ac_tool_warned=yes ;;
 
3304
+esac
 
3305
+    CXX=$ac_ct_CXX
 
3306
   fi
 
3307
-else
 
3308
-  echo "configure: failed program was:" >&5
 
3309
-  cat conftest.$ac_ext >&5
 
3310
-  ac_cv_prog_cxx_works=no
 
3311
 fi
 
3312
-rm -fr conftest*
 
3313
-ac_ext=c
 
3314
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
3315
-ac_cpp='$CPP $CPPFLAGS'
 
3316
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
3317
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
3318
-cross_compiling=$ac_cv_prog_cc_cross
 
3319
 
 
3320
-echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
 
3321
-if test $ac_cv_prog_cxx_works = no; then
 
3322
-  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
 
3323
+  fi
 
3324
 fi
 
3325
-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 
3326
-echo "configure:845: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 
3327
-echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
 
3328
-cross_compiling=$ac_cv_prog_cxx_cross
 
3329
-
 
3330
-echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
 
3331
-echo "configure:850: checking whether we are using GNU C++" >&5
 
3332
-if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
 
3333
-  echo $ac_n "(cached) $ac_c" 1>&6
 
3334
-else
 
3335
-  cat > conftest.C <<EOF
 
3336
-#ifdef __GNUC__
 
3337
-  yes;
 
3338
+# Provide some information about the compiler.
 
3339
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
3340
+ac_compiler=`set X $ac_compile; echo $2`
 
3341
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
 
3342
+  (eval $ac_compiler --version >&5) 2>&5
 
3343
+  ac_status=$?
 
3344
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3345
+  (exit $ac_status); }
 
3346
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
 
3347
+  (eval $ac_compiler -v >&5) 2>&5
 
3348
+  ac_status=$?
 
3349
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3350
+  (exit $ac_status); }
 
3351
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
 
3352
+  (eval $ac_compiler -V >&5) 2>&5
 
3353
+  ac_status=$?
 
3354
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3355
+  (exit $ac_status); }
 
3356
+
 
3357
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
3358
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
3359
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
3360
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3361
+else
 
3362
+  cat >conftest.$ac_ext <<_ACEOF
 
3363
+/* confdefs.h.  */
 
3364
+_ACEOF
 
3365
+cat confdefs.h >>conftest.$ac_ext
 
3366
+cat >>conftest.$ac_ext <<_ACEOF
 
3367
+/* end confdefs.h.  */
 
3368
+
 
3369
+int
 
3370
+main ()
 
3371
+{
 
3372
+#ifndef __GNUC__
 
3373
+       choke me
 
3374
 #endif
 
3375
-EOF
 
3376
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
3377
-  ac_cv_prog_gxx=yes
 
3378
-else
 
3379
-  ac_cv_prog_gxx=no
 
3380
-fi
 
3381
-fi
 
3382
-
 
3383
-echo "$ac_t""$ac_cv_prog_gxx" 1>&6
 
3384
 
 
3385
-if test $ac_cv_prog_gxx = yes; then
 
3386
-  GXX=yes
 
3387
+  ;
 
3388
+  return 0;
 
3389
+}
 
3390
+_ACEOF
 
3391
+rm -f conftest.$ac_objext
 
3392
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3393
+  (eval $ac_compile) 2>conftest.er1
 
3394
+  ac_status=$?
 
3395
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3396
+  rm -f conftest.er1
 
3397
+  cat conftest.err >&5
 
3398
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3399
+  (exit $ac_status); } &&
 
3400
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3401
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3402
+  (eval $ac_try) 2>&5
 
3403
+  ac_status=$?
 
3404
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3405
+  (exit $ac_status); }; } &&
 
3406
+        { ac_try='test -s conftest.$ac_objext'
 
3407
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3408
+  (eval $ac_try) 2>&5
 
3409
+  ac_status=$?
 
3410
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3411
+  (exit $ac_status); }; }; then
 
3412
+  ac_compiler_gnu=yes
 
3413
+else
 
3414
+  echo "$as_me: failed program was:" >&5
 
3415
+sed 's/^/| /' conftest.$ac_ext >&5
 
3416
+
 
3417
+       ac_compiler_gnu=no
 
3418
+fi
 
3419
+
 
3420
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3421
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
3422
+
 
3423
+fi
 
3424
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
3425
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
 
3426
+GXX=`test $ac_compiler_gnu = yes && echo yes`
 
3427
+ac_test_CXXFLAGS=${CXXFLAGS+set}
 
3428
+ac_save_CXXFLAGS=$CXXFLAGS
 
3429
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
3430
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
3431
+if test "${ac_cv_prog_cxx_g+set}" = set; then
 
3432
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3433
+else
 
3434
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3435
+   ac_cxx_werror_flag=yes
 
3436
+   ac_cv_prog_cxx_g=no
 
3437
+   CXXFLAGS="-g"
 
3438
+   cat >conftest.$ac_ext <<_ACEOF
 
3439
+/* confdefs.h.  */
 
3440
+_ACEOF
 
3441
+cat confdefs.h >>conftest.$ac_ext
 
3442
+cat >>conftest.$ac_ext <<_ACEOF
 
3443
+/* end confdefs.h.  */
 
3444
+
 
3445
+int
 
3446
+main ()
 
3447
+{
 
3448
+
 
3449
+  ;
 
3450
+  return 0;
 
3451
+}
 
3452
+_ACEOF
 
3453
+rm -f conftest.$ac_objext
 
3454
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3463
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3464
+  (eval $ac_try) 2>&5
 
3465
+  ac_status=$?
 
3466
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3467
+  (exit $ac_status); }; } &&
 
3468
+        { ac_try='test -s conftest.$ac_objext'
 
3469
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3470
+  (eval $ac_try) 2>&5
 
3471
+  ac_status=$?
 
3472
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3473
+  (exit $ac_status); }; }; then
 
3474
+  ac_cv_prog_cxx_g=yes
 
3475
 else
 
3476
-  GXX=
 
3477
-fi
 
3478
+  echo "$as_me: failed program was:" >&5
 
3479
+sed 's/^/| /' conftest.$ac_ext >&5
 
3480
 
 
3481
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
 
3482
-ac_save_CXXFLAGS="$CXXFLAGS"
 
3483
-CXXFLAGS=
 
3484
-echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
 
3485
-echo "configure:878: checking whether ${CXX-g++} accepts -g" >&5
 
3486
-if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
 
3487
-  echo $ac_n "(cached) $ac_c" 1>&6
 
3488
+       CXXFLAGS=""
 
3489
+      cat >conftest.$ac_ext <<_ACEOF
 
3490
+/* confdefs.h.  */
 
3491
+_ACEOF
 
3492
+cat confdefs.h >>conftest.$ac_ext
 
3493
+cat >>conftest.$ac_ext <<_ACEOF
 
3494
+/* end confdefs.h.  */
 
3495
+
 
3496
+int
 
3497
+main ()
 
3498
+{
 
3499
+
 
3500
+  ;
 
3501
+  return 0;
 
3502
+}
 
3503
+_ACEOF
 
3504
+rm -f conftest.$ac_objext
 
3505
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3506
+  (eval $ac_compile) 2>conftest.er1
 
3507
+  ac_status=$?
 
3508
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3509
+  rm -f conftest.er1
 
3510
+  cat conftest.err >&5
 
3511
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3512
+  (exit $ac_status); } &&
 
3513
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3514
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3515
+  (eval $ac_try) 2>&5
 
3516
+  ac_status=$?
 
3517
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3518
+  (exit $ac_status); }; } &&
 
3519
+        { ac_try='test -s conftest.$ac_objext'
 
3520
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3521
+  (eval $ac_try) 2>&5
 
3522
+  ac_status=$?
 
3523
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3524
+  (exit $ac_status); }; }; then
 
3525
+  :
 
3526
 else
 
3527
-  echo 'void f(){}' > conftest.cc
 
3528
-if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
 
3529
+  echo "$as_me: failed program was:" >&5
 
3530
+sed 's/^/| /' conftest.$ac_ext >&5
 
3531
+
 
3532
+       ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3533
+        CXXFLAGS="-g"
 
3534
+        cat >conftest.$ac_ext <<_ACEOF
 
3535
+/* confdefs.h.  */
 
3536
+_ACEOF
 
3537
+cat confdefs.h >>conftest.$ac_ext
 
3538
+cat >>conftest.$ac_ext <<_ACEOF
 
3539
+/* end confdefs.h.  */
 
3540
+
 
3541
+int
 
3542
+main ()
 
3543
+{
 
3544
+
 
3545
+  ;
 
3546
+  return 0;
 
3547
+}
 
3548
+_ACEOF
 
3549
+rm -f conftest.$ac_objext
 
3550
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
3551
+  (eval $ac_compile) 2>conftest.er1
 
3552
+  ac_status=$?
 
3553
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3554
+  rm -f conftest.er1
 
3555
+  cat conftest.err >&5
 
3556
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3557
+  (exit $ac_status); } &&
 
3558
+        { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3559
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3560
+  (eval $ac_try) 2>&5
 
3561
+  ac_status=$?
 
3562
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3563
+  (exit $ac_status); }; } &&
 
3564
+        { ac_try='test -s conftest.$ac_objext'
 
3565
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3566
+  (eval $ac_try) 2>&5
 
3567
+  ac_status=$?
 
3568
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3569
+  (exit $ac_status); }; }; then
 
3570
   ac_cv_prog_cxx_g=yes
 
3571
 else
 
3572
-  ac_cv_prog_cxx_g=no
 
3573
+  echo "$as_me: failed program was:" >&5
 
3574
+sed 's/^/| /' conftest.$ac_ext >&5
 
3575
+
 
3576
+
 
3577
+fi
 
3578
+
 
3579
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3580
 fi
 
3581
-rm -f conftest*
 
3582
 
 
3583
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3584
 fi
 
3585
 
 
3586
-echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
 
3587
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3588
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3589
+fi
 
3590
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
3591
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
3592
 if test "$ac_test_CXXFLAGS" = set; then
 
3593
-  CXXFLAGS="$ac_save_CXXFLAGS"
 
3594
+  CXXFLAGS=$ac_save_CXXFLAGS
 
3595
 elif test $ac_cv_prog_cxx_g = yes; then
 
3596
   if test "$GXX" = yes; then
 
3597
     CXXFLAGS="-g -O2"
 
3598
@@ -904,25 +3101,11 @@
 
3599
     CXXFLAGS=
 
3600
   fi
 
3601
 fi
 
3602
-
 
3603
-ac_aux_dir=
 
3604
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
3605
-  if test -f $ac_dir/install-sh; then
 
3606
-    ac_aux_dir=$ac_dir
 
3607
-    ac_install_sh="$ac_aux_dir/install-sh -c"
 
3608
-    break
 
3609
-  elif test -f $ac_dir/install.sh; then
 
3610
-    ac_aux_dir=$ac_dir
 
3611
-    ac_install_sh="$ac_aux_dir/install.sh -c"
 
3612
-    break
 
3613
-  fi
 
3614
-done
 
3615
-if test -z "$ac_aux_dir"; then
 
3616
-  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
 
3617
-fi
 
3618
-ac_config_guess=$ac_aux_dir/config.guess
 
3619
-ac_config_sub=$ac_aux_dir/config.sub
 
3620
-ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 
3621
+ac_ext=c
 
3622
+ac_cpp='$CPP $CPPFLAGS'
 
3623
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3624
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3625
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3626
 
 
3627
 # Find a good install program.  We prefer a C program (faster),
 
3628
 # so one script is as good as another.  But avoid the broken or
 
3629
@@ -931,184 +3114,552 @@
 
3630
 # SunOS /usr/etc/install
 
3631
 # IRIX /sbin/install
 
3632
 # AIX /bin/install
 
3633
+# AmigaOS /C/install, which installs bootblocks on floppy discs
 
3634
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
3635
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
3636
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
3637
+# OS/2's system install, which has a completely different semantic
 
3638
 # ./install, which can be erroneously created by make from ./install.sh.
 
3639
-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 
3640
-echo "configure:940: checking for a BSD compatible install" >&5
 
3641
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3642
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3643
 if test -z "$INSTALL"; then
 
3644
-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
 
3645
-  echo $ac_n "(cached) $ac_c" 1>&6
 
3646
+if test "${ac_cv_path_install+set}" = set; then
 
3647
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3648
 else
 
3649
-    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
 
3650
-  for ac_dir in $PATH; do
 
3651
-    # Account for people who put trailing slashes in PATH elements.
 
3652
-    case "$ac_dir/" in
 
3653
-    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
 
3654
-    *)
 
3655
-      # OSF1 and SCO ODT 3.0 have their own names for install.
 
3656
-      # Don't use installbsd from OSF since it installs stuff as root
 
3657
-      # by default.
 
3658
-      for ac_prog in ginstall scoinst install; do
 
3659
-        if test -f $ac_dir/$ac_prog; then
 
3660
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3661
+for as_dir in $PATH
 
3662
+do
 
3663
+  IFS=$as_save_IFS
 
3664
+  test -z "$as_dir" && as_dir=.
 
3665
+  # Account for people who put trailing slashes in PATH elements.
 
3666
+case $as_dir/ in
 
3667
+  ./ | .// | /cC/* | \
 
3668
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
3669
+  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
3670
+  /usr/ucb/* ) ;;
 
3671
+  *)
 
3672
+    # OSF1 and SCO ODT 3.0 have their own names for install.
 
3673
+    # Don't use installbsd from OSF since it installs stuff as root
 
3674
+    # by default.
 
3675
+    for ac_prog in ginstall scoinst install; do
 
3676
+      for ac_exec_ext in '' $ac_executable_extensions; do
 
3677
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
3678
          if test $ac_prog = install &&
 
3679
-            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
 
3680
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3681
            # AIX install.  It has an incompatible calling convention.
 
3682
            :
 
3683
+         elif test $ac_prog = install &&
 
3684
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3685
+           # program-specific install script used by HP pwplus--don't use.
 
3686
+           :
 
3687
          else
 
3688
-           ac_cv_path_install="$ac_dir/$ac_prog -c"
 
3689
-           break 2
 
3690
+           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3691
+           break 3
 
3692
          fi
 
3693
        fi
 
3694
       done
 
3695
-      ;;
 
3696
-    esac
 
3697
-  done
 
3698
-  IFS="$ac_save_IFS"
 
3699
+    done
 
3700
+    ;;
 
3701
+esac
 
3702
+done
 
3703
+IFS=$as_save_IFS
 
3704
+
 
3705
 
 
3706
 fi
 
3707
   if test "${ac_cv_path_install+set}" = set; then
 
3708
-    INSTALL="$ac_cv_path_install"
 
3709
+    INSTALL=$ac_cv_path_install
 
3710
   else
 
3711
-    # As a last resort, use the slow shell script.  We don't cache a
 
3712
-    # path for INSTALL within a source directory, because that will
 
3713
+    # As a last resort, use the slow shell script.  Don't cache a
 
3714
+    # value for INSTALL within a source directory, because that will
 
3715
     # break other packages using the cache if that directory is
 
3716
-    # removed, or if the path is relative.
 
3717
-    INSTALL="$ac_install_sh"
 
3718
+    # removed, or if the value is a relative name.
 
3719
+    INSTALL=$ac_install_sh
 
3720
   fi
 
3721
 fi
 
3722
-echo "$ac_t""$INSTALL" 1>&6
 
3723
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3724
+echo "${ECHO_T}$INSTALL" >&6; }
 
3725
 
 
3726
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
3727
 # It thinks the first close brace ends the variable substitution.
 
3728
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
3729
 
 
3730
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
3731
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
3732
+
 
3733
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
3734
+
 
3735
+
 
3736
+
 
3737
+ac_ext=c
 
3738
+ac_cpp='$CPP $CPPFLAGS'
 
3739
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3740
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3741
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3742
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3743
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3744
+# On Suns, sometimes $CPP names a directory.
 
3745
+if test -n "$CPP" && test -d "$CPP"; then
 
3746
+  CPP=
 
3747
+fi
 
3748
+if test -z "$CPP"; then
 
3749
+  if test "${ac_cv_prog_CPP+set}" = set; then
 
3750
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3751
+else
 
3752
+      # Double quotes because CPP needs to be expanded
 
3753
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3754
+    do
 
3755
+      ac_preproc_ok=false
 
3756
+for ac_c_preproc_warn_flag in '' yes
 
3757
+do
 
3758
+  # Use a header file that comes with gcc, so configuring glibc
 
3759
+  # with a fresh cross-compiler works.
 
3760
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3761
+  # <limits.h> exists even on freestanding compilers.
 
3762
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3763
+  # not just through cpp. "Syntax error" is here to catch this case.
 
3764
+  cat >conftest.$ac_ext <<_ACEOF
 
3765
+/* confdefs.h.  */
 
3766
+_ACEOF
 
3767
+cat confdefs.h >>conftest.$ac_ext
 
3768
+cat >>conftest.$ac_ext <<_ACEOF
 
3769
+/* end confdefs.h.  */
 
3770
+#ifdef __STDC__
 
3771
+# include <limits.h>
 
3772
+#else
 
3773
+# include <assert.h>
 
3774
+#endif
 
3775
+                    Syntax error
 
3776
+_ACEOF
 
3777
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3778
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3779
+  ac_status=$?
 
3780
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3781
+  rm -f conftest.er1
 
3782
+  cat conftest.err >&5
 
3783
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3784
+  (exit $ac_status); } >/dev/null; then
 
3785
+  if test -s conftest.err; then
 
3786
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
3787
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3788
+  else
 
3789
+    ac_cpp_err=
 
3790
+  fi
 
3791
+else
 
3792
+  ac_cpp_err=yes
 
3793
+fi
 
3794
+if test -z "$ac_cpp_err"; then
 
3795
+  :
 
3796
+else
 
3797
+  echo "$as_me: failed program was:" >&5
 
3798
+sed 's/^/| /' conftest.$ac_ext >&5
 
3799
+
 
3800
+  # Broken: fails on valid input.
 
3801
+continue
 
3802
+fi
 
3803
+
 
3804
+rm -f conftest.err conftest.$ac_ext
 
3805
+
 
3806
+  # OK, works on sane cases.  Now check whether nonexistent headers
 
3807
+  # can be detected and how.
 
3808
+  cat >conftest.$ac_ext <<_ACEOF
 
3809
+/* confdefs.h.  */
 
3810
+_ACEOF
 
3811
+cat confdefs.h >>conftest.$ac_ext
 
3812
+cat >>conftest.$ac_ext <<_ACEOF
 
3813
+/* end confdefs.h.  */
 
3814
+#include <ac_nonexistent.h>
 
3815
+_ACEOF
 
3816
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3817
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3818
+  ac_status=$?
 
3819
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3820
+  rm -f conftest.er1
 
3821
+  cat conftest.err >&5
 
3822
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3823
+  (exit $ac_status); } >/dev/null; then
 
3824
+  if test -s conftest.err; then
 
3825
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
3826
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3827
+  else
 
3828
+    ac_cpp_err=
 
3829
+  fi
 
3830
+else
 
3831
+  ac_cpp_err=yes
 
3832
+fi
 
3833
+if test -z "$ac_cpp_err"; then
 
3834
+  # Broken: success on invalid input.
 
3835
+continue
 
3836
+else
 
3837
+  echo "$as_me: failed program was:" >&5
 
3838
+sed 's/^/| /' conftest.$ac_ext >&5
 
3839
+
 
3840
+  # Passes both tests.
 
3841
+ac_preproc_ok=:
 
3842
+break
 
3843
+fi
 
3844
+
 
3845
+rm -f conftest.err conftest.$ac_ext
 
3846
+
 
3847
+done
 
3848
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3849
+rm -f conftest.err conftest.$ac_ext
 
3850
+if $ac_preproc_ok; then
 
3851
+  break
 
3852
+fi
 
3853
+
 
3854
+    done
 
3855
+    ac_cv_prog_CPP=$CPP
 
3856
+
 
3857
+fi
 
3858
+  CPP=$ac_cv_prog_CPP
 
3859
+else
 
3860
+  ac_cv_prog_CPP=$CPP
 
3861
+fi
 
3862
+{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3863
+echo "${ECHO_T}$CPP" >&6; }
 
3864
+ac_preproc_ok=false
 
3865
+for ac_c_preproc_warn_flag in '' yes
 
3866
+do
 
3867
+  # Use a header file that comes with gcc, so configuring glibc
 
3868
+  # with a fresh cross-compiler works.
 
3869
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3870
+  # <limits.h> exists even on freestanding compilers.
 
3871
+  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3872
+  # not just through cpp. "Syntax error" is here to catch this case.
 
3873
+  cat >conftest.$ac_ext <<_ACEOF
 
3874
+/* confdefs.h.  */
 
3875
+_ACEOF
 
3876
+cat confdefs.h >>conftest.$ac_ext
 
3877
+cat >>conftest.$ac_ext <<_ACEOF
 
3878
+/* end confdefs.h.  */
 
3879
+#ifdef __STDC__
 
3880
+# include <limits.h>
 
3881
+#else
 
3882
+# include <assert.h>
 
3883
+#endif
 
3884
+                    Syntax error
 
3885
+_ACEOF
 
3886
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3887
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3888
+  ac_status=$?
 
3889
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3890
+  rm -f conftest.er1
 
3891
+  cat conftest.err >&5
 
3892
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3893
+  (exit $ac_status); } >/dev/null; then
 
3894
+  if test -s conftest.err; then
 
3895
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
3896
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3897
+  else
 
3898
+    ac_cpp_err=
 
3899
+  fi
 
3900
+else
 
3901
+  ac_cpp_err=yes
 
3902
+fi
 
3903
+if test -z "$ac_cpp_err"; then
 
3904
+  :
 
3905
+else
 
3906
+  echo "$as_me: failed program was:" >&5
 
3907
+sed 's/^/| /' conftest.$ac_ext >&5
 
3908
+
 
3909
+  # Broken: fails on valid input.
 
3910
+continue
 
3911
+fi
 
3912
+
 
3913
+rm -f conftest.err conftest.$ac_ext
 
3914
+
 
3915
+  # OK, works on sane cases.  Now check whether nonexistent headers
 
3916
+  # can be detected and how.
 
3917
+  cat >conftest.$ac_ext <<_ACEOF
 
3918
+/* confdefs.h.  */
 
3919
+_ACEOF
 
3920
+cat confdefs.h >>conftest.$ac_ext
 
3921
+cat >>conftest.$ac_ext <<_ACEOF
 
3922
+/* end confdefs.h.  */
 
3923
+#include <ac_nonexistent.h>
 
3924
+_ACEOF
 
3925
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3926
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3927
+  ac_status=$?
 
3928
+  grep -v '^ *+' conftest.er1 >conftest.err
 
3929
+  rm -f conftest.er1
 
3930
+  cat conftest.err >&5
 
3931
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3932
+  (exit $ac_status); } >/dev/null; then
 
3933
+  if test -s conftest.err; then
 
3934
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
3935
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3936
+  else
 
3937
+    ac_cpp_err=
 
3938
+  fi
 
3939
+else
 
3940
+  ac_cpp_err=yes
 
3941
+fi
 
3942
+if test -z "$ac_cpp_err"; then
 
3943
+  # Broken: success on invalid input.
 
3944
+continue
 
3945
+else
 
3946
+  echo "$as_me: failed program was:" >&5
 
3947
+sed 's/^/| /' conftest.$ac_ext >&5
 
3948
+
 
3949
+  # Passes both tests.
 
3950
+ac_preproc_ok=:
 
3951
+break
 
3952
+fi
 
3953
+
 
3954
+rm -f conftest.err conftest.$ac_ext
 
3955
+
 
3956
+done
 
3957
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3958
+rm -f conftest.err conftest.$ac_ext
 
3959
+if $ac_preproc_ok; then
 
3960
+  :
 
3961
+else
 
3962
+  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3963
+See \`config.log' for more details." >&5
 
3964
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3965
+See \`config.log' for more details." >&2;}
 
3966
+   { (exit 1); exit 1; }; }
 
3967
+fi
 
3968
+
 
3969
+ac_ext=c
 
3970
+ac_cpp='$CPP $CPPFLAGS'
 
3971
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3972
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3973
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3974
+
 
3975
+
 
3976
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3977
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3978
+if test "${ac_cv_path_GREP+set}" = set; then
 
3979
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3980
+else
 
3981
+  # Extract the first word of "grep ggrep" to use in msg output
 
3982
+if test -z "$GREP"; then
 
3983
+set dummy grep ggrep; ac_prog_name=$2
 
3984
+if test "${ac_cv_path_GREP+set}" = set; then
 
3985
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3986
+else
 
3987
+  ac_path_GREP_found=false
 
3988
+# Loop through the user's path and test for each of PROGNAME-LIST
 
3989
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3990
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3991
+do
 
3992
+  IFS=$as_save_IFS
 
3993
+  test -z "$as_dir" && as_dir=.
 
3994
+  for ac_prog in grep ggrep; do
 
3995
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
3996
+    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3997
+    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
3998
+    # Check for GNU ac_path_GREP and select it if it is found.
 
3999
+  # Check for GNU $ac_path_GREP
 
4000
+case `"$ac_path_GREP" --version 2>&1` in
 
4001
+*GNU*)
 
4002
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4003
+*)
 
4004
+  ac_count=0
 
4005
+  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4006
+  while :
 
4007
+  do
 
4008
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4009
+    mv "conftest.tmp" "conftest.in"
 
4010
+    cp "conftest.in" "conftest.nl"
 
4011
+    echo 'GREP' >> "conftest.nl"
 
4012
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4013
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4014
+    ac_count=`expr $ac_count + 1`
 
4015
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4016
+      # Best one so far, save it but keep looking for a better one
 
4017
+      ac_cv_path_GREP="$ac_path_GREP"
 
4018
+      ac_path_GREP_max=$ac_count
 
4019
+    fi
 
4020
+    # 10*(2^10) chars as input seems more than enough
 
4021
+    test $ac_count -gt 10 && break
 
4022
+  done
 
4023
+  rm -f conftest.*;;
 
4024
+esac
 
4025
+
 
4026
+
 
4027
+    $ac_path_GREP_found && break 3
 
4028
+  done
 
4029
+done
 
4030
+
 
4031
+done
 
4032
+IFS=$as_save_IFS
 
4033
+
 
4034
+
 
4035
+fi
 
4036
+
 
4037
+GREP="$ac_cv_path_GREP"
 
4038
+if test -z "$GREP"; then
 
4039
+  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4040
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4041
+   { (exit 1); exit 1; }; }
 
4042
+fi
 
4043
+
 
4044
+else
 
4045
+  ac_cv_path_GREP=$GREP
 
4046
+fi
 
4047
+
 
4048
+
 
4049
+fi
 
4050
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4051
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4052
+ GREP="$ac_cv_path_GREP"
 
4053
+
 
4054
+
 
4055
+{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4056
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4057
+if test "${ac_cv_path_EGREP+set}" = set; then
 
4058
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4059
+else
 
4060
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4061
+   then ac_cv_path_EGREP="$GREP -E"
 
4062
+   else
 
4063
+     # Extract the first word of "egrep" to use in msg output
 
4064
+if test -z "$EGREP"; then
 
4065
+set dummy egrep; ac_prog_name=$2
 
4066
+if test "${ac_cv_path_EGREP+set}" = set; then
 
4067
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4068
+else
 
4069
+  ac_path_EGREP_found=false
 
4070
+# Loop through the user's path and test for each of PROGNAME-LIST
 
4071
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4072
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4073
+do
 
4074
+  IFS=$as_save_IFS
 
4075
+  test -z "$as_dir" && as_dir=.
 
4076
+  for ac_prog in egrep; do
 
4077
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
4078
+    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4079
+    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4080
+    # Check for GNU ac_path_EGREP and select it if it is found.
 
4081
+  # Check for GNU $ac_path_EGREP
 
4082
+case `"$ac_path_EGREP" --version 2>&1` in
 
4083
+*GNU*)
 
4084
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4085
+*)
 
4086
+  ac_count=0
 
4087
+  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4088
+  while :
 
4089
+  do
 
4090
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4091
+    mv "conftest.tmp" "conftest.in"
 
4092
+    cp "conftest.in" "conftest.nl"
 
4093
+    echo 'EGREP' >> "conftest.nl"
 
4094
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4095
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4096
+    ac_count=`expr $ac_count + 1`
 
4097
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4098
+      # Best one so far, save it but keep looking for a better one
 
4099
+      ac_cv_path_EGREP="$ac_path_EGREP"
 
4100
+      ac_path_EGREP_max=$ac_count
 
4101
+    fi
 
4102
+    # 10*(2^10) chars as input seems more than enough
 
4103
+    test $ac_count -gt 10 && break
 
4104
+  done
 
4105
+  rm -f conftest.*;;
 
4106
+esac
 
4107
+
 
4108
+
 
4109
+    $ac_path_EGREP_found && break 3
 
4110
+  done
 
4111
+done
 
4112
 
 
4113
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
4114
+done
 
4115
+IFS=$as_save_IFS
 
4116
 
 
4117
 
 
4118
-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 
4119
-echo "configure:994: checking how to run the C preprocessor" >&5
 
4120
-# On Suns, sometimes $CPP names a directory.
 
4121
-if test -n "$CPP" && test -d "$CPP"; then
 
4122
-  CPP=
 
4123
-fi
 
4124
-if test -z "$CPP"; then
 
4125
-if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 
4126
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4127
-else
 
4128
-    # This must be in double quotes, not single quotes, because CPP may get
 
4129
-  # substituted into the Makefile and "${CC-cc}" will confuse make.
 
4130
-  CPP="${CC-cc} -E"
 
4131
-  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4132
-  # not just through cpp.
 
4133
-  cat > conftest.$ac_ext <<EOF
 
4134
-#line 1009 "configure"
 
4135
-#include "confdefs.h"
 
4136
-#include <assert.h>
 
4137
-Syntax Error
 
4138
-EOF
 
4139
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
4140
-{ (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
4141
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
4142
-if test -z "$ac_err"; then
 
4143
-  :
 
4144
-else
 
4145
-  echo "$ac_err" >&5
 
4146
-  echo "configure: failed program was:" >&5
 
4147
-  cat conftest.$ac_ext >&5
 
4148
-  rm -rf conftest*
 
4149
-  CPP="${CC-cc} -E -traditional-cpp"
 
4150
-  cat > conftest.$ac_ext <<EOF
 
4151
-#line 1026 "configure"
 
4152
-#include "confdefs.h"
 
4153
-#include <assert.h>
 
4154
-Syntax Error
 
4155
-EOF
 
4156
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
4157
-{ (eval echo configure:1032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
4158
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
4159
-if test -z "$ac_err"; then
 
4160
-  :
 
4161
-else
 
4162
-  echo "$ac_err" >&5
 
4163
-  echo "configure: failed program was:" >&5
 
4164
-  cat conftest.$ac_ext >&5
 
4165
-  rm -rf conftest*
 
4166
-  CPP="${CC-cc} -nologo -E"
 
4167
-  cat > conftest.$ac_ext <<EOF
 
4168
-#line 1043 "configure"
 
4169
-#include "confdefs.h"
 
4170
-#include <assert.h>
 
4171
-Syntax Error
 
4172
-EOF
 
4173
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
4174
-{ (eval echo configure:1049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
4175
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
4176
-if test -z "$ac_err"; then
 
4177
-  :
 
4178
-else
 
4179
-  echo "$ac_err" >&5
 
4180
-  echo "configure: failed program was:" >&5
 
4181
-  cat conftest.$ac_ext >&5
 
4182
-  rm -rf conftest*
 
4183
-  CPP=/lib/cpp
 
4184
-fi
 
4185
-rm -f conftest*
 
4186
-fi
 
4187
-rm -f conftest*
 
4188
 fi
 
4189
-rm -f conftest*
 
4190
-  ac_cv_prog_CPP="$CPP"
 
4191
+
 
4192
+EGREP="$ac_cv_path_EGREP"
 
4193
+if test -z "$EGREP"; then
 
4194
+  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4195
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4196
+   { (exit 1); exit 1; }; }
 
4197
 fi
 
4198
-  CPP="$ac_cv_prog_CPP"
 
4199
+
 
4200
 else
 
4201
-  ac_cv_prog_CPP="$CPP"
 
4202
+  ac_cv_path_EGREP=$EGREP
 
4203
+fi
 
4204
+
 
4205
+
 
4206
+   fi
 
4207
 fi
 
4208
-echo "$ac_t""$CPP" 1>&6
 
4209
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4210
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4211
+ EGREP="$ac_cv_path_EGREP"
 
4212
+
 
4213
 
 
4214
-echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
 
4215
-echo "configure:1074: checking for ANSI C header files" >&5
 
4216
-if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
 
4217
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4218
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4219
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4220
+if test "${ac_cv_header_stdc+set}" = set; then
 
4221
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4222
 else
 
4223
-  cat > conftest.$ac_ext <<EOF
 
4224
-#line 1079 "configure"
 
4225
-#include "confdefs.h"
 
4226
+  cat >conftest.$ac_ext <<_ACEOF
 
4227
+/* confdefs.h.  */
 
4228
+_ACEOF
 
4229
+cat confdefs.h >>conftest.$ac_ext
 
4230
+cat >>conftest.$ac_ext <<_ACEOF
 
4231
+/* end confdefs.h.  */
 
4232
 #include <stdlib.h>
 
4233
 #include <stdarg.h>
 
4234
 #include <string.h>
 
4235
 #include <float.h>
 
4236
-EOF
 
4237
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
4238
-{ (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
4239
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
4240
-if test -z "$ac_err"; then
 
4241
-  rm -rf conftest*
 
4242
+
 
4243
+int
 
4244
+main ()
 
4245
+{
 
4246
+
 
4247
+  ;
 
4248
+  return 0;
 
4249
+}
 
4250
+_ACEOF
 
4251
+rm -f conftest.$ac_objext
 
4252
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4253
+  (eval $ac_compile) 2>conftest.er1
 
4254
+  ac_status=$?
 
4255
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4256
+  rm -f conftest.er1
 
4257
+  cat conftest.err >&5
 
4258
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4259
+  (exit $ac_status); } &&
 
4260
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4261
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4262
+  (eval $ac_try) 2>&5
 
4263
+  ac_status=$?
 
4264
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4265
+  (exit $ac_status); }; } &&
 
4266
+        { ac_try='test -s conftest.$ac_objext'
 
4267
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4268
+  (eval $ac_try) 2>&5
 
4269
+  ac_status=$?
 
4270
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4271
+  (exit $ac_status); }; }; then
 
4272
   ac_cv_header_stdc=yes
 
4273
 else
 
4274
-  echo "$ac_err" >&5
 
4275
-  echo "configure: failed program was:" >&5
 
4276
-  cat conftest.$ac_ext >&5
 
4277
-  rm -rf conftest*
 
4278
-  ac_cv_header_stdc=no
 
4279
+  echo "$as_me: failed program was:" >&5
 
4280
+sed 's/^/| /' conftest.$ac_ext >&5
 
4281
+
 
4282
+       ac_cv_header_stdc=no
 
4283
 fi
 
4284
-rm -f conftest*
 
4285
+
 
4286
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4287
 
 
4288
 if test $ac_cv_header_stdc = yes; then
 
4289
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4290
-cat > conftest.$ac_ext <<EOF
 
4291
-#line 1104 "configure"
 
4292
-#include "confdefs.h"
 
4293
+  cat >conftest.$ac_ext <<_ACEOF
 
4294
+/* confdefs.h.  */
 
4295
+_ACEOF
 
4296
+cat confdefs.h >>conftest.$ac_ext
 
4297
+cat >>conftest.$ac_ext <<_ACEOF
 
4298
+/* end confdefs.h.  */
 
4299
 #include <string.h>
 
4300
-EOF
 
4301
+
 
4302
+_ACEOF
 
4303
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4304
-  egrep "memchr" >/dev/null 2>&1; then
 
4305
+  $EGREP "memchr" >/dev/null 2>&1; then
 
4306
   :
 
4307
 else
 
4308
-  rm -rf conftest*
 
4309
   ac_cv_header_stdc=no
 
4310
 fi
 
4311
 rm -f conftest*
 
4312
@@ -1117,16 +3668,19 @@
 
4313
 
 
4314
 if test $ac_cv_header_stdc = yes; then
 
4315
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4316
-cat > conftest.$ac_ext <<EOF
 
4317
-#line 1122 "configure"
 
4318
-#include "confdefs.h"
 
4319
+  cat >conftest.$ac_ext <<_ACEOF
 
4320
+/* confdefs.h.  */
 
4321
+_ACEOF
 
4322
+cat confdefs.h >>conftest.$ac_ext
 
4323
+cat >>conftest.$ac_ext <<_ACEOF
 
4324
+/* end confdefs.h.  */
 
4325
 #include <stdlib.h>
 
4326
-EOF
 
4327
+
 
4328
+_ACEOF
 
4329
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4330
-  egrep "free" >/dev/null 2>&1; then
 
4331
+  $EGREP "free" >/dev/null 2>&1; then
 
4332
   :
 
4333
 else
 
4334
-  rm -rf conftest*
 
4335
   ac_cv_header_stdc=no
 
4336
 fi
 
4337
 rm -f conftest*
 
4338
@@ -1135,257 +3689,613 @@
 
4339
 
 
4340
 if test $ac_cv_header_stdc = yes; then
 
4341
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4342
-if test "$cross_compiling" = yes; then
 
4343
+  if test "$cross_compiling" = yes; then
 
4344
   :
 
4345
 else
 
4346
-  cat > conftest.$ac_ext <<EOF
 
4347
-#line 1143 "configure"
 
4348
-#include "confdefs.h"
 
4349
+  cat >conftest.$ac_ext <<_ACEOF
 
4350
+/* confdefs.h.  */
 
4351
+_ACEOF
 
4352
+cat confdefs.h >>conftest.$ac_ext
 
4353
+cat >>conftest.$ac_ext <<_ACEOF
 
4354
+/* end confdefs.h.  */
 
4355
 #include <ctype.h>
 
4356
-#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4357
-#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4358
+#include <stdlib.h>
 
4359
+#if ((' ' & 0x0FF) == 0x020)
 
4360
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4361
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4362
+#else
 
4363
+# define ISLOWER(c) \
 
4364
+                  (('a' <= (c) && (c) <= 'i') \
 
4365
+                    || ('j' <= (c) && (c) <= 'r') \
 
4366
+                    || ('s' <= (c) && (c) <= 'z'))
 
4367
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4368
+#endif
 
4369
+
 
4370
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4371
-int main () { int i; for (i = 0; i < 256; i++)
 
4372
-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
 
4373
-exit (0); }
 
4374
-
 
4375
-EOF
 
4376
-if { (eval echo configure:1154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
4377
-then
 
4378
+int
 
4379
+main ()
 
4380
+{
 
4381
+  int i;
 
4382
+  for (i = 0; i < 256; i++)
 
4383
+    if (XOR (islower (i), ISLOWER (i))
 
4384
+       || toupper (i) != TOUPPER (i))
 
4385
+      return 2;
 
4386
+  return 0;
 
4387
+}
 
4388
+_ACEOF
 
4389
+rm -f conftest$ac_exeext
 
4390
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4391
+  (eval $ac_link) 2>&5
 
4392
+  ac_status=$?
 
4393
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4394
+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4395
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4396
+  (eval $ac_try) 2>&5
 
4397
+  ac_status=$?
 
4398
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4399
+  (exit $ac_status); }; }; then
 
4400
   :
 
4401
 else
 
4402
-  echo "configure: failed program was:" >&5
 
4403
-  cat conftest.$ac_ext >&5
 
4404
-  rm -fr conftest*
 
4405
-  ac_cv_header_stdc=no
 
4406
+  echo "$as_me: program exited with status $ac_status" >&5
 
4407
+echo "$as_me: failed program was:" >&5
 
4408
+sed 's/^/| /' conftest.$ac_ext >&5
 
4409
+
 
4410
+( exit $ac_status )
 
4411
+ac_cv_header_stdc=no
 
4412
 fi
 
4413
-rm -fr conftest*
 
4414
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4415
 fi
 
4416
 
 
4417
+
 
4418
 fi
 
4419
 fi
 
4420
-
 
4421
-echo "$ac_t""$ac_cv_header_stdc" 1>&6
 
4422
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4423
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4424
 if test $ac_cv_header_stdc = yes; then
 
4425
-  cat >> confdefs.h <<\EOF
 
4426
+
 
4427
+cat >>confdefs.h <<\_ACEOF
 
4428
 #define STDC_HEADERS 1
 
4429
-EOF
 
4430
+_ACEOF
 
4431
 
 
4432
 fi
 
4433
 
 
4434
 
 
4435
+ac_config_headers="$ac_config_headers config.h"
 
4436
+
 
4437
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4438
+
 
4439
 
 
4440
-for ac_hdr in sys/time.h unistd.h limits.h
 
4441
+
 
4442
+
 
4443
+
 
4444
+
 
4445
+
 
4446
+
 
4447
+
 
4448
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4449
+                 inttypes.h stdint.h unistd.h
 
4450
 do
 
4451
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 
4452
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 
4453
-echo "configure:1183: checking for $ac_hdr" >&5
 
4454
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 
4455
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4456
-else
 
4457
-  cat > conftest.$ac_ext <<EOF
 
4458
-#line 1188 "configure"
 
4459
-#include "confdefs.h"
 
4460
-#include <$ac_hdr>
 
4461
-EOF
 
4462
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
4463
-{ (eval echo configure:1193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
4464
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
4465
-if test -z "$ac_err"; then
 
4466
-  rm -rf conftest*
 
4467
-  eval "ac_cv_header_$ac_safe=yes"
 
4468
-else
 
4469
-  echo "$ac_err" >&5
 
4470
-  echo "configure: failed program was:" >&5
 
4471
-  cat conftest.$ac_ext >&5
 
4472
-  rm -rf conftest*
 
4473
-  eval "ac_cv_header_$ac_safe=no"
 
4474
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4475
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4476
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4477
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4478
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4479
+else
 
4480
+  cat >conftest.$ac_ext <<_ACEOF
 
4481
+/* confdefs.h.  */
 
4482
+_ACEOF
 
4483
+cat confdefs.h >>conftest.$ac_ext
 
4484
+cat >>conftest.$ac_ext <<_ACEOF
 
4485
+/* end confdefs.h.  */
 
4486
+$ac_includes_default
 
4487
+
 
4488
+#include <$ac_header>
 
4489
+_ACEOF
 
4490
+rm -f conftest.$ac_objext
 
4491
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4492
+  (eval $ac_compile) 2>conftest.er1
 
4493
+  ac_status=$?
 
4494
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4495
+  rm -f conftest.er1
 
4496
+  cat conftest.err >&5
 
4497
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4498
+  (exit $ac_status); } &&
 
4499
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4500
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4501
+  (eval $ac_try) 2>&5
 
4502
+  ac_status=$?
 
4503
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4504
+  (exit $ac_status); }; } &&
 
4505
+        { ac_try='test -s conftest.$ac_objext'
 
4506
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4507
+  (eval $ac_try) 2>&5
 
4508
+  ac_status=$?
 
4509
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4510
+  (exit $ac_status); }; }; then
 
4511
+  eval "$as_ac_Header=yes"
 
4512
+else
 
4513
+  echo "$as_me: failed program was:" >&5
 
4514
+sed 's/^/| /' conftest.$ac_ext >&5
 
4515
+
 
4516
+       eval "$as_ac_Header=no"
 
4517
+fi
 
4518
+
 
4519
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4520
+fi
 
4521
+ac_res=`eval echo '${'$as_ac_Header'}'`
 
4522
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4523
+echo "${ECHO_T}$ac_res" >&6; }
 
4524
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4525
+  cat >>confdefs.h <<_ACEOF
 
4526
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4527
+_ACEOF
 
4528
+
 
4529
 fi
 
4530
-rm -f conftest*
 
4531
+
 
4532
+done
 
4533
+
 
4534
+
 
4535
+
 
4536
+
 
4537
+
 
4538
+for ac_header in sys/time.h unistd.h limits.h
 
4539
+do
 
4540
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4541
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4542
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4543
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4544
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4545
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4546
+fi
 
4547
+ac_res=`eval echo '${'$as_ac_Header'}'`
 
4548
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4549
+echo "${ECHO_T}$ac_res" >&6; }
 
4550
+else
 
4551
+  # Is the header compilable?
 
4552
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4553
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4554
+cat >conftest.$ac_ext <<_ACEOF
 
4555
+/* confdefs.h.  */
 
4556
+_ACEOF
 
4557
+cat confdefs.h >>conftest.$ac_ext
 
4558
+cat >>conftest.$ac_ext <<_ACEOF
 
4559
+/* end confdefs.h.  */
 
4560
+$ac_includes_default
 
4561
+#include <$ac_header>
 
4562
+_ACEOF
 
4563
+rm -f conftest.$ac_objext
 
4564
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4565
+  (eval $ac_compile) 2>conftest.er1
 
4566
+  ac_status=$?
 
4567
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4568
+  rm -f conftest.er1
 
4569
+  cat conftest.err >&5
 
4570
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4571
+  (exit $ac_status); } &&
 
4572
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4573
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4574
+  (eval $ac_try) 2>&5
 
4575
+  ac_status=$?
 
4576
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4577
+  (exit $ac_status); }; } &&
 
4578
+        { ac_try='test -s conftest.$ac_objext'
 
4579
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4580
+  (eval $ac_try) 2>&5
 
4581
+  ac_status=$?
 
4582
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4583
+  (exit $ac_status); }; }; then
 
4584
+  ac_header_compiler=yes
 
4585
+else
 
4586
+  echo "$as_me: failed program was:" >&5
 
4587
+sed 's/^/| /' conftest.$ac_ext >&5
 
4588
+
 
4589
+       ac_header_compiler=no
 
4590
+fi
 
4591
+
 
4592
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4593
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4594
+echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4595
+
 
4596
+# Is the header present?
 
4597
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4598
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4599
+cat >conftest.$ac_ext <<_ACEOF
 
4600
+/* confdefs.h.  */
 
4601
+_ACEOF
 
4602
+cat confdefs.h >>conftest.$ac_ext
 
4603
+cat >>conftest.$ac_ext <<_ACEOF
 
4604
+/* end confdefs.h.  */
 
4605
+#include <$ac_header>
 
4606
+_ACEOF
 
4607
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4608
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4609
+  ac_status=$?
 
4610
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4611
+  rm -f conftest.er1
 
4612
+  cat conftest.err >&5
 
4613
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4614
+  (exit $ac_status); } >/dev/null; then
 
4615
+  if test -s conftest.err; then
 
4616
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
4617
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
4618
+  else
 
4619
+    ac_cpp_err=
 
4620
+  fi
 
4621
+else
 
4622
+  ac_cpp_err=yes
 
4623
 fi
 
4624
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 
4625
-  echo "$ac_t""yes" 1>&6
 
4626
-    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 
4627
-  cat >> confdefs.h <<EOF
 
4628
-#define $ac_tr_hdr 1
 
4629
-EOF
 
4630
 
4631
+if test -z "$ac_cpp_err"; then
 
4632
+  ac_header_preproc=yes
 
4633
 else
 
4634
-  echo "$ac_t""no" 1>&6
 
4635
+  echo "$as_me: failed program was:" >&5
 
4636
+sed 's/^/| /' conftest.$ac_ext >&5
 
4637
+
 
4638
+  ac_header_preproc=no
 
4639
+fi
 
4640
+
 
4641
+rm -f conftest.err conftest.$ac_ext
 
4642
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4643
+echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4644
+
 
4645
+# So?  What about this header?
 
4646
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
4647
+  yes:no: )
 
4648
+    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4649
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4650
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4651
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4652
+    ac_header_preproc=yes
 
4653
+    ;;
 
4654
+  no:yes:* )
 
4655
+    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4656
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4657
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4658
+echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4659
+    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4660
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4661
+    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4662
+echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4663
+    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4664
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4665
+    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4666
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4667
+
 
4668
+    ;;
 
4669
+esac
 
4670
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4671
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4672
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4673
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4674
+else
 
4675
+  eval "$as_ac_Header=\$ac_header_preproc"
 
4676
+fi
 
4677
+ac_res=`eval echo '${'$as_ac_Header'}'`
 
4678
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
4679
+echo "${ECHO_T}$ac_res" >&6; }
 
4680
+
 
4681
+fi
 
4682
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4683
+  cat >>confdefs.h <<_ACEOF
 
4684
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4685
+_ACEOF
 
4686
+
 
4687
 fi
 
4688
+
 
4689
 done
 
4690
 
 
4691
 
 
4692
-echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
 
4693
-echo "configure:1221: checking whether time.h and sys/time.h may both be included" >&5
 
4694
-if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
 
4695
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4696
-else
 
4697
-  cat > conftest.$ac_ext <<EOF
 
4698
-#line 1226 "configure"
 
4699
-#include "confdefs.h"
 
4700
+{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
4701
+echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
 
4702
+if test "${ac_cv_header_time+set}" = set; then
 
4703
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4704
+else
 
4705
+  cat >conftest.$ac_ext <<_ACEOF
 
4706
+/* confdefs.h.  */
 
4707
+_ACEOF
 
4708
+cat confdefs.h >>conftest.$ac_ext
 
4709
+cat >>conftest.$ac_ext <<_ACEOF
 
4710
+/* end confdefs.h.  */
 
4711
 #include <sys/types.h>
 
4712
 #include <sys/time.h>
 
4713
 #include <time.h>
 
4714
-int main() {
 
4715
-struct tm *tp;
 
4716
-; return 0; }
 
4717
-EOF
 
4718
-if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
4719
-  rm -rf conftest*
 
4720
+
 
4721
+int
 
4722
+main ()
 
4723
+{
 
4724
+if ((struct tm *) 0)
 
4725
+return 0;
 
4726
+  ;
 
4727
+  return 0;
 
4728
+}
 
4729
+_ACEOF
 
4730
+rm -f conftest.$ac_objext
 
4731
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4732
+  (eval $ac_compile) 2>conftest.er1
 
4733
+  ac_status=$?
 
4734
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4735
+  rm -f conftest.er1
 
4736
+  cat conftest.err >&5
 
4737
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4738
+  (exit $ac_status); } &&
 
4739
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4740
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4741
+  (eval $ac_try) 2>&5
 
4742
+  ac_status=$?
 
4743
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4744
+  (exit $ac_status); }; } &&
 
4745
+        { ac_try='test -s conftest.$ac_objext'
 
4746
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4747
+  (eval $ac_try) 2>&5
 
4748
+  ac_status=$?
 
4749
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4750
+  (exit $ac_status); }; }; then
 
4751
   ac_cv_header_time=yes
 
4752
 else
 
4753
-  echo "configure: failed program was:" >&5
 
4754
-  cat conftest.$ac_ext >&5
 
4755
-  rm -rf conftest*
 
4756
-  ac_cv_header_time=no
 
4757
-fi
 
4758
-rm -f conftest*
 
4759
+  echo "$as_me: failed program was:" >&5
 
4760
+sed 's/^/| /' conftest.$ac_ext >&5
 
4761
+
 
4762
+       ac_cv_header_time=no
 
4763
 fi
 
4764
 
 
4765
-echo "$ac_t""$ac_cv_header_time" 1>&6
 
4766
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4767
+fi
 
4768
+{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
4769
+echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
4770
 if test $ac_cv_header_time = yes; then
 
4771
-  cat >> confdefs.h <<\EOF
 
4772
+
 
4773
+cat >>confdefs.h <<\_ACEOF
 
4774
 #define TIME_WITH_SYS_TIME 1
 
4775
-EOF
 
4776
+_ACEOF
 
4777
 
 
4778
 fi
 
4779
 
 
4780
-echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
 
4781
-echo "configure:1256: checking whether struct tm is in sys/time.h or time.h" >&5
 
4782
-if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
 
4783
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4784
+{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
4785
+echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
 
4786
+if test "${ac_cv_struct_tm+set}" = set; then
 
4787
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4788
 else
 
4789
-  cat > conftest.$ac_ext <<EOF
 
4790
-#line 1261 "configure"
 
4791
-#include "confdefs.h"
 
4792
+  cat >conftest.$ac_ext <<_ACEOF
 
4793
+/* confdefs.h.  */
 
4794
+_ACEOF
 
4795
+cat confdefs.h >>conftest.$ac_ext
 
4796
+cat >>conftest.$ac_ext <<_ACEOF
 
4797
+/* end confdefs.h.  */
 
4798
 #include <sys/types.h>
 
4799
 #include <time.h>
 
4800
-int main() {
 
4801
+
 
4802
+int
 
4803
+main ()
 
4804
+{
 
4805
 struct tm *tp; tp->tm_sec;
 
4806
-; return 0; }
 
4807
-EOF
 
4808
-if { (eval echo configure:1269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
4809
-  rm -rf conftest*
 
4810
+  ;
 
4811
+  return 0;
 
4812
+}
 
4813
+_ACEOF
 
4814
+rm -f conftest.$ac_objext
 
4815
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4816
+  (eval $ac_compile) 2>conftest.er1
 
4817
+  ac_status=$?
 
4818
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4819
+  rm -f conftest.er1
 
4820
+  cat conftest.err >&5
 
4821
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4822
+  (exit $ac_status); } &&
 
4823
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4824
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4825
+  (eval $ac_try) 2>&5
 
4826
+  ac_status=$?
 
4827
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4828
+  (exit $ac_status); }; } &&
 
4829
+        { ac_try='test -s conftest.$ac_objext'
 
4830
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4831
+  (eval $ac_try) 2>&5
 
4832
+  ac_status=$?
 
4833
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4834
+  (exit $ac_status); }; }; then
 
4835
   ac_cv_struct_tm=time.h
 
4836
 else
 
4837
-  echo "configure: failed program was:" >&5
 
4838
-  cat conftest.$ac_ext >&5
 
4839
-  rm -rf conftest*
 
4840
-  ac_cv_struct_tm=sys/time.h
 
4841
-fi
 
4842
-rm -f conftest*
 
4843
+  echo "$as_me: failed program was:" >&5
 
4844
+sed 's/^/| /' conftest.$ac_ext >&5
 
4845
+
 
4846
+       ac_cv_struct_tm=sys/time.h
 
4847
 fi
 
4848
 
 
4849
-echo "$ac_t""$ac_cv_struct_tm" 1>&6
 
4850
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4851
+fi
 
4852
+{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
4853
+echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
 
4854
 if test $ac_cv_struct_tm = sys/time.h; then
 
4855
-  cat >> confdefs.h <<\EOF
 
4856
+
 
4857
+cat >>confdefs.h <<\_ACEOF
 
4858
 #define TM_IN_SYS_TIME 1
 
4859
-EOF
 
4860
+_ACEOF
 
4861
 
 
4862
 fi
 
4863
 
 
4864
-echo $ac_n "checking for size_t""... $ac_c" 1>&6
 
4865
-echo "configure:1290: checking for size_t" >&5
 
4866
-if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
 
4867
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4868
-else
 
4869
-  cat > conftest.$ac_ext <<EOF
 
4870
-#line 1295 "configure"
 
4871
-#include "confdefs.h"
 
4872
-#include <sys/types.h>
 
4873
-#if STDC_HEADERS
 
4874
-#include <stdlib.h>
 
4875
-#include <stddef.h>
 
4876
-#endif
 
4877
-EOF
 
4878
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4879
-  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 
4880
-  rm -rf conftest*
 
4881
+{ echo "$as_me:$LINENO: checking for size_t" >&5
 
4882
+echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
4883
+if test "${ac_cv_type_size_t+set}" = set; then
 
4884
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4885
+else
 
4886
+  cat >conftest.$ac_ext <<_ACEOF
 
4887
+/* confdefs.h.  */
 
4888
+_ACEOF
 
4889
+cat confdefs.h >>conftest.$ac_ext
 
4890
+cat >>conftest.$ac_ext <<_ACEOF
 
4891
+/* end confdefs.h.  */
 
4892
+$ac_includes_default
 
4893
+typedef size_t ac__type_new_;
 
4894
+int
 
4895
+main ()
 
4896
+{
 
4897
+if ((ac__type_new_ *) 0)
 
4898
+  return 0;
 
4899
+if (sizeof (ac__type_new_))
 
4900
+  return 0;
 
4901
+  ;
 
4902
+  return 0;
 
4903
+}
 
4904
+_ACEOF
 
4905
+rm -f conftest.$ac_objext
 
4906
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4907
+  (eval $ac_compile) 2>conftest.er1
 
4908
+  ac_status=$?
 
4909
+  grep -v '^ *+' conftest.er1 >conftest.err
 
4910
+  rm -f conftest.er1
 
4911
+  cat conftest.err >&5
 
4912
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4913
+  (exit $ac_status); } &&
 
4914
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4915
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4916
+  (eval $ac_try) 2>&5
 
4917
+  ac_status=$?
 
4918
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4919
+  (exit $ac_status); }; } &&
 
4920
+        { ac_try='test -s conftest.$ac_objext'
 
4921
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4922
+  (eval $ac_try) 2>&5
 
4923
+  ac_status=$?
 
4924
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4925
+  (exit $ac_status); }; }; then
 
4926
   ac_cv_type_size_t=yes
 
4927
 else
 
4928
-  rm -rf conftest*
 
4929
-  ac_cv_type_size_t=no
 
4930
+  echo "$as_me: failed program was:" >&5
 
4931
+sed 's/^/| /' conftest.$ac_ext >&5
 
4932
+
 
4933
+       ac_cv_type_size_t=no
 
4934
 fi
 
4935
-rm -f conftest*
 
4936
 
 
4937
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4938
 fi
 
4939
-echo "$ac_t""$ac_cv_type_size_t" 1>&6
 
4940
-if test $ac_cv_type_size_t = no; then
 
4941
-  cat >> confdefs.h <<\EOF
 
4942
-#define size_t unsigned
 
4943
-EOF
 
4944
+{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
4945
+echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
 
4946
+if test $ac_cv_type_size_t = yes; then
 
4947
+  :
 
4948
+else
 
4949
+
 
4950
+cat >>confdefs.h <<_ACEOF
 
4951
+#define size_t unsigned int
 
4952
+_ACEOF
 
4953
 
 
4954
 fi
 
4955
 
 
4956
 
 
4957
+
 
4958
+
 
4959
+
 
4960
+
 
4961
+
 
4962
+
 
4963
+
 
4964
+
 
4965
+
 
4966
+
 
4967
+
 
4968
 for ac_func in gettimeofday mktime usleep select strdup strstr strcasecmp strncasecmp drand48 random rand
 
4969
 do
 
4970
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 
4971
-echo "configure:1326: checking for $ac_func" >&5
 
4972
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 
4973
-  echo $ac_n "(cached) $ac_c" 1>&6
 
4974
-else
 
4975
-  cat > conftest.$ac_ext <<EOF
 
4976
-#line 1331 "configure"
 
4977
-#include "confdefs.h"
 
4978
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4979
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4980
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
4981
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
4982
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4983
+else
 
4984
+  cat >conftest.$ac_ext <<_ACEOF
 
4985
+/* confdefs.h.  */
 
4986
+_ACEOF
 
4987
+cat confdefs.h >>conftest.$ac_ext
 
4988
+cat >>conftest.$ac_ext <<_ACEOF
 
4989
+/* end confdefs.h.  */
 
4990
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4991
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4992
+#define $ac_func innocuous_$ac_func
 
4993
+
 
4994
 /* System header to define __stub macros and hopefully few prototypes,
 
4995
-    which can conflict with char $ac_func(); below.  */
 
4996
-#include <assert.h>
 
4997
-/* Override any gcc2 internal prototype to avoid an error.  */
 
4998
-/* We use char because int might match the return type of a gcc2
 
4999
-    builtin and then its argument prototype would still apply.  */
 
5000
-char $ac_func();
 
5001
+    which can conflict with char $ac_func (); below.
 
5002
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5003
+    <limits.h> exists even on freestanding compilers.  */
 
5004
 
 
5005
-int main() {
 
5006
+#ifdef __STDC__
 
5007
+# include <limits.h>
 
5008
+#else
 
5009
+# include <assert.h>
 
5010
+#endif
 
5011
 
 
5012
+#undef $ac_func
 
5013
+
 
5014
+/* Override any GCC internal prototype to avoid an error.
 
5015
+   Use char because int might match the return type of a GCC
 
5016
+   builtin and then its argument prototype would still apply.  */
 
5017
+#ifdef __cplusplus
 
5018
+extern "C"
 
5019
+#endif
 
5020
+char $ac_func ();
 
5021
 /* The GNU C library defines this for functions which it implements
 
5022
     to always fail with ENOSYS.  Some functions are actually named
 
5023
     something starting with __ and the normal name is an alias.  */
 
5024
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
5025
+#if defined __stub_$ac_func || defined __stub___$ac_func
 
5026
 choke me
 
5027
-#else
 
5028
-$ac_func();
 
5029
 #endif
 
5030
 
 
5031
-; return 0; }
 
5032
-EOF
 
5033
-if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
5034
-  rm -rf conftest*
 
5035
-  eval "ac_cv_func_$ac_func=yes"
 
5036
-else
 
5037
-  echo "configure: failed program was:" >&5
 
5038
-  cat conftest.$ac_ext >&5
 
5039
-  rm -rf conftest*
 
5040
-  eval "ac_cv_func_$ac_func=no"
 
5041
-fi
 
5042
-rm -f conftest*
 
5043
-fi
 
5044
+int
 
5045
+main ()
 
5046
+{
 
5047
+return $ac_func ();
 
5048
+  ;
 
5049
+  return 0;
 
5050
+}
 
5051
+_ACEOF
 
5052
+rm -f conftest.$ac_objext conftest$ac_exeext
 
5053
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5054
+  (eval $ac_link) 2>conftest.er1
 
5055
+  ac_status=$?
 
5056
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5057
+  rm -f conftest.er1
 
5058
+  cat conftest.err >&5
 
5059
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5060
+  (exit $ac_status); } &&
 
5061
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5062
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5063
+  (eval $ac_try) 2>&5
 
5064
+  ac_status=$?
 
5065
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5066
+  (exit $ac_status); }; } &&
 
5067
+        { ac_try='test -s conftest$ac_exeext'
 
5068
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5069
+  (eval $ac_try) 2>&5
 
5070
+  ac_status=$?
 
5071
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5072
+  (exit $ac_status); }; }; then
 
5073
+  eval "$as_ac_var=yes"
 
5074
+else
 
5075
+  echo "$as_me: failed program was:" >&5
 
5076
+sed 's/^/| /' conftest.$ac_ext >&5
 
5077
+
 
5078
+       eval "$as_ac_var=no"
 
5079
+fi
 
5080
+
 
5081
+rm -f conftest.err conftest.$ac_objext \
 
5082
+      conftest$ac_exeext conftest.$ac_ext
 
5083
+fi
 
5084
+ac_res=`eval echo '${'$as_ac_var'}'`
 
5085
+              { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5086
+echo "${ECHO_T}$ac_res" >&6; }
 
5087
+if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5088
+  cat >>confdefs.h <<_ACEOF
 
5089
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5090
+_ACEOF
 
5091
 
 
5092
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 
5093
-  echo "$ac_t""yes" 1>&6
 
5094
-    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 
5095
-  cat >> confdefs.h <<EOF
 
5096
-#define $ac_tr_func 1
 
5097
-EOF
 
5098
 
5099
-else
 
5100
-  echo "$ac_t""no" 1>&6
 
5101
 fi
 
5102
 done
 
5103
 
 
5104
 
 
5105
-# If we find X, set shell vars x_includes and x_libraries to the
 
5106
-# paths, otherwise set no_x=yes.
 
5107
-# Uses ac_ vars as temps to allow command line to override cache and checks.
 
5108
-# --without-x overrides everything else, but does not touch the cache.
 
5109
-echo $ac_n "checking for X""... $ac_c" 1>&6
 
5110
-echo "configure:1384: checking for X" >&5
 
5111
+{ echo "$as_me:$LINENO: checking for X" >&5
 
5112
+echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
5113
+
 
5114
+ac_path_x_has_been_run=yes
 
5115
 
 
5116
-# Check whether --with-x or --without-x was given.
 
5117
+# Check whether --with-x was given.
 
5118
 if test "${with_x+set}" = set; then
 
5119
-  withval="$with_x"
 
5120
-  :
 
5121
+  withval=$with_x;
 
5122
 fi
 
5123
 
 
5124
 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
5125
@@ -1397,207 +4307,453 @@
 
5126
     # Both variables are already set.
 
5127
     have_x=yes
 
5128
   else
 
5129
-if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
 
5130
-  echo $ac_n "(cached) $ac_c" 1>&6
 
5131
+    if test "${ac_cv_have_x+set}" = set; then
 
5132
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5133
 else
 
5134
   # One or both of the vars are not set, and there is no cached value.
 
5135
-ac_x_includes=NO ac_x_libraries=NO
 
5136
-rm -fr conftestdir
 
5137
-if mkdir conftestdir; then
 
5138
-  cd conftestdir
 
5139
+ac_x_includes=no ac_x_libraries=no
 
5140
+rm -f -r conftest.dir
 
5141
+if mkdir conftest.dir; then
 
5142
+  cd conftest.dir
 
5143
   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
 
5144
-  cat > Imakefile <<'EOF'
 
5145
+  cat >Imakefile <<'_ACEOF'
 
5146
 acfindx:
 
5147
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
5148
-EOF
 
5149
-  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
5150
+_ACEOF
 
5151
+  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
5152
     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
5153
     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
5154
     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
5155
     for ac_extension in a so sl; do
 
5156
       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
 
5157
-        test -f $ac_im_libdir/libX11.$ac_extension; then
 
5158
-        ac_im_usrlibdir=$ac_im_libdir; break
 
5159
+        test -f $ac_im_libdir/libX11.$ac_extension; then
 
5160
+       ac_im_usrlibdir=$ac_im_libdir; break
 
5161
       fi
 
5162
     done
 
5163
     # Screen out bogus values from the imake configuration.  They are
 
5164
     # bogus both because they are the default anyway, and because
 
5165
     # using them would break gcc on systems where it needs fixed includes.
 
5166
-    case "$ac_im_incroot" in
 
5167
-       /usr/include) ;;
 
5168
-       *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
 
5169
+    case $ac_im_incroot in
 
5170
+       /usr/include) ac_x_includes= ;;
 
5171
+       *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
5172
     esac
 
5173
-    case "$ac_im_usrlibdir" in
 
5174
+    case $ac_im_usrlibdir in
 
5175
        /usr/lib | /lib) ;;
 
5176
-       *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
 
5177
+       *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
5178
     esac
 
5179
   fi
 
5180
   cd ..
 
5181
-  rm -fr conftestdir
 
5182
+  rm -f -r conftest.dir
 
5183
 fi
 
5184
 
 
5185
-if test "$ac_x_includes" = NO; then
 
5186
-  # Guess where to find include files, by looking for this one X11 .h file.
 
5187
-  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
 
5188
+# Standard set of common directories for X headers.
 
5189
+# Check X11 before X11Rn because it is often a symlink to the current release.
 
5190
+ac_x_header_dirs='
 
5191
+/usr/X11/include
 
5192
+/usr/X11R6/include
 
5193
+/usr/X11R5/include
 
5194
+/usr/X11R4/include
 
5195
+
 
5196
+/usr/include/X11
 
5197
+/usr/include/X11R6
 
5198
+/usr/include/X11R5
 
5199
+/usr/include/X11R4
 
5200
+
 
5201
+/usr/local/X11/include
 
5202
+/usr/local/X11R6/include
 
5203
+/usr/local/X11R5/include
 
5204
+/usr/local/X11R4/include
 
5205
+
 
5206
+/usr/local/include/X11
 
5207
+/usr/local/include/X11R6
 
5208
+/usr/local/include/X11R5
 
5209
+/usr/local/include/X11R4
 
5210
+
 
5211
+/usr/X386/include
 
5212
+/usr/x386/include
 
5213
+/usr/XFree86/include/X11
 
5214
+
 
5215
+/usr/include
 
5216
+/usr/local/include
 
5217
+/usr/unsupported/include
 
5218
+/usr/athena/include
 
5219
+/usr/local/x11r5/include
 
5220
+/usr/lpp/Xamples/include
 
5221
+
 
5222
+/usr/openwin/include
 
5223
+/usr/openwin/share/include'
 
5224
 
 
5225
+if test "$ac_x_includes" = no; then
 
5226
+  # Guess where to find include files, by looking for Xlib.h.
 
5227
   # First, try using that file with no special directory specified.
 
5228
-cat > conftest.$ac_ext <<EOF
 
5229
-#line 1446 "configure"
 
5230
-#include "confdefs.h"
 
5231
-#include <$x_direct_test_include>
 
5232
-EOF
 
5233
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
5234
-{ (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
5235
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
5236
-if test -z "$ac_err"; then
 
5237
-  rm -rf conftest*
 
5238
+  cat >conftest.$ac_ext <<_ACEOF
 
5239
+/* confdefs.h.  */
 
5240
+_ACEOF
 
5241
+cat confdefs.h >>conftest.$ac_ext
 
5242
+cat >>conftest.$ac_ext <<_ACEOF
 
5243
+/* end confdefs.h.  */
 
5244
+#include <X11/Xlib.h.h>
 
5245
+_ACEOF
 
5246
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5247
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5248
+  ac_status=$?
 
5249
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5250
+  rm -f conftest.er1
 
5251
+  cat conftest.err >&5
 
5252
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5253
+  (exit $ac_status); } >/dev/null; then
 
5254
+  if test -s conftest.err; then
 
5255
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
5256
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5257
+  else
 
5258
+    ac_cpp_err=
 
5259
+  fi
 
5260
+else
 
5261
+  ac_cpp_err=yes
 
5262
+fi
 
5263
+if test -z "$ac_cpp_err"; then
 
5264
   # We can compile using X headers with no special include directory.
 
5265
 ac_x_includes=
 
5266
 else
 
5267
-  echo "$ac_err" >&5
 
5268
-  echo "configure: failed program was:" >&5
 
5269
-  cat conftest.$ac_ext >&5
 
5270
-  rm -rf conftest*
 
5271
-  # Look for the header file in a standard set of common directories.
 
5272
-# Check X11 before X11Rn because it is often a symlink to the current release.
 
5273
-  for ac_dir in               \
 
5274
-    /usr/X11/include          \
 
5275
-    /usr/X11R6/include        \
 
5276
-    /usr/X11R5/include        \
 
5277
-    /usr/X11R4/include        \
 
5278
-                              \
 
5279
-    /usr/include/X11          \
 
5280
-    /usr/include/X11R6        \
 
5281
-    /usr/include/X11R5        \
 
5282
-    /usr/include/X11R4        \
 
5283
-                              \
 
5284
-    /usr/local/X11/include    \
 
5285
-    /usr/local/X11R6/include  \
 
5286
-    /usr/local/X11R5/include  \
 
5287
-    /usr/local/X11R4/include  \
 
5288
-                              \
 
5289
-    /usr/local/include/X11    \
 
5290
-    /usr/local/include/X11R6  \
 
5291
-    /usr/local/include/X11R5  \
 
5292
-    /usr/local/include/X11R4  \
 
5293
-                              \
 
5294
-    /usr/X386/include         \
 
5295
-    /usr/x386/include         \
 
5296
-    /usr/XFree86/include/X11  \
 
5297
-                              \
 
5298
-    /usr/include              \
 
5299
-    /usr/local/include        \
 
5300
-    /usr/unsupported/include  \
 
5301
-    /usr/athena/include       \
 
5302
-    /usr/local/x11r5/include  \
 
5303
-    /usr/lpp/Xamples/include  \
 
5304
-                              \
 
5305
-    /usr/openwin/include      \
 
5306
-    /usr/openwin/share/include \
 
5307
-    ; \
 
5308
-  do
 
5309
-    if test -r "$ac_dir/$x_direct_test_include"; then
 
5310
-      ac_x_includes=$ac_dir
 
5311
-      break
 
5312
+  echo "$as_me: failed program was:" >&5
 
5313
+sed 's/^/| /' conftest.$ac_ext >&5
 
5314
+
 
5315
+  for ac_dir in $ac_x_header_dirs; do
 
5316
+  if test -r "$ac_dir/X11/Xlib.h"; then
 
5317
+    ac_x_includes=$ac_dir
 
5318
+    break
 
5319
+  fi
 
5320
+done
 
5321
+fi
 
5322
+
 
5323
+rm -f conftest.err conftest.$ac_ext
 
5324
+fi # $ac_x_includes = no
 
5325
+
 
5326
+if test "$ac_x_libraries" = no; then
 
5327
+  # Check for the libraries.
 
5328
+  # See if we find them without any special options.
 
5329
+  # Don't add to $LIBS permanently.
 
5330
+  ac_save_LIBS=$LIBS
 
5331
+  LIBS="-lXt $LIBS"
 
5332
+  cat >conftest.$ac_ext <<_ACEOF
 
5333
+/* confdefs.h.  */
 
5334
+_ACEOF
 
5335
+cat confdefs.h >>conftest.$ac_ext
 
5336
+cat >>conftest.$ac_ext <<_ACEOF
 
5337
+/* end confdefs.h.  */
 
5338
+#include <X11/Xlib.h>
 
5339
+int
 
5340
+main ()
 
5341
+{
 
5342
+XrmInitialize ()
 
5343
+  ;
 
5344
+  return 0;
 
5345
+}
 
5346
+_ACEOF
 
5347
+rm -f conftest.$ac_objext conftest$ac_exeext
 
5348
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5349
+  (eval $ac_link) 2>conftest.er1
 
5350
+  ac_status=$?
 
5351
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5352
+  rm -f conftest.er1
 
5353
+  cat conftest.err >&5
 
5354
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5355
+  (exit $ac_status); } &&
 
5356
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5357
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5358
+  (eval $ac_try) 2>&5
 
5359
+  ac_status=$?
 
5360
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5361
+  (exit $ac_status); }; } &&
 
5362
+        { ac_try='test -s conftest$ac_exeext'
 
5363
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5364
+  (eval $ac_try) 2>&5
 
5365
+  ac_status=$?
 
5366
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5367
+  (exit $ac_status); }; }; then
 
5368
+  LIBS=$ac_save_LIBS
 
5369
+# We can link X programs with no special library path.
 
5370
+ac_x_libraries=
 
5371
+else
 
5372
+  echo "$as_me: failed program was:" >&5
 
5373
+sed 's/^/| /' conftest.$ac_ext >&5
 
5374
+
 
5375
+       LIBS=$ac_save_LIBS
 
5376
+for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
5377
+do
 
5378
+  # Don't even attempt the hair of trying to link an X program!
 
5379
+  for ac_extension in a so sl; do
 
5380
+    if test -r $ac_dir/libX11.$ac_extension; then
 
5381
+      ac_x_libraries=$ac_dir
 
5382
+      break 2
 
5383
     fi
 
5384
   done
 
5385
+done
 
5386
 fi
 
5387
-rm -f conftest*
 
5388
-fi # $ac_x_includes = NO
 
5389
 
 
5390
-if test "$ac_x_libraries" = NO; then
 
5391
-  # Check for the libraries.
 
5392
+rm -f conftest.err conftest.$ac_objext \
 
5393
+      conftest$ac_exeext conftest.$ac_ext
 
5394
+fi # $ac_x_libraries = no
 
5395
+
 
5396
+if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
 
5397
+  # Didn't find X anywhere.  Cache the known absence of X.
 
5398
+  ac_cv_have_x="have_x=no"
 
5399
+else
 
5400
+  # Record where we found X for the cache.
 
5401
+  ac_cv_have_x="have_x=yes \
 
5402
+               ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
 
5403
+fi
 
5404
+fi
 
5405
+
 
5406
+  fi
 
5407
+  eval "$ac_cv_have_x"
 
5408
+fi # $with_x != no
 
5409
+
 
5410
+if test "$have_x" != yes; then
 
5411
+  { echo "$as_me:$LINENO: result: $have_x" >&5
 
5412
+echo "${ECHO_T}$have_x" >&6; }
 
5413
+  no_x=yes
 
5414
+else
 
5415
+  # If each of the values was on the command line, it overrides each guess.
 
5416
+  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
5417
+  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
5418
+  # Update the cache value to reflect the command line values.
 
5419
+  ac_cv_have_x="have_x=yes \
 
5420
+               ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
 
5421
+  # It might be that x_includes is empty (headers are found in the
 
5422
+  # standard search path. Then output the corresponding message
 
5423
+  ac_out_x_includes=$x_includes
 
5424
+  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
 
5425
+  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
 
5426
+echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
 
5427
+fi
 
5428
+
 
5429
+
 
5430
+if test "x$ac_path_x_has_been_run" != xyes; then
 
5431
+  { echo "$as_me:$LINENO: checking for X" >&5
 
5432
+echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
5433
+
 
5434
+ac_path_x_has_been_run=yes
 
5435
+
 
5436
+# Check whether --with-x was given.
 
5437
+if test "${with_x+set}" = set; then
 
5438
+  withval=$with_x;
 
5439
+fi
 
5440
+
 
5441
+# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
5442
+if test "x$with_x" = xno; then
 
5443
+  # The user explicitly disabled X.
 
5444
+  have_x=disabled
 
5445
+else
 
5446
+  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
 
5447
+    # Both variables are already set.
 
5448
+    have_x=yes
 
5449
+  else
 
5450
+    if test "${ac_cv_have_x+set}" = set; then
 
5451
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5452
+else
 
5453
+  # One or both of the vars are not set, and there is no cached value.
 
5454
+ac_x_includes=no ac_x_libraries=no
 
5455
+rm -f -r conftest.dir
 
5456
+if mkdir conftest.dir; then
 
5457
+  cd conftest.dir
 
5458
+  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
 
5459
+  cat >Imakefile <<'_ACEOF'
 
5460
+acfindx:
 
5461
+       @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
5462
+_ACEOF
 
5463
+  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
5464
+    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
5465
+    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
5466
+    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
5467
+    for ac_extension in a so sl; do
 
5468
+      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
 
5469
+        test -f $ac_im_libdir/libX11.$ac_extension; then
 
5470
+       ac_im_usrlibdir=$ac_im_libdir; break
 
5471
+      fi
 
5472
+    done
 
5473
+    # Screen out bogus values from the imake configuration.  They are
 
5474
+    # bogus both because they are the default anyway, and because
 
5475
+    # using them would break gcc on systems where it needs fixed includes.
 
5476
+    case $ac_im_incroot in
 
5477
+       /usr/include) ac_x_includes= ;;
 
5478
+       *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
5479
+    esac
 
5480
+    case $ac_im_usrlibdir in
 
5481
+       /usr/lib | /lib) ;;
 
5482
+       *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
5483
+    esac
 
5484
+  fi
 
5485
+  cd ..
 
5486
+  rm -f -r conftest.dir
 
5487
+fi
 
5488
+
 
5489
+# Standard set of common directories for X headers.
 
5490
+# Check X11 before X11Rn because it is often a symlink to the current release.
 
5491
+ac_x_header_dirs='
 
5492
+/usr/X11/include
 
5493
+/usr/X11R6/include
 
5494
+/usr/X11R5/include
 
5495
+/usr/X11R4/include
 
5496
+
 
5497
+/usr/include/X11
 
5498
+/usr/include/X11R6
 
5499
+/usr/include/X11R5
 
5500
+/usr/include/X11R4
 
5501
+
 
5502
+/usr/local/X11/include
 
5503
+/usr/local/X11R6/include
 
5504
+/usr/local/X11R5/include
 
5505
+/usr/local/X11R4/include
 
5506
+
 
5507
+/usr/local/include/X11
 
5508
+/usr/local/include/X11R6
 
5509
+/usr/local/include/X11R5
 
5510
+/usr/local/include/X11R4
 
5511
+
 
5512
+/usr/X386/include
 
5513
+/usr/x386/include
 
5514
+/usr/XFree86/include/X11
 
5515
+
 
5516
+/usr/include
 
5517
+/usr/local/include
 
5518
+/usr/unsupported/include
 
5519
+/usr/athena/include
 
5520
+/usr/local/x11r5/include
 
5521
+/usr/lpp/Xamples/include
 
5522
+
 
5523
+/usr/openwin/include
 
5524
+/usr/openwin/share/include'
 
5525
+
 
5526
+if test "$ac_x_includes" = no; then
 
5527
+  # Guess where to find include files, by looking for Xlib.h.
 
5528
+  # First, try using that file with no special directory specified.
 
5529
+  cat >conftest.$ac_ext <<_ACEOF
 
5530
+/* confdefs.h.  */
 
5531
+_ACEOF
 
5532
+cat confdefs.h >>conftest.$ac_ext
 
5533
+cat >>conftest.$ac_ext <<_ACEOF
 
5534
+/* end confdefs.h.  */
 
5535
+#include <X11/Xlib.h.h>
 
5536
+_ACEOF
 
5537
+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5538
+  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5539
+  ac_status=$?
 
5540
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5541
+  rm -f conftest.er1
 
5542
+  cat conftest.err >&5
 
5543
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5544
+  (exit $ac_status); } >/dev/null; then
 
5545
+  if test -s conftest.err; then
 
5546
+    ac_cpp_err=$ac_c_preproc_warn_flag
 
5547
+    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
5548
+  else
 
5549
+    ac_cpp_err=
 
5550
+  fi
 
5551
+else
 
5552
+  ac_cpp_err=yes
 
5553
+fi
 
5554
+if test -z "$ac_cpp_err"; then
 
5555
+  # We can compile using X headers with no special include directory.
 
5556
+ac_x_includes=
 
5557
+else
 
5558
+  echo "$as_me: failed program was:" >&5
 
5559
+sed 's/^/| /' conftest.$ac_ext >&5
 
5560
+
 
5561
+  for ac_dir in $ac_x_header_dirs; do
 
5562
+  if test -r "$ac_dir/X11/Xlib.h"; then
 
5563
+    ac_x_includes=$ac_dir
 
5564
+    break
 
5565
+  fi
 
5566
+done
 
5567
+fi
 
5568
 
 
5569
-  test -z "$x_direct_test_library" && x_direct_test_library=Xt
 
5570
-  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
 
5571
+rm -f conftest.err conftest.$ac_ext
 
5572
+fi # $ac_x_includes = no
 
5573
 
 
5574
+if test "$ac_x_libraries" = no; then
 
5575
+  # Check for the libraries.
 
5576
   # See if we find them without any special options.
 
5577
   # Don't add to $LIBS permanently.
 
5578
-  ac_save_LIBS="$LIBS"
 
5579
-  LIBS="-l$x_direct_test_library $LIBS"
 
5580
-cat > conftest.$ac_ext <<EOF
 
5581
-#line 1520 "configure"
 
5582
-#include "confdefs.h"
 
5583
-
 
5584
-int main() {
 
5585
-${x_direct_test_function}()
 
5586
-; return 0; }
 
5587
-EOF
 
5588
-if { (eval echo configure:1527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
5589
-  rm -rf conftest*
 
5590
-  LIBS="$ac_save_LIBS"
 
5591
+  ac_save_LIBS=$LIBS
 
5592
+  LIBS="-lXt $LIBS"
 
5593
+  cat >conftest.$ac_ext <<_ACEOF
 
5594
+/* confdefs.h.  */
 
5595
+_ACEOF
 
5596
+cat confdefs.h >>conftest.$ac_ext
 
5597
+cat >>conftest.$ac_ext <<_ACEOF
 
5598
+/* end confdefs.h.  */
 
5599
+#include <X11/Xlib.h>
 
5600
+int
 
5601
+main ()
 
5602
+{
 
5603
+XrmInitialize ()
 
5604
+  ;
 
5605
+  return 0;
 
5606
+}
 
5607
+_ACEOF
 
5608
+rm -f conftest.$ac_objext conftest$ac_exeext
 
5609
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5610
+  (eval $ac_link) 2>conftest.er1
 
5611
+  ac_status=$?
 
5612
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5613
+  rm -f conftest.er1
 
5614
+  cat conftest.err >&5
 
5615
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5616
+  (exit $ac_status); } &&
 
5617
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5618
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5619
+  (eval $ac_try) 2>&5
 
5620
+  ac_status=$?
 
5621
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5622
+  (exit $ac_status); }; } &&
 
5623
+        { ac_try='test -s conftest$ac_exeext'
 
5624
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5625
+  (eval $ac_try) 2>&5
 
5626
+  ac_status=$?
 
5627
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5628
+  (exit $ac_status); }; }; then
 
5629
+  LIBS=$ac_save_LIBS
 
5630
 # We can link X programs with no special library path.
 
5631
 ac_x_libraries=
 
5632
 else
 
5633
-  echo "configure: failed program was:" >&5
 
5634
-  cat conftest.$ac_ext >&5
 
5635
-  rm -rf conftest*
 
5636
-  LIBS="$ac_save_LIBS"
 
5637
-# First see if replacing the include by lib works.
 
5638
-# Check X11 before X11Rn because it is often a symlink to the current release.
 
5639
-for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
 
5640
-    /usr/X11/lib          \
 
5641
-    /usr/X11R6/lib        \
 
5642
-    /usr/X11R5/lib        \
 
5643
-    /usr/X11R4/lib        \
 
5644
-                          \
 
5645
-    /usr/lib/X11          \
 
5646
-    /usr/lib/X11R6        \
 
5647
-    /usr/lib/X11R5        \
 
5648
-    /usr/lib/X11R4        \
 
5649
-                          \
 
5650
-    /usr/local/X11/lib    \
 
5651
-    /usr/local/X11R6/lib  \
 
5652
-    /usr/local/X11R5/lib  \
 
5653
-    /usr/local/X11R4/lib  \
 
5654
-                          \
 
5655
-    /usr/local/lib/X11    \
 
5656
-    /usr/local/lib/X11R6  \
 
5657
-    /usr/local/lib/X11R5  \
 
5658
-    /usr/local/lib/X11R4  \
 
5659
-                          \
 
5660
-    /usr/X386/lib         \
 
5661
-    /usr/x386/lib         \
 
5662
-    /usr/XFree86/lib/X11  \
 
5663
-                          \
 
5664
-    /usr/lib              \
 
5665
-    /usr/local/lib        \
 
5666
-    /usr/unsupported/lib  \
 
5667
-    /usr/athena/lib       \
 
5668
-    /usr/local/x11r5/lib  \
 
5669
-    /usr/lpp/Xamples/lib  \
 
5670
-    /lib/usr/lib/X11     \
 
5671
-                          \
 
5672
-    /usr/openwin/lib      \
 
5673
-    /usr/openwin/share/lib \
 
5674
-    ; \
 
5675
+  echo "$as_me: failed program was:" >&5
 
5676
+sed 's/^/| /' conftest.$ac_ext >&5
 
5677
+
 
5678
+       LIBS=$ac_save_LIBS
 
5679
+for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
5680
 do
 
5681
+  # Don't even attempt the hair of trying to link an X program!
 
5682
   for ac_extension in a so sl; do
 
5683
-    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
 
5684
+    if test -r $ac_dir/libX11.$ac_extension; then
 
5685
       ac_x_libraries=$ac_dir
 
5686
       break 2
 
5687
     fi
 
5688
   done
 
5689
 done
 
5690
 fi
 
5691
-rm -f conftest*
 
5692
-fi # $ac_x_libraries = NO
 
5693
 
 
5694
-if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
 
5695
+rm -f conftest.err conftest.$ac_objext \
 
5696
+      conftest$ac_exeext conftest.$ac_ext
 
5697
+fi # $ac_x_libraries = no
 
5698
+
 
5699
+if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
 
5700
   # Didn't find X anywhere.  Cache the known absence of X.
 
5701
   ac_cv_have_x="have_x=no"
 
5702
 else
 
5703
   # Record where we found X for the cache.
 
5704
   ac_cv_have_x="have_x=yes \
 
5705
-               ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
 
5706
+               ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
 
5707
 fi
 
5708
 fi
 
5709
+
 
5710
   fi
 
5711
   eval "$ac_cv_have_x"
 
5712
 fi # $with_x != no
 
5713
 
 
5714
 if test "$have_x" != yes; then
 
5715
-  echo "$ac_t""$have_x" 1>&6
 
5716
+  { echo "$as_me:$LINENO: result: $have_x" >&5
 
5717
+echo "${ECHO_T}$have_x" >&6; }
 
5718
   no_x=yes
 
5719
 else
 
5720
   # If each of the values was on the command line, it overrides each guess.
 
5721
@@ -1606,14 +4762,21 @@
 
5722
   # Update the cache value to reflect the command line values.
 
5723
   ac_cv_have_x="have_x=yes \
 
5724
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
 
5725
-  echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
 
5726
+  # It might be that x_includes is empty (headers are found in the
 
5727
+  # standard search path. Then output the corresponding message
 
5728
+  ac_out_x_includes=$x_includes
 
5729
+  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
 
5730
+  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
 
5731
+echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
 
5732
 fi
 
5733
 
 
5734
+fi
 
5735
 if test "$no_x" = yes; then
 
5736
   # Not all programs may use this symbol, but it does not hurt to define it.
 
5737
-  cat >> confdefs.h <<\EOF
 
5738
+
 
5739
+cat >>confdefs.h <<\_ACEOF
 
5740
 #define X_DISPLAY_MISSING 1
 
5741
-EOF
 
5742
+_ACEOF
 
5743
 
 
5744
   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
5745
 else
 
5746
@@ -1626,60 +4789,119 @@
 
5747
     X_LIBS="$X_LIBS -L$x_libraries"
 
5748
     # For Solaris; some versions of Sun CC require a space after -R and
 
5749
     # others require no space.  Words are not sufficient . . . .
 
5750
-    case "`(uname -sr) 2>/dev/null`" in
 
5751
+    case `(uname -sr) 2>/dev/null` in
 
5752
     "SunOS 5"*)
 
5753
-      echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
 
5754
-echo "configure:1633: checking whether -R must be followed by a space" >&5
 
5755
-      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
 
5756
-      cat > conftest.$ac_ext <<EOF
 
5757
-#line 1636 "configure"
 
5758
-#include "confdefs.h"
 
5759
-
 
5760
-int main() {
 
5761
-
 
5762
-; return 0; }
 
5763
-EOF
 
5764
-if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
5765
-  rm -rf conftest*
 
5766
+      { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
5767
+echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
5768
+      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
5769
+      cat >conftest.$ac_ext <<_ACEOF
 
5770
+/* confdefs.h.  */
 
5771
+_ACEOF
 
5772
+cat confdefs.h >>conftest.$ac_ext
 
5773
+cat >>conftest.$ac_ext <<_ACEOF
 
5774
+/* end confdefs.h.  */
 
5775
+
 
5776
+int
 
5777
+main ()
 
5778
+{
 
5779
+
 
5780
+  ;
 
5781
+  return 0;
 
5782
+}
 
5783
+_ACEOF
 
5784
+rm -f conftest.$ac_objext conftest$ac_exeext
 
5785
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5786
+  (eval $ac_link) 2>conftest.er1
 
5787
+  ac_status=$?
 
5788
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5789
+  rm -f conftest.er1
 
5790
+  cat conftest.err >&5
 
5791
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5792
+  (exit $ac_status); } &&
 
5793
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5794
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5795
+  (eval $ac_try) 2>&5
 
5796
+  ac_status=$?
 
5797
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5798
+  (exit $ac_status); }; } &&
 
5799
+        { ac_try='test -s conftest$ac_exeext'
 
5800
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5801
+  (eval $ac_try) 2>&5
 
5802
+  ac_status=$?
 
5803
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5804
+  (exit $ac_status); }; }; then
 
5805
   ac_R_nospace=yes
 
5806
 else
 
5807
-  echo "configure: failed program was:" >&5
 
5808
-  cat conftest.$ac_ext >&5
 
5809
-  rm -rf conftest*
 
5810
-  ac_R_nospace=no
 
5811
+  echo "$as_me: failed program was:" >&5
 
5812
+sed 's/^/| /' conftest.$ac_ext >&5
 
5813
+
 
5814
+       ac_R_nospace=no
 
5815
 fi
 
5816
-rm -f conftest*
 
5817
+
 
5818
+rm -f conftest.err conftest.$ac_objext \
 
5819
+      conftest$ac_exeext conftest.$ac_ext
 
5820
       if test $ac_R_nospace = yes; then
 
5821
-       echo "$ac_t""no" 1>&6
 
5822
+       { echo "$as_me:$LINENO: result: no" >&5
 
5823
+echo "${ECHO_T}no" >&6; }
 
5824
        X_LIBS="$X_LIBS -R$x_libraries"
 
5825
       else
 
5826
        LIBS="$ac_xsave_LIBS -R $x_libraries"
 
5827
-       cat > conftest.$ac_ext <<EOF
 
5828
-#line 1659 "configure"
 
5829
-#include "confdefs.h"
 
5830
-
 
5831
-int main() {
 
5832
-
 
5833
-; return 0; }
 
5834
-EOF
 
5835
-if { (eval echo configure:1666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
5836
-  rm -rf conftest*
 
5837
+       cat >conftest.$ac_ext <<_ACEOF
 
5838
+/* confdefs.h.  */
 
5839
+_ACEOF
 
5840
+cat confdefs.h >>conftest.$ac_ext
 
5841
+cat >>conftest.$ac_ext <<_ACEOF
 
5842
+/* end confdefs.h.  */
 
5843
+
 
5844
+int
 
5845
+main ()
 
5846
+{
 
5847
+
 
5848
+  ;
 
5849
+  return 0;
 
5850
+}
 
5851
+_ACEOF
 
5852
+rm -f conftest.$ac_objext conftest$ac_exeext
 
5853
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5854
+  (eval $ac_link) 2>conftest.er1
 
5855
+  ac_status=$?
 
5856
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5857
+  rm -f conftest.er1
 
5858
+  cat conftest.err >&5
 
5859
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5860
+  (exit $ac_status); } &&
 
5861
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5862
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5863
+  (eval $ac_try) 2>&5
 
5864
+  ac_status=$?
 
5865
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5866
+  (exit $ac_status); }; } &&
 
5867
+        { ac_try='test -s conftest$ac_exeext'
 
5868
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5869
+  (eval $ac_try) 2>&5
 
5870
+  ac_status=$?
 
5871
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5872
+  (exit $ac_status); }; }; then
 
5873
   ac_R_space=yes
 
5874
 else
 
5875
-  echo "configure: failed program was:" >&5
 
5876
-  cat conftest.$ac_ext >&5
 
5877
-  rm -rf conftest*
 
5878
-  ac_R_space=no
 
5879
+  echo "$as_me: failed program was:" >&5
 
5880
+sed 's/^/| /' conftest.$ac_ext >&5
 
5881
+
 
5882
+       ac_R_space=no
 
5883
 fi
 
5884
-rm -f conftest*
 
5885
+
 
5886
+rm -f conftest.err conftest.$ac_objext \
 
5887
+      conftest$ac_exeext conftest.$ac_ext
 
5888
        if test $ac_R_space = yes; then
 
5889
-         echo "$ac_t""yes" 1>&6
 
5890
+         { echo "$as_me:$LINENO: result: yes" >&5
 
5891
+echo "${ECHO_T}yes" >&6; }
 
5892
          X_LIBS="$X_LIBS -R $x_libraries"
 
5893
        else
 
5894
-         echo "$ac_t""neither works" 1>&6
 
5895
+         { echo "$as_me:$LINENO: result: neither works" >&5
 
5896
+echo "${ECHO_T}neither works" >&6; }
 
5897
        fi
 
5898
       fi
 
5899
-      LIBS="$ac_xsave_LIBS"
 
5900
+      LIBS=$ac_xsave_LIBS
 
5901
     esac
 
5902
   fi
 
5903
 
 
5904
@@ -1690,795 +4912,1389 @@
 
5905
   if test "$ISC" = yes; then
 
5906
     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
5907
   else
 
5908
-    # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
 
5909
-    # libraries were built with DECnet support.  And karl@cs.umb.edu says
 
5910
+    # Martyn Johnson says this is needed for Ultrix, if the X
 
5911
+    # libraries were built with DECnet support.  And Karl Berry says
 
5912
     # the Alpha needs dnet_stub (dnet does not exist).
 
5913
-    echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
 
5914
-echo "configure:1698: checking for dnet_ntoa in -ldnet" >&5
 
5915
-ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
 
5916
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
5917
-  echo $ac_n "(cached) $ac_c" 1>&6
 
5918
+    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
5919
+    cat >conftest.$ac_ext <<_ACEOF
 
5920
+/* confdefs.h.  */
 
5921
+_ACEOF
 
5922
+cat confdefs.h >>conftest.$ac_ext
 
5923
+cat >>conftest.$ac_ext <<_ACEOF
 
5924
+/* end confdefs.h.  */
 
5925
+
 
5926
+/* Override any GCC internal prototype to avoid an error.
 
5927
+   Use char because int might match the return type of a GCC
 
5928
+   builtin and then its argument prototype would still apply.  */
 
5929
+#ifdef __cplusplus
 
5930
+extern "C"
 
5931
+#endif
 
5932
+char XOpenDisplay ();
 
5933
+int
 
5934
+main ()
 
5935
+{
 
5936
+return XOpenDisplay ();
 
5937
+  ;
 
5938
+  return 0;
 
5939
+}
 
5940
+_ACEOF
 
5941
+rm -f conftest.$ac_objext conftest$ac_exeext
 
5942
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5943
+  (eval $ac_link) 2>conftest.er1
 
5944
+  ac_status=$?
 
5945
+  grep -v '^ *+' conftest.er1 >conftest.err
 
5946
+  rm -f conftest.er1
 
5947
+  cat conftest.err >&5
 
5948
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5949
+  (exit $ac_status); } &&
 
5950
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5951
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5952
+  (eval $ac_try) 2>&5
 
5953
+  ac_status=$?
 
5954
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5955
+  (exit $ac_status); }; } &&
 
5956
+        { ac_try='test -s conftest$ac_exeext'
 
5957
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5958
+  (eval $ac_try) 2>&5
 
5959
+  ac_status=$?
 
5960
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5961
+  (exit $ac_status); }; }; then
 
5962
+  :
 
5963
 else
 
5964
-  ac_save_LIBS="$LIBS"
 
5965
-LIBS="-ldnet  $LIBS"
 
5966
-cat > conftest.$ac_ext <<EOF
 
5967
-#line 1706 "configure"
 
5968
-#include "confdefs.h"
 
5969
-/* Override any gcc2 internal prototype to avoid an error.  */
 
5970
-/* We use char because int might match the return type of a gcc2
 
5971
-    builtin and then its argument prototype would still apply.  */
 
5972
-char dnet_ntoa();
 
5973
-
 
5974
-int main() {
 
5975
-dnet_ntoa()
 
5976
-; return 0; }
 
5977
-EOF
 
5978
-if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
5979
-  rm -rf conftest*
 
5980
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
5981
-else
 
5982
-  echo "configure: failed program was:" >&5
 
5983
-  cat conftest.$ac_ext >&5
 
5984
-  rm -rf conftest*
 
5985
-  eval "ac_cv_lib_$ac_lib_var=no"
 
5986
-fi
 
5987
-rm -f conftest*
 
5988
-LIBS="$ac_save_LIBS"
 
5989
+  echo "$as_me: failed program was:" >&5
 
5990
+sed 's/^/| /' conftest.$ac_ext >&5
 
5991
 
 
5992
-fi
 
5993
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
5994
-  echo "$ac_t""yes" 1>&6
 
5995
-  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
5996
+       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
5997
+echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
 
5998
+if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
 
5999
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6000
 else
 
6001
-  echo "$ac_t""no" 1>&6
 
6002
+  ac_check_lib_save_LIBS=$LIBS
 
6003
+LIBS="-ldnet  $LIBS"
 
6004
+cat >conftest.$ac_ext <<_ACEOF
 
6005
+/* confdefs.h.  */
 
6006
+_ACEOF
 
6007
+cat confdefs.h >>conftest.$ac_ext
 
6008
+cat >>conftest.$ac_ext <<_ACEOF
 
6009
+/* end confdefs.h.  */
 
6010
+
 
6011
+/* Override any GCC internal prototype to avoid an error.
 
6012
+   Use char because int might match the return type of a GCC
 
6013
+   builtin and then its argument prototype would still apply.  */
 
6014
+#ifdef __cplusplus
 
6015
+extern "C"
 
6016
+#endif
 
6017
+char dnet_ntoa ();
 
6018
+int
 
6019
+main ()
 
6020
+{
 
6021
+return dnet_ntoa ();
 
6022
+  ;
 
6023
+  return 0;
 
6024
+}
 
6025
+_ACEOF
 
6026
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6027
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6028
+  (eval $ac_link) 2>conftest.er1
 
6029
+  ac_status=$?
 
6030
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6031
+  rm -f conftest.er1
 
6032
+  cat conftest.err >&5
 
6033
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6034
+  (exit $ac_status); } &&
 
6035
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6036
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6037
+  (eval $ac_try) 2>&5
 
6038
+  ac_status=$?
 
6039
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6040
+  (exit $ac_status); }; } &&
 
6041
+        { ac_try='test -s conftest$ac_exeext'
 
6042
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6043
+  (eval $ac_try) 2>&5
 
6044
+  ac_status=$?
 
6045
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6046
+  (exit $ac_status); }; }; then
 
6047
+  ac_cv_lib_dnet_dnet_ntoa=yes
 
6048
+else
 
6049
+  echo "$as_me: failed program was:" >&5
 
6050
+sed 's/^/| /' conftest.$ac_ext >&5
 
6051
+
 
6052
+       ac_cv_lib_dnet_dnet_ntoa=no
 
6053
+fi
 
6054
+
 
6055
+rm -f conftest.err conftest.$ac_objext \
 
6056
+      conftest$ac_exeext conftest.$ac_ext
 
6057
+LIBS=$ac_check_lib_save_LIBS
 
6058
+fi
 
6059
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
6060
+echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
6061
+if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
6062
+  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
6063
 fi
 
6064
 
 
6065
     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
6066
-      echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
 
6067
-echo "configure:1739: checking for dnet_ntoa in -ldnet_stub" >&5
 
6068
-ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
 
6069
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
6070
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6071
-else
 
6072
-  ac_save_LIBS="$LIBS"
 
6073
-LIBS="-ldnet_stub  $LIBS"
 
6074
-cat > conftest.$ac_ext <<EOF
 
6075
-#line 1747 "configure"
 
6076
-#include "confdefs.h"
 
6077
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6078
-/* We use char because int might match the return type of a gcc2
 
6079
-    builtin and then its argument prototype would still apply.  */
 
6080
-char dnet_ntoa();
 
6081
-
 
6082
-int main() {
 
6083
-dnet_ntoa()
 
6084
-; return 0; }
 
6085
-EOF
 
6086
-if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6087
-  rm -rf conftest*
 
6088
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
6089
-else
 
6090
-  echo "configure: failed program was:" >&5
 
6091
-  cat conftest.$ac_ext >&5
 
6092
-  rm -rf conftest*
 
6093
-  eval "ac_cv_lib_$ac_lib_var=no"
 
6094
-fi
 
6095
-rm -f conftest*
 
6096
-LIBS="$ac_save_LIBS"
 
6097
-
 
6098
-fi
 
6099
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
6100
-  echo "$ac_t""yes" 1>&6
 
6101
-  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
6102
+      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
6103
+echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
 
6104
+if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
 
6105
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6106
 else
 
6107
-  echo "$ac_t""no" 1>&6
 
6108
+  ac_check_lib_save_LIBS=$LIBS
 
6109
+LIBS="-ldnet_stub  $LIBS"
 
6110
+cat >conftest.$ac_ext <<_ACEOF
 
6111
+/* confdefs.h.  */
 
6112
+_ACEOF
 
6113
+cat confdefs.h >>conftest.$ac_ext
 
6114
+cat >>conftest.$ac_ext <<_ACEOF
 
6115
+/* end confdefs.h.  */
 
6116
+
 
6117
+/* Override any GCC internal prototype to avoid an error.
 
6118
+   Use char because int might match the return type of a GCC
 
6119
+   builtin and then its argument prototype would still apply.  */
 
6120
+#ifdef __cplusplus
 
6121
+extern "C"
 
6122
+#endif
 
6123
+char dnet_ntoa ();
 
6124
+int
 
6125
+main ()
 
6126
+{
 
6127
+return dnet_ntoa ();
 
6128
+  ;
 
6129
+  return 0;
 
6130
+}
 
6131
+_ACEOF
 
6132
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6133
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6134
+  (eval $ac_link) 2>conftest.er1
 
6135
+  ac_status=$?
 
6136
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6137
+  rm -f conftest.er1
 
6138
+  cat conftest.err >&5
 
6139
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6140
+  (exit $ac_status); } &&
 
6141
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6142
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6143
+  (eval $ac_try) 2>&5
 
6144
+  ac_status=$?
 
6145
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6146
+  (exit $ac_status); }; } &&
 
6147
+        { ac_try='test -s conftest$ac_exeext'
 
6148
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6149
+  (eval $ac_try) 2>&5
 
6150
+  ac_status=$?
 
6151
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6152
+  (exit $ac_status); }; }; then
 
6153
+  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
6154
+else
 
6155
+  echo "$as_me: failed program was:" >&5
 
6156
+sed 's/^/| /' conftest.$ac_ext >&5
 
6157
+
 
6158
+       ac_cv_lib_dnet_stub_dnet_ntoa=no
 
6159
+fi
 
6160
+
 
6161
+rm -f conftest.err conftest.$ac_objext \
 
6162
+      conftest$ac_exeext conftest.$ac_ext
 
6163
+LIBS=$ac_check_lib_save_LIBS
 
6164
+fi
 
6165
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
6166
+echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
6167
+if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
6168
+  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
6169
 fi
 
6170
 
 
6171
     fi
 
6172
+fi
 
6173
+
 
6174
+rm -f conftest.err conftest.$ac_objext \
 
6175
+      conftest$ac_exeext conftest.$ac_ext
 
6176
+    LIBS="$ac_xsave_LIBS"
 
6177
 
 
6178
     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
6179
     # to get the SysV transport functions.
 
6180
-    # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
 
6181
+    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
6182
     # needs -lnsl.
 
6183
     # The nsl library prevents programs from opening the X display
 
6184
-    # on Irix 5.2, according to dickey@clark.net.
 
6185
-    echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
 
6186
-echo "configure:1787: checking for gethostbyname" >&5
 
6187
-if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
 
6188
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6189
-else
 
6190
-  cat > conftest.$ac_ext <<EOF
 
6191
-#line 1792 "configure"
 
6192
-#include "confdefs.h"
 
6193
+    # on Irix 5.2, according to T.E. Dickey.
 
6194
+    # The functions gethostbyname, getservbyname, and inet_addr are
 
6195
+    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
6196
+    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
6197
+echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 
6198
+if test "${ac_cv_func_gethostbyname+set}" = set; then
 
6199
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6200
+else
 
6201
+  cat >conftest.$ac_ext <<_ACEOF
 
6202
+/* confdefs.h.  */
 
6203
+_ACEOF
 
6204
+cat confdefs.h >>conftest.$ac_ext
 
6205
+cat >>conftest.$ac_ext <<_ACEOF
 
6206
+/* end confdefs.h.  */
 
6207
+/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
6208
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6209
+#define gethostbyname innocuous_gethostbyname
 
6210
+
 
6211
 /* System header to define __stub macros and hopefully few prototypes,
 
6212
-    which can conflict with char gethostbyname(); below.  */
 
6213
-#include <assert.h>
 
6214
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6215
-/* We use char because int might match the return type of a gcc2
 
6216
-    builtin and then its argument prototype would still apply.  */
 
6217
-char gethostbyname();
 
6218
+    which can conflict with char gethostbyname (); below.
 
6219
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6220
+    <limits.h> exists even on freestanding compilers.  */
 
6221
+
 
6222
+#ifdef __STDC__
 
6223
+# include <limits.h>
 
6224
+#else
 
6225
+# include <assert.h>
 
6226
+#endif
 
6227
 
 
6228
-int main() {
 
6229
+#undef gethostbyname
 
6230
 
 
6231
+/* Override any GCC internal prototype to avoid an error.
 
6232
+   Use char because int might match the return type of a GCC
 
6233
+   builtin and then its argument prototype would still apply.  */
 
6234
+#ifdef __cplusplus
 
6235
+extern "C"
 
6236
+#endif
 
6237
+char gethostbyname ();
 
6238
 /* The GNU C library defines this for functions which it implements
 
6239
     to always fail with ENOSYS.  Some functions are actually named
 
6240
     something starting with __ and the normal name is an alias.  */
 
6241
-#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
6242
+#if defined __stub_gethostbyname || defined __stub___gethostbyname
 
6243
 choke me
 
6244
-#else
 
6245
-gethostbyname();
 
6246
 #endif
 
6247
 
 
6248
-; return 0; }
 
6249
-EOF
 
6250
-if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6251
-  rm -rf conftest*
 
6252
-  eval "ac_cv_func_gethostbyname=yes"
 
6253
-else
 
6254
-  echo "configure: failed program was:" >&5
 
6255
-  cat conftest.$ac_ext >&5
 
6256
-  rm -rf conftest*
 
6257
-  eval "ac_cv_func_gethostbyname=no"
 
6258
-fi
 
6259
-rm -f conftest*
 
6260
+int
 
6261
+main ()
 
6262
+{
 
6263
+return gethostbyname ();
 
6264
+  ;
 
6265
+  return 0;
 
6266
+}
 
6267
+_ACEOF
 
6268
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6269
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6270
+  (eval $ac_link) 2>conftest.er1
 
6271
+  ac_status=$?
 
6272
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6273
+  rm -f conftest.er1
 
6274
+  cat conftest.err >&5
 
6275
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6276
+  (exit $ac_status); } &&
 
6277
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6278
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6279
+  (eval $ac_try) 2>&5
 
6280
+  ac_status=$?
 
6281
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6282
+  (exit $ac_status); }; } &&
 
6283
+        { ac_try='test -s conftest$ac_exeext'
 
6284
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6285
+  (eval $ac_try) 2>&5
 
6286
+  ac_status=$?
 
6287
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6288
+  (exit $ac_status); }; }; then
 
6289
+  ac_cv_func_gethostbyname=yes
 
6290
+else
 
6291
+  echo "$as_me: failed program was:" >&5
 
6292
+sed 's/^/| /' conftest.$ac_ext >&5
 
6293
+
 
6294
+       ac_cv_func_gethostbyname=no
 
6295
 fi
 
6296
 
 
6297
-if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
 
6298
-  echo "$ac_t""yes" 1>&6
 
6299
-  :
 
6300
-else
 
6301
-  echo "$ac_t""no" 1>&6
 
6302
+rm -f conftest.err conftest.$ac_objext \
 
6303
+      conftest$ac_exeext conftest.$ac_ext
 
6304
 fi
 
6305
+{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
6306
+echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
6307
 
 
6308
     if test $ac_cv_func_gethostbyname = no; then
 
6309
-      echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
 
6310
-echo "configure:1836: checking for gethostbyname in -lnsl" >&5
 
6311
-ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
 
6312
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
6313
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6314
+      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
6315
+echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
6316
+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
6317
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6318
 else
 
6319
-  ac_save_LIBS="$LIBS"
 
6320
+  ac_check_lib_save_LIBS=$LIBS
 
6321
 LIBS="-lnsl  $LIBS"
 
6322
-cat > conftest.$ac_ext <<EOF
 
6323
-#line 1844 "configure"
 
6324
-#include "confdefs.h"
 
6325
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6326
-/* We use char because int might match the return type of a gcc2
 
6327
-    builtin and then its argument prototype would still apply.  */
 
6328
-char gethostbyname();
 
6329
-
 
6330
-int main() {
 
6331
-gethostbyname()
 
6332
-; return 0; }
 
6333
-EOF
 
6334
-if { (eval echo configure:1855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6335
-  rm -rf conftest*
 
6336
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
6337
-else
 
6338
-  echo "configure: failed program was:" >&5
 
6339
-  cat conftest.$ac_ext >&5
 
6340
-  rm -rf conftest*
 
6341
-  eval "ac_cv_lib_$ac_lib_var=no"
 
6342
+cat >conftest.$ac_ext <<_ACEOF
 
6343
+/* confdefs.h.  */
 
6344
+_ACEOF
 
6345
+cat confdefs.h >>conftest.$ac_ext
 
6346
+cat >>conftest.$ac_ext <<_ACEOF
 
6347
+/* end confdefs.h.  */
 
6348
+
 
6349
+/* Override any GCC internal prototype to avoid an error.
 
6350
+   Use char because int might match the return type of a GCC
 
6351
+   builtin and then its argument prototype would still apply.  */
 
6352
+#ifdef __cplusplus
 
6353
+extern "C"
 
6354
+#endif
 
6355
+char gethostbyname ();
 
6356
+int
 
6357
+main ()
 
6358
+{
 
6359
+return gethostbyname ();
 
6360
+  ;
 
6361
+  return 0;
 
6362
+}
 
6363
+_ACEOF
 
6364
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6365
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6366
+  (eval $ac_link) 2>conftest.er1
 
6367
+  ac_status=$?
 
6368
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6369
+  rm -f conftest.er1
 
6370
+  cat conftest.err >&5
 
6371
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6372
+  (exit $ac_status); } &&
 
6373
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6374
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6375
+  (eval $ac_try) 2>&5
 
6376
+  ac_status=$?
 
6377
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6378
+  (exit $ac_status); }; } &&
 
6379
+        { ac_try='test -s conftest$ac_exeext'
 
6380
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6381
+  (eval $ac_try) 2>&5
 
6382
+  ac_status=$?
 
6383
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6384
+  (exit $ac_status); }; }; then
 
6385
+  ac_cv_lib_nsl_gethostbyname=yes
 
6386
+else
 
6387
+  echo "$as_me: failed program was:" >&5
 
6388
+sed 's/^/| /' conftest.$ac_ext >&5
 
6389
+
 
6390
+       ac_cv_lib_nsl_gethostbyname=no
 
6391
+fi
 
6392
+
 
6393
+rm -f conftest.err conftest.$ac_objext \
 
6394
+      conftest$ac_exeext conftest.$ac_ext
 
6395
+LIBS=$ac_check_lib_save_LIBS
 
6396
+fi
 
6397
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
6398
+echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
 
6399
+if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
6400
+  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
6401
 fi
 
6402
-rm -f conftest*
 
6403
-LIBS="$ac_save_LIBS"
 
6404
 
 
6405
-fi
 
6406
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
6407
-  echo "$ac_t""yes" 1>&6
 
6408
-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
6409
-else
 
6410
-  echo "$ac_t""no" 1>&6
 
6411
+      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
6412
+       { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
6413
+echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
 
6414
+if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
 
6415
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6416
+else
 
6417
+  ac_check_lib_save_LIBS=$LIBS
 
6418
+LIBS="-lbsd  $LIBS"
 
6419
+cat >conftest.$ac_ext <<_ACEOF
 
6420
+/* confdefs.h.  */
 
6421
+_ACEOF
 
6422
+cat confdefs.h >>conftest.$ac_ext
 
6423
+cat >>conftest.$ac_ext <<_ACEOF
 
6424
+/* end confdefs.h.  */
 
6425
+
 
6426
+/* Override any GCC internal prototype to avoid an error.
 
6427
+   Use char because int might match the return type of a GCC
 
6428
+   builtin and then its argument prototype would still apply.  */
 
6429
+#ifdef __cplusplus
 
6430
+extern "C"
 
6431
+#endif
 
6432
+char gethostbyname ();
 
6433
+int
 
6434
+main ()
 
6435
+{
 
6436
+return gethostbyname ();
 
6437
+  ;
 
6438
+  return 0;
 
6439
+}
 
6440
+_ACEOF
 
6441
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6442
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6443
+  (eval $ac_link) 2>conftest.er1
 
6444
+  ac_status=$?
 
6445
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6446
+  rm -f conftest.er1
 
6447
+  cat conftest.err >&5
 
6448
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6449
+  (exit $ac_status); } &&
 
6450
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6451
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6452
+  (eval $ac_try) 2>&5
 
6453
+  ac_status=$?
 
6454
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6455
+  (exit $ac_status); }; } &&
 
6456
+        { ac_try='test -s conftest$ac_exeext'
 
6457
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6458
+  (eval $ac_try) 2>&5
 
6459
+  ac_status=$?
 
6460
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6461
+  (exit $ac_status); }; }; then
 
6462
+  ac_cv_lib_bsd_gethostbyname=yes
 
6463
+else
 
6464
+  echo "$as_me: failed program was:" >&5
 
6465
+sed 's/^/| /' conftest.$ac_ext >&5
 
6466
+
 
6467
+       ac_cv_lib_bsd_gethostbyname=no
 
6468
+fi
 
6469
+
 
6470
+rm -f conftest.err conftest.$ac_objext \
 
6471
+      conftest$ac_exeext conftest.$ac_ext
 
6472
+LIBS=$ac_check_lib_save_LIBS
 
6473
+fi
 
6474
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
6475
+echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
 
6476
+if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
6477
+  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
6478
 fi
 
6479
 
 
6480
+      fi
 
6481
     fi
 
6482
 
 
6483
     # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
6484
     # socket/setsockopt and other routines are undefined under SCO ODT
 
6485
     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
6486
-    # on later versions), says simon@lia.di.epfl.ch: it contains
 
6487
-    # gethostby* variants that don't use the nameserver (or something).
 
6488
-    # -lsocket must be given before -lnsl if both are needed.
 
6489
-    # We assume that if connect needs -lnsl, so does gethostbyname.
 
6490
-    echo $ac_n "checking for connect""... $ac_c" 1>&6
 
6491
-echo "configure:1885: checking for connect" >&5
 
6492
-if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
 
6493
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6494
-else
 
6495
-  cat > conftest.$ac_ext <<EOF
 
6496
-#line 1890 "configure"
 
6497
-#include "confdefs.h"
 
6498
+    # on later versions), says Simon Leinen: it contains gethostby*
 
6499
+    # variants that don't use the name server (or something).  -lsocket
 
6500
+    # must be given before -lnsl if both are needed.  We assume that
 
6501
+    # if connect needs -lnsl, so does gethostbyname.
 
6502
+    { echo "$as_me:$LINENO: checking for connect" >&5
 
6503
+echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
 
6504
+if test "${ac_cv_func_connect+set}" = set; then
 
6505
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6506
+else
 
6507
+  cat >conftest.$ac_ext <<_ACEOF
 
6508
+/* confdefs.h.  */
 
6509
+_ACEOF
 
6510
+cat confdefs.h >>conftest.$ac_ext
 
6511
+cat >>conftest.$ac_ext <<_ACEOF
 
6512
+/* end confdefs.h.  */
 
6513
+/* Define connect to an innocuous variant, in case <limits.h> declares connect.
 
6514
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6515
+#define connect innocuous_connect
 
6516
+
 
6517
 /* System header to define __stub macros and hopefully few prototypes,
 
6518
-    which can conflict with char connect(); below.  */
 
6519
-#include <assert.h>
 
6520
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6521
-/* We use char because int might match the return type of a gcc2
 
6522
-    builtin and then its argument prototype would still apply.  */
 
6523
-char connect();
 
6524
+    which can conflict with char connect (); below.
 
6525
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6526
+    <limits.h> exists even on freestanding compilers.  */
 
6527
+
 
6528
+#ifdef __STDC__
 
6529
+# include <limits.h>
 
6530
+#else
 
6531
+# include <assert.h>
 
6532
+#endif
 
6533
 
 
6534
-int main() {
 
6535
+#undef connect
 
6536
 
 
6537
+/* Override any GCC internal prototype to avoid an error.
 
6538
+   Use char because int might match the return type of a GCC
 
6539
+   builtin and then its argument prototype would still apply.  */
 
6540
+#ifdef __cplusplus
 
6541
+extern "C"
 
6542
+#endif
 
6543
+char connect ();
 
6544
 /* The GNU C library defines this for functions which it implements
 
6545
     to always fail with ENOSYS.  Some functions are actually named
 
6546
     something starting with __ and the normal name is an alias.  */
 
6547
-#if defined (__stub_connect) || defined (__stub___connect)
 
6548
+#if defined __stub_connect || defined __stub___connect
 
6549
 choke me
 
6550
-#else
 
6551
-connect();
 
6552
 #endif
 
6553
 
 
6554
-; return 0; }
 
6555
-EOF
 
6556
-if { (eval echo configure:1913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6557
-  rm -rf conftest*
 
6558
-  eval "ac_cv_func_connect=yes"
 
6559
-else
 
6560
-  echo "configure: failed program was:" >&5
 
6561
-  cat conftest.$ac_ext >&5
 
6562
-  rm -rf conftest*
 
6563
-  eval "ac_cv_func_connect=no"
 
6564
-fi
 
6565
-rm -f conftest*
 
6566
+int
 
6567
+main ()
 
6568
+{
 
6569
+return connect ();
 
6570
+  ;
 
6571
+  return 0;
 
6572
+}
 
6573
+_ACEOF
 
6574
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6575
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6576
+  (eval $ac_link) 2>conftest.er1
 
6577
+  ac_status=$?
 
6578
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6579
+  rm -f conftest.er1
 
6580
+  cat conftest.err >&5
 
6581
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6582
+  (exit $ac_status); } &&
 
6583
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6584
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6585
+  (eval $ac_try) 2>&5
 
6586
+  ac_status=$?
 
6587
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6588
+  (exit $ac_status); }; } &&
 
6589
+        { ac_try='test -s conftest$ac_exeext'
 
6590
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6591
+  (eval $ac_try) 2>&5
 
6592
+  ac_status=$?
 
6593
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6594
+  (exit $ac_status); }; }; then
 
6595
+  ac_cv_func_connect=yes
 
6596
+else
 
6597
+  echo "$as_me: failed program was:" >&5
 
6598
+sed 's/^/| /' conftest.$ac_ext >&5
 
6599
+
 
6600
+       ac_cv_func_connect=no
 
6601
 fi
 
6602
 
 
6603
-if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
 
6604
-  echo "$ac_t""yes" 1>&6
 
6605
-  :
 
6606
-else
 
6607
-  echo "$ac_t""no" 1>&6
 
6608
+rm -f conftest.err conftest.$ac_objext \
 
6609
+      conftest$ac_exeext conftest.$ac_ext
 
6610
 fi
 
6611
+{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
6612
+echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
6613
 
 
6614
     if test $ac_cv_func_connect = no; then
 
6615
-      echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
 
6616
-echo "configure:1934: checking for connect in -lsocket" >&5
 
6617
-ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
 
6618
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
6619
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6620
+      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
6621
+echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
 
6622
+if test "${ac_cv_lib_socket_connect+set}" = set; then
 
6623
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6624
 else
 
6625
-  ac_save_LIBS="$LIBS"
 
6626
+  ac_check_lib_save_LIBS=$LIBS
 
6627
 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
6628
-cat > conftest.$ac_ext <<EOF
 
6629
-#line 1942 "configure"
 
6630
-#include "confdefs.h"
 
6631
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6632
-/* We use char because int might match the return type of a gcc2
 
6633
-    builtin and then its argument prototype would still apply.  */
 
6634
-char connect();
 
6635
-
 
6636
-int main() {
 
6637
-connect()
 
6638
-; return 0; }
 
6639
-EOF
 
6640
-if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6641
-  rm -rf conftest*
 
6642
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
6643
-else
 
6644
-  echo "configure: failed program was:" >&5
 
6645
-  cat conftest.$ac_ext >&5
 
6646
-  rm -rf conftest*
 
6647
-  eval "ac_cv_lib_$ac_lib_var=no"
 
6648
-fi
 
6649
-rm -f conftest*
 
6650
-LIBS="$ac_save_LIBS"
 
6651
-
 
6652
-fi
 
6653
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
6654
-  echo "$ac_t""yes" 1>&6
 
6655
+cat >conftest.$ac_ext <<_ACEOF
 
6656
+/* confdefs.h.  */
 
6657
+_ACEOF
 
6658
+cat confdefs.h >>conftest.$ac_ext
 
6659
+cat >>conftest.$ac_ext <<_ACEOF
 
6660
+/* end confdefs.h.  */
 
6661
+
 
6662
+/* Override any GCC internal prototype to avoid an error.
 
6663
+   Use char because int might match the return type of a GCC
 
6664
+   builtin and then its argument prototype would still apply.  */
 
6665
+#ifdef __cplusplus
 
6666
+extern "C"
 
6667
+#endif
 
6668
+char connect ();
 
6669
+int
 
6670
+main ()
 
6671
+{
 
6672
+return connect ();
 
6673
+  ;
 
6674
+  return 0;
 
6675
+}
 
6676
+_ACEOF
 
6677
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6678
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6679
+  (eval $ac_link) 2>conftest.er1
 
6680
+  ac_status=$?
 
6681
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6682
+  rm -f conftest.er1
 
6683
+  cat conftest.err >&5
 
6684
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6685
+  (exit $ac_status); } &&
 
6686
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6687
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6688
+  (eval $ac_try) 2>&5
 
6689
+  ac_status=$?
 
6690
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6691
+  (exit $ac_status); }; } &&
 
6692
+        { ac_try='test -s conftest$ac_exeext'
 
6693
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6694
+  (eval $ac_try) 2>&5
 
6695
+  ac_status=$?
 
6696
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6697
+  (exit $ac_status); }; }; then
 
6698
+  ac_cv_lib_socket_connect=yes
 
6699
+else
 
6700
+  echo "$as_me: failed program was:" >&5
 
6701
+sed 's/^/| /' conftest.$ac_ext >&5
 
6702
+
 
6703
+       ac_cv_lib_socket_connect=no
 
6704
+fi
 
6705
+
 
6706
+rm -f conftest.err conftest.$ac_objext \
 
6707
+      conftest$ac_exeext conftest.$ac_ext
 
6708
+LIBS=$ac_check_lib_save_LIBS
 
6709
+fi
 
6710
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
6711
+echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
 
6712
+if test $ac_cv_lib_socket_connect = yes; then
 
6713
   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
6714
-else
 
6715
-  echo "$ac_t""no" 1>&6
 
6716
 fi
 
6717
 
 
6718
     fi
 
6719
 
 
6720
-    # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
 
6721
-    echo $ac_n "checking for remove""... $ac_c" 1>&6
 
6722
-echo "configure:1977: checking for remove" >&5
 
6723
-if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
 
6724
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6725
-else
 
6726
-  cat > conftest.$ac_ext <<EOF
 
6727
-#line 1982 "configure"
 
6728
-#include "confdefs.h"
 
6729
+    # Guillermo Gomez says -lposix is necessary on A/UX.
 
6730
+    { echo "$as_me:$LINENO: checking for remove" >&5
 
6731
+echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
 
6732
+if test "${ac_cv_func_remove+set}" = set; then
 
6733
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6734
+else
 
6735
+  cat >conftest.$ac_ext <<_ACEOF
 
6736
+/* confdefs.h.  */
 
6737
+_ACEOF
 
6738
+cat confdefs.h >>conftest.$ac_ext
 
6739
+cat >>conftest.$ac_ext <<_ACEOF
 
6740
+/* end confdefs.h.  */
 
6741
+/* Define remove to an innocuous variant, in case <limits.h> declares remove.
 
6742
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6743
+#define remove innocuous_remove
 
6744
+
 
6745
 /* System header to define __stub macros and hopefully few prototypes,
 
6746
-    which can conflict with char remove(); below.  */
 
6747
-#include <assert.h>
 
6748
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6749
-/* We use char because int might match the return type of a gcc2
 
6750
-    builtin and then its argument prototype would still apply.  */
 
6751
-char remove();
 
6752
+    which can conflict with char remove (); below.
 
6753
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6754
+    <limits.h> exists even on freestanding compilers.  */
 
6755
+
 
6756
+#ifdef __STDC__
 
6757
+# include <limits.h>
 
6758
+#else
 
6759
+# include <assert.h>
 
6760
+#endif
 
6761
 
 
6762
-int main() {
 
6763
+#undef remove
 
6764
 
 
6765
+/* Override any GCC internal prototype to avoid an error.
 
6766
+   Use char because int might match the return type of a GCC
 
6767
+   builtin and then its argument prototype would still apply.  */
 
6768
+#ifdef __cplusplus
 
6769
+extern "C"
 
6770
+#endif
 
6771
+char remove ();
 
6772
 /* The GNU C library defines this for functions which it implements
 
6773
     to always fail with ENOSYS.  Some functions are actually named
 
6774
     something starting with __ and the normal name is an alias.  */
 
6775
-#if defined (__stub_remove) || defined (__stub___remove)
 
6776
+#if defined __stub_remove || defined __stub___remove
 
6777
 choke me
 
6778
-#else
 
6779
-remove();
 
6780
 #endif
 
6781
 
 
6782
-; return 0; }
 
6783
-EOF
 
6784
-if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6785
-  rm -rf conftest*
 
6786
-  eval "ac_cv_func_remove=yes"
 
6787
-else
 
6788
-  echo "configure: failed program was:" >&5
 
6789
-  cat conftest.$ac_ext >&5
 
6790
-  rm -rf conftest*
 
6791
-  eval "ac_cv_func_remove=no"
 
6792
-fi
 
6793
-rm -f conftest*
 
6794
+int
 
6795
+main ()
 
6796
+{
 
6797
+return remove ();
 
6798
+  ;
 
6799
+  return 0;
 
6800
+}
 
6801
+_ACEOF
 
6802
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6803
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6804
+  (eval $ac_link) 2>conftest.er1
 
6805
+  ac_status=$?
 
6806
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6807
+  rm -f conftest.er1
 
6808
+  cat conftest.err >&5
 
6809
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6810
+  (exit $ac_status); } &&
 
6811
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6812
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6813
+  (eval $ac_try) 2>&5
 
6814
+  ac_status=$?
 
6815
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6816
+  (exit $ac_status); }; } &&
 
6817
+        { ac_try='test -s conftest$ac_exeext'
 
6818
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6819
+  (eval $ac_try) 2>&5
 
6820
+  ac_status=$?
 
6821
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6822
+  (exit $ac_status); }; }; then
 
6823
+  ac_cv_func_remove=yes
 
6824
+else
 
6825
+  echo "$as_me: failed program was:" >&5
 
6826
+sed 's/^/| /' conftest.$ac_ext >&5
 
6827
+
 
6828
+       ac_cv_func_remove=no
 
6829
 fi
 
6830
 
 
6831
-if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
 
6832
-  echo "$ac_t""yes" 1>&6
 
6833
-  :
 
6834
-else
 
6835
-  echo "$ac_t""no" 1>&6
 
6836
+rm -f conftest.err conftest.$ac_objext \
 
6837
+      conftest$ac_exeext conftest.$ac_ext
 
6838
 fi
 
6839
+{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
6840
+echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 
6841
 
 
6842
     if test $ac_cv_func_remove = no; then
 
6843
-      echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
 
6844
-echo "configure:2026: checking for remove in -lposix" >&5
 
6845
-ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
 
6846
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
6847
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6848
+      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
6849
+echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
 
6850
+if test "${ac_cv_lib_posix_remove+set}" = set; then
 
6851
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6852
 else
 
6853
-  ac_save_LIBS="$LIBS"
 
6854
+  ac_check_lib_save_LIBS=$LIBS
 
6855
 LIBS="-lposix  $LIBS"
 
6856
-cat > conftest.$ac_ext <<EOF
 
6857
-#line 2034 "configure"
 
6858
-#include "confdefs.h"
 
6859
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6860
-/* We use char because int might match the return type of a gcc2
 
6861
-    builtin and then its argument prototype would still apply.  */
 
6862
-char remove();
 
6863
-
 
6864
-int main() {
 
6865
-remove()
 
6866
-; return 0; }
 
6867
-EOF
 
6868
-if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
6869
-  rm -rf conftest*
 
6870
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
6871
-else
 
6872
-  echo "configure: failed program was:" >&5
 
6873
-  cat conftest.$ac_ext >&5
 
6874
-  rm -rf conftest*
 
6875
-  eval "ac_cv_lib_$ac_lib_var=no"
 
6876
-fi
 
6877
-rm -f conftest*
 
6878
-LIBS="$ac_save_LIBS"
 
6879
-
 
6880
-fi
 
6881
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
6882
-  echo "$ac_t""yes" 1>&6
 
6883
+cat >conftest.$ac_ext <<_ACEOF
 
6884
+/* confdefs.h.  */
 
6885
+_ACEOF
 
6886
+cat confdefs.h >>conftest.$ac_ext
 
6887
+cat >>conftest.$ac_ext <<_ACEOF
 
6888
+/* end confdefs.h.  */
 
6889
+
 
6890
+/* Override any GCC internal prototype to avoid an error.
 
6891
+   Use char because int might match the return type of a GCC
 
6892
+   builtin and then its argument prototype would still apply.  */
 
6893
+#ifdef __cplusplus
 
6894
+extern "C"
 
6895
+#endif
 
6896
+char remove ();
 
6897
+int
 
6898
+main ()
 
6899
+{
 
6900
+return remove ();
 
6901
+  ;
 
6902
+  return 0;
 
6903
+}
 
6904
+_ACEOF
 
6905
+rm -f conftest.$ac_objext conftest$ac_exeext
 
6906
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6907
+  (eval $ac_link) 2>conftest.er1
 
6908
+  ac_status=$?
 
6909
+  grep -v '^ *+' conftest.er1 >conftest.err
 
6910
+  rm -f conftest.er1
 
6911
+  cat conftest.err >&5
 
6912
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6913
+  (exit $ac_status); } &&
 
6914
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
6915
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6916
+  (eval $ac_try) 2>&5
 
6917
+  ac_status=$?
 
6918
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6919
+  (exit $ac_status); }; } &&
 
6920
+        { ac_try='test -s conftest$ac_exeext'
 
6921
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6922
+  (eval $ac_try) 2>&5
 
6923
+  ac_status=$?
 
6924
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6925
+  (exit $ac_status); }; }; then
 
6926
+  ac_cv_lib_posix_remove=yes
 
6927
+else
 
6928
+  echo "$as_me: failed program was:" >&5
 
6929
+sed 's/^/| /' conftest.$ac_ext >&5
 
6930
+
 
6931
+       ac_cv_lib_posix_remove=no
 
6932
+fi
 
6933
+
 
6934
+rm -f conftest.err conftest.$ac_objext \
 
6935
+      conftest$ac_exeext conftest.$ac_ext
 
6936
+LIBS=$ac_check_lib_save_LIBS
 
6937
+fi
 
6938
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
6939
+echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
 
6940
+if test $ac_cv_lib_posix_remove = yes; then
 
6941
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
6942
-else
 
6943
-  echo "$ac_t""no" 1>&6
 
6944
 fi
 
6945
 
 
6946
     fi
 
6947
 
 
6948
     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
6949
-    echo $ac_n "checking for shmat""... $ac_c" 1>&6
 
6950
-echo "configure:2069: checking for shmat" >&5
 
6951
-if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
 
6952
-  echo $ac_n "(cached) $ac_c" 1>&6
 
6953
-else
 
6954
-  cat > conftest.$ac_ext <<EOF
 
6955
-#line 2074 "configure"
 
6956
-#include "confdefs.h"
 
6957
+    { echo "$as_me:$LINENO: checking for shmat" >&5
 
6958
+echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
 
6959
+if test "${ac_cv_func_shmat+set}" = set; then
 
6960
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6961
+else
 
6962
+  cat >conftest.$ac_ext <<_ACEOF
 
6963
+/* confdefs.h.  */
 
6964
+_ACEOF
 
6965
+cat confdefs.h >>conftest.$ac_ext
 
6966
+cat >>conftest.$ac_ext <<_ACEOF
 
6967
+/* end confdefs.h.  */
 
6968
+/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
 
6969
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6970
+#define shmat innocuous_shmat
 
6971
+
 
6972
 /* System header to define __stub macros and hopefully few prototypes,
 
6973
-    which can conflict with char shmat(); below.  */
 
6974
-#include <assert.h>
 
6975
-/* Override any gcc2 internal prototype to avoid an error.  */
 
6976
-/* We use char because int might match the return type of a gcc2
 
6977
-    builtin and then its argument prototype would still apply.  */
 
6978
-char shmat();
 
6979
+    which can conflict with char shmat (); below.
 
6980
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6981
+    <limits.h> exists even on freestanding compilers.  */
 
6982
+
 
6983
+#ifdef __STDC__
 
6984
+# include <limits.h>
 
6985
+#else
 
6986
+# include <assert.h>
 
6987
+#endif
 
6988
 
 
6989
-int main() {
 
6990
+#undef shmat
 
6991
 
 
6992
+/* Override any GCC internal prototype to avoid an error.
 
6993
+   Use char because int might match the return type of a GCC
 
6994
+   builtin and then its argument prototype would still apply.  */
 
6995
+#ifdef __cplusplus
 
6996
+extern "C"
 
6997
+#endif
 
6998
+char shmat ();
 
6999
 /* The GNU C library defines this for functions which it implements
 
7000
     to always fail with ENOSYS.  Some functions are actually named
 
7001
     something starting with __ and the normal name is an alias.  */
 
7002
-#if defined (__stub_shmat) || defined (__stub___shmat)
 
7003
+#if defined __stub_shmat || defined __stub___shmat
 
7004
 choke me
 
7005
-#else
 
7006
-shmat();
 
7007
 #endif
 
7008
 
 
7009
-; return 0; }
 
7010
-EOF
 
7011
-if { (eval echo configure:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7012
-  rm -rf conftest*
 
7013
-  eval "ac_cv_func_shmat=yes"
 
7014
-else
 
7015
-  echo "configure: failed program was:" >&5
 
7016
-  cat conftest.$ac_ext >&5
 
7017
-  rm -rf conftest*
 
7018
-  eval "ac_cv_func_shmat=no"
 
7019
-fi
 
7020
-rm -f conftest*
 
7021
+int
 
7022
+main ()
 
7023
+{
 
7024
+return shmat ();
 
7025
+  ;
 
7026
+  return 0;
 
7027
+}
 
7028
+_ACEOF
 
7029
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7030
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7031
+  (eval $ac_link) 2>conftest.er1
 
7032
+  ac_status=$?
 
7033
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7034
+  rm -f conftest.er1
 
7035
+  cat conftest.err >&5
 
7036
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7037
+  (exit $ac_status); } &&
 
7038
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7039
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7040
+  (eval $ac_try) 2>&5
 
7041
+  ac_status=$?
 
7042
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7043
+  (exit $ac_status); }; } &&
 
7044
+        { ac_try='test -s conftest$ac_exeext'
 
7045
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7046
+  (eval $ac_try) 2>&5
 
7047
+  ac_status=$?
 
7048
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7049
+  (exit $ac_status); }; }; then
 
7050
+  ac_cv_func_shmat=yes
 
7051
+else
 
7052
+  echo "$as_me: failed program was:" >&5
 
7053
+sed 's/^/| /' conftest.$ac_ext >&5
 
7054
+
 
7055
+       ac_cv_func_shmat=no
 
7056
 fi
 
7057
 
 
7058
-if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
 
7059
-  echo "$ac_t""yes" 1>&6
 
7060
-  :
 
7061
-else
 
7062
-  echo "$ac_t""no" 1>&6
 
7063
+rm -f conftest.err conftest.$ac_objext \
 
7064
+      conftest$ac_exeext conftest.$ac_ext
 
7065
 fi
 
7066
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
7067
+echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
7068
 
 
7069
     if test $ac_cv_func_shmat = no; then
 
7070
-      echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
 
7071
-echo "configure:2118: checking for shmat in -lipc" >&5
 
7072
-ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
 
7073
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7074
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7075
+      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
7076
+echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
 
7077
+if test "${ac_cv_lib_ipc_shmat+set}" = set; then
 
7078
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7079
 else
 
7080
-  ac_save_LIBS="$LIBS"
 
7081
+  ac_check_lib_save_LIBS=$LIBS
 
7082
 LIBS="-lipc  $LIBS"
 
7083
-cat > conftest.$ac_ext <<EOF
 
7084
-#line 2126 "configure"
 
7085
-#include "confdefs.h"
 
7086
-/* Override any gcc2 internal prototype to avoid an error.  */
 
7087
-/* We use char because int might match the return type of a gcc2
 
7088
-    builtin and then its argument prototype would still apply.  */
 
7089
-char shmat();
 
7090
-
 
7091
-int main() {
 
7092
-shmat()
 
7093
-; return 0; }
 
7094
-EOF
 
7095
-if { (eval echo configure:2137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7096
-  rm -rf conftest*
 
7097
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7098
-else
 
7099
-  echo "configure: failed program was:" >&5
 
7100
-  cat conftest.$ac_ext >&5
 
7101
-  rm -rf conftest*
 
7102
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7103
-fi
 
7104
-rm -f conftest*
 
7105
-LIBS="$ac_save_LIBS"
 
7106
-
 
7107
-fi
 
7108
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7109
-  echo "$ac_t""yes" 1>&6
 
7110
+cat >conftest.$ac_ext <<_ACEOF
 
7111
+/* confdefs.h.  */
 
7112
+_ACEOF
 
7113
+cat confdefs.h >>conftest.$ac_ext
 
7114
+cat >>conftest.$ac_ext <<_ACEOF
 
7115
+/* end confdefs.h.  */
 
7116
+
 
7117
+/* Override any GCC internal prototype to avoid an error.
 
7118
+   Use char because int might match the return type of a GCC
 
7119
+   builtin and then its argument prototype would still apply.  */
 
7120
+#ifdef __cplusplus
 
7121
+extern "C"
 
7122
+#endif
 
7123
+char shmat ();
 
7124
+int
 
7125
+main ()
 
7126
+{
 
7127
+return shmat ();
 
7128
+  ;
 
7129
+  return 0;
 
7130
+}
 
7131
+_ACEOF
 
7132
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7133
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7134
+  (eval $ac_link) 2>conftest.er1
 
7135
+  ac_status=$?
 
7136
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7137
+  rm -f conftest.er1
 
7138
+  cat conftest.err >&5
 
7139
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7140
+  (exit $ac_status); } &&
 
7141
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7142
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7143
+  (eval $ac_try) 2>&5
 
7144
+  ac_status=$?
 
7145
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7146
+  (exit $ac_status); }; } &&
 
7147
+        { ac_try='test -s conftest$ac_exeext'
 
7148
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7149
+  (eval $ac_try) 2>&5
 
7150
+  ac_status=$?
 
7151
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7152
+  (exit $ac_status); }; }; then
 
7153
+  ac_cv_lib_ipc_shmat=yes
 
7154
+else
 
7155
+  echo "$as_me: failed program was:" >&5
 
7156
+sed 's/^/| /' conftest.$ac_ext >&5
 
7157
+
 
7158
+       ac_cv_lib_ipc_shmat=no
 
7159
+fi
 
7160
+
 
7161
+rm -f conftest.err conftest.$ac_objext \
 
7162
+      conftest$ac_exeext conftest.$ac_ext
 
7163
+LIBS=$ac_check_lib_save_LIBS
 
7164
+fi
 
7165
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
7166
+echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
 
7167
+if test $ac_cv_lib_ipc_shmat = yes; then
 
7168
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
7169
-else
 
7170
-  echo "$ac_t""no" 1>&6
 
7171
 fi
 
7172
 
 
7173
     fi
 
7174
   fi
 
7175
 
 
7176
   # Check for libraries that X11R6 Xt/Xaw programs need.
 
7177
-  ac_save_LDFLAGS="$LDFLAGS"
 
7178
+  ac_save_LDFLAGS=$LDFLAGS
 
7179
   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
7180
   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
7181
   # check for ICE first), but we must link in the order -lSM -lICE or
 
7182
   # we get undefined symbols.  So assume we have SM if we have ICE.
 
7183
   # These have to be linked with before -lX11, unlike the other
 
7184
   # libraries we check for below, so use a different variable.
 
7185
-  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
 
7186
-  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
 
7187
-echo "configure:2170: checking for IceConnectionNumber in -lICE" >&5
 
7188
-ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
 
7189
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7190
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7191
+  # John Interrante, Karl Berry
 
7192
+  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
7193
+echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
 
7194
+if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
 
7195
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7196
 else
 
7197
-  ac_save_LIBS="$LIBS"
 
7198
+  ac_check_lib_save_LIBS=$LIBS
 
7199
 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
7200
-cat > conftest.$ac_ext <<EOF
 
7201
-#line 2178 "configure"
 
7202
-#include "confdefs.h"
 
7203
-/* Override any gcc2 internal prototype to avoid an error.  */
 
7204
-/* We use char because int might match the return type of a gcc2
 
7205
-    builtin and then its argument prototype would still apply.  */
 
7206
-char IceConnectionNumber();
 
7207
-
 
7208
-int main() {
 
7209
-IceConnectionNumber()
 
7210
-; return 0; }
 
7211
-EOF
 
7212
-if { (eval echo configure:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7213
-  rm -rf conftest*
 
7214
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7215
-else
 
7216
-  echo "configure: failed program was:" >&5
 
7217
-  cat conftest.$ac_ext >&5
 
7218
-  rm -rf conftest*
 
7219
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7220
-fi
 
7221
-rm -f conftest*
 
7222
-LIBS="$ac_save_LIBS"
 
7223
-
 
7224
-fi
 
7225
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7226
-  echo "$ac_t""yes" 1>&6
 
7227
+cat >conftest.$ac_ext <<_ACEOF
 
7228
+/* confdefs.h.  */
 
7229
+_ACEOF
 
7230
+cat confdefs.h >>conftest.$ac_ext
 
7231
+cat >>conftest.$ac_ext <<_ACEOF
 
7232
+/* end confdefs.h.  */
 
7233
+
 
7234
+/* Override any GCC internal prototype to avoid an error.
 
7235
+   Use char because int might match the return type of a GCC
 
7236
+   builtin and then its argument prototype would still apply.  */
 
7237
+#ifdef __cplusplus
 
7238
+extern "C"
 
7239
+#endif
 
7240
+char IceConnectionNumber ();
 
7241
+int
 
7242
+main ()
 
7243
+{
 
7244
+return IceConnectionNumber ();
 
7245
+  ;
 
7246
+  return 0;
 
7247
+}
 
7248
+_ACEOF
 
7249
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7250
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7251
+  (eval $ac_link) 2>conftest.er1
 
7252
+  ac_status=$?
 
7253
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7254
+  rm -f conftest.er1
 
7255
+  cat conftest.err >&5
 
7256
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7257
+  (exit $ac_status); } &&
 
7258
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7259
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7260
+  (eval $ac_try) 2>&5
 
7261
+  ac_status=$?
 
7262
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7263
+  (exit $ac_status); }; } &&
 
7264
+        { ac_try='test -s conftest$ac_exeext'
 
7265
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7266
+  (eval $ac_try) 2>&5
 
7267
+  ac_status=$?
 
7268
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7269
+  (exit $ac_status); }; }; then
 
7270
+  ac_cv_lib_ICE_IceConnectionNumber=yes
 
7271
+else
 
7272
+  echo "$as_me: failed program was:" >&5
 
7273
+sed 's/^/| /' conftest.$ac_ext >&5
 
7274
+
 
7275
+       ac_cv_lib_ICE_IceConnectionNumber=no
 
7276
+fi
 
7277
+
 
7278
+rm -f conftest.err conftest.$ac_objext \
 
7279
+      conftest$ac_exeext conftest.$ac_ext
 
7280
+LIBS=$ac_check_lib_save_LIBS
 
7281
+fi
 
7282
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
7283
+echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
7284
+if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
7285
   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
7286
-else
 
7287
-  echo "$ac_t""no" 1>&6
 
7288
 fi
 
7289
 
 
7290
-  LDFLAGS="$ac_save_LDFLAGS"
 
7291
+  LDFLAGS=$ac_save_LDFLAGS
 
7292
 
 
7293
 fi
 
7294
 
 
7295
 LIBS="${LIBS} ${X_PRE_LIBS} -lXt ${X_LIBS} ${X_EXTRA_LIBS}"
 
7296
 CPPFLAGS="${CPPFLAGS} -I${x_includes}"
 
7297
 LDFLAGS="${LDFLAGS} -L${x_libraries}"
 
7298
-echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
 
7299
-echo "configure:2217: checking for main in -lX11" >&5
 
7300
-ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
 
7301
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7302
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7303
+
 
7304
+{ echo "$as_me:$LINENO: checking for main in -lX11" >&5
 
7305
+echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6; }
 
7306
+if test "${ac_cv_lib_X11_main+set}" = set; then
 
7307
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7308
 else
 
7309
-  ac_save_LIBS="$LIBS"
 
7310
+  ac_check_lib_save_LIBS=$LIBS
 
7311
 LIBS="-lX11  $LIBS"
 
7312
-cat > conftest.$ac_ext <<EOF
 
7313
-#line 2225 "configure"
 
7314
-#include "confdefs.h"
 
7315
-
 
7316
-int main() {
 
7317
-main()
 
7318
-; return 0; }
 
7319
-EOF
 
7320
-if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7321
-  rm -rf conftest*
 
7322
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7323
-else
 
7324
-  echo "configure: failed program was:" >&5
 
7325
-  cat conftest.$ac_ext >&5
 
7326
-  rm -rf conftest*
 
7327
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7328
-fi
 
7329
-rm -f conftest*
 
7330
-LIBS="$ac_save_LIBS"
 
7331
-
 
7332
-fi
 
7333
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7334
-  echo "$ac_t""yes" 1>&6
 
7335
-    ac_tr_lib=HAVE_LIB`echo X11 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
 
7336
-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
7337
-  cat >> confdefs.h <<EOF
 
7338
-#define $ac_tr_lib 1
 
7339
-EOF
 
7340
+cat >conftest.$ac_ext <<_ACEOF
 
7341
+/* confdefs.h.  */
 
7342
+_ACEOF
 
7343
+cat confdefs.h >>conftest.$ac_ext
 
7344
+cat >>conftest.$ac_ext <<_ACEOF
 
7345
+/* end confdefs.h.  */
 
7346
+
 
7347
+
 
7348
+int
 
7349
+main ()
 
7350
+{
 
7351
+return main ();
 
7352
+  ;
 
7353
+  return 0;
 
7354
+}
 
7355
+_ACEOF
 
7356
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7357
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7358
+  (eval $ac_link) 2>conftest.er1
 
7359
+  ac_status=$?
 
7360
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7361
+  rm -f conftest.er1
 
7362
+  cat conftest.err >&5
 
7363
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7364
+  (exit $ac_status); } &&
 
7365
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7366
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7367
+  (eval $ac_try) 2>&5
 
7368
+  ac_status=$?
 
7369
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7370
+  (exit $ac_status); }; } &&
 
7371
+        { ac_try='test -s conftest$ac_exeext'
 
7372
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7373
+  (eval $ac_try) 2>&5
 
7374
+  ac_status=$?
 
7375
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7376
+  (exit $ac_status); }; }; then
 
7377
+  ac_cv_lib_X11_main=yes
 
7378
+else
 
7379
+  echo "$as_me: failed program was:" >&5
 
7380
+sed 's/^/| /' conftest.$ac_ext >&5
 
7381
+
 
7382
+       ac_cv_lib_X11_main=no
 
7383
+fi
 
7384
+
 
7385
+rm -f conftest.err conftest.$ac_objext \
 
7386
+      conftest$ac_exeext conftest.$ac_ext
 
7387
+LIBS=$ac_check_lib_save_LIBS
 
7388
+fi
 
7389
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
 
7390
+echo "${ECHO_T}$ac_cv_lib_X11_main" >&6; }
 
7391
+if test $ac_cv_lib_X11_main = yes; then
 
7392
+  cat >>confdefs.h <<_ACEOF
 
7393
+#define HAVE_LIBX11 1
 
7394
+_ACEOF
 
7395
 
 
7396
   LIBS="-lX11 $LIBS"
 
7397
 
 
7398
-else
 
7399
-  echo "$ac_t""no" 1>&6
 
7400
 fi
 
7401
 
 
7402
-# Check whether --with-xpm-include or --without-xpm-include was given.
 
7403
+
 
7404
+# Check whether --with-xpm-include was given.
 
7405
 if test "${with_xpm_include+set}" = set; then
 
7406
-  withval="$with_xpm_include"
 
7407
-  CPPFLAGS="-I${with_xpm_include} ${CPPFLAGS}"
 
7408
+  withval=$with_xpm_include; CPPFLAGS="-I${with_xpm_include} ${CPPFLAGS}"
 
7409
 fi
 
7410
 
 
7411
-# Check whether --with-xpm-lib or --without-xpm-lib was given.
 
7412
+
 
7413
+# Check whether --with-xpm-lib was given.
 
7414
 if test "${with_xpm_lib+set}" = set; then
 
7415
-  withval="$with_xpm_lib"
 
7416
-  LDFLAGS="-L${with_xpm_lib} ${LDFLAGS}"
 
7417
+  withval=$with_xpm_lib; LDFLAGS="-L${with_xpm_lib} ${LDFLAGS}"
 
7418
 fi
 
7419
 
 
7420
-echo $ac_n "checking for main in -lXpm""... $ac_c" 1>&6
 
7421
-echo "configure:2272: checking for main in -lXpm" >&5
 
7422
-ac_lib_var=`echo Xpm'_'main | sed 'y%./+-%__p_%'`
 
7423
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7424
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7425
+
 
7426
+{ echo "$as_me:$LINENO: checking for main in -lXpm" >&5
 
7427
+echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6; }
 
7428
+if test "${ac_cv_lib_Xpm_main+set}" = set; then
 
7429
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7430
 else
 
7431
-  ac_save_LIBS="$LIBS"
 
7432
+  ac_check_lib_save_LIBS=$LIBS
 
7433
 LIBS="-lXpm  $LIBS"
 
7434
-cat > conftest.$ac_ext <<EOF
 
7435
-#line 2280 "configure"
 
7436
-#include "confdefs.h"
 
7437
-
 
7438
-int main() {
 
7439
-main()
 
7440
-; return 0; }
 
7441
-EOF
 
7442
-if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7443
-  rm -rf conftest*
 
7444
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7445
-else
 
7446
-  echo "configure: failed program was:" >&5
 
7447
-  cat conftest.$ac_ext >&5
 
7448
-  rm -rf conftest*
 
7449
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7450
-fi
 
7451
-rm -f conftest*
 
7452
-LIBS="$ac_save_LIBS"
 
7453
-
 
7454
-fi
 
7455
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7456
-  echo "$ac_t""yes" 1>&6
 
7457
-    ac_tr_lib=HAVE_LIB`echo Xpm | sed -e 's/[^a-zA-Z0-9_]/_/g' \
 
7458
-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
7459
-  cat >> confdefs.h <<EOF
 
7460
-#define $ac_tr_lib 1
 
7461
-EOF
 
7462
+cat >conftest.$ac_ext <<_ACEOF
 
7463
+/* confdefs.h.  */
 
7464
+_ACEOF
 
7465
+cat confdefs.h >>conftest.$ac_ext
 
7466
+cat >>conftest.$ac_ext <<_ACEOF
 
7467
+/* end confdefs.h.  */
 
7468
+
 
7469
+
 
7470
+int
 
7471
+main ()
 
7472
+{
 
7473
+return main ();
 
7474
+  ;
 
7475
+  return 0;
 
7476
+}
 
7477
+_ACEOF
 
7478
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7479
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7480
+  (eval $ac_link) 2>conftest.er1
 
7481
+  ac_status=$?
 
7482
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7483
+  rm -f conftest.er1
 
7484
+  cat conftest.err >&5
 
7485
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7486
+  (exit $ac_status); } &&
 
7487
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7488
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7489
+  (eval $ac_try) 2>&5
 
7490
+  ac_status=$?
 
7491
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7492
+  (exit $ac_status); }; } &&
 
7493
+        { ac_try='test -s conftest$ac_exeext'
 
7494
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7495
+  (eval $ac_try) 2>&5
 
7496
+  ac_status=$?
 
7497
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7498
+  (exit $ac_status); }; }; then
 
7499
+  ac_cv_lib_Xpm_main=yes
 
7500
+else
 
7501
+  echo "$as_me: failed program was:" >&5
 
7502
+sed 's/^/| /' conftest.$ac_ext >&5
 
7503
+
 
7504
+       ac_cv_lib_Xpm_main=no
 
7505
+fi
 
7506
+
 
7507
+rm -f conftest.err conftest.$ac_objext \
 
7508
+      conftest$ac_exeext conftest.$ac_ext
 
7509
+LIBS=$ac_check_lib_save_LIBS
 
7510
+fi
 
7511
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
 
7512
+echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6; }
 
7513
+if test $ac_cv_lib_Xpm_main = yes; then
 
7514
+  cat >>confdefs.h <<_ACEOF
 
7515
+#define HAVE_LIBXPM 1
 
7516
+_ACEOF
 
7517
 
 
7518
   LIBS="-lXpm $LIBS"
 
7519
 
 
7520
-else
 
7521
-  echo "$ac_t""no" 1>&6
 
7522
 fi
 
7523
 
 
7524
-echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
 
7525
-echo "configure:2315: checking for main in -lXmu" >&5
 
7526
-ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
 
7527
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7528
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7529
+
 
7530
+{ echo "$as_me:$LINENO: checking for main in -lXmu" >&5
 
7531
+echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6; }
 
7532
+if test "${ac_cv_lib_Xmu_main+set}" = set; then
 
7533
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7534
 else
 
7535
-  ac_save_LIBS="$LIBS"
 
7536
+  ac_check_lib_save_LIBS=$LIBS
 
7537
 LIBS="-lXmu  $LIBS"
 
7538
-cat > conftest.$ac_ext <<EOF
 
7539
-#line 2323 "configure"
 
7540
-#include "confdefs.h"
 
7541
-
 
7542
-int main() {
 
7543
-main()
 
7544
-; return 0; }
 
7545
-EOF
 
7546
-if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7547
-  rm -rf conftest*
 
7548
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7549
-else
 
7550
-  echo "configure: failed program was:" >&5
 
7551
-  cat conftest.$ac_ext >&5
 
7552
-  rm -rf conftest*
 
7553
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7554
-fi
 
7555
-rm -f conftest*
 
7556
-LIBS="$ac_save_LIBS"
 
7557
-
 
7558
-fi
 
7559
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7560
-  echo "$ac_t""yes" 1>&6
 
7561
-    ac_tr_lib=HAVE_LIB`echo Xmu | sed -e 's/[^a-zA-Z0-9_]/_/g' \
 
7562
-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
7563
-  cat >> confdefs.h <<EOF
 
7564
-#define $ac_tr_lib 1
 
7565
-EOF
 
7566
+cat >conftest.$ac_ext <<_ACEOF
 
7567
+/* confdefs.h.  */
 
7568
+_ACEOF
 
7569
+cat confdefs.h >>conftest.$ac_ext
 
7570
+cat >>conftest.$ac_ext <<_ACEOF
 
7571
+/* end confdefs.h.  */
 
7572
+
 
7573
+
 
7574
+int
 
7575
+main ()
 
7576
+{
 
7577
+return main ();
 
7578
+  ;
 
7579
+  return 0;
 
7580
+}
 
7581
+_ACEOF
 
7582
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7583
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7584
+  (eval $ac_link) 2>conftest.er1
 
7585
+  ac_status=$?
 
7586
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7587
+  rm -f conftest.er1
 
7588
+  cat conftest.err >&5
 
7589
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7590
+  (exit $ac_status); } &&
 
7591
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7592
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7593
+  (eval $ac_try) 2>&5
 
7594
+  ac_status=$?
 
7595
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7596
+  (exit $ac_status); }; } &&
 
7597
+        { ac_try='test -s conftest$ac_exeext'
 
7598
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7599
+  (eval $ac_try) 2>&5
 
7600
+  ac_status=$?
 
7601
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7602
+  (exit $ac_status); }; }; then
 
7603
+  ac_cv_lib_Xmu_main=yes
 
7604
+else
 
7605
+  echo "$as_me: failed program was:" >&5
 
7606
+sed 's/^/| /' conftest.$ac_ext >&5
 
7607
+
 
7608
+       ac_cv_lib_Xmu_main=no
 
7609
+fi
 
7610
+
 
7611
+rm -f conftest.err conftest.$ac_objext \
 
7612
+      conftest$ac_exeext conftest.$ac_ext
 
7613
+LIBS=$ac_check_lib_save_LIBS
 
7614
+fi
 
7615
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5
 
7616
+echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6; }
 
7617
+if test $ac_cv_lib_Xmu_main = yes; then
 
7618
+  cat >>confdefs.h <<_ACEOF
 
7619
+#define HAVE_LIBXMU 1
 
7620
+_ACEOF
 
7621
 
 
7622
   LIBS="-lXmu $LIBS"
 
7623
 
 
7624
-else
 
7625
-  echo "$ac_t""no" 1>&6
 
7626
 fi
 
7627
 
 
7628
-# Check whether --with-motif-include or --without-motif-include was given.
 
7629
+
 
7630
+# Check whether --with-motif-include was given.
 
7631
 if test "${with_motif_include+set}" = set; then
 
7632
-  withval="$with_motif_include"
 
7633
-  CPPFLAGS="-I${with_motif_include} ${CPPFLAGS}"
 
7634
+  withval=$with_motif_include; CPPFLAGS="-I${with_motif_include} ${CPPFLAGS}"
 
7635
 fi
 
7636
 
 
7637
-# Check whether --with-motif-lib or --without-motif-lib was given.
 
7638
+
 
7639
+# Check whether --with-motif-lib was given.
 
7640
 if test "${with_motif_lib+set}" = set; then
 
7641
-  withval="$with_motif_lib"
 
7642
-  LDFLAGS="-L${with_motif_lib} ${LDFLAGS}"
 
7643
+  withval=$with_motif_lib; LDFLAGS="-L${with_motif_lib} ${LDFLAGS}"
 
7644
 fi
 
7645
 
 
7646
-# Check whether --with-motif or --without-motif was given.
 
7647
+
 
7648
+# Check whether --with-motif was given.
 
7649
 if test "${with_motif+set}" = set; then
 
7650
-  withval="$with_motif"
 
7651
-  echo $ac_n "checking for main in -lXm""... $ac_c" 1>&6
 
7652
-echo "configure:2373: checking for main in -lXm" >&5
 
7653
-ac_lib_var=`echo Xm'_'main | sed 'y%./+-%__p_%'`
 
7654
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7655
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7656
+  withval=$with_motif;
 
7657
+{ echo "$as_me:$LINENO: checking for main in -lXm" >&5
 
7658
+echo $ECHO_N "checking for main in -lXm... $ECHO_C" >&6; }
 
7659
+if test "${ac_cv_lib_Xm_main+set}" = set; then
 
7660
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7661
 else
 
7662
-  ac_save_LIBS="$LIBS"
 
7663
+  ac_check_lib_save_LIBS=$LIBS
 
7664
 LIBS="-lXm  $LIBS"
 
7665
-cat > conftest.$ac_ext <<EOF
 
7666
-#line 2381 "configure"
 
7667
-#include "confdefs.h"
 
7668
-
 
7669
-int main() {
 
7670
-main()
 
7671
-; return 0; }
 
7672
-EOF
 
7673
-if { (eval echo configure:2388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7674
-  rm -rf conftest*
 
7675
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7676
-else
 
7677
-  echo "configure: failed program was:" >&5
 
7678
-  cat conftest.$ac_ext >&5
 
7679
-  rm -rf conftest*
 
7680
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7681
-fi
 
7682
-rm -f conftest*
 
7683
-LIBS="$ac_save_LIBS"
 
7684
-
 
7685
-fi
 
7686
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7687
-  echo "$ac_t""yes" 1>&6
 
7688
-    ac_tr_lib=HAVE_LIB`echo Xm | sed -e 's/^a-zA-Z0-9_/_/g' \
 
7689
-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
7690
-  cat >> confdefs.h <<EOF
 
7691
-#define $ac_tr_lib 1
 
7692
-EOF
 
7693
+cat >conftest.$ac_ext <<_ACEOF
 
7694
+/* confdefs.h.  */
 
7695
+_ACEOF
 
7696
+cat confdefs.h >>conftest.$ac_ext
 
7697
+cat >>conftest.$ac_ext <<_ACEOF
 
7698
+/* end confdefs.h.  */
 
7699
+
 
7700
+
 
7701
+int
 
7702
+main ()
 
7703
+{
 
7704
+return main ();
 
7705
+  ;
 
7706
+  return 0;
 
7707
+}
 
7708
+_ACEOF
 
7709
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7710
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7711
+  (eval $ac_link) 2>conftest.er1
 
7712
+  ac_status=$?
 
7713
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7714
+  rm -f conftest.er1
 
7715
+  cat conftest.err >&5
 
7716
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7717
+  (exit $ac_status); } &&
 
7718
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7719
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7720
+  (eval $ac_try) 2>&5
 
7721
+  ac_status=$?
 
7722
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7723
+  (exit $ac_status); }; } &&
 
7724
+        { ac_try='test -s conftest$ac_exeext'
 
7725
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7726
+  (eval $ac_try) 2>&5
 
7727
+  ac_status=$?
 
7728
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7729
+  (exit $ac_status); }; }; then
 
7730
+  ac_cv_lib_Xm_main=yes
 
7731
+else
 
7732
+  echo "$as_me: failed program was:" >&5
 
7733
+sed 's/^/| /' conftest.$ac_ext >&5
 
7734
+
 
7735
+       ac_cv_lib_Xm_main=no
 
7736
+fi
 
7737
+
 
7738
+rm -f conftest.err conftest.$ac_objext \
 
7739
+      conftest$ac_exeext conftest.$ac_ext
 
7740
+LIBS=$ac_check_lib_save_LIBS
 
7741
+fi
 
7742
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_main" >&5
 
7743
+echo "${ECHO_T}$ac_cv_lib_Xm_main" >&6; }
 
7744
+if test $ac_cv_lib_Xm_main = yes; then
 
7745
+  cat >>confdefs.h <<_ACEOF
 
7746
+#define HAVE_LIBXM 1
 
7747
+_ACEOF
 
7748
 
 
7749
   LIBS="-lXm $LIBS"
 
7750
 
 
7751
-else
 
7752
-  echo "$ac_t""no" 1>&6
 
7753
 fi
 
7754
 
 
7755
 else
 
7756
-  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
 
7757
-echo "configure:2417: checking for main in -lXaw" >&5
 
7758
-ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
 
7759
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
7760
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7761
+
 
7762
+{ echo "$as_me:$LINENO: checking for main in -lXaw" >&5
 
7763
+echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6; }
 
7764
+if test "${ac_cv_lib_Xaw_main+set}" = set; then
 
7765
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7766
 else
 
7767
-  ac_save_LIBS="$LIBS"
 
7768
+  ac_check_lib_save_LIBS=$LIBS
 
7769
 LIBS="-lXaw  $LIBS"
 
7770
-cat > conftest.$ac_ext <<EOF
 
7771
-#line 2425 "configure"
 
7772
-#include "confdefs.h"
 
7773
-
 
7774
-int main() {
 
7775
-main()
 
7776
-; return 0; }
 
7777
-EOF
 
7778
-if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
7779
-  rm -rf conftest*
 
7780
-  eval "ac_cv_lib_$ac_lib_var=yes"
 
7781
-else
 
7782
-  echo "configure: failed program was:" >&5
 
7783
-  cat conftest.$ac_ext >&5
 
7784
-  rm -rf conftest*
 
7785
-  eval "ac_cv_lib_$ac_lib_var=no"
 
7786
-fi
 
7787
-rm -f conftest*
 
7788
-LIBS="$ac_save_LIBS"
 
7789
-
 
7790
-fi
 
7791
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
7792
-  echo "$ac_t""yes" 1>&6
 
7793
-    ac_tr_lib=HAVE_LIB`echo Xaw | sed -e 's/^a-zA-Z0-9_/_/g' \
 
7794
-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
7795
-  cat >> confdefs.h <<EOF
 
7796
-#define $ac_tr_lib 1
 
7797
-EOF
 
7798
+cat >conftest.$ac_ext <<_ACEOF
 
7799
+/* confdefs.h.  */
 
7800
+_ACEOF
 
7801
+cat confdefs.h >>conftest.$ac_ext
 
7802
+cat >>conftest.$ac_ext <<_ACEOF
 
7803
+/* end confdefs.h.  */
 
7804
+
 
7805
+
 
7806
+int
 
7807
+main ()
 
7808
+{
 
7809
+return main ();
 
7810
+  ;
 
7811
+  return 0;
 
7812
+}
 
7813
+_ACEOF
 
7814
+rm -f conftest.$ac_objext conftest$ac_exeext
 
7815
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7816
+  (eval $ac_link) 2>conftest.er1
 
7817
+  ac_status=$?
 
7818
+  grep -v '^ *+' conftest.er1 >conftest.err
 
7819
+  rm -f conftest.er1
 
7820
+  cat conftest.err >&5
 
7821
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7822
+  (exit $ac_status); } &&
 
7823
+        { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7824
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7825
+  (eval $ac_try) 2>&5
 
7826
+  ac_status=$?
 
7827
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7828
+  (exit $ac_status); }; } &&
 
7829
+        { ac_try='test -s conftest$ac_exeext'
 
7830
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7831
+  (eval $ac_try) 2>&5
 
7832
+  ac_status=$?
 
7833
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7834
+  (exit $ac_status); }; }; then
 
7835
+  ac_cv_lib_Xaw_main=yes
 
7836
+else
 
7837
+  echo "$as_me: failed program was:" >&5
 
7838
+sed 's/^/| /' conftest.$ac_ext >&5
 
7839
+
 
7840
+       ac_cv_lib_Xaw_main=no
 
7841
+fi
 
7842
+
 
7843
+rm -f conftest.err conftest.$ac_objext \
 
7844
+      conftest$ac_exeext conftest.$ac_ext
 
7845
+LIBS=$ac_check_lib_save_LIBS
 
7846
+fi
 
7847
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
 
7848
+echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6; }
 
7849
+if test $ac_cv_lib_Xaw_main = yes; then
 
7850
+  cat >>confdefs.h <<_ACEOF
 
7851
+#define HAVE_LIBXAW 1
 
7852
+_ACEOF
 
7853
 
 
7854
   LIBS="-lXaw $LIBS"
 
7855
 
 
7856
-else
 
7857
-  echo "$ac_t""no" 1>&6
 
7858
 fi
 
7859
 
 
7860
 fi
 
7861
 
 
7862
-# Check whether --with-x11-resource or --without-x11-resource was given.
 
7863
+
 
7864
+# Check whether --with-x11-resource was given.
 
7865
 if test "${with_x11_resource+set}" = set; then
 
7866
-  withval="$with_x11_resource"
 
7867
-  XAD_DIR="${with_x11_resource}"
 
7868
+  withval=$with_x11_resource; XAD_DIR="${with_x11_resource}"
 
7869
 fi
 
7870
 
 
7871
 
 
7872
-# Check whether --enable-dupscore or --disable-dupscore was given.
 
7873
+# Check whether --enable-dupscore was given.
 
7874
 if test "${enable_dupscore+set}" = set; then
 
7875
-  enableval="$enable_dupscore"
 
7876
-  cat >> confdefs.h <<\EOF
 
7877
+  enableval=$enable_dupscore; cat >>confdefs.h <<\_ACEOF
 
7878
 #define ALLOW_DUPSCORE 1
 
7879
-EOF
 
7880
+_ACEOF
 
7881
 
 
7882
 fi
 
7883
 
 
7884
 
 
7885
-cat >> confdefs.h <<\EOF
 
7886
+cat >>confdefs.h <<\_ACEOF
 
7887
 #define XSHISEN_VERSION "1.51"
 
7888
-EOF
 
7889
+_ACEOF
 
7890
 
 
7891
-CPPFLAGS="${CPPFLAGS} -DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\""
 
7892
+CPPFLAGS="-DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\" ${CPPFLAGS}"
 
7893
 
 
7894
 for i in lang/XShisen.ad.*; do
 
7895
   lang="`echo $i | sed 's/^.*XShisen\.ad\.//'`"
 
7896
@@ -2499,406 +6315,1151 @@
 
7897
 
 
7898
 # Extract the first word of "mkdirhier", so it can be a program name with args.
 
7899
 set dummy mkdirhier; ac_word=$2
 
7900
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
7901
-echo "configure:2504: checking for $ac_word" >&5
 
7902
-if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
 
7903
-  echo $ac_n "(cached) $ac_c" 1>&6
 
7904
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7905
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7906
+if test "${ac_cv_path_MKDIR+set}" = set; then
 
7907
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7908
 else
 
7909
-  case "$MKDIR" in
 
7910
-  /*)
 
7911
+  case $MKDIR in
 
7912
+  [\\/]* | ?:[\\/]*)
 
7913
   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
 
7914
   ;;
 
7915
-  ?:/*)                         
 
7916
-  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a dos path.
 
7917
-  ;;
 
7918
   *)
 
7919
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
7920
-  ac_dummy="$PATH"
 
7921
-  for ac_dir in $ac_dummy; do 
 
7922
-    test -z "$ac_dir" && ac_dir=.
 
7923
-    if test -f $ac_dir/$ac_word; then
 
7924
-      ac_cv_path_MKDIR="$ac_dir/$ac_word"
 
7925
-      break
 
7926
-    fi
 
7927
-  done
 
7928
-  IFS="$ac_save_ifs"
 
7929
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7930
+for as_dir in $PATH
 
7931
+do
 
7932
+  IFS=$as_save_IFS
 
7933
+  test -z "$as_dir" && as_dir=.
 
7934
+  for ac_exec_ext in '' $ac_executable_extensions; do
 
7935
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7936
+    ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
 
7937
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7938
+    break 2
 
7939
+  fi
 
7940
+done
 
7941
+done
 
7942
+IFS=$as_save_IFS
 
7943
+
 
7944
   test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="mkdir -p"
 
7945
   ;;
 
7946
 esac
 
7947
 fi
 
7948
-MKDIR="$ac_cv_path_MKDIR"
 
7949
+MKDIR=$ac_cv_path_MKDIR
 
7950
 if test -n "$MKDIR"; then
 
7951
-  echo "$ac_t""$MKDIR" 1>&6
 
7952
+  { echo "$as_me:$LINENO: result: $MKDIR" >&5
 
7953
+echo "${ECHO_T}$MKDIR" >&6; }
 
7954
 else
 
7955
-  echo "$ac_t""no" 1>&6
 
7956
+  { echo "$as_me:$LINENO: result: no" >&5
 
7957
+echo "${ECHO_T}no" >&6; }
 
7958
 fi
 
7959
 
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
-trap '' 1 2 15
 
7965
-cat > confcache <<\EOF
 
7966
+
 
7967
+ac_config_files="$ac_config_files Makefile"
 
7968
+
 
7969
+cat >confcache <<\_ACEOF
 
7970
 # This file is a shell script that caches the results of configure
 
7971
 # tests run on this system so they can be shared between configure
 
7972
-# scripts and configure runs.  It is not useful on other systems.
 
7973
-# If it contains results you don't want to keep, you may remove or edit it.
 
7974
+# scripts and configure runs, see configure's option --config-cache.
 
7975
+# It is not useful on other systems.  If it contains results you don't
 
7976
+# want to keep, you may remove or edit it.
 
7977
 #
 
7978
-# By default, configure uses ./config.cache as the cache file,
 
7979
-# creating it if it does not exist already.  You can give configure
 
7980
-# the --cache-file=FILE option to use a different cache file; that is
 
7981
-# what configure does when it calls configure scripts in
 
7982
-# subdirectories, so they share the cache.
 
7983
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
 
7984
-# config.status only pays attention to the cache file if you give it the
 
7985
-# --recheck option to rerun configure.
 
7986
+# config.status only pays attention to the cache file if you give it
 
7987
+# the --recheck option to rerun configure.
 
7988
 #
 
7989
-EOF
 
7990
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
7991
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
7992
+# following values.
 
7993
+
 
7994
+_ACEOF
 
7995
+
 
7996
 # The following way of writing the cache mishandles newlines in values,
 
7997
 # but we know of no workaround that is simple, portable, and efficient.
 
7998
-# So, don't put newlines in cache variables' values.
 
7999
+# So, we kill variables containing newlines.
 
8000
 # Ultrix sh set writes to stderr and can't be redirected directly,
 
8001
 # and sets the high bit in the cache file unless we assign to the vars.
 
8002
-(set) 2>&1 |
 
8003
-  case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
8004
-  *ac_space=\ *)
 
8005
-    # `set' does not quote correctly, so add quotes (double-quote substitution
 
8006
-    # turns \\\\ into \\, and sed turns \\ into \).
 
8007
-    sed -n \
 
8008
-      -e "s/'/'\\\\''/g" \
 
8009
-      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
 
8010
-    ;;
 
8011
-  *)
 
8012
-    # `set' quotes correctly as required by POSIX, so do not add quotes.
 
8013
-    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
 
8014
-    ;;
 
8015
-  esac >> confcache
 
8016
-if cmp -s $cache_file confcache; then
 
8017
-  :
 
8018
-else
 
8019
+(
 
8020
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
8021
+    eval ac_val=\$$ac_var
 
8022
+    case $ac_val in #(
 
8023
+    *${as_nl}*)
 
8024
+      case $ac_var in #(
 
8025
+      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
8026
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
8027
+      esac
 
8028
+      case $ac_var in #(
 
8029
+      _ | IFS | as_nl) ;; #(
 
8030
+      *) $as_unset $ac_var ;;
 
8031
+      esac ;;
 
8032
+    esac
 
8033
+  done
 
8034
+
 
8035
+  (set) 2>&1 |
 
8036
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
8037
+    *${as_nl}ac_space=\ *)
 
8038
+      # `set' does not quote correctly, so add quotes (double-quote
 
8039
+      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
8040
+      sed -n \
 
8041
+       "s/'/'\\\\''/g;
 
8042
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
8043
+      ;; #(
 
8044
+    *)
 
8045
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
8046
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
8047
+      ;;
 
8048
+    esac |
 
8049
+    sort
 
8050
+) |
 
8051
+  sed '
 
8052
+     /^ac_cv_env_/b end
 
8053
+     t clear
 
8054
+     :clear
 
8055
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
8056
+     t end
 
8057
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
8058
+     :end' >>confcache
 
8059
+if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
8060
   if test -w $cache_file; then
 
8061
-    echo "updating cache $cache_file"
 
8062
-    cat confcache > $cache_file
 
8063
+    test "x$cache_file" != "x/dev/null" &&
 
8064
+      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
8065
+echo "$as_me: updating cache $cache_file" >&6;}
 
8066
+    cat confcache >$cache_file
 
8067
   else
 
8068
-    echo "not updating unwritable cache $cache_file"
 
8069
+    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
8070
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
8071
   fi
 
8072
 fi
 
8073
 rm -f confcache
 
8074
 
 
8075
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
8076
-
 
8077
 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
8078
 # Let make expand exec_prefix.
 
8079
 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
8080
 
 
8081
-# Any assignment to VPATH causes Sun make to only execute
 
8082
-# the first set of double-colon rules, so remove it if not needed.
 
8083
-# If there is a colon in the path, we need to keep it.
 
8084
-if test "x$srcdir" = x.; then
 
8085
-  ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
 
8086
-fi
 
8087
+DEFS=-DHAVE_CONFIG_H
 
8088
 
 
8089
-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
 
8090
+ac_libobjs=
 
8091
+ac_ltlibobjs=
 
8092
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
8093
+  # 1. Remove the extension, and $U if already installed.
 
8094
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
8095
+  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
8096
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
8097
+  #    will be set to the directory where LIBOBJS objects are built.
 
8098
+  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
8099
+  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
8100
+done
 
8101
+LIBOBJS=$ac_libobjs
 
8102
 
 
8103
-DEFS=-DHAVE_CONFIG_H
 
8104
+LTLIBOBJS=$ac_ltlibobjs
 
8105
 
 
8106
-# Without the "./", some shells look in PATH for config.status.
 
8107
-: ${CONFIG_STATUS=./config.status}
 
8108
 
 
8109
-echo creating $CONFIG_STATUS
 
8110
-rm -f $CONFIG_STATUS
 
8111
-cat > $CONFIG_STATUS <<EOF
 
8112
-#! /bin/sh
 
8113
-# Generated automatically by configure.
 
8114
+
 
8115
+: ${CONFIG_STATUS=./config.status}
 
8116
+ac_clean_files_save=$ac_clean_files
 
8117
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
8118
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
8119
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
8120
+cat >$CONFIG_STATUS <<_ACEOF
 
8121
+#! $SHELL
 
8122
+# Generated by $as_me.
 
8123
 # Run this file to recreate the current configuration.
 
8124
-# This directory was configured as follows,
 
8125
-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
8126
-#
 
8127
-# $0 $ac_configure_args
 
8128
-#
 
8129
 # Compiler output produced by configure, useful for debugging
 
8130
-# configure, is in ./config.log if it exists.
 
8131
+# configure, is in config.log if it exists.
 
8132
 
 
8133
-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
 
8134
-for ac_option
 
8135
+debug=false
 
8136
+ac_cs_recheck=false
 
8137
+ac_cs_silent=false
 
8138
+SHELL=\${CONFIG_SHELL-$SHELL}
 
8139
+_ACEOF
 
8140
+
 
8141
+cat >>$CONFIG_STATUS <<\_ACEOF
 
8142
+## --------------------- ##
 
8143
+## M4sh Initialization.  ##
 
8144
+## --------------------- ##
 
8145
+
 
8146
+# Be Bourne compatible
 
8147
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
8148
+  emulate sh
 
8149
+  NULLCMD=:
 
8150
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
8151
+  # is contrary to our usage.  Disable this feature.
 
8152
+  alias -g '${1+"$@"}'='"$@"'
 
8153
+  setopt NO_GLOB_SUBST
 
8154
+else
 
8155
+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
8156
+fi
 
8157
+BIN_SH=xpg4; export BIN_SH # for Tru64
 
8158
+DUALCASE=1; export DUALCASE # for MKS sh
 
8159
+
 
8160
+
 
8161
+# PATH needs CR
 
8162
+# Avoid depending upon Character Ranges.
 
8163
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
8164
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
8165
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
8166
+as_cr_digits='0123456789'
 
8167
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
8168
+
 
8169
+# The user is always right.
 
8170
+if test "${PATH_SEPARATOR+set}" != set; then
 
8171
+  echo "#! /bin/sh" >conf$$.sh
 
8172
+  echo  "exit 0"   >>conf$$.sh
 
8173
+  chmod +x conf$$.sh
 
8174
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
8175
+    PATH_SEPARATOR=';'
 
8176
+  else
 
8177
+    PATH_SEPARATOR=:
 
8178
+  fi
 
8179
+  rm -f conf$$.sh
 
8180
+fi
 
8181
+
 
8182
+# Support unset when possible.
 
8183
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
8184
+  as_unset=unset
 
8185
+else
 
8186
+  as_unset=false
 
8187
+fi
 
8188
+
 
8189
+
 
8190
+# IFS
 
8191
+# We need space, tab and new line, in precisely that order.  Quoting is
 
8192
+# there to prevent editors from complaining about space-tab.
 
8193
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
8194
+# splitting by setting IFS to empty value.)
 
8195
+as_nl='
 
8196
+'
 
8197
+IFS=" ""       $as_nl"
 
8198
+
 
8199
+# Find who we are.  Look in the path if we contain no directory separator.
 
8200
+case $0 in
 
8201
+  *[\\/]* ) as_myself=$0 ;;
 
8202
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8203
+for as_dir in $PATH
 
8204
 do
 
8205
-  case "\$ac_option" in
 
8206
+  IFS=$as_save_IFS
 
8207
+  test -z "$as_dir" && as_dir=.
 
8208
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
8209
+done
 
8210
+IFS=$as_save_IFS
 
8211
+
 
8212
+     ;;
 
8213
+esac
 
8214
+# We did not find ourselves, most probably we were run as `sh COMMAND'
 
8215
+# in which case we are not to be found in the path.
 
8216
+if test "x$as_myself" = x; then
 
8217
+  as_myself=$0
 
8218
+fi
 
8219
+if test ! -f "$as_myself"; then
 
8220
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
8221
+  { (exit 1); exit 1; }
 
8222
+fi
 
8223
+
 
8224
+# Work around bugs in pre-3.0 UWIN ksh.
 
8225
+for as_var in ENV MAIL MAILPATH
 
8226
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8227
+done
 
8228
+PS1='$ '
 
8229
+PS2='> '
 
8230
+PS4='+ '
 
8231
+
 
8232
+# NLS nuisances.
 
8233
+for as_var in \
 
8234
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
8235
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
8236
+  LC_TELEPHONE LC_TIME
 
8237
+do
 
8238
+  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
8239
+    eval $as_var=C; export $as_var
 
8240
+  else
 
8241
+    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8242
+  fi
 
8243
+done
 
8244
+
 
8245
+# Required to use basename.
 
8246
+if expr a : '\(a\)' >/dev/null 2>&1 &&
 
8247
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
8248
+  as_expr=expr
 
8249
+else
 
8250
+  as_expr=false
 
8251
+fi
 
8252
+
 
8253
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
8254
+  as_basename=basename
 
8255
+else
 
8256
+  as_basename=false
 
8257
+fi
 
8258
+
 
8259
+
 
8260
+# Name of the executable.
 
8261
+as_me=`$as_basename -- "$0" ||
 
8262
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
8263
+        X"$0" : 'X\(//\)$' \| \
 
8264
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
8265
+echo X/"$0" |
 
8266
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
8267
+           s//\1/
 
8268
+           q
 
8269
+         }
 
8270
+         /^X\/\(\/\/\)$/{
 
8271
+           s//\1/
 
8272
+           q
 
8273
+         }
 
8274
+         /^X\/\(\/\).*/{
 
8275
+           s//\1/
 
8276
+           q
 
8277
+         }
 
8278
+         s/.*/./; q'`
 
8279
+
 
8280
+# CDPATH.
 
8281
+$as_unset CDPATH
 
8282
+
 
8283
+
 
8284
+
 
8285
+  as_lineno_1=$LINENO
 
8286
+  as_lineno_2=$LINENO
 
8287
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
8288
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
8289
+
 
8290
+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
8291
+  # uniformly replaced by the line number.  The first 'sed' inserts a
 
8292
+  # line-number line after each line using $LINENO; the second 'sed'
 
8293
+  # does the real work.  The second script uses 'N' to pair each
 
8294
+  # line-number line with the line containing $LINENO, and appends
 
8295
+  # trailing '-' during substitution so that $LINENO is not a special
 
8296
+  # case at line end.
 
8297
+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
8298
+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
8299
+  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
8300
+  sed -n '
 
8301
+    p
 
8302
+    /[$]LINENO/=
 
8303
+  ' <$as_myself |
 
8304
+    sed '
 
8305
+      s/[$]LINENO.*/&-/
 
8306
+      t lineno
 
8307
+      b
 
8308
+      :lineno
 
8309
+      N
 
8310
+      :loop
 
8311
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
8312
+      t loop
 
8313
+      s/-\n.*//
 
8314
+    ' >$as_me.lineno &&
 
8315
+  chmod +x "$as_me.lineno" ||
 
8316
+    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
8317
+   { (exit 1); exit 1; }; }
 
8318
+
 
8319
+  # Don't try to exec as it changes $[0], causing all sort of problems
 
8320
+  # (the dirname of $[0] is not the place where we might find the
 
8321
+  # original and so on.  Autoconf is especially sensitive to this).
 
8322
+  . "./$as_me.lineno"
 
8323
+  # Exit status is that of the last command.
 
8324
+  exit
 
8325
+}
 
8326
+
 
8327
+
 
8328
+if (dirname -- /) >/dev/null 2>&1; then
 
8329
+  as_dirname=dirname
 
8330
+else
 
8331
+  as_dirname=false
 
8332
+fi
 
8333
+
 
8334
+ECHO_C= ECHO_N= ECHO_T=
 
8335
+case `echo -n x` in
 
8336
+-n*)
 
8337
+  case `echo 'x\c'` in
 
8338
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
 
8339
+  *)   ECHO_C='\c';;
 
8340
+  esac;;
 
8341
+*)
 
8342
+  ECHO_N='-n';;
 
8343
+esac
 
8344
+
 
8345
+if expr a : '\(a\)' >/dev/null 2>&1 &&
 
8346
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
8347
+  as_expr=expr
 
8348
+else
 
8349
+  as_expr=false
 
8350
+fi
 
8351
+
 
8352
+rm -f conf$$ conf$$.exe conf$$.file
 
8353
+if test -d conf$$.dir; then
 
8354
+  rm -f conf$$.dir/conf$$.file
 
8355
+else
 
8356
+  rm -f conf$$.dir
 
8357
+  mkdir conf$$.dir
 
8358
+fi
 
8359
+echo >conf$$.file
 
8360
+if ln -s conf$$.file conf$$ 2>/dev/null; then
 
8361
+  as_ln_s='ln -s'
 
8362
+  # ... but there are two gotchas:
 
8363
+  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
8364
+  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
8365
+  # In both cases, we have to default to `cp -p'.
 
8366
+  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
8367
+    as_ln_s='cp -p'
 
8368
+elif ln conf$$.file conf$$ 2>/dev/null; then
 
8369
+  as_ln_s=ln
 
8370
+else
 
8371
+  as_ln_s='cp -p'
 
8372
+fi
 
8373
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
8374
+rmdir conf$$.dir 2>/dev/null
 
8375
+
 
8376
+if mkdir -p . 2>/dev/null; then
 
8377
+  as_mkdir_p=:
 
8378
+else
 
8379
+  test -d ./-p && rmdir ./-p
 
8380
+  as_mkdir_p=false
 
8381
+fi
 
8382
+
 
8383
+# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
8384
+# systems may use methods other than mode bits to determine executability.
 
8385
+cat >conf$$.file <<_ASEOF
 
8386
+#! /bin/sh
 
8387
+exit 0
 
8388
+_ASEOF
 
8389
+chmod +x conf$$.file
 
8390
+if test -x conf$$.file >/dev/null 2>&1; then
 
8391
+  as_executable_p="test -x"
 
8392
+else
 
8393
+  as_executable_p=:
 
8394
+fi
 
8395
+rm -f conf$$.file
 
8396
+
 
8397
+# Sed expression to map a string onto a valid CPP name.
 
8398
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
8399
+
 
8400
+# Sed expression to map a string onto a valid variable name.
 
8401
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
8402
+
 
8403
+
 
8404
+exec 6>&1
 
8405
+
 
8406
+# Save the log message, to keep $[0] and so on meaningful, and to
 
8407
+# report actual input values of CONFIG_FILES etc. instead of their
 
8408
+# values after options handling.
 
8409
+ac_log="
 
8410
+This file was extended by $as_me, which was
 
8411
+generated by GNU Autoconf 2.59d.  Invocation command line was
 
8412
+
 
8413
+  CONFIG_FILES    = $CONFIG_FILES
 
8414
+  CONFIG_HEADERS  = $CONFIG_HEADERS
 
8415
+  CONFIG_LINKS    = $CONFIG_LINKS
 
8416
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
8417
+  $ $0 $@
 
8418
+
 
8419
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
8420
+"
 
8421
+
 
8422
+_ACEOF
 
8423
+
 
8424
+cat >>$CONFIG_STATUS <<_ACEOF
 
8425
+# Files that config.status was made for.
 
8426
+config_files="$ac_config_files"
 
8427
+config_headers="$ac_config_headers"
 
8428
+
 
8429
+_ACEOF
 
8430
+
 
8431
+cat >>$CONFIG_STATUS <<\_ACEOF
 
8432
+ac_cs_usage="\
 
8433
+\`$as_me' instantiates files from templates according to the
 
8434
+current configuration.
 
8435
+
 
8436
+Usage: $0 [OPTIONS] [FILE]...
 
8437
+
 
8438
+  -h, --help       print this help, then exit
 
8439
+  -V, --version    print version number, then exit
 
8440
+  -q, --quiet      do not print progress messages
 
8441
+  -d, --debug      don't remove temporary files
 
8442
+      --recheck    update $as_me by reconfiguring in the same conditions
 
8443
+  --file=FILE[:TEMPLATE]
 
8444
+                  instantiate the configuration file FILE
 
8445
+  --header=FILE[:TEMPLATE]
 
8446
+                  instantiate the configuration header FILE
 
8447
+
 
8448
+Configuration files:
 
8449
+$config_files
 
8450
+
 
8451
+Configuration headers:
 
8452
+$config_headers
 
8453
+
 
8454
+Report bugs to <bug-autoconf@gnu.org>."
 
8455
+
 
8456
+_ACEOF
 
8457
+cat >>$CONFIG_STATUS <<_ACEOF
 
8458
+ac_cs_version="\\
 
8459
+config.status
 
8460
+configured by $0, generated by GNU Autoconf 2.59d,
 
8461
+  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
8462
+
 
8463
+Copyright (C) 2006 Free Software Foundation, Inc.
 
8464
+This config.status script is free software; the Free Software Foundation
 
8465
+gives unlimited permission to copy, distribute and modify it."
 
8466
+
 
8467
+ac_pwd='$ac_pwd'
 
8468
+srcdir='$srcdir'
 
8469
+INSTALL='$INSTALL'
 
8470
+_ACEOF
 
8471
+
 
8472
+cat >>$CONFIG_STATUS <<\_ACEOF
 
8473
+# If no file are specified by the user, then we need to provide default
 
8474
+# value.  By we need to know if files were specified by the user.
 
8475
+ac_need_defaults=:
 
8476
+while test $# != 0
 
8477
+do
 
8478
+  case $1 in
 
8479
+  --*=*)
 
8480
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
8481
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
8482
+    ac_shift=:
 
8483
+    ;;
 
8484
+  *)
 
8485
+    ac_option=$1
 
8486
+    ac_optarg=$2
 
8487
+    ac_shift=shift
 
8488
+    ;;
 
8489
+  esac
 
8490
+
 
8491
+  case $ac_option in
 
8492
+  # Handling of the options.
 
8493
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
8494
-    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
 
8495
-    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
 
8496
-  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
 
8497
-    echo "$CONFIG_STATUS generated by autoconf version 2.13"
 
8498
-    exit 0 ;;
 
8499
-  -help | --help | --hel | --he | --h)
 
8500
-    echo "\$ac_cs_usage"; exit 0 ;;
 
8501
-  *) echo "\$ac_cs_usage"; exit 1 ;;
 
8502
+    ac_cs_recheck=: ;;
 
8503
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
8504
+    echo "$ac_cs_version"; exit ;;
 
8505
+  --debug | --debu | --deb | --de | --d | -d )
 
8506
+    debug=: ;;
 
8507
+  --file | --fil | --fi | --f )
 
8508
+    $ac_shift
 
8509
+    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
8510
+    ac_need_defaults=false;;
 
8511
+  --header | --heade | --head | --hea )
 
8512
+    $ac_shift
 
8513
+    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
8514
+    ac_need_defaults=false;;
 
8515
+  --he | --h)
 
8516
+    # Conflict between --help and --header
 
8517
+    { echo "$as_me: error: ambiguous option: $1
 
8518
+Try \`$0 --help' for more information." >&2
 
8519
+   { (exit 1); exit 1; }; };;
 
8520
+  --help | --hel | -h )
 
8521
+    echo "$ac_cs_usage"; exit ;;
 
8522
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
8523
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
8524
+    ac_cs_silent=: ;;
 
8525
+
 
8526
+  # This is an error.
 
8527
+  -*) { echo "$as_me: error: unrecognized option: $1
 
8528
+Try \`$0 --help' for more information." >&2
 
8529
+   { (exit 1); exit 1; }; } ;;
 
8530
+
 
8531
+  *) ac_config_targets="$ac_config_targets $1"
 
8532
+     ac_need_defaults=false ;;
 
8533
+
 
8534
   esac
 
8535
+  shift
 
8536
 done
 
8537
 
 
8538
-ac_given_srcdir=$srcdir
 
8539
-ac_given_INSTALL="$INSTALL"
 
8540
+ac_configure_extra_args=
 
8541
 
 
8542
-trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 
8543
-EOF
 
8544
-cat >> $CONFIG_STATUS <<EOF
 
8545
-
 
8546
-# Protect against being on the right side of a sed subst in config.status.
 
8547
-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
 
8548
- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
 
8549
-$ac_vpsub
 
8550
-$extrasub
 
8551
-s%@SHELL@%$SHELL%g
 
8552
-s%@CFLAGS@%$CFLAGS%g
 
8553
-s%@CPPFLAGS@%$CPPFLAGS%g
 
8554
-s%@CXXFLAGS@%$CXXFLAGS%g
 
8555
-s%@FFLAGS@%$FFLAGS%g
 
8556
-s%@DEFS@%$DEFS%g
 
8557
-s%@LDFLAGS@%$LDFLAGS%g
 
8558
-s%@LIBS@%$LIBS%g
 
8559
-s%@exec_prefix@%$exec_prefix%g
 
8560
-s%@prefix@%$prefix%g
 
8561
-s%@program_transform_name@%$program_transform_name%g
 
8562
-s%@bindir@%$bindir%g
 
8563
-s%@sbindir@%$sbindir%g
 
8564
-s%@libexecdir@%$libexecdir%g
 
8565
-s%@datadir@%$datadir%g
 
8566
-s%@sysconfdir@%$sysconfdir%g
 
8567
-s%@sharedstatedir@%$sharedstatedir%g
 
8568
-s%@localstatedir@%$localstatedir%g
 
8569
-s%@libdir@%$libdir%g
 
8570
-s%@includedir@%$includedir%g
 
8571
-s%@oldincludedir@%$oldincludedir%g
 
8572
-s%@infodir@%$infodir%g
 
8573
-s%@mandir@%$mandir%g
 
8574
-s%@CC@%$CC%g
 
8575
-s%@CXX@%$CXX%g
 
8576
-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 
8577
-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
 
8578
-s%@INSTALL_DATA@%$INSTALL_DATA%g
 
8579
-s%@CPP@%$CPP%g
 
8580
-s%@X_CFLAGS@%$X_CFLAGS%g
 
8581
-s%@X_PRE_LIBS@%$X_PRE_LIBS%g
 
8582
-s%@X_LIBS@%$X_LIBS%g
 
8583
-s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
 
8584
-s%@MKDIR@%$MKDIR%g
 
8585
-s%@XAD_DIR@%$XAD_DIR%g
 
8586
-s%@LANGS@%$LANGS%g
 
8587
-
 
8588
-CEOF
 
8589
-EOF
 
8590
-
 
8591
-cat >> $CONFIG_STATUS <<\EOF
 
8592
-
 
8593
-# Split the substitutions into bite-sized pieces for seds with
 
8594
-# small command number limits, like on Digital OSF/1 and HP-UX.
 
8595
-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
 
8596
-ac_file=1 # Number of current file.
 
8597
-ac_beg=1 # First line for current file.
 
8598
-ac_end=$ac_max_sed_cmds # Line after last line for current file.
 
8599
-ac_more_lines=:
 
8600
-ac_sed_cmds=""
 
8601
-while $ac_more_lines; do
 
8602
-  if test $ac_beg -gt 1; then
 
8603
-    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
 
8604
-  else
 
8605
-    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
 
8606
-  fi
 
8607
-  if test ! -s conftest.s$ac_file; then
 
8608
-    ac_more_lines=false
 
8609
-    rm -f conftest.s$ac_file
 
8610
-  else
 
8611
-    if test -z "$ac_sed_cmds"; then
 
8612
-      ac_sed_cmds="sed -f conftest.s$ac_file"
 
8613
-    else
 
8614
-      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
 
8615
-    fi
 
8616
-    ac_file=`expr $ac_file + 1`
 
8617
-    ac_beg=$ac_end
 
8618
-    ac_end=`expr $ac_end + $ac_max_sed_cmds`
 
8619
-  fi
 
8620
-done
 
8621
-if test -z "$ac_sed_cmds"; then
 
8622
-  ac_sed_cmds=cat
 
8623
-fi
 
8624
-EOF
 
8625
-
 
8626
-cat >> $CONFIG_STATUS <<EOF
 
8627
-
 
8628
-CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
 
8629
-EOF
 
8630
-cat >> $CONFIG_STATUS <<\EOF
 
8631
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
 
8632
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
8633
-  case "$ac_file" in
 
8634
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
 
8635
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
8636
-  *) ac_file_in="${ac_file}.in" ;;
 
8637
+if $ac_cs_silent; then
 
8638
+  exec 6>/dev/null
 
8639
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
8640
+fi
 
8641
+
 
8642
+_ACEOF
 
8643
+cat >>$CONFIG_STATUS <<_ACEOF
 
8644
+if \$ac_cs_recheck; then
 
8645
+  echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
8646
+  CONFIG_SHELL=$SHELL
 
8647
+  export CONFIG_SHELL
 
8648
+  exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
8649
+fi
 
8650
+
 
8651
+_ACEOF
 
8652
+cat >>$CONFIG_STATUS <<\_ACEOF
 
8653
+exec 5>>config.log
 
8654
+{
 
8655
+  echo
 
8656
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
8657
+## Running $as_me. ##
 
8658
+_ASBOX
 
8659
+  echo "$ac_log"
 
8660
+} >&5
 
8661
+
 
8662
+_ACEOF
 
8663
+cat >>$CONFIG_STATUS <<_ACEOF
 
8664
+_ACEOF
 
8665
+
 
8666
+cat >>$CONFIG_STATUS <<\_ACEOF
 
8667
+
 
8668
+# Handling of arguments.
 
8669
+for ac_config_target in $ac_config_targets
 
8670
+do
 
8671
+  case $ac_config_target in
 
8672
+    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
8673
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
8674
+
 
8675
+  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
8676
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
8677
+   { (exit 1); exit 1; }; };;
 
8678
   esac
 
8679
+done
 
8680
+
 
8681
+
 
8682
+# If the user did not use the arguments to specify the items to instantiate,
 
8683
+# then the envvar interface is used.  Set only those that are not.
 
8684
+# We use the long form for the default assignment because of an extremely
 
8685
+# bizarre bug on SunOS 4.1.3.
 
8686
+if $ac_need_defaults; then
 
8687
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
8688
+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
8689
+fi
 
8690
+
 
8691
+# Have a temporary directory for convenience.  Make it in the build tree
 
8692
+# simply because there is no reason against having it here, and in addition,
 
8693
+# creating and moving files from /tmp can sometimes cause problems.
 
8694
+# Hook for its removal unless debugging.
 
8695
+# Note that there is a small window in which the directory will not be cleaned:
 
8696
+# after its creation but before its name has been assigned to `$tmp'.
 
8697
+$debug ||
 
8698
+{
 
8699
+  tmp=
 
8700
+  trap 'exit_status=$?
 
8701
+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
8702
+' 0
 
8703
+  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
8704
+}
 
8705
+# Create a (secure) tmp directory for tmp files.
 
8706
+
 
8707
+{
 
8708
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
8709
+  test -n "$tmp" && test -d "$tmp"
 
8710
+}  ||
 
8711
+{
 
8712
+  tmp=./conf$$-$RANDOM
 
8713
+  (umask 077 && mkdir "$tmp")
 
8714
+} ||
 
8715
+{
 
8716
+   echo "$me: cannot create a temporary directory in ." >&2
 
8717
+   { (exit 1); exit 1; }
 
8718
+}
 
8719
+
 
8720
+#
 
8721
+# Set up the sed scripts for CONFIG_FILES section.
 
8722
+#
 
8723
+
 
8724
+# No need to generate the scripts if there are no CONFIG_FILES.
 
8725
+# This happens for instance when ./config.status config.h
 
8726
+if test -n "$CONFIG_FILES"; then
 
8727
+
 
8728
+_ACEOF
 
8729
+
 
8730
+
 
8731
+
 
8732
+ac_delim='%!_!# '
 
8733
+for ac_last_try in false false false false false :; do
 
8734
+  cat >conf$$subs.sed <<_ACEOF
 
8735
+SHELL!$SHELL$ac_delim
 
8736
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
8737
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
8738
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
8739
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
8740
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
8741
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
8742
+exec_prefix!$exec_prefix$ac_delim
 
8743
+prefix!$prefix$ac_delim
 
8744
+program_transform_name!$program_transform_name$ac_delim
 
8745
+bindir!$bindir$ac_delim
 
8746
+sbindir!$sbindir$ac_delim
 
8747
+libexecdir!$libexecdir$ac_delim
 
8748
+datarootdir!$datarootdir$ac_delim
 
8749
+datadir!$datadir$ac_delim
 
8750
+sysconfdir!$sysconfdir$ac_delim
 
8751
+sharedstatedir!$sharedstatedir$ac_delim
 
8752
+localstatedir!$localstatedir$ac_delim
 
8753
+includedir!$includedir$ac_delim
 
8754
+oldincludedir!$oldincludedir$ac_delim
 
8755
+docdir!$docdir$ac_delim
 
8756
+infodir!$infodir$ac_delim
 
8757
+htmldir!$htmldir$ac_delim
 
8758
+dvidir!$dvidir$ac_delim
 
8759
+pdfdir!$pdfdir$ac_delim
 
8760
+psdir!$psdir$ac_delim
 
8761
+libdir!$libdir$ac_delim
 
8762
+localedir!$localedir$ac_delim
 
8763
+mandir!$mandir$ac_delim
 
8764
+DEFS!$DEFS$ac_delim
 
8765
+ECHO_C!$ECHO_C$ac_delim
 
8766
+ECHO_N!$ECHO_N$ac_delim
 
8767
+ECHO_T!$ECHO_T$ac_delim
 
8768
+LIBS!$LIBS$ac_delim
 
8769
+build_alias!$build_alias$ac_delim
 
8770
+host_alias!$host_alias$ac_delim
 
8771
+target_alias!$target_alias$ac_delim
 
8772
+build!$build$ac_delim
 
8773
+build_cpu!$build_cpu$ac_delim
 
8774
+build_vendor!$build_vendor$ac_delim
 
8775
+build_os!$build_os$ac_delim
 
8776
+host!$host$ac_delim
 
8777
+host_cpu!$host_cpu$ac_delim
 
8778
+host_vendor!$host_vendor$ac_delim
 
8779
+host_os!$host_os$ac_delim
 
8780
+target!$target$ac_delim
 
8781
+target_cpu!$target_cpu$ac_delim
 
8782
+target_vendor!$target_vendor$ac_delim
 
8783
+target_os!$target_os$ac_delim
 
8784
+CC!$CC$ac_delim
 
8785
+CFLAGS!$CFLAGS$ac_delim
 
8786
+LDFLAGS!$LDFLAGS$ac_delim
 
8787
+CPPFLAGS!$CPPFLAGS$ac_delim
 
8788
+ac_ct_CC!$ac_ct_CC$ac_delim
 
8789
+EXEEXT!$EXEEXT$ac_delim
 
8790
+OBJEXT!$OBJEXT$ac_delim
 
8791
+CXX!$CXX$ac_delim
 
8792
+CXXFLAGS!$CXXFLAGS$ac_delim
 
8793
+ac_ct_CXX!$ac_ct_CXX$ac_delim
 
8794
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
8795
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
8796
+INSTALL_DATA!$INSTALL_DATA$ac_delim
 
8797
+CPP!$CPP$ac_delim
 
8798
+GREP!$GREP$ac_delim
 
8799
+EGREP!$EGREP$ac_delim
 
8800
+XMKMF!$XMKMF$ac_delim
 
8801
+X_CFLAGS!$X_CFLAGS$ac_delim
 
8802
+X_PRE_LIBS!$X_PRE_LIBS$ac_delim
 
8803
+X_LIBS!$X_LIBS$ac_delim
 
8804
+X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
 
8805
+MKDIR!$MKDIR$ac_delim
 
8806
+XAD_DIR!$XAD_DIR$ac_delim
 
8807
+LANGS!$LANGS$ac_delim
 
8808
+LIBOBJS!$LIBOBJS$ac_delim
 
8809
+LTLIBOBJS!$LTLIBOBJS$ac_delim
 
8810
+_ACEOF
 
8811
+
 
8812
+  if test `grep -c "$ac_delim\$" conf$$subs.sed` = 75; then
 
8813
+    break
 
8814
+  elif $ac_last_try; then
 
8815
+    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
8816
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
8817
+   { (exit 1); exit 1; }; }
 
8818
+  else
 
8819
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
8820
+  fi
 
8821
+done
 
8822
+
 
8823
+ac_eof=
 
8824
+if grep '^CEOF$' conf$$subs.sed >/dev/null; then
 
8825
+  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
 
8826
+  ac_eof=`expr 0$ac_eof + 1`
 
8827
+fi
 
8828
+
 
8829
+cat >>$CONFIG_STATUS <<_ACEOF
 
8830
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
8831
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
8832
+_ACEOF
 
8833
+sed '
 
8834
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
8835
+s/^/s,@/; s/!/@,|#_!!_#|/
 
8836
+:n
 
8837
+t n
 
8838
+s/'"$ac_delim"'$/,g/; t
 
8839
+s/$/\\/; p
 
8840
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
8841
+' >>$CONFIG_STATUS <conf$$subs.sed
 
8842
+rm -f conf$$subs.sed
 
8843
+cat >>$CONFIG_STATUS <<_ACEOF
 
8844
+:end
 
8845
+s/|#_!!_#|//g
 
8846
+CEOF$ac_eof
 
8847
+_ACEOF
 
8848
+
 
8849
+
 
8850
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
8851
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
8852
+# trailing colons and then remove the whole line if VPATH becomes empty
 
8853
+# (actually we leave an empty line to preserve line numbers).
 
8854
+if test "x$srcdir" = x.; then
 
8855
+  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
8856
+s/:*\$(srcdir):*/:/
 
8857
+s/:*\${srcdir}:*/:/
 
8858
+s/:*@srcdir@:*/:/
 
8859
+s/^\([^=]*=[    ]*\):*/\1/
 
8860
+s/:*$//
 
8861
+s/^[^=]*=[      ]*$//
 
8862
+}'
 
8863
+fi
 
8864
 
 
8865
-  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
 
8866
+cat >>$CONFIG_STATUS <<\_ACEOF
 
8867
+fi # test -n "$CONFIG_FILES"
 
8868
 
 
8869
-  # Remove last slash and all that follows it.  Not all systems have dirname.
 
8870
-  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
 
8871
-  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
 
8872
-    # The file is in a subdirectory.
 
8873
-    test ! -d "$ac_dir" && mkdir "$ac_dir"
 
8874
-    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
 
8875
-    # A "../" for each directory in $ac_dir_suffix.
 
8876
-    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
 
8877
-  else
 
8878
-    ac_dir_suffix= ac_dots=
 
8879
-  fi
 
8880
-
 
8881
-  case "$ac_given_srcdir" in
 
8882
-  .)  srcdir=.
 
8883
-      if test -z "$ac_dots"; then top_srcdir=.
 
8884
-      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
 
8885
-  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
 
8886
-  *) # Relative path.
 
8887
-    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
 
8888
-    top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
8889
+
 
8890
+for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
8891
+do
 
8892
+  case $ac_tag in
 
8893
+  :[FHLC]) ac_mode=$ac_tag; continue;;
 
8894
   esac
 
8895
+  case $ac_mode$ac_tag in
 
8896
+  :[FHL]*:*);;
 
8897
+  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
8898
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
8899
+   { (exit 1); exit 1; }; };;
 
8900
+  :[FH]-) ac_tag=-:-;;
 
8901
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
8902
+  esac
 
8903
+  ac_save_IFS=$IFS
 
8904
+  IFS=:
 
8905
+  set x $ac_tag
 
8906
+  IFS=$ac_save_IFS
 
8907
+  shift
 
8908
+  ac_file=$1
 
8909
+  shift
 
8910
+
 
8911
+  case $ac_mode in
 
8912
+  :L) ac_source=$1;;
 
8913
+  :[FH])
 
8914
+    ac_file_inputs=
 
8915
+    for ac_f
 
8916
+    do
 
8917
+      case $ac_f in
 
8918
+      -) ac_f="$tmp/stdin";;
 
8919
+      *) # Look for the file first in the build tree, then in the source tree
 
8920
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
8921
+        # because $ac_f cannot contain `:'.
 
8922
+        test -f "$ac_f" ||
 
8923
+          case $ac_f in
 
8924
+          [\\/$]*) false;;
 
8925
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
8926
+          esac ||
 
8927
+          { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
8928
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
8929
+   { (exit 1); exit 1; }; };;
 
8930
+      esac
 
8931
+      ac_file_inputs="$ac_file_inputs $ac_f"
 
8932
+    done
 
8933
+
 
8934
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
8935
+    # use $as_me), people would be surprised to read:
 
8936
+    #    /* config.h.  Generated by config.status.  */
 
8937
+    configure_input="Generated from "`IFS=:
 
8938
+         echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
8939
+    if test x"$ac_file" != x-; then
 
8940
+      configure_input="$ac_file.  $configure_input"
 
8941
+      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
8942
+echo "$as_me: creating $ac_file" >&6;}
 
8943
+    fi
 
8944
 
 
8945
-  case "$ac_given_INSTALL" in
 
8946
-  [/$]*) INSTALL="$ac_given_INSTALL" ;;
 
8947
-  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
 
8948
+    case $ac_tag in
 
8949
+    *:-:* | *:-) cat >"$tmp/stdin";;
 
8950
+    esac
 
8951
+    ;;
 
8952
   esac
 
8953
 
 
8954
-  echo creating "$ac_file"
 
8955
-  rm -f "$ac_file"
 
8956
-  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
 
8957
-  case "$ac_file" in
 
8958
-  *Makefile*) ac_comsub="1i\\
 
8959
-# $configure_input" ;;
 
8960
-  *) ac_comsub= ;;
 
8961
+  ac_dir=`$as_dirname -- "$ac_file" ||
 
8962
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8963
+        X"$ac_file" : 'X\(//\)[^/]' \| \
 
8964
+        X"$ac_file" : 'X\(//\)$' \| \
 
8965
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
8966
+echo X"$ac_file" |
 
8967
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8968
+           s//\1/
 
8969
+           q
 
8970
+         }
 
8971
+         /^X\(\/\/\)[^/].*/{
 
8972
+           s//\1/
 
8973
+           q
 
8974
+         }
 
8975
+         /^X\(\/\/\)$/{
 
8976
+           s//\1/
 
8977
+           q
 
8978
+         }
 
8979
+         /^X\(\/\).*/{
 
8980
+           s//\1/
 
8981
+           q
 
8982
+         }
 
8983
+         s/.*/./; q'`
 
8984
+  { as_dir="$ac_dir"
 
8985
+  case $as_dir in #(
 
8986
+  -*) as_dir=./$as_dir;;
 
8987
   esac
 
8988
+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
8989
+    as_dirs=
 
8990
+    while :; do
 
8991
+      case $as_dir in #(
 
8992
+      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
8993
+      *) as_qdir=$as_dir;;
 
8994
+      esac
 
8995
+      as_dirs="'$as_qdir' $as_dirs"
 
8996
+      as_dir=`$as_dirname -- "$as_dir" ||
 
8997
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8998
+        X"$as_dir" : 'X\(//\)[^/]' \| \
 
8999
+        X"$as_dir" : 'X\(//\)$' \| \
 
9000
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
9001
+echo X"$as_dir" |
 
9002
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9003
+           s//\1/
 
9004
+           q
 
9005
+         }
 
9006
+         /^X\(\/\/\)[^/].*/{
 
9007
+           s//\1/
 
9008
+           q
 
9009
+         }
 
9010
+         /^X\(\/\/\)$/{
 
9011
+           s//\1/
 
9012
+           q
 
9013
+         }
 
9014
+         /^X\(\/\).*/{
 
9015
+           s//\1/
 
9016
+           q
 
9017
+         }
 
9018
+         s/.*/./; q'`
 
9019
+      test -d "$as_dir" && break
 
9020
+    done
 
9021
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
9022
+  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
9023
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
9024
+   { (exit 1); exit 1; }; }; }
 
9025
+  ac_builddir=.
 
9026
+
 
9027
+case "$ac_dir" in
 
9028
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
9029
+*)
 
9030
+  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
9031
+  # A ".." for each directory in $ac_dir_suffix.
 
9032
+  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
9033
+  case $ac_top_builddir_sub in
 
9034
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
9035
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
9036
+  esac ;;
 
9037
+esac
 
9038
+ac_abs_top_builddir=$ac_pwd
 
9039
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
9040
+# for backward compatibility:
 
9041
+ac_top_builddir=$ac_top_build_prefix
 
9042
+
 
9043
+case $srcdir in
 
9044
+  .)  # We are building in place.
 
9045
+    ac_srcdir=.
 
9046
+    ac_top_srcdir=$ac_top_builddir_sub
 
9047
+    ac_abs_top_srcdir=$ac_pwd ;;
 
9048
+  [\\/]* | ?:[\\/]* )  # Absolute name.
 
9049
+    ac_srcdir=$srcdir$ac_dir_suffix;
 
9050
+    ac_top_srcdir=$srcdir
 
9051
+    ac_abs_top_srcdir=$srcdir ;;
 
9052
+  *) # Relative name.
 
9053
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
9054
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
9055
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
9056
+esac
 
9057
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
9058
 
 
9059
-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
 
9060
-  sed -e "$ac_comsub
 
9061
-s%@configure_input@%$configure_input%g
 
9062
-s%@srcdir@%$srcdir%g
 
9063
-s%@top_srcdir@%$top_srcdir%g
 
9064
-s%@INSTALL@%$INSTALL%g
 
9065
-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
 
9066
-fi; done
 
9067
-rm -f conftest.s*
 
9068
 
 
9069
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
9070
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
9071
-#
 
9072
-# ac_d sets the value in "#define NAME VALUE" lines.
 
9073
-ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
 
9074
-ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
 
9075
-ac_dC='\3'
 
9076
-ac_dD='%g'
 
9077
-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
 
9078
-ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
9079
-ac_uB='\([     ]\)%\1#\2define\3'
 
9080
-ac_uC=' '
 
9081
-ac_uD='\4%g'
 
9082
-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
9083
-ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
9084
-ac_eB='$%\1#\2define\3'
 
9085
-ac_eC=' '
 
9086
-ac_eD='%g'
 
9087
-
 
9088
-if test "${CONFIG_HEADERS+set}" != set; then
 
9089
-EOF
 
9090
-cat >> $CONFIG_STATUS <<EOF
 
9091
-  CONFIG_HEADERS="config.h"
 
9092
-EOF
 
9093
-cat >> $CONFIG_STATUS <<\EOF
 
9094
-fi
 
9095
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
 
9096
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
9097
-  case "$ac_file" in
 
9098
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
 
9099
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
9100
-  *) ac_file_in="${ac_file}.in" ;;
 
9101
+  case $ac_mode in
 
9102
+  :F)
 
9103
+  #
 
9104
+  # CONFIG_FILE
 
9105
+  #
 
9106
+
 
9107
+  case $INSTALL in
 
9108
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
9109
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
9110
   esac
 
9111
+_ACEOF
 
9112
 
 
9113
-  echo creating $ac_file
 
9114
+cat >>$CONFIG_STATUS <<\_ACEOF
 
9115
+# If the template does not know about datarootdir, expand it.
 
9116
+# FIXME: This hack should be removed a few years after 2.60.
 
9117
+ac_datarootdir_hack=
 
9118
+
 
9119
+case `sed -n '/datarootdir/ {
 
9120
+  p
 
9121
+  q
 
9122
+}
 
9123
+/@datadir@/p
 
9124
+/@docdir@/p
 
9125
+/@infodir@/p
 
9126
+/@localedir@/p
 
9127
+/@mandir@/p
 
9128
+' $ac_file_inputs` in
 
9129
+*datarootdir*) ;;
 
9130
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
9131
+  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
9132
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
9133
+_ACEOF
 
9134
+cat >>$CONFIG_STATUS <<_ACEOF
 
9135
+  ac_datarootdir_hack='
 
9136
+  s&@datadir@&$datadir&g
 
9137
+  s&@docdir@&$docdir&g
 
9138
+  s&@infodir@&$infodir&g
 
9139
+  s&@localedir@&$localedir&g
 
9140
+  s&@mandir@&$mandir&g
 
9141
+    s&\\\${datarootdir}&$datarootdir&g' ;;
 
9142
+esac
 
9143
+_ACEOF
 
9144
 
 
9145
-  rm -f conftest.frag conftest.in conftest.out
 
9146
-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
 
9147
-  cat $ac_file_inputs > conftest.in
 
9148
-
 
9149
-EOF
 
9150
-
 
9151
-# Transform confdefs.h into a sed script conftest.vals that substitutes
 
9152
-# the proper values into config.h.in to produce config.h.  And first:
 
9153
-# Protect against being on the right side of a sed subst in config.status.
 
9154
-# Protect against being in an unquoted here document in config.status.
 
9155
-rm -f conftest.vals
 
9156
-cat > conftest.hdr <<\EOF
 
9157
-s/[\\&%]/\\&/g
 
9158
-s%[\\$`]%\\&%g
 
9159
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
 
9160
-s%ac_d%ac_u%gp
 
9161
-s%ac_u%ac_e%gp
 
9162
-EOF
 
9163
-sed -n -f conftest.hdr confdefs.h > conftest.vals
 
9164
-rm -f conftest.hdr
 
9165
+# Neutralize VPATH when `$srcdir' = `.'.
 
9166
+# Shell code in configure.ac might set extrasub.
 
9167
+# FIXME: do we really want to maintain this feature?
 
9168
+cat >>$CONFIG_STATUS <<_ACEOF
 
9169
+  sed "$ac_vpsub
 
9170
+$extrasub
 
9171
+_ACEOF
 
9172
+cat >>$CONFIG_STATUS <<\_ACEOF
 
9173
+:t
 
9174
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
9175
+s&@configure_input@&$configure_input&;t t
 
9176
+s&@top_builddir@&$ac_top_builddir_sub&;t t
 
9177
+s&@srcdir@&$ac_srcdir&;t t
 
9178
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
9179
+s&@top_srcdir@&$ac_top_srcdir&;t t
 
9180
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
9181
+s&@builddir@&$ac_builddir&;t t
 
9182
+s&@abs_builddir@&$ac_abs_builddir&;t t
 
9183
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
9184
+s&@INSTALL@&$ac_INSTALL&;t t
 
9185
+$ac_datarootdir_hack
 
9186
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
9187
+
 
9188
+  rm -f "$tmp/stdin"
 
9189
+  case $ac_file in
 
9190
+  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
9191
+  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
9192
+  esac
 
9193
+ ;;
 
9194
+  :H)
 
9195
+  #
 
9196
+  # CONFIG_HEADER
 
9197
+  #
 
9198
+
 
9199
+  # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
9200
+  # NAME is the cpp macro being defined, VALUE is the value it is being given.
 
9201
+  # PARAMS is the parameter list in the macro definition--in most cases, it's
 
9202
+  # just an empty string.
 
9203
+  #
 
9204
+  ac_dA='s,^\([         ]*#[    ]*\)[^  ]*\([   ][      ]*'
 
9205
+  ac_dB='\)[    (].*$,\1define\2'
 
9206
+  ac_dC=' '
 
9207
+  ac_dD=' ,'
 
9208
+
 
9209
+  ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
 
9210
+_ACEOF
 
9211
+
 
9212
+# Transform confdefs.h into a sed script `conftest.defines', that
 
9213
+# substitutes the proper values into config.h.in to produce config.h.
 
9214
+rm -f conftest.defines conftest.tail
 
9215
+# First, append a space to every undef/define line, to ease matching.
 
9216
+echo 's/$/ /' >conftest.defines
 
9217
+# Then, protect against being on the right side of a sed subst, or in
 
9218
+# an unquoted here document, in config.status.  If some macros were
 
9219
+# called several times there might be several #defines for the same
 
9220
+# symbol, which is useless.  But do not sort them, since the last
 
9221
+# AC_DEFINE must be honored.
 
9222
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
9223
+uniq confdefs.h |
 
9224
+  sed -n '
 
9225
+       t rset
 
9226
+       :rset
 
9227
+       s/^[     ]*#[    ]*define[       ][      ]*//
 
9228
+       t ok
 
9229
+       d
 
9230
+       :ok
 
9231
+       s/[\\&,]/\\&/g
 
9232
+       s/[\\$`]/\\&/g
 
9233
+       s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
 
9234
+       s/^\('"$ac_word_re"'\)[  ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
 
9235
+  ' >>conftest.defines
 
9236
 
 
9237
-# This sed command replaces #undef with comments.  This is necessary, for
 
9238
+# Remove the space that was appended to ease matching.
 
9239
+# Then replace #undef with comments.  This is necessary, for
 
9240
 # example, in the case of _POSIX_SOURCE, which is predefined and required
 
9241
 # on some systems where configure will not decide to define it.
 
9242
-cat >> conftest.vals <<\EOF
 
9243
-s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
 
9244
-EOF
 
9245
-
 
9246
-# Break up conftest.vals because some shells have a limit on
 
9247
-# the size of here documents, and old seds have small limits too.
 
9248
+# (The regexp can be short, since the line contains either #define or #undef.)
 
9249
+echo 's/ $//
 
9250
+s,^[    #]*u.*,/* & */,' >>conftest.defines
 
9251
+
 
9252
+# Break up conftest.defines:
 
9253
+ac_max_sed_lines=96
 
9254
+
 
9255
+# First sed command is:         sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
9256
+# Second one is:        sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
9257
+# Third one will be:    sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
9258
+# et cetera.
 
9259
+ac_in='$ac_file_inputs'
 
9260
+ac_out='"$tmp/out1"'
 
9261
+ac_nxt='"$tmp/out2"'
 
9262
 
 
9263
-rm -f conftest.tail
 
9264
 while :
 
9265
 do
 
9266
-  ac_lines=`grep -c . conftest.vals`
 
9267
-  # grep -c gives empty output for an empty file on some AIX systems.
 
9268
-  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
 
9269
-  # Write a limited-size here document to conftest.frag.
 
9270
-  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
 
9271
-  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
 
9272
+  # Write a here document:
 
9273
+    echo '    # First, check the format of the line:
 
9274
+    cat >"$tmp/defines.sed" <<CEOF
 
9275
+/^[     ]*#[    ]*undef[        ][      ]*$ac_word_regexp[      ]*$/b def
 
9276
+/^[     ]*#[    ]*define[       ][      ]*$ac_word_regexp[(     ]/b def
 
9277
+b
 
9278
+:def' >>$CONFIG_STATUS
 
9279
+  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 
9280
   echo 'CEOF
 
9281
-  sed -f conftest.frag conftest.in > conftest.out
 
9282
-  rm -f conftest.in
 
9283
-  mv conftest.out conftest.in
 
9284
-' >> $CONFIG_STATUS
 
9285
-  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
 
9286
-  rm -f conftest.vals
 
9287
-  mv conftest.tail conftest.vals
 
9288
-done
 
9289
-rm -f conftest.vals
 
9290
-
 
9291
-cat >> $CONFIG_STATUS <<\EOF
 
9292
-  rm -f conftest.frag conftest.h
 
9293
-  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
 
9294
-  cat conftest.in >> conftest.h
 
9295
-  rm -f conftest.in
 
9296
-  if cmp -s $ac_file conftest.h 2>/dev/null; then
 
9297
-    echo "$ac_file is unchanged"
 
9298
-    rm -f conftest.h
 
9299
-  else
 
9300
-    # Remove last slash and all that follows it.  Not all systems have dirname.
 
9301
-      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
 
9302
-      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
 
9303
-      # The file is in a subdirectory.
 
9304
-      test ! -d "$ac_dir" && mkdir "$ac_dir"
 
9305
+    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
9306
+  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
9307
+  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
9308
+  grep . conftest.tail >/dev/null || break
 
9309
+  rm -f conftest.defines
 
9310
+  mv conftest.tail conftest.defines
 
9311
+done
 
9312
+rm -f conftest.defines conftest.tail
 
9313
+
 
9314
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
 
9315
+cat >>$CONFIG_STATUS <<\_ACEOF
 
9316
+  if test x"$ac_file" != x-; then
 
9317
+    echo "/* $configure_input  */" >"$tmp/config.h"
 
9318
+    cat "$ac_result" >>"$tmp/config.h"
 
9319
+    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 
9320
+      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
9321
+echo "$as_me: $ac_file is unchanged" >&6;}
 
9322
+    else
 
9323
+      rm -f $ac_file
 
9324
+      mv "$tmp/config.h" $ac_file
 
9325
     fi
 
9326
-    rm -f $ac_file
 
9327
-    mv conftest.h $ac_file
 
9328
+  else
 
9329
+    echo "/* $configure_input  */"
 
9330
+    cat "$ac_result"
 
9331
   fi
 
9332
-fi; done
 
9333
+  rm -f "$tmp/out12"
 
9334
+ ;;
 
9335
+
 
9336
 
 
9337
-EOF
 
9338
-cat >> $CONFIG_STATUS <<EOF
 
9339
+  esac
 
9340
 
 
9341
-EOF
 
9342
-cat >> $CONFIG_STATUS <<\EOF
 
9343
+done # for ac_tag
 
9344
 
 
9345
-exit 0
 
9346
-EOF
 
9347
+
 
9348
+{ (exit 0); exit 0; }
 
9349
+_ACEOF
 
9350
 chmod +x $CONFIG_STATUS
 
9351
-rm -fr confdefs* $ac_clean_files
 
9352
-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 
9353
+ac_clean_files=$ac_clean_files_save
 
9354
+
 
9355
+
 
9356
+# configure is writing to config.log, and then calls config.status.
 
9357
+# config.status does its own redirection, appending to config.log.
 
9358
+# Unfortunately, on DOS this fails, as config.log is still kept open
 
9359
+# by configure, so config.status won't be able to write to it; its
 
9360
+# output is simply discarded.  So we exec the FD to /dev/null,
 
9361
+# effectively closing config.log, so it can be properly (re)opened and
 
9362
+# appended to by config.status.  When coming back to configure, we
 
9363
+# need to make the FD available again.
 
9364
+if test "$no_create" != yes; then
 
9365
+  ac_cs_success=:
 
9366
+  ac_config_status_args=
 
9367
+  test "$silent" = yes &&
 
9368
+    ac_config_status_args="$ac_config_status_args --quiet"
 
9369
+  exec 5>/dev/null
 
9370
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
9371
+  exec 5>>config.log
 
9372
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
9373
+  # would make configure fail if this is the last instruction.
 
9374
+  $ac_cs_success || { (exit 1); exit 1; }
 
9375
+fi
 
9376
 
 
9377
diff -Nur xshisen-1.51-1/configure.in xshisen-1.51-1.new/configure.in
 
9378
--- xshisen-1.51-1/configure.in 2002-09-03 14:38:45.000000000 +0800
 
9379
+++ xshisen-1.51-1.new/configure.in     2006-05-21 14:36:47.000000000 +0800
 
9380
@@ -1,5 +1,8 @@
 
9381
 dnl Process this file with autoconf to produce a configure script.
 
9382
 AC_INIT(body.h)
 
9383
+AC_CANONICAL_BUILD
 
9384
+AC_CANONICAL_HOST
 
9385
+AC_CANONICAL_TARGET
 
9386
 
 
9387
 dnl Check for C++ and C compiler
 
9388
 AC_PROG_CC
 
9389
@@ -58,7 +61,7 @@
 
9390
 
 
9391
 dnl Data directory and version
 
9392
 AC_DEFINE(XSHISEN_VERSION, "1.51")
 
9393
-CPPFLAGS="${CPPFLAGS} -DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\""
 
9394
+CPPFLAGS="-DLIB_DIR=\\\"\$(XSHISENLIB)\\\" -DDAT_DIR=\\\"\$(XSHISENDAT)\\\" ${CPPFLAGS}"
 
9395
 
 
9396
 dnl Check for internationalized resources
 
9397
 [for i in lang/XShisen.ad.*; do