~ubuntu-branches/ubuntu/maverick/speech-tools/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Kumar Appaiah, Kartik Mistry, Kumar Appaiah
  • Date: 2010-07-17 11:32:04 UTC
  • mfrom: (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100717113204-mnse3jo236j107q8
Tags: 1:2.0.95~beta-1
[ Kartik Mistry ]
* debian/control:
  + [Lintian] Added missing ${misc:Depends}
  + Updated Standards-Version to 3.8.4 (no changes needed)
* debian/patches/const_char.diff:
  + Added missing patch header
* Removed unused patch invalid_const_char_conversion_fixes.diff

[ Kumar Appaiah ]
* New upstream release.
* Standards Version is now 3.9.0 (No changes needed)
* Update debian/rules to specify version numbers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
 
3
2
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated automatically using autoconf version 2.13 
5
 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.61.
6
4
#
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
 
 
10
 
# Defaults:
11
 
ac_help=
 
9
## --------------------- ##
 
10
## M4sh Initialization.  ##
 
11
## --------------------- ##
 
12
 
 
13
# Be more Bourne compatible
 
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
# The user is always right.
 
41
if test "${PATH_SEPARATOR+set}" != set; then
 
42
  echo "#! /bin/sh" >conf$$.sh
 
43
  echo  "exit 0"   >>conf$$.sh
 
44
  chmod +x conf$$.sh
 
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
46
    PATH_SEPARATOR=';'
 
47
  else
 
48
    PATH_SEPARATOR=:
 
49
  fi
 
50
  rm -f conf$$.sh
 
51
fi
 
52
 
 
53
# Support unset when possible.
 
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
55
  as_unset=unset
 
56
else
 
57
  as_unset=false
 
58
fi
 
59
 
 
60
 
 
61
# IFS
 
62
# We need space, tab and new line, in precisely that order.  Quoting is
 
63
# there to prevent editors from complaining about space-tab.
 
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
65
# splitting by setting IFS to empty value.)
 
66
as_nl='
 
67
'
 
68
IFS=" ""        $as_nl"
 
69
 
 
70
# Find who we are.  Look in the path if we contain no directory separator.
 
71
case $0 in
 
72
  *[\\/]* ) as_myself=$0 ;;
 
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
74
for as_dir in $PATH
 
75
do
 
76
  IFS=$as_save_IFS
 
77
  test -z "$as_dir" && as_dir=.
 
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
79
done
 
80
IFS=$as_save_IFS
 
81
 
 
82
     ;;
 
83
esac
 
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
85
# in which case we are not to be found in the path.
 
86
if test "x$as_myself" = x; then
 
87
  as_myself=$0
 
88
fi
 
89
if test ! -f "$as_myself"; then
 
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
91
  { (exit 1); exit 1; }
 
92
fi
 
93
 
 
94
# Work around bugs in pre-3.0 UWIN ksh.
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
 
98
PS1='$ '
 
99
PS2='> '
 
100
PS4='+ '
 
101
 
 
102
# NLS nuisances.
 
103
for as_var in \
 
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
106
  LC_TELEPHONE LC_TIME
 
107
do
 
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
109
    eval $as_var=C; export $as_var
 
110
  else
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
112
  fi
 
113
done
 
114
 
 
115
# Required to use basename.
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
118
  as_expr=expr
 
119
else
 
120
  as_expr=false
 
121
fi
 
122
 
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
124
  as_basename=basename
 
125
else
 
126
  as_basename=false
 
127
fi
 
128
 
 
129
 
 
130
# Name of the executable.
 
131
as_me=`$as_basename -- "$0" ||
 
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
133
         X"$0" : 'X\(//\)$' \| \
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
135
echo X/"$0" |
 
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
137
            s//\1/
 
138
            q
 
139
          }
 
140
          /^X\/\(\/\/\)$/{
 
141
            s//\1/
 
142
            q
 
143
          }
 
144
          /^X\/\(\/\).*/{
 
145
            s//\1/
 
146
            q
 
147
          }
 
148
          s/.*/./; q'`
 
149
 
 
150
# CDPATH.
 
151
$as_unset CDPATH
 
152
 
 
153
 
 
154
if test "x$CONFIG_SHELL" = x; then
 
155
  if (eval ":") 2>/dev/null; then
 
156
  as_have_required=yes
 
157
else
 
158
  as_have_required=no
 
159
fi
 
160
 
 
161
  if test $as_have_required = yes &&     (eval ":
 
162
(as_func_return () {
 
163
  (exit \$1)
 
164
}
 
165
as_func_success () {
 
166
  as_func_return 0
 
167
}
 
168
as_func_failure () {
 
169
  as_func_return 1
 
170
}
 
171
as_func_ret_success () {
 
172
  return 0
 
173
}
 
174
as_func_ret_failure () {
 
175
  return 1
 
176
}
 
177
 
 
178
exitcode=0
 
179
if as_func_success; then
 
180
  :
 
181
else
 
182
  exitcode=1
 
183
  echo as_func_success failed.
 
184
fi
 
185
 
 
186
if as_func_failure; then
 
187
  exitcode=1
 
188
  echo as_func_failure succeeded.
 
189
fi
 
190
 
 
191
if as_func_ret_success; then
 
192
  :
 
193
else
 
194
  exitcode=1
 
195
  echo as_func_ret_success failed.
 
196
fi
 
197
 
 
198
if as_func_ret_failure; then
 
199
  exitcode=1
 
200
  echo as_func_ret_failure succeeded.
 
201
fi
 
202
 
 
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
204
  :
 
205
else
 
206
  exitcode=1
 
207
  echo positional parameters were not saved.
 
208
fi
 
209
 
 
210
test \$exitcode = 0) || { (exit 1); exit 1; }
 
211
 
 
212
(
 
213
  as_lineno_1=\$LINENO
 
214
  as_lineno_2=\$LINENO
 
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
217
") 2> /dev/null; then
 
218
  :
 
219
else
 
220
  as_candidate_shells=
 
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
223
do
 
224
  IFS=$as_save_IFS
 
225
  test -z "$as_dir" && as_dir=.
 
226
  case $as_dir in
 
227
         /*)
 
228
           for as_base in sh bash ksh sh5; do
 
229
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
230
           done;;
 
231
       esac
 
232
done
 
233
IFS=$as_save_IFS
 
234
 
 
235
 
 
236
      for as_shell in $as_candidate_shells $SHELL; do
 
237
         # Try only shells that exist, to save several forks.
 
238
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
239
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
241
  emulate sh
 
242
  NULLCMD=:
 
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
244
  # is contrary to our usage.  Disable this feature.
 
245
  alias -g '${1+"$@"}'='"$@"'
 
246
  setopt NO_GLOB_SUBST
 
247
else
 
248
  case `(set -o) 2>/dev/null` in
 
249
  *posix*) set -o posix ;;
 
250
esac
 
251
 
 
252
fi
 
253
 
 
254
 
 
255
:
 
256
_ASEOF
 
257
}; then
 
258
  CONFIG_SHELL=$as_shell
 
259
               as_have_required=yes
 
260
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
262
  emulate sh
 
263
  NULLCMD=:
 
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
265
  # is contrary to our usage.  Disable this feature.
 
266
  alias -g '${1+"$@"}'='"$@"'
 
267
  setopt NO_GLOB_SUBST
 
268
else
 
269
  case `(set -o) 2>/dev/null` in
 
270
  *posix*) set -o posix ;;
 
271
esac
 
272
 
 
273
fi
 
274
 
 
275
 
 
276
:
 
277
(as_func_return () {
 
278
  (exit $1)
 
279
}
 
280
as_func_success () {
 
281
  as_func_return 0
 
282
}
 
283
as_func_failure () {
 
284
  as_func_return 1
 
285
}
 
286
as_func_ret_success () {
 
287
  return 0
 
288
}
 
289
as_func_ret_failure () {
 
290
  return 1
 
291
}
 
292
 
 
293
exitcode=0
 
294
if as_func_success; then
 
295
  :
 
296
else
 
297
  exitcode=1
 
298
  echo as_func_success failed.
 
299
fi
 
300
 
 
301
if as_func_failure; then
 
302
  exitcode=1
 
303
  echo as_func_failure succeeded.
 
304
fi
 
305
 
 
306
if as_func_ret_success; then
 
307
  :
 
308
else
 
309
  exitcode=1
 
310
  echo as_func_ret_success failed.
 
311
fi
 
312
 
 
313
if as_func_ret_failure; then
 
314
  exitcode=1
 
315
  echo as_func_ret_failure succeeded.
 
316
fi
 
317
 
 
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
319
  :
 
320
else
 
321
  exitcode=1
 
322
  echo positional parameters were not saved.
 
323
fi
 
324
 
 
325
test $exitcode = 0) || { (exit 1); exit 1; }
 
326
 
 
327
(
 
328
  as_lineno_1=$LINENO
 
329
  as_lineno_2=$LINENO
 
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
332
 
 
333
_ASEOF
 
334
}; then
 
335
  break
 
336
fi
 
337
 
 
338
fi
 
339
 
 
340
      done
 
341
 
 
342
      if test "x$CONFIG_SHELL" != x; then
 
343
  for as_var in BASH_ENV ENV
 
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
345
        done
 
346
        export CONFIG_SHELL
 
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
348
fi
 
349
 
 
350
 
 
351
    if test $as_have_required = no; then
 
352
  echo This script requires a shell more modern than all the
 
353
      echo shells that I found on your system.  Please install a
 
354
      echo modern shell, or manually run the script under such a
 
355
      echo shell if you do have one.
 
356
      { (exit 1); exit 1; }
 
357
fi
 
358
 
 
359
 
 
360
fi
 
361
 
 
362
fi
 
363
 
 
364
 
 
365
 
 
366
(eval "as_func_return () {
 
367
  (exit \$1)
 
368
}
 
369
as_func_success () {
 
370
  as_func_return 0
 
371
}
 
372
as_func_failure () {
 
373
  as_func_return 1
 
374
}
 
375
as_func_ret_success () {
 
376
  return 0
 
377
}
 
378
as_func_ret_failure () {
 
379
  return 1
 
380
}
 
381
 
 
382
exitcode=0
 
383
if as_func_success; then
 
384
  :
 
385
else
 
386
  exitcode=1
 
387
  echo as_func_success failed.
 
388
fi
 
389
 
 
390
if as_func_failure; then
 
391
  exitcode=1
 
392
  echo as_func_failure succeeded.
 
393
fi
 
394
 
 
395
if as_func_ret_success; then
 
396
  :
 
397
else
 
398
  exitcode=1
 
399
  echo as_func_ret_success failed.
 
400
fi
 
401
 
 
402
if as_func_ret_failure; then
 
403
  exitcode=1
 
404
  echo as_func_ret_failure succeeded.
 
405
fi
 
406
 
 
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
408
  :
 
409
else
 
410
  exitcode=1
 
411
  echo positional parameters were not saved.
 
412
fi
 
413
 
 
414
test \$exitcode = 0") || {
 
415
  echo No shell found that supports shell functions.
 
416
  echo Please tell autoconf@gnu.org about your system,
 
417
  echo including any error possibly output before this
 
418
  echo message
 
419
}
 
420
 
 
421
 
 
422
 
 
423
  as_lineno_1=$LINENO
 
424
  as_lineno_2=$LINENO
 
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
427
 
 
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
430
  # line-number line after each line using $LINENO; the second 'sed'
 
431
  # does the real work.  The second script uses 'N' to pair each
 
432
  # line-number line with the line containing $LINENO, and appends
 
433
  # trailing '-' during substitution so that $LINENO is not a special
 
434
  # case at line end.
 
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
438
  sed -n '
 
439
    p
 
440
    /[$]LINENO/=
 
441
  ' <$as_myself |
 
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
 
447
      N
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
450
      t loop
 
451
      s/-\n.*//
 
452
    ' >$as_me.lineno &&
 
453
  chmod +x "$as_me.lineno" ||
 
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
455
   { (exit 1); exit 1; }; }
 
456
 
 
457
  # Don't try to exec as it changes $[0], causing all sort of problems
 
458
  # (the dirname of $[0] is not the place where we might find the
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
 
461
  # Exit status is that of the last command.
 
462
  exit
 
463
}
 
464
 
 
465
 
 
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
467
  as_dirname=dirname
 
468
else
 
469
  as_dirname=false
 
470
fi
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in
 
474
-n*)
 
475
  case `echo 'x\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  *)   ECHO_C='\c';;
 
478
  esac;;
 
479
*)
 
480
  ECHO_N='-n';;
 
481
esac
 
482
 
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
485
  as_expr=expr
 
486
else
 
487
  as_expr=false
 
488
fi
 
489
 
 
490
rm -f conf$$ conf$$.exe conf$$.file
 
491
if test -d conf$$.dir; then
 
492
  rm -f conf$$.dir/conf$$.file
 
493
else
 
494
  rm -f conf$$.dir
 
495
  mkdir conf$$.dir
 
496
fi
 
497
echo >conf$$.file
 
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
499
  as_ln_s='ln -s'
 
500
  # ... but there are two gotchas:
 
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
503
  # In both cases, we have to default to `cp -p'.
 
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
505
    as_ln_s='cp -p'
 
506
elif ln conf$$.file conf$$ 2>/dev/null; then
 
507
  as_ln_s=ln
 
508
else
 
509
  as_ln_s='cp -p'
 
510
fi
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
 
513
 
 
514
if mkdir -p . 2>/dev/null; then
 
515
  as_mkdir_p=:
 
516
else
 
517
  test -d ./-p && rmdir ./-p
 
518
  as_mkdir_p=false
 
519
fi
 
520
 
 
521
if test -x / >/dev/null 2>&1; then
 
522
  as_test_x='test -x'
 
523
else
 
524
  if ls -dL / >/dev/null 2>&1; then
 
525
    as_ls_L_option=L
 
526
  else
 
527
    as_ls_L_option=
 
528
  fi
 
529
  as_test_x='
 
530
    eval sh -c '\''
 
531
      if test -d "$1"; then
 
532
        test -d "$1/.";
 
533
      else
 
534
        case $1 in
 
535
        -*)set "./$1";;
 
536
        esac;
 
537
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
538
        ???[sx]*):;;*)false;;esac;fi
 
539
    '\'' sh
 
540
  '
 
541
fi
 
542
as_executable_p=$as_test_x
 
543
 
 
544
# Sed expression to map a string onto a valid CPP name.
 
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
546
 
 
547
# Sed expression to map a string onto a valid variable name.
 
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
549
 
 
550
 
 
551
 
 
552
exec 7<&0 </dev/null 6>&1
 
553
 
 
554
# Name of the host.
 
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
556
# so uname gets run too.
 
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
558
 
 
559
#
 
560
# Initializations.
 
561
#
12
562
ac_default_prefix=/usr/local
13
 
# Any additions from configure.in:
 
563
ac_clean_files=
 
564
ac_config_libobj_dir=.
 
565
LIBOBJS=
 
566
cross_compiling=no
 
567
subdirs=
 
568
MFLAGS=
 
569
MAKEFLAGS=
 
570
SHELL=${CONFIG_SHELL-/bin/sh}
 
571
 
 
572
# Identity of this package.
 
573
PACKAGE_NAME=
 
574
PACKAGE_TARNAME=
 
575
PACKAGE_VERSION=
 
576
PACKAGE_STRING=
 
577
PACKAGE_BUGREPORT=
 
578
 
 
579
ac_unique_file="include/EST.h"
 
580
# Factoring default headers for most tests.
 
581
ac_includes_default="\
 
582
#include <stdio.h>
 
583
#ifdef HAVE_SYS_TYPES_H
 
584
# include <sys/types.h>
 
585
#endif
 
586
#ifdef HAVE_SYS_STAT_H
 
587
# include <sys/stat.h>
 
588
#endif
 
589
#ifdef STDC_HEADERS
 
590
# include <stdlib.h>
 
591
# include <stddef.h>
 
592
#else
 
593
# ifdef HAVE_STDLIB_H
 
594
#  include <stdlib.h>
 
595
# endif
 
596
#endif
 
597
#ifdef HAVE_STRING_H
 
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
599
#  include <memory.h>
 
600
# endif
 
601
# include <string.h>
 
602
#endif
 
603
#ifdef HAVE_STRINGS_H
 
604
# include <strings.h>
 
605
#endif
 
606
#ifdef HAVE_INTTYPES_H
 
607
# include <inttypes.h>
 
608
#endif
 
609
#ifdef HAVE_STDINT_H
 
610
# include <stdint.h>
 
611
#endif
 
612
#ifdef HAVE_UNISTD_H
 
613
# include <unistd.h>
 
614
#endif"
 
615
 
 
616
ac_subst_vars='SHELL
 
617
PATH_SEPARATOR
 
618
PACKAGE_NAME
 
619
PACKAGE_TARNAME
 
620
PACKAGE_VERSION
 
621
PACKAGE_STRING
 
622
PACKAGE_BUGREPORT
 
623
exec_prefix
 
624
prefix
 
625
program_transform_name
 
626
bindir
 
627
sbindir
 
628
libexecdir
 
629
datarootdir
 
630
datadir
 
631
sysconfdir
 
632
sharedstatedir
 
633
localstatedir
 
634
includedir
 
635
oldincludedir
 
636
docdir
 
637
infodir
 
638
htmldir
 
639
dvidir
 
640
pdfdir
 
641
psdir
 
642
libdir
 
643
localedir
 
644
mandir
 
645
DEFS
 
646
ECHO_C
 
647
ECHO_N
 
648
ECHO_T
 
649
LIBS
 
650
build_alias
 
651
host_alias
 
652
target_alias
 
653
build
 
654
build_cpu
 
655
build_vendor
 
656
build_os
 
657
host
 
658
host_cpu
 
659
host_vendor
 
660
host_os
 
661
target
 
662
target_cpu
 
663
target_vendor
 
664
target_os
 
665
CC
 
666
CFLAGS
 
667
LDFLAGS
 
668
CPPFLAGS
 
669
ac_ct_CC
 
670
EXEEXT
 
671
OBJEXT
 
672
RANLIB
 
673
AR
 
674
CPP
 
675
GREP
 
676
EGREP
 
677
TERMCAPLIB
 
678
COMPILERTYPE
 
679
LINUXAUDIO
 
680
LIBOBJS
 
681
LTLIBOBJS'
 
682
ac_subst_files=''
 
683
      ac_precious_vars='build_alias
 
684
host_alias
 
685
target_alias
 
686
CC
 
687
CFLAGS
 
688
LDFLAGS
 
689
LIBS
 
690
CPPFLAGS
 
691
CPP'
 
692
 
14
693
 
15
694
# Initialize some variables set by options.
 
695
ac_init_help=
 
696
ac_init_version=false
16
697
# The variables have the same names as the options, with
17
698
# dashes changed to underlines.
18
 
build=NONE
19
 
cache_file=./config.cache
 
699
cache_file=/dev/null
20
700
exec_prefix=NONE
21
 
host=NONE
22
701
no_create=
23
 
nonopt=NONE
24
702
no_recursion=
25
703
prefix=NONE
26
704
program_prefix=NONE
29
707
silent=
30
708
site=
31
709
srcdir=
32
 
target=NONE
33
710
verbose=
34
711
x_includes=NONE
35
712
x_libraries=NONE
 
713
 
 
714
# Installation directory options.
 
715
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
716
# and all the variables that are supposed to be based on exec_prefix
 
717
# by default will actually change.
 
718
# Use braces instead of parens because sh, perl, etc. also accept them.
 
719
# (The list follows the same order as the GNU Coding Standards.)
36
720
bindir='${exec_prefix}/bin'
37
721
sbindir='${exec_prefix}/sbin'
38
722
libexecdir='${exec_prefix}/libexec'
39
 
datadir='${prefix}/share'
 
723
datarootdir='${prefix}/share'
 
724
datadir='${datarootdir}'
40
725
sysconfdir='${prefix}/etc'
41
726
sharedstatedir='${prefix}/com'
42
727
localstatedir='${prefix}/var'
43
 
libdir='${exec_prefix}/lib'
44
728
includedir='${prefix}/include'
45
729
oldincludedir='/usr/include'
46
 
infodir='${prefix}/info'
47
 
mandir='${prefix}/man'
48
 
 
49
 
# Initialize some other variables.
50
 
subdirs=
51
 
MFLAGS= MAKEFLAGS=
52
 
SHELL=${CONFIG_SHELL-/bin/sh}
53
 
# Maximum number of lines to put in a shell here document.
54
 
ac_max_here_lines=12
 
730
docdir='${datarootdir}/doc/${PACKAGE}'
 
731
infodir='${datarootdir}/info'
 
732
htmldir='${docdir}'
 
733
dvidir='${docdir}'
 
734
pdfdir='${docdir}'
 
735
psdir='${docdir}'
 
736
libdir='${exec_prefix}/lib'
 
737
localedir='${datarootdir}/locale'
 
738
mandir='${datarootdir}/man'
55
739
 
56
740
ac_prev=
 
741
ac_dashdash=
57
742
for ac_option
58
743
do
59
 
 
60
744
  # If the previous option needs an argument, assign it.
61
745
  if test -n "$ac_prev"; then
62
 
    eval "$ac_prev=\$ac_option"
 
746
    eval $ac_prev=\$ac_option
63
747
    ac_prev=
64
748
    continue
65
749
  fi
66
750
 
67
 
  case "$ac_option" in
68
 
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
69
 
  *) ac_optarg= ;;
 
751
  case $ac_option in
 
752
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
753
  *)    ac_optarg=yes ;;
70
754
  esac
71
755
 
72
756
  # Accept the important Cygnus configure options, so we can diagnose typos.
73
757
 
74
 
  case "$ac_option" in
 
758
  case $ac_dashdash$ac_option in
 
759
  --)
 
760
    ac_dashdash=yes ;;
75
761
 
76
762
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
77
763
    ac_prev=bindir ;;
78
764
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79
 
    bindir="$ac_optarg" ;;
 
765
    bindir=$ac_optarg ;;
80
766
 
81
767
  -build | --build | --buil | --bui | --bu)
82
 
    ac_prev=build ;;
 
768
    ac_prev=build_alias ;;
83
769
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
84
 
    build="$ac_optarg" ;;
 
770
    build_alias=$ac_optarg ;;
85
771
 
86
772
  -cache-file | --cache-file | --cache-fil | --cache-fi \
87
773
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
88
774
    ac_prev=cache_file ;;
89
775
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
90
776
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
91
 
    cache_file="$ac_optarg" ;;
92
 
 
93
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
777
    cache_file=$ac_optarg ;;
 
778
 
 
779
  --config-cache | -C)
 
780
    cache_file=config.cache ;;
 
781
 
 
782
  -datadir | --datadir | --datadi | --datad)
94
783
    ac_prev=datadir ;;
95
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
96
 
  | --da=*)
97
 
    datadir="$ac_optarg" ;;
 
784
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
785
    datadir=$ac_optarg ;;
 
786
 
 
787
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
788
  | --dataroo | --dataro | --datar)
 
789
    ac_prev=datarootdir ;;
 
790
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
791
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
792
    datarootdir=$ac_optarg ;;
98
793
 
99
794
  -disable-* | --disable-*)
100
 
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 
795
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
101
796
    # Reject names that are not valid shell variable names.
102
 
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
103
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
104
 
    fi
105
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
106
 
    eval "enable_${ac_feature}=no" ;;
 
797
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
798
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
799
   { (exit 1); exit 1; }; }
 
800
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
801
    eval enable_$ac_feature=no ;;
 
802
 
 
803
  -docdir | --docdir | --docdi | --doc | --do)
 
804
    ac_prev=docdir ;;
 
805
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
806
    docdir=$ac_optarg ;;
 
807
 
 
808
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
809
    ac_prev=dvidir ;;
 
810
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
811
    dvidir=$ac_optarg ;;
107
812
 
108
813
  -enable-* | --enable-*)
109
 
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 
814
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
110
815
    # Reject names that are not valid shell variable names.
111
 
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
112
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
113
 
    fi
114
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
115
 
    case "$ac_option" in
116
 
      *=*) ;;
117
 
      *) ac_optarg=yes ;;
118
 
    esac
119
 
    eval "enable_${ac_feature}='$ac_optarg'" ;;
 
816
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
817
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
818
   { (exit 1); exit 1; }; }
 
819
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
820
    eval enable_$ac_feature=\$ac_optarg ;;
120
821
 
121
822
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
122
823
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
125
826
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
126
827
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
127
828
  | --exec=* | --exe=* | --ex=*)
128
 
    exec_prefix="$ac_optarg" ;;
 
829
    exec_prefix=$ac_optarg ;;
129
830
 
130
831
  -gas | --gas | --ga | --g)
131
832
    # Obsolete; use --with-gas.
132
833
    with_gas=yes ;;
133
834
 
134
 
  -help | --help | --hel | --he)
135
 
    # Omit some internal or obsolete options to make the list less imposing.
136
 
    # This message is too long to be a string in the A/UX 3.1 sh.
137
 
    cat << EOF
138
 
Usage: configure [options] [host]
139
 
Options: [defaults in brackets after descriptions]
140
 
Configuration:
141
 
  --cache-file=FILE       cache test results in FILE
142
 
  --help                  print this message
143
 
  --no-create             do not create output files
144
 
  --quiet, --silent       do not print \`checking...' messages
145
 
  --version               print the version of autoconf that created configure
146
 
Directory and file names:
147
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
148
 
                          [$ac_default_prefix]
149
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
150
 
                          [same as prefix]
151
 
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
152
 
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
153
 
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
154
 
  --datadir=DIR           read-only architecture-independent data in DIR
155
 
                          [PREFIX/share]
156
 
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
157
 
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
158
 
                          [PREFIX/com]
159
 
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
160
 
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
161
 
  --includedir=DIR        C header files in DIR [PREFIX/include]
162
 
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
163
 
  --infodir=DIR           info documentation in DIR [PREFIX/info]
164
 
  --mandir=DIR            man documentation in DIR [PREFIX/man]
165
 
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
166
 
  --program-prefix=PREFIX prepend PREFIX to installed program names
167
 
  --program-suffix=SUFFIX append SUFFIX to installed program names
168
 
  --program-transform-name=PROGRAM
169
 
                          run sed PROGRAM on installed program names
170
 
EOF
171
 
    cat << EOF
172
 
Host type:
173
 
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
174
 
  --host=HOST             configure for HOST [guessed]
175
 
  --target=TARGET         configure for TARGET [TARGET=HOST]
176
 
Features and packages:
177
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
178
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
179
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
180
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
181
 
  --x-includes=DIR        X include files are in DIR
182
 
  --x-libraries=DIR       X library files are in DIR
183
 
EOF
184
 
    if test -n "$ac_help"; then
185
 
      echo "--enable and --with options recognized:$ac_help"
186
 
    fi
187
 
    exit 0 ;;
 
835
  -help | --help | --hel | --he | -h)
 
836
    ac_init_help=long ;;
 
837
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
838
    ac_init_help=recursive ;;
 
839
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
840
    ac_init_help=short ;;
188
841
 
189
842
  -host | --host | --hos | --ho)
190
 
    ac_prev=host ;;
 
843
    ac_prev=host_alias ;;
191
844
  -host=* | --host=* | --hos=* | --ho=*)
192
 
    host="$ac_optarg" ;;
 
845
    host_alias=$ac_optarg ;;
 
846
 
 
847
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
848
    ac_prev=htmldir ;;
 
849
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
850
  | --ht=*)
 
851
    htmldir=$ac_optarg ;;
193
852
 
194
853
  -includedir | --includedir | --includedi | --included | --include \
195
854
  | --includ | --inclu | --incl | --inc)
196
855
    ac_prev=includedir ;;
197
856
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
198
857
  | --includ=* | --inclu=* | --incl=* | --inc=*)
199
 
    includedir="$ac_optarg" ;;
 
858
    includedir=$ac_optarg ;;
200
859
 
201
860
  -infodir | --infodir | --infodi | --infod | --info | --inf)
202
861
    ac_prev=infodir ;;
203
862
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
204
 
    infodir="$ac_optarg" ;;
 
863
    infodir=$ac_optarg ;;
205
864
 
206
865
  -libdir | --libdir | --libdi | --libd)
207
866
    ac_prev=libdir ;;
208
867
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
209
 
    libdir="$ac_optarg" ;;
 
868
    libdir=$ac_optarg ;;
210
869
 
211
870
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
212
871
  | --libexe | --libex | --libe)
213
872
    ac_prev=libexecdir ;;
214
873
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
215
874
  | --libexe=* | --libex=* | --libe=*)
216
 
    libexecdir="$ac_optarg" ;;
 
875
    libexecdir=$ac_optarg ;;
 
876
 
 
877
  -localedir | --localedir | --localedi | --localed | --locale)
 
878
    ac_prev=localedir ;;
 
879
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
880
    localedir=$ac_optarg ;;
217
881
 
218
882
  -localstatedir | --localstatedir | --localstatedi | --localstated \
219
 
  | --localstate | --localstat | --localsta | --localst \
220
 
  | --locals | --local | --loca | --loc | --lo)
 
883
  | --localstate | --localstat | --localsta | --localst | --locals)
221
884
    ac_prev=localstatedir ;;
222
885
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
223
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
224
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
225
 
    localstatedir="$ac_optarg" ;;
 
886
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
887
    localstatedir=$ac_optarg ;;
226
888
 
227
889
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
228
890
    ac_prev=mandir ;;
229
891
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
230
 
    mandir="$ac_optarg" ;;
 
892
    mandir=$ac_optarg ;;
231
893
 
232
894
  -nfp | --nfp | --nf)
233
895
    # Obsolete; use --without-fp.
234
896
    with_fp=no ;;
235
897
 
236
898
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
237
 
  | --no-cr | --no-c)
 
899
  | --no-cr | --no-c | -n)
238
900
    no_create=yes ;;
239
901
 
240
902
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
248
910
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
249
911
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
250
912
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
251
 
    oldincludedir="$ac_optarg" ;;
 
913
    oldincludedir=$ac_optarg ;;
252
914
 
253
915
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
254
916
    ac_prev=prefix ;;
255
917
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
256
 
    prefix="$ac_optarg" ;;
 
918
    prefix=$ac_optarg ;;
257
919
 
258
920
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
259
921
  | --program-pre | --program-pr | --program-p)
260
922
    ac_prev=program_prefix ;;
261
923
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
262
924
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
263
 
    program_prefix="$ac_optarg" ;;
 
925
    program_prefix=$ac_optarg ;;
264
926
 
265
927
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
266
928
  | --program-suf | --program-su | --program-s)
267
929
    ac_prev=program_suffix ;;
268
930
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
269
931
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
270
 
    program_suffix="$ac_optarg" ;;
 
932
    program_suffix=$ac_optarg ;;
271
933
 
272
934
  -program-transform-name | --program-transform-name \
273
935
  | --program-transform-nam | --program-transform-na \
284
946
  | --program-transfo=* | --program-transf=* \
285
947
  | --program-trans=* | --program-tran=* \
286
948
  | --progr-tra=* | --program-tr=* | --program-t=*)
287
 
    program_transform_name="$ac_optarg" ;;
 
949
    program_transform_name=$ac_optarg ;;
 
950
 
 
951
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
952
    ac_prev=pdfdir ;;
 
953
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
954
    pdfdir=$ac_optarg ;;
 
955
 
 
956
  -psdir | --psdir | --psdi | --psd | --ps)
 
957
    ac_prev=psdir ;;
 
958
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
959
    psdir=$ac_optarg ;;
288
960
 
289
961
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
290
962
  | -silent | --silent | --silen | --sile | --sil)
294
966
    ac_prev=sbindir ;;
295
967
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
296
968
  | --sbi=* | --sb=*)
297
 
    sbindir="$ac_optarg" ;;
 
969
    sbindir=$ac_optarg ;;
298
970
 
299
971
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
300
972
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
305
977
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
306
978
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
307
979
  | --sha=* | --sh=*)
308
 
    sharedstatedir="$ac_optarg" ;;
 
980
    sharedstatedir=$ac_optarg ;;
309
981
 
310
982
  -site | --site | --sit)
311
983
    ac_prev=site ;;
312
984
  -site=* | --site=* | --sit=*)
313
 
    site="$ac_optarg" ;;
 
985
    site=$ac_optarg ;;
314
986
 
315
987
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
316
988
    ac_prev=srcdir ;;
317
989
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
318
 
    srcdir="$ac_optarg" ;;
 
990
    srcdir=$ac_optarg ;;
319
991
 
320
992
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
321
993
  | --syscon | --sysco | --sysc | --sys | --sy)
322
994
    ac_prev=sysconfdir ;;
323
995
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
324
996
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
325
 
    sysconfdir="$ac_optarg" ;;
 
997
    sysconfdir=$ac_optarg ;;
326
998
 
327
999
  -target | --target | --targe | --targ | --tar | --ta | --t)
328
 
    ac_prev=target ;;
 
1000
    ac_prev=target_alias ;;
329
1001
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
330
 
    target="$ac_optarg" ;;
 
1002
    target_alias=$ac_optarg ;;
331
1003
 
332
1004
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
333
1005
    verbose=yes ;;
334
1006
 
335
 
  -version | --version | --versio | --versi | --vers)
336
 
    echo "configure generated by autoconf version 2.13"
337
 
    exit 0 ;;
 
1007
  -version | --version | --versio | --versi | --vers | -V)
 
1008
    ac_init_version=: ;;
338
1009
 
339
1010
  -with-* | --with-*)
340
 
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 
1011
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
341
1012
    # Reject names that are not valid shell variable names.
342
 
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
343
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
344
 
    fi
345
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
346
 
    case "$ac_option" in
347
 
      *=*) ;;
348
 
      *) ac_optarg=yes ;;
349
 
    esac
350
 
    eval "with_${ac_package}='$ac_optarg'" ;;
 
1013
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1014
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1015
   { (exit 1); exit 1; }; }
 
1016
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1017
    eval with_$ac_package=\$ac_optarg ;;
351
1018
 
352
1019
  -without-* | --without-*)
353
 
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 
1020
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
354
1021
    # Reject names that are not valid shell variable names.
355
 
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
356
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
357
 
    fi
358
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
359
 
    eval "with_${ac_package}=no" ;;
 
1022
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1023
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1024
   { (exit 1); exit 1; }; }
 
1025
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1026
    eval with_$ac_package=no ;;
360
1027
 
361
1028
  --x)
362
1029
    # Obsolete; use --with-x.
367
1034
    ac_prev=x_includes ;;
368
1035
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
369
1036
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
370
 
    x_includes="$ac_optarg" ;;
 
1037
    x_includes=$ac_optarg ;;
371
1038
 
372
1039
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
373
1040
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
374
1041
    ac_prev=x_libraries ;;
375
1042
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
376
1043
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
377
 
    x_libraries="$ac_optarg" ;;
 
1044
    x_libraries=$ac_optarg ;;
378
1045
 
379
 
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 
1046
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1047
Try \`$0 --help' for more information." >&2
 
1048
   { (exit 1); exit 1; }; }
380
1049
    ;;
381
1050
 
 
1051
  *=*)
 
1052
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1053
    # Reject names that are not valid shell variable names.
 
1054
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
1055
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1056
   { (exit 1); exit 1; }; }
 
1057
    eval $ac_envvar=\$ac_optarg
 
1058
    export $ac_envvar ;;
 
1059
 
382
1060
  *)
383
 
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
384
 
      echo "configure: warning: $ac_option: invalid host type" 1>&2
385
 
    fi
386
 
    if test "x$nonopt" != xNONE; then
387
 
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
388
 
    fi
389
 
    nonopt="$ac_option"
 
1061
    # FIXME: should be removed in autoconf 3.0.
 
1062
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1063
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1064
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1065
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
390
1066
    ;;
391
1067
 
392
1068
  esac
393
1069
done
394
1070
 
395
1071
if test -n "$ac_prev"; then
396
 
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
397
 
fi
398
 
 
399
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
400
 
 
401
 
# File descriptor usage:
402
 
# 0 standard input
403
 
# 1 file creation
404
 
# 2 errors and warnings
405
 
# 3 some systems may open it to /dev/tty
406
 
# 4 used on the Kubota Titan
407
 
# 6 checking for... messages and results
408
 
# 5 compiler messages saved in config.log
409
 
if test "$silent" = yes; then
410
 
  exec 6>/dev/null
411
 
else
412
 
  exec 6>&1
413
 
fi
414
 
exec 5>./config.log
415
 
 
416
 
echo "\
417
 
This file contains any messages produced by compilers while
418
 
running configure, to aid debugging if configure makes a mistake.
419
 
" 1>&5
420
 
 
421
 
# Strip out --no-create and --no-recursion so they do not pile up.
422
 
# Also quote any args containing shell metacharacters.
423
 
ac_configure_args=
424
 
for ac_arg
 
1072
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1073
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1074
   { (exit 1); exit 1; }; }
 
1075
fi
 
1076
 
 
1077
# Be sure to have absolute directory names.
 
1078
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1079
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1080
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1081
                libdir localedir mandir
425
1082
do
426
 
  case "$ac_arg" in
427
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
428
 
  | --no-cr | --no-c) ;;
429
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
430
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
431
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
432
 
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
433
 
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
 
1083
  eval ac_val=\$$ac_var
 
1084
  case $ac_val in
 
1085
    [\\/$]* | ?:[\\/]* )  continue;;
 
1086
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
434
1087
  esac
 
1088
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1089
   { (exit 1); exit 1; }; }
435
1090
done
436
1091
 
437
 
# NLS nuisances.
438
 
# Only set these to C if already set.  These must not be set unconditionally
439
 
# because not all systems understand e.g. LANG=C (notably SCO).
440
 
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
441
 
# Non-C LC_CTYPE values break the ctype check.
442
 
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
443
 
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
444
 
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
445
 
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
446
 
 
447
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
448
 
rm -rf conftest* confdefs.h
449
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
450
 
echo > confdefs.h
451
 
 
452
 
# A filename unique to this package, relative to the directory that
453
 
# configure is in, which we can look for to find out if srcdir is correct.
454
 
ac_unique_file=include/EST.h
 
1092
# There might be people who depend on the old broken behavior: `$host'
 
1093
# used to hold the argument of --host etc.
 
1094
# FIXME: To remove some day.
 
1095
build=$build_alias
 
1096
host=$host_alias
 
1097
target=$target_alias
 
1098
 
 
1099
# FIXME: To remove some day.
 
1100
if test "x$host_alias" != x; then
 
1101
  if test "x$build_alias" = x; then
 
1102
    cross_compiling=maybe
 
1103
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1104
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1105
  elif test "x$build_alias" != "x$host_alias"; then
 
1106
    cross_compiling=yes
 
1107
  fi
 
1108
fi
 
1109
 
 
1110
ac_tool_prefix=
 
1111
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1112
 
 
1113
test "$silent" = yes && exec 6>/dev/null
 
1114
 
 
1115
 
 
1116
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1117
ac_ls_di=`ls -di .` &&
 
1118
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1119
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1120
   { (exit 1); exit 1; }; }
 
1121
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1122
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1123
   { (exit 1); exit 1; }; }
 
1124
 
455
1125
 
456
1126
# Find the source files, if location was not specified.
457
1127
if test -z "$srcdir"; then
458
1128
  ac_srcdir_defaulted=yes
459
 
  # Try the directory containing this script, then its parent.
460
 
  ac_prog=$0
461
 
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462
 
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 
1129
  # Try the directory containing this script, then the parent directory.
 
1130
  ac_confdir=`$as_dirname -- "$0" ||
 
1131
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1132
         X"$0" : 'X\(//\)[^/]' \| \
 
1133
         X"$0" : 'X\(//\)$' \| \
 
1134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
1135
echo X"$0" |
 
1136
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1137
            s//\1/
 
1138
            q
 
1139
          }
 
1140
          /^X\(\/\/\)[^/].*/{
 
1141
            s//\1/
 
1142
            q
 
1143
          }
 
1144
          /^X\(\/\/\)$/{
 
1145
            s//\1/
 
1146
            q
 
1147
          }
 
1148
          /^X\(\/\).*/{
 
1149
            s//\1/
 
1150
            q
 
1151
          }
 
1152
          s/.*/./; q'`
463
1153
  srcdir=$ac_confdir
464
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1154
  if test ! -r "$srcdir/$ac_unique_file"; then
465
1155
    srcdir=..
466
1156
  fi
467
1157
else
468
1158
  ac_srcdir_defaulted=no
469
1159
fi
470
 
if test ! -r $srcdir/$ac_unique_file; then
471
 
  if test "$ac_srcdir_defaulted" = yes; then
472
 
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
473
 
  else
474
 
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
475
 
  fi
476
 
fi
477
 
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
478
 
 
 
1160
if test ! -r "$srcdir/$ac_unique_file"; then
 
1161
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1162
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1163
   { (exit 1); exit 1; }; }
 
1164
fi
 
1165
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1166
ac_abs_confdir=`(
 
1167
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1168
   { (exit 1); exit 1; }; }
 
1169
        pwd)`
 
1170
# When building in place, set srcdir=.
 
1171
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1172
  srcdir=.
 
1173
fi
 
1174
# Remove unnecessary trailing slashes from srcdir.
 
1175
# Double slashes in file names in object file debugging info
 
1176
# mess up M-x gdb in Emacs.
 
1177
case $srcdir in
 
1178
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1179
esac
 
1180
for ac_var in $ac_precious_vars; do
 
1181
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1182
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1183
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1184
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1185
done
 
1186
 
 
1187
#
 
1188
# Report the --help message.
 
1189
#
 
1190
if test "$ac_init_help" = "long"; then
 
1191
  # Omit some internal or obsolete options to make the list less imposing.
 
1192
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1193
  cat <<_ACEOF
 
1194
\`configure' configures this package to adapt to many kinds of systems.
 
1195
 
 
1196
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1197
 
 
1198
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1199
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1200
 
 
1201
Defaults for the options are specified in brackets.
 
1202
 
 
1203
Configuration:
 
1204
  -h, --help              display this help and exit
 
1205
      --help=short        display options specific to this package
 
1206
      --help=recursive    display the short help of all the included packages
 
1207
  -V, --version           display version information and exit
 
1208
  -q, --quiet, --silent   do not print \`checking...' messages
 
1209
      --cache-file=FILE   cache test results in FILE [disabled]
 
1210
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1211
  -n, --no-create         do not create output files
 
1212
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1213
 
 
1214
Installation directories:
 
1215
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1216
                          [$ac_default_prefix]
 
1217
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1218
                          [PREFIX]
 
1219
 
 
1220
By default, \`make install' will install all the files in
 
1221
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1222
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1223
for instance \`--prefix=\$HOME'.
 
1224
 
 
1225
For better control, use the options below.
 
1226
 
 
1227
Fine tuning of the installation directories:
 
1228
  --bindir=DIR           user executables [EPREFIX/bin]
 
1229
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
 
1230
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
1231
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 
1232
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 
1233
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 
1234
  --libdir=DIR           object code libraries [EPREFIX/lib]
 
1235
  --includedir=DIR       C header files [PREFIX/include]
 
1236
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 
1237
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1238
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1239
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1240
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1241
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1242
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
 
1243
  --htmldir=DIR          html documentation [DOCDIR]
 
1244
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1245
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1246
  --psdir=DIR            ps documentation [DOCDIR]
 
1247
_ACEOF
 
1248
 
 
1249
  cat <<\_ACEOF
 
1250
 
 
1251
System types:
 
1252
  --build=BUILD     configure for building on BUILD [guessed]
 
1253
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1254
  --target=TARGET   configure for building compilers for TARGET [HOST]
 
1255
_ACEOF
 
1256
fi
 
1257
 
 
1258
if test -n "$ac_init_help"; then
 
1259
 
 
1260
  cat <<\_ACEOF
 
1261
 
 
1262
Some influential environment variables:
 
1263
  CC          C compiler command
 
1264
  CFLAGS      C compiler flags
 
1265
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1266
              nonstandard directory <lib dir>
 
1267
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1268
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1269
              you have headers in a nonstandard directory <include dir>
 
1270
  CPP         C preprocessor
 
1271
 
 
1272
Use these variables to override the choices made by `configure' or to help
 
1273
it to find libraries and programs with nonstandard names/locations.
 
1274
 
 
1275
_ACEOF
 
1276
ac_status=$?
 
1277
fi
 
1278
 
 
1279
if test "$ac_init_help" = "recursive"; then
 
1280
  # If there are subdirs, report their specific --help.
 
1281
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1282
    test -d "$ac_dir" || continue
 
1283
    ac_builddir=.
 
1284
 
 
1285
case "$ac_dir" in
 
1286
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1287
*)
 
1288
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1289
  # A ".." for each directory in $ac_dir_suffix.
 
1290
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1291
  case $ac_top_builddir_sub in
 
1292
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1293
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1294
  esac ;;
 
1295
esac
 
1296
ac_abs_top_builddir=$ac_pwd
 
1297
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1298
# for backward compatibility:
 
1299
ac_top_builddir=$ac_top_build_prefix
 
1300
 
 
1301
case $srcdir in
 
1302
  .)  # We are building in place.
 
1303
    ac_srcdir=.
 
1304
    ac_top_srcdir=$ac_top_builddir_sub
 
1305
    ac_abs_top_srcdir=$ac_pwd ;;
 
1306
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1307
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1308
    ac_top_srcdir=$srcdir
 
1309
    ac_abs_top_srcdir=$srcdir ;;
 
1310
  *) # Relative name.
 
1311
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1312
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1313
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1314
esac
 
1315
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1316
 
 
1317
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1318
    # Check for guested configure.
 
1319
    if test -f "$ac_srcdir/configure.gnu"; then
 
1320
      echo &&
 
1321
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1322
    elif test -f "$ac_srcdir/configure"; then
 
1323
      echo &&
 
1324
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1325
    else
 
1326
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1327
    fi || ac_status=$?
 
1328
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1329
  done
 
1330
fi
 
1331
 
 
1332
test -n "$ac_init_help" && exit $ac_status
 
1333
if $ac_init_version; then
 
1334
  cat <<\_ACEOF
 
1335
configure
 
1336
generated by GNU Autoconf 2.61
 
1337
 
 
1338
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1339
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1340
This configure script is free software; the Free Software Foundation
 
1341
gives unlimited permission to copy, distribute and modify it.
 
1342
_ACEOF
 
1343
  exit
 
1344
fi
 
1345
cat >config.log <<_ACEOF
 
1346
This file contains any messages produced by compilers while
 
1347
running configure, to aid debugging if configure makes a mistake.
 
1348
 
 
1349
It was created by $as_me, which was
 
1350
generated by GNU Autoconf 2.61.  Invocation command line was
 
1351
 
 
1352
  $ $0 $@
 
1353
 
 
1354
_ACEOF
 
1355
exec 5>>config.log
 
1356
{
 
1357
cat <<_ASUNAME
 
1358
## --------- ##
 
1359
## Platform. ##
 
1360
## --------- ##
 
1361
 
 
1362
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1363
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1364
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1365
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1366
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1367
 
 
1368
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1369
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1370
 
 
1371
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1372
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1373
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1374
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1375
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1376
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1377
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1378
 
 
1379
_ASUNAME
 
1380
 
 
1381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1382
for as_dir in $PATH
 
1383
do
 
1384
  IFS=$as_save_IFS
 
1385
  test -z "$as_dir" && as_dir=.
 
1386
  echo "PATH: $as_dir"
 
1387
done
 
1388
IFS=$as_save_IFS
 
1389
 
 
1390
} >&5
 
1391
 
 
1392
cat >&5 <<_ACEOF
 
1393
 
 
1394
 
 
1395
## ----------- ##
 
1396
## Core tests. ##
 
1397
## ----------- ##
 
1398
 
 
1399
_ACEOF
 
1400
 
 
1401
 
 
1402
# Keep a trace of the command line.
 
1403
# Strip out --no-create and --no-recursion so they do not pile up.
 
1404
# Strip out --silent because we don't want to record it for future runs.
 
1405
# Also quote any args containing shell meta-characters.
 
1406
# Make two passes to allow for proper duplicate-argument suppression.
 
1407
ac_configure_args=
 
1408
ac_configure_args0=
 
1409
ac_configure_args1=
 
1410
ac_must_keep_next=false
 
1411
for ac_pass in 1 2
 
1412
do
 
1413
  for ac_arg
 
1414
  do
 
1415
    case $ac_arg in
 
1416
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1417
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1418
    | -silent | --silent | --silen | --sile | --sil)
 
1419
      continue ;;
 
1420
    *\'*)
 
1421
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1422
    esac
 
1423
    case $ac_pass in
 
1424
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1425
    2)
 
1426
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1427
      if test $ac_must_keep_next = true; then
 
1428
        ac_must_keep_next=false # Got value, back to normal.
 
1429
      else
 
1430
        case $ac_arg in
 
1431
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1432
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1433
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1434
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1435
            case "$ac_configure_args0 " in
 
1436
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1437
            esac
 
1438
            ;;
 
1439
          -* ) ac_must_keep_next=true ;;
 
1440
        esac
 
1441
      fi
 
1442
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1443
      ;;
 
1444
    esac
 
1445
  done
 
1446
done
 
1447
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 
1448
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1449
 
 
1450
# When interrupted or exit'd, cleanup temporary files, and complete
 
1451
# config.log.  We remove comments because anyway the quotes in there
 
1452
# would cause problems or look ugly.
 
1453
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1454
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1455
trap 'exit_status=$?
 
1456
  # Save into config.log some information that might help in debugging.
 
1457
  {
 
1458
    echo
 
1459
 
 
1460
    cat <<\_ASBOX
 
1461
## ---------------- ##
 
1462
## Cache variables. ##
 
1463
## ---------------- ##
 
1464
_ASBOX
 
1465
    echo
 
1466
    # The following way of writing the cache mishandles newlines in values,
 
1467
(
 
1468
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1469
    eval ac_val=\$$ac_var
 
1470
    case $ac_val in #(
 
1471
    *${as_nl}*)
 
1472
      case $ac_var in #(
 
1473
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1474
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1475
      esac
 
1476
      case $ac_var in #(
 
1477
      _ | IFS | as_nl) ;; #(
 
1478
      *) $as_unset $ac_var ;;
 
1479
      esac ;;
 
1480
    esac
 
1481
  done
 
1482
  (set) 2>&1 |
 
1483
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1484
    *${as_nl}ac_space=\ *)
 
1485
      sed -n \
 
1486
        "s/'\''/'\''\\\\'\'''\''/g;
 
1487
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1488
      ;; #(
 
1489
    *)
 
1490
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1491
      ;;
 
1492
    esac |
 
1493
    sort
 
1494
)
 
1495
    echo
 
1496
 
 
1497
    cat <<\_ASBOX
 
1498
## ----------------- ##
 
1499
## Output variables. ##
 
1500
## ----------------- ##
 
1501
_ASBOX
 
1502
    echo
 
1503
    for ac_var in $ac_subst_vars
 
1504
    do
 
1505
      eval ac_val=\$$ac_var
 
1506
      case $ac_val in
 
1507
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1508
      esac
 
1509
      echo "$ac_var='\''$ac_val'\''"
 
1510
    done | sort
 
1511
    echo
 
1512
 
 
1513
    if test -n "$ac_subst_files"; then
 
1514
      cat <<\_ASBOX
 
1515
## ------------------- ##
 
1516
## File substitutions. ##
 
1517
## ------------------- ##
 
1518
_ASBOX
 
1519
      echo
 
1520
      for ac_var in $ac_subst_files
 
1521
      do
 
1522
        eval ac_val=\$$ac_var
 
1523
        case $ac_val in
 
1524
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1525
        esac
 
1526
        echo "$ac_var='\''$ac_val'\''"
 
1527
      done | sort
 
1528
      echo
 
1529
    fi
 
1530
 
 
1531
    if test -s confdefs.h; then
 
1532
      cat <<\_ASBOX
 
1533
## ----------- ##
 
1534
## confdefs.h. ##
 
1535
## ----------- ##
 
1536
_ASBOX
 
1537
      echo
 
1538
      cat confdefs.h
 
1539
      echo
 
1540
    fi
 
1541
    test "$ac_signal" != 0 &&
 
1542
      echo "$as_me: caught signal $ac_signal"
 
1543
    echo "$as_me: exit $exit_status"
 
1544
  } >&5
 
1545
  rm -f core *.core core.conftest.* &&
 
1546
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1547
    exit $exit_status
 
1548
' 0
 
1549
for ac_signal in 1 2 13 15; do
 
1550
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1551
done
 
1552
ac_signal=0
 
1553
 
 
1554
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1555
rm -f -r conftest* confdefs.h
 
1556
 
 
1557
# Predefined preprocessor variables.
 
1558
 
 
1559
cat >>confdefs.h <<_ACEOF
 
1560
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1561
_ACEOF
 
1562
 
 
1563
 
 
1564
cat >>confdefs.h <<_ACEOF
 
1565
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1566
_ACEOF
 
1567
 
 
1568
 
 
1569
cat >>confdefs.h <<_ACEOF
 
1570
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1571
_ACEOF
 
1572
 
 
1573
 
 
1574
cat >>confdefs.h <<_ACEOF
 
1575
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1576
_ACEOF
 
1577
 
 
1578
 
 
1579
cat >>confdefs.h <<_ACEOF
 
1580
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1581
_ACEOF
 
1582
 
 
1583
 
 
1584
# Let the site file select an alternate cache file if it wants to.
479
1585
# Prefer explicitly selected file to automatically selected ones.
480
 
if test -z "$CONFIG_SITE"; then
481
 
  if test "x$prefix" != xNONE; then
482
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
483
 
  else
484
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
485
 
  fi
 
1586
if test -n "$CONFIG_SITE"; then
 
1587
  set x "$CONFIG_SITE"
 
1588
elif test "x$prefix" != xNONE; then
 
1589
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1590
else
 
1591
  set x "$ac_default_prefix/share/config.site" \
 
1592
        "$ac_default_prefix/etc/config.site"
486
1593
fi
487
 
for ac_site_file in $CONFIG_SITE; do
 
1594
shift
 
1595
for ac_site_file
 
1596
do
488
1597
  if test -r "$ac_site_file"; then
489
 
    echo "loading site script $ac_site_file"
 
1598
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1599
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1600
    sed 's/^/| /' "$ac_site_file" >&5
490
1601
    . "$ac_site_file"
491
1602
  fi
492
1603
done
493
1604
 
494
1605
if test -r "$cache_file"; then
495
 
  echo "loading cache $cache_file"
496
 
  . $cache_file
 
1606
  # Some versions of bash will fail to source /dev/null (special
 
1607
  # files actually), so we avoid doing that.
 
1608
  if test -f "$cache_file"; then
 
1609
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1610
echo "$as_me: loading cache $cache_file" >&6;}
 
1611
    case $cache_file in
 
1612
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1613
      *)                      . "./$cache_file";;
 
1614
    esac
 
1615
  fi
497
1616
else
498
 
  echo "creating cache $cache_file"
499
 
  > $cache_file
500
 
fi
 
1617
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1618
echo "$as_me: creating cache $cache_file" >&6;}
 
1619
  >$cache_file
 
1620
fi
 
1621
 
 
1622
# Check that the precious variables saved in the cache have kept the same
 
1623
# value.
 
1624
ac_cache_corrupted=false
 
1625
for ac_var in $ac_precious_vars; do
 
1626
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1627
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1628
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1629
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1630
  case $ac_old_set,$ac_new_set in
 
1631
    set,)
 
1632
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1633
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1634
      ac_cache_corrupted=: ;;
 
1635
    ,set)
 
1636
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1637
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1638
      ac_cache_corrupted=: ;;
 
1639
    ,);;
 
1640
    *)
 
1641
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1642
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1643
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1644
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1645
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1646
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1647
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1648
        ac_cache_corrupted=:
 
1649
      fi;;
 
1650
  esac
 
1651
  # Pass precious variables to config.status.
 
1652
  if test "$ac_new_set" = set; then
 
1653
    case $ac_new_val in
 
1654
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1655
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1656
    esac
 
1657
    case " $ac_configure_args " in
 
1658
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1659
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1660
    esac
 
1661
  fi
 
1662
done
 
1663
if $ac_cache_corrupted; then
 
1664
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1665
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1666
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1667
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1668
   { (exit 1); exit 1; }; }
 
1669
fi
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
 
1675
 
 
1676
 
 
1677
 
 
1678
 
 
1679
 
 
1680
 
 
1681
 
 
1682
 
 
1683
 
 
1684
 
 
1685
 
501
1686
 
502
1687
ac_ext=c
503
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
504
1688
ac_cpp='$CPP $CPPFLAGS'
505
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
506
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
507
 
cross_compiling=$ac_cv_prog_cc_cross
508
 
 
509
 
ac_exeext=
510
 
ac_objext=o
511
 
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
512
 
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
513
 
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
514
 
    ac_n= ac_c='
515
 
' ac_t='        '
516
 
  else
517
 
    ac_n=-n ac_c= ac_t=
518
 
  fi
519
 
else
520
 
  ac_n= ac_c='\c' ac_t=
521
 
fi
 
1689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
522
1692
 
523
1693
 
524
1694
 
525
1695
ac_aux_dir=
526
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
527
 
  if test -f $ac_dir/install-sh; then
 
1696
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1697
  if test -f "$ac_dir/install-sh"; then
528
1698
    ac_aux_dir=$ac_dir
529
1699
    ac_install_sh="$ac_aux_dir/install-sh -c"
530
1700
    break
531
 
  elif test -f $ac_dir/install.sh; then
 
1701
  elif test -f "$ac_dir/install.sh"; then
532
1702
    ac_aux_dir=$ac_dir
533
1703
    ac_install_sh="$ac_aux_dir/install.sh -c"
534
1704
    break
 
1705
  elif test -f "$ac_dir/shtool"; then
 
1706
    ac_aux_dir=$ac_dir
 
1707
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1708
    break
535
1709
  fi
536
1710
done
537
1711
if test -z "$ac_aux_dir"; then
538
 
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
539
 
fi
540
 
ac_config_guess=$ac_aux_dir/config.guess
541
 
ac_config_sub=$ac_aux_dir/config.sub
542
 
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
543
 
 
544
 
 
545
 
# Do some error checking and defaulting for the host and target type.
546
 
# The inputs are:
547
 
#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
548
 
#
549
 
# The rules are:
550
 
# 1. You are not allowed to specify --host, --target, and nonopt at the
551
 
#    same time.
552
 
# 2. Host defaults to nonopt.
553
 
# 3. If nonopt is not specified, then host defaults to the current host,
554
 
#    as determined by config.guess.
555
 
# 4. Target and build default to nonopt.
556
 
# 5. If nonopt is not specified, then target and build default to host.
 
1712
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1713
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1714
   { (exit 1); exit 1; }; }
 
1715
fi
 
1716
 
 
1717
# These three variables are undocumented and unsupported,
 
1718
# and are intended to be withdrawn in a future Autoconf release.
 
1719
# They can cause serious problems if a builder's source tree is in a directory
 
1720
# whose full name contains unusual characters.
 
1721
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1722
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1723
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1724
 
 
1725
 
 
1726
# Make sure we can run config.sub.
 
1727
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
1728
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
1729
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
1730
   { (exit 1); exit 1; }; }
 
1731
 
 
1732
{ echo "$as_me:$LINENO: checking build system type" >&5
 
1733
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
1734
if test "${ac_cv_build+set}" = set; then
 
1735
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1736
else
 
1737
  ac_build_alias=$build_alias
 
1738
test "x$ac_build_alias" = x &&
 
1739
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
1740
test "x$ac_build_alias" = x &&
 
1741
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
1742
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1743
   { (exit 1); exit 1; }; }
 
1744
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
1745
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
1746
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
1747
   { (exit 1); exit 1; }; }
 
1748
 
 
1749
fi
 
1750
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1751
echo "${ECHO_T}$ac_cv_build" >&6; }
 
1752
case $ac_cv_build in
 
1753
*-*-*) ;;
 
1754
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
1755
echo "$as_me: error: invalid value of canonical build" >&2;}
 
1756
   { (exit 1); exit 1; }; };;
 
1757
esac
 
1758
build=$ac_cv_build
 
1759
ac_save_IFS=$IFS; IFS='-'
 
1760
set x $ac_cv_build
 
1761
shift
 
1762
build_cpu=$1
 
1763
build_vendor=$2
 
1764
shift; shift
 
1765
# Remember, the first character of IFS is used to create $*,
 
1766
# except with old shells:
 
1767
build_os=$*
 
1768
IFS=$ac_save_IFS
 
1769
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
1770
 
 
1771
 
 
1772
{ echo "$as_me:$LINENO: checking host system type" >&5
 
1773
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
1774
if test "${ac_cv_host+set}" = set; then
 
1775
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1776
else
 
1777
  if test "x$host_alias" = x; then
 
1778
  ac_cv_host=$ac_cv_build
 
1779
else
 
1780
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
1781
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
1782
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
1783
   { (exit 1); exit 1; }; }
 
1784
fi
 
1785
 
 
1786
fi
 
1787
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
1788
echo "${ECHO_T}$ac_cv_host" >&6; }
 
1789
case $ac_cv_host in
 
1790
*-*-*) ;;
 
1791
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
1792
echo "$as_me: error: invalid value of canonical host" >&2;}
 
1793
   { (exit 1); exit 1; }; };;
 
1794
esac
 
1795
host=$ac_cv_host
 
1796
ac_save_IFS=$IFS; IFS='-'
 
1797
set x $ac_cv_host
 
1798
shift
 
1799
host_cpu=$1
 
1800
host_vendor=$2
 
1801
shift; shift
 
1802
# Remember, the first character of IFS is used to create $*,
 
1803
# except with old shells:
 
1804
host_os=$*
 
1805
IFS=$ac_save_IFS
 
1806
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
1807
 
 
1808
 
 
1809
{ echo "$as_me:$LINENO: checking target system type" >&5
 
1810
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
 
1811
if test "${ac_cv_target+set}" = set; then
 
1812
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1813
else
 
1814
  if test "x$target_alias" = x; then
 
1815
  ac_cv_target=$ac_cv_host
 
1816
else
 
1817
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
1818
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
1819
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
 
1820
   { (exit 1); exit 1; }; }
 
1821
fi
 
1822
 
 
1823
fi
 
1824
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
1825
echo "${ECHO_T}$ac_cv_target" >&6; }
 
1826
case $ac_cv_target in
 
1827
*-*-*) ;;
 
1828
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
1829
echo "$as_me: error: invalid value of canonical target" >&2;}
 
1830
   { (exit 1); exit 1; }; };;
 
1831
esac
 
1832
target=$ac_cv_target
 
1833
ac_save_IFS=$IFS; IFS='-'
 
1834
set x $ac_cv_target
 
1835
shift
 
1836
target_cpu=$1
 
1837
target_vendor=$2
 
1838
shift; shift
 
1839
# Remember, the first character of IFS is used to create $*,
 
1840
# except with old shells:
 
1841
target_os=$*
 
1842
IFS=$ac_save_IFS
 
1843
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
1844
 
557
1845
 
558
1846
# The aliases save the names the user supplied, while $host etc.
559
1847
# will get canonicalized.
560
 
case $host---$target---$nonopt in
561
 
NONE---*---* | *---NONE---* | *---*---NONE) ;;
562
 
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
563
 
esac
564
 
 
565
 
 
566
 
# Make sure we can run config.sub.
567
 
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
568
 
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
569
 
fi
570
 
 
571
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
572
 
echo "configure:573: checking host system type" >&5
573
 
 
574
 
host_alias=$host
575
 
case "$host_alias" in
576
 
NONE)
577
 
  case $nonopt in
578
 
  NONE)
579
 
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
580
 
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
581
 
    fi ;;
582
 
  *) host_alias=$nonopt ;;
583
 
  esac ;;
584
 
esac
585
 
 
586
 
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
587
 
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
588
 
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
589
 
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
590
 
echo "$ac_t""$host" 1>&6
591
 
 
592
 
echo $ac_n "checking target system type""... $ac_c" 1>&6
593
 
echo "configure:594: checking target system type" >&5
594
 
 
595
 
target_alias=$target
596
 
case "$target_alias" in
597
 
NONE)
598
 
  case $nonopt in
599
 
  NONE) target_alias=$host_alias ;;
600
 
  *) target_alias=$nonopt ;;
601
 
  esac ;;
602
 
esac
603
 
 
604
 
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
605
 
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
606
 
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
607
 
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
608
 
echo "$ac_t""$target" 1>&6
609
 
 
610
 
echo $ac_n "checking build system type""... $ac_c" 1>&6
611
 
echo "configure:612: checking build system type" >&5
612
 
 
613
 
build_alias=$build
614
 
case "$build_alias" in
615
 
NONE)
616
 
  case $nonopt in
617
 
  NONE) build_alias=$host_alias ;;
618
 
  *) build_alias=$nonopt ;;
619
 
  esac ;;
620
 
esac
621
 
 
622
 
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
623
 
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
624
 
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
625
 
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
626
 
echo "$ac_t""$build" 1>&6
627
 
 
628
 
test "$host_alias" != "$target_alias" &&
 
1848
test -n "$target_alias" &&
629
1849
  test "$program_prefix$program_suffix$program_transform_name" = \
630
1850
    NONENONEs,x,x, &&
631
1851
  program_prefix=${target_alias}-
632
 
 
633
 
# Extract the first word of "gcc", so it can be a program name with args.
 
1852
ac_ext=c
 
1853
ac_cpp='$CPP $CPPFLAGS'
 
1854
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1855
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1856
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1857
if test -n "$ac_tool_prefix"; then
 
1858
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
1859
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
1860
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1861
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1862
if test "${ac_cv_prog_CC+set}" = set; then
 
1863
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1864
else
 
1865
  if test -n "$CC"; then
 
1866
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
1867
else
 
1868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1869
for as_dir in $PATH
 
1870
do
 
1871
  IFS=$as_save_IFS
 
1872
  test -z "$as_dir" && as_dir=.
 
1873
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1875
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
1876
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1877
    break 2
 
1878
  fi
 
1879
done
 
1880
done
 
1881
IFS=$as_save_IFS
 
1882
 
 
1883
fi
 
1884
fi
 
1885
CC=$ac_cv_prog_CC
 
1886
if test -n "$CC"; then
 
1887
  { echo "$as_me:$LINENO: result: $CC" >&5
 
1888
echo "${ECHO_T}$CC" >&6; }
 
1889
else
 
1890
  { echo "$as_me:$LINENO: result: no" >&5
 
1891
echo "${ECHO_T}no" >&6; }
 
1892
fi
 
1893
 
 
1894
 
 
1895
fi
 
1896
if test -z "$ac_cv_prog_CC"; then
 
1897
  ac_ct_CC=$CC
 
1898
  # Extract the first word of "gcc", so it can be a program name with args.
634
1899
set dummy gcc; ac_word=$2
635
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
636
 
echo "configure:637: checking for $ac_word" >&5
637
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
638
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
1900
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1901
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1902
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
1903
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1904
else
 
1905
  if test -n "$ac_ct_CC"; then
 
1906
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
1907
else
 
1908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1909
for as_dir in $PATH
 
1910
do
 
1911
  IFS=$as_save_IFS
 
1912
  test -z "$as_dir" && as_dir=.
 
1913
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1915
    ac_cv_prog_ac_ct_CC="gcc"
 
1916
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1917
    break 2
 
1918
  fi
 
1919
done
 
1920
done
 
1921
IFS=$as_save_IFS
 
1922
 
 
1923
fi
 
1924
fi
 
1925
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
1926
if test -n "$ac_ct_CC"; then
 
1927
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
1928
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
1929
else
 
1930
  { echo "$as_me:$LINENO: result: no" >&5
 
1931
echo "${ECHO_T}no" >&6; }
 
1932
fi
 
1933
 
 
1934
  if test "x$ac_ct_CC" = x; then
 
1935
    CC=""
 
1936
  else
 
1937
    case $cross_compiling:$ac_tool_warned in
 
1938
yes:)
 
1939
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
1940
whose name does not start with the host triplet.  If you think this
 
1941
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
1942
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
1943
whose name does not start with the host triplet.  If you think this
 
1944
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
1945
ac_tool_warned=yes ;;
 
1946
esac
 
1947
    CC=$ac_ct_CC
 
1948
  fi
 
1949
else
 
1950
  CC="$ac_cv_prog_CC"
 
1951
fi
 
1952
 
 
1953
if test -z "$CC"; then
 
1954
          if test -n "$ac_tool_prefix"; then
 
1955
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
1956
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
1957
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1958
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1959
if test "${ac_cv_prog_CC+set}" = set; then
 
1960
  echo $ECHO_N "(cached) $ECHO_C" >&6
639
1961
else
640
1962
  if test -n "$CC"; then
641
1963
  ac_cv_prog_CC="$CC" # Let the user override the test.
642
1964
else
643
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
644
 
  ac_dummy="$PATH"
645
 
  for ac_dir in $ac_dummy; do
646
 
    test -z "$ac_dir" && ac_dir=.
647
 
    if test -f $ac_dir/$ac_word; then
648
 
      ac_cv_prog_CC="gcc"
649
 
      break
650
 
    fi
651
 
  done
652
 
  IFS="$ac_save_ifs"
653
 
fi
654
 
fi
655
 
CC="$ac_cv_prog_CC"
 
1965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1966
for as_dir in $PATH
 
1967
do
 
1968
  IFS=$as_save_IFS
 
1969
  test -z "$as_dir" && as_dir=.
 
1970
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1971
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1972
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
1973
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1974
    break 2
 
1975
  fi
 
1976
done
 
1977
done
 
1978
IFS=$as_save_IFS
 
1979
 
 
1980
fi
 
1981
fi
 
1982
CC=$ac_cv_prog_CC
656
1983
if test -n "$CC"; then
657
 
  echo "$ac_t""$CC" 1>&6
 
1984
  { echo "$as_me:$LINENO: result: $CC" >&5
 
1985
echo "${ECHO_T}$CC" >&6; }
658
1986
else
659
 
  echo "$ac_t""no" 1>&6
660
 
fi
661
 
 
 
1987
  { echo "$as_me:$LINENO: result: no" >&5
 
1988
echo "${ECHO_T}no" >&6; }
 
1989
fi
 
1990
 
 
1991
 
 
1992
  fi
 
1993
fi
662
1994
if test -z "$CC"; then
663
1995
  # Extract the first word of "cc", so it can be a program name with args.
664
1996
set dummy cc; ac_word=$2
665
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
666
 
echo "configure:667: checking for $ac_word" >&5
667
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
668
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
1997
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1998
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1999
if test "${ac_cv_prog_CC+set}" = set; then
 
2000
  echo $ECHO_N "(cached) $ECHO_C" >&6
669
2001
else
670
2002
  if test -n "$CC"; then
671
2003
  ac_cv_prog_CC="$CC" # Let the user override the test.
672
2004
else
673
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
674
2005
  ac_prog_rejected=no
675
 
  ac_dummy="$PATH"
676
 
  for ac_dir in $ac_dummy; do
677
 
    test -z "$ac_dir" && ac_dir=.
678
 
    if test -f $ac_dir/$ac_word; then
679
 
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
680
 
        ac_prog_rejected=yes
681
 
        continue
682
 
      fi
683
 
      ac_cv_prog_CC="cc"
684
 
      break
685
 
    fi
686
 
  done
687
 
  IFS="$ac_save_ifs"
 
2006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2007
for as_dir in $PATH
 
2008
do
 
2009
  IFS=$as_save_IFS
 
2010
  test -z "$as_dir" && as_dir=.
 
2011
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2013
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2014
       ac_prog_rejected=yes
 
2015
       continue
 
2016
     fi
 
2017
    ac_cv_prog_CC="cc"
 
2018
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2019
    break 2
 
2020
  fi
 
2021
done
 
2022
done
 
2023
IFS=$as_save_IFS
 
2024
 
688
2025
if test $ac_prog_rejected = yes; then
689
2026
  # We found a bogon in the path, so make sure we never use it.
690
2027
  set dummy $ac_cv_prog_CC
691
2028
  shift
692
 
  if test $# -gt 0; then
 
2029
  if test $# != 0; then
693
2030
    # We chose a different compiler from the bogus one.
694
2031
    # However, it has the same basename, so the bogon will be chosen
695
2032
    # first if we set CC to just the basename; use the full file name.
696
2033
    shift
697
 
    set dummy "$ac_dir/$ac_word" "$@"
698
 
    shift
699
 
    ac_cv_prog_CC="$@"
 
2034
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
700
2035
  fi
701
2036
fi
702
2037
fi
703
2038
fi
704
 
CC="$ac_cv_prog_CC"
 
2039
CC=$ac_cv_prog_CC
705
2040
if test -n "$CC"; then
706
 
  echo "$ac_t""$CC" 1>&6
 
2041
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2042
echo "${ECHO_T}$CC" >&6; }
707
2043
else
708
 
  echo "$ac_t""no" 1>&6
709
 
fi
710
 
 
711
 
  if test -z "$CC"; then
712
 
    case "`uname -s`" in
713
 
    *win32* | *WIN32*)
714
 
      # Extract the first word of "cl", so it can be a program name with args.
715
 
set dummy cl; ac_word=$2
716
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
717
 
echo "configure:718: checking for $ac_word" >&5
718
 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
719
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
2044
  { echo "$as_me:$LINENO: result: no" >&5
 
2045
echo "${ECHO_T}no" >&6; }
 
2046
fi
 
2047
 
 
2048
 
 
2049
fi
 
2050
if test -z "$CC"; then
 
2051
  if test -n "$ac_tool_prefix"; then
 
2052
  for ac_prog in cl.exe
 
2053
  do
 
2054
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2055
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2056
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2057
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2058
if test "${ac_cv_prog_CC+set}" = set; then
 
2059
  echo $ECHO_N "(cached) $ECHO_C" >&6
720
2060
else
721
2061
  if test -n "$CC"; then
722
2062
  ac_cv_prog_CC="$CC" # Let the user override the test.
723
2063
else
724
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
725
 
  ac_dummy="$PATH"
726
 
  for ac_dir in $ac_dummy; do
727
 
    test -z "$ac_dir" && ac_dir=.
728
 
    if test -f $ac_dir/$ac_word; then
729
 
      ac_cv_prog_CC="cl"
730
 
      break
 
2064
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2065
for as_dir in $PATH
 
2066
do
 
2067
  IFS=$as_save_IFS
 
2068
  test -z "$as_dir" && as_dir=.
 
2069
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2071
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2072
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2073
    break 2
 
2074
  fi
 
2075
done
 
2076
done
 
2077
IFS=$as_save_IFS
 
2078
 
 
2079
fi
 
2080
fi
 
2081
CC=$ac_cv_prog_CC
 
2082
if test -n "$CC"; then
 
2083
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2084
echo "${ECHO_T}$CC" >&6; }
 
2085
else
 
2086
  { echo "$as_me:$LINENO: result: no" >&5
 
2087
echo "${ECHO_T}no" >&6; }
 
2088
fi
 
2089
 
 
2090
 
 
2091
    test -n "$CC" && break
 
2092
  done
 
2093
fi
 
2094
if test -z "$CC"; then
 
2095
  ac_ct_CC=$CC
 
2096
  for ac_prog in cl.exe
 
2097
do
 
2098
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2099
set dummy $ac_prog; ac_word=$2
 
2100
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2102
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2103
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2104
else
 
2105
  if test -n "$ac_ct_CC"; then
 
2106
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2107
else
 
2108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2109
for as_dir in $PATH
 
2110
do
 
2111
  IFS=$as_save_IFS
 
2112
  test -z "$as_dir" && as_dir=.
 
2113
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2115
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2116
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2117
    break 2
 
2118
  fi
 
2119
done
 
2120
done
 
2121
IFS=$as_save_IFS
 
2122
 
 
2123
fi
 
2124
fi
 
2125
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2126
if test -n "$ac_ct_CC"; then
 
2127
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2128
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2129
else
 
2130
  { echo "$as_me:$LINENO: result: no" >&5
 
2131
echo "${ECHO_T}no" >&6; }
 
2132
fi
 
2133
 
 
2134
 
 
2135
  test -n "$ac_ct_CC" && break
 
2136
done
 
2137
 
 
2138
  if test "x$ac_ct_CC" = x; then
 
2139
    CC=""
 
2140
  else
 
2141
    case $cross_compiling:$ac_tool_warned in
 
2142
yes:)
 
2143
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2144
whose name does not start with the host triplet.  If you think this
 
2145
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2146
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2147
whose name does not start with the host triplet.  If you think this
 
2148
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2149
ac_tool_warned=yes ;;
 
2150
esac
 
2151
    CC=$ac_ct_CC
 
2152
  fi
 
2153
fi
 
2154
 
 
2155
fi
 
2156
 
 
2157
 
 
2158
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2159
See \`config.log' for more details." >&5
 
2160
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2161
See \`config.log' for more details." >&2;}
 
2162
   { (exit 1); exit 1; }; }
 
2163
 
 
2164
# Provide some information about the compiler.
 
2165
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2166
ac_compiler=`set X $ac_compile; echo $2`
 
2167
{ (ac_try="$ac_compiler --version >&5"
 
2168
case "(($ac_try" in
 
2169
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2170
  *) ac_try_echo=$ac_try;;
 
2171
esac
 
2172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2173
  (eval "$ac_compiler --version >&5") 2>&5
 
2174
  ac_status=$?
 
2175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2176
  (exit $ac_status); }
 
2177
{ (ac_try="$ac_compiler -v >&5"
 
2178
case "(($ac_try" in
 
2179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2180
  *) ac_try_echo=$ac_try;;
 
2181
esac
 
2182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2183
  (eval "$ac_compiler -v >&5") 2>&5
 
2184
  ac_status=$?
 
2185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2186
  (exit $ac_status); }
 
2187
{ (ac_try="$ac_compiler -V >&5"
 
2188
case "(($ac_try" in
 
2189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2190
  *) ac_try_echo=$ac_try;;
 
2191
esac
 
2192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2193
  (eval "$ac_compiler -V >&5") 2>&5
 
2194
  ac_status=$?
 
2195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2196
  (exit $ac_status); }
 
2197
 
 
2198
cat >conftest.$ac_ext <<_ACEOF
 
2199
/* confdefs.h.  */
 
2200
_ACEOF
 
2201
cat confdefs.h >>conftest.$ac_ext
 
2202
cat >>conftest.$ac_ext <<_ACEOF
 
2203
/* end confdefs.h.  */
 
2204
 
 
2205
int
 
2206
main ()
 
2207
{
 
2208
 
 
2209
  ;
 
2210
  return 0;
 
2211
}
 
2212
_ACEOF
 
2213
ac_clean_files_save=$ac_clean_files
 
2214
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2215
# Try to create an executable without -o first, disregard a.out.
 
2216
# It will help us diagnose broken compilers, and finding out an intuition
 
2217
# of exeext.
 
2218
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2219
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
2220
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2221
#
 
2222
# List of possible output files, starting from the most likely.
 
2223
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2224
# only as a last resort.  b.out is created by i960 compilers.
 
2225
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2226
#
 
2227
# The IRIX 6 linker writes into existing files which may not be
 
2228
# executable, retaining their permissions.  Remove them first so a
 
2229
# subsequent execution test works.
 
2230
ac_rmfiles=
 
2231
for ac_file in $ac_files
 
2232
do
 
2233
  case $ac_file in
 
2234
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2235
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2236
  esac
 
2237
done
 
2238
rm -f $ac_rmfiles
 
2239
 
 
2240
if { (ac_try="$ac_link_default"
 
2241
case "(($ac_try" in
 
2242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2243
  *) ac_try_echo=$ac_try;;
 
2244
esac
 
2245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2246
  (eval "$ac_link_default") 2>&5
 
2247
  ac_status=$?
 
2248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2249
  (exit $ac_status); }; then
 
2250
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2251
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2252
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2253
# so that the user can short-circuit this test for compilers unknown to
 
2254
# Autoconf.
 
2255
for ac_file in $ac_files ''
 
2256
do
 
2257
  test -f "$ac_file" || continue
 
2258
  case $ac_file in
 
2259
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2260
        ;;
 
2261
    [ab].out )
 
2262
        # We found the default executable, but exeext='' is most
 
2263
        # certainly right.
 
2264
        break;;
 
2265
    *.* )
 
2266
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2267
        then :; else
 
2268
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2269
        fi
 
2270
        # We set ac_cv_exeext here because the later test for it is not
 
2271
        # safe: cross compilers may not add the suffix if given an `-o'
 
2272
        # argument, so we may need to know it at that point already.
 
2273
        # Even if this section looks crufty: it has the advantage of
 
2274
        # actually working.
 
2275
        break;;
 
2276
    * )
 
2277
        break;;
 
2278
  esac
 
2279
done
 
2280
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2281
 
 
2282
else
 
2283
  ac_file=''
 
2284
fi
 
2285
 
 
2286
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2287
echo "${ECHO_T}$ac_file" >&6; }
 
2288
if test -z "$ac_file"; then
 
2289
  echo "$as_me: failed program was:" >&5
 
2290
sed 's/^/| /' conftest.$ac_ext >&5
 
2291
 
 
2292
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2293
See \`config.log' for more details." >&5
 
2294
echo "$as_me: error: C compiler cannot create executables
 
2295
See \`config.log' for more details." >&2;}
 
2296
   { (exit 77); exit 77; }; }
 
2297
fi
 
2298
 
 
2299
ac_exeext=$ac_cv_exeext
 
2300
 
 
2301
# Check that the compiler produces executables we can run.  If not, either
 
2302
# the compiler is broken, or we cross compile.
 
2303
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2304
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2305
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
2306
# If not cross compiling, check that we can run a simple program.
 
2307
if test "$cross_compiling" != yes; then
 
2308
  if { ac_try='./$ac_file'
 
2309
  { (case "(($ac_try" in
 
2310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2311
  *) ac_try_echo=$ac_try;;
 
2312
esac
 
2313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2314
  (eval "$ac_try") 2>&5
 
2315
  ac_status=$?
 
2316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2317
  (exit $ac_status); }; }; then
 
2318
    cross_compiling=no
 
2319
  else
 
2320
    if test "$cross_compiling" = maybe; then
 
2321
        cross_compiling=yes
 
2322
    else
 
2323
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2324
If you meant to cross compile, use \`--host'.
 
2325
See \`config.log' for more details." >&5
 
2326
echo "$as_me: error: cannot run C compiled programs.
 
2327
If you meant to cross compile, use \`--host'.
 
2328
See \`config.log' for more details." >&2;}
 
2329
   { (exit 1); exit 1; }; }
731
2330
    fi
732
 
  done
733
 
  IFS="$ac_save_ifs"
734
 
fi
735
 
fi
736
 
CC="$ac_cv_prog_CC"
737
 
if test -n "$CC"; then
738
 
  echo "$ac_t""$CC" 1>&6
739
 
else
740
 
  echo "$ac_t""no" 1>&6
741
 
fi
742
 
 ;;
743
 
    esac
744
 
  fi
745
 
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
746
 
fi
747
 
 
748
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
749
 
echo "configure:750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
750
 
 
751
 
ac_ext=c
752
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
753
 
ac_cpp='$CPP $CPPFLAGS'
754
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
755
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
756
 
cross_compiling=$ac_cv_prog_cc_cross
757
 
 
758
 
cat > conftest.$ac_ext << EOF
759
 
 
760
 
#line 761 "configure"
761
 
#include "confdefs.h"
762
 
 
763
 
main(){return(0);}
764
 
EOF
765
 
if { (eval echo configure:766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
766
 
  ac_cv_prog_cc_works=yes
767
 
  # If we can't run a trivial program, we are probably using a cross compiler.
768
 
  if (./conftest; exit) 2>/dev/null; then
769
 
    ac_cv_prog_cc_cross=no
770
 
  else
771
 
    ac_cv_prog_cc_cross=yes
772
 
  fi
773
 
else
774
 
  echo "configure: failed program was:" >&5
775
 
  cat conftest.$ac_ext >&5
776
 
  ac_cv_prog_cc_works=no
777
 
fi
778
 
rm -fr conftest*
779
 
ac_ext=c
780
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
781
 
ac_cpp='$CPP $CPPFLAGS'
782
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
783
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
784
 
cross_compiling=$ac_cv_prog_cc_cross
785
 
 
786
 
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
787
 
if test $ac_cv_prog_cc_works = no; then
788
 
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
789
 
fi
790
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
791
 
echo "configure:792: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
792
 
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
793
 
cross_compiling=$ac_cv_prog_cc_cross
794
 
 
795
 
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
796
 
echo "configure:797: checking whether we are using GNU C" >&5
797
 
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
798
 
  echo $ac_n "(cached) $ac_c" 1>&6
799
 
else
800
 
  cat > conftest.c <<EOF
801
 
#ifdef __GNUC__
802
 
  yes;
 
2331
  fi
 
2332
fi
 
2333
{ echo "$as_me:$LINENO: result: yes" >&5
 
2334
echo "${ECHO_T}yes" >&6; }
 
2335
 
 
2336
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2337
ac_clean_files=$ac_clean_files_save
 
2338
# Check that the compiler produces executables we can run.  If not, either
 
2339
# the compiler is broken, or we cross compile.
 
2340
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2341
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2342
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2343
echo "${ECHO_T}$cross_compiling" >&6; }
 
2344
 
 
2345
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2346
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2347
if { (ac_try="$ac_link"
 
2348
case "(($ac_try" in
 
2349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2350
  *) ac_try_echo=$ac_try;;
 
2351
esac
 
2352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2353
  (eval "$ac_link") 2>&5
 
2354
  ac_status=$?
 
2355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2356
  (exit $ac_status); }; then
 
2357
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2358
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2359
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2360
# `rm'.
 
2361
for ac_file in conftest.exe conftest conftest.*; do
 
2362
  test -f "$ac_file" || continue
 
2363
  case $ac_file in
 
2364
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2365
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2366
          break;;
 
2367
    * ) break;;
 
2368
  esac
 
2369
done
 
2370
else
 
2371
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2372
See \`config.log' for more details." >&5
 
2373
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2374
See \`config.log' for more details." >&2;}
 
2375
   { (exit 1); exit 1; }; }
 
2376
fi
 
2377
 
 
2378
rm -f conftest$ac_cv_exeext
 
2379
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2380
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2381
 
 
2382
rm -f conftest.$ac_ext
 
2383
EXEEXT=$ac_cv_exeext
 
2384
ac_exeext=$EXEEXT
 
2385
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2386
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2387
if test "${ac_cv_objext+set}" = set; then
 
2388
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2389
else
 
2390
  cat >conftest.$ac_ext <<_ACEOF
 
2391
/* confdefs.h.  */
 
2392
_ACEOF
 
2393
cat confdefs.h >>conftest.$ac_ext
 
2394
cat >>conftest.$ac_ext <<_ACEOF
 
2395
/* end confdefs.h.  */
 
2396
 
 
2397
int
 
2398
main ()
 
2399
{
 
2400
 
 
2401
  ;
 
2402
  return 0;
 
2403
}
 
2404
_ACEOF
 
2405
rm -f conftest.o conftest.obj
 
2406
if { (ac_try="$ac_compile"
 
2407
case "(($ac_try" in
 
2408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2409
  *) ac_try_echo=$ac_try;;
 
2410
esac
 
2411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2412
  (eval "$ac_compile") 2>&5
 
2413
  ac_status=$?
 
2414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2415
  (exit $ac_status); }; then
 
2416
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2417
  test -f "$ac_file" || continue;
 
2418
  case $ac_file in
 
2419
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2420
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
2421
       break;;
 
2422
  esac
 
2423
done
 
2424
else
 
2425
  echo "$as_me: failed program was:" >&5
 
2426
sed 's/^/| /' conftest.$ac_ext >&5
 
2427
 
 
2428
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2429
See \`config.log' for more details." >&5
 
2430
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2431
See \`config.log' for more details." >&2;}
 
2432
   { (exit 1); exit 1; }; }
 
2433
fi
 
2434
 
 
2435
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
2436
fi
 
2437
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2438
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2439
OBJEXT=$ac_cv_objext
 
2440
ac_objext=$OBJEXT
 
2441
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2442
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2443
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
2444
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2445
else
 
2446
  cat >conftest.$ac_ext <<_ACEOF
 
2447
/* confdefs.h.  */
 
2448
_ACEOF
 
2449
cat confdefs.h >>conftest.$ac_ext
 
2450
cat >>conftest.$ac_ext <<_ACEOF
 
2451
/* end confdefs.h.  */
 
2452
 
 
2453
int
 
2454
main ()
 
2455
{
 
2456
#ifndef __GNUC__
 
2457
       choke me
803
2458
#endif
804
 
EOF
805
 
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
806
 
  ac_cv_prog_gcc=yes
807
 
else
808
 
  ac_cv_prog_gcc=no
809
 
fi
810
 
fi
811
 
 
812
 
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
813
 
 
814
 
if test $ac_cv_prog_gcc = yes; then
815
 
  GCC=yes
816
 
else
817
 
  GCC=
818
 
fi
819
 
 
820
 
ac_test_CFLAGS="${CFLAGS+set}"
821
 
ac_save_CFLAGS="$CFLAGS"
822
 
CFLAGS=
823
 
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
824
 
echo "configure:825: checking whether ${CC-cc} accepts -g" >&5
825
 
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
826
 
  echo $ac_n "(cached) $ac_c" 1>&6
827
 
else
828
 
  echo 'void f(){}' > conftest.c
829
 
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
830
 
  ac_cv_prog_cc_g=yes
831
 
else
832
 
  ac_cv_prog_cc_g=no
833
 
fi
834
 
rm -f conftest*
835
 
 
836
 
fi
837
 
 
838
 
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
 
2459
 
 
2460
  ;
 
2461
  return 0;
 
2462
}
 
2463
_ACEOF
 
2464
rm -f conftest.$ac_objext
 
2465
if { (ac_try="$ac_compile"
 
2466
case "(($ac_try" in
 
2467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2468
  *) ac_try_echo=$ac_try;;
 
2469
esac
 
2470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2471
  (eval "$ac_compile") 2>conftest.er1
 
2472
  ac_status=$?
 
2473
  grep -v '^ *+' conftest.er1 >conftest.err
 
2474
  rm -f conftest.er1
 
2475
  cat conftest.err >&5
 
2476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2477
  (exit $ac_status); } && {
 
2478
         test -z "$ac_c_werror_flag" ||
 
2479
         test ! -s conftest.err
 
2480
       } && test -s conftest.$ac_objext; then
 
2481
  ac_compiler_gnu=yes
 
2482
else
 
2483
  echo "$as_me: failed program was:" >&5
 
2484
sed 's/^/| /' conftest.$ac_ext >&5
 
2485
 
 
2486
        ac_compiler_gnu=no
 
2487
fi
 
2488
 
 
2489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2490
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
2491
 
 
2492
fi
 
2493
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2494
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
2495
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2496
ac_test_CFLAGS=${CFLAGS+set}
 
2497
ac_save_CFLAGS=$CFLAGS
 
2498
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2499
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2500
if test "${ac_cv_prog_cc_g+set}" = set; then
 
2501
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2502
else
 
2503
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2504
   ac_c_werror_flag=yes
 
2505
   ac_cv_prog_cc_g=no
 
2506
   CFLAGS="-g"
 
2507
   cat >conftest.$ac_ext <<_ACEOF
 
2508
/* confdefs.h.  */
 
2509
_ACEOF
 
2510
cat confdefs.h >>conftest.$ac_ext
 
2511
cat >>conftest.$ac_ext <<_ACEOF
 
2512
/* end confdefs.h.  */
 
2513
 
 
2514
int
 
2515
main ()
 
2516
{
 
2517
 
 
2518
  ;
 
2519
  return 0;
 
2520
}
 
2521
_ACEOF
 
2522
rm -f conftest.$ac_objext
 
2523
if { (ac_try="$ac_compile"
 
2524
case "(($ac_try" in
 
2525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2526
  *) ac_try_echo=$ac_try;;
 
2527
esac
 
2528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2529
  (eval "$ac_compile") 2>conftest.er1
 
2530
  ac_status=$?
 
2531
  grep -v '^ *+' conftest.er1 >conftest.err
 
2532
  rm -f conftest.er1
 
2533
  cat conftest.err >&5
 
2534
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2535
  (exit $ac_status); } && {
 
2536
         test -z "$ac_c_werror_flag" ||
 
2537
         test ! -s conftest.err
 
2538
       } && test -s conftest.$ac_objext; then
 
2539
  ac_cv_prog_cc_g=yes
 
2540
else
 
2541
  echo "$as_me: failed program was:" >&5
 
2542
sed 's/^/| /' conftest.$ac_ext >&5
 
2543
 
 
2544
        CFLAGS=""
 
2545
      cat >conftest.$ac_ext <<_ACEOF
 
2546
/* confdefs.h.  */
 
2547
_ACEOF
 
2548
cat confdefs.h >>conftest.$ac_ext
 
2549
cat >>conftest.$ac_ext <<_ACEOF
 
2550
/* end confdefs.h.  */
 
2551
 
 
2552
int
 
2553
main ()
 
2554
{
 
2555
 
 
2556
  ;
 
2557
  return 0;
 
2558
}
 
2559
_ACEOF
 
2560
rm -f conftest.$ac_objext
 
2561
if { (ac_try="$ac_compile"
 
2562
case "(($ac_try" in
 
2563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2564
  *) ac_try_echo=$ac_try;;
 
2565
esac
 
2566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2567
  (eval "$ac_compile") 2>conftest.er1
 
2568
  ac_status=$?
 
2569
  grep -v '^ *+' conftest.er1 >conftest.err
 
2570
  rm -f conftest.er1
 
2571
  cat conftest.err >&5
 
2572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2573
  (exit $ac_status); } && {
 
2574
         test -z "$ac_c_werror_flag" ||
 
2575
         test ! -s conftest.err
 
2576
       } && test -s conftest.$ac_objext; then
 
2577
  :
 
2578
else
 
2579
  echo "$as_me: failed program was:" >&5
 
2580
sed 's/^/| /' conftest.$ac_ext >&5
 
2581
 
 
2582
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2583
         CFLAGS="-g"
 
2584
         cat >conftest.$ac_ext <<_ACEOF
 
2585
/* confdefs.h.  */
 
2586
_ACEOF
 
2587
cat confdefs.h >>conftest.$ac_ext
 
2588
cat >>conftest.$ac_ext <<_ACEOF
 
2589
/* end confdefs.h.  */
 
2590
 
 
2591
int
 
2592
main ()
 
2593
{
 
2594
 
 
2595
  ;
 
2596
  return 0;
 
2597
}
 
2598
_ACEOF
 
2599
rm -f conftest.$ac_objext
 
2600
if { (ac_try="$ac_compile"
 
2601
case "(($ac_try" in
 
2602
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2603
  *) ac_try_echo=$ac_try;;
 
2604
esac
 
2605
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2606
  (eval "$ac_compile") 2>conftest.er1
 
2607
  ac_status=$?
 
2608
  grep -v '^ *+' conftest.er1 >conftest.err
 
2609
  rm -f conftest.er1
 
2610
  cat conftest.err >&5
 
2611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2612
  (exit $ac_status); } && {
 
2613
         test -z "$ac_c_werror_flag" ||
 
2614
         test ! -s conftest.err
 
2615
       } && test -s conftest.$ac_objext; then
 
2616
  ac_cv_prog_cc_g=yes
 
2617
else
 
2618
  echo "$as_me: failed program was:" >&5
 
2619
sed 's/^/| /' conftest.$ac_ext >&5
 
2620
 
 
2621
 
 
2622
fi
 
2623
 
 
2624
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2625
fi
 
2626
 
 
2627
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2628
fi
 
2629
 
 
2630
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2631
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2632
fi
 
2633
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2634
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
839
2635
if test "$ac_test_CFLAGS" = set; then
840
 
  CFLAGS="$ac_save_CFLAGS"
 
2636
  CFLAGS=$ac_save_CFLAGS
841
2637
elif test $ac_cv_prog_cc_g = yes; then
842
2638
  if test "$GCC" = yes; then
843
2639
    CFLAGS="-g -O2"
851
2647
    CFLAGS=
852
2648
  fi
853
2649
fi
 
2650
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2651
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2652
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
2653
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2654
else
 
2655
  ac_cv_prog_cc_c89=no
 
2656
ac_save_CC=$CC
 
2657
cat >conftest.$ac_ext <<_ACEOF
 
2658
/* confdefs.h.  */
 
2659
_ACEOF
 
2660
cat confdefs.h >>conftest.$ac_ext
 
2661
cat >>conftest.$ac_ext <<_ACEOF
 
2662
/* end confdefs.h.  */
 
2663
#include <stdarg.h>
 
2664
#include <stdio.h>
 
2665
#include <sys/types.h>
 
2666
#include <sys/stat.h>
 
2667
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
2668
struct buf { int x; };
 
2669
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
2670
static char *e (p, i)
 
2671
     char **p;
 
2672
     int i;
 
2673
{
 
2674
  return p[i];
 
2675
}
 
2676
static char *f (char * (*g) (char **, int), char **p, ...)
 
2677
{
 
2678
  char *s;
 
2679
  va_list v;
 
2680
  va_start (v,p);
 
2681
  s = g (p, va_arg (v,int));
 
2682
  va_end (v);
 
2683
  return s;
 
2684
}
 
2685
 
 
2686
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2687
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2688
   These don't provoke an error unfortunately, instead are silently treated
 
2689
   as 'x'.  The following induces an error, until -std is added to get
 
2690
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2691
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2692
   that's true only with -std.  */
 
2693
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2694
 
 
2695
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
2696
   inside strings and character constants.  */
 
2697
#define FOO(x) 'x'
 
2698
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
2699
 
 
2700
int test (int i, double x);
 
2701
struct s1 {int (*f) (int a);};
 
2702
struct s2 {int (*f) (double a);};
 
2703
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
2704
int argc;
 
2705
char **argv;
 
2706
int
 
2707
main ()
 
2708
{
 
2709
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
2710
  ;
 
2711
  return 0;
 
2712
}
 
2713
_ACEOF
 
2714
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
2715
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2716
do
 
2717
  CC="$ac_save_CC $ac_arg"
 
2718
  rm -f conftest.$ac_objext
 
2719
if { (ac_try="$ac_compile"
 
2720
case "(($ac_try" in
 
2721
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2722
  *) ac_try_echo=$ac_try;;
 
2723
esac
 
2724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2725
  (eval "$ac_compile") 2>conftest.er1
 
2726
  ac_status=$?
 
2727
  grep -v '^ *+' conftest.er1 >conftest.err
 
2728
  rm -f conftest.er1
 
2729
  cat conftest.err >&5
 
2730
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2731
  (exit $ac_status); } && {
 
2732
         test -z "$ac_c_werror_flag" ||
 
2733
         test ! -s conftest.err
 
2734
       } && test -s conftest.$ac_objext; then
 
2735
  ac_cv_prog_cc_c89=$ac_arg
 
2736
else
 
2737
  echo "$as_me: failed program was:" >&5
 
2738
sed 's/^/| /' conftest.$ac_ext >&5
 
2739
 
 
2740
 
 
2741
fi
 
2742
 
 
2743
rm -f core conftest.err conftest.$ac_objext
 
2744
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
2745
done
 
2746
rm -f conftest.$ac_ext
 
2747
CC=$ac_save_CC
 
2748
 
 
2749
fi
 
2750
# AC_CACHE_VAL
 
2751
case "x$ac_cv_prog_cc_c89" in
 
2752
  x)
 
2753
    { echo "$as_me:$LINENO: result: none needed" >&5
 
2754
echo "${ECHO_T}none needed" >&6; } ;;
 
2755
  xno)
 
2756
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
2757
echo "${ECHO_T}unsupported" >&6; } ;;
 
2758
  *)
 
2759
    CC="$CC $ac_cv_prog_cc_c89"
 
2760
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2761
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
2762
esac
 
2763
 
 
2764
 
 
2765
ac_ext=c
 
2766
ac_cpp='$CPP $CPPFLAGS'
 
2767
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2768
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2769
ac_compiler_gnu=$ac_cv_c_compiler_gnu
854
2770
 
855
2771
if test "x$GCC" = "xyes"; then
856
2772
        CFLAGS="$CFLAGS -Wall"
857
2773
fi
858
 
# Extract the first word of "ranlib", so it can be a program name with args.
859
 
set dummy ranlib; ac_word=$2
860
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
861
 
echo "configure:862: checking for $ac_word" >&5
862
 
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
863
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
2774
if test -n "$ac_tool_prefix"; then
 
2775
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
2776
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
2777
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2779
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
2780
  echo $ECHO_N "(cached) $ECHO_C" >&6
864
2781
else
865
2782
  if test -n "$RANLIB"; then
866
2783
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
867
2784
else
868
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
869
 
  ac_dummy="$PATH"
870
 
  for ac_dir in $ac_dummy; do
871
 
    test -z "$ac_dir" && ac_dir=.
872
 
    if test -f $ac_dir/$ac_word; then
873
 
      ac_cv_prog_RANLIB="ranlib"
874
 
      break
875
 
    fi
876
 
  done
877
 
  IFS="$ac_save_ifs"
878
 
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
879
 
fi
880
 
fi
881
 
RANLIB="$ac_cv_prog_RANLIB"
 
2785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2786
for as_dir in $PATH
 
2787
do
 
2788
  IFS=$as_save_IFS
 
2789
  test -z "$as_dir" && as_dir=.
 
2790
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2791
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2792
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
2793
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2794
    break 2
 
2795
  fi
 
2796
done
 
2797
done
 
2798
IFS=$as_save_IFS
 
2799
 
 
2800
fi
 
2801
fi
 
2802
RANLIB=$ac_cv_prog_RANLIB
882
2803
if test -n "$RANLIB"; then
883
 
  echo "$ac_t""$RANLIB" 1>&6
884
 
else
885
 
  echo "$ac_t""no" 1>&6
886
 
fi
887
 
 
888
 
if test $host != $build; then
889
 
  ac_tool_prefix=${host_alias}-
890
 
else
891
 
  ac_tool_prefix=
892
 
fi
893
 
 
894
 
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
2804
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
2805
echo "${ECHO_T}$RANLIB" >&6; }
 
2806
else
 
2807
  { echo "$as_me:$LINENO: result: no" >&5
 
2808
echo "${ECHO_T}no" >&6; }
 
2809
fi
 
2810
 
 
2811
 
 
2812
fi
 
2813
if test -z "$ac_cv_prog_RANLIB"; then
 
2814
  ac_ct_RANLIB=$RANLIB
 
2815
  # Extract the first word of "ranlib", so it can be a program name with args.
 
2816
set dummy ranlib; ac_word=$2
 
2817
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2818
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2819
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
2820
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2821
else
 
2822
  if test -n "$ac_ct_RANLIB"; then
 
2823
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
2824
else
 
2825
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2826
for as_dir in $PATH
 
2827
do
 
2828
  IFS=$as_save_IFS
 
2829
  test -z "$as_dir" && as_dir=.
 
2830
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2832
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
2833
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2834
    break 2
 
2835
  fi
 
2836
done
 
2837
done
 
2838
IFS=$as_save_IFS
 
2839
 
 
2840
fi
 
2841
fi
 
2842
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
2843
if test -n "$ac_ct_RANLIB"; then
 
2844
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
2845
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
2846
else
 
2847
  { echo "$as_me:$LINENO: result: no" >&5
 
2848
echo "${ECHO_T}no" >&6; }
 
2849
fi
 
2850
 
 
2851
  if test "x$ac_ct_RANLIB" = x; then
 
2852
    RANLIB=":"
 
2853
  else
 
2854
    case $cross_compiling:$ac_tool_warned in
 
2855
yes:)
 
2856
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2857
whose name does not start with the host triplet.  If you think this
 
2858
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2859
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2860
whose name does not start with the host triplet.  If you think this
 
2861
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2862
ac_tool_warned=yes ;;
 
2863
esac
 
2864
    RANLIB=$ac_ct_RANLIB
 
2865
  fi
 
2866
else
 
2867
  RANLIB="$ac_cv_prog_RANLIB"
 
2868
fi
 
2869
 
 
2870
if test -n "$ac_tool_prefix"; then
 
2871
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
895
2872
set dummy ${ac_tool_prefix}ar; ac_word=$2
896
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
897
 
echo "configure:898: checking for $ac_word" >&5
898
 
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
899
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
2873
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2874
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2875
if test "${ac_cv_prog_AR+set}" = set; then
 
2876
  echo $ECHO_N "(cached) $ECHO_C" >&6
900
2877
else
901
2878
  if test -n "$AR"; then
902
2879
  ac_cv_prog_AR="$AR" # Let the user override the test.
903
2880
else
904
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
905
 
  ac_dummy="$PATH"
906
 
  for ac_dir in $ac_dummy; do
907
 
    test -z "$ac_dir" && ac_dir=.
908
 
    if test -f $ac_dir/$ac_word; then
909
 
      ac_cv_prog_AR="${ac_tool_prefix}ar"
910
 
      break
911
 
    fi
912
 
  done
913
 
  IFS="$ac_save_ifs"
914
 
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
915
 
fi
916
 
fi
917
 
AR="$ac_cv_prog_AR"
 
2881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2882
for as_dir in $PATH
 
2883
do
 
2884
  IFS=$as_save_IFS
 
2885
  test -z "$as_dir" && as_dir=.
 
2886
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2888
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
2889
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2890
    break 2
 
2891
  fi
 
2892
done
 
2893
done
 
2894
IFS=$as_save_IFS
 
2895
 
 
2896
fi
 
2897
fi
 
2898
AR=$ac_cv_prog_AR
918
2899
if test -n "$AR"; then
919
 
  echo "$ac_t""$AR" 1>&6
920
 
else
921
 
  echo "$ac_t""no" 1>&6
922
 
fi
923
 
 
924
 
 
925
 
 
926
 
 
927
 
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
928
 
echo "configure:929: checking whether byte ordering is bigendian" >&5
929
 
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
930
 
  echo $ac_n "(cached) $ac_c" 1>&6
931
 
else
932
 
  ac_cv_c_bigendian=unknown
933
 
# See if sys/param.h defines the BYTE_ORDER macro.
934
 
cat > conftest.$ac_ext <<EOF
935
 
#line 936 "configure"
936
 
#include "confdefs.h"
 
2900
  { echo "$as_me:$LINENO: result: $AR" >&5
 
2901
echo "${ECHO_T}$AR" >&6; }
 
2902
else
 
2903
  { echo "$as_me:$LINENO: result: no" >&5
 
2904
echo "${ECHO_T}no" >&6; }
 
2905
fi
 
2906
 
 
2907
 
 
2908
fi
 
2909
if test -z "$ac_cv_prog_AR"; then
 
2910
  ac_ct_AR=$AR
 
2911
  # Extract the first word of "ar", so it can be a program name with args.
 
2912
set dummy ar; ac_word=$2
 
2913
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2914
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2915
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
2916
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2917
else
 
2918
  if test -n "$ac_ct_AR"; then
 
2919
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
2920
else
 
2921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2922
for as_dir in $PATH
 
2923
do
 
2924
  IFS=$as_save_IFS
 
2925
  test -z "$as_dir" && as_dir=.
 
2926
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2927
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2928
    ac_cv_prog_ac_ct_AR="ar"
 
2929
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2930
    break 2
 
2931
  fi
 
2932
done
 
2933
done
 
2934
IFS=$as_save_IFS
 
2935
 
 
2936
fi
 
2937
fi
 
2938
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
2939
if test -n "$ac_ct_AR"; then
 
2940
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
2941
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
2942
else
 
2943
  { echo "$as_me:$LINENO: result: no" >&5
 
2944
echo "${ECHO_T}no" >&6; }
 
2945
fi
 
2946
 
 
2947
  if test "x$ac_ct_AR" = x; then
 
2948
    AR=""
 
2949
  else
 
2950
    case $cross_compiling:$ac_tool_warned in
 
2951
yes:)
 
2952
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2953
whose name does not start with the host triplet.  If you think this
 
2954
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2955
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2956
whose name does not start with the host triplet.  If you think this
 
2957
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2958
ac_tool_warned=yes ;;
 
2959
esac
 
2960
    AR=$ac_ct_AR
 
2961
  fi
 
2962
else
 
2963
  AR="$ac_cv_prog_AR"
 
2964
fi
 
2965
 
 
2966
 
 
2967
 
 
2968
ac_ext=c
 
2969
ac_cpp='$CPP $CPPFLAGS'
 
2970
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2971
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2972
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2973
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2974
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
2975
# On Suns, sometimes $CPP names a directory.
 
2976
if test -n "$CPP" && test -d "$CPP"; then
 
2977
  CPP=
 
2978
fi
 
2979
if test -z "$CPP"; then
 
2980
  if test "${ac_cv_prog_CPP+set}" = set; then
 
2981
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2982
else
 
2983
      # Double quotes because CPP needs to be expanded
 
2984
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
2985
    do
 
2986
      ac_preproc_ok=false
 
2987
for ac_c_preproc_warn_flag in '' yes
 
2988
do
 
2989
  # Use a header file that comes with gcc, so configuring glibc
 
2990
  # with a fresh cross-compiler works.
 
2991
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2992
  # <limits.h> exists even on freestanding compilers.
 
2993
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
2994
  # not just through cpp. "Syntax error" is here to catch this case.
 
2995
  cat >conftest.$ac_ext <<_ACEOF
 
2996
/* confdefs.h.  */
 
2997
_ACEOF
 
2998
cat confdefs.h >>conftest.$ac_ext
 
2999
cat >>conftest.$ac_ext <<_ACEOF
 
3000
/* end confdefs.h.  */
 
3001
#ifdef __STDC__
 
3002
# include <limits.h>
 
3003
#else
 
3004
# include <assert.h>
 
3005
#endif
 
3006
                     Syntax error
 
3007
_ACEOF
 
3008
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3009
case "(($ac_try" in
 
3010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3011
  *) ac_try_echo=$ac_try;;
 
3012
esac
 
3013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3014
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3015
  ac_status=$?
 
3016
  grep -v '^ *+' conftest.er1 >conftest.err
 
3017
  rm -f conftest.er1
 
3018
  cat conftest.err >&5
 
3019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3020
  (exit $ac_status); } >/dev/null && {
 
3021
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3022
         test ! -s conftest.err
 
3023
       }; then
 
3024
  :
 
3025
else
 
3026
  echo "$as_me: failed program was:" >&5
 
3027
sed 's/^/| /' conftest.$ac_ext >&5
 
3028
 
 
3029
  # Broken: fails on valid input.
 
3030
continue
 
3031
fi
 
3032
 
 
3033
rm -f conftest.err conftest.$ac_ext
 
3034
 
 
3035
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3036
  # can be detected and how.
 
3037
  cat >conftest.$ac_ext <<_ACEOF
 
3038
/* confdefs.h.  */
 
3039
_ACEOF
 
3040
cat confdefs.h >>conftest.$ac_ext
 
3041
cat >>conftest.$ac_ext <<_ACEOF
 
3042
/* end confdefs.h.  */
 
3043
#include <ac_nonexistent.h>
 
3044
_ACEOF
 
3045
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3046
case "(($ac_try" in
 
3047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3048
  *) ac_try_echo=$ac_try;;
 
3049
esac
 
3050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3051
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3052
  ac_status=$?
 
3053
  grep -v '^ *+' conftest.er1 >conftest.err
 
3054
  rm -f conftest.er1
 
3055
  cat conftest.err >&5
 
3056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3057
  (exit $ac_status); } >/dev/null && {
 
3058
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3059
         test ! -s conftest.err
 
3060
       }; then
 
3061
  # Broken: success on invalid input.
 
3062
continue
 
3063
else
 
3064
  echo "$as_me: failed program was:" >&5
 
3065
sed 's/^/| /' conftest.$ac_ext >&5
 
3066
 
 
3067
  # Passes both tests.
 
3068
ac_preproc_ok=:
 
3069
break
 
3070
fi
 
3071
 
 
3072
rm -f conftest.err conftest.$ac_ext
 
3073
 
 
3074
done
 
3075
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3076
rm -f conftest.err conftest.$ac_ext
 
3077
if $ac_preproc_ok; then
 
3078
  break
 
3079
fi
 
3080
 
 
3081
    done
 
3082
    ac_cv_prog_CPP=$CPP
 
3083
 
 
3084
fi
 
3085
  CPP=$ac_cv_prog_CPP
 
3086
else
 
3087
  ac_cv_prog_CPP=$CPP
 
3088
fi
 
3089
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3090
echo "${ECHO_T}$CPP" >&6; }
 
3091
ac_preproc_ok=false
 
3092
for ac_c_preproc_warn_flag in '' yes
 
3093
do
 
3094
  # Use a header file that comes with gcc, so configuring glibc
 
3095
  # with a fresh cross-compiler works.
 
3096
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3097
  # <limits.h> exists even on freestanding compilers.
 
3098
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3099
  # not just through cpp. "Syntax error" is here to catch this case.
 
3100
  cat >conftest.$ac_ext <<_ACEOF
 
3101
/* confdefs.h.  */
 
3102
_ACEOF
 
3103
cat confdefs.h >>conftest.$ac_ext
 
3104
cat >>conftest.$ac_ext <<_ACEOF
 
3105
/* end confdefs.h.  */
 
3106
#ifdef __STDC__
 
3107
# include <limits.h>
 
3108
#else
 
3109
# include <assert.h>
 
3110
#endif
 
3111
                     Syntax error
 
3112
_ACEOF
 
3113
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3114
case "(($ac_try" in
 
3115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3116
  *) ac_try_echo=$ac_try;;
 
3117
esac
 
3118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3119
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3120
  ac_status=$?
 
3121
  grep -v '^ *+' conftest.er1 >conftest.err
 
3122
  rm -f conftest.er1
 
3123
  cat conftest.err >&5
 
3124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3125
  (exit $ac_status); } >/dev/null && {
 
3126
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3127
         test ! -s conftest.err
 
3128
       }; then
 
3129
  :
 
3130
else
 
3131
  echo "$as_me: failed program was:" >&5
 
3132
sed 's/^/| /' conftest.$ac_ext >&5
 
3133
 
 
3134
  # Broken: fails on valid input.
 
3135
continue
 
3136
fi
 
3137
 
 
3138
rm -f conftest.err conftest.$ac_ext
 
3139
 
 
3140
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3141
  # can be detected and how.
 
3142
  cat >conftest.$ac_ext <<_ACEOF
 
3143
/* confdefs.h.  */
 
3144
_ACEOF
 
3145
cat confdefs.h >>conftest.$ac_ext
 
3146
cat >>conftest.$ac_ext <<_ACEOF
 
3147
/* end confdefs.h.  */
 
3148
#include <ac_nonexistent.h>
 
3149
_ACEOF
 
3150
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3151
case "(($ac_try" in
 
3152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3153
  *) ac_try_echo=$ac_try;;
 
3154
esac
 
3155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3156
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3157
  ac_status=$?
 
3158
  grep -v '^ *+' conftest.er1 >conftest.err
 
3159
  rm -f conftest.er1
 
3160
  cat conftest.err >&5
 
3161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3162
  (exit $ac_status); } >/dev/null && {
 
3163
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3164
         test ! -s conftest.err
 
3165
       }; then
 
3166
  # Broken: success on invalid input.
 
3167
continue
 
3168
else
 
3169
  echo "$as_me: failed program was:" >&5
 
3170
sed 's/^/| /' conftest.$ac_ext >&5
 
3171
 
 
3172
  # Passes both tests.
 
3173
ac_preproc_ok=:
 
3174
break
 
3175
fi
 
3176
 
 
3177
rm -f conftest.err conftest.$ac_ext
 
3178
 
 
3179
done
 
3180
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3181
rm -f conftest.err conftest.$ac_ext
 
3182
if $ac_preproc_ok; then
 
3183
  :
 
3184
else
 
3185
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3186
See \`config.log' for more details." >&5
 
3187
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3188
See \`config.log' for more details." >&2;}
 
3189
   { (exit 1); exit 1; }; }
 
3190
fi
 
3191
 
 
3192
ac_ext=c
 
3193
ac_cpp='$CPP $CPPFLAGS'
 
3194
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3195
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3196
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3197
 
 
3198
 
 
3199
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3200
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3201
if test "${ac_cv_path_GREP+set}" = set; then
 
3202
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3203
else
 
3204
  # Extract the first word of "grep ggrep" to use in msg output
 
3205
if test -z "$GREP"; then
 
3206
set dummy grep ggrep; ac_prog_name=$2
 
3207
if test "${ac_cv_path_GREP+set}" = set; then
 
3208
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3209
else
 
3210
  ac_path_GREP_found=false
 
3211
# Loop through the user's path and test for each of PROGNAME-LIST
 
3212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3213
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3214
do
 
3215
  IFS=$as_save_IFS
 
3216
  test -z "$as_dir" && as_dir=.
 
3217
  for ac_prog in grep ggrep; do
 
3218
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3219
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3220
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3221
    # Check for GNU ac_path_GREP and select it if it is found.
 
3222
  # Check for GNU $ac_path_GREP
 
3223
case `"$ac_path_GREP" --version 2>&1` in
 
3224
*GNU*)
 
3225
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3226
*)
 
3227
  ac_count=0
 
3228
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3229
  while :
 
3230
  do
 
3231
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3232
    mv "conftest.tmp" "conftest.in"
 
3233
    cp "conftest.in" "conftest.nl"
 
3234
    echo 'GREP' >> "conftest.nl"
 
3235
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3236
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3237
    ac_count=`expr $ac_count + 1`
 
3238
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3239
      # Best one so far, save it but keep looking for a better one
 
3240
      ac_cv_path_GREP="$ac_path_GREP"
 
3241
      ac_path_GREP_max=$ac_count
 
3242
    fi
 
3243
    # 10*(2^10) chars as input seems more than enough
 
3244
    test $ac_count -gt 10 && break
 
3245
  done
 
3246
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3247
esac
 
3248
 
 
3249
 
 
3250
    $ac_path_GREP_found && break 3
 
3251
  done
 
3252
done
 
3253
 
 
3254
done
 
3255
IFS=$as_save_IFS
 
3256
 
 
3257
 
 
3258
fi
 
3259
 
 
3260
GREP="$ac_cv_path_GREP"
 
3261
if test -z "$GREP"; then
 
3262
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3263
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3264
   { (exit 1); exit 1; }; }
 
3265
fi
 
3266
 
 
3267
else
 
3268
  ac_cv_path_GREP=$GREP
 
3269
fi
 
3270
 
 
3271
 
 
3272
fi
 
3273
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3274
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3275
 GREP="$ac_cv_path_GREP"
 
3276
 
 
3277
 
 
3278
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3279
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3280
if test "${ac_cv_path_EGREP+set}" = set; then
 
3281
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3282
else
 
3283
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3284
   then ac_cv_path_EGREP="$GREP -E"
 
3285
   else
 
3286
     # Extract the first word of "egrep" to use in msg output
 
3287
if test -z "$EGREP"; then
 
3288
set dummy egrep; ac_prog_name=$2
 
3289
if test "${ac_cv_path_EGREP+set}" = set; then
 
3290
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3291
else
 
3292
  ac_path_EGREP_found=false
 
3293
# Loop through the user's path and test for each of PROGNAME-LIST
 
3294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3295
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3296
do
 
3297
  IFS=$as_save_IFS
 
3298
  test -z "$as_dir" && as_dir=.
 
3299
  for ac_prog in egrep; do
 
3300
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3301
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3302
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3303
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3304
  # Check for GNU $ac_path_EGREP
 
3305
case `"$ac_path_EGREP" --version 2>&1` in
 
3306
*GNU*)
 
3307
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3308
*)
 
3309
  ac_count=0
 
3310
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3311
  while :
 
3312
  do
 
3313
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3314
    mv "conftest.tmp" "conftest.in"
 
3315
    cp "conftest.in" "conftest.nl"
 
3316
    echo 'EGREP' >> "conftest.nl"
 
3317
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3318
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3319
    ac_count=`expr $ac_count + 1`
 
3320
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3321
      # Best one so far, save it but keep looking for a better one
 
3322
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3323
      ac_path_EGREP_max=$ac_count
 
3324
    fi
 
3325
    # 10*(2^10) chars as input seems more than enough
 
3326
    test $ac_count -gt 10 && break
 
3327
  done
 
3328
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3329
esac
 
3330
 
 
3331
 
 
3332
    $ac_path_EGREP_found && break 3
 
3333
  done
 
3334
done
 
3335
 
 
3336
done
 
3337
IFS=$as_save_IFS
 
3338
 
 
3339
 
 
3340
fi
 
3341
 
 
3342
EGREP="$ac_cv_path_EGREP"
 
3343
if test -z "$EGREP"; then
 
3344
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3345
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3346
   { (exit 1); exit 1; }; }
 
3347
fi
 
3348
 
 
3349
else
 
3350
  ac_cv_path_EGREP=$EGREP
 
3351
fi
 
3352
 
 
3353
 
 
3354
   fi
 
3355
fi
 
3356
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3357
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3358
 EGREP="$ac_cv_path_EGREP"
 
3359
 
 
3360
 
 
3361
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3362
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
3363
if test "${ac_cv_header_stdc+set}" = set; then
 
3364
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3365
else
 
3366
  cat >conftest.$ac_ext <<_ACEOF
 
3367
/* confdefs.h.  */
 
3368
_ACEOF
 
3369
cat confdefs.h >>conftest.$ac_ext
 
3370
cat >>conftest.$ac_ext <<_ACEOF
 
3371
/* end confdefs.h.  */
 
3372
#include <stdlib.h>
 
3373
#include <stdarg.h>
 
3374
#include <string.h>
 
3375
#include <float.h>
 
3376
 
 
3377
int
 
3378
main ()
 
3379
{
 
3380
 
 
3381
  ;
 
3382
  return 0;
 
3383
}
 
3384
_ACEOF
 
3385
rm -f conftest.$ac_objext
 
3386
if { (ac_try="$ac_compile"
 
3387
case "(($ac_try" in
 
3388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3389
  *) ac_try_echo=$ac_try;;
 
3390
esac
 
3391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3392
  (eval "$ac_compile") 2>conftest.er1
 
3393
  ac_status=$?
 
3394
  grep -v '^ *+' conftest.er1 >conftest.err
 
3395
  rm -f conftest.er1
 
3396
  cat conftest.err >&5
 
3397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3398
  (exit $ac_status); } && {
 
3399
         test -z "$ac_c_werror_flag" ||
 
3400
         test ! -s conftest.err
 
3401
       } && test -s conftest.$ac_objext; then
 
3402
  ac_cv_header_stdc=yes
 
3403
else
 
3404
  echo "$as_me: failed program was:" >&5
 
3405
sed 's/^/| /' conftest.$ac_ext >&5
 
3406
 
 
3407
        ac_cv_header_stdc=no
 
3408
fi
 
3409
 
 
3410
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3411
 
 
3412
if test $ac_cv_header_stdc = yes; then
 
3413
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
3414
  cat >conftest.$ac_ext <<_ACEOF
 
3415
/* confdefs.h.  */
 
3416
_ACEOF
 
3417
cat confdefs.h >>conftest.$ac_ext
 
3418
cat >>conftest.$ac_ext <<_ACEOF
 
3419
/* end confdefs.h.  */
 
3420
#include <string.h>
 
3421
 
 
3422
_ACEOF
 
3423
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3424
  $EGREP "memchr" >/dev/null 2>&1; then
 
3425
  :
 
3426
else
 
3427
  ac_cv_header_stdc=no
 
3428
fi
 
3429
rm -f conftest*
 
3430
 
 
3431
fi
 
3432
 
 
3433
if test $ac_cv_header_stdc = yes; then
 
3434
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
3435
  cat >conftest.$ac_ext <<_ACEOF
 
3436
/* confdefs.h.  */
 
3437
_ACEOF
 
3438
cat confdefs.h >>conftest.$ac_ext
 
3439
cat >>conftest.$ac_ext <<_ACEOF
 
3440
/* end confdefs.h.  */
 
3441
#include <stdlib.h>
 
3442
 
 
3443
_ACEOF
 
3444
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
3445
  $EGREP "free" >/dev/null 2>&1; then
 
3446
  :
 
3447
else
 
3448
  ac_cv_header_stdc=no
 
3449
fi
 
3450
rm -f conftest*
 
3451
 
 
3452
fi
 
3453
 
 
3454
if test $ac_cv_header_stdc = yes; then
 
3455
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
3456
  if test "$cross_compiling" = yes; then
 
3457
  :
 
3458
else
 
3459
  cat >conftest.$ac_ext <<_ACEOF
 
3460
/* confdefs.h.  */
 
3461
_ACEOF
 
3462
cat confdefs.h >>conftest.$ac_ext
 
3463
cat >>conftest.$ac_ext <<_ACEOF
 
3464
/* end confdefs.h.  */
 
3465
#include <ctype.h>
 
3466
#include <stdlib.h>
 
3467
#if ((' ' & 0x0FF) == 0x020)
 
3468
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
3469
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
3470
#else
 
3471
# define ISLOWER(c) \
 
3472
                   (('a' <= (c) && (c) <= 'i') \
 
3473
                     || ('j' <= (c) && (c) <= 'r') \
 
3474
                     || ('s' <= (c) && (c) <= 'z'))
 
3475
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
3476
#endif
 
3477
 
 
3478
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
3479
int
 
3480
main ()
 
3481
{
 
3482
  int i;
 
3483
  for (i = 0; i < 256; i++)
 
3484
    if (XOR (islower (i), ISLOWER (i))
 
3485
        || toupper (i) != TOUPPER (i))
 
3486
      return 2;
 
3487
  return 0;
 
3488
}
 
3489
_ACEOF
 
3490
rm -f conftest$ac_exeext
 
3491
if { (ac_try="$ac_link"
 
3492
case "(($ac_try" in
 
3493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3494
  *) ac_try_echo=$ac_try;;
 
3495
esac
 
3496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3497
  (eval "$ac_link") 2>&5
 
3498
  ac_status=$?
 
3499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3500
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3501
  { (case "(($ac_try" in
 
3502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3503
  *) ac_try_echo=$ac_try;;
 
3504
esac
 
3505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3506
  (eval "$ac_try") 2>&5
 
3507
  ac_status=$?
 
3508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3509
  (exit $ac_status); }; }; then
 
3510
  :
 
3511
else
 
3512
  echo "$as_me: program exited with status $ac_status" >&5
 
3513
echo "$as_me: failed program was:" >&5
 
3514
sed 's/^/| /' conftest.$ac_ext >&5
 
3515
 
 
3516
( exit $ac_status )
 
3517
ac_cv_header_stdc=no
 
3518
fi
 
3519
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3520
fi
 
3521
 
 
3522
 
 
3523
fi
 
3524
fi
 
3525
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3526
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
3527
if test $ac_cv_header_stdc = yes; then
 
3528
 
 
3529
cat >>confdefs.h <<\_ACEOF
 
3530
#define STDC_HEADERS 1
 
3531
_ACEOF
 
3532
 
 
3533
fi
 
3534
 
 
3535
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
3536
 
 
3537
 
 
3538
 
 
3539
 
 
3540
 
 
3541
 
 
3542
 
 
3543
 
 
3544
 
 
3545
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
3546
                  inttypes.h stdint.h unistd.h
 
3547
do
 
3548
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3549
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
3551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
3552
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3553
else
 
3554
  cat >conftest.$ac_ext <<_ACEOF
 
3555
/* confdefs.h.  */
 
3556
_ACEOF
 
3557
cat confdefs.h >>conftest.$ac_ext
 
3558
cat >>conftest.$ac_ext <<_ACEOF
 
3559
/* end confdefs.h.  */
 
3560
$ac_includes_default
 
3561
 
 
3562
#include <$ac_header>
 
3563
_ACEOF
 
3564
rm -f conftest.$ac_objext
 
3565
if { (ac_try="$ac_compile"
 
3566
case "(($ac_try" in
 
3567
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3568
  *) ac_try_echo=$ac_try;;
 
3569
esac
 
3570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3571
  (eval "$ac_compile") 2>conftest.er1
 
3572
  ac_status=$?
 
3573
  grep -v '^ *+' conftest.er1 >conftest.err
 
3574
  rm -f conftest.er1
 
3575
  cat conftest.err >&5
 
3576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3577
  (exit $ac_status); } && {
 
3578
         test -z "$ac_c_werror_flag" ||
 
3579
         test ! -s conftest.err
 
3580
       } && test -s conftest.$ac_objext; then
 
3581
  eval "$as_ac_Header=yes"
 
3582
else
 
3583
  echo "$as_me: failed program was:" >&5
 
3584
sed 's/^/| /' conftest.$ac_ext >&5
 
3585
 
 
3586
        eval "$as_ac_Header=no"
 
3587
fi
 
3588
 
 
3589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3590
fi
 
3591
ac_res=`eval echo '${'$as_ac_Header'}'`
 
3592
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
3593
echo "${ECHO_T}$ac_res" >&6; }
 
3594
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
3595
  cat >>confdefs.h <<_ACEOF
 
3596
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
3597
_ACEOF
 
3598
 
 
3599
fi
 
3600
 
 
3601
done
 
3602
 
 
3603
 
 
3604
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
3605
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
3606
if test "${ac_cv_c_bigendian+set}" = set; then
 
3607
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3608
else
 
3609
  # See if sys/param.h defines the BYTE_ORDER macro.
 
3610
cat >conftest.$ac_ext <<_ACEOF
 
3611
/* confdefs.h.  */
 
3612
_ACEOF
 
3613
cat confdefs.h >>conftest.$ac_ext
 
3614
cat >>conftest.$ac_ext <<_ACEOF
 
3615
/* end confdefs.h.  */
937
3616
#include <sys/types.h>
938
3617
#include <sys/param.h>
939
 
int main() {
940
3618
 
941
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
3619
int
 
3620
main ()
 
3621
{
 
3622
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
3623
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
942
3624
 bogus endian macros
943
3625
#endif
944
 
; return 0; }
945
 
EOF
946
 
if { (eval echo configure:947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
947
 
  rm -rf conftest*
 
3626
 
 
3627
  ;
 
3628
  return 0;
 
3629
}
 
3630
_ACEOF
 
3631
rm -f conftest.$ac_objext
 
3632
if { (ac_try="$ac_compile"
 
3633
case "(($ac_try" in
 
3634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3635
  *) ac_try_echo=$ac_try;;
 
3636
esac
 
3637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3638
  (eval "$ac_compile") 2>conftest.er1
 
3639
  ac_status=$?
 
3640
  grep -v '^ *+' conftest.er1 >conftest.err
 
3641
  rm -f conftest.er1
 
3642
  cat conftest.err >&5
 
3643
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3644
  (exit $ac_status); } && {
 
3645
         test -z "$ac_c_werror_flag" ||
 
3646
         test ! -s conftest.err
 
3647
       } && test -s conftest.$ac_objext; then
948
3648
  # It does; now see whether it defined to BIG_ENDIAN or not.
949
 
cat > conftest.$ac_ext <<EOF
950
 
#line 951 "configure"
951
 
#include "confdefs.h"
 
3649
cat >conftest.$ac_ext <<_ACEOF
 
3650
/* confdefs.h.  */
 
3651
_ACEOF
 
3652
cat confdefs.h >>conftest.$ac_ext
 
3653
cat >>conftest.$ac_ext <<_ACEOF
 
3654
/* end confdefs.h.  */
952
3655
#include <sys/types.h>
953
3656
#include <sys/param.h>
954
 
int main() {
955
3657
 
 
3658
int
 
3659
main ()
 
3660
{
956
3661
#if BYTE_ORDER != BIG_ENDIAN
957
3662
 not big endian
958
3663
#endif
959
 
; return 0; }
960
 
EOF
961
 
if { (eval echo configure:962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
962
 
  rm -rf conftest*
 
3664
 
 
3665
  ;
 
3666
  return 0;
 
3667
}
 
3668
_ACEOF
 
3669
rm -f conftest.$ac_objext
 
3670
if { (ac_try="$ac_compile"
 
3671
case "(($ac_try" in
 
3672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3673
  *) ac_try_echo=$ac_try;;
 
3674
esac
 
3675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3676
  (eval "$ac_compile") 2>conftest.er1
 
3677
  ac_status=$?
 
3678
  grep -v '^ *+' conftest.er1 >conftest.err
 
3679
  rm -f conftest.er1
 
3680
  cat conftest.err >&5
 
3681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3682
  (exit $ac_status); } && {
 
3683
         test -z "$ac_c_werror_flag" ||
 
3684
         test ! -s conftest.err
 
3685
       } && test -s conftest.$ac_objext; then
963
3686
  ac_cv_c_bigendian=yes
964
3687
else
965
 
  echo "configure: failed program was:" >&5
966
 
  cat conftest.$ac_ext >&5
967
 
  rm -rf conftest*
968
 
  ac_cv_c_bigendian=no
 
3688
  echo "$as_me: failed program was:" >&5
 
3689
sed 's/^/| /' conftest.$ac_ext >&5
 
3690
 
 
3691
        ac_cv_c_bigendian=no
969
3692
fi
970
 
rm -f conftest*
 
3693
 
 
3694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
971
3695
else
972
 
  echo "configure: failed program was:" >&5
973
 
  cat conftest.$ac_ext >&5
974
 
fi
975
 
rm -f conftest*
976
 
if test $ac_cv_c_bigendian = unknown; then
 
3696
  echo "$as_me: failed program was:" >&5
 
3697
sed 's/^/| /' conftest.$ac_ext >&5
 
3698
 
 
3699
        # It does not; compile a test program.
977
3700
if test "$cross_compiling" = yes; then
978
 
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
979
 
else
980
 
  cat > conftest.$ac_ext <<EOF
981
 
#line 982 "configure"
982
 
#include "confdefs.h"
983
 
main () {
 
3701
  # try to guess the endianness by grepping values into an object file
 
3702
  ac_cv_c_bigendian=unknown
 
3703
  cat >conftest.$ac_ext <<_ACEOF
 
3704
/* confdefs.h.  */
 
3705
_ACEOF
 
3706
cat confdefs.h >>conftest.$ac_ext
 
3707
cat >>conftest.$ac_ext <<_ACEOF
 
3708
/* end confdefs.h.  */
 
3709
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
3710
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
3711
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
 
3712
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
3713
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
3714
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
 
3715
int
 
3716
main ()
 
3717
{
 
3718
 _ascii (); _ebcdic ();
 
3719
  ;
 
3720
  return 0;
 
3721
}
 
3722
_ACEOF
 
3723
rm -f conftest.$ac_objext
 
3724
if { (ac_try="$ac_compile"
 
3725
case "(($ac_try" in
 
3726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3727
  *) ac_try_echo=$ac_try;;
 
3728
esac
 
3729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3730
  (eval "$ac_compile") 2>conftest.er1
 
3731
  ac_status=$?
 
3732
  grep -v '^ *+' conftest.er1 >conftest.err
 
3733
  rm -f conftest.er1
 
3734
  cat conftest.err >&5
 
3735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3736
  (exit $ac_status); } && {
 
3737
         test -z "$ac_c_werror_flag" ||
 
3738
         test ! -s conftest.err
 
3739
       } && test -s conftest.$ac_objext; then
 
3740
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
 
3741
  ac_cv_c_bigendian=yes
 
3742
fi
 
3743
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
3744
  if test "$ac_cv_c_bigendian" = unknown; then
 
3745
    ac_cv_c_bigendian=no
 
3746
  else
 
3747
    # finding both strings is unlikely to happen, but who knows?
 
3748
    ac_cv_c_bigendian=unknown
 
3749
  fi
 
3750
fi
 
3751
else
 
3752
  echo "$as_me: failed program was:" >&5
 
3753
sed 's/^/| /' conftest.$ac_ext >&5
 
3754
 
 
3755
 
 
3756
fi
 
3757
 
 
3758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3759
else
 
3760
  cat >conftest.$ac_ext <<_ACEOF
 
3761
/* confdefs.h.  */
 
3762
_ACEOF
 
3763
cat confdefs.h >>conftest.$ac_ext
 
3764
cat >>conftest.$ac_ext <<_ACEOF
 
3765
/* end confdefs.h.  */
 
3766
$ac_includes_default
 
3767
int
 
3768
main ()
 
3769
{
 
3770
 
984
3771
  /* Are we little or big endian?  From Harbison&Steele.  */
985
3772
  union
986
3773
  {
987
 
    long l;
988
 
    char c[sizeof (long)];
 
3774
    long int l;
 
3775
    char c[sizeof (long int)];
989
3776
  } u;
990
3777
  u.l = 1;
991
 
  exit (u.c[sizeof (long) - 1] == 1);
 
3778
  return u.c[sizeof (long int) - 1] == 1;
 
3779
 
 
3780
  ;
 
3781
  return 0;
992
3782
}
993
 
EOF
994
 
if { (eval echo configure:995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
995
 
then
 
3783
_ACEOF
 
3784
rm -f conftest$ac_exeext
 
3785
if { (ac_try="$ac_link"
 
3786
case "(($ac_try" in
 
3787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3788
  *) ac_try_echo=$ac_try;;
 
3789
esac
 
3790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3791
  (eval "$ac_link") 2>&5
 
3792
  ac_status=$?
 
3793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3794
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
3795
  { (case "(($ac_try" in
 
3796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3797
  *) ac_try_echo=$ac_try;;
 
3798
esac
 
3799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3800
  (eval "$ac_try") 2>&5
 
3801
  ac_status=$?
 
3802
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3803
  (exit $ac_status); }; }; then
996
3804
  ac_cv_c_bigendian=no
997
3805
else
998
 
  echo "configure: failed program was:" >&5
999
 
  cat conftest.$ac_ext >&5
1000
 
  rm -fr conftest*
1001
 
  ac_cv_c_bigendian=yes
1002
 
fi
1003
 
rm -fr conftest*
1004
 
fi
1005
 
 
1006
 
fi
1007
 
fi
1008
 
 
1009
 
echo "$ac_t""$ac_cv_c_bigendian" 1>&6
1010
 
if test $ac_cv_c_bigendian = yes; then
1011
 
  cat >> confdefs.h <<\EOF
 
3806
  echo "$as_me: program exited with status $ac_status" >&5
 
3807
echo "$as_me: failed program was:" >&5
 
3808
sed 's/^/| /' conftest.$ac_ext >&5
 
3809
 
 
3810
( exit $ac_status )
 
3811
ac_cv_c_bigendian=yes
 
3812
fi
 
3813
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3814
fi
 
3815
 
 
3816
 
 
3817
fi
 
3818
 
 
3819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3820
fi
 
3821
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
3822
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
 
3823
case $ac_cv_c_bigendian in
 
3824
  yes)
 
3825
 
 
3826
cat >>confdefs.h <<\_ACEOF
1012
3827
#define WORDS_BIGENDIAN 1
1013
 
EOF
1014
 
 
1015
 
fi
1016
 
 
1017
 
 
1018
 
echo $ac_n "checking for tputs in -ltermcap""... $ac_c" 1>&6
1019
 
echo "configure:1020: checking for tputs in -ltermcap" >&5
1020
 
ac_lib_var=`echo termcap'_'tputs | sed 'y%./+-%__p_%'`
1021
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1022
 
  echo $ac_n "(cached) $ac_c" 1>&6
1023
 
else
1024
 
  ac_save_LIBS="$LIBS"
1025
 
LIBS="-ltermcap  $LIBS"
1026
 
cat > conftest.$ac_ext <<EOF
1027
 
#line 1028 "configure"
1028
 
#include "confdefs.h"
1029
 
/* Override any gcc2 internal prototype to avoid an error.  */
1030
 
/* We use char because int might match the return type of a gcc2
1031
 
    builtin and then its argument prototype would still apply.  */
1032
 
char tputs();
1033
 
 
1034
 
int main() {
1035
 
tputs()
1036
 
; return 0; }
1037
 
EOF
1038
 
if { (eval echo configure:1039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1039
 
  rm -rf conftest*
1040
 
  eval "ac_cv_lib_$ac_lib_var=yes"
1041
 
else
1042
 
  echo "configure: failed program was:" >&5
1043
 
  cat conftest.$ac_ext >&5
1044
 
  rm -rf conftest*
1045
 
  eval "ac_cv_lib_$ac_lib_var=no"
1046
 
fi
1047
 
rm -f conftest*
1048
 
LIBS="$ac_save_LIBS"
1049
 
 
1050
 
fi
1051
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1052
 
  echo "$ac_t""yes" 1>&6
1053
 
  TERMCAPLIB=-ltermcap
1054
 
else
1055
 
  echo "$ac_t""no" 1>&6
1056
 
TERMCAPLIB=-lncurses
1057
 
fi
1058
 
 
1059
 
if test "$TERMCAPLIB" != "-ltermcap"; then
1060
 
        echo $ac_n "checking for tputs in -lncurses""... $ac_c" 1>&6
1061
 
echo "configure:1062: checking for tputs in -lncurses" >&5
1062
 
ac_lib_var=`echo ncurses'_'tputs | sed 'y%./+-%__p_%'`
1063
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1064
 
  echo $ac_n "(cached) $ac_c" 1>&6
1065
 
else
1066
 
  ac_save_LIBS="$LIBS"
 
3828
_ACEOF
 
3829
 ;;
 
3830
  no)
 
3831
     ;;
 
3832
  *)
 
3833
    { { echo "$as_me:$LINENO: error: unknown endianness
 
3834
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
3835
echo "$as_me: error: unknown endianness
 
3836
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
3837
   { (exit 1); exit 1; }; } ;;
 
3838
esac
 
3839
 
 
3840
 
 
3841
{ echo "$as_me:$LINENO: checking for tputs in -lncurses" >&5
 
3842
echo $ECHO_N "checking for tputs in -lncurses... $ECHO_C" >&6; }
 
3843
if test "${ac_cv_lib_ncurses_tputs+set}" = set; then
 
3844
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3845
else
 
3846
  ac_check_lib_save_LIBS=$LIBS
1067
3847
LIBS="-lncurses  $LIBS"
1068
 
cat > conftest.$ac_ext <<EOF
1069
 
#line 1070 "configure"
1070
 
#include "confdefs.h"
1071
 
/* Override any gcc2 internal prototype to avoid an error.  */
1072
 
/* We use char because int might match the return type of a gcc2
1073
 
    builtin and then its argument prototype would still apply.  */
1074
 
char tputs();
 
3848
cat >conftest.$ac_ext <<_ACEOF
 
3849
/* confdefs.h.  */
 
3850
_ACEOF
 
3851
cat confdefs.h >>conftest.$ac_ext
 
3852
cat >>conftest.$ac_ext <<_ACEOF
 
3853
/* end confdefs.h.  */
1075
3854
 
1076
 
int main() {
1077
 
tputs()
1078
 
; return 0; }
1079
 
EOF
1080
 
if { (eval echo configure:1081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1081
 
  rm -rf conftest*
1082
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
3855
/* Override any GCC internal prototype to avoid an error.
 
3856
   Use char because int might match the return type of a GCC
 
3857
   builtin and then its argument prototype would still apply.  */
 
3858
#ifdef __cplusplus
 
3859
extern "C"
 
3860
#endif
 
3861
char tputs ();
 
3862
int
 
3863
main ()
 
3864
{
 
3865
return tputs ();
 
3866
  ;
 
3867
  return 0;
 
3868
}
 
3869
_ACEOF
 
3870
rm -f conftest.$ac_objext conftest$ac_exeext
 
3871
if { (ac_try="$ac_link"
 
3872
case "(($ac_try" in
 
3873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3874
  *) ac_try_echo=$ac_try;;
 
3875
esac
 
3876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3877
  (eval "$ac_link") 2>conftest.er1
 
3878
  ac_status=$?
 
3879
  grep -v '^ *+' conftest.er1 >conftest.err
 
3880
  rm -f conftest.er1
 
3881
  cat conftest.err >&5
 
3882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3883
  (exit $ac_status); } && {
 
3884
         test -z "$ac_c_werror_flag" ||
 
3885
         test ! -s conftest.err
 
3886
       } && test -s conftest$ac_exeext &&
 
3887
       $as_test_x conftest$ac_exeext; then
 
3888
  ac_cv_lib_ncurses_tputs=yes
1083
3889
else
1084
 
  echo "configure: failed program was:" >&5
1085
 
  cat conftest.$ac_ext >&5
1086
 
  rm -rf conftest*
1087
 
  eval "ac_cv_lib_$ac_lib_var=no"
1088
 
fi
1089
 
rm -f conftest*
1090
 
LIBS="$ac_save_LIBS"
1091
 
 
1092
 
fi
1093
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1094
 
  echo "$ac_t""yes" 1>&6
 
3890
  echo "$as_me: failed program was:" >&5
 
3891
sed 's/^/| /' conftest.$ac_ext >&5
 
3892
 
 
3893
        ac_cv_lib_ncurses_tputs=no
 
3894
fi
 
3895
 
 
3896
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
3897
      conftest$ac_exeext conftest.$ac_ext
 
3898
LIBS=$ac_check_lib_save_LIBS
 
3899
fi
 
3900
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tputs" >&5
 
3901
echo "${ECHO_T}$ac_cv_lib_ncurses_tputs" >&6; }
 
3902
if test $ac_cv_lib_ncurses_tputs = yes; then
1095
3903
  TERMCAPLIB=-lncurses
1096
3904
else
1097
 
  echo "$ac_t""no" 1>&6
1098
 
TERMCAPLIB=-lcurses
 
3905
  TERMCAPLIB=-lcurses
1099
3906
fi
1100
3907
 
1101
 
fi
1102
3908
 
1103
3909
 
1104
3910
COMPILERTYPE=gcc
1105
 
cat > conftest.$ac_ext <<EOF
1106
 
#line 1107 "configure"
1107
 
#include "confdefs.h"
 
3911
cat >conftest.$ac_ext <<_ACEOF
 
3912
/* confdefs.h.  */
 
3913
_ACEOF
 
3914
cat confdefs.h >>conftest.$ac_ext
 
3915
cat >>conftest.$ac_ext <<_ACEOF
 
3916
/* end confdefs.h.  */
1108
3917
#include <stdio.h>
1109
 
int main() {
1110
 
int j= 
 
3918
int
 
3919
main ()
 
3920
{
 
3921
int j=
1111
3922
                #if __GNUC__ == 2 && __GNUC_MINOR__ == 95
1112
3923
                3;
1113
 
                #endif 
1114
 
; return 0; }
1115
 
EOF
1116
 
if { (eval echo configure:1117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1117
 
  rm -rf conftest*
 
3924
                #endif
 
3925
  ;
 
3926
  return 0;
 
3927
}
 
3928
_ACEOF
 
3929
rm -f conftest.$ac_objext
 
3930
if { (ac_try="$ac_compile"
 
3931
case "(($ac_try" in
 
3932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3933
  *) ac_try_echo=$ac_try;;
 
3934
esac
 
3935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3936
  (eval "$ac_compile") 2>conftest.er1
 
3937
  ac_status=$?
 
3938
  grep -v '^ *+' conftest.er1 >conftest.err
 
3939
  rm -f conftest.er1
 
3940
  cat conftest.err >&5
 
3941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3942
  (exit $ac_status); } && {
 
3943
         test -z "$ac_c_werror_flag" ||
 
3944
         test ! -s conftest.err
 
3945
       } && test -s conftest.$ac_objext; then
1118
3946
  COMPILERTYPE=gcc295
1119
3947
else
1120
 
  echo "configure: failed program was:" >&5
1121
 
  cat conftest.$ac_ext >&5
 
3948
  echo "$as_me: failed program was:" >&5
 
3949
sed 's/^/| /' conftest.$ac_ext >&5
 
3950
 
 
3951
 
1122
3952
fi
1123
 
rm -f conftest*
1124
 
cat > conftest.$ac_ext <<EOF
1125
 
#line 1126 "configure"
1126
 
#include "confdefs.h"
 
3953
 
 
3954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3955
cat >conftest.$ac_ext <<_ACEOF
 
3956
/* confdefs.h.  */
 
3957
_ACEOF
 
3958
cat confdefs.h >>conftest.$ac_ext
 
3959
cat >>conftest.$ac_ext <<_ACEOF
 
3960
/* end confdefs.h.  */
1127
3961
#include <stdio.h>
1128
 
int main() {
1129
 
int j= 
1130
 
                #if __GNUC__ == 3 
 
3962
int
 
3963
main ()
 
3964
{
 
3965
int j=
 
3966
                #if __GNUC__ == 3
1131
3967
                3;
1132
 
                #endif 
1133
 
; return 0; }
1134
 
EOF
1135
 
if { (eval echo configure:1136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1136
 
  rm -rf conftest*
 
3968
                #endif
 
3969
  ;
 
3970
  return 0;
 
3971
}
 
3972
_ACEOF
 
3973
rm -f conftest.$ac_objext
 
3974
if { (ac_try="$ac_compile"
 
3975
case "(($ac_try" in
 
3976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3977
  *) ac_try_echo=$ac_try;;
 
3978
esac
 
3979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3980
  (eval "$ac_compile") 2>conftest.er1
 
3981
  ac_status=$?
 
3982
  grep -v '^ *+' conftest.er1 >conftest.err
 
3983
  rm -f conftest.er1
 
3984
  cat conftest.err >&5
 
3985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3986
  (exit $ac_status); } && {
 
3987
         test -z "$ac_c_werror_flag" ||
 
3988
         test ! -s conftest.err
 
3989
       } && test -s conftest.$ac_objext; then
1137
3990
  COMPILERTYPE=gcc32
1138
3991
else
1139
 
  echo "configure: failed program was:" >&5
1140
 
  cat conftest.$ac_ext >&5
 
3992
  echo "$as_me: failed program was:" >&5
 
3993
sed 's/^/| /' conftest.$ac_ext >&5
 
3994
 
 
3995
 
1141
3996
fi
1142
 
rm -f conftest*
1143
 
cat > conftest.$ac_ext <<EOF
1144
 
#line 1145 "configure"
1145
 
#include "confdefs.h"
 
3997
 
 
3998
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3999
cat >conftest.$ac_ext <<_ACEOF
 
4000
/* confdefs.h.  */
 
4001
_ACEOF
 
4002
cat confdefs.h >>conftest.$ac_ext
 
4003
cat >>conftest.$ac_ext <<_ACEOF
 
4004
/* end confdefs.h.  */
1146
4005
#include <stdio.h>
1147
 
int main() {
 
4006
int
 
4007
main ()
 
4008
{
1148
4009
 int j=
1149
4010
                #if __GNUC__ == 2 && __GNUC_MINOR__ == 96
1150
4011
                3;
1151
 
                #endif 
1152
 
; return 0; }
1153
 
EOF
1154
 
if { (eval echo configure:1155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1155
 
  rm -rf conftest*
 
4012
                #endif
 
4013
  ;
 
4014
  return 0;
 
4015
}
 
4016
_ACEOF
 
4017
rm -f conftest.$ac_objext
 
4018
if { (ac_try="$ac_compile"
 
4019
case "(($ac_try" in
 
4020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4021
  *) ac_try_echo=$ac_try;;
 
4022
esac
 
4023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4024
  (eval "$ac_compile") 2>conftest.er1
 
4025
  ac_status=$?
 
4026
  grep -v '^ *+' conftest.er1 >conftest.err
 
4027
  rm -f conftest.er1
 
4028
  cat conftest.err >&5
 
4029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4030
  (exit $ac_status); } && {
 
4031
         test -z "$ac_c_werror_flag" ||
 
4032
         test ! -s conftest.err
 
4033
       } && test -s conftest.$ac_objext; then
1156
4034
  COMPILERTYPE=gcc296
1157
4035
else
1158
 
  echo "configure: failed program was:" >&5
1159
 
  cat conftest.$ac_ext >&5
 
4036
  echo "$as_me: failed program was:" >&5
 
4037
sed 's/^/| /' conftest.$ac_ext >&5
 
4038
 
 
4039
 
1160
4040
fi
1161
 
rm -f conftest*
1162
 
cat > conftest.$ac_ext <<EOF
1163
 
#line 1164 "configure"
1164
 
#include "confdefs.h"
 
4041
 
 
4042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4043
cat >conftest.$ac_ext <<_ACEOF
 
4044
/* confdefs.h.  */
 
4045
_ACEOF
 
4046
cat confdefs.h >>conftest.$ac_ext
 
4047
cat >>conftest.$ac_ext <<_ACEOF
 
4048
/* end confdefs.h.  */
1165
4049
#include <stdio.h>
1166
 
int main() {
 
4050
int
 
4051
main ()
 
4052
{
1167
4053
int j=
1168
4054
                #if __GNUC__ == 2 && __GNUC_MINOR__ == 91
1169
4055
                3;
1170
 
                #endif 
1171
 
; return 0; }
1172
 
EOF
1173
 
if { (eval echo configure:1174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1174
 
  rm -rf conftest*
 
4056
                #endif
 
4057
  ;
 
4058
  return 0;
 
4059
}
 
4060
_ACEOF
 
4061
rm -f conftest.$ac_objext
 
4062
if { (ac_try="$ac_compile"
 
4063
case "(($ac_try" in
 
4064
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4065
  *) ac_try_echo=$ac_try;;
 
4066
esac
 
4067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4068
  (eval "$ac_compile") 2>conftest.er1
 
4069
  ac_status=$?
 
4070
  grep -v '^ *+' conftest.er1 >conftest.err
 
4071
  rm -f conftest.er1
 
4072
  cat conftest.err >&5
 
4073
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4074
  (exit $ac_status); } && {
 
4075
         test -z "$ac_c_werror_flag" ||
 
4076
         test ! -s conftest.err
 
4077
       } && test -s conftest.$ac_objext; then
1175
4078
  COMPILERTYPE=egcs
1176
4079
else
1177
 
  echo "configure: failed program was:" >&5
1178
 
  cat conftest.$ac_ext >&5
 
4080
  echo "$as_me: failed program was:" >&5
 
4081
sed 's/^/| /' conftest.$ac_ext >&5
 
4082
 
 
4083
 
1179
4084
fi
1180
 
rm -f conftest*
1181
 
cat > conftest.$ac_ext <<EOF
1182
 
#line 1183 "configure"
1183
 
#include "confdefs.h"
 
4085
 
 
4086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4087
cat >conftest.$ac_ext <<_ACEOF
 
4088
/* confdefs.h.  */
 
4089
_ACEOF
 
4090
cat confdefs.h >>conftest.$ac_ext
 
4091
cat >>conftest.$ac_ext <<_ACEOF
 
4092
/* end confdefs.h.  */
1184
4093
#include <stdio.h>
1185
 
int main() {
 
4094
int
 
4095
main ()
 
4096
{
1186
4097
int j=
1187
4098
                #if __GNUC__ == 2 && __GNUC_MINOR__ == 8
1188
4099
                3;
1189
 
                #endif 
1190
 
; return 0; }
1191
 
EOF
1192
 
if { (eval echo configure:1193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1193
 
  rm -rf conftest*
 
4100
                #endif
 
4101
  ;
 
4102
  return 0;
 
4103
}
 
4104
_ACEOF
 
4105
rm -f conftest.$ac_objext
 
4106
if { (ac_try="$ac_compile"
 
4107
case "(($ac_try" in
 
4108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4109
  *) ac_try_echo=$ac_try;;
 
4110
esac
 
4111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4112
  (eval "$ac_compile") 2>conftest.er1
 
4113
  ac_status=$?
 
4114
  grep -v '^ *+' conftest.er1 >conftest.err
 
4115
  rm -f conftest.er1
 
4116
  cat conftest.err >&5
 
4117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4118
  (exit $ac_status); } && {
 
4119
         test -z "$ac_c_werror_flag" ||
 
4120
         test ! -s conftest.err
 
4121
       } && test -s conftest.$ac_objext; then
1194
4122
  COMPILERTYPE=gcc28
1195
4123
else
1196
 
  echo "configure: failed program was:" >&5
1197
 
  cat conftest.$ac_ext >&5
1198
 
fi
1199
 
rm -f conftest*
1200
 
 
1201
 
 
1202
 
trap '' 1 2 15
1203
 
cat > confcache <<\EOF
 
4124
  echo "$as_me: failed program was:" >&5
 
4125
sed 's/^/| /' conftest.$ac_ext >&5
 
4126
 
 
4127
 
 
4128
fi
 
4129
 
 
4130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4131
 
 
4132
 
 
4133
LINUXAUDIO=none
 
4134
cat >conftest.$ac_ext <<_ACEOF
 
4135
/* confdefs.h.  */
 
4136
_ACEOF
 
4137
cat confdefs.h >>conftest.$ac_ext
 
4138
cat >>conftest.$ac_ext <<_ACEOF
 
4139
/* end confdefs.h.  */
 
4140
#include <alsa/version.h>
 
4141
int
 
4142
main ()
 
4143
{
 
4144
int j=
 
4145
                #if SND_LIB_SUBMINOR >= 14
 
4146
                3;
 
4147
                #endif
 
4148
  ;
 
4149
  return 0;
 
4150
}
 
4151
_ACEOF
 
4152
rm -f conftest.$ac_objext
 
4153
if { (ac_try="$ac_compile"
 
4154
case "(($ac_try" in
 
4155
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4156
  *) ac_try_echo=$ac_try;;
 
4157
esac
 
4158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4159
  (eval "$ac_compile") 2>conftest.er1
 
4160
  ac_status=$?
 
4161
  grep -v '^ *+' conftest.er1 >conftest.err
 
4162
  rm -f conftest.er1
 
4163
  cat conftest.err >&5
 
4164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4165
  (exit $ac_status); } && {
 
4166
         test -z "$ac_c_werror_flag" ||
 
4167
         test ! -s conftest.err
 
4168
       } && test -s conftest.$ac_objext; then
 
4169
  LINUXAUDIO="alsa"
 
4170
else
 
4171
  echo "$as_me: failed program was:" >&5
 
4172
sed 's/^/| /' conftest.$ac_ext >&5
 
4173
 
 
4174
 
 
4175
fi
 
4176
 
 
4177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4178
 
 
4179
 
 
4180
ac_config_files="$ac_config_files config/config"
 
4181
 
 
4182
cat >confcache <<\_ACEOF
1204
4183
# This file is a shell script that caches the results of configure
1205
4184
# tests run on this system so they can be shared between configure
1206
 
# scripts and configure runs.  It is not useful on other systems.
1207
 
# If it contains results you don't want to keep, you may remove or edit it.
1208
 
#
1209
 
# By default, configure uses ./config.cache as the cache file,
1210
 
# creating it if it does not exist already.  You can give configure
1211
 
# the --cache-file=FILE option to use a different cache file; that is
1212
 
# what configure does when it calls configure scripts in
1213
 
# subdirectories, so they share the cache.
1214
 
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1215
 
# config.status only pays attention to the cache file if you give it the
1216
 
# --recheck option to rerun configure.
1217
 
#
1218
 
EOF
 
4185
# scripts and configure runs, see configure's option --config-cache.
 
4186
# It is not useful on other systems.  If it contains results you don't
 
4187
# want to keep, you may remove or edit it.
 
4188
#
 
4189
# config.status only pays attention to the cache file if you give it
 
4190
# the --recheck option to rerun configure.
 
4191
#
 
4192
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
4193
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
4194
# following values.
 
4195
 
 
4196
_ACEOF
 
4197
 
1219
4198
# The following way of writing the cache mishandles newlines in values,
1220
4199
# but we know of no workaround that is simple, portable, and efficient.
1221
 
# So, don't put newlines in cache variables' values.
 
4200
# So, we kill variables containing newlines.
1222
4201
# Ultrix sh set writes to stderr and can't be redirected directly,
1223
4202
# and sets the high bit in the cache file unless we assign to the vars.
1224
 
(set) 2>&1 |
1225
 
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1226
 
  *ac_space=\ *)
1227
 
    # `set' does not quote correctly, so add quotes (double-quote substitution
1228
 
    # turns \\\\ into \\, and sed turns \\ into \).
1229
 
    sed -n \
1230
 
      -e "s/'/'\\\\''/g" \
1231
 
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1232
 
    ;;
1233
 
  *)
1234
 
    # `set' quotes correctly as required by POSIX, so do not add quotes.
1235
 
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1236
 
    ;;
1237
 
  esac >> confcache
1238
 
if cmp -s $cache_file confcache; then
1239
 
  :
1240
 
else
1241
 
  if test -w $cache_file; then
1242
 
    echo "updating cache $cache_file"
1243
 
    cat confcache > $cache_file
 
4203
(
 
4204
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
4205
    eval ac_val=\$$ac_var
 
4206
    case $ac_val in #(
 
4207
    *${as_nl}*)
 
4208
      case $ac_var in #(
 
4209
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
4210
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
4211
      esac
 
4212
      case $ac_var in #(
 
4213
      _ | IFS | as_nl) ;; #(
 
4214
      *) $as_unset $ac_var ;;
 
4215
      esac ;;
 
4216
    esac
 
4217
  done
 
4218
 
 
4219
  (set) 2>&1 |
 
4220
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
4221
    *${as_nl}ac_space=\ *)
 
4222
      # `set' does not quote correctly, so add quotes (double-quote
 
4223
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4224
      sed -n \
 
4225
        "s/'/'\\\\''/g;
 
4226
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4227
      ;; #(
 
4228
    *)
 
4229
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
4230
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
4231
      ;;
 
4232
    esac |
 
4233
    sort
 
4234
) |
 
4235
  sed '
 
4236
     /^ac_cv_env_/b end
 
4237
     t clear
 
4238
     :clear
 
4239
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
4240
     t end
 
4241
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4242
     :end' >>confcache
 
4243
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
4244
  if test -w "$cache_file"; then
 
4245
    test "x$cache_file" != "x/dev/null" &&
 
4246
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4247
echo "$as_me: updating cache $cache_file" >&6;}
 
4248
    cat confcache >$cache_file
1244
4249
  else
1245
 
    echo "not updating unwritable cache $cache_file"
 
4250
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4251
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1246
4252
  fi
1247
4253
fi
1248
4254
rm -f confcache
1249
4255
 
1250
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1251
 
 
1252
4256
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1253
4257
# Let make expand exec_prefix.
1254
4258
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1255
4259
 
1256
 
# Any assignment to VPATH causes Sun make to only execute
1257
 
# the first set of double-colon rules, so remove it if not needed.
1258
 
# If there is a colon in the path, we need to keep it.
1259
 
if test "x$srcdir" = x.; then
1260
 
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1261
 
fi
1262
 
 
1263
 
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1264
 
 
1265
4260
# Transform confdefs.h into DEFS.
1266
4261
# Protect against shell expansion while executing Makefile rules.
1267
4262
# Protect against Makefile macro expansion.
1268
 
cat > conftest.defs <<\EOF
1269
 
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1270
 
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1271
 
s%\[%\\&%g
1272
 
s%\]%\\&%g
1273
 
s%\$%$$%g
1274
 
EOF
1275
 
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1276
 
rm -f conftest.defs
1277
 
 
1278
 
 
1279
 
# Without the "./", some shells look in PATH for config.status.
 
4263
#
 
4264
# If the first sed substitution is executed (which looks for macros that
 
4265
# take arguments), then branch to the quote section.  Otherwise,
 
4266
# look for a macro that doesn't take arguments.
 
4267
ac_script='
 
4268
t clear
 
4269
:clear
 
4270
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
4271
t quote
 
4272
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
4273
t quote
 
4274
b any
 
4275
:quote
 
4276
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
4277
s/\[/\\&/g
 
4278
s/\]/\\&/g
 
4279
s/\$/$$/g
 
4280
H
 
4281
:any
 
4282
${
 
4283
        g
 
4284
        s/^\n//
 
4285
        s/\n/ /g
 
4286
        p
 
4287
}
 
4288
'
 
4289
DEFS=`sed -n "$ac_script" confdefs.h`
 
4290
 
 
4291
 
 
4292
ac_libobjs=
 
4293
ac_ltlibobjs=
 
4294
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
4295
  # 1. Remove the extension, and $U if already installed.
 
4296
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
4297
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
4298
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
4299
  #    will be set to the directory where LIBOBJS objects are built.
 
4300
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4301
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4302
done
 
4303
LIBOBJS=$ac_libobjs
 
4304
 
 
4305
LTLIBOBJS=$ac_ltlibobjs
 
4306
 
 
4307
 
 
4308
 
1280
4309
: ${CONFIG_STATUS=./config.status}
1281
 
 
1282
 
echo creating $CONFIG_STATUS
1283
 
rm -f $CONFIG_STATUS
1284
 
cat > $CONFIG_STATUS <<EOF
1285
 
#! /bin/sh
1286
 
# Generated automatically by configure.
 
4310
ac_clean_files_save=$ac_clean_files
 
4311
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
4312
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4313
echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
4314
cat >$CONFIG_STATUS <<_ACEOF
 
4315
#! $SHELL
 
4316
# Generated by $as_me.
1287
4317
# Run this file to recreate the current configuration.
1288
 
# This directory was configured as follows,
1289
 
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1290
 
#
1291
 
# $0 $ac_configure_args
1292
 
#
1293
4318
# Compiler output produced by configure, useful for debugging
1294
 
# configure, is in ./config.log if it exists.
1295
 
 
1296
 
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1297
 
for ac_option
1298
 
do
1299
 
  case "\$ac_option" in
 
4319
# configure, is in config.log if it exists.
 
4320
 
 
4321
debug=false
 
4322
ac_cs_recheck=false
 
4323
ac_cs_silent=false
 
4324
SHELL=\${CONFIG_SHELL-$SHELL}
 
4325
_ACEOF
 
4326
 
 
4327
cat >>$CONFIG_STATUS <<\_ACEOF
 
4328
## --------------------- ##
 
4329
## M4sh Initialization.  ##
 
4330
## --------------------- ##
 
4331
 
 
4332
# Be more Bourne compatible
 
4333
DUALCASE=1; export DUALCASE # for MKS sh
 
4334
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4335
  emulate sh
 
4336
  NULLCMD=:
 
4337
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
4338
  # is contrary to our usage.  Disable this feature.
 
4339
  alias -g '${1+"$@"}'='"$@"'
 
4340
  setopt NO_GLOB_SUBST
 
4341
else
 
4342
  case `(set -o) 2>/dev/null` in
 
4343
  *posix*) set -o posix ;;
 
4344
esac
 
4345
 
 
4346
fi
 
4347
 
 
4348
 
 
4349
 
 
4350
 
 
4351
# PATH needs CR
 
4352
# Avoid depending upon Character Ranges.
 
4353
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
4354
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
4355
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
4356
as_cr_digits='0123456789'
 
4357
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4358
 
 
4359
# The user is always right.
 
4360
if test "${PATH_SEPARATOR+set}" != set; then
 
4361
  echo "#! /bin/sh" >conf$$.sh
 
4362
  echo  "exit 0"   >>conf$$.sh
 
4363
  chmod +x conf$$.sh
 
4364
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
4365
    PATH_SEPARATOR=';'
 
4366
  else
 
4367
    PATH_SEPARATOR=:
 
4368
  fi
 
4369
  rm -f conf$$.sh
 
4370
fi
 
4371
 
 
4372
# Support unset when possible.
 
4373
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4374
  as_unset=unset
 
4375
else
 
4376
  as_unset=false
 
4377
fi
 
4378
 
 
4379
 
 
4380
# IFS
 
4381
# We need space, tab and new line, in precisely that order.  Quoting is
 
4382
# there to prevent editors from complaining about space-tab.
 
4383
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
4384
# splitting by setting IFS to empty value.)
 
4385
as_nl='
 
4386
'
 
4387
IFS=" ""        $as_nl"
 
4388
 
 
4389
# Find who we are.  Look in the path if we contain no directory separator.
 
4390
case $0 in
 
4391
  *[\\/]* ) as_myself=$0 ;;
 
4392
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4393
for as_dir in $PATH
 
4394
do
 
4395
  IFS=$as_save_IFS
 
4396
  test -z "$as_dir" && as_dir=.
 
4397
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4398
done
 
4399
IFS=$as_save_IFS
 
4400
 
 
4401
     ;;
 
4402
esac
 
4403
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
4404
# in which case we are not to be found in the path.
 
4405
if test "x$as_myself" = x; then
 
4406
  as_myself=$0
 
4407
fi
 
4408
if test ! -f "$as_myself"; then
 
4409
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
4410
  { (exit 1); exit 1; }
 
4411
fi
 
4412
 
 
4413
# Work around bugs in pre-3.0 UWIN ksh.
 
4414
for as_var in ENV MAIL MAILPATH
 
4415
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4416
done
 
4417
PS1='$ '
 
4418
PS2='> '
 
4419
PS4='+ '
 
4420
 
 
4421
# NLS nuisances.
 
4422
for as_var in \
 
4423
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
4424
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
4425
  LC_TELEPHONE LC_TIME
 
4426
do
 
4427
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4428
    eval $as_var=C; export $as_var
 
4429
  else
 
4430
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4431
  fi
 
4432
done
 
4433
 
 
4434
# Required to use basename.
 
4435
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4436
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
4437
  as_expr=expr
 
4438
else
 
4439
  as_expr=false
 
4440
fi
 
4441
 
 
4442
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
4443
  as_basename=basename
 
4444
else
 
4445
  as_basename=false
 
4446
fi
 
4447
 
 
4448
 
 
4449
# Name of the executable.
 
4450
as_me=`$as_basename -- "$0" ||
 
4451
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
4452
         X"$0" : 'X\(//\)$' \| \
 
4453
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
4454
echo X/"$0" |
 
4455
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
4456
            s//\1/
 
4457
            q
 
4458
          }
 
4459
          /^X\/\(\/\/\)$/{
 
4460
            s//\1/
 
4461
            q
 
4462
          }
 
4463
          /^X\/\(\/\).*/{
 
4464
            s//\1/
 
4465
            q
 
4466
          }
 
4467
          s/.*/./; q'`
 
4468
 
 
4469
# CDPATH.
 
4470
$as_unset CDPATH
 
4471
 
 
4472
 
 
4473
 
 
4474
  as_lineno_1=$LINENO
 
4475
  as_lineno_2=$LINENO
 
4476
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4477
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
4478
 
 
4479
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
4480
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
4481
  # line-number line after each line using $LINENO; the second 'sed'
 
4482
  # does the real work.  The second script uses 'N' to pair each
 
4483
  # line-number line with the line containing $LINENO, and appends
 
4484
  # trailing '-' during substitution so that $LINENO is not a special
 
4485
  # case at line end.
 
4486
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
4487
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
4488
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
4489
  sed -n '
 
4490
    p
 
4491
    /[$]LINENO/=
 
4492
  ' <$as_myself |
 
4493
    sed '
 
4494
      s/[$]LINENO.*/&-/
 
4495
      t lineno
 
4496
      b
 
4497
      :lineno
 
4498
      N
 
4499
      :loop
 
4500
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
4501
      t loop
 
4502
      s/-\n.*//
 
4503
    ' >$as_me.lineno &&
 
4504
  chmod +x "$as_me.lineno" ||
 
4505
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
4506
   { (exit 1); exit 1; }; }
 
4507
 
 
4508
  # Don't try to exec as it changes $[0], causing all sort of problems
 
4509
  # (the dirname of $[0] is not the place where we might find the
 
4510
  # original and so on.  Autoconf is especially sensitive to this).
 
4511
  . "./$as_me.lineno"
 
4512
  # Exit status is that of the last command.
 
4513
  exit
 
4514
}
 
4515
 
 
4516
 
 
4517
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
4518
  as_dirname=dirname
 
4519
else
 
4520
  as_dirname=false
 
4521
fi
 
4522
 
 
4523
ECHO_C= ECHO_N= ECHO_T=
 
4524
case `echo -n x` in
 
4525
-n*)
 
4526
  case `echo 'x\c'` in
 
4527
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
4528
  *)   ECHO_C='\c';;
 
4529
  esac;;
 
4530
*)
 
4531
  ECHO_N='-n';;
 
4532
esac
 
4533
 
 
4534
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4535
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
4536
  as_expr=expr
 
4537
else
 
4538
  as_expr=false
 
4539
fi
 
4540
 
 
4541
rm -f conf$$ conf$$.exe conf$$.file
 
4542
if test -d conf$$.dir; then
 
4543
  rm -f conf$$.dir/conf$$.file
 
4544
else
 
4545
  rm -f conf$$.dir
 
4546
  mkdir conf$$.dir
 
4547
fi
 
4548
echo >conf$$.file
 
4549
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
4550
  as_ln_s='ln -s'
 
4551
  # ... but there are two gotchas:
 
4552
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
4553
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
4554
  # In both cases, we have to default to `cp -p'.
 
4555
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
4556
    as_ln_s='cp -p'
 
4557
elif ln conf$$.file conf$$ 2>/dev/null; then
 
4558
  as_ln_s=ln
 
4559
else
 
4560
  as_ln_s='cp -p'
 
4561
fi
 
4562
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
4563
rmdir conf$$.dir 2>/dev/null
 
4564
 
 
4565
if mkdir -p . 2>/dev/null; then
 
4566
  as_mkdir_p=:
 
4567
else
 
4568
  test -d ./-p && rmdir ./-p
 
4569
  as_mkdir_p=false
 
4570
fi
 
4571
 
 
4572
if test -x / >/dev/null 2>&1; then
 
4573
  as_test_x='test -x'
 
4574
else
 
4575
  if ls -dL / >/dev/null 2>&1; then
 
4576
    as_ls_L_option=L
 
4577
  else
 
4578
    as_ls_L_option=
 
4579
  fi
 
4580
  as_test_x='
 
4581
    eval sh -c '\''
 
4582
      if test -d "$1"; then
 
4583
        test -d "$1/.";
 
4584
      else
 
4585
        case $1 in
 
4586
        -*)set "./$1";;
 
4587
        esac;
 
4588
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
4589
        ???[sx]*):;;*)false;;esac;fi
 
4590
    '\'' sh
 
4591
  '
 
4592
fi
 
4593
as_executable_p=$as_test_x
 
4594
 
 
4595
# Sed expression to map a string onto a valid CPP name.
 
4596
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
4597
 
 
4598
# Sed expression to map a string onto a valid variable name.
 
4599
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
4600
 
 
4601
 
 
4602
exec 6>&1
 
4603
 
 
4604
# Save the log message, to keep $[0] and so on meaningful, and to
 
4605
# report actual input values of CONFIG_FILES etc. instead of their
 
4606
# values after options handling.
 
4607
ac_log="
 
4608
This file was extended by $as_me, which was
 
4609
generated by GNU Autoconf 2.61.  Invocation command line was
 
4610
 
 
4611
  CONFIG_FILES    = $CONFIG_FILES
 
4612
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
4613
  CONFIG_LINKS    = $CONFIG_LINKS
 
4614
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
4615
  $ $0 $@
 
4616
 
 
4617
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
4618
"
 
4619
 
 
4620
_ACEOF
 
4621
 
 
4622
cat >>$CONFIG_STATUS <<_ACEOF
 
4623
# Files that config.status was made for.
 
4624
config_files="$ac_config_files"
 
4625
 
 
4626
_ACEOF
 
4627
 
 
4628
cat >>$CONFIG_STATUS <<\_ACEOF
 
4629
ac_cs_usage="\
 
4630
\`$as_me' instantiates files from templates according to the
 
4631
current configuration.
 
4632
 
 
4633
Usage: $0 [OPTIONS] [FILE]...
 
4634
 
 
4635
  -h, --help       print this help, then exit
 
4636
  -V, --version    print version number and configuration settings, then exit
 
4637
  -q, --quiet      do not print progress messages
 
4638
  -d, --debug      don't remove temporary files
 
4639
      --recheck    update $as_me by reconfiguring in the same conditions
 
4640
  --file=FILE[:TEMPLATE]
 
4641
                   instantiate the configuration file FILE
 
4642
 
 
4643
Configuration files:
 
4644
$config_files
 
4645
 
 
4646
Report bugs to <bug-autoconf@gnu.org>."
 
4647
 
 
4648
_ACEOF
 
4649
cat >>$CONFIG_STATUS <<_ACEOF
 
4650
ac_cs_version="\\
 
4651
config.status
 
4652
configured by $0, generated by GNU Autoconf 2.61,
 
4653
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
4654
 
 
4655
Copyright (C) 2006 Free Software Foundation, Inc.
 
4656
This config.status script is free software; the Free Software Foundation
 
4657
gives unlimited permission to copy, distribute and modify it."
 
4658
 
 
4659
ac_pwd='$ac_pwd'
 
4660
srcdir='$srcdir'
 
4661
_ACEOF
 
4662
 
 
4663
cat >>$CONFIG_STATUS <<\_ACEOF
 
4664
# If no file are specified by the user, then we need to provide default
 
4665
# value.  By we need to know if files were specified by the user.
 
4666
ac_need_defaults=:
 
4667
while test $# != 0
 
4668
do
 
4669
  case $1 in
 
4670
  --*=*)
 
4671
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
4672
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
4673
    ac_shift=:
 
4674
    ;;
 
4675
  *)
 
4676
    ac_option=$1
 
4677
    ac_optarg=$2
 
4678
    ac_shift=shift
 
4679
    ;;
 
4680
  esac
 
4681
 
 
4682
  case $ac_option in
 
4683
  # Handling of the options.
1300
4684
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1301
 
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1302
 
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1303
 
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1304
 
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1305
 
    exit 0 ;;
1306
 
  -help | --help | --hel | --he | --h)
1307
 
    echo "\$ac_cs_usage"; exit 0 ;;
1308
 
  *) echo "\$ac_cs_usage"; exit 1 ;;
1309
 
  esac
1310
 
done
1311
 
 
1312
 
ac_given_srcdir=$srcdir
1313
 
 
1314
 
trap 'rm -fr `echo "config/config" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1315
 
EOF
1316
 
cat >> $CONFIG_STATUS <<EOF
1317
 
 
1318
 
# Protect against being on the right side of a sed subst in config.status.
1319
 
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1320
 
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1321
 
$ac_vpsub
 
4685
    ac_cs_recheck=: ;;
 
4686
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
4687
    echo "$ac_cs_version"; exit ;;
 
4688
  --debug | --debu | --deb | --de | --d | -d )
 
4689
    debug=: ;;
 
4690
  --file | --fil | --fi | --f )
 
4691
    $ac_shift
 
4692
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
4693
    ac_need_defaults=false;;
 
4694
  --he | --h |  --help | --hel | -h )
 
4695
    echo "$ac_cs_usage"; exit ;;
 
4696
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
4697
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
4698
    ac_cs_silent=: ;;
 
4699
 
 
4700
  # This is an error.
 
4701
  -*) { echo "$as_me: error: unrecognized option: $1
 
4702
Try \`$0 --help' for more information." >&2
 
4703
   { (exit 1); exit 1; }; } ;;
 
4704
 
 
4705
  *) ac_config_targets="$ac_config_targets $1"
 
4706
     ac_need_defaults=false ;;
 
4707
 
 
4708
  esac
 
4709
  shift
 
4710
done
 
4711
 
 
4712
ac_configure_extra_args=
 
4713
 
 
4714
if $ac_cs_silent; then
 
4715
  exec 6>/dev/null
 
4716
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
4717
fi
 
4718
 
 
4719
_ACEOF
 
4720
cat >>$CONFIG_STATUS <<_ACEOF
 
4721
if \$ac_cs_recheck; then
 
4722
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
4723
  CONFIG_SHELL=$SHELL
 
4724
  export CONFIG_SHELL
 
4725
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4726
fi
 
4727
 
 
4728
_ACEOF
 
4729
cat >>$CONFIG_STATUS <<\_ACEOF
 
4730
exec 5>>config.log
 
4731
{
 
4732
  echo
 
4733
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4734
## Running $as_me. ##
 
4735
_ASBOX
 
4736
  echo "$ac_log"
 
4737
} >&5
 
4738
 
 
4739
_ACEOF
 
4740
cat >>$CONFIG_STATUS <<_ACEOF
 
4741
_ACEOF
 
4742
 
 
4743
cat >>$CONFIG_STATUS <<\_ACEOF
 
4744
 
 
4745
# Handling of arguments.
 
4746
for ac_config_target in $ac_config_targets
 
4747
do
 
4748
  case $ac_config_target in
 
4749
    "config/config") CONFIG_FILES="$CONFIG_FILES config/config" ;;
 
4750
 
 
4751
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
4752
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
4753
   { (exit 1); exit 1; }; };;
 
4754
  esac
 
4755
done
 
4756
 
 
4757
 
 
4758
# If the user did not use the arguments to specify the items to instantiate,
 
4759
# then the envvar interface is used.  Set only those that are not.
 
4760
# We use the long form for the default assignment because of an extremely
 
4761
# bizarre bug on SunOS 4.1.3.
 
4762
if $ac_need_defaults; then
 
4763
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
4764
fi
 
4765
 
 
4766
# Have a temporary directory for convenience.  Make it in the build tree
 
4767
# simply because there is no reason against having it here, and in addition,
 
4768
# creating and moving files from /tmp can sometimes cause problems.
 
4769
# Hook for its removal unless debugging.
 
4770
# Note that there is a small window in which the directory will not be cleaned:
 
4771
# after its creation but before its name has been assigned to `$tmp'.
 
4772
$debug ||
 
4773
{
 
4774
  tmp=
 
4775
  trap 'exit_status=$?
 
4776
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4777
' 0
 
4778
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
4779
}
 
4780
# Create a (secure) tmp directory for tmp files.
 
4781
 
 
4782
{
 
4783
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
4784
  test -n "$tmp" && test -d "$tmp"
 
4785
}  ||
 
4786
{
 
4787
  tmp=./conf$$-$RANDOM
 
4788
  (umask 077 && mkdir "$tmp")
 
4789
} ||
 
4790
{
 
4791
   echo "$me: cannot create a temporary directory in ." >&2
 
4792
   { (exit 1); exit 1; }
 
4793
}
 
4794
 
 
4795
#
 
4796
# Set up the sed scripts for CONFIG_FILES section.
 
4797
#
 
4798
 
 
4799
# No need to generate the scripts if there are no CONFIG_FILES.
 
4800
# This happens for instance when ./config.status config.h
 
4801
if test -n "$CONFIG_FILES"; then
 
4802
 
 
4803
_ACEOF
 
4804
 
 
4805
 
 
4806
 
 
4807
ac_delim='%!_!# '
 
4808
for ac_last_try in false false false false false :; do
 
4809
  cat >conf$$subs.sed <<_ACEOF
 
4810
SHELL!$SHELL$ac_delim
 
4811
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
4812
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
4813
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
4814
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
4815
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
4816
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
4817
exec_prefix!$exec_prefix$ac_delim
 
4818
prefix!$prefix$ac_delim
 
4819
program_transform_name!$program_transform_name$ac_delim
 
4820
bindir!$bindir$ac_delim
 
4821
sbindir!$sbindir$ac_delim
 
4822
libexecdir!$libexecdir$ac_delim
 
4823
datarootdir!$datarootdir$ac_delim
 
4824
datadir!$datadir$ac_delim
 
4825
sysconfdir!$sysconfdir$ac_delim
 
4826
sharedstatedir!$sharedstatedir$ac_delim
 
4827
localstatedir!$localstatedir$ac_delim
 
4828
includedir!$includedir$ac_delim
 
4829
oldincludedir!$oldincludedir$ac_delim
 
4830
docdir!$docdir$ac_delim
 
4831
infodir!$infodir$ac_delim
 
4832
htmldir!$htmldir$ac_delim
 
4833
dvidir!$dvidir$ac_delim
 
4834
pdfdir!$pdfdir$ac_delim
 
4835
psdir!$psdir$ac_delim
 
4836
libdir!$libdir$ac_delim
 
4837
localedir!$localedir$ac_delim
 
4838
mandir!$mandir$ac_delim
 
4839
DEFS!$DEFS$ac_delim
 
4840
ECHO_C!$ECHO_C$ac_delim
 
4841
ECHO_N!$ECHO_N$ac_delim
 
4842
ECHO_T!$ECHO_T$ac_delim
 
4843
LIBS!$LIBS$ac_delim
 
4844
build_alias!$build_alias$ac_delim
 
4845
host_alias!$host_alias$ac_delim
 
4846
target_alias!$target_alias$ac_delim
 
4847
build!$build$ac_delim
 
4848
build_cpu!$build_cpu$ac_delim
 
4849
build_vendor!$build_vendor$ac_delim
 
4850
build_os!$build_os$ac_delim
 
4851
host!$host$ac_delim
 
4852
host_cpu!$host_cpu$ac_delim
 
4853
host_vendor!$host_vendor$ac_delim
 
4854
host_os!$host_os$ac_delim
 
4855
target!$target$ac_delim
 
4856
target_cpu!$target_cpu$ac_delim
 
4857
target_vendor!$target_vendor$ac_delim
 
4858
target_os!$target_os$ac_delim
 
4859
CC!$CC$ac_delim
 
4860
CFLAGS!$CFLAGS$ac_delim
 
4861
LDFLAGS!$LDFLAGS$ac_delim
 
4862
CPPFLAGS!$CPPFLAGS$ac_delim
 
4863
ac_ct_CC!$ac_ct_CC$ac_delim
 
4864
EXEEXT!$EXEEXT$ac_delim
 
4865
OBJEXT!$OBJEXT$ac_delim
 
4866
RANLIB!$RANLIB$ac_delim
 
4867
AR!$AR$ac_delim
 
4868
CPP!$CPP$ac_delim
 
4869
GREP!$GREP$ac_delim
 
4870
EGREP!$EGREP$ac_delim
 
4871
TERMCAPLIB!$TERMCAPLIB$ac_delim
 
4872
COMPILERTYPE!$COMPILERTYPE$ac_delim
 
4873
LINUXAUDIO!$LINUXAUDIO$ac_delim
 
4874
LIBOBJS!$LIBOBJS$ac_delim
 
4875
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
4876
_ACEOF
 
4877
 
 
4878
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
 
4879
    break
 
4880
  elif $ac_last_try; then
 
4881
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
4882
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
4883
   { (exit 1); exit 1; }; }
 
4884
  else
 
4885
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
4886
  fi
 
4887
done
 
4888
 
 
4889
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
4890
if test -n "$ac_eof"; then
 
4891
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
4892
  ac_eof=`expr $ac_eof + 1`
 
4893
fi
 
4894
 
 
4895
cat >>$CONFIG_STATUS <<_ACEOF
 
4896
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
4897
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
4898
_ACEOF
 
4899
sed '
 
4900
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
4901
s/^/s,@/; s/!/@,|#_!!_#|/
 
4902
:n
 
4903
t n
 
4904
s/'"$ac_delim"'$/,g/; t
 
4905
s/$/\\/; p
 
4906
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
4907
' >>$CONFIG_STATUS <conf$$subs.sed
 
4908
rm -f conf$$subs.sed
 
4909
cat >>$CONFIG_STATUS <<_ACEOF
 
4910
:end
 
4911
s/|#_!!_#|//g
 
4912
CEOF$ac_eof
 
4913
_ACEOF
 
4914
 
 
4915
 
 
4916
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
4917
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
4918
# trailing colons and then remove the whole line if VPATH becomes empty
 
4919
# (actually we leave an empty line to preserve line numbers).
 
4920
if test "x$srcdir" = x.; then
 
4921
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
4922
s/:*\$(srcdir):*/:/
 
4923
s/:*\${srcdir}:*/:/
 
4924
s/:*@srcdir@:*/:/
 
4925
s/^\([^=]*=[     ]*\):*/\1/
 
4926
s/:*$//
 
4927
s/^[^=]*=[       ]*$//
 
4928
}'
 
4929
fi
 
4930
 
 
4931
cat >>$CONFIG_STATUS <<\_ACEOF
 
4932
fi # test -n "$CONFIG_FILES"
 
4933
 
 
4934
 
 
4935
for ac_tag in  :F $CONFIG_FILES
 
4936
do
 
4937
  case $ac_tag in
 
4938
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
4939
  esac
 
4940
  case $ac_mode$ac_tag in
 
4941
  :[FHL]*:*);;
 
4942
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
4943
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
4944
   { (exit 1); exit 1; }; };;
 
4945
  :[FH]-) ac_tag=-:-;;
 
4946
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
4947
  esac
 
4948
  ac_save_IFS=$IFS
 
4949
  IFS=:
 
4950
  set x $ac_tag
 
4951
  IFS=$ac_save_IFS
 
4952
  shift
 
4953
  ac_file=$1
 
4954
  shift
 
4955
 
 
4956
  case $ac_mode in
 
4957
  :L) ac_source=$1;;
 
4958
  :[FH])
 
4959
    ac_file_inputs=
 
4960
    for ac_f
 
4961
    do
 
4962
      case $ac_f in
 
4963
      -) ac_f="$tmp/stdin";;
 
4964
      *) # Look for the file first in the build tree, then in the source tree
 
4965
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
4966
         # because $ac_f cannot contain `:'.
 
4967
         test -f "$ac_f" ||
 
4968
           case $ac_f in
 
4969
           [\\/$]*) false;;
 
4970
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
4971
           esac ||
 
4972
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
4973
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
4974
   { (exit 1); exit 1; }; };;
 
4975
      esac
 
4976
      ac_file_inputs="$ac_file_inputs $ac_f"
 
4977
    done
 
4978
 
 
4979
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4980
    # use $as_me), people would be surprised to read:
 
4981
    #    /* config.h.  Generated by config.status.  */
 
4982
    configure_input="Generated from "`IFS=:
 
4983
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4984
    if test x"$ac_file" != x-; then
 
4985
      configure_input="$ac_file.  $configure_input"
 
4986
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4987
echo "$as_me: creating $ac_file" >&6;}
 
4988
    fi
 
4989
 
 
4990
    case $ac_tag in
 
4991
    *:-:* | *:-) cat >"$tmp/stdin";;
 
4992
    esac
 
4993
    ;;
 
4994
  esac
 
4995
 
 
4996
  ac_dir=`$as_dirname -- "$ac_file" ||
 
4997
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
4998
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4999
         X"$ac_file" : 'X\(//\)$' \| \
 
5000
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
5001
echo X"$ac_file" |
 
5002
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5003
            s//\1/
 
5004
            q
 
5005
          }
 
5006
          /^X\(\/\/\)[^/].*/{
 
5007
            s//\1/
 
5008
            q
 
5009
          }
 
5010
          /^X\(\/\/\)$/{
 
5011
            s//\1/
 
5012
            q
 
5013
          }
 
5014
          /^X\(\/\).*/{
 
5015
            s//\1/
 
5016
            q
 
5017
          }
 
5018
          s/.*/./; q'`
 
5019
  { as_dir="$ac_dir"
 
5020
  case $as_dir in #(
 
5021
  -*) as_dir=./$as_dir;;
 
5022
  esac
 
5023
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
5024
    as_dirs=
 
5025
    while :; do
 
5026
      case $as_dir in #(
 
5027
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
5028
      *) as_qdir=$as_dir;;
 
5029
      esac
 
5030
      as_dirs="'$as_qdir' $as_dirs"
 
5031
      as_dir=`$as_dirname -- "$as_dir" ||
 
5032
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5033
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5034
         X"$as_dir" : 'X\(//\)$' \| \
 
5035
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5036
echo X"$as_dir" |
 
5037
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5038
            s//\1/
 
5039
            q
 
5040
          }
 
5041
          /^X\(\/\/\)[^/].*/{
 
5042
            s//\1/
 
5043
            q
 
5044
          }
 
5045
          /^X\(\/\/\)$/{
 
5046
            s//\1/
 
5047
            q
 
5048
          }
 
5049
          /^X\(\/\).*/{
 
5050
            s//\1/
 
5051
            q
 
5052
          }
 
5053
          s/.*/./; q'`
 
5054
      test -d "$as_dir" && break
 
5055
    done
 
5056
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5057
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5058
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
5059
   { (exit 1); exit 1; }; }; }
 
5060
  ac_builddir=.
 
5061
 
 
5062
case "$ac_dir" in
 
5063
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5064
*)
 
5065
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
5066
  # A ".." for each directory in $ac_dir_suffix.
 
5067
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
5068
  case $ac_top_builddir_sub in
 
5069
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5070
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
5071
  esac ;;
 
5072
esac
 
5073
ac_abs_top_builddir=$ac_pwd
 
5074
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
5075
# for backward compatibility:
 
5076
ac_top_builddir=$ac_top_build_prefix
 
5077
 
 
5078
case $srcdir in
 
5079
  .)  # We are building in place.
 
5080
    ac_srcdir=.
 
5081
    ac_top_srcdir=$ac_top_builddir_sub
 
5082
    ac_abs_top_srcdir=$ac_pwd ;;
 
5083
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
5084
    ac_srcdir=$srcdir$ac_dir_suffix;
 
5085
    ac_top_srcdir=$srcdir
 
5086
    ac_abs_top_srcdir=$srcdir ;;
 
5087
  *) # Relative name.
 
5088
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
5089
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
5090
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
5091
esac
 
5092
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
5093
 
 
5094
 
 
5095
  case $ac_mode in
 
5096
  :F)
 
5097
  #
 
5098
  # CONFIG_FILE
 
5099
  #
 
5100
 
 
5101
_ACEOF
 
5102
 
 
5103
cat >>$CONFIG_STATUS <<\_ACEOF
 
5104
# If the template does not know about datarootdir, expand it.
 
5105
# FIXME: This hack should be removed a few years after 2.60.
 
5106
ac_datarootdir_hack=; ac_datarootdir_seen=
 
5107
 
 
5108
case `sed -n '/datarootdir/ {
 
5109
  p
 
5110
  q
 
5111
}
 
5112
/@datadir@/p
 
5113
/@docdir@/p
 
5114
/@infodir@/p
 
5115
/@localedir@/p
 
5116
/@mandir@/p
 
5117
' $ac_file_inputs` in
 
5118
*datarootdir*) ac_datarootdir_seen=yes;;
 
5119
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
5120
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5121
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
5122
_ACEOF
 
5123
cat >>$CONFIG_STATUS <<_ACEOF
 
5124
  ac_datarootdir_hack='
 
5125
  s&@datadir@&$datadir&g
 
5126
  s&@docdir@&$docdir&g
 
5127
  s&@infodir@&$infodir&g
 
5128
  s&@localedir@&$localedir&g
 
5129
  s&@mandir@&$mandir&g
 
5130
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5131
esac
 
5132
_ACEOF
 
5133
 
 
5134
# Neutralize VPATH when `$srcdir' = `.'.
 
5135
# Shell code in configure.ac might set extrasub.
 
5136
# FIXME: do we really want to maintain this feature?
 
5137
cat >>$CONFIG_STATUS <<_ACEOF
 
5138
  sed "$ac_vpsub
1322
5139
$extrasub
1323
 
s%@SHELL@%$SHELL%g
1324
 
s%@CFLAGS@%$CFLAGS%g
1325
 
s%@CPPFLAGS@%$CPPFLAGS%g
1326
 
s%@CXXFLAGS@%$CXXFLAGS%g
1327
 
s%@FFLAGS@%$FFLAGS%g
1328
 
s%@DEFS@%$DEFS%g
1329
 
s%@LDFLAGS@%$LDFLAGS%g
1330
 
s%@LIBS@%$LIBS%g
1331
 
s%@exec_prefix@%$exec_prefix%g
1332
 
s%@prefix@%$prefix%g
1333
 
s%@program_transform_name@%$program_transform_name%g
1334
 
s%@bindir@%$bindir%g
1335
 
s%@sbindir@%$sbindir%g
1336
 
s%@libexecdir@%$libexecdir%g
1337
 
s%@datadir@%$datadir%g
1338
 
s%@sysconfdir@%$sysconfdir%g
1339
 
s%@sharedstatedir@%$sharedstatedir%g
1340
 
s%@localstatedir@%$localstatedir%g
1341
 
s%@libdir@%$libdir%g
1342
 
s%@includedir@%$includedir%g
1343
 
s%@oldincludedir@%$oldincludedir%g
1344
 
s%@infodir@%$infodir%g
1345
 
s%@mandir@%$mandir%g
1346
 
s%@host@%$host%g
1347
 
s%@host_alias@%$host_alias%g
1348
 
s%@host_cpu@%$host_cpu%g
1349
 
s%@host_vendor@%$host_vendor%g
1350
 
s%@host_os@%$host_os%g
1351
 
s%@target@%$target%g
1352
 
s%@target_alias@%$target_alias%g
1353
 
s%@target_cpu@%$target_cpu%g
1354
 
s%@target_vendor@%$target_vendor%g
1355
 
s%@target_os@%$target_os%g
1356
 
s%@build@%$build%g
1357
 
s%@build_alias@%$build_alias%g
1358
 
s%@build_cpu@%$build_cpu%g
1359
 
s%@build_vendor@%$build_vendor%g
1360
 
s%@build_os@%$build_os%g
1361
 
s%@CC@%$CC%g
1362
 
s%@RANLIB@%$RANLIB%g
1363
 
s%@AR@%$AR%g
1364
 
s%@TERMCAPLIB@%$TERMCAPLIB%g
1365
 
s%@COMPILERTYPE@%$COMPILERTYPE%g
1366
 
 
1367
 
CEOF
1368
 
EOF
1369
 
 
1370
 
cat >> $CONFIG_STATUS <<\EOF
1371
 
 
1372
 
# Split the substitutions into bite-sized pieces for seds with
1373
 
# small command number limits, like on Digital OSF/1 and HP-UX.
1374
 
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1375
 
ac_file=1 # Number of current file.
1376
 
ac_beg=1 # First line for current file.
1377
 
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1378
 
ac_more_lines=:
1379
 
ac_sed_cmds=""
1380
 
while $ac_more_lines; do
1381
 
  if test $ac_beg -gt 1; then
1382
 
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1383
 
  else
1384
 
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1385
 
  fi
1386
 
  if test ! -s conftest.s$ac_file; then
1387
 
    ac_more_lines=false
1388
 
    rm -f conftest.s$ac_file
1389
 
  else
1390
 
    if test -z "$ac_sed_cmds"; then
1391
 
      ac_sed_cmds="sed -f conftest.s$ac_file"
1392
 
    else
1393
 
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1394
 
    fi
1395
 
    ac_file=`expr $ac_file + 1`
1396
 
    ac_beg=$ac_end
1397
 
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1398
 
  fi
1399
 
done
1400
 
if test -z "$ac_sed_cmds"; then
1401
 
  ac_sed_cmds=cat
1402
 
fi
1403
 
EOF
1404
 
 
1405
 
cat >> $CONFIG_STATUS <<EOF
1406
 
 
1407
 
CONFIG_FILES=\${CONFIG_FILES-"config/config"}
1408
 
EOF
1409
 
cat >> $CONFIG_STATUS <<\EOF
1410
 
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1411
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1412
 
  case "$ac_file" in
1413
 
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1414
 
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1415
 
  *) ac_file_in="${ac_file}.in" ;;
1416
 
  esac
1417
 
 
1418
 
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1419
 
 
1420
 
  # Remove last slash and all that follows it.  Not all systems have dirname.
1421
 
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1422
 
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1423
 
    # The file is in a subdirectory.
1424
 
    test ! -d "$ac_dir" && mkdir "$ac_dir"
1425
 
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1426
 
    # A "../" for each directory in $ac_dir_suffix.
1427
 
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1428
 
  else
1429
 
    ac_dir_suffix= ac_dots=
1430
 
  fi
1431
 
 
1432
 
  case "$ac_given_srcdir" in
1433
 
  .)  srcdir=.
1434
 
      if test -z "$ac_dots"; then top_srcdir=.
1435
 
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1436
 
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1437
 
  *) # Relative path.
1438
 
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1439
 
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1440
 
  esac
1441
 
 
1442
 
 
1443
 
  echo creating "$ac_file"
1444
 
  rm -f "$ac_file"
1445
 
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1446
 
  case "$ac_file" in
1447
 
  *Makefile*) ac_comsub="1i\\
1448
 
# $configure_input" ;;
1449
 
  *) ac_comsub= ;;
1450
 
  esac
1451
 
 
1452
 
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1453
 
  sed -e "$ac_comsub
1454
 
s%@configure_input@%$configure_input%g
1455
 
s%@srcdir@%$srcdir%g
1456
 
s%@top_srcdir@%$top_srcdir%g
1457
 
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1458
 
fi; done
1459
 
rm -f conftest.s*
1460
 
 
1461
 
EOF
1462
 
cat >> $CONFIG_STATUS <<EOF
1463
 
 
1464
 
EOF
1465
 
cat >> $CONFIG_STATUS <<\EOF
1466
 
 
1467
 
exit 0
1468
 
EOF
 
5140
_ACEOF
 
5141
cat >>$CONFIG_STATUS <<\_ACEOF
 
5142
:t
 
5143
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
5144
s&@configure_input@&$configure_input&;t t
 
5145
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5146
s&@srcdir@&$ac_srcdir&;t t
 
5147
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
5148
s&@top_srcdir@&$ac_top_srcdir&;t t
 
5149
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
5150
s&@builddir@&$ac_builddir&;t t
 
5151
s&@abs_builddir@&$ac_abs_builddir&;t t
 
5152
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
5153
$ac_datarootdir_hack
 
5154
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
5155
 
 
5156
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
5157
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
5158
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
5159
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5160
which seems to be undefined.  Please make sure it is defined." >&5
 
5161
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5162
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5163
 
 
5164
  rm -f "$tmp/stdin"
 
5165
  case $ac_file in
 
5166
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
5167
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
5168
  esac
 
5169
 ;;
 
5170
 
 
5171
 
 
5172
 
 
5173
  esac
 
5174
 
 
5175
done # for ac_tag
 
5176
 
 
5177
 
 
5178
{ (exit 0); exit 0; }
 
5179
_ACEOF
1469
5180
chmod +x $CONFIG_STATUS
1470
 
rm -fr confdefs* $ac_clean_files
1471
 
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 
5181
ac_clean_files=$ac_clean_files_save
 
5182
 
 
5183
 
 
5184
# configure is writing to config.log, and then calls config.status.
 
5185
# config.status does its own redirection, appending to config.log.
 
5186
# Unfortunately, on DOS this fails, as config.log is still kept open
 
5187
# by configure, so config.status won't be able to write to it; its
 
5188
# output is simply discarded.  So we exec the FD to /dev/null,
 
5189
# effectively closing config.log, so it can be properly (re)opened and
 
5190
# appended to by config.status.  When coming back to configure, we
 
5191
# need to make the FD available again.
 
5192
if test "$no_create" != yes; then
 
5193
  ac_cs_success=:
 
5194
  ac_config_status_args=
 
5195
  test "$silent" = yes &&
 
5196
    ac_config_status_args="$ac_config_status_args --quiet"
 
5197
  exec 5>/dev/null
 
5198
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
5199
  exec 5>>config.log
 
5200
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
5201
  # would make configure fail if this is the last instruction.
 
5202
  $ac_cs_success || { (exit 1); exit 1; }
 
5203
fi
1472
5204