OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [rel-0-3-0-rc3/] [or1ksim/] [configure] - Blame information for rev 1743

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 jrydberg
#! /bin/sh
2 1576 phoenix
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version AC_ACVERSION.
3 7 jrydberg
# Guess values for system-dependent variables and create Makefiles.
4 1743 jeremybenn
# Generated by GNU Autoconf 2.61.
5 7 jrydberg
#
6 1743 jeremybenn
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 7 jrydberg
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10 1576 phoenix
## --------------------- ##
11
## M4sh Initialization.  ##
12
## --------------------- ##
13 7 jrydberg
 
14 1743 jeremybenn
# Be more Bourne compatible
15
DUALCASE=1; export DUALCASE # for MKS sh
16 1576 phoenix
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
  emulate sh
18
  NULLCMD=:
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
  # is contrary to our usage.  Disable this feature.
21
  alias -g '${1+"$@"}'='"$@"'
22 1743 jeremybenn
  setopt NO_GLOB_SUBST
23
else
24
  case `(set -o) 2>/dev/null` in
25
  *posix*) set -o posix ;;
26
esac
27
 
28 1576 phoenix
fi
29
 
30 1743 jeremybenn
 
31
 
32
 
33
# PATH needs CR
34
# Avoid depending upon Character Ranges.
35
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38
as_cr_digits='0123456789'
39
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
 
41
# The user is always right.
42
if test "${PATH_SEPARATOR+set}" != set; then
43
  echo "#! /bin/sh" >conf$$.sh
44
  echo  "exit 0"   >>conf$$.sh
45
  chmod +x conf$$.sh
46
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
47
    PATH_SEPARATOR=';'
48
  else
49
    PATH_SEPARATOR=:
50
  fi
51
  rm -f conf$$.sh
52
fi
53
 
54 1576 phoenix
# Support unset when possible.
55
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56
  as_unset=unset
57
else
58
  as_unset=false
59
fi
60
 
61
 
62 1743 jeremybenn
# IFS
63
# We need space, tab and new line, in precisely that order.  Quoting is
64
# there to prevent editors from complaining about space-tab.
65
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
66
# splitting by setting IFS to empty value.)
67
as_nl='
68
'
69
IFS=" ""        $as_nl"
70
 
71
# Find who we are.  Look in the path if we contain no directory separator.
72
case $0 in
73
  *[\\/]* ) as_myself=$0 ;;
74
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75
for as_dir in $PATH
76
do
77
  IFS=$as_save_IFS
78
  test -z "$as_dir" && as_dir=.
79
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80
done
81
IFS=$as_save_IFS
82
 
83
     ;;
84
esac
85
# We did not find ourselves, most probably we were run as `sh COMMAND'
86
# in which case we are not to be found in the path.
87
if test "x$as_myself" = x; then
88
  as_myself=$0
89
fi
90
if test ! -f "$as_myself"; then
91
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92
  { (exit 1); exit 1; }
93
fi
94
 
95 1576 phoenix
# Work around bugs in pre-3.0 UWIN ksh.
96 1743 jeremybenn
for as_var in ENV MAIL MAILPATH
97
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98
done
99 1576 phoenix
PS1='$ '
100
PS2='> '
101
PS4='+ '
102
 
103
# NLS nuisances.
104
for as_var in \
105
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107
  LC_TELEPHONE LC_TIME
108
do
109
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110
    eval $as_var=C; export $as_var
111
  else
112 1743 jeremybenn
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 1576 phoenix
  fi
114
done
115
 
116
# Required to use basename.
117 1743 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
118
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 1576 phoenix
  as_expr=expr
120
else
121
  as_expr=false
122
fi
123
 
124 1743 jeremybenn
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
125 1576 phoenix
  as_basename=basename
126
else
127
  as_basename=false
128
fi
129
 
130
 
131
# Name of the executable.
132 1743 jeremybenn
as_me=`$as_basename -- "$0" ||
133 1576 phoenix
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134
         X"$0" : 'X\(//\)$' \| \
135 1743 jeremybenn
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 1576 phoenix
echo X/"$0" |
137 1743 jeremybenn
    sed '/^.*\/\([^/][^/]*\)\/*$/{
138
            s//\1/
139
            q
140
          }
141
          /^X\/\(\/\/\)$/{
142
            s//\1/
143
            q
144
          }
145
          /^X\/\(\/\).*/{
146
            s//\1/
147
            q
148
          }
149
          s/.*/./; q'`
150 1576 phoenix
 
151 1743 jeremybenn
# CDPATH.
152
$as_unset CDPATH
153 1576 phoenix
 
154 1242 hpanther
 
155 1743 jeremybenn
if test "x$CONFIG_SHELL" = x; then
156
  if (eval ":") 2>/dev/null; then
157
  as_have_required=yes
158
else
159
  as_have_required=no
160 1576 phoenix
fi
161 1242 hpanther
 
162 1743 jeremybenn
  if test $as_have_required = yes &&     (eval ":
163
(as_func_return () {
164
  (exit \$1)
165
}
166
as_func_success () {
167
  as_func_return 0
168
}
169
as_func_failure () {
170
  as_func_return 1
171
}
172
as_func_ret_success () {
173
  return 0
174
}
175
as_func_ret_failure () {
176
  return 1
177
}
178 1242 hpanther
 
179 1743 jeremybenn
exitcode=0
180
if as_func_success; then
181
  :
182
else
183
  exitcode=1
184
  echo as_func_success failed.
185
fi
186 1242 hpanther
 
187 1743 jeremybenn
if as_func_failure; then
188
  exitcode=1
189
  echo as_func_failure succeeded.
190
fi
191
 
192
if as_func_ret_success; then
193
  :
194
else
195
  exitcode=1
196
  echo as_func_ret_success failed.
197
fi
198
 
199
if as_func_ret_failure; then
200
  exitcode=1
201
  echo as_func_ret_failure succeeded.
202
fi
203
 
204
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205
  :
206
else
207
  exitcode=1
208
  echo positional parameters were not saved.
209
fi
210
 
211
test \$exitcode = 0) || { (exit 1); exit 1; }
212
 
213
(
214
  as_lineno_1=\$LINENO
215
  as_lineno_2=\$LINENO
216
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218
") 2> /dev/null; then
219
  :
220
else
221
  as_candidate_shells=
222 1576 phoenix
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224
do
225
  IFS=$as_save_IFS
226
  test -z "$as_dir" && as_dir=.
227 1743 jeremybenn
  case $as_dir in
228 1576 phoenix
         /*)
229 1743 jeremybenn
           for as_base in sh bash ksh sh5; do
230
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
231
           done;;
232
       esac
233
done
234
IFS=$as_save_IFS
235
 
236
 
237
      for as_shell in $as_candidate_shells $SHELL; do
238
         # Try only shells that exist, to save several forks.
239
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240
                { ("$as_shell") 2> /dev/null <<\_ASEOF
241
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242
  emulate sh
243
  NULLCMD=:
244
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245
  # is contrary to our usage.  Disable this feature.
246
  alias -g '${1+"$@"}'='"$@"'
247
  setopt NO_GLOB_SUBST
248
else
249
  case `(set -o) 2>/dev/null` in
250
  *posix*) set -o posix ;;
251
esac
252
 
253
fi
254
 
255
 
256
:
257
_ASEOF
258
}; then
259
  CONFIG_SHELL=$as_shell
260
               as_have_required=yes
261
               if { "$as_shell" 2> /dev/null <<\_ASEOF
262
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263
  emulate sh
264
  NULLCMD=:
265
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266
  # is contrary to our usage.  Disable this feature.
267
  alias -g '${1+"$@"}'='"$@"'
268
  setopt NO_GLOB_SUBST
269
else
270
  case `(set -o) 2>/dev/null` in
271
  *posix*) set -o posix ;;
272
esac
273
 
274
fi
275
 
276
 
277
:
278
(as_func_return () {
279
  (exit $1)
280
}
281
as_func_success () {
282
  as_func_return 0
283
}
284
as_func_failure () {
285
  as_func_return 1
286
}
287
as_func_ret_success () {
288
  return 0
289
}
290
as_func_ret_failure () {
291
  return 1
292
}
293
 
294
exitcode=0
295
if as_func_success; then
296
  :
297
else
298
  exitcode=1
299
  echo as_func_success failed.
300
fi
301
 
302
if as_func_failure; then
303
  exitcode=1
304
  echo as_func_failure succeeded.
305
fi
306
 
307
if as_func_ret_success; then
308
  :
309
else
310
  exitcode=1
311
  echo as_func_ret_success failed.
312
fi
313
 
314
if as_func_ret_failure; then
315
  exitcode=1
316
  echo as_func_ret_failure succeeded.
317
fi
318
 
319
if ( set x; as_func_ret_success y && test x = "$1" ); then
320
  :
321
else
322
  exitcode=1
323
  echo positional parameters were not saved.
324
fi
325
 
326
test $exitcode = 0) || { (exit 1); exit 1; }
327
 
328
(
329 1576 phoenix
  as_lineno_1=$LINENO
330
  as_lineno_2=$LINENO
331
  test "x$as_lineno_1" != "x$as_lineno_2" &&
332 1743 jeremybenn
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 1242 hpanther
 
334 1743 jeremybenn
_ASEOF
335
}; then
336
  break
337
fi
338
 
339
fi
340
 
341
      done
342
 
343
      if test "x$CONFIG_SHELL" != x; then
344
  for as_var in BASH_ENV ENV
345
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
346
        done
347
        export CONFIG_SHELL
348
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
349
fi
350
 
351
 
352
    if test $as_have_required = no; then
353
  echo This script requires a shell more modern than all the
354
      echo shells that I found on your system.  Please install a
355
      echo modern shell, or manually run the script under such a
356
      echo shell if you do have one.
357
      { (exit 1); exit 1; }
358
fi
359
 
360
 
361
fi
362
 
363
fi
364
 
365
 
366
 
367
(eval "as_func_return () {
368
  (exit \$1)
369
}
370
as_func_success () {
371
  as_func_return 0
372
}
373
as_func_failure () {
374
  as_func_return 1
375
}
376
as_func_ret_success () {
377
  return 0
378
}
379
as_func_ret_failure () {
380
  return 1
381
}
382
 
383
exitcode=0
384
if as_func_success; then
385
  :
386
else
387
  exitcode=1
388
  echo as_func_success failed.
389
fi
390
 
391
if as_func_failure; then
392
  exitcode=1
393
  echo as_func_failure succeeded.
394
fi
395
 
396
if as_func_ret_success; then
397
  :
398
else
399
  exitcode=1
400
  echo as_func_ret_success failed.
401
fi
402
 
403
if as_func_ret_failure; then
404
  exitcode=1
405
  echo as_func_ret_failure succeeded.
406
fi
407
 
408
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409
  :
410
else
411
  exitcode=1
412
  echo positional parameters were not saved.
413
fi
414
 
415
test \$exitcode = 0") || {
416
  echo No shell found that supports shell functions.
417
  echo Please tell autoconf@gnu.org about your system,
418
  echo including any error possibly output before this
419
  echo message
420
}
421
 
422
 
423
 
424
  as_lineno_1=$LINENO
425
  as_lineno_2=$LINENO
426
  test "x$as_lineno_1" != "x$as_lineno_2" &&
427
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
 
429 1576 phoenix
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430
  # uniformly replaced by the line number.  The first 'sed' inserts a
431 1743 jeremybenn
  # line-number line after each line using $LINENO; the second 'sed'
432
  # does the real work.  The second script uses 'N' to pair each
433
  # line-number line with the line containing $LINENO, and appends
434
  # trailing '-' during substitution so that $LINENO is not a special
435
  # case at line end.
436 1576 phoenix
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437 1743 jeremybenn
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
438
  # E. McMahon (1931-1989) for sed's syntax.  :-)
439
  sed -n '
440
    p
441
    /[$]LINENO/=
442
  ' <$as_myself |
443 1576 phoenix
    sed '
444 1743 jeremybenn
      s/[$]LINENO.*/&-/
445
      t lineno
446
      b
447
      :lineno
448 1576 phoenix
      N
449 1743 jeremybenn
      :loop
450
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 1576 phoenix
      t loop
452 1743 jeremybenn
      s/-\n.*//
453 1576 phoenix
    ' >$as_me.lineno &&
454 1743 jeremybenn
  chmod +x "$as_me.lineno" ||
455 1576 phoenix
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456
   { (exit 1); exit 1; }; }
457
 
458
  # Don't try to exec as it changes $[0], causing all sort of problems
459
  # (the dirname of $[0] is not the place where we might find the
460 1743 jeremybenn
  # original and so on.  Autoconf is especially sensitive to this).
461
  . "./$as_me.lineno"
462 1576 phoenix
  # Exit status is that of the last command.
463
  exit
464
}
465
 
466
 
467 1743 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468
  as_dirname=dirname
469
else
470
  as_dirname=false
471
fi
472
 
473
ECHO_C= ECHO_N= ECHO_T=
474
case `echo -n x` in
475
-n*)
476
  case `echo 'x\c'` in
477
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
478
  *)   ECHO_C='\c';;
479
  esac;;
480
*)
481
  ECHO_N='-n';;
482 1576 phoenix
esac
483
 
484 1743 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
485
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
486 1242 hpanther
  as_expr=expr
487
else
488
  as_expr=false
489
fi
490
 
491
rm -f conf$$ conf$$.exe conf$$.file
492 1743 jeremybenn
if test -d conf$$.dir; then
493
  rm -f conf$$.dir/conf$$.file
494
else
495
  rm -f conf$$.dir
496
  mkdir conf$$.dir
497
fi
498 1242 hpanther
echo >conf$$.file
499
if ln -s conf$$.file conf$$ 2>/dev/null; then
500 1743 jeremybenn
  as_ln_s='ln -s'
501
  # ... but there are two gotchas:
502
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504
  # In both cases, we have to default to `cp -p'.
505
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 1242 hpanther
    as_ln_s='cp -p'
507
elif ln conf$$.file conf$$ 2>/dev/null; then
508
  as_ln_s=ln
509
else
510
  as_ln_s='cp -p'
511
fi
512 1743 jeremybenn
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513
rmdir conf$$.dir 2>/dev/null
514 1242 hpanther
 
515 1576 phoenix
if mkdir -p . 2>/dev/null; then
516
  as_mkdir_p=:
517 1242 hpanther
else
518 1576 phoenix
  test -d ./-p && rmdir ./-p
519
  as_mkdir_p=false
520 1242 hpanther
fi
521
 
522 1743 jeremybenn
if test -x / >/dev/null 2>&1; then
523
  as_test_x='test -x'
524
else
525
  if ls -dL / >/dev/null 2>&1; then
526
    as_ls_L_option=L
527
  else
528
    as_ls_L_option=
529
  fi
530
  as_test_x='
531
    eval sh -c '\''
532
      if test -d "$1"; then
533
        test -d "$1/.";
534
      else
535
        case $1 in
536
        -*)set "./$1";;
537
        esac;
538
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539
        ???[sx]*):;;*)false;;esac;fi
540
    '\'' sh
541
  '
542
fi
543
as_executable_p=$as_test_x
544 1242 hpanther
 
545 1576 phoenix
# Sed expression to map a string onto a valid CPP name.
546
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
 
548
# Sed expression to map a string onto a valid variable name.
549
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
550
 
551
 
552 1242 hpanther
 
553 1743 jeremybenn
exec 7<&0 &1
554 1242 hpanther
 
555
# Name of the host.
556
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557
# so uname gets run too.
558
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
559
 
560
#
561
# Initializations.
562
#
563 7 jrydberg
ac_default_prefix=/usr/local
564 1743 jeremybenn
ac_clean_files=
565 1576 phoenix
ac_config_libobj_dir=.
566 1743 jeremybenn
LIBOBJS=
567 1242 hpanther
cross_compiling=no
568
subdirs=
569 1576 phoenix
MFLAGS=
570
MAKEFLAGS=
571 1242 hpanther
SHELL=${CONFIG_SHELL-/bin/sh}
572 7 jrydberg
 
573 1576 phoenix
# Identity of this package.
574
PACKAGE_NAME=
575
PACKAGE_TARNAME=
576
PACKAGE_VERSION=
577
PACKAGE_STRING=
578
PACKAGE_BUGREPORT=
579
 
580 1242 hpanther
ac_unique_file="cpu/or32/execute.c"
581
# Factoring default headers for most tests.
582
ac_includes_default="\
583
#include 
584 1743 jeremybenn
#ifdef HAVE_SYS_TYPES_H
585 1242 hpanther
# include 
586
#endif
587 1743 jeremybenn
#ifdef HAVE_SYS_STAT_H
588 1242 hpanther
# include 
589
#endif
590 1743 jeremybenn
#ifdef STDC_HEADERS
591 1242 hpanther
# include 
592
# include 
593
#else
594 1743 jeremybenn
# ifdef HAVE_STDLIB_H
595 1242 hpanther
#  include 
596
# endif
597
#endif
598 1743 jeremybenn
#ifdef HAVE_STRING_H
599
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 1242 hpanther
#  include 
601
# endif
602
# include 
603
#endif
604 1743 jeremybenn
#ifdef HAVE_STRINGS_H
605 1242 hpanther
# include 
606
#endif
607 1743 jeremybenn
#ifdef HAVE_INTTYPES_H
608 1242 hpanther
# include 
609
#endif
610 1743 jeremybenn
#ifdef HAVE_STDINT_H
611
# include 
612
#endif
613
#ifdef HAVE_UNISTD_H
614 1242 hpanther
# include 
615
#endif"
616
 
617 1743 jeremybenn
ac_subst_vars='SHELL
618
PATH_SEPARATOR
619
PACKAGE_NAME
620
PACKAGE_TARNAME
621
PACKAGE_VERSION
622
PACKAGE_STRING
623
PACKAGE_BUGREPORT
624
exec_prefix
625
prefix
626
program_transform_name
627
bindir
628
sbindir
629
libexecdir
630
datarootdir
631
datadir
632
sysconfdir
633
sharedstatedir
634
localstatedir
635
includedir
636
oldincludedir
637
docdir
638
infodir
639
htmldir
640
dvidir
641
pdfdir
642
psdir
643
libdir
644
localedir
645
mandir
646
DEFS
647
ECHO_C
648
ECHO_N
649
ECHO_T
650
LIBS
651
build_alias
652
host_alias
653
target_alias
654
build
655
build_cpu
656
build_vendor
657
build_os
658
host
659
host_cpu
660
host_vendor
661
host_os
662
target
663
target_cpu
664
target_vendor
665
target_os
666
INSTALL_PROGRAM
667
INSTALL_SCRIPT
668
INSTALL_DATA
669
am__isrc
670
CYGPATH_W
671
PACKAGE
672
VERSION
673
ACLOCAL
674
AUTOCONF
675
AUTOMAKE
676
AUTOHEADER
677
MAKEINFO
678
install_sh
679
STRIP
680
INSTALL_STRIP_PROGRAM
681
mkdir_p
682
AWK
683
SET_MAKE
684
am__leading_dot
685
AMTAR
686
am__tar
687
am__untar
688
CPU_ARCH
689
CC
690
CFLAGS
691
LDFLAGS
692
CPPFLAGS
693
ac_ct_CC
694
EXEEXT
695
OBJEXT
696
DEPDIR
697
am__include
698
am__quote
699
AMDEP_TRUE
700
AMDEP_FALSE
701
AMDEPBACKSLASH
702
CCDEPMODE
703
am__fastdepCC_TRUE
704
am__fastdepCC_FALSE
705
CPP
706
GREP
707
EGREP
708
AR
709
RANLIB
710
MAKE_SHELL
711
GENERATE_NEEDED_TRUE
712
GENERATE_NEEDED_FALSE
713
DYNAMIC_EXECUTION_TRUE
714
DYNAMIC_EXECUTION_FALSE
715
BUILD_DIR
716
LOCAL_CFLAGS
717
LOCAL_LDFLAGS
718
LOCAL_DEFS
719
ARFLAGS
720
SUMVERSION
721
TERMCAP_LIB
722
INCLUDES
723
LIBOBJS
724
LTLIBOBJS'
725 1576 phoenix
ac_subst_files=''
726 1743 jeremybenn
      ac_precious_vars='build_alias
727
host_alias
728
target_alias
729
CC
730
CFLAGS
731
LDFLAGS
732
LIBS
733
CPPFLAGS
734
CPP'
735 1576 phoenix
 
736 1743 jeremybenn
 
737 7 jrydberg
# Initialize some variables set by options.
738 1242 hpanther
ac_init_help=
739
ac_init_version=false
740 7 jrydberg
# The variables have the same names as the options, with
741
# dashes changed to underlines.
742 1242 hpanther
cache_file=/dev/null
743 7 jrydberg
exec_prefix=NONE
744
no_create=
745
no_recursion=
746
prefix=NONE
747
program_prefix=NONE
748
program_suffix=NONE
749
program_transform_name=s,x,x,
750
silent=
751
site=
752
srcdir=
753
verbose=
754
x_includes=NONE
755
x_libraries=NONE
756 1242 hpanther
 
757
# Installation directory options.
758
# These are left unexpanded so users can "make install exec_prefix=/foo"
759
# and all the variables that are supposed to be based on exec_prefix
760
# by default will actually change.
761
# Use braces instead of parens because sh, perl, etc. also accept them.
762 1743 jeremybenn
# (The list follows the same order as the GNU Coding Standards.)
763 7 jrydberg
bindir='${exec_prefix}/bin'
764
sbindir='${exec_prefix}/sbin'
765
libexecdir='${exec_prefix}/libexec'
766 1743 jeremybenn
datarootdir='${prefix}/share'
767
datadir='${datarootdir}'
768 7 jrydberg
sysconfdir='${prefix}/etc'
769
sharedstatedir='${prefix}/com'
770
localstatedir='${prefix}/var'
771
includedir='${prefix}/include'
772
oldincludedir='/usr/include'
773 1743 jeremybenn
docdir='${datarootdir}/doc/${PACKAGE}'
774
infodir='${datarootdir}/info'
775
htmldir='${docdir}'
776
dvidir='${docdir}'
777
pdfdir='${docdir}'
778
psdir='${docdir}'
779
libdir='${exec_prefix}/lib'
780
localedir='${datarootdir}/locale'
781
mandir='${datarootdir}/man'
782 7 jrydberg
 
783
ac_prev=
784 1743 jeremybenn
ac_dashdash=
785 7 jrydberg
for ac_option
786
do
787
  # If the previous option needs an argument, assign it.
788
  if test -n "$ac_prev"; then
789 1743 jeremybenn
    eval $ac_prev=\$ac_option
790 7 jrydberg
    ac_prev=
791
    continue
792
  fi
793
 
794 1743 jeremybenn
  case $ac_option in
795
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796
  *)    ac_optarg=yes ;;
797
  esac
798 7 jrydberg
 
799
  # Accept the important Cygnus configure options, so we can diagnose typos.
800
 
801 1743 jeremybenn
  case $ac_dashdash$ac_option in
802
  --)
803
    ac_dashdash=yes ;;
804 7 jrydberg
 
805
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
806
    ac_prev=bindir ;;
807
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
808 1242 hpanther
    bindir=$ac_optarg ;;
809 7 jrydberg
 
810
  -build | --build | --buil | --bui | --bu)
811 1242 hpanther
    ac_prev=build_alias ;;
812 7 jrydberg
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813 1242 hpanther
    build_alias=$ac_optarg ;;
814 7 jrydberg
 
815
  -cache-file | --cache-file | --cache-fil | --cache-fi \
816
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817
    ac_prev=cache_file ;;
818
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820 1242 hpanther
    cache_file=$ac_optarg ;;
821 7 jrydberg
 
822 1242 hpanther
  --config-cache | -C)
823
    cache_file=config.cache ;;
824
 
825 1743 jeremybenn
  -datadir | --datadir | --datadi | --datad)
826 7 jrydberg
    ac_prev=datadir ;;
827 1743 jeremybenn
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
828 1242 hpanther
    datadir=$ac_optarg ;;
829 7 jrydberg
 
830 1743 jeremybenn
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831
  | --dataroo | --dataro | --datar)
832
    ac_prev=datarootdir ;;
833
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835
    datarootdir=$ac_optarg ;;
836
 
837 7 jrydberg
  -disable-* | --disable-*)
838 1242 hpanther
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 7 jrydberg
    # Reject names that are not valid shell variable names.
840 1743 jeremybenn
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
841 1242 hpanther
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
842
   { (exit 1); exit 1; }; }
843 1743 jeremybenn
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
844
    eval enable_$ac_feature=no ;;
845 7 jrydberg
 
846 1743 jeremybenn
  -docdir | --docdir | --docdi | --doc | --do)
847
    ac_prev=docdir ;;
848
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849
    docdir=$ac_optarg ;;
850
 
851
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
852
    ac_prev=dvidir ;;
853
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854
    dvidir=$ac_optarg ;;
855
 
856 7 jrydberg
  -enable-* | --enable-*)
857 1242 hpanther
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 7 jrydberg
    # Reject names that are not valid shell variable names.
859 1743 jeremybenn
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
860 1242 hpanther
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
861
   { (exit 1); exit 1; }; }
862 1743 jeremybenn
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
863
    eval enable_$ac_feature=\$ac_optarg ;;
864 7 jrydberg
 
865
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867
  | --exec | --exe | --ex)
868
    ac_prev=exec_prefix ;;
869
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871
  | --exec=* | --exe=* | --ex=*)
872 1242 hpanther
    exec_prefix=$ac_optarg ;;
873 7 jrydberg
 
874
  -gas | --gas | --ga | --g)
875
    # Obsolete; use --with-gas.
876
    with_gas=yes ;;
877
 
878 1242 hpanther
  -help | --help | --hel | --he | -h)
879
    ac_init_help=long ;;
880
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881
    ac_init_help=recursive ;;
882
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883
    ac_init_help=short ;;
884 7 jrydberg
 
885
  -host | --host | --hos | --ho)
886 1242 hpanther
    ac_prev=host_alias ;;
887 7 jrydberg
  -host=* | --host=* | --hos=* | --ho=*)
888 1242 hpanther
    host_alias=$ac_optarg ;;
889 7 jrydberg
 
890 1743 jeremybenn
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
891
    ac_prev=htmldir ;;
892
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
893
  | --ht=*)
894
    htmldir=$ac_optarg ;;
895
 
896 7 jrydberg
  -includedir | --includedir | --includedi | --included | --include \
897
  | --includ | --inclu | --incl | --inc)
898
    ac_prev=includedir ;;
899
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900
  | --includ=* | --inclu=* | --incl=* | --inc=*)
901 1242 hpanther
    includedir=$ac_optarg ;;
902 7 jrydberg
 
903
  -infodir | --infodir | --infodi | --infod | --info | --inf)
904
    ac_prev=infodir ;;
905
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906 1242 hpanther
    infodir=$ac_optarg ;;
907 7 jrydberg
 
908
  -libdir | --libdir | --libdi | --libd)
909
    ac_prev=libdir ;;
910
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
911 1242 hpanther
    libdir=$ac_optarg ;;
912 7 jrydberg
 
913
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914
  | --libexe | --libex | --libe)
915
    ac_prev=libexecdir ;;
916
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917
  | --libexe=* | --libex=* | --libe=*)
918 1242 hpanther
    libexecdir=$ac_optarg ;;
919 7 jrydberg
 
920 1743 jeremybenn
  -localedir | --localedir | --localedi | --localed | --locale)
921
    ac_prev=localedir ;;
922
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923
    localedir=$ac_optarg ;;
924
 
925 7 jrydberg
  -localstatedir | --localstatedir | --localstatedi | --localstated \
926 1743 jeremybenn
  | --localstate | --localstat | --localsta | --localst | --locals)
927 7 jrydberg
    ac_prev=localstatedir ;;
928
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929 1743 jeremybenn
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930 1242 hpanther
    localstatedir=$ac_optarg ;;
931 7 jrydberg
 
932
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
933
    ac_prev=mandir ;;
934
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
935 1242 hpanther
    mandir=$ac_optarg ;;
936 7 jrydberg
 
937
  -nfp | --nfp | --nf)
938
    # Obsolete; use --without-fp.
939
    with_fp=no ;;
940
 
941
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942 1576 phoenix
  | --no-cr | --no-c | -n)
943 7 jrydberg
    no_create=yes ;;
944
 
945
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
947
    no_recursion=yes ;;
948
 
949
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951
  | --oldin | --oldi | --old | --ol | --o)
952
    ac_prev=oldincludedir ;;
953
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956 1242 hpanther
    oldincludedir=$ac_optarg ;;
957 7 jrydberg
 
958
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
959
    ac_prev=prefix ;;
960
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
961 1242 hpanther
    prefix=$ac_optarg ;;
962 7 jrydberg
 
963
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
964
  | --program-pre | --program-pr | --program-p)
965
    ac_prev=program_prefix ;;
966
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
967
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968 1242 hpanther
    program_prefix=$ac_optarg ;;
969 7 jrydberg
 
970
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
971
  | --program-suf | --program-su | --program-s)
972
    ac_prev=program_suffix ;;
973
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
974
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975 1242 hpanther
    program_suffix=$ac_optarg ;;
976 7 jrydberg
 
977
  -program-transform-name | --program-transform-name \
978
  | --program-transform-nam | --program-transform-na \
979
  | --program-transform-n | --program-transform- \
980
  | --program-transform | --program-transfor \
981
  | --program-transfo | --program-transf \
982
  | --program-trans | --program-tran \
983
  | --progr-tra | --program-tr | --program-t)
984
    ac_prev=program_transform_name ;;
985
  -program-transform-name=* | --program-transform-name=* \
986
  | --program-transform-nam=* | --program-transform-na=* \
987
  | --program-transform-n=* | --program-transform-=* \
988
  | --program-transform=* | --program-transfor=* \
989
  | --program-transfo=* | --program-transf=* \
990
  | --program-trans=* | --program-tran=* \
991
  | --progr-tra=* | --program-tr=* | --program-t=*)
992 1242 hpanther
    program_transform_name=$ac_optarg ;;
993 7 jrydberg
 
994 1743 jeremybenn
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
995
    ac_prev=pdfdir ;;
996
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
997
    pdfdir=$ac_optarg ;;
998
 
999
  -psdir | --psdir | --psdi | --psd | --ps)
1000
    ac_prev=psdir ;;
1001
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1002
    psdir=$ac_optarg ;;
1003
 
1004 7 jrydberg
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005
  | -silent | --silent | --silen | --sile | --sil)
1006
    silent=yes ;;
1007
 
1008
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1009
    ac_prev=sbindir ;;
1010
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1011
  | --sbi=* | --sb=*)
1012 1242 hpanther
    sbindir=$ac_optarg ;;
1013 7 jrydberg
 
1014
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016
  | --sharedst | --shareds | --shared | --share | --shar \
1017
  | --sha | --sh)
1018
    ac_prev=sharedstatedir ;;
1019
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1022
  | --sha=* | --sh=*)
1023 1242 hpanther
    sharedstatedir=$ac_optarg ;;
1024 7 jrydberg
 
1025
  -site | --site | --sit)
1026
    ac_prev=site ;;
1027
  -site=* | --site=* | --sit=*)
1028 1242 hpanther
    site=$ac_optarg ;;
1029 7 jrydberg
 
1030
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1031
    ac_prev=srcdir ;;
1032
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033 1242 hpanther
    srcdir=$ac_optarg ;;
1034 7 jrydberg
 
1035
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036
  | --syscon | --sysco | --sysc | --sys | --sy)
1037
    ac_prev=sysconfdir ;;
1038
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040 1242 hpanther
    sysconfdir=$ac_optarg ;;
1041 7 jrydberg
 
1042
  -target | --target | --targe | --targ | --tar | --ta | --t)
1043 1242 hpanther
    ac_prev=target_alias ;;
1044 7 jrydberg
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045 1242 hpanther
    target_alias=$ac_optarg ;;
1046 7 jrydberg
 
1047
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1048
    verbose=yes ;;
1049
 
1050 1242 hpanther
  -version | --version | --versio | --versi | --vers | -V)
1051
    ac_init_version=: ;;
1052 7 jrydberg
 
1053
  -with-* | --with-*)
1054 1242 hpanther
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 7 jrydberg
    # Reject names that are not valid shell variable names.
1056 1743 jeremybenn
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057 1242 hpanther
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1058
   { (exit 1); exit 1; }; }
1059 1743 jeremybenn
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1060
    eval with_$ac_package=\$ac_optarg ;;
1061 7 jrydberg
 
1062
  -without-* | --without-*)
1063 1242 hpanther
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1064 7 jrydberg
    # Reject names that are not valid shell variable names.
1065 1743 jeremybenn
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 1242 hpanther
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1067
   { (exit 1); exit 1; }; }
1068 1743 jeremybenn
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1069
    eval with_$ac_package=no ;;
1070 7 jrydberg
 
1071
  --x)
1072
    # Obsolete; use --with-x.
1073
    with_x=yes ;;
1074
 
1075
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076
  | --x-incl | --x-inc | --x-in | --x-i)
1077
    ac_prev=x_includes ;;
1078
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 1242 hpanther
    x_includes=$ac_optarg ;;
1081 7 jrydberg
 
1082
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084
    ac_prev=x_libraries ;;
1085
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 1242 hpanther
    x_libraries=$ac_optarg ;;
1088 7 jrydberg
 
1089 1242 hpanther
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1090
Try \`$0 --help' for more information." >&2
1091
   { (exit 1); exit 1; }; }
1092 7 jrydberg
    ;;
1093
 
1094 1242 hpanther
  *=*)
1095
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096
    # Reject names that are not valid shell variable names.
1097
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1098
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1099
   { (exit 1); exit 1; }; }
1100 1743 jeremybenn
    eval $ac_envvar=\$ac_optarg
1101 1242 hpanther
    export $ac_envvar ;;
1102
 
1103 7 jrydberg
  *)
1104 1242 hpanther
    # FIXME: should be removed in autoconf 3.0.
1105
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1109 7 jrydberg
    ;;
1110
 
1111
  esac
1112
done
1113
 
1114
if test -n "$ac_prev"; then
1115 1242 hpanther
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116
  { echo "$as_me: error: missing argument to $ac_option" >&2
1117
   { (exit 1); exit 1; }; }
1118 7 jrydberg
fi
1119
 
1120 1743 jeremybenn
# Be sure to have absolute directory names.
1121
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122
                datadir sysconfdir sharedstatedir localstatedir includedir \
1123
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124
                libdir localedir mandir
1125 1242 hpanther
do
1126 1743 jeremybenn
  eval ac_val=\$$ac_var
1127 1242 hpanther
  case $ac_val in
1128 1743 jeremybenn
    [\\/$]* | ?:[\\/]* )  continue;;
1129
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1130 1242 hpanther
  esac
1131 1743 jeremybenn
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1132
   { (exit 1); exit 1; }; }
1133 1242 hpanther
done
1134 7 jrydberg
 
1135 1242 hpanther
# There might be people who depend on the old broken behavior: `$host'
1136
# used to hold the argument of --host etc.
1137 1576 phoenix
# FIXME: To remove some day.
1138 1242 hpanther
build=$build_alias
1139
host=$host_alias
1140
target=$target_alias
1141 7 jrydberg
 
1142 1576 phoenix
# FIXME: To remove some day.
1143 1242 hpanther
if test "x$host_alias" != x; then
1144
  if test "x$build_alias" = x; then
1145
    cross_compiling=maybe
1146
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147
    If a cross compiler is detected then cross compile mode will be used." >&2
1148
  elif test "x$build_alias" != "x$host_alias"; then
1149
    cross_compiling=yes
1150
  fi
1151
fi
1152 7 jrydberg
 
1153 1242 hpanther
ac_tool_prefix=
1154
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1155 7 jrydberg
 
1156 1242 hpanther
test "$silent" = yes && exec 6>/dev/null
1157
 
1158 1576 phoenix
 
1159 1743 jeremybenn
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160
ac_ls_di=`ls -di .` &&
1161
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162
  { echo "$as_me: error: Working directory cannot be determined" >&2
1163
   { (exit 1); exit 1; }; }
1164
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1166
   { (exit 1); exit 1; }; }
1167
 
1168
 
1169 7 jrydberg
# Find the source files, if location was not specified.
1170
if test -z "$srcdir"; then
1171
  ac_srcdir_defaulted=yes
1172 1743 jeremybenn
  # Try the directory containing this script, then the parent directory.
1173
  ac_confdir=`$as_dirname -- "$0" ||
1174 1576 phoenix
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175
         X"$0" : 'X\(//\)[^/]' \| \
1176
         X"$0" : 'X\(//\)$' \| \
1177 1743 jeremybenn
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1178 1576 phoenix
echo X"$0" |
1179 1743 jeremybenn
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180
            s//\1/
1181
            q
1182
          }
1183
          /^X\(\/\/\)[^/].*/{
1184
            s//\1/
1185
            q
1186
          }
1187
          /^X\(\/\/\)$/{
1188
            s//\1/
1189
            q
1190
          }
1191
          /^X\(\/\).*/{
1192
            s//\1/
1193
            q
1194
          }
1195
          s/.*/./; q'`
1196 7 jrydberg
  srcdir=$ac_confdir
1197 1743 jeremybenn
  if test ! -r "$srcdir/$ac_unique_file"; then
1198 7 jrydberg
    srcdir=..
1199
  fi
1200
else
1201
  ac_srcdir_defaulted=no
1202
fi
1203 1743 jeremybenn
if test ! -r "$srcdir/$ac_unique_file"; then
1204
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1206 1242 hpanther
   { (exit 1); exit 1; }; }
1207 1743 jeremybenn
fi
1208
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1209
ac_abs_confdir=`(
1210
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1211 1242 hpanther
   { (exit 1); exit 1; }; }
1212 1743 jeremybenn
        pwd)`
1213
# When building in place, set srcdir=.
1214
if test "$ac_abs_confdir" = "$ac_pwd"; then
1215
  srcdir=.
1216 7 jrydberg
fi
1217 1743 jeremybenn
# Remove unnecessary trailing slashes from srcdir.
1218
# Double slashes in file names in object file debugging info
1219
# mess up M-x gdb in Emacs.
1220
case $srcdir in
1221
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222
esac
1223
for ac_var in $ac_precious_vars; do
1224
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225
  eval ac_env_${ac_var}_value=\$${ac_var}
1226
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228
done
1229 7 jrydberg
 
1230 1242 hpanther
#
1231
# Report the --help message.
1232
#
1233
if test "$ac_init_help" = "long"; then
1234
  # Omit some internal or obsolete options to make the list less imposing.
1235
  # This message is too long to be a string in the A/UX 3.1 sh.
1236 1576 phoenix
  cat <<_ACEOF
1237 1242 hpanther
\`configure' configures this package to adapt to many kinds of systems.
1238
 
1239
Usage: $0 [OPTION]... [VAR=VALUE]...
1240
 
1241
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242
VAR=VALUE.  See below for descriptions of some of the useful variables.
1243
 
1244
Defaults for the options are specified in brackets.
1245
 
1246
Configuration:
1247
  -h, --help              display this help and exit
1248
      --help=short        display options specific to this package
1249
      --help=recursive    display the short help of all the included packages
1250
  -V, --version           display version information and exit
1251
  -q, --quiet, --silent   do not print \`checking...' messages
1252
      --cache-file=FILE   cache test results in FILE [disabled]
1253
  -C, --config-cache      alias for \`--cache-file=config.cache'
1254
  -n, --no-create         do not create output files
1255
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1256
 
1257
Installation directories:
1258
  --prefix=PREFIX         install architecture-independent files in PREFIX
1259 1576 phoenix
                          [$ac_default_prefix]
1260 1242 hpanther
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1261 1576 phoenix
                          [PREFIX]
1262 1242 hpanther
 
1263
By default, \`make install' will install all the files in
1264
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1265
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266
for instance \`--prefix=\$HOME'.
1267
 
1268
For better control, use the options below.
1269
 
1270
Fine tuning of the installation directories:
1271
  --bindir=DIR           user executables [EPREFIX/bin]
1272
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1273
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1274
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1275
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1276
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1277
  --libdir=DIR           object code libraries [EPREFIX/lib]
1278
  --includedir=DIR       C header files [PREFIX/include]
1279
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1280 1743 jeremybenn
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1281
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1282
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1283
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1284
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1285
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1286
  --htmldir=DIR          html documentation [DOCDIR]
1287
  --dvidir=DIR           dvi documentation [DOCDIR]
1288
  --pdfdir=DIR           pdf documentation [DOCDIR]
1289
  --psdir=DIR            ps documentation [DOCDIR]
1290 1576 phoenix
_ACEOF
1291 1242 hpanther
 
1292 1576 phoenix
  cat <<\_ACEOF
1293 1242 hpanther
 
1294
Program names:
1295
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1296
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1297
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1298
 
1299
System types:
1300
  --build=BUILD     configure for building on BUILD [guessed]
1301 1576 phoenix
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1302 1242 hpanther
  --target=TARGET   configure for building compilers for TARGET [HOST]
1303 1576 phoenix
_ACEOF
1304 1242 hpanther
fi
1305
 
1306
if test -n "$ac_init_help"; then
1307
 
1308 1576 phoenix
  cat <<\_ACEOF
1309 1242 hpanther
 
1310
Optional Features:
1311
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1312
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1313 1576 phoenix
  --disable-dependency-tracking  speeds up one-time build
1314
  --enable-dependency-tracking   do not reject slow dependency extractors
1315 1242 hpanther
  --enable-profiling      generate profiling code
1316 1576 phoenix
  --enable-execution Execution style to use (simple/complex/dynamic)
1317 1242 hpanther
  --enable-ethphy    compiles sim with ethernet phy support
1318
  --enable-range-stats      Specifies, whether we should do register accesses over time analysis.
1319
  --enable-ov-flag      Whether instructions set overflow flag.
1320
  --enable-arith-flag      Whether arithmethic instructions setflag.
1321
 
1322
Some influential environment variables:
1323
  CC          C compiler command
1324
  CFLAGS      C compiler flags
1325
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1326
              nonstandard directory 
1327 1743 jeremybenn
  LIBS        libraries to pass to the linker, e.g. -l
1328
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1329
              you have headers in a nonstandard directory 
1330 1242 hpanther
  CPP         C preprocessor
1331
 
1332
Use these variables to override the choices made by `configure' or to help
1333
it to find libraries and programs with nonstandard names/locations.
1334
 
1335 1576 phoenix
_ACEOF
1336 1743 jeremybenn
ac_status=$?
1337 1242 hpanther
fi
1338
 
1339
if test "$ac_init_help" = "recursive"; then
1340
  # If there are subdirs, report their specific --help.
1341 1576 phoenix
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1342 1743 jeremybenn
    test -d "$ac_dir" || continue
1343 1576 phoenix
    ac_builddir=.
1344 1242 hpanther
 
1345 1743 jeremybenn
case "$ac_dir" in
1346
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347
*)
1348 1576 phoenix
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1349 1743 jeremybenn
  # A ".." for each directory in $ac_dir_suffix.
1350
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1351
  case $ac_top_builddir_sub in
1352
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1354
  esac ;;
1355
esac
1356
ac_abs_top_builddir=$ac_pwd
1357
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1358
# for backward compatibility:
1359
ac_top_builddir=$ac_top_build_prefix
1360 1242 hpanther
 
1361 1576 phoenix
case $srcdir in
1362 1743 jeremybenn
  .)  # We are building in place.
1363 1576 phoenix
    ac_srcdir=.
1364 1743 jeremybenn
    ac_top_srcdir=$ac_top_builddir_sub
1365
    ac_abs_top_srcdir=$ac_pwd ;;
1366
  [\\/]* | ?:[\\/]* )  # Absolute name.
1367 1576 phoenix
    ac_srcdir=$srcdir$ac_dir_suffix;
1368 1743 jeremybenn
    ac_top_srcdir=$srcdir
1369
    ac_abs_top_srcdir=$srcdir ;;
1370
  *) # Relative name.
1371
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1372
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1373
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1374 1576 phoenix
esac
1375 1743 jeremybenn
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1376 1576 phoenix
 
1377 1743 jeremybenn
    cd "$ac_dir" || { ac_status=$?; continue; }
1378
    # Check for guested configure.
1379
    if test -f "$ac_srcdir/configure.gnu"; then
1380
      echo &&
1381
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1382
    elif test -f "$ac_srcdir/configure"; then
1383
      echo &&
1384
      $SHELL "$ac_srcdir/configure" --help=recursive
1385 1242 hpanther
    else
1386 1576 phoenix
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1387 1743 jeremybenn
    fi || ac_status=$?
1388
    cd "$ac_pwd" || { ac_status=$?; break; }
1389 1242 hpanther
  done
1390
fi
1391
 
1392 1743 jeremybenn
test -n "$ac_init_help" && exit $ac_status
1393 1242 hpanther
if $ac_init_version; then
1394 1576 phoenix
  cat <<\_ACEOF
1395 1743 jeremybenn
configure
1396
generated by GNU Autoconf 2.61
1397 1242 hpanther
 
1398 1743 jeremybenn
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1399
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1400 1242 hpanther
This configure script is free software; the Free Software Foundation
1401
gives unlimited permission to copy, distribute and modify it.
1402 1576 phoenix
_ACEOF
1403 1743 jeremybenn
  exit
1404 1242 hpanther
fi
1405 1743 jeremybenn
cat >config.log <<_ACEOF
1406 1242 hpanther
This file contains any messages produced by compilers while
1407
running configure, to aid debugging if configure makes a mistake.
1408
 
1409
It was created by $as_me, which was
1410 1743 jeremybenn
generated by GNU Autoconf 2.61.  Invocation command line was
1411 1242 hpanther
 
1412
  $ $0 $@
1413
 
1414 1576 phoenix
_ACEOF
1415 1743 jeremybenn
exec 5>>config.log
1416 1242 hpanther
{
1417
cat <<_ASUNAME
1418 1576 phoenix
## --------- ##
1419
## Platform. ##
1420
## --------- ##
1421 1242 hpanther
 
1422
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1423
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1424
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1425
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1426
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1427
 
1428
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1429
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1430
 
1431
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1432
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1433
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1434 1743 jeremybenn
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1435 1242 hpanther
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1436
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1437
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1438
 
1439 1576 phoenix
_ASUNAME
1440 1249 lampret
 
1441 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442
for as_dir in $PATH
1443
do
1444
  IFS=$as_save_IFS
1445
  test -z "$as_dir" && as_dir=.
1446
  echo "PATH: $as_dir"
1447
done
1448 1743 jeremybenn
IFS=$as_save_IFS
1449 1576 phoenix
 
1450 1242 hpanther
} >&5
1451
 
1452 1576 phoenix
cat >&5 <<_ACEOF
1453 1242 hpanther
 
1454
 
1455 1576 phoenix
## ----------- ##
1456
## Core tests. ##
1457
## ----------- ##
1458
 
1459
_ACEOF
1460
 
1461
 
1462 1242 hpanther
# Keep a trace of the command line.
1463
# Strip out --no-create and --no-recursion so they do not pile up.
1464 1576 phoenix
# Strip out --silent because we don't want to record it for future runs.
1465 1242 hpanther
# Also quote any args containing shell meta-characters.
1466 1576 phoenix
# Make two passes to allow for proper duplicate-argument suppression.
1467 1242 hpanther
ac_configure_args=
1468 1576 phoenix
ac_configure_args0=
1469
ac_configure_args1=
1470
ac_must_keep_next=false
1471
for ac_pass in 1 2
1472 1242 hpanther
do
1473 1576 phoenix
  for ac_arg
1474
  do
1475
    case $ac_arg in
1476
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1477
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1478
    | -silent | --silent | --silen | --sile | --sil)
1479
      continue ;;
1480 1743 jeremybenn
    *\'*)
1481 1576 phoenix
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1482
    esac
1483
    case $ac_pass in
1484
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1485
    2)
1486
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1487
      if test $ac_must_keep_next = true; then
1488
        ac_must_keep_next=false # Got value, back to normal.
1489
      else
1490
        case $ac_arg in
1491
          *=* | --config-cache | -C | -disable-* | --disable-* \
1492
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1493
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1494
          | -with-* | --with-* | -without-* | --without-* | --x)
1495
            case "$ac_configure_args0 " in
1496
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1497
            esac
1498
            ;;
1499
          -* ) ac_must_keep_next=true ;;
1500
        esac
1501
      fi
1502 1743 jeremybenn
      ac_configure_args="$ac_configure_args '$ac_arg'"
1503 1576 phoenix
      ;;
1504
    esac
1505
  done
1506 1242 hpanther
done
1507 1576 phoenix
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1508
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1509 1242 hpanther
 
1510
# When interrupted or exit'd, cleanup temporary files, and complete
1511
# config.log.  We remove comments because anyway the quotes in there
1512
# would cause problems or look ugly.
1513 1743 jeremybenn
# WARNING: Use '\'' to represent an apostrophe within the trap.
1514
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1515 1242 hpanther
trap 'exit_status=$?
1516
  # Save into config.log some information that might help in debugging.
1517 1576 phoenix
  {
1518
    echo
1519
 
1520
    cat <<\_ASBOX
1521
## ---------------- ##
1522
## Cache variables. ##
1523
## ---------------- ##
1524
_ASBOX
1525
    echo
1526
    # The following way of writing the cache mishandles newlines in values,
1527 1743 jeremybenn
(
1528
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1529
    eval ac_val=\$$ac_var
1530
    case $ac_val in #(
1531
    *${as_nl}*)
1532
      case $ac_var in #(
1533
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1534
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1535
      esac
1536
      case $ac_var in #(
1537
      _ | IFS | as_nl) ;; #(
1538
      *) $as_unset $ac_var ;;
1539
      esac ;;
1540
    esac
1541
  done
1542 1242 hpanther
  (set) 2>&1 |
1543 1743 jeremybenn
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1544
    *${as_nl}ac_space=\ *)
1545 1242 hpanther
      sed -n \
1546 1743 jeremybenn
        "s/'\''/'\''\\\\'\'''\''/g;
1547
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1548
      ;; #(
1549 1242 hpanther
    *)
1550 1743 jeremybenn
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1551 1242 hpanther
      ;;
1552 1743 jeremybenn
    esac |
1553
    sort
1554
)
1555 1576 phoenix
    echo
1556
 
1557
    cat <<\_ASBOX
1558
## ----------------- ##
1559
## Output variables. ##
1560
## ----------------- ##
1561
_ASBOX
1562
    echo
1563
    for ac_var in $ac_subst_vars
1564
    do
1565 1743 jeremybenn
      eval ac_val=\$$ac_var
1566
      case $ac_val in
1567
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1568
      esac
1569
      echo "$ac_var='\''$ac_val'\''"
1570 1576 phoenix
    done | sort
1571
    echo
1572
 
1573
    if test -n "$ac_subst_files"; then
1574
      cat <<\_ASBOX
1575 1743 jeremybenn
## ------------------- ##
1576
## File substitutions. ##
1577
## ------------------- ##
1578 1576 phoenix
_ASBOX
1579
      echo
1580
      for ac_var in $ac_subst_files
1581
      do
1582 1743 jeremybenn
        eval ac_val=\$$ac_var
1583
        case $ac_val in
1584
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1585
        esac
1586
        echo "$ac_var='\''$ac_val'\''"
1587 1576 phoenix
      done | sort
1588
      echo
1589
    fi
1590
 
1591
    if test -s confdefs.h; then
1592
      cat <<\_ASBOX
1593
## ----------- ##
1594
## confdefs.h. ##
1595
## ----------- ##
1596
_ASBOX
1597
      echo
1598 1743 jeremybenn
      cat confdefs.h
1599 1576 phoenix
      echo
1600
    fi
1601
    test "$ac_signal" != 0 &&
1602
      echo "$as_me: caught signal $ac_signal"
1603
    echo "$as_me: exit $exit_status"
1604
  } >&5
1605 1743 jeremybenn
  rm -f core *.core core.conftest.* &&
1606
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1607 1242 hpanther
    exit $exit_status
1608 1743 jeremybenn
' 0
1609 1242 hpanther
for ac_signal in 1 2 13 15; do
1610
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1611
done
1612
ac_signal=0
1613
 
1614
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1615 1743 jeremybenn
rm -f -r conftest* confdefs.h
1616 1242 hpanther
 
1617 1576 phoenix
# Predefined preprocessor variables.
1618
 
1619
cat >>confdefs.h <<_ACEOF
1620
#define PACKAGE_NAME "$PACKAGE_NAME"
1621
_ACEOF
1622
 
1623
 
1624
cat >>confdefs.h <<_ACEOF
1625
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1626
_ACEOF
1627
 
1628
 
1629
cat >>confdefs.h <<_ACEOF
1630
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1631
_ACEOF
1632
 
1633
 
1634
cat >>confdefs.h <<_ACEOF
1635
#define PACKAGE_STRING "$PACKAGE_STRING"
1636
_ACEOF
1637
 
1638
 
1639
cat >>confdefs.h <<_ACEOF
1640
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1641
_ACEOF
1642
 
1643
 
1644 1242 hpanther
# Let the site file select an alternate cache file if it wants to.
1645 7 jrydberg
# Prefer explicitly selected file to automatically selected ones.
1646 1743 jeremybenn
if test -n "$CONFIG_SITE"; then
1647
  set x "$CONFIG_SITE"
1648
elif test "x$prefix" != xNONE; then
1649
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1650
else
1651
  set x "$ac_default_prefix/share/config.site" \
1652
        "$ac_default_prefix/etc/config.site"
1653 7 jrydberg
fi
1654 1743 jeremybenn
shift
1655
for ac_site_file
1656
do
1657 7 jrydberg
  if test -r "$ac_site_file"; then
1658 1576 phoenix
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1659 1242 hpanther
echo "$as_me: loading site script $ac_site_file" >&6;}
1660 1576 phoenix
    sed 's/^/| /' "$ac_site_file" >&5
1661 7 jrydberg
    . "$ac_site_file"
1662
  fi
1663
done
1664
 
1665
if test -r "$cache_file"; then
1666 1242 hpanther
  # Some versions of bash will fail to source /dev/null (special
1667
  # files actually), so we avoid doing that.
1668
  if test -f "$cache_file"; then
1669 1576 phoenix
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1670 1242 hpanther
echo "$as_me: loading cache $cache_file" >&6;}
1671
    case $cache_file in
1672 1743 jeremybenn
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1673
      *)                      . "./$cache_file";;
1674 1242 hpanther
    esac
1675
  fi
1676 7 jrydberg
else
1677 1576 phoenix
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1678 1242 hpanther
echo "$as_me: creating cache $cache_file" >&6;}
1679
  >$cache_file
1680 7 jrydberg
fi
1681
 
1682 1242 hpanther
# Check that the precious variables saved in the cache have kept the same
1683
# value.
1684
ac_cache_corrupted=false
1685 1743 jeremybenn
for ac_var in $ac_precious_vars; do
1686 1242 hpanther
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1687
  eval ac_new_set=\$ac_env_${ac_var}_set
1688 1743 jeremybenn
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1689
  eval ac_new_val=\$ac_env_${ac_var}_value
1690 1242 hpanther
  case $ac_old_set,$ac_new_set in
1691
    set,)
1692 1576 phoenix
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1693 1242 hpanther
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1694
      ac_cache_corrupted=: ;;
1695
    ,set)
1696 1576 phoenix
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1697 1242 hpanther
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1698
      ac_cache_corrupted=: ;;
1699
    ,);;
1700
    *)
1701
      if test "x$ac_old_val" != "x$ac_new_val"; then
1702 1576 phoenix
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1703 1242 hpanther
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1704 1576 phoenix
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1705 1242 hpanther
echo "$as_me:   former value:  $ac_old_val" >&2;}
1706 1576 phoenix
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1707 1242 hpanther
echo "$as_me:   current value: $ac_new_val" >&2;}
1708 1576 phoenix
        ac_cache_corrupted=:
1709 1242 hpanther
      fi;;
1710
  esac
1711 1576 phoenix
  # Pass precious variables to config.status.
1712 1242 hpanther
  if test "$ac_new_set" = set; then
1713
    case $ac_new_val in
1714 1743 jeremybenn
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1715 1576 phoenix
    *) ac_arg=$ac_var=$ac_new_val ;;
1716 1242 hpanther
    esac
1717 1576 phoenix
    case " $ac_configure_args " in
1718
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1719
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1720
    esac
1721 1242 hpanther
  fi
1722
done
1723
if $ac_cache_corrupted; then
1724 1576 phoenix
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1725 1242 hpanther
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1726 1576 phoenix
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1727 1242 hpanther
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1728
   { (exit 1); exit 1; }; }
1729
fi
1730
 
1731 7 jrydberg
 
1732
 
1733 1576 phoenix
 
1734
 
1735
 
1736
 
1737
 
1738
 
1739
 
1740
 
1741
 
1742
 
1743
 
1744
 
1745
 
1746
 
1747 1743 jeremybenn
ac_ext=c
1748
ac_cpp='$CPP $CPPFLAGS'
1749
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1750
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1751
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1752 1576 phoenix
 
1753
 
1754
 
1755 7 jrydberg
ac_aux_dir=
1756 1743 jeremybenn
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1757
  if test -f "$ac_dir/install-sh"; then
1758 7 jrydberg
    ac_aux_dir=$ac_dir
1759
    ac_install_sh="$ac_aux_dir/install-sh -c"
1760
    break
1761 1743 jeremybenn
  elif test -f "$ac_dir/install.sh"; then
1762 7 jrydberg
    ac_aux_dir=$ac_dir
1763
    ac_install_sh="$ac_aux_dir/install.sh -c"
1764
    break
1765 1743 jeremybenn
  elif test -f "$ac_dir/shtool"; then
1766 1242 hpanther
    ac_aux_dir=$ac_dir
1767
    ac_install_sh="$ac_aux_dir/shtool install -c"
1768
    break
1769 7 jrydberg
  fi
1770
done
1771
if test -z "$ac_aux_dir"; then
1772 1743 jeremybenn
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1773
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1774 1242 hpanther
   { (exit 1); exit 1; }; }
1775 7 jrydberg
fi
1776
 
1777 1743 jeremybenn
# These three variables are undocumented and unsupported,
1778
# and are intended to be withdrawn in a future Autoconf release.
1779
# They can cause serious problems if a builder's source tree is in a directory
1780
# whose full name contains unusual characters.
1781
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1782
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1783
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1784
 
1785
 
1786 1242 hpanther
# Make sure we can run config.sub.
1787 1743 jeremybenn
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1788
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1789
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1790 1242 hpanther
   { (exit 1); exit 1; }; }
1791 11 jrydberg
 
1792 1743 jeremybenn
{ echo "$as_me:$LINENO: checking build system type" >&5
1793
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1794 1242 hpanther
if test "${ac_cv_build+set}" = set; then
1795
  echo $ECHO_N "(cached) $ECHO_C" >&6
1796
else
1797 1743 jeremybenn
  ac_build_alias=$build_alias
1798
test "x$ac_build_alias" = x &&
1799
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1800
test "x$ac_build_alias" = x &&
1801 1576 phoenix
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1802 1242 hpanther
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1803
   { (exit 1); exit 1; }; }
1804 1743 jeremybenn
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1805
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1806
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1807 1242 hpanther
   { (exit 1); exit 1; }; }
1808 11 jrydberg
 
1809
fi
1810 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1811
echo "${ECHO_T}$ac_cv_build" >&6; }
1812
case $ac_cv_build in
1813
*-*-*) ;;
1814
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1815
echo "$as_me: error: invalid value of canonical build" >&2;}
1816
   { (exit 1); exit 1; }; };;
1817
esac
1818 1242 hpanther
build=$ac_cv_build
1819 1743 jeremybenn
ac_save_IFS=$IFS; IFS='-'
1820
set x $ac_cv_build
1821
shift
1822
build_cpu=$1
1823
build_vendor=$2
1824
shift; shift
1825
# Remember, the first character of IFS is used to create $*,
1826
# except with old shells:
1827
build_os=$*
1828
IFS=$ac_save_IFS
1829
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1830 11 jrydberg
 
1831 1576 phoenix
 
1832 1743 jeremybenn
{ echo "$as_me:$LINENO: checking host system type" >&5
1833
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1834 1242 hpanther
if test "${ac_cv_host+set}" = set; then
1835
  echo $ECHO_N "(cached) $ECHO_C" >&6
1836
else
1837 1743 jeremybenn
  if test "x$host_alias" = x; then
1838
  ac_cv_host=$ac_cv_build
1839
else
1840
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1841
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1842
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1843 1242 hpanther
   { (exit 1); exit 1; }; }
1844 1743 jeremybenn
fi
1845 11 jrydberg
 
1846 1242 hpanther
fi
1847 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1848
echo "${ECHO_T}$ac_cv_host" >&6; }
1849
case $ac_cv_host in
1850
*-*-*) ;;
1851
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1852
echo "$as_me: error: invalid value of canonical host" >&2;}
1853
   { (exit 1); exit 1; }; };;
1854
esac
1855 1242 hpanther
host=$ac_cv_host
1856 1743 jeremybenn
ac_save_IFS=$IFS; IFS='-'
1857
set x $ac_cv_host
1858
shift
1859
host_cpu=$1
1860
host_vendor=$2
1861
shift; shift
1862
# Remember, the first character of IFS is used to create $*,
1863
# except with old shells:
1864
host_os=$*
1865
IFS=$ac_save_IFS
1866
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1867 11 jrydberg
 
1868 1576 phoenix
 
1869 1743 jeremybenn
{ echo "$as_me:$LINENO: checking target system type" >&5
1870
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1871 1242 hpanther
if test "${ac_cv_target+set}" = set; then
1872
  echo $ECHO_N "(cached) $ECHO_C" >&6
1873
else
1874 1743 jeremybenn
  if test "x$target_alias" = x; then
1875
  ac_cv_target=$ac_cv_host
1876
else
1877
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1878
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1879
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1880 1242 hpanther
   { (exit 1); exit 1; }; }
1881 1743 jeremybenn
fi
1882 11 jrydberg
 
1883 1242 hpanther
fi
1884 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1885
echo "${ECHO_T}$ac_cv_target" >&6; }
1886
case $ac_cv_target in
1887
*-*-*) ;;
1888
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1889
echo "$as_me: error: invalid value of canonical target" >&2;}
1890
   { (exit 1); exit 1; }; };;
1891
esac
1892 1242 hpanther
target=$ac_cv_target
1893 1743 jeremybenn
ac_save_IFS=$IFS; IFS='-'
1894
set x $ac_cv_target
1895
shift
1896
target_cpu=$1
1897
target_vendor=$2
1898
shift; shift
1899
# Remember, the first character of IFS is used to create $*,
1900
# except with old shells:
1901
target_os=$*
1902
IFS=$ac_save_IFS
1903
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1904 11 jrydberg
 
1905 1576 phoenix
 
1906 1242 hpanther
# The aliases save the names the user supplied, while $host etc.
1907
# will get canonicalized.
1908
test -n "$target_alias" &&
1909 11 jrydberg
  test "$program_prefix$program_suffix$program_transform_name" = \
1910
    NONENONEs,x,x, &&
1911
  program_prefix=${target_alias}-
1912 1743 jeremybenn
am__api_version='1.10'
1913
 
1914 7 jrydberg
# Find a good install program.  We prefer a C program (faster),
1915
# so one script is as good as another.  But avoid the broken or
1916
# incompatible versions:
1917
# SysV /etc/install, /usr/sbin/install
1918
# SunOS /usr/etc/install
1919
# IRIX /sbin/install
1920
# AIX /bin/install
1921 1242 hpanther
# AmigaOS /C/install, which installs bootblocks on floppy discs
1922 7 jrydberg
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1923
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1924
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1925 1576 phoenix
# OS/2's system install, which has a completely different semantic
1926 7 jrydberg
# ./install, which can be erroneously created by make from ./install.sh.
1927 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1928
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1929 7 jrydberg
if test -z "$INSTALL"; then
1930 1242 hpanther
if test "${ac_cv_path_install+set}" = set; then
1931
  echo $ECHO_N "(cached) $ECHO_C" >&6
1932 7 jrydberg
else
1933 1576 phoenix
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934
for as_dir in $PATH
1935
do
1936
  IFS=$as_save_IFS
1937
  test -z "$as_dir" && as_dir=.
1938
  # Account for people who put trailing slashes in PATH elements.
1939
case $as_dir/ in
1940
  ./ | .// | /cC/* | \
1941
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1942
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1943
  /usr/ucb/* ) ;;
1944
  *)
1945
    # OSF1 and SCO ODT 3.0 have their own names for install.
1946
    # Don't use installbsd from OSF since it installs stuff as root
1947
    # by default.
1948
    for ac_prog in ginstall scoinst install; do
1949
      for ac_exec_ext in '' $ac_executable_extensions; do
1950 1743 jeremybenn
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1951 1249 lampret
          if test $ac_prog = install &&
1952 1576 phoenix
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1953 1249 lampret
            # AIX install.  It has an incompatible calling convention.
1954
            :
1955
          elif test $ac_prog = install &&
1956 1576 phoenix
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1957 1249 lampret
            # program-specific install script used by HP pwplus--don't use.
1958
            :
1959
          else
1960 1576 phoenix
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1961
            break 3
1962 1249 lampret
          fi
1963
        fi
1964 7 jrydberg
      done
1965 1576 phoenix
    done
1966
    ;;
1967
esac
1968
done
1969 1743 jeremybenn
IFS=$as_save_IFS
1970 7 jrydberg
 
1971 1576 phoenix
 
1972 7 jrydberg
fi
1973
  if test "${ac_cv_path_install+set}" = set; then
1974 1242 hpanther
    INSTALL=$ac_cv_path_install
1975 7 jrydberg
  else
1976 1743 jeremybenn
    # As a last resort, use the slow shell script.  Don't cache a
1977
    # value for INSTALL within a source directory, because that will
1978 7 jrydberg
    # break other packages using the cache if that directory is
1979 1743 jeremybenn
    # removed, or if the value is a relative name.
1980 1242 hpanther
    INSTALL=$ac_install_sh
1981 7 jrydberg
  fi
1982
fi
1983 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1984
echo "${ECHO_T}$INSTALL" >&6; }
1985 7 jrydberg
 
1986
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1987
# It thinks the first close brace ends the variable substitution.
1988
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1989
 
1990 1242 hpanther
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1991 7 jrydberg
 
1992
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1993
 
1994 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1995
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1996 7 jrydberg
# Just in case
1997
sleep 1
1998 1242 hpanther
echo timestamp > conftest.file
1999 7 jrydberg
# Do `set' in a subshell so we don't clobber the current shell's
2000
# arguments.  Must try -L first in case configure is actually a
2001
# symlink; some systems play weird games with the mod time of symlinks
2002
# (eg FreeBSD returns the mod time of the symlink's containing
2003
# directory).
2004
if (
2005 1242 hpanther
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2006 7 jrydberg
   if test "$*" = "X"; then
2007
      # -L didn't work.
2008 1242 hpanther
      set X `ls -t $srcdir/configure conftest.file`
2009 7 jrydberg
   fi
2010 1242 hpanther
   rm -f conftest.file
2011
   if test "$*" != "X $srcdir/configure conftest.file" \
2012
      && test "$*" != "X conftest.file $srcdir/configure"; then
2013 7 jrydberg
 
2014
      # If neither matched, then we have a broken ls.  This can happen
2015
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2016
      # broken ls alias from the environment.  This has actually
2017
      # happened.  Such a system could not be considered "sane".
2018 1576 phoenix
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2019 1242 hpanther
alias in your environment" >&5
2020
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2021
alias in your environment" >&2;}
2022
   { (exit 1); exit 1; }; }
2023 7 jrydberg
   fi
2024
 
2025 1242 hpanther
   test "$2" = conftest.file
2026 7 jrydberg
   )
2027
then
2028
   # Ok.
2029
   :
2030
else
2031 1576 phoenix
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2032 1242 hpanther
Check your system clock" >&5
2033
echo "$as_me: error: newly created file is older than distributed files!
2034
Check your system clock" >&2;}
2035
   { (exit 1); exit 1; }; }
2036 7 jrydberg
fi
2037 1743 jeremybenn
{ echo "$as_me:$LINENO: result: yes" >&5
2038
echo "${ECHO_T}yes" >&6; }
2039 7 jrydberg
test "$program_prefix" != NONE &&
2040 1743 jeremybenn
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2041 7 jrydberg
# Use a double $ so make ignores it.
2042
test "$program_suffix" != NONE &&
2043 1743 jeremybenn
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2044 1242 hpanther
# Double any \ or $.  echo might interpret backslashes.
2045
# By default was `s,x,x', remove it if useless.
2046
cat <<\_ACEOF >conftest.sed
2047
s/[\\$]/&&/g;s/;s,x,x,$//
2048
_ACEOF
2049
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2050 1743 jeremybenn
rm -f conftest.sed
2051 7 jrydberg
 
2052 1242 hpanther
# expand $ac_aux_dir to an absolute path
2053
am_aux_dir=`cd $ac_aux_dir && pwd`
2054
 
2055
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2056
# Use eval to expand $SHELL
2057
if eval "$MISSING --run true"; then
2058
  am_missing_run="$MISSING --run "
2059 7 jrydberg
else
2060 1242 hpanther
  am_missing_run=
2061 1576 phoenix
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2062 1242 hpanther
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2063
fi
2064
 
2065 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2066
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2067
if test -z "$MKDIR_P"; then
2068
  if test "${ac_cv_path_mkdir+set}" = set; then
2069
  echo $ECHO_N "(cached) $ECHO_C" >&6
2070 1576 phoenix
else
2071 1743 jeremybenn
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2073
do
2074
  IFS=$as_save_IFS
2075
  test -z "$as_dir" && as_dir=.
2076
  for ac_prog in mkdir gmkdir; do
2077
         for ac_exec_ext in '' $ac_executable_extensions; do
2078
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2079
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2080
             'mkdir (GNU coreutils) '* | \
2081
             'mkdir (coreutils) '* | \
2082
             'mkdir (fileutils) '4.1*)
2083
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2084
               break 3;;
2085
           esac
2086
         done
2087
       done
2088
done
2089
IFS=$as_save_IFS
2090
 
2091
fi
2092
 
2093
  if test "${ac_cv_path_mkdir+set}" = set; then
2094
    MKDIR_P="$ac_cv_path_mkdir -p"
2095 1576 phoenix
  else
2096 1743 jeremybenn
    # As a last resort, use the slow shell script.  Don't cache a
2097
    # value for MKDIR_P within a source directory, because that will
2098
    # break other packages using the cache if that directory is
2099
    # removed, or if the value is a relative name.
2100
    test -d ./--version && rmdir ./--version
2101
    MKDIR_P="$ac_install_sh -d"
2102 1576 phoenix
  fi
2103
fi
2104 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2105
echo "${ECHO_T}$MKDIR_P" >&6; }
2106 1576 phoenix
 
2107 1743 jeremybenn
mkdir_p="$MKDIR_P"
2108
case $mkdir_p in
2109
  [\\/$]* | ?:[\\/]*) ;;
2110
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2111
esac
2112
 
2113 1576 phoenix
for ac_prog in gawk mawk nawk awk
2114 1242 hpanther
do
2115
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2116
set dummy $ac_prog; ac_word=$2
2117 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2118
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2119 1242 hpanther
if test "${ac_cv_prog_AWK+set}" = set; then
2120
  echo $ECHO_N "(cached) $ECHO_C" >&6
2121
else
2122
  if test -n "$AWK"; then
2123
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2124
else
2125 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126
for as_dir in $PATH
2127
do
2128
  IFS=$as_save_IFS
2129
  test -z "$as_dir" && as_dir=.
2130
  for ac_exec_ext in '' $ac_executable_extensions; do
2131 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2132 1576 phoenix
    ac_cv_prog_AWK="$ac_prog"
2133
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134
    break 2
2135
  fi
2136 1242 hpanther
done
2137 1576 phoenix
done
2138 1743 jeremybenn
IFS=$as_save_IFS
2139 1242 hpanther
 
2140
fi
2141
fi
2142
AWK=$ac_cv_prog_AWK
2143
if test -n "$AWK"; then
2144 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $AWK" >&5
2145
echo "${ECHO_T}$AWK" >&6; }
2146 1242 hpanther
else
2147 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2148
echo "${ECHO_T}no" >&6; }
2149 1242 hpanther
fi
2150
 
2151 1743 jeremybenn
 
2152 1242 hpanther
  test -n "$AWK" && break
2153
done
2154
 
2155 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2156
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2157
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2158
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2159 1242 hpanther
  echo $ECHO_N "(cached) $ECHO_C" >&6
2160
else
2161 1576 phoenix
  cat >conftest.make <<\_ACEOF
2162 1743 jeremybenn
SHELL = /bin/sh
2163 7 jrydberg
all:
2164 1743 jeremybenn
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2165 1576 phoenix
_ACEOF
2166 7 jrydberg
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2167 1743 jeremybenn
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2168
  *@@@%%%=?*=@@@%%%*)
2169
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2170
  *)
2171
    eval ac_cv_prog_make_${ac_make}_set=no;;
2172
esac
2173 1242 hpanther
rm -f conftest.make
2174 7 jrydberg
fi
2175 1743 jeremybenn
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2176
  { echo "$as_me:$LINENO: result: yes" >&5
2177
echo "${ECHO_T}yes" >&6; }
2178 7 jrydberg
  SET_MAKE=
2179
else
2180 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2181
echo "${ECHO_T}no" >&6; }
2182 7 jrydberg
  SET_MAKE="MAKE=${MAKE-make}"
2183
fi
2184
 
2185 1576 phoenix
rm -rf .tst 2>/dev/null
2186
mkdir .tst 2>/dev/null
2187
if test -d .tst; then
2188
  am__leading_dot=.
2189
else
2190
  am__leading_dot=_
2191
fi
2192
rmdir .tst 2>/dev/null
2193
 
2194 1743 jeremybenn
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2195
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2196
  # is not polluted with repeated "-I."
2197
  am__isrc=' -I$(srcdir)'
2198
  # test to see if srcdir already configured
2199
  if test -f $srcdir/config.status; then
2200
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2201 1242 hpanther
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2202
   { (exit 1); exit 1; }; }
2203 1743 jeremybenn
  fi
2204 1242 hpanther
fi
2205 7 jrydberg
 
2206 1576 phoenix
# test whether we have cygpath
2207
if test -z "$CYGPATH_W"; then
2208
  if (cygpath --version) >/dev/null 2>/dev/null; then
2209
    CYGPATH_W='cygpath -w'
2210
  else
2211
    CYGPATH_W=echo
2212
  fi
2213
fi
2214
 
2215
 
2216 1242 hpanther
# Define the identity of the package.
2217
 PACKAGE=or1ksim
2218
 VERSION=1.3
2219 7 jrydberg
 
2220 1576 phoenix
 
2221
cat >>confdefs.h <<_ACEOF
2222 7 jrydberg
#define PACKAGE "$PACKAGE"
2223 1576 phoenix
_ACEOF
2224 7 jrydberg
 
2225 1576 phoenix
 
2226
cat >>confdefs.h <<_ACEOF
2227 7 jrydberg
#define VERSION "$VERSION"
2228 1576 phoenix
_ACEOF
2229 7 jrydberg
 
2230 1242 hpanther
# Some tools Automake needs.
2231 7 jrydberg
 
2232 1376 phoenix
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2233 7 jrydberg
 
2234 1576 phoenix
 
2235 1242 hpanther
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2236
 
2237 1576 phoenix
 
2238 1376 phoenix
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2239 1242 hpanther
 
2240 1576 phoenix
 
2241 1242 hpanther
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2242
 
2243 1576 phoenix
 
2244 1242 hpanther
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2245
 
2246 1743 jeremybenn
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2247 1242 hpanther
 
2248
# Installed binaries are usually stripped using `strip' when the user
2249
# run `make install-strip'.  However `strip' might not be the right
2250
# tool to use in cross-compilation environments, therefore Automake
2251
# will honor the `STRIP' environment variable to overrule this program.
2252
if test "$cross_compiling" != no; then
2253
  if test -n "$ac_tool_prefix"; then
2254
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2255
set dummy ${ac_tool_prefix}strip; ac_word=$2
2256 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2257
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2258 1242 hpanther
if test "${ac_cv_prog_STRIP+set}" = set; then
2259
  echo $ECHO_N "(cached) $ECHO_C" >&6
2260 7 jrydberg
else
2261 1242 hpanther
  if test -n "$STRIP"; then
2262
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2263
else
2264 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265
for as_dir in $PATH
2266
do
2267
  IFS=$as_save_IFS
2268
  test -z "$as_dir" && as_dir=.
2269
  for ac_exec_ext in '' $ac_executable_extensions; do
2270 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 1576 phoenix
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2272
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273
    break 2
2274
  fi
2275 1242 hpanther
done
2276 1576 phoenix
done
2277 1743 jeremybenn
IFS=$as_save_IFS
2278 1242 hpanther
 
2279 7 jrydberg
fi
2280 1242 hpanther
fi
2281
STRIP=$ac_cv_prog_STRIP
2282
if test -n "$STRIP"; then
2283 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2284
echo "${ECHO_T}$STRIP" >&6; }
2285 7 jrydberg
else
2286 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2287
echo "${ECHO_T}no" >&6; }
2288 7 jrydberg
fi
2289
 
2290 1743 jeremybenn
 
2291 1242 hpanther
fi
2292
if test -z "$ac_cv_prog_STRIP"; then
2293
  ac_ct_STRIP=$STRIP
2294
  # Extract the first word of "strip", so it can be a program name with args.
2295
set dummy strip; ac_word=$2
2296 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2297
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2298 1242 hpanther
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2299
  echo $ECHO_N "(cached) $ECHO_C" >&6
2300 7 jrydberg
else
2301 1242 hpanther
  if test -n "$ac_ct_STRIP"; then
2302
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2303
else
2304 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305
for as_dir in $PATH
2306
do
2307
  IFS=$as_save_IFS
2308
  test -z "$as_dir" && as_dir=.
2309
  for ac_exec_ext in '' $ac_executable_extensions; do
2310 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2311 1576 phoenix
    ac_cv_prog_ac_ct_STRIP="strip"
2312
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313
    break 2
2314
  fi
2315 1242 hpanther
done
2316 1576 phoenix
done
2317 1743 jeremybenn
IFS=$as_save_IFS
2318 1242 hpanther
 
2319 7 jrydberg
fi
2320 1242 hpanther
fi
2321
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2322
if test -n "$ac_ct_STRIP"; then
2323 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2324
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2325 7 jrydberg
else
2326 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2327
echo "${ECHO_T}no" >&6; }
2328 7 jrydberg
fi
2329
 
2330 1743 jeremybenn
  if test "x$ac_ct_STRIP" = x; then
2331
    STRIP=":"
2332
  else
2333
    case $cross_compiling:$ac_tool_warned in
2334
yes:)
2335
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2336
whose name does not start with the host triplet.  If you think this
2337
configuration is useful to you, please write to autoconf@gnu.org." >&5
2338
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2339
whose name does not start with the host triplet.  If you think this
2340
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2341
ac_tool_warned=yes ;;
2342
esac
2343
    STRIP=$ac_ct_STRIP
2344
  fi
2345 7 jrydberg
else
2346 1242 hpanther
  STRIP="$ac_cv_prog_STRIP"
2347 7 jrydberg
fi
2348
 
2349 1242 hpanther
fi
2350 1743 jeremybenn
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2351 7 jrydberg
 
2352 1242 hpanther
# We need awk for the "check" target.  The system "awk" is bad on
2353
# some platforms.
2354 1576 phoenix
# Always define AMTAR for backward compatibility.
2355 7 jrydberg
 
2356 1576 phoenix
AMTAR=${AMTAR-"${am_missing_run}tar"}
2357 7 jrydberg
 
2358 1576 phoenix
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2359
 
2360
 
2361
 
2362
 
2363
 
2364 1743 jeremybenn
ac_config_headers="$ac_config_headers config.h"
2365 1576 phoenix
 
2366
 
2367
 
2368 1242 hpanther
SIMVERSION=1.2
2369 7 jrydberg
 
2370 1576 phoenix
 
2371
 
2372 28 lampret
case "$target_cpu" in
2373
or32*)  CPU_ARCH=or32;
2374
        ARCH_ISA=OR32;;
2375
dlx*)   CPU_ARCH=dlx;
2376
        ARCH_ISA=DLX;;
2377 1576 phoenix
*)      { { echo "$as_me:$LINENO: error: Unknown target architechture $target_cpu" >&5
2378
echo "$as_me: error: Unknown target architechture $target_cpu" >&2;}
2379
   { (exit 1); exit 1; }; };;
2380 28 lampret
esac
2381
 
2382 1576 phoenix
 
2383 7 jrydberg
# We want these before the checks, so the checks can modify their values.
2384 1376 phoenix
test -z "$CFLAGS" && CFLAGS="-g -Wall" auto_cflags=1
2385 7 jrydberg
 
2386 1242 hpanther
ac_ext=c
2387
ac_cpp='$CPP $CPPFLAGS'
2388
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2391
if test -n "$ac_tool_prefix"; then
2392
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2393
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2394 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2395
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 1242 hpanther
if test "${ac_cv_prog_CC+set}" = set; then
2397
  echo $ECHO_N "(cached) $ECHO_C" >&6
2398
else
2399
  if test -n "$CC"; then
2400
  ac_cv_prog_CC="$CC" # Let the user override the test.
2401
else
2402 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403
for as_dir in $PATH
2404
do
2405
  IFS=$as_save_IFS
2406
  test -z "$as_dir" && as_dir=.
2407
  for ac_exec_ext in '' $ac_executable_extensions; do
2408 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 1576 phoenix
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2410
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411
    break 2
2412
  fi
2413 1242 hpanther
done
2414 1576 phoenix
done
2415 1743 jeremybenn
IFS=$as_save_IFS
2416 1242 hpanther
 
2417
fi
2418
fi
2419
CC=$ac_cv_prog_CC
2420
if test -n "$CC"; then
2421 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $CC" >&5
2422
echo "${ECHO_T}$CC" >&6; }
2423 1242 hpanther
else
2424 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2425
echo "${ECHO_T}no" >&6; }
2426 1242 hpanther
fi
2427
 
2428 1743 jeremybenn
 
2429 1242 hpanther
fi
2430
if test -z "$ac_cv_prog_CC"; then
2431
  ac_ct_CC=$CC
2432
  # Extract the first word of "gcc", so it can be a program name with args.
2433 7 jrydberg
set dummy gcc; ac_word=$2
2434 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2435
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436 1242 hpanther
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2437
  echo $ECHO_N "(cached) $ECHO_C" >&6
2438 7 jrydberg
else
2439 1242 hpanther
  if test -n "$ac_ct_CC"; then
2440
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2441
else
2442 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443
for as_dir in $PATH
2444
do
2445
  IFS=$as_save_IFS
2446
  test -z "$as_dir" && as_dir=.
2447
  for ac_exec_ext in '' $ac_executable_extensions; do
2448 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 1576 phoenix
    ac_cv_prog_ac_ct_CC="gcc"
2450
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451
    break 2
2452
  fi
2453 1242 hpanther
done
2454 1576 phoenix
done
2455 1743 jeremybenn
IFS=$as_save_IFS
2456 1242 hpanther
 
2457
fi
2458
fi
2459
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2460
if test -n "$ac_ct_CC"; then
2461 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2462
echo "${ECHO_T}$ac_ct_CC" >&6; }
2463 1242 hpanther
else
2464 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2465
echo "${ECHO_T}no" >&6; }
2466 1242 hpanther
fi
2467
 
2468 1743 jeremybenn
  if test "x$ac_ct_CC" = x; then
2469
    CC=""
2470
  else
2471
    case $cross_compiling:$ac_tool_warned in
2472
yes:)
2473
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2474
whose name does not start with the host triplet.  If you think this
2475
configuration is useful to you, please write to autoconf@gnu.org." >&5
2476
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2477
whose name does not start with the host triplet.  If you think this
2478
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2479
ac_tool_warned=yes ;;
2480
esac
2481
    CC=$ac_ct_CC
2482
  fi
2483 1242 hpanther
else
2484
  CC="$ac_cv_prog_CC"
2485
fi
2486
 
2487
if test -z "$CC"; then
2488 1743 jeremybenn
          if test -n "$ac_tool_prefix"; then
2489
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2490 1242 hpanther
set dummy ${ac_tool_prefix}cc; ac_word=$2
2491 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2492
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493 1242 hpanther
if test "${ac_cv_prog_CC+set}" = set; then
2494
  echo $ECHO_N "(cached) $ECHO_C" >&6
2495
else
2496 7 jrydberg
  if test -n "$CC"; then
2497
  ac_cv_prog_CC="$CC" # Let the user override the test.
2498
else
2499 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500
for as_dir in $PATH
2501
do
2502
  IFS=$as_save_IFS
2503
  test -z "$as_dir" && as_dir=.
2504
  for ac_exec_ext in '' $ac_executable_extensions; do
2505 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 1576 phoenix
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2507
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508
    break 2
2509
  fi
2510 1242 hpanther
done
2511 1576 phoenix
done
2512 1743 jeremybenn
IFS=$as_save_IFS
2513 1242 hpanther
 
2514 7 jrydberg
fi
2515
fi
2516 1242 hpanther
CC=$ac_cv_prog_CC
2517 7 jrydberg
if test -n "$CC"; then
2518 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $CC" >&5
2519
echo "${ECHO_T}$CC" >&6; }
2520 7 jrydberg
else
2521 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2522
echo "${ECHO_T}no" >&6; }
2523 7 jrydberg
fi
2524
 
2525 1743 jeremybenn
 
2526 1576 phoenix
  fi
2527 1242 hpanther
fi
2528 7 jrydberg
if test -z "$CC"; then
2529
  # Extract the first word of "cc", so it can be a program name with args.
2530
set dummy cc; ac_word=$2
2531 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2533 1242 hpanther
if test "${ac_cv_prog_CC+set}" = set; then
2534
  echo $ECHO_N "(cached) $ECHO_C" >&6
2535 7 jrydberg
else
2536
  if test -n "$CC"; then
2537
  ac_cv_prog_CC="$CC" # Let the user override the test.
2538
else
2539
  ac_prog_rejected=no
2540 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541
for as_dir in $PATH
2542
do
2543
  IFS=$as_save_IFS
2544
  test -z "$as_dir" && as_dir=.
2545
  for ac_exec_ext in '' $ac_executable_extensions; do
2546 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 1576 phoenix
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2548
       ac_prog_rejected=yes
2549
       continue
2550
     fi
2551
    ac_cv_prog_CC="cc"
2552
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553
    break 2
2554
  fi
2555 1242 hpanther
done
2556 1576 phoenix
done
2557 1743 jeremybenn
IFS=$as_save_IFS
2558 1242 hpanther
 
2559 7 jrydberg
if test $ac_prog_rejected = yes; then
2560
  # We found a bogon in the path, so make sure we never use it.
2561
  set dummy $ac_cv_prog_CC
2562
  shift
2563 1242 hpanther
  if test $# != 0; then
2564 7 jrydberg
    # We chose a different compiler from the bogus one.
2565
    # However, it has the same basename, so the bogon will be chosen
2566
    # first if we set CC to just the basename; use the full file name.
2567
    shift
2568 1576 phoenix
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2569 7 jrydberg
  fi
2570
fi
2571
fi
2572
fi
2573 1242 hpanther
CC=$ac_cv_prog_CC
2574 7 jrydberg
if test -n "$CC"; then
2575 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $CC" >&5
2576
echo "${ECHO_T}$CC" >&6; }
2577 7 jrydberg
else
2578 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2579
echo "${ECHO_T}no" >&6; }
2580 7 jrydberg
fi
2581
 
2582 1743 jeremybenn
 
2583 1242 hpanther
fi
2584
if test -z "$CC"; then
2585
  if test -n "$ac_tool_prefix"; then
2586 1743 jeremybenn
  for ac_prog in cl.exe
2587 1242 hpanther
  do
2588
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2589
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2590 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2591
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2592 1242 hpanther
if test "${ac_cv_prog_CC+set}" = set; then
2593
  echo $ECHO_N "(cached) $ECHO_C" >&6
2594 7 jrydberg
else
2595
  if test -n "$CC"; then
2596
  ac_cv_prog_CC="$CC" # Let the user override the test.
2597
else
2598 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599
for as_dir in $PATH
2600
do
2601
  IFS=$as_save_IFS
2602
  test -z "$as_dir" && as_dir=.
2603
  for ac_exec_ext in '' $ac_executable_extensions; do
2604 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 1576 phoenix
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2606
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607
    break 2
2608
  fi
2609 1242 hpanther
done
2610 1576 phoenix
done
2611 1743 jeremybenn
IFS=$as_save_IFS
2612 1242 hpanther
 
2613 7 jrydberg
fi
2614
fi
2615 1242 hpanther
CC=$ac_cv_prog_CC
2616 7 jrydberg
if test -n "$CC"; then
2617 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $CC" >&5
2618
echo "${ECHO_T}$CC" >&6; }
2619 7 jrydberg
else
2620 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2621
echo "${ECHO_T}no" >&6; }
2622 7 jrydberg
fi
2623 1242 hpanther
 
2624 1743 jeremybenn
 
2625 1242 hpanther
    test -n "$CC" && break
2626
  done
2627
fi
2628
if test -z "$CC"; then
2629
  ac_ct_CC=$CC
2630 1743 jeremybenn
  for ac_prog in cl.exe
2631 1242 hpanther
do
2632
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2633
set dummy $ac_prog; ac_word=$2
2634 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2635
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2636 1242 hpanther
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2637
  echo $ECHO_N "(cached) $ECHO_C" >&6
2638
else
2639
  if test -n "$ac_ct_CC"; then
2640
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2641
else
2642 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643
for as_dir in $PATH
2644
do
2645
  IFS=$as_save_IFS
2646
  test -z "$as_dir" && as_dir=.
2647
  for ac_exec_ext in '' $ac_executable_extensions; do
2648 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 1576 phoenix
    ac_cv_prog_ac_ct_CC="$ac_prog"
2650
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651
    break 2
2652
  fi
2653 1242 hpanther
done
2654 1576 phoenix
done
2655 1743 jeremybenn
IFS=$as_save_IFS
2656 1242 hpanther
 
2657 7 jrydberg
fi
2658 1242 hpanther
fi
2659
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2660
if test -n "$ac_ct_CC"; then
2661 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2662
echo "${ECHO_T}$ac_ct_CC" >&6; }
2663 1242 hpanther
else
2664 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
2665
echo "${ECHO_T}no" >&6; }
2666 1242 hpanther
fi
2667 7 jrydberg
 
2668 1743 jeremybenn
 
2669 1242 hpanther
  test -n "$ac_ct_CC" && break
2670
done
2671 7 jrydberg
 
2672 1743 jeremybenn
  if test "x$ac_ct_CC" = x; then
2673
    CC=""
2674
  else
2675
    case $cross_compiling:$ac_tool_warned in
2676
yes:)
2677
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2678
whose name does not start with the host triplet.  If you think this
2679
configuration is useful to you, please write to autoconf@gnu.org." >&5
2680
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2681
whose name does not start with the host triplet.  If you think this
2682
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2683
ac_tool_warned=yes ;;
2684
esac
2685
    CC=$ac_ct_CC
2686
  fi
2687 1242 hpanther
fi
2688 7 jrydberg
 
2689 1242 hpanther
fi
2690 7 jrydberg
 
2691 1576 phoenix
 
2692
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2693
See \`config.log' for more details." >&5
2694
echo "$as_me: error: no acceptable C compiler found in \$PATH
2695
See \`config.log' for more details." >&2;}
2696 1242 hpanther
   { (exit 1); exit 1; }; }
2697
 
2698
# Provide some information about the compiler.
2699 1743 jeremybenn
echo "$as_me:$LINENO: checking for C compiler version" >&5
2700 1242 hpanther
ac_compiler=`set X $ac_compile; echo $2`
2701 1743 jeremybenn
{ (ac_try="$ac_compiler --version >&5"
2702
case "(($ac_try" in
2703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704
  *) ac_try_echo=$ac_try;;
2705
esac
2706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707
  (eval "$ac_compiler --version >&5") 2>&5
2708 1242 hpanther
  ac_status=$?
2709 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 1242 hpanther
  (exit $ac_status); }
2711 1743 jeremybenn
{ (ac_try="$ac_compiler -v >&5"
2712
case "(($ac_try" in
2713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714
  *) ac_try_echo=$ac_try;;
2715
esac
2716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717
  (eval "$ac_compiler -v >&5") 2>&5
2718 1242 hpanther
  ac_status=$?
2719 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 1242 hpanther
  (exit $ac_status); }
2721 1743 jeremybenn
{ (ac_try="$ac_compiler -V >&5"
2722
case "(($ac_try" in
2723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724
  *) ac_try_echo=$ac_try;;
2725
esac
2726
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727
  (eval "$ac_compiler -V >&5") 2>&5
2728 1242 hpanther
  ac_status=$?
2729 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 1242 hpanther
  (exit $ac_status); }
2731
 
2732
cat >conftest.$ac_ext <<_ACEOF
2733 1576 phoenix
/* confdefs.h.  */
2734
_ACEOF
2735
cat confdefs.h >>conftest.$ac_ext
2736
cat >>conftest.$ac_ext <<_ACEOF
2737
/* end confdefs.h.  */
2738 1242 hpanther
 
2739
int
2740
main ()
2741
{
2742
 
2743
  ;
2744
  return 0;
2745
}
2746
_ACEOF
2747
ac_clean_files_save=$ac_clean_files
2748 1576 phoenix
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2749 1242 hpanther
# Try to create an executable without -o first, disregard a.out.
2750
# It will help us diagnose broken compilers, and finding out an intuition
2751
# of exeext.
2752 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2753
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2754 1242 hpanther
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2755 1743 jeremybenn
#
2756
# List of possible output files, starting from the most likely.
2757
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2758
# only as a last resort.  b.out is created by i960 compilers.
2759
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2760
#
2761
# The IRIX 6 linker writes into existing files which may not be
2762
# executable, retaining their permissions.  Remove them first so a
2763
# subsequent execution test works.
2764
ac_rmfiles=
2765
for ac_file in $ac_files
2766
do
2767
  case $ac_file in
2768
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2769
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2770
  esac
2771
done
2772
rm -f $ac_rmfiles
2773
 
2774
if { (ac_try="$ac_link_default"
2775
case "(($ac_try" in
2776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777
  *) ac_try_echo=$ac_try;;
2778
esac
2779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780
  (eval "$ac_link_default") 2>&5
2781 1242 hpanther
  ac_status=$?
2782 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 1242 hpanther
  (exit $ac_status); }; then
2784 1743 jeremybenn
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2785
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2786
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2787
# so that the user can short-circuit this test for compilers unknown to
2788
# Autoconf.
2789
for ac_file in $ac_files ''
2790 1576 phoenix
do
2791
  test -f "$ac_file" || continue
2792 1242 hpanther
  case $ac_file in
2793 1743 jeremybenn
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2794 1576 phoenix
        ;;
2795
    [ab].out )
2796
        # We found the default executable, but exeext='' is most
2797
        # certainly right.
2798
        break;;
2799
    *.* )
2800 1743 jeremybenn
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2801
        then :; else
2802
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2803
        fi
2804
        # We set ac_cv_exeext here because the later test for it is not
2805
        # safe: cross compilers may not add the suffix if given an `-o'
2806
        # argument, so we may need to know it at that point already.
2807
        # Even if this section looks crufty: it has the advantage of
2808
        # actually working.
2809 1576 phoenix
        break;;
2810
    * )
2811
        break;;
2812 1242 hpanther
  esac
2813
done
2814 1743 jeremybenn
test "$ac_cv_exeext" = no && ac_cv_exeext=
2815
 
2816 1242 hpanther
else
2817 1743 jeremybenn
  ac_file=''
2818
fi
2819
 
2820
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2821
echo "${ECHO_T}$ac_file" >&6; }
2822
if test -z "$ac_file"; then
2823 1242 hpanther
  echo "$as_me: failed program was:" >&5
2824 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
2825
 
2826
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2827
See \`config.log' for more details." >&5
2828
echo "$as_me: error: C compiler cannot create executables
2829
See \`config.log' for more details." >&2;}
2830 1242 hpanther
   { (exit 77); exit 77; }; }
2831
fi
2832
 
2833
ac_exeext=$ac_cv_exeext
2834
 
2835 1743 jeremybenn
# Check that the compiler produces executables we can run.  If not, either
2836 1242 hpanther
# the compiler is broken, or we cross compile.
2837 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2838
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2839 1242 hpanther
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2840
# If not cross compiling, check that we can run a simple program.
2841
if test "$cross_compiling" != yes; then
2842
  if { ac_try='./$ac_file'
2843 1743 jeremybenn
  { (case "(($ac_try" in
2844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845
  *) ac_try_echo=$ac_try;;
2846
esac
2847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2848
  (eval "$ac_try") 2>&5
2849 1242 hpanther
  ac_status=$?
2850 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 1242 hpanther
  (exit $ac_status); }; }; then
2852
    cross_compiling=no
2853 7 jrydberg
  else
2854 1242 hpanther
    if test "$cross_compiling" = maybe; then
2855
        cross_compiling=yes
2856
    else
2857 1576 phoenix
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2858
If you meant to cross compile, use \`--host'.
2859
See \`config.log' for more details." >&5
2860 1242 hpanther
echo "$as_me: error: cannot run C compiled programs.
2861 1576 phoenix
If you meant to cross compile, use \`--host'.
2862
See \`config.log' for more details." >&2;}
2863 1242 hpanther
   { (exit 1); exit 1; }; }
2864
    fi
2865 7 jrydberg
  fi
2866
fi
2867 1743 jeremybenn
{ echo "$as_me:$LINENO: result: yes" >&5
2868
echo "${ECHO_T}yes" >&6; }
2869 7 jrydberg
 
2870 1576 phoenix
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2871 1242 hpanther
ac_clean_files=$ac_clean_files_save
2872 1743 jeremybenn
# Check that the compiler produces executables we can run.  If not, either
2873 1242 hpanther
# the compiler is broken, or we cross compile.
2874 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2875
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2876
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2877
echo "${ECHO_T}$cross_compiling" >&6; }
2878 1242 hpanther
 
2879 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2880
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2881
if { (ac_try="$ac_link"
2882
case "(($ac_try" in
2883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884
  *) ac_try_echo=$ac_try;;
2885
esac
2886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887
  (eval "$ac_link") 2>&5
2888 1242 hpanther
  ac_status=$?
2889 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 1242 hpanther
  (exit $ac_status); }; then
2891
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2892
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2893
# work properly (i.e., refer to `conftest.exe'), while it won't with
2894
# `rm'.
2895 1576 phoenix
for ac_file in conftest.exe conftest conftest.*; do
2896
  test -f "$ac_file" || continue
2897 1242 hpanther
  case $ac_file in
2898 1743 jeremybenn
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2899 1242 hpanther
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2900 1576 phoenix
          break;;
2901 1242 hpanther
    * ) break;;
2902
  esac
2903
done
2904
else
2905 1576 phoenix
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2906
See \`config.log' for more details." >&5
2907
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2908
See \`config.log' for more details." >&2;}
2909 1242 hpanther
   { (exit 1); exit 1; }; }
2910 7 jrydberg
fi
2911
 
2912 1242 hpanther
rm -f conftest$ac_cv_exeext
2913 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2914
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2915 1242 hpanther
 
2916
rm -f conftest.$ac_ext
2917
EXEEXT=$ac_cv_exeext
2918
ac_exeext=$EXEEXT
2919 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2920
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2921 1242 hpanther
if test "${ac_cv_objext+set}" = set; then
2922
  echo $ECHO_N "(cached) $ECHO_C" >&6
2923 7 jrydberg
else
2924 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
2925 1576 phoenix
/* confdefs.h.  */
2926
_ACEOF
2927
cat confdefs.h >>conftest.$ac_ext
2928
cat >>conftest.$ac_ext <<_ACEOF
2929
/* end confdefs.h.  */
2930 1242 hpanther
 
2931
int
2932
main ()
2933
{
2934
 
2935
  ;
2936
  return 0;
2937
}
2938
_ACEOF
2939
rm -f conftest.o conftest.obj
2940 1743 jeremybenn
if { (ac_try="$ac_compile"
2941
case "(($ac_try" in
2942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943
  *) ac_try_echo=$ac_try;;
2944
esac
2945
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946
  (eval "$ac_compile") 2>&5
2947 1242 hpanther
  ac_status=$?
2948 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 1242 hpanther
  (exit $ac_status); }; then
2950 1743 jeremybenn
  for ac_file in conftest.o conftest.obj conftest.*; do
2951
  test -f "$ac_file" || continue;
2952 1242 hpanther
  case $ac_file in
2953 1743 jeremybenn
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2954 1242 hpanther
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2955
       break;;
2956
  esac
2957
done
2958 7 jrydberg
else
2959 1242 hpanther
  echo "$as_me: failed program was:" >&5
2960 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
2961
 
2962
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2963
See \`config.log' for more details." >&5
2964
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2965
See \`config.log' for more details." >&2;}
2966 1242 hpanther
   { (exit 1); exit 1; }; }
2967 7 jrydberg
fi
2968 1242 hpanther
 
2969
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2970 7 jrydberg
fi
2971 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2972
echo "${ECHO_T}$ac_cv_objext" >&6; }
2973 1242 hpanther
OBJEXT=$ac_cv_objext
2974
ac_objext=$OBJEXT
2975 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2976
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2977 1242 hpanther
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2978
  echo $ECHO_N "(cached) $ECHO_C" >&6
2979
else
2980
  cat >conftest.$ac_ext <<_ACEOF
2981 1576 phoenix
/* confdefs.h.  */
2982
_ACEOF
2983
cat confdefs.h >>conftest.$ac_ext
2984
cat >>conftest.$ac_ext <<_ACEOF
2985
/* end confdefs.h.  */
2986 7 jrydberg
 
2987 1242 hpanther
int
2988
main ()
2989
{
2990
#ifndef __GNUC__
2991
       choke me
2992
#endif
2993 7 jrydberg
 
2994 1242 hpanther
  ;
2995
  return 0;
2996
}
2997
_ACEOF
2998
rm -f conftest.$ac_objext
2999 1743 jeremybenn
if { (ac_try="$ac_compile"
3000
case "(($ac_try" in
3001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002
  *) ac_try_echo=$ac_try;;
3003
esac
3004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005
  (eval "$ac_compile") 2>conftest.er1
3006 1242 hpanther
  ac_status=$?
3007 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
3008
  rm -f conftest.er1
3009
  cat conftest.err >&5
3010
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 1743 jeremybenn
  (exit $ac_status); } && {
3012
         test -z "$ac_c_werror_flag" ||
3013
         test ! -s conftest.err
3014
       } && test -s conftest.$ac_objext; then
3015 1242 hpanther
  ac_compiler_gnu=yes
3016 7 jrydberg
else
3017 1242 hpanther
  echo "$as_me: failed program was:" >&5
3018 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
3019
 
3020 1743 jeremybenn
        ac_compiler_gnu=no
3021 7 jrydberg
fi
3022 1743 jeremybenn
 
3023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 1242 hpanther
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3025 7 jrydberg
 
3026 1242 hpanther
fi
3027 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3028
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3029 1242 hpanther
GCC=`test $ac_compiler_gnu = yes && echo yes`
3030
ac_test_CFLAGS=${CFLAGS+set}
3031
ac_save_CFLAGS=$CFLAGS
3032 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3033
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3034 1242 hpanther
if test "${ac_cv_prog_cc_g+set}" = set; then
3035
  echo $ECHO_N "(cached) $ECHO_C" >&6
3036 7 jrydberg
else
3037 1743 jeremybenn
  ac_save_c_werror_flag=$ac_c_werror_flag
3038
   ac_c_werror_flag=yes
3039
   ac_cv_prog_cc_g=no
3040
   CFLAGS="-g"
3041
   cat >conftest.$ac_ext <<_ACEOF
3042 1576 phoenix
/* confdefs.h.  */
3043
_ACEOF
3044
cat confdefs.h >>conftest.$ac_ext
3045
cat >>conftest.$ac_ext <<_ACEOF
3046
/* end confdefs.h.  */
3047 1242 hpanther
 
3048
int
3049
main ()
3050
{
3051
 
3052
  ;
3053
  return 0;
3054
}
3055
_ACEOF
3056
rm -f conftest.$ac_objext
3057 1743 jeremybenn
if { (ac_try="$ac_compile"
3058
case "(($ac_try" in
3059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060
  *) ac_try_echo=$ac_try;;
3061
esac
3062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063
  (eval "$ac_compile") 2>conftest.er1
3064 1242 hpanther
  ac_status=$?
3065 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
3066
  rm -f conftest.er1
3067
  cat conftest.err >&5
3068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 1743 jeremybenn
  (exit $ac_status); } && {
3070
         test -z "$ac_c_werror_flag" ||
3071
         test ! -s conftest.err
3072
       } && test -s conftest.$ac_objext; then
3073
  ac_cv_prog_cc_g=yes
3074
else
3075
  echo "$as_me: failed program was:" >&5
3076
sed 's/^/| /' conftest.$ac_ext >&5
3077
 
3078
        CFLAGS=""
3079
      cat >conftest.$ac_ext <<_ACEOF
3080
/* confdefs.h.  */
3081
_ACEOF
3082
cat confdefs.h >>conftest.$ac_ext
3083
cat >>conftest.$ac_ext <<_ACEOF
3084
/* end confdefs.h.  */
3085
 
3086
int
3087
main ()
3088
{
3089
 
3090
  ;
3091
  return 0;
3092
}
3093
_ACEOF
3094
rm -f conftest.$ac_objext
3095
if { (ac_try="$ac_compile"
3096
case "(($ac_try" in
3097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098
  *) ac_try_echo=$ac_try;;
3099
esac
3100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101
  (eval "$ac_compile") 2>conftest.er1
3102 1242 hpanther
  ac_status=$?
3103 1743 jeremybenn
  grep -v '^ *+' conftest.er1 >conftest.err
3104
  rm -f conftest.er1
3105
  cat conftest.err >&5
3106 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 1743 jeremybenn
  (exit $ac_status); } && {
3108
         test -z "$ac_c_werror_flag" ||
3109
         test ! -s conftest.err
3110
       } && test -s conftest.$ac_objext; then
3111
  :
3112
else
3113
  echo "$as_me: failed program was:" >&5
3114
sed 's/^/| /' conftest.$ac_ext >&5
3115
 
3116
        ac_c_werror_flag=$ac_save_c_werror_flag
3117
         CFLAGS="-g"
3118
         cat >conftest.$ac_ext <<_ACEOF
3119
/* confdefs.h.  */
3120
_ACEOF
3121
cat confdefs.h >>conftest.$ac_ext
3122
cat >>conftest.$ac_ext <<_ACEOF
3123
/* end confdefs.h.  */
3124
 
3125
int
3126
main ()
3127
{
3128
 
3129
  ;
3130
  return 0;
3131
}
3132
_ACEOF
3133
rm -f conftest.$ac_objext
3134
if { (ac_try="$ac_compile"
3135
case "(($ac_try" in
3136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137
  *) ac_try_echo=$ac_try;;
3138
esac
3139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3140
  (eval "$ac_compile") 2>conftest.er1
3141 1576 phoenix
  ac_status=$?
3142 1743 jeremybenn
  grep -v '^ *+' conftest.er1 >conftest.err
3143
  rm -f conftest.er1
3144
  cat conftest.err >&5
3145 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 1743 jeremybenn
  (exit $ac_status); } && {
3147
         test -z "$ac_c_werror_flag" ||
3148
         test ! -s conftest.err
3149
       } && test -s conftest.$ac_objext; then
3150 7 jrydberg
  ac_cv_prog_cc_g=yes
3151
else
3152 1242 hpanther
  echo "$as_me: failed program was:" >&5
3153 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
3154
 
3155 1743 jeremybenn
 
3156 7 jrydberg
fi
3157 1743 jeremybenn
 
3158
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 1242 hpanther
fi
3160 1743 jeremybenn
 
3161
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162
fi
3163
 
3164
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165
   ac_c_werror_flag=$ac_save_c_werror_flag
3166
fi
3167
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3168
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3169 7 jrydberg
if test "$ac_test_CFLAGS" = set; then
3170 1242 hpanther
  CFLAGS=$ac_save_CFLAGS
3171 7 jrydberg
elif test $ac_cv_prog_cc_g = yes; then
3172
  if test "$GCC" = yes; then
3173
    CFLAGS="-g -O2"
3174
  else
3175
    CFLAGS="-g"
3176
  fi
3177
else
3178
  if test "$GCC" = yes; then
3179
    CFLAGS="-O2"
3180
  else
3181
    CFLAGS=
3182
  fi
3183
fi
3184 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3185
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3186
if test "${ac_cv_prog_cc_c89+set}" = set; then
3187 1576 phoenix
  echo $ECHO_N "(cached) $ECHO_C" >&6
3188
else
3189 1743 jeremybenn
  ac_cv_prog_cc_c89=no
3190 1576 phoenix
ac_save_CC=$CC
3191
cat >conftest.$ac_ext <<_ACEOF
3192
/* confdefs.h.  */
3193
_ACEOF
3194
cat confdefs.h >>conftest.$ac_ext
3195
cat >>conftest.$ac_ext <<_ACEOF
3196
/* end confdefs.h.  */
3197
#include 
3198
#include 
3199
#include 
3200
#include 
3201
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3202
struct buf { int x; };
3203
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3204
static char *e (p, i)
3205
     char **p;
3206
     int i;
3207
{
3208
  return p[i];
3209
}
3210
static char *f (char * (*g) (char **, int), char **p, ...)
3211
{
3212
  char *s;
3213
  va_list v;
3214
  va_start (v,p);
3215
  s = g (p, va_arg (v,int));
3216
  va_end (v);
3217
  return s;
3218
}
3219
 
3220
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3221
   function prototypes and stuff, but not '\xHH' hex character constants.
3222
   These don't provoke an error unfortunately, instead are silently treated
3223 1743 jeremybenn
   as 'x'.  The following induces an error, until -std is added to get
3224 1576 phoenix
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3225
   array size at least.  It's necessary to write '\x00'==0 to get something
3226 1743 jeremybenn
   that's true only with -std.  */
3227 1576 phoenix
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3228
 
3229 1743 jeremybenn
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3230
   inside strings and character constants.  */
3231
#define FOO(x) 'x'
3232
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3233
 
3234 1576 phoenix
int test (int i, double x);
3235
struct s1 {int (*f) (int a);};
3236
struct s2 {int (*f) (double a);};
3237
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3238
int argc;
3239
char **argv;
3240
int
3241
main ()
3242
{
3243
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3244
  ;
3245
  return 0;
3246
}
3247
_ACEOF
3248 1743 jeremybenn
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3249
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3250 1576 phoenix
do
3251
  CC="$ac_save_CC $ac_arg"
3252
  rm -f conftest.$ac_objext
3253 1743 jeremybenn
if { (ac_try="$ac_compile"
3254
case "(($ac_try" in
3255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256
  *) ac_try_echo=$ac_try;;
3257
esac
3258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3259
  (eval "$ac_compile") 2>conftest.er1
3260 1576 phoenix
  ac_status=$?
3261
  grep -v '^ *+' conftest.er1 >conftest.err
3262
  rm -f conftest.er1
3263
  cat conftest.err >&5
3264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 1743 jeremybenn
  (exit $ac_status); } && {
3266
         test -z "$ac_c_werror_flag" ||
3267
         test ! -s conftest.err
3268
       } && test -s conftest.$ac_objext; then
3269
  ac_cv_prog_cc_c89=$ac_arg
3270 1576 phoenix
else
3271
  echo "$as_me: failed program was:" >&5
3272
sed 's/^/| /' conftest.$ac_ext >&5
3273
 
3274 1743 jeremybenn
 
3275 1576 phoenix
fi
3276 1743 jeremybenn
 
3277
rm -f core conftest.err conftest.$ac_objext
3278
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3279 1576 phoenix
done
3280 1743 jeremybenn
rm -f conftest.$ac_ext
3281 1576 phoenix
CC=$ac_save_CC
3282
 
3283
fi
3284 1743 jeremybenn
# AC_CACHE_VAL
3285
case "x$ac_cv_prog_cc_c89" in
3286
  x)
3287
    { echo "$as_me:$LINENO: result: none needed" >&5
3288
echo "${ECHO_T}none needed" >&6; } ;;
3289
  xno)
3290
    { echo "$as_me:$LINENO: result: unsupported" >&5
3291
echo "${ECHO_T}unsupported" >&6; } ;;
3292 1576 phoenix
  *)
3293 1743 jeremybenn
    CC="$CC $ac_cv_prog_cc_c89"
3294
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3295
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3296 1576 phoenix
esac
3297
 
3298
 
3299 1242 hpanther
ac_ext=c
3300
ac_cpp='$CPP $CPPFLAGS'
3301
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3304 1576 phoenix
DEPDIR="${am__leading_dot}deps"
3305 1242 hpanther
 
3306 1743 jeremybenn
ac_config_commands="$ac_config_commands depfiles"
3307 1242 hpanther
 
3308 1576 phoenix
 
3309 1242 hpanther
am_make=${MAKE-make}
3310
cat > confinc << 'END'
3311 1576 phoenix
am__doit:
3312 1242 hpanther
        @echo done
3313 1576 phoenix
.PHONY: am__doit
3314 1242 hpanther
END
3315
# If we don't find an include directive, just comment out the code.
3316 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3317
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3318 1242 hpanther
am__include="#"
3319
am__quote=
3320
_am_result=none
3321
# First try GNU make style include.
3322
echo "include confinc" > confmf
3323
# We grep out `Entering directory' and `Leaving directory'
3324
# messages which can occur if `w' ends up in MAKEFLAGS.
3325
# In particular we don't look at `^make:' because GNU make might
3326
# be invoked under some other name (usually "gmake"), in which
3327
# case it prints its new name instead of `make'.
3328 1576 phoenix
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3329 1242 hpanther
   am__include=include
3330
   am__quote=
3331
   _am_result=GNU
3332
fi
3333
# Now try BSD make style include.
3334
if test "$am__include" = "#"; then
3335
   echo '.include "confinc"' > confmf
3336
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3337
      am__include=.include
3338
      am__quote="\""
3339
      _am_result=BSD
3340
   fi
3341
fi
3342
 
3343 1576 phoenix
 
3344 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3345
echo "${ECHO_T}$_am_result" >&6; }
3346 1242 hpanther
rm -f confinc confmf
3347
 
3348 1743 jeremybenn
# Check whether --enable-dependency-tracking was given.
3349 1242 hpanther
if test "${enable_dependency_tracking+set}" = set; then
3350 1743 jeremybenn
  enableval=$enable_dependency_tracking;
3351
fi
3352 1242 hpanther
 
3353
if test "x$enable_dependency_tracking" != xno; then
3354
  am_depcomp="$ac_aux_dir/depcomp"
3355
  AMDEPBACKSLASH='\'
3356
fi
3357 1743 jeremybenn
 if test "x$enable_dependency_tracking" != xno; then
3358 1242 hpanther
  AMDEP_TRUE=
3359
  AMDEP_FALSE='#'
3360
else
3361
  AMDEP_TRUE='#'
3362
  AMDEP_FALSE=
3363
fi
3364
 
3365 1576 phoenix
 
3366
 
3367 1242 hpanther
depcc="$CC"   am_compiler_list=
3368
 
3369 1743 jeremybenn
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3370
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3371 1242 hpanther
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3372
  echo $ECHO_N "(cached) $ECHO_C" >&6
3373
else
3374
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3375
  # We make a subdir and do the tests there.  Otherwise we can end up
3376
  # making bogus files that we don't know about and never remove.  For
3377
  # instance it was reported that on HP-UX the gcc test will end up
3378
  # making a dummy file named `D' -- because `-MD' means `put the output
3379
  # in D'.
3380
  mkdir conftest.dir
3381
  # Copy depcomp to subdir because otherwise we won't find it if we're
3382
  # using a relative directory.
3383
  cp "$am_depcomp" conftest.dir
3384
  cd conftest.dir
3385 1576 phoenix
  # We will build objects and dependencies in a subdirectory because
3386
  # it helps to detect inapplicable dependency modes.  For instance
3387
  # both Tru64's cc and ICC support -MD to output dependencies as a
3388
  # side effect of compilation, but ICC will put the dependencies in
3389
  # the current directory while Tru64 will put them in the object
3390
  # directory.
3391
  mkdir sub
3392 1242 hpanther
 
3393
  am_cv_CC_dependencies_compiler_type=none
3394
  if test "$am_compiler_list" = ""; then
3395
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3396
  fi
3397
  for depmode in $am_compiler_list; do
3398 1576 phoenix
    # Setup a source with many dependencies, because some compilers
3399
    # like to wrap large dependency lists on column 80 (with \), and
3400
    # we should not choose a depcomp mode which is confused by this.
3401
    #
3402 1242 hpanther
    # We need to recreate these files for each test, as the compiler may
3403
    # overwrite some of them when testing with obscure command lines.
3404
    # This happens at least with the AIX C compiler.
3405 1576 phoenix
    : > sub/conftest.c
3406
    for i in 1 2 3 4 5 6; do
3407
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3408
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3409
      # Solaris 8's {/usr,}/bin/sh.
3410
      touch sub/conftst$i.h
3411
    done
3412
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3413 1242 hpanther
 
3414
    case $depmode in
3415
    nosideeffect)
3416
      # after this tag, mechanisms are not by side-effect, so they'll
3417
      # only be used when explicitly requested
3418
      if test "x$enable_dependency_tracking" = xyes; then
3419
        continue
3420
      else
3421
        break
3422
      fi
3423
      ;;
3424
    none) break ;;
3425
    esac
3426
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3427
    # mode.  It turns out that the SunPro C++ compiler does not properly
3428
    # handle `-M -o', and we need to detect this.
3429
    if depmode=$depmode \
3430 1576 phoenix
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3431
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3432
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3433
         >/dev/null 2>conftest.err &&
3434 1743 jeremybenn
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3435 1576 phoenix
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3436
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3437 1242 hpanther
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3438 1576 phoenix
      # icc doesn't choke on unknown options, it will just issue warnings
3439
      # or remarks (even with -Werror).  So we grep stderr for any message
3440
      # that says an option was ignored or not supported.
3441
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3442
      #   icc: Command line warning: ignoring option '-M'; no argument required
3443
      # The diagnosis changed in icc 8.0:
3444
      #   icc: Command line remark: option '-MP' not supported
3445
      if (grep 'ignoring option' conftest.err ||
3446
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3447
        am_cv_CC_dependencies_compiler_type=$depmode
3448
        break
3449
      fi
3450 1242 hpanther
    fi
3451
  done
3452
 
3453
  cd ..
3454
  rm -rf conftest.dir
3455
else
3456
  am_cv_CC_dependencies_compiler_type=none
3457
fi
3458
 
3459
fi
3460 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3461
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3462 1242 hpanther
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3463
 
3464 1743 jeremybenn
 if
3465 1576 phoenix
  test "x$enable_dependency_tracking" != xno \
3466
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3467
  am__fastdepCC_TRUE=
3468
  am__fastdepCC_FALSE='#'
3469
else
3470
  am__fastdepCC_TRUE='#'
3471
  am__fastdepCC_FALSE=
3472
fi
3473
 
3474
 
3475
 
3476 1242 hpanther
ac_ext=c
3477
ac_cpp='$CPP $CPPFLAGS'
3478
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3479
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3480
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3481 1743 jeremybenn
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3482
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3483 7 jrydberg
# On Suns, sometimes $CPP names a directory.
3484
if test -n "$CPP" && test -d "$CPP"; then
3485
  CPP=
3486
fi
3487
if test -z "$CPP"; then
3488 1242 hpanther
  if test "${ac_cv_prog_CPP+set}" = set; then
3489
  echo $ECHO_N "(cached) $ECHO_C" >&6
3490 7 jrydberg
else
3491 1242 hpanther
      # Double quotes because CPP needs to be expanded
3492
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3493
    do
3494
      ac_preproc_ok=false
3495
for ac_c_preproc_warn_flag in '' yes
3496
do
3497
  # Use a header file that comes with gcc, so configuring glibc
3498
  # with a fresh cross-compiler works.
3499 1576 phoenix
  # Prefer  to  if __STDC__ is defined, since
3500
  #  exists even on freestanding compilers.
3501 7 jrydberg
  # On the NeXT, cc -E runs the code through the compiler's parser,
3502 1242 hpanther
  # not just through cpp. "Syntax error" is here to catch this case.
3503
  cat >conftest.$ac_ext <<_ACEOF
3504 1576 phoenix
/* confdefs.h.  */
3505 1242 hpanther
_ACEOF
3506 1576 phoenix
cat confdefs.h >>conftest.$ac_ext
3507
cat >>conftest.$ac_ext <<_ACEOF
3508
/* end confdefs.h.  */
3509
#ifdef __STDC__
3510
# include 
3511
#else
3512
# include 
3513
#endif
3514
                     Syntax error
3515
_ACEOF
3516 1743 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
3517
case "(($ac_try" in
3518
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519
  *) ac_try_echo=$ac_try;;
3520
esac
3521
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3523 1242 hpanther
  ac_status=$?
3524 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
3525 1242 hpanther
  rm -f conftest.er1
3526
  cat conftest.err >&5
3527 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 1743 jeremybenn
  (exit $ac_status); } >/dev/null && {
3529
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3530
         test ! -s conftest.err
3531
       }; then
3532 7 jrydberg
  :
3533
else
3534 1242 hpanther
  echo "$as_me: failed program was:" >&5
3535 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
3536
 
3537 1242 hpanther
  # Broken: fails on valid input.
3538
continue
3539
fi
3540 1743 jeremybenn
 
3541 1242 hpanther
rm -f conftest.err conftest.$ac_ext
3542
 
3543 1743 jeremybenn
  # OK, works on sane cases.  Now check whether nonexistent headers
3544 1242 hpanther
  # can be detected and how.
3545
  cat >conftest.$ac_ext <<_ACEOF
3546 1576 phoenix
/* confdefs.h.  */
3547
_ACEOF
3548
cat confdefs.h >>conftest.$ac_ext
3549
cat >>conftest.$ac_ext <<_ACEOF
3550
/* end confdefs.h.  */
3551 1242 hpanther
#include 
3552
_ACEOF
3553 1743 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
3554
case "(($ac_try" in
3555
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556
  *) ac_try_echo=$ac_try;;
3557
esac
3558
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3560 1242 hpanther
  ac_status=$?
3561 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
3562 1242 hpanther
  rm -f conftest.er1
3563
  cat conftest.err >&5
3564 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 1743 jeremybenn
  (exit $ac_status); } >/dev/null && {
3566
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3567
         test ! -s conftest.err
3568
       }; then
3569 1242 hpanther
  # Broken: success on invalid input.
3570
continue
3571
else
3572
  echo "$as_me: failed program was:" >&5
3573 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
3574
 
3575 1242 hpanther
  # Passes both tests.
3576
ac_preproc_ok=:
3577
break
3578
fi
3579 1743 jeremybenn
 
3580 1242 hpanther
rm -f conftest.err conftest.$ac_ext
3581
 
3582
done
3583
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3584
rm -f conftest.err conftest.$ac_ext
3585
if $ac_preproc_ok; then
3586
  break
3587
fi
3588
 
3589
    done
3590
    ac_cv_prog_CPP=$CPP
3591
 
3592
fi
3593
  CPP=$ac_cv_prog_CPP
3594
else
3595
  ac_cv_prog_CPP=$CPP
3596
fi
3597 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $CPP" >&5
3598
echo "${ECHO_T}$CPP" >&6; }
3599 1242 hpanther
ac_preproc_ok=false
3600
for ac_c_preproc_warn_flag in '' yes
3601
do
3602
  # Use a header file that comes with gcc, so configuring glibc
3603
  # with a fresh cross-compiler works.
3604 1576 phoenix
  # Prefer  to  if __STDC__ is defined, since
3605
  #  exists even on freestanding compilers.
3606 1242 hpanther
  # On the NeXT, cc -E runs the code through the compiler's parser,
3607
  # not just through cpp. "Syntax error" is here to catch this case.
3608
  cat >conftest.$ac_ext <<_ACEOF
3609 1576 phoenix
/* confdefs.h.  */
3610 1242 hpanther
_ACEOF
3611 1576 phoenix
cat confdefs.h >>conftest.$ac_ext
3612
cat >>conftest.$ac_ext <<_ACEOF
3613
/* end confdefs.h.  */
3614
#ifdef __STDC__
3615
# include 
3616
#else
3617
# include 
3618
#endif
3619
                     Syntax error
3620
_ACEOF
3621 1743 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
3622
case "(($ac_try" in
3623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624
  *) ac_try_echo=$ac_try;;
3625
esac
3626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3628 1242 hpanther
  ac_status=$?
3629 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
3630 1242 hpanther
  rm -f conftest.er1
3631
  cat conftest.err >&5
3632 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 1743 jeremybenn
  (exit $ac_status); } >/dev/null && {
3634
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3635
         test ! -s conftest.err
3636
       }; then
3637 7 jrydberg
  :
3638
else
3639 1242 hpanther
  echo "$as_me: failed program was:" >&5
3640 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
3641
 
3642 1242 hpanther
  # Broken: fails on valid input.
3643
continue
3644
fi
3645 1743 jeremybenn
 
3646 1242 hpanther
rm -f conftest.err conftest.$ac_ext
3647
 
3648 1743 jeremybenn
  # OK, works on sane cases.  Now check whether nonexistent headers
3649 1242 hpanther
  # can be detected and how.
3650
  cat >conftest.$ac_ext <<_ACEOF
3651 1576 phoenix
/* confdefs.h.  */
3652
_ACEOF
3653
cat confdefs.h >>conftest.$ac_ext
3654
cat >>conftest.$ac_ext <<_ACEOF
3655
/* end confdefs.h.  */
3656 1242 hpanther
#include 
3657
_ACEOF
3658 1743 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
3659
case "(($ac_try" in
3660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661
  *) ac_try_echo=$ac_try;;
3662
esac
3663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3665 1242 hpanther
  ac_status=$?
3666 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
3667 1242 hpanther
  rm -f conftest.er1
3668
  cat conftest.err >&5
3669 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 1743 jeremybenn
  (exit $ac_status); } >/dev/null && {
3671
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3672
         test ! -s conftest.err
3673
       }; then
3674 1242 hpanther
  # Broken: success on invalid input.
3675
continue
3676
else
3677
  echo "$as_me: failed program was:" >&5
3678 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
3679
 
3680 1242 hpanther
  # Passes both tests.
3681
ac_preproc_ok=:
3682
break
3683
fi
3684 1743 jeremybenn
 
3685 1242 hpanther
rm -f conftest.err conftest.$ac_ext
3686
 
3687
done
3688
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3689
rm -f conftest.err conftest.$ac_ext
3690
if $ac_preproc_ok; then
3691 7 jrydberg
  :
3692
else
3693 1576 phoenix
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3694
See \`config.log' for more details." >&5
3695
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3696
See \`config.log' for more details." >&2;}
3697 1242 hpanther
   { (exit 1); exit 1; }; }
3698 7 jrydberg
fi
3699 1242 hpanther
 
3700
ac_ext=c
3701
ac_cpp='$CPP $CPPFLAGS'
3702
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705
 
3706 1576 phoenix
 
3707 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3708
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3709
if test "${ac_cv_path_GREP+set}" = set; then
3710 1576 phoenix
  echo $ECHO_N "(cached) $ECHO_C" >&6
3711
else
3712 1743 jeremybenn
  # Extract the first word of "grep ggrep" to use in msg output
3713
if test -z "$GREP"; then
3714
set dummy grep ggrep; ac_prog_name=$2
3715
if test "${ac_cv_path_GREP+set}" = set; then
3716
  echo $ECHO_N "(cached) $ECHO_C" >&6
3717
else
3718
  ac_path_GREP_found=false
3719
# Loop through the user's path and test for each of PROGNAME-LIST
3720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3722
do
3723
  IFS=$as_save_IFS
3724
  test -z "$as_dir" && as_dir=.
3725
  for ac_prog in grep ggrep; do
3726
  for ac_exec_ext in '' $ac_executable_extensions; do
3727
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3728
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3729
    # Check for GNU ac_path_GREP and select it if it is found.
3730
  # Check for GNU $ac_path_GREP
3731
case `"$ac_path_GREP" --version 2>&1` in
3732
*GNU*)
3733
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3734
*)
3735
  ac_count=0
3736
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3737
  while :
3738
  do
3739
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3740
    mv "conftest.tmp" "conftest.in"
3741
    cp "conftest.in" "conftest.nl"
3742
    echo 'GREP' >> "conftest.nl"
3743
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3744
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3745
    ac_count=`expr $ac_count + 1`
3746
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3747
      # Best one so far, save it but keep looking for a better one
3748
      ac_cv_path_GREP="$ac_path_GREP"
3749
      ac_path_GREP_max=$ac_count
3750 1576 phoenix
    fi
3751 1743 jeremybenn
    # 10*(2^10) chars as input seems more than enough
3752
    test $ac_count -gt 10 && break
3753
  done
3754
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3755
esac
3756
 
3757
 
3758
    $ac_path_GREP_found && break 3
3759
  done
3760
done
3761
 
3762
done
3763
IFS=$as_save_IFS
3764
 
3765
 
3766 1576 phoenix
fi
3767
 
3768 1743 jeremybenn
GREP="$ac_cv_path_GREP"
3769
if test -z "$GREP"; then
3770
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3771
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3772
   { (exit 1); exit 1; }; }
3773
fi
3774 1576 phoenix
 
3775 1743 jeremybenn
else
3776
  ac_cv_path_GREP=$GREP
3777
fi
3778
 
3779
 
3780
fi
3781
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3782
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3783
 GREP="$ac_cv_path_GREP"
3784
 
3785
 
3786
{ echo "$as_me:$LINENO: checking for egrep" >&5
3787
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3788
if test "${ac_cv_path_EGREP+set}" = set; then
3789
  echo $ECHO_N "(cached) $ECHO_C" >&6
3790
else
3791
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3792
   then ac_cv_path_EGREP="$GREP -E"
3793
   else
3794
     # Extract the first word of "egrep" to use in msg output
3795
if test -z "$EGREP"; then
3796
set dummy egrep; ac_prog_name=$2
3797
if test "${ac_cv_path_EGREP+set}" = set; then
3798
  echo $ECHO_N "(cached) $ECHO_C" >&6
3799
else
3800
  ac_path_EGREP_found=false
3801
# Loop through the user's path and test for each of PROGNAME-LIST
3802
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3804
do
3805
  IFS=$as_save_IFS
3806
  test -z "$as_dir" && as_dir=.
3807
  for ac_prog in egrep; do
3808
  for ac_exec_ext in '' $ac_executable_extensions; do
3809
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3810
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3811
    # Check for GNU ac_path_EGREP and select it if it is found.
3812
  # Check for GNU $ac_path_EGREP
3813
case `"$ac_path_EGREP" --version 2>&1` in
3814
*GNU*)
3815
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3816
*)
3817
  ac_count=0
3818
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3819
  while :
3820
  do
3821
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3822
    mv "conftest.tmp" "conftest.in"
3823
    cp "conftest.in" "conftest.nl"
3824
    echo 'EGREP' >> "conftest.nl"
3825
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3826
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3827
    ac_count=`expr $ac_count + 1`
3828
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3829
      # Best one so far, save it but keep looking for a better one
3830
      ac_cv_path_EGREP="$ac_path_EGREP"
3831
      ac_path_EGREP_max=$ac_count
3832
    fi
3833
    # 10*(2^10) chars as input seems more than enough
3834
    test $ac_count -gt 10 && break
3835
  done
3836
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3837
esac
3838
 
3839
 
3840
    $ac_path_EGREP_found && break 3
3841
  done
3842
done
3843
 
3844
done
3845
IFS=$as_save_IFS
3846
 
3847
 
3848
fi
3849
 
3850
EGREP="$ac_cv_path_EGREP"
3851
if test -z "$EGREP"; then
3852
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3853
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3854
   { (exit 1); exit 1; }; }
3855
fi
3856
 
3857
else
3858
  ac_cv_path_EGREP=$EGREP
3859
fi
3860
 
3861
 
3862
   fi
3863
fi
3864
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3865
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3866
 EGREP="$ac_cv_path_EGREP"
3867
 
3868
 
3869
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3870
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3871 1576 phoenix
if test "${ac_cv_header_stdc+set}" = set; then
3872
  echo $ECHO_N "(cached) $ECHO_C" >&6
3873
else
3874
  cat >conftest.$ac_ext <<_ACEOF
3875
/* confdefs.h.  */
3876
_ACEOF
3877
cat confdefs.h >>conftest.$ac_ext
3878
cat >>conftest.$ac_ext <<_ACEOF
3879
/* end confdefs.h.  */
3880
#include 
3881
#include 
3882
#include 
3883
#include 
3884
 
3885
int
3886
main ()
3887
{
3888
 
3889
  ;
3890
  return 0;
3891
}
3892
_ACEOF
3893
rm -f conftest.$ac_objext
3894 1743 jeremybenn
if { (ac_try="$ac_compile"
3895
case "(($ac_try" in
3896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897
  *) ac_try_echo=$ac_try;;
3898
esac
3899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3900
  (eval "$ac_compile") 2>conftest.er1
3901 1576 phoenix
  ac_status=$?
3902
  grep -v '^ *+' conftest.er1 >conftest.err
3903
  rm -f conftest.er1
3904
  cat conftest.err >&5
3905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 1743 jeremybenn
  (exit $ac_status); } && {
3907
         test -z "$ac_c_werror_flag" ||
3908
         test ! -s conftest.err
3909
       } && test -s conftest.$ac_objext; then
3910 1576 phoenix
  ac_cv_header_stdc=yes
3911
else
3912
  echo "$as_me: failed program was:" >&5
3913
sed 's/^/| /' conftest.$ac_ext >&5
3914
 
3915 1743 jeremybenn
        ac_cv_header_stdc=no
3916 1576 phoenix
fi
3917
 
3918 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919
 
3920 1576 phoenix
if test $ac_cv_header_stdc = yes; then
3921
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3922
  cat >conftest.$ac_ext <<_ACEOF
3923
/* confdefs.h.  */
3924
_ACEOF
3925
cat confdefs.h >>conftest.$ac_ext
3926
cat >>conftest.$ac_ext <<_ACEOF
3927
/* end confdefs.h.  */
3928
#include 
3929
 
3930
_ACEOF
3931
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3932
  $EGREP "memchr" >/dev/null 2>&1; then
3933
  :
3934
else
3935
  ac_cv_header_stdc=no
3936
fi
3937
rm -f conftest*
3938
 
3939
fi
3940
 
3941
if test $ac_cv_header_stdc = yes; then
3942
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3943
  cat >conftest.$ac_ext <<_ACEOF
3944
/* confdefs.h.  */
3945
_ACEOF
3946
cat confdefs.h >>conftest.$ac_ext
3947
cat >>conftest.$ac_ext <<_ACEOF
3948
/* end confdefs.h.  */
3949
#include 
3950
 
3951
_ACEOF
3952
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3953
  $EGREP "free" >/dev/null 2>&1; then
3954
  :
3955
else
3956
  ac_cv_header_stdc=no
3957
fi
3958
rm -f conftest*
3959
 
3960
fi
3961
 
3962
if test $ac_cv_header_stdc = yes; then
3963
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3964
  if test "$cross_compiling" = yes; then
3965
  :
3966
else
3967
  cat >conftest.$ac_ext <<_ACEOF
3968
/* confdefs.h.  */
3969
_ACEOF
3970
cat confdefs.h >>conftest.$ac_ext
3971
cat >>conftest.$ac_ext <<_ACEOF
3972
/* end confdefs.h.  */
3973
#include 
3974 1743 jeremybenn
#include 
3975 1576 phoenix
#if ((' ' & 0x0FF) == 0x020)
3976
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3977
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3978
#else
3979
# define ISLOWER(c) \
3980
                   (('a' <= (c) && (c) <= 'i') \
3981
                     || ('j' <= (c) && (c) <= 'r') \
3982
                     || ('s' <= (c) && (c) <= 'z'))
3983
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3984
#endif
3985
 
3986
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3987
int
3988
main ()
3989
{
3990
  int i;
3991
  for (i = 0; i < 256; i++)
3992
    if (XOR (islower (i), ISLOWER (i))
3993
        || toupper (i) != TOUPPER (i))
3994 1743 jeremybenn
      return 2;
3995
  return 0;
3996 1576 phoenix
}
3997
_ACEOF
3998
rm -f conftest$ac_exeext
3999 1743 jeremybenn
if { (ac_try="$ac_link"
4000
case "(($ac_try" in
4001
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002
  *) ac_try_echo=$ac_try;;
4003
esac
4004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005
  (eval "$ac_link") 2>&5
4006 1576 phoenix
  ac_status=$?
4007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4009 1743 jeremybenn
  { (case "(($ac_try" in
4010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011
  *) ac_try_echo=$ac_try;;
4012
esac
4013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4014
  (eval "$ac_try") 2>&5
4015 1576 phoenix
  ac_status=$?
4016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017
  (exit $ac_status); }; }; then
4018
  :
4019
else
4020
  echo "$as_me: program exited with status $ac_status" >&5
4021
echo "$as_me: failed program was:" >&5
4022
sed 's/^/| /' conftest.$ac_ext >&5
4023
 
4024
( exit $ac_status )
4025
ac_cv_header_stdc=no
4026
fi
4027 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4028 1576 phoenix
fi
4029 1743 jeremybenn
 
4030
 
4031 1576 phoenix
fi
4032
fi
4033 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4034
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4035 1576 phoenix
if test $ac_cv_header_stdc = yes; then
4036
 
4037
cat >>confdefs.h <<\_ACEOF
4038
#define STDC_HEADERS 1
4039
_ACEOF
4040
 
4041
fi
4042
 
4043
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4044
 
4045
 
4046
 
4047
 
4048
 
4049
 
4050
 
4051
 
4052
 
4053
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4054
                  inttypes.h stdint.h unistd.h
4055
do
4056
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4057 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4058
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4059
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4060 1576 phoenix
  echo $ECHO_N "(cached) $ECHO_C" >&6
4061
else
4062
  cat >conftest.$ac_ext <<_ACEOF
4063
/* confdefs.h.  */
4064
_ACEOF
4065
cat confdefs.h >>conftest.$ac_ext
4066
cat >>conftest.$ac_ext <<_ACEOF
4067
/* end confdefs.h.  */
4068
$ac_includes_default
4069
 
4070
#include <$ac_header>
4071
_ACEOF
4072
rm -f conftest.$ac_objext
4073 1743 jeremybenn
if { (ac_try="$ac_compile"
4074
case "(($ac_try" in
4075
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076
  *) ac_try_echo=$ac_try;;
4077
esac
4078
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079
  (eval "$ac_compile") 2>conftest.er1
4080 1576 phoenix
  ac_status=$?
4081
  grep -v '^ *+' conftest.er1 >conftest.err
4082
  rm -f conftest.er1
4083
  cat conftest.err >&5
4084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 1743 jeremybenn
  (exit $ac_status); } && {
4086
         test -z "$ac_c_werror_flag" ||
4087
         test ! -s conftest.err
4088
       } && test -s conftest.$ac_objext; then
4089 1576 phoenix
  eval "$as_ac_Header=yes"
4090
else
4091
  echo "$as_me: failed program was:" >&5
4092
sed 's/^/| /' conftest.$ac_ext >&5
4093
 
4094 1743 jeremybenn
        eval "$as_ac_Header=no"
4095 1576 phoenix
fi
4096 1743 jeremybenn
 
4097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4098 1576 phoenix
fi
4099 1743 jeremybenn
ac_res=`eval echo '${'$as_ac_Header'}'`
4100
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4101
echo "${ECHO_T}$ac_res" >&6; }
4102 1576 phoenix
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4103
  cat >>confdefs.h <<_ACEOF
4104
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4105
_ACEOF
4106
 
4107
fi
4108
 
4109
done
4110
 
4111
 
4112
if test "${ac_cv_header_minix_config_h+set}" = set; then
4113 1743 jeremybenn
  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4114
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4115 1242 hpanther
if test "${ac_cv_header_minix_config_h+set}" = set; then
4116
  echo $ECHO_N "(cached) $ECHO_C" >&6
4117 1576 phoenix
fi
4118 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4119
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4120 1242 hpanther
else
4121 1576 phoenix
  # Is the header compilable?
4122 1743 jeremybenn
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4123
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4124 1576 phoenix
cat >conftest.$ac_ext <<_ACEOF
4125
/* confdefs.h.  */
4126
_ACEOF
4127
cat confdefs.h >>conftest.$ac_ext
4128
cat >>conftest.$ac_ext <<_ACEOF
4129
/* end confdefs.h.  */
4130
$ac_includes_default
4131 7 jrydberg
#include 
4132 1242 hpanther
_ACEOF
4133 1576 phoenix
rm -f conftest.$ac_objext
4134 1743 jeremybenn
if { (ac_try="$ac_compile"
4135
case "(($ac_try" in
4136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137
  *) ac_try_echo=$ac_try;;
4138
esac
4139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4140
  (eval "$ac_compile") 2>conftest.er1
4141 1576 phoenix
  ac_status=$?
4142
  grep -v '^ *+' conftest.er1 >conftest.err
4143
  rm -f conftest.er1
4144
  cat conftest.err >&5
4145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 1743 jeremybenn
  (exit $ac_status); } && {
4147
         test -z "$ac_c_werror_flag" ||
4148
         test ! -s conftest.err
4149
       } && test -s conftest.$ac_objext; then
4150 1576 phoenix
  ac_header_compiler=yes
4151
else
4152
  echo "$as_me: failed program was:" >&5
4153
sed 's/^/| /' conftest.$ac_ext >&5
4154
 
4155 1743 jeremybenn
        ac_header_compiler=no
4156 1576 phoenix
fi
4157
 
4158 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4160
echo "${ECHO_T}$ac_header_compiler" >&6; }
4161
 
4162 1576 phoenix
# Is the header present?
4163 1743 jeremybenn
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4164
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4165 1576 phoenix
cat >conftest.$ac_ext <<_ACEOF
4166
/* confdefs.h.  */
4167
_ACEOF
4168
cat confdefs.h >>conftest.$ac_ext
4169
cat >>conftest.$ac_ext <<_ACEOF
4170
/* end confdefs.h.  */
4171
#include 
4172
_ACEOF
4173 1743 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
4174
case "(($ac_try" in
4175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176
  *) ac_try_echo=$ac_try;;
4177
esac
4178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4179
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4180 1242 hpanther
  ac_status=$?
4181 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
4182 1242 hpanther
  rm -f conftest.er1
4183
  cat conftest.err >&5
4184 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 1743 jeremybenn
  (exit $ac_status); } >/dev/null && {
4186
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4187
         test ! -s conftest.err
4188
       }; then
4189 1576 phoenix
  ac_header_preproc=yes
4190 1242 hpanther
else
4191
  echo "$as_me: failed program was:" >&5
4192 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
4193
 
4194
  ac_header_preproc=no
4195 1242 hpanther
fi
4196 1743 jeremybenn
 
4197 1242 hpanther
rm -f conftest.err conftest.$ac_ext
4198 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4199
echo "${ECHO_T}$ac_header_preproc" >&6; }
4200 1576 phoenix
 
4201
# So?  What about this header?
4202
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4203
  yes:no: )
4204
    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4205
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4206
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4207
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4208
    ac_header_preproc=yes
4209
    ;;
4210
  no:yes:* )
4211
    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4212
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4213
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
4214
echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
4215
    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4216
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4217
    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
4218
echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4219
    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4220
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4221
    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4222
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4223 1743 jeremybenn
 
4224 1576 phoenix
    ;;
4225
esac
4226 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
4227
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4228 1576 phoenix
if test "${ac_cv_header_minix_config_h+set}" = set; then
4229
  echo $ECHO_N "(cached) $ECHO_C" >&6
4230
else
4231
  ac_cv_header_minix_config_h=$ac_header_preproc
4232 1242 hpanther
fi
4233 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4234
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4235 1576 phoenix
 
4236
fi
4237 1242 hpanther
if test $ac_cv_header_minix_config_h = yes; then
4238 7 jrydberg
  MINIX=yes
4239
else
4240 1242 hpanther
  MINIX=
4241 7 jrydberg
fi
4242
 
4243 1576 phoenix
 
4244 7 jrydberg
if test "$MINIX" = yes; then
4245 1242 hpanther
 
4246 1576 phoenix
cat >>confdefs.h <<\_ACEOF
4247 7 jrydberg
#define _POSIX_SOURCE 1
4248 1576 phoenix
_ACEOF
4249 7 jrydberg
 
4250 1576 phoenix
 
4251
cat >>confdefs.h <<\_ACEOF
4252 7 jrydberg
#define _POSIX_1_SOURCE 2
4253 1576 phoenix
_ACEOF
4254 7 jrydberg
 
4255 1576 phoenix
 
4256
cat >>confdefs.h <<\_ACEOF
4257 7 jrydberg
#define _MINIX 1
4258 1576 phoenix
_ACEOF
4259 7 jrydberg
 
4260
fi
4261
 
4262 1576 phoenix
 
4263 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4264
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4265
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4266
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4267 1242 hpanther
  echo $ECHO_N "(cached) $ECHO_C" >&6
4268 7 jrydberg
else
4269 1576 phoenix
  cat >conftest.make <<\_ACEOF
4270 1743 jeremybenn
SHELL = /bin/sh
4271 7 jrydberg
all:
4272 1743 jeremybenn
        @echo '@@@%%%=$(MAKE)=@@@%%%'
4273 1576 phoenix
_ACEOF
4274 7 jrydberg
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4275 1743 jeremybenn
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4276
  *@@@%%%=?*=@@@%%%*)
4277
    eval ac_cv_prog_make_${ac_make}_set=yes;;
4278
  *)
4279
    eval ac_cv_prog_make_${ac_make}_set=no;;
4280
esac
4281 1242 hpanther
rm -f conftest.make
4282 7 jrydberg
fi
4283 1743 jeremybenn
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4284
  { echo "$as_me:$LINENO: result: yes" >&5
4285
echo "${ECHO_T}yes" >&6; }
4286 7 jrydberg
  SET_MAKE=
4287
else
4288 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
4289
echo "${ECHO_T}no" >&6; }
4290 7 jrydberg
  SET_MAKE="MAKE=${MAKE-make}"
4291
fi
4292
 
4293 1576 phoenix
 
4294 7 jrydberg
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
4295 28 lampret
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2 -D$ARCH_ISA"
4296 7 jrydberg
 
4297 1242 hpanther
if test $ac_cv_c_compiler_gnu = yes; then
4298 1743 jeremybenn
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4299
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
4300 1242 hpanther
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4301
  echo $ECHO_N "(cached) $ECHO_C" >&6
4302 7 jrydberg
else
4303
    ac_pattern="Autoconf.*'x'"
4304 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
4305 1576 phoenix
/* confdefs.h.  */
4306
_ACEOF
4307
cat confdefs.h >>conftest.$ac_ext
4308
cat >>conftest.$ac_ext <<_ACEOF
4309
/* end confdefs.h.  */
4310 7 jrydberg
#include 
4311
Autoconf TIOCGETP
4312 1242 hpanther
_ACEOF
4313 7 jrydberg
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4314 1576 phoenix
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
4315 7 jrydberg
  ac_cv_prog_gcc_traditional=yes
4316
else
4317
  ac_cv_prog_gcc_traditional=no
4318
fi
4319
rm -f conftest*
4320
 
4321 1576 phoenix
 
4322 7 jrydberg
  if test $ac_cv_prog_gcc_traditional = no; then
4323 1242 hpanther
    cat >conftest.$ac_ext <<_ACEOF
4324 1576 phoenix
/* confdefs.h.  */
4325
_ACEOF
4326
cat confdefs.h >>conftest.$ac_ext
4327
cat >>conftest.$ac_ext <<_ACEOF
4328
/* end confdefs.h.  */
4329 7 jrydberg
#include 
4330
Autoconf TCGETA
4331 1242 hpanther
_ACEOF
4332 7 jrydberg
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 1576 phoenix
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
4334 7 jrydberg
  ac_cv_prog_gcc_traditional=yes
4335
fi
4336
rm -f conftest*
4337
 
4338
  fi
4339
fi
4340 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4341
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
4342 7 jrydberg
  if test $ac_cv_prog_gcc_traditional = yes; then
4343
    CC="$CC -traditional"
4344
  fi
4345
fi
4346
 
4347
# Find a good install program.  We prefer a C program (faster),
4348
# so one script is as good as another.  But avoid the broken or
4349
# incompatible versions:
4350
# SysV /etc/install, /usr/sbin/install
4351
# SunOS /usr/etc/install
4352
# IRIX /sbin/install
4353
# AIX /bin/install
4354 1242 hpanther
# AmigaOS /C/install, which installs bootblocks on floppy discs
4355 7 jrydberg
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4356
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4357
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4358 1576 phoenix
# OS/2's system install, which has a completely different semantic
4359 7 jrydberg
# ./install, which can be erroneously created by make from ./install.sh.
4360 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4361
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4362 7 jrydberg
if test -z "$INSTALL"; then
4363 1242 hpanther
if test "${ac_cv_path_install+set}" = set; then
4364
  echo $ECHO_N "(cached) $ECHO_C" >&6
4365 7 jrydberg
else
4366 1576 phoenix
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367
for as_dir in $PATH
4368
do
4369
  IFS=$as_save_IFS
4370
  test -z "$as_dir" && as_dir=.
4371
  # Account for people who put trailing slashes in PATH elements.
4372
case $as_dir/ in
4373
  ./ | .// | /cC/* | \
4374
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4375
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4376
  /usr/ucb/* ) ;;
4377
  *)
4378
    # OSF1 and SCO ODT 3.0 have their own names for install.
4379
    # Don't use installbsd from OSF since it installs stuff as root
4380
    # by default.
4381
    for ac_prog in ginstall scoinst install; do
4382
      for ac_exec_ext in '' $ac_executable_extensions; do
4383 1743 jeremybenn
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4384 1249 lampret
          if test $ac_prog = install &&
4385 1576 phoenix
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4386 1249 lampret
            # AIX install.  It has an incompatible calling convention.
4387
            :
4388
          elif test $ac_prog = install &&
4389 1576 phoenix
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4390 1249 lampret
            # program-specific install script used by HP pwplus--don't use.
4391
            :
4392
          else
4393 1576 phoenix
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4394
            break 3
4395 1249 lampret
          fi
4396
        fi
4397 7 jrydberg
      done
4398 1576 phoenix
    done
4399
    ;;
4400
esac
4401
done
4402 1743 jeremybenn
IFS=$as_save_IFS
4403 7 jrydberg
 
4404 1576 phoenix
 
4405 7 jrydberg
fi
4406
  if test "${ac_cv_path_install+set}" = set; then
4407 1242 hpanther
    INSTALL=$ac_cv_path_install
4408 7 jrydberg
  else
4409 1743 jeremybenn
    # As a last resort, use the slow shell script.  Don't cache a
4410
    # value for INSTALL within a source directory, because that will
4411 7 jrydberg
    # break other packages using the cache if that directory is
4412 1743 jeremybenn
    # removed, or if the value is a relative name.
4413 1242 hpanther
    INSTALL=$ac_install_sh
4414 7 jrydberg
  fi
4415
fi
4416 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4417
echo "${ECHO_T}$INSTALL" >&6; }
4418 7 jrydberg
 
4419
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4420
# It thinks the first close brace ends the variable substitution.
4421
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4422
 
4423 1242 hpanther
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4424 7 jrydberg
 
4425
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4426
 
4427
# Extract the first word of "ar", so it can be a program name with args.
4428
set dummy ar; ac_word=$2
4429 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4430
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4431 1242 hpanther
if test "${ac_cv_prog_AR+set}" = set; then
4432
  echo $ECHO_N "(cached) $ECHO_C" >&6
4433 7 jrydberg
else
4434
  if test -n "$AR"; then
4435
  ac_cv_prog_AR="$AR" # Let the user override the test.
4436
else
4437 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438
for as_dir in $PATH
4439
do
4440
  IFS=$as_save_IFS
4441
  test -z "$as_dir" && as_dir=.
4442
  for ac_exec_ext in '' $ac_executable_extensions; do
4443 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4444 1576 phoenix
    ac_cv_prog_AR="ar"
4445
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446
    break 2
4447
  fi
4448 1242 hpanther
done
4449 1576 phoenix
done
4450 1743 jeremybenn
IFS=$as_save_IFS
4451 1242 hpanther
 
4452 7 jrydberg
fi
4453
fi
4454 1242 hpanther
AR=$ac_cv_prog_AR
4455 7 jrydberg
if test -n "$AR"; then
4456 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $AR" >&5
4457
echo "${ECHO_T}$AR" >&6; }
4458 7 jrydberg
else
4459 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
4460
echo "${ECHO_T}no" >&6; }
4461 7 jrydberg
fi
4462
 
4463 1743 jeremybenn
 
4464 7 jrydberg
test -n "$ARFLAGS" || ARFLAGS="cr"
4465 1242 hpanther
if test -n "$ac_tool_prefix"; then
4466
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4467
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4468 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4470 1242 hpanther
if test "${ac_cv_prog_RANLIB+set}" = set; then
4471
  echo $ECHO_N "(cached) $ECHO_C" >&6
4472 7 jrydberg
else
4473
  if test -n "$RANLIB"; then
4474
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4475
else
4476 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477
for as_dir in $PATH
4478
do
4479
  IFS=$as_save_IFS
4480
  test -z "$as_dir" && as_dir=.
4481
  for ac_exec_ext in '' $ac_executable_extensions; do
4482 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4483 1576 phoenix
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4484
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4485
    break 2
4486
  fi
4487 1242 hpanther
done
4488 1576 phoenix
done
4489 1743 jeremybenn
IFS=$as_save_IFS
4490 1242 hpanther
 
4491 7 jrydberg
fi
4492
fi
4493 1242 hpanther
RANLIB=$ac_cv_prog_RANLIB
4494 7 jrydberg
if test -n "$RANLIB"; then
4495 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
4496
echo "${ECHO_T}$RANLIB" >&6; }
4497 7 jrydberg
else
4498 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
4499
echo "${ECHO_T}no" >&6; }
4500 7 jrydberg
fi
4501
 
4502 1743 jeremybenn
 
4503 1242 hpanther
fi
4504
if test -z "$ac_cv_prog_RANLIB"; then
4505
  ac_ct_RANLIB=$RANLIB
4506
  # Extract the first word of "ranlib", so it can be a program name with args.
4507
set dummy ranlib; ac_word=$2
4508 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4509
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4510 1242 hpanther
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4511
  echo $ECHO_N "(cached) $ECHO_C" >&6
4512
else
4513
  if test -n "$ac_ct_RANLIB"; then
4514
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4515
else
4516 1576 phoenix
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517
for as_dir in $PATH
4518
do
4519
  IFS=$as_save_IFS
4520
  test -z "$as_dir" && as_dir=.
4521
  for ac_exec_ext in '' $ac_executable_extensions; do
4522 1743 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4523 1576 phoenix
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4524
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4525
    break 2
4526
  fi
4527 1242 hpanther
done
4528 1576 phoenix
done
4529 1743 jeremybenn
IFS=$as_save_IFS
4530 7 jrydberg
 
4531 1242 hpanther
fi
4532
fi
4533
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4534
if test -n "$ac_ct_RANLIB"; then
4535 1743 jeremybenn
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4536
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4537 1242 hpanther
else
4538 1743 jeremybenn
  { echo "$as_me:$LINENO: result: no" >&5
4539
echo "${ECHO_T}no" >&6; }
4540 1242 hpanther
fi
4541
 
4542 1743 jeremybenn
  if test "x$ac_ct_RANLIB" = x; then
4543
    RANLIB=":"
4544
  else
4545
    case $cross_compiling:$ac_tool_warned in
4546
yes:)
4547
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4548
whose name does not start with the host triplet.  If you think this
4549
configuration is useful to you, please write to autoconf@gnu.org." >&5
4550
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4551
whose name does not start with the host triplet.  If you think this
4552
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4553
ac_tool_warned=yes ;;
4554
esac
4555
    RANLIB=$ac_ct_RANLIB
4556
  fi
4557 1242 hpanther
else
4558
  RANLIB="$ac_cv_prog_RANLIB"
4559
fi
4560
 
4561 1576 phoenix
 
4562 7 jrydberg
MAKE_SHELL=/bin/sh
4563
 
4564 1576 phoenix
 
4565
 
4566 1743 jeremybenn
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4567
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
4568 1242 hpanther
if test "${ac_cv_type_signal+set}" = set; then
4569
  echo $ECHO_N "(cached) $ECHO_C" >&6
4570 7 jrydberg
else
4571 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
4572 1576 phoenix
/* confdefs.h.  */
4573
_ACEOF
4574
cat confdefs.h >>conftest.$ac_ext
4575
cat >>conftest.$ac_ext <<_ACEOF
4576
/* end confdefs.h.  */
4577 7 jrydberg
#include 
4578
#include 
4579
 
4580 1242 hpanther
int
4581
main ()
4582
{
4583 1743 jeremybenn
return *(signal (0, 0)) (0) == 1;
4584 1242 hpanther
  ;
4585
  return 0;
4586
}
4587
_ACEOF
4588
rm -f conftest.$ac_objext
4589 1743 jeremybenn
if { (ac_try="$ac_compile"
4590
case "(($ac_try" in
4591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4592
  *) ac_try_echo=$ac_try;;
4593
esac
4594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4595
  (eval "$ac_compile") 2>conftest.er1
4596 1242 hpanther
  ac_status=$?
4597 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
4598
  rm -f conftest.er1
4599
  cat conftest.err >&5
4600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 1743 jeremybenn
  (exit $ac_status); } && {
4602
         test -z "$ac_c_werror_flag" ||
4603
         test ! -s conftest.err
4604
       } && test -s conftest.$ac_objext; then
4605
  ac_cv_type_signal=int
4606 7 jrydberg
else
4607 1242 hpanther
  echo "$as_me: failed program was:" >&5
4608 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
4609
 
4610 1743 jeremybenn
        ac_cv_type_signal=void
4611 7 jrydberg
fi
4612 1743 jeremybenn
 
4613
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 7 jrydberg
fi
4615 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4616
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
4617 7 jrydberg
 
4618 1576 phoenix
cat >>confdefs.h <<_ACEOF
4619 7 jrydberg
#define RETSIGTYPE $ac_cv_type_signal
4620 1576 phoenix
_ACEOF
4621 7 jrydberg
 
4622 1576 phoenix
 
4623 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4624
echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
4625 1242 hpanther
if test "${ac_cv_header_stat_broken+set}" = set; then
4626
  echo $ECHO_N "(cached) $ECHO_C" >&6
4627 7 jrydberg
else
4628 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
4629 1576 phoenix
/* confdefs.h.  */
4630
_ACEOF
4631
cat confdefs.h >>conftest.$ac_ext
4632
cat >>conftest.$ac_ext <<_ACEOF
4633
/* end confdefs.h.  */
4634 7 jrydberg
#include 
4635
#include 
4636
 
4637 1743 jeremybenn
#if defined S_ISBLK && defined S_IFDIR
4638
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
4639 7 jrydberg
#endif
4640
 
4641 1743 jeremybenn
#if defined S_ISBLK && defined S_IFCHR
4642
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
4643 7 jrydberg
#endif
4644
 
4645 1743 jeremybenn
#if defined S_ISLNK && defined S_IFREG
4646
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
4647 7 jrydberg
#endif
4648
 
4649 1743 jeremybenn
#if defined S_ISSOCK && defined S_IFREG
4650
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
4651 7 jrydberg
#endif
4652
 
4653 1242 hpanther
_ACEOF
4654 1743 jeremybenn
rm -f conftest.$ac_objext
4655
if { (ac_try="$ac_compile"
4656
case "(($ac_try" in
4657
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658
  *) ac_try_echo=$ac_try;;
4659
esac
4660
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661
  (eval "$ac_compile") 2>conftest.er1
4662
  ac_status=$?
4663
  grep -v '^ *+' conftest.er1 >conftest.err
4664
  rm -f conftest.er1
4665
  cat conftest.err >&5
4666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667
  (exit $ac_status); } && {
4668
         test -z "$ac_c_werror_flag" ||
4669
         test ! -s conftest.err
4670
       } && test -s conftest.$ac_objext; then
4671
  ac_cv_header_stat_broken=no
4672 7 jrydberg
else
4673 1743 jeremybenn
  echo "$as_me: failed program was:" >&5
4674
sed 's/^/| /' conftest.$ac_ext >&5
4675
 
4676
        ac_cv_header_stat_broken=yes
4677 7 jrydberg
fi
4678
 
4679 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 7 jrydberg
fi
4681 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4682
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
4683 1242 hpanther
if test $ac_cv_header_stat_broken = yes; then
4684 7 jrydberg
 
4685 1576 phoenix
cat >>confdefs.h <<\_ACEOF
4686 7 jrydberg
#define STAT_MACROS_BROKEN 1
4687 1576 phoenix
_ACEOF
4688 7 jrydberg
 
4689
fi
4690
 
4691 1576 phoenix
 
4692
 
4693
 
4694
 
4695
 
4696 7 jrydberg
ac_header_dirent=no
4697 1242 hpanther
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4698
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4699 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4700
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
4701
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4702 1242 hpanther
  echo $ECHO_N "(cached) $ECHO_C" >&6
4703 7 jrydberg
else
4704 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
4705 1576 phoenix
/* confdefs.h.  */
4706
_ACEOF
4707
cat confdefs.h >>conftest.$ac_ext
4708
cat >>conftest.$ac_ext <<_ACEOF
4709
/* end confdefs.h.  */
4710 7 jrydberg
#include 
4711
#include <$ac_hdr>
4712 1242 hpanther
 
4713
int
4714
main ()
4715
{
4716
if ((DIR *) 0)
4717
return 0;
4718
  ;
4719
  return 0;
4720
}
4721
_ACEOF
4722
rm -f conftest.$ac_objext
4723 1743 jeremybenn
if { (ac_try="$ac_compile"
4724
case "(($ac_try" in
4725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726
  *) ac_try_echo=$ac_try;;
4727
esac
4728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4729
  (eval "$ac_compile") 2>conftest.er1
4730 1242 hpanther
  ac_status=$?
4731 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
4732
  rm -f conftest.er1
4733
  cat conftest.err >&5
4734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 1743 jeremybenn
  (exit $ac_status); } && {
4736
         test -z "$ac_c_werror_flag" ||
4737
         test ! -s conftest.err
4738
       } && test -s conftest.$ac_objext; then
4739 1242 hpanther
  eval "$as_ac_Header=yes"
4740 7 jrydberg
else
4741 1242 hpanther
  echo "$as_me: failed program was:" >&5
4742 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
4743
 
4744 1743 jeremybenn
        eval "$as_ac_Header=no"
4745 7 jrydberg
fi
4746 1743 jeremybenn
 
4747
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 7 jrydberg
fi
4749 1743 jeremybenn
ac_res=`eval echo '${'$as_ac_Header'}'`
4750
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4751
echo "${ECHO_T}$ac_res" >&6; }
4752 1242 hpanther
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4753 1576 phoenix
  cat >>confdefs.h <<_ACEOF
4754 1242 hpanther
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4755 1576 phoenix
_ACEOF
4756 1242 hpanther
 
4757
ac_header_dirent=$ac_hdr; break
4758 7 jrydberg
fi
4759 1242 hpanther
 
4760 7 jrydberg
done
4761
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4762
if test $ac_header_dirent = dirent.h; then
4763 1743 jeremybenn
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4764
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4765 1576 phoenix
if test "${ac_cv_search_opendir+set}" = set; then
4766 1242 hpanther
  echo $ECHO_N "(cached) $ECHO_C" >&6
4767 7 jrydberg
else
4768 1576 phoenix
  ac_func_search_save_LIBS=$LIBS
4769 1242 hpanther
cat >conftest.$ac_ext <<_ACEOF
4770 1576 phoenix
/* confdefs.h.  */
4771
_ACEOF
4772
cat confdefs.h >>conftest.$ac_ext
4773
cat >>conftest.$ac_ext <<_ACEOF
4774
/* end confdefs.h.  */
4775 1242 hpanther
 
4776 1743 jeremybenn
/* Override any GCC internal prototype to avoid an error.
4777
   Use char because int might match the return type of a GCC
4778
   builtin and then its argument prototype would still apply.  */
4779 1242 hpanther
#ifdef __cplusplus
4780
extern "C"
4781
#endif
4782
char opendir ();
4783
int
4784
main ()
4785
{
4786 1743 jeremybenn
return opendir ();
4787 1242 hpanther
  ;
4788
  return 0;
4789
}
4790
_ACEOF
4791 1743 jeremybenn
for ac_lib in '' dir; do
4792
  if test -z "$ac_lib"; then
4793
    ac_res="none required"
4794
  else
4795
    ac_res=-l$ac_lib
4796
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4797
  fi
4798
  rm -f conftest.$ac_objext conftest$ac_exeext
4799
if { (ac_try="$ac_link"
4800
case "(($ac_try" in
4801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4802
  *) ac_try_echo=$ac_try;;
4803
esac
4804
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4805
  (eval "$ac_link") 2>conftest.er1
4806 1242 hpanther
  ac_status=$?
4807 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
4808
  rm -f conftest.er1
4809
  cat conftest.err >&5
4810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 1743 jeremybenn
  (exit $ac_status); } && {
4812
         test -z "$ac_c_werror_flag" ||
4813
         test ! -s conftest.err
4814
       } && test -s conftest$ac_exeext &&
4815
       $as_test_x conftest$ac_exeext; then
4816
  ac_cv_search_opendir=$ac_res
4817 1242 hpanther
else
4818
  echo "$as_me: failed program was:" >&5
4819 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
4820
 
4821 1743 jeremybenn
 
4822 7 jrydberg
fi
4823 1576 phoenix
 
4824 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4825
      conftest$ac_exeext
4826
  if test "${ac_cv_search_opendir+set}" = set; then
4827
  break
4828
fi
4829
done
4830
if test "${ac_cv_search_opendir+set}" = set; then
4831
  :
4832 1576 phoenix
else
4833 1743 jeremybenn
  ac_cv_search_opendir=no
4834 1249 lampret
fi
4835 1743 jeremybenn
rm conftest.$ac_ext
4836 1576 phoenix
LIBS=$ac_func_search_save_LIBS
4837
fi
4838 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4839
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4840
ac_res=$ac_cv_search_opendir
4841
if test "$ac_res" != no; then
4842
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4843 7 jrydberg
 
4844 1576 phoenix
fi
4845
 
4846 1249 lampret
else
4847 1743 jeremybenn
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4848
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
4849 1576 phoenix
if test "${ac_cv_search_opendir+set}" = set; then
4850 1249 lampret
  echo $ECHO_N "(cached) $ECHO_C" >&6
4851
else
4852 1576 phoenix
  ac_func_search_save_LIBS=$LIBS
4853 1249 lampret
cat >conftest.$ac_ext <<_ACEOF
4854 1576 phoenix
/* confdefs.h.  */
4855
_ACEOF
4856
cat confdefs.h >>conftest.$ac_ext
4857
cat >>conftest.$ac_ext <<_ACEOF
4858
/* end confdefs.h.  */
4859 1249 lampret
 
4860 1743 jeremybenn
/* Override any GCC internal prototype to avoid an error.
4861
   Use char because int might match the return type of a GCC
4862
   builtin and then its argument prototype would still apply.  */
4863 1242 hpanther
#ifdef __cplusplus
4864
extern "C"
4865
#endif
4866
char opendir ();
4867
int
4868
main ()
4869
{
4870 1743 jeremybenn
return opendir ();
4871 1242 hpanther
  ;
4872
  return 0;
4873
}
4874
_ACEOF
4875 1743 jeremybenn
for ac_lib in '' x; do
4876
  if test -z "$ac_lib"; then
4877
    ac_res="none required"
4878
  else
4879
    ac_res=-l$ac_lib
4880
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4881
  fi
4882
  rm -f conftest.$ac_objext conftest$ac_exeext
4883
if { (ac_try="$ac_link"
4884
case "(($ac_try" in
4885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886
  *) ac_try_echo=$ac_try;;
4887
esac
4888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4889
  (eval "$ac_link") 2>conftest.er1
4890 1242 hpanther
  ac_status=$?
4891 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
4892
  rm -f conftest.er1
4893
  cat conftest.err >&5
4894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 1743 jeremybenn
  (exit $ac_status); } && {
4896
         test -z "$ac_c_werror_flag" ||
4897
         test ! -s conftest.err
4898
       } && test -s conftest$ac_exeext &&
4899
       $as_test_x conftest$ac_exeext; then
4900
  ac_cv_search_opendir=$ac_res
4901 7 jrydberg
else
4902 1242 hpanther
  echo "$as_me: failed program was:" >&5
4903 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
4904 7 jrydberg
 
4905 1743 jeremybenn
 
4906 1242 hpanther
fi
4907
 
4908 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4909
      conftest$ac_exeext
4910
  if test "${ac_cv_search_opendir+set}" = set; then
4911
  break
4912
fi
4913
done
4914
if test "${ac_cv_search_opendir+set}" = set; then
4915
  :
4916 7 jrydberg
else
4917 1743 jeremybenn
  ac_cv_search_opendir=no
4918 7 jrydberg
fi
4919 1743 jeremybenn
rm conftest.$ac_ext
4920 1576 phoenix
LIBS=$ac_func_search_save_LIBS
4921
fi
4922 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4923
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4924
ac_res=$ac_cv_search_opendir
4925
if test "$ac_res" != no; then
4926
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4927 7 jrydberg
 
4928
fi
4929
 
4930 1576 phoenix
fi
4931
 
4932
 
4933
 
4934
 
4935
 
4936
 
4937
 
4938
 
4939
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
4940 7 jrydberg
do
4941 1242 hpanther
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4942 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4943
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4944
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4945 1242 hpanther
  echo $ECHO_N "(cached) $ECHO_C" >&6
4946 7 jrydberg
else
4947 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
4948 1576 phoenix
/* confdefs.h.  */
4949
_ACEOF
4950
cat confdefs.h >>conftest.$ac_ext
4951
cat >>conftest.$ac_ext <<_ACEOF
4952
/* end confdefs.h.  */
4953
/* Define $ac_func to an innocuous variant, in case  declares $ac_func.
4954
   For example, HP-UX 11i  declares gettimeofday.  */
4955
#define $ac_func innocuous_$ac_func
4956
 
4957 7 jrydberg
/* System header to define __stub macros and hopefully few prototypes,
4958 1576 phoenix
    which can conflict with char $ac_func (); below.
4959
    Prefer  to  if __STDC__ is defined, since
4960
     exists even on freestanding compilers.  */
4961
 
4962
#ifdef __STDC__
4963
# include 
4964
#else
4965
# include 
4966
#endif
4967
 
4968
#undef $ac_func
4969
 
4970 1743 jeremybenn
/* Override any GCC internal prototype to avoid an error.
4971
   Use char because int might match the return type of a GCC
4972
   builtin and then its argument prototype would still apply.  */
4973 1242 hpanther
#ifdef __cplusplus
4974
extern "C"
4975
#endif
4976
char $ac_func ();
4977
/* The GNU C library defines this for functions which it implements
4978
    to always fail with ENOSYS.  Some functions are actually named
4979
    something starting with __ and the normal name is an alias.  */
4980 1743 jeremybenn
#if defined __stub_$ac_func || defined __stub___$ac_func
4981 1242 hpanther
choke me
4982
#endif
4983 7 jrydberg
 
4984 1576 phoenix
int
4985
main ()
4986
{
4987 1743 jeremybenn
return $ac_func ();
4988 1242 hpanther
  ;
4989
  return 0;
4990
}
4991
_ACEOF
4992
rm -f conftest.$ac_objext conftest$ac_exeext
4993 1743 jeremybenn
if { (ac_try="$ac_link"
4994
case "(($ac_try" in
4995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4996
  *) ac_try_echo=$ac_try;;
4997
esac
4998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4999
  (eval "$ac_link") 2>conftest.er1
5000 1242 hpanther
  ac_status=$?
5001 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5002
  rm -f conftest.er1
5003
  cat conftest.err >&5
5004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 1743 jeremybenn
  (exit $ac_status); } && {
5006
         test -z "$ac_c_werror_flag" ||
5007
         test ! -s conftest.err
5008
       } && test -s conftest$ac_exeext &&
5009
       $as_test_x conftest$ac_exeext; then
5010 1242 hpanther
  eval "$as_ac_var=yes"
5011
else
5012
  echo "$as_me: failed program was:" >&5
5013 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5014
 
5015 1743 jeremybenn
        eval "$as_ac_var=no"
5016 1242 hpanther
fi
5017 1743 jeremybenn
 
5018
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5019 1576 phoenix
      conftest$ac_exeext conftest.$ac_ext
5020 1242 hpanther
fi
5021 1743 jeremybenn
ac_res=`eval echo '${'$as_ac_var'}'`
5022
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5023
echo "${ECHO_T}$ac_res" >&6; }
5024 1242 hpanther
if test `eval echo '${'$as_ac_var'}'` = yes; then
5025 1576 phoenix
  cat >>confdefs.h <<_ACEOF
5026 1242 hpanther
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5027 1576 phoenix
_ACEOF
5028 1242 hpanther
 
5029
fi
5030
done
5031
 
5032
 
5033
 
5034
 
5035
 
5036
 
5037 1576 phoenix
 
5038
for ac_func in strndup grantpt unlockpt ptsname on_exit isblank
5039
do
5040
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5041 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5042
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5043
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5044 1576 phoenix
  echo $ECHO_N "(cached) $ECHO_C" >&6
5045
else
5046 1249 lampret
  cat >conftest.$ac_ext <<_ACEOF
5047 1576 phoenix
/* confdefs.h.  */
5048 1249 lampret
_ACEOF
5049 1576 phoenix
cat confdefs.h >>conftest.$ac_ext
5050
cat >>conftest.$ac_ext <<_ACEOF
5051
/* end confdefs.h.  */
5052
/* Define $ac_func to an innocuous variant, in case  declares $ac_func.
5053
   For example, HP-UX 11i  declares gettimeofday.  */
5054
#define $ac_func innocuous_$ac_func
5055 1249 lampret
 
5056 1576 phoenix
/* System header to define __stub macros and hopefully few prototypes,
5057
    which can conflict with char $ac_func (); below.
5058
    Prefer  to  if __STDC__ is defined, since
5059
     exists even on freestanding compilers.  */
5060 1249 lampret
 
5061 1576 phoenix
#ifdef __STDC__
5062
# include 
5063 1242 hpanther
#else
5064 1576 phoenix
# include 
5065 1242 hpanther
#endif
5066 7 jrydberg
 
5067 1576 phoenix
#undef $ac_func
5068
 
5069 1743 jeremybenn
/* Override any GCC internal prototype to avoid an error.
5070
   Use char because int might match the return type of a GCC
5071
   builtin and then its argument prototype would still apply.  */
5072 1576 phoenix
#ifdef __cplusplus
5073
extern "C"
5074
#endif
5075
char $ac_func ();
5076
/* The GNU C library defines this for functions which it implements
5077
    to always fail with ENOSYS.  Some functions are actually named
5078
    something starting with __ and the normal name is an alias.  */
5079 1743 jeremybenn
#if defined __stub_$ac_func || defined __stub___$ac_func
5080 1576 phoenix
choke me
5081
#endif
5082
 
5083 1242 hpanther
int
5084
main ()
5085
{
5086 1743 jeremybenn
return $ac_func ();
5087 1576 phoenix
  ;
5088
  return 0;
5089 1242 hpanther
}
5090
_ACEOF
5091 1576 phoenix
rm -f conftest.$ac_objext conftest$ac_exeext
5092 1743 jeremybenn
if { (ac_try="$ac_link"
5093
case "(($ac_try" in
5094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095
  *) ac_try_echo=$ac_try;;
5096
esac
5097
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098
  (eval "$ac_link") 2>conftest.er1
5099 1242 hpanther
  ac_status=$?
5100 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5101
  rm -f conftest.er1
5102
  cat conftest.err >&5
5103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 1743 jeremybenn
  (exit $ac_status); } && {
5105
         test -z "$ac_c_werror_flag" ||
5106
         test ! -s conftest.err
5107
       } && test -s conftest$ac_exeext &&
5108
       $as_test_x conftest$ac_exeext; then
5109 1576 phoenix
  eval "$as_ac_var=yes"
5110 7 jrydberg
else
5111 1242 hpanther
  echo "$as_me: failed program was:" >&5
5112 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5113
 
5114 1743 jeremybenn
        eval "$as_ac_var=no"
5115 7 jrydberg
fi
5116 1743 jeremybenn
 
5117
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5118 1576 phoenix
      conftest$ac_exeext conftest.$ac_ext
5119 7 jrydberg
fi
5120 1743 jeremybenn
ac_res=`eval echo '${'$as_ac_var'}'`
5121
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5122
echo "${ECHO_T}$ac_res" >&6; }
5123 1576 phoenix
if test `eval echo '${'$as_ac_var'}'` = yes; then
5124
  cat >>confdefs.h <<_ACEOF
5125
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5126
_ACEOF
5127 7 jrydberg
 
5128
fi
5129
done
5130
 
5131 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for working strcoll" >&5
5132
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; }
5133 1242 hpanther
if test "${ac_cv_func_strcoll_works+set}" = set; then
5134
  echo $ECHO_N "(cached) $ECHO_C" >&6
5135 7 jrydberg
else
5136
  if test "$cross_compiling" = yes; then
5137
  ac_cv_func_strcoll_works=no
5138
else
5139 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
5140 1576 phoenix
/* confdefs.h.  */
5141
_ACEOF
5142
cat confdefs.h >>conftest.$ac_ext
5143
cat >>conftest.$ac_ext <<_ACEOF
5144
/* end confdefs.h.  */
5145 1242 hpanther
$ac_includes_default
5146
int
5147 7 jrydberg
main ()
5148
{
5149 1743 jeremybenn
return (strcoll ("abc", "def") >= 0 ||
5150 1242 hpanther
         strcoll ("ABC", "DEF") >= 0 ||
5151
         strcoll ("123", "456") >= 0)
5152
  ;
5153
  return 0;
5154 7 jrydberg
}
5155 1242 hpanther
_ACEOF
5156
rm -f conftest$ac_exeext
5157 1743 jeremybenn
if { (ac_try="$ac_link"
5158
case "(($ac_try" in
5159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5160
  *) ac_try_echo=$ac_try;;
5161
esac
5162
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5163
  (eval "$ac_link") 2>&5
5164 1242 hpanther
  ac_status=$?
5165 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 1242 hpanther
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5167 1743 jeremybenn
  { (case "(($ac_try" in
5168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5169
  *) ac_try_echo=$ac_try;;
5170
esac
5171
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5172
  (eval "$ac_try") 2>&5
5173 1242 hpanther
  ac_status=$?
5174 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 1242 hpanther
  (exit $ac_status); }; }; then
5176 7 jrydberg
  ac_cv_func_strcoll_works=yes
5177
else
5178 1242 hpanther
  echo "$as_me: program exited with status $ac_status" >&5
5179
echo "$as_me: failed program was:" >&5
5180 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5181
 
5182
( exit $ac_status )
5183 1242 hpanther
ac_cv_func_strcoll_works=no
5184 7 jrydberg
fi
5185 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5186 7 jrydberg
fi
5187 1743 jeremybenn
 
5188
 
5189 7 jrydberg
fi
5190 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
5191
echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
5192 1242 hpanther
if test $ac_cv_func_strcoll_works = yes; then
5193 7 jrydberg
 
5194 1576 phoenix
cat >>confdefs.h <<\_ACEOF
5195 7 jrydberg
#define HAVE_STRCOLL 1
5196 1576 phoenix
_ACEOF
5197 7 jrydberg
 
5198
fi
5199
 
5200 1576 phoenix
 
5201
 
5202
 
5203
 
5204
 
5205
 
5206
 
5207
 
5208
 
5209
 
5210
 
5211
 
5212
 
5213
 
5214
 
5215
 
5216
 
5217
 
5218
 
5219 1242 hpanther
for ac_header in unistd.h stdlib.h varargs.h stdarg.h string.h \
5220
                sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \
5221 345 erez
                termcap.h termios.h termio.h sys/file.h locale.h\
5222 1376 phoenix
                net/ethernet.h sys/ethernet.h malloc.h inttypes.h
5223 7 jrydberg
do
5224 1242 hpanther
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5225 1743 jeremybenn
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5226
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5227
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5228
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5229 1242 hpanther
  echo $ECHO_N "(cached) $ECHO_C" >&6
5230 1576 phoenix
fi
5231 1743 jeremybenn
ac_res=`eval echo '${'$as_ac_Header'}'`
5232
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5233
echo "${ECHO_T}$ac_res" >&6; }
5234 7 jrydberg
else
5235 1576 phoenix
  # Is the header compilable?
5236 1743 jeremybenn
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5237
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5238 1576 phoenix
cat >conftest.$ac_ext <<_ACEOF
5239
/* confdefs.h.  */
5240
_ACEOF
5241
cat confdefs.h >>conftest.$ac_ext
5242
cat >>conftest.$ac_ext <<_ACEOF
5243
/* end confdefs.h.  */
5244
$ac_includes_default
5245 1242 hpanther
#include <$ac_header>
5246
_ACEOF
5247 1576 phoenix
rm -f conftest.$ac_objext
5248 1743 jeremybenn
if { (ac_try="$ac_compile"
5249
case "(($ac_try" in
5250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5251
  *) ac_try_echo=$ac_try;;
5252
esac
5253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5254
  (eval "$ac_compile") 2>conftest.er1
5255 1576 phoenix
  ac_status=$?
5256
  grep -v '^ *+' conftest.er1 >conftest.err
5257
  rm -f conftest.er1
5258
  cat conftest.err >&5
5259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 1743 jeremybenn
  (exit $ac_status); } && {
5261
         test -z "$ac_c_werror_flag" ||
5262
         test ! -s conftest.err
5263
       } && test -s conftest.$ac_objext; then
5264 1576 phoenix
  ac_header_compiler=yes
5265
else
5266
  echo "$as_me: failed program was:" >&5
5267
sed 's/^/| /' conftest.$ac_ext >&5
5268
 
5269 1743 jeremybenn
        ac_header_compiler=no
5270 1576 phoenix
fi
5271
 
5272 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5273
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5274
echo "${ECHO_T}$ac_header_compiler" >&6; }
5275
 
5276 1576 phoenix
# Is the header present?
5277 1743 jeremybenn
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5278
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5279 1576 phoenix
cat >conftest.$ac_ext <<_ACEOF
5280
/* confdefs.h.  */
5281
_ACEOF
5282
cat confdefs.h >>conftest.$ac_ext
5283
cat >>conftest.$ac_ext <<_ACEOF
5284
/* end confdefs.h.  */
5285
#include <$ac_header>
5286
_ACEOF
5287 1743 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
5288
case "(($ac_try" in
5289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290
  *) ac_try_echo=$ac_try;;
5291
esac
5292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5294 1242 hpanther
  ac_status=$?
5295 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5296 1242 hpanther
  rm -f conftest.er1
5297
  cat conftest.err >&5
5298 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 1743 jeremybenn
  (exit $ac_status); } >/dev/null && {
5300
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5301
         test ! -s conftest.err
5302
       }; then
5303 1576 phoenix
  ac_header_preproc=yes
5304 7 jrydberg
else
5305 1242 hpanther
  echo "$as_me: failed program was:" >&5
5306 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5307
 
5308
  ac_header_preproc=no
5309 7 jrydberg
fi
5310 1743 jeremybenn
 
5311 1242 hpanther
rm -f conftest.err conftest.$ac_ext
5312 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5313
echo "${ECHO_T}$ac_header_preproc" >&6; }
5314 1576 phoenix
 
5315
# So?  What about this header?
5316
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5317
  yes:no: )
5318
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5319
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5320
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5321
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5322
    ac_header_preproc=yes
5323
    ;;
5324
  no:yes:* )
5325
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5326
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5327
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5328
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5329
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5330
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5331
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5332
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5333
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5334
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5335
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5336
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5337 1743 jeremybenn
 
5338 1576 phoenix
    ;;
5339
esac
5340 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5341
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5342
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5343 1576 phoenix
  echo $ECHO_N "(cached) $ECHO_C" >&6
5344
else
5345
  eval "$as_ac_Header=\$ac_header_preproc"
5346 1242 hpanther
fi
5347 1743 jeremybenn
ac_res=`eval echo '${'$as_ac_Header'}'`
5348
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5349
echo "${ECHO_T}$ac_res" >&6; }
5350 1576 phoenix
 
5351
fi
5352 1242 hpanther
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5353 1576 phoenix
  cat >>confdefs.h <<_ACEOF
5354 1242 hpanther
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5355 1576 phoenix
_ACEOF
5356 1242 hpanther
 
5357
fi
5358 1576 phoenix
 
5359 7 jrydberg
done
5360
 
5361 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5362
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
5363 1242 hpanther
if test "${ac_cv_c_bigendian+set}" = set; then
5364
  echo $ECHO_N "(cached) $ECHO_C" >&6
5365
else
5366 1576 phoenix
  # See if sys/param.h defines the BYTE_ORDER macro.
5367 1242 hpanther
cat >conftest.$ac_ext <<_ACEOF
5368 1576 phoenix
/* confdefs.h.  */
5369
_ACEOF
5370
cat confdefs.h >>conftest.$ac_ext
5371
cat >>conftest.$ac_ext <<_ACEOF
5372
/* end confdefs.h.  */
5373 1242 hpanther
#include 
5374
#include 
5375 7 jrydberg
 
5376 1242 hpanther
int
5377
main ()
5378
{
5379 1743 jeremybenn
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
5380
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
5381 1242 hpanther
 bogus endian macros
5382
#endif
5383 202 erez
 
5384 1242 hpanther
  ;
5385
  return 0;
5386
}
5387
_ACEOF
5388
rm -f conftest.$ac_objext
5389 1743 jeremybenn
if { (ac_try="$ac_compile"
5390
case "(($ac_try" in
5391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392
  *) ac_try_echo=$ac_try;;
5393
esac
5394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395
  (eval "$ac_compile") 2>conftest.er1
5396 1242 hpanther
  ac_status=$?
5397 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5398
  rm -f conftest.er1
5399
  cat conftest.err >&5
5400
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 1743 jeremybenn
  (exit $ac_status); } && {
5402
         test -z "$ac_c_werror_flag" ||
5403
         test ! -s conftest.err
5404
       } && test -s conftest.$ac_objext; then
5405 1242 hpanther
  # It does; now see whether it defined to BIG_ENDIAN or not.
5406
cat >conftest.$ac_ext <<_ACEOF
5407 1576 phoenix
/* confdefs.h.  */
5408
_ACEOF
5409
cat confdefs.h >>conftest.$ac_ext
5410
cat >>conftest.$ac_ext <<_ACEOF
5411
/* end confdefs.h.  */
5412 1242 hpanther
#include 
5413
#include 
5414
 
5415
int
5416
main ()
5417
{
5418
#if BYTE_ORDER != BIG_ENDIAN
5419
 not big endian
5420
#endif
5421
 
5422
  ;
5423
  return 0;
5424
}
5425
_ACEOF
5426
rm -f conftest.$ac_objext
5427 1743 jeremybenn
if { (ac_try="$ac_compile"
5428
case "(($ac_try" in
5429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430
  *) ac_try_echo=$ac_try;;
5431
esac
5432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433
  (eval "$ac_compile") 2>conftest.er1
5434 1242 hpanther
  ac_status=$?
5435 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5436
  rm -f conftest.er1
5437
  cat conftest.err >&5
5438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 1743 jeremybenn
  (exit $ac_status); } && {
5440
         test -z "$ac_c_werror_flag" ||
5441
         test ! -s conftest.err
5442
       } && test -s conftest.$ac_objext; then
5443 1242 hpanther
  ac_cv_c_bigendian=yes
5444
else
5445
  echo "$as_me: failed program was:" >&5
5446 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5447
 
5448 1743 jeremybenn
        ac_cv_c_bigendian=no
5449 1242 hpanther
fi
5450 1743 jeremybenn
 
5451
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5452 1242 hpanther
else
5453
  echo "$as_me: failed program was:" >&5
5454 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5455
 
5456 1743 jeremybenn
        # It does not; compile a test program.
5457 1576 phoenix
if test "$cross_compiling" = yes; then
5458
  # try to guess the endianness by grepping values into an object file
5459
  ac_cv_c_bigendian=unknown
5460
  cat >conftest.$ac_ext <<_ACEOF
5461
/* confdefs.h.  */
5462
_ACEOF
5463
cat confdefs.h >>conftest.$ac_ext
5464
cat >>conftest.$ac_ext <<_ACEOF
5465
/* end confdefs.h.  */
5466 1743 jeremybenn
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5467
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5468 1576 phoenix
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5469 1743 jeremybenn
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5470
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5471 1576 phoenix
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5472
int
5473
main ()
5474
{
5475
 _ascii (); _ebcdic ();
5476
  ;
5477
  return 0;
5478
}
5479
_ACEOF
5480
rm -f conftest.$ac_objext
5481 1743 jeremybenn
if { (ac_try="$ac_compile"
5482
case "(($ac_try" in
5483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5484
  *) ac_try_echo=$ac_try;;
5485
esac
5486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5487
  (eval "$ac_compile") 2>conftest.er1
5488 1576 phoenix
  ac_status=$?
5489
  grep -v '^ *+' conftest.er1 >conftest.err
5490
  rm -f conftest.er1
5491
  cat conftest.err >&5
5492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 1743 jeremybenn
  (exit $ac_status); } && {
5494
         test -z "$ac_c_werror_flag" ||
5495
         test ! -s conftest.err
5496
       } && test -s conftest.$ac_objext; then
5497 1576 phoenix
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5498
  ac_cv_c_bigendian=yes
5499 1242 hpanther
fi
5500 1576 phoenix
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5501
  if test "$ac_cv_c_bigendian" = unknown; then
5502
    ac_cv_c_bigendian=no
5503
  else
5504
    # finding both strings is unlikely to happen, but who knows?
5505
    ac_cv_c_bigendian=unknown
5506
  fi
5507
fi
5508 1242 hpanther
else
5509 1576 phoenix
  echo "$as_me: failed program was:" >&5
5510
sed 's/^/| /' conftest.$ac_ext >&5
5511
 
5512 1743 jeremybenn
 
5513 1576 phoenix
fi
5514 1743 jeremybenn
 
5515
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5516 1576 phoenix
else
5517 1242 hpanther
  cat >conftest.$ac_ext <<_ACEOF
5518 1576 phoenix
/* confdefs.h.  */
5519
_ACEOF
5520
cat confdefs.h >>conftest.$ac_ext
5521
cat >>conftest.$ac_ext <<_ACEOF
5522
/* end confdefs.h.  */
5523 1743 jeremybenn
$ac_includes_default
5524 1242 hpanther
int
5525
main ()
5526
{
5527 1743 jeremybenn
 
5528 1242 hpanther
  /* Are we little or big endian?  From Harbison&Steele.  */
5529
  union
5530
  {
5531 1743 jeremybenn
    long int l;
5532
    char c[sizeof (long int)];
5533 1242 hpanther
  } u;
5534
  u.l = 1;
5535 1743 jeremybenn
  return u.c[sizeof (long int) - 1] == 1;
5536
 
5537
  ;
5538
  return 0;
5539 1242 hpanther
}
5540
_ACEOF
5541
rm -f conftest$ac_exeext
5542 1743 jeremybenn
if { (ac_try="$ac_link"
5543
case "(($ac_try" in
5544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5545
  *) ac_try_echo=$ac_try;;
5546
esac
5547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5548
  (eval "$ac_link") 2>&5
5549 1242 hpanther
  ac_status=$?
5550 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 1242 hpanther
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5552 1743 jeremybenn
  { (case "(($ac_try" in
5553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5554
  *) ac_try_echo=$ac_try;;
5555
esac
5556
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5557
  (eval "$ac_try") 2>&5
5558 1242 hpanther
  ac_status=$?
5559 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 1242 hpanther
  (exit $ac_status); }; }; then
5561
  ac_cv_c_bigendian=no
5562
else
5563
  echo "$as_me: program exited with status $ac_status" >&5
5564
echo "$as_me: failed program was:" >&5
5565 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5566
 
5567
( exit $ac_status )
5568 1242 hpanther
ac_cv_c_bigendian=yes
5569
fi
5570 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5571 1242 hpanther
fi
5572 1743 jeremybenn
 
5573
 
5574 1242 hpanther
fi
5575 1743 jeremybenn
 
5576
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5577 1242 hpanther
fi
5578 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5579
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
5580 1576 phoenix
case $ac_cv_c_bigendian in
5581
  yes)
5582 1242 hpanther
 
5583 1576 phoenix
cat >>confdefs.h <<\_ACEOF
5584 1242 hpanther
#define WORDS_BIGENDIAN 1
5585 1576 phoenix
_ACEOF
5586
 ;;
5587
  no)
5588
     ;;
5589
  *)
5590
    { { echo "$as_me:$LINENO: error: unknown endianness
5591
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5592
echo "$as_me: error: unknown endianness
5593
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5594
   { (exit 1); exit 1; }; } ;;
5595
esac
5596 1242 hpanther
 
5597
 
5598
cat >conftest.$ac_ext <<_ACEOF
5599 1576 phoenix
/* confdefs.h.  */
5600
_ACEOF
5601
cat confdefs.h >>conftest.$ac_ext
5602
cat >>conftest.$ac_ext <<_ACEOF
5603
/* end confdefs.h.  */
5604 1242 hpanther
 
5605
int
5606
main ()
5607
{
5608 202 erez
long long ll; unsigned long long ull;
5609 1242 hpanther
  ;
5610
  return 0;
5611
}
5612
_ACEOF
5613
rm -f conftest.$ac_objext
5614 1743 jeremybenn
if { (ac_try="$ac_compile"
5615
case "(($ac_try" in
5616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617
  *) ac_try_echo=$ac_try;;
5618
esac
5619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5620
  (eval "$ac_compile") 2>conftest.er1
5621 1242 hpanther
  ac_status=$?
5622 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5623
  rm -f conftest.er1
5624
  cat conftest.err >&5
5625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 1743 jeremybenn
  (exit $ac_status); } && {
5627
         test -z "$ac_c_werror_flag" ||
5628
         test ! -s conftest.err
5629
       } && test -s conftest.$ac_objext; then
5630 1576 phoenix
 
5631
cat >>confdefs.h <<\_ACEOF
5632 202 erez
#define CC_HAS_LONG_LONG 1
5633 1576 phoenix
_ACEOF
5634 202 erez
 
5635
else
5636 1242 hpanther
  echo "$as_me: failed program was:" >&5
5637 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5638
 
5639 1743 jeremybenn
 
5640 202 erez
fi
5641
 
5642 1743 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643
 
5644
{ echo "$as_me:$LINENO: checking for uint8_t" >&5
5645
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
5646 1376 phoenix
if test "${ac_cv_type_uint8_t+set}" = set; then
5647
  echo $ECHO_N "(cached) $ECHO_C" >&6
5648
else
5649
  cat >conftest.$ac_ext <<_ACEOF
5650 1576 phoenix
/* confdefs.h.  */
5651
_ACEOF
5652
cat confdefs.h >>conftest.$ac_ext
5653
cat >>conftest.$ac_ext <<_ACEOF
5654
/* end confdefs.h.  */
5655 1376 phoenix
#include 
5656
 
5657 1743 jeremybenn
typedef uint8_t ac__type_new_;
5658 1376 phoenix
int
5659
main ()
5660
{
5661 1743 jeremybenn
if ((ac__type_new_ *) 0)
5662 1376 phoenix
  return 0;
5663 1743 jeremybenn
if (sizeof (ac__type_new_))
5664 1376 phoenix
  return 0;
5665
  ;
5666
  return 0;
5667
}
5668
_ACEOF
5669
rm -f conftest.$ac_objext
5670 1743 jeremybenn
if { (ac_try="$ac_compile"
5671
case "(($ac_try" in
5672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5673
  *) ac_try_echo=$ac_try;;
5674
esac
5675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5676
  (eval "$ac_compile") 2>conftest.er1
5677 1376 phoenix
  ac_status=$?
5678 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5679
  rm -f conftest.er1
5680
  cat conftest.err >&5
5681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 1743 jeremybenn
  (exit $ac_status); } && {
5683
         test -z "$ac_c_werror_flag" ||
5684
         test ! -s conftest.err
5685
       } && test -s conftest.$ac_objext; then
5686 1376 phoenix
  ac_cv_type_uint8_t=yes
5687
else
5688
  echo "$as_me: failed program was:" >&5
5689 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5690
 
5691 1743 jeremybenn
        ac_cv_type_uint8_t=no
5692 1376 phoenix
fi
5693 1743 jeremybenn
 
5694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5695 1376 phoenix
fi
5696 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
5697
echo "${ECHO_T}$ac_cv_type_uint8_t" >&6; }
5698 1376 phoenix
if test $ac_cv_type_uint8_t = yes; then
5699
 
5700 1576 phoenix
cat >>confdefs.h <<_ACEOF
5701 1376 phoenix
#define HAVE_UINT8_T 1
5702 1576 phoenix
_ACEOF
5703 1376 phoenix
 
5704 1576 phoenix
 
5705 1376 phoenix
fi
5706 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for uint16_t" >&5
5707
echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
5708 1376 phoenix
if test "${ac_cv_type_uint16_t+set}" = set; then
5709
  echo $ECHO_N "(cached) $ECHO_C" >&6
5710
else
5711
  cat >conftest.$ac_ext <<_ACEOF
5712 1576 phoenix
/* confdefs.h.  */
5713
_ACEOF
5714
cat confdefs.h >>conftest.$ac_ext
5715
cat >>conftest.$ac_ext <<_ACEOF
5716
/* end confdefs.h.  */
5717 1376 phoenix
#include 
5718
 
5719 1743 jeremybenn
typedef uint16_t ac__type_new_;
5720 1376 phoenix
int
5721
main ()
5722
{
5723 1743 jeremybenn
if ((ac__type_new_ *) 0)
5724 1376 phoenix
  return 0;
5725 1743 jeremybenn
if (sizeof (ac__type_new_))
5726 1376 phoenix
  return 0;
5727
  ;
5728
  return 0;
5729
}
5730
_ACEOF
5731
rm -f conftest.$ac_objext
5732 1743 jeremybenn
if { (ac_try="$ac_compile"
5733
case "(($ac_try" in
5734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5735
  *) ac_try_echo=$ac_try;;
5736
esac
5737
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5738
  (eval "$ac_compile") 2>conftest.er1
5739 1376 phoenix
  ac_status=$?
5740 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5741
  rm -f conftest.er1
5742
  cat conftest.err >&5
5743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 1743 jeremybenn
  (exit $ac_status); } && {
5745
         test -z "$ac_c_werror_flag" ||
5746
         test ! -s conftest.err
5747
       } && test -s conftest.$ac_objext; then
5748 1376 phoenix
  ac_cv_type_uint16_t=yes
5749
else
5750
  echo "$as_me: failed program was:" >&5
5751 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5752
 
5753 1743 jeremybenn
        ac_cv_type_uint16_t=no
5754 1376 phoenix
fi
5755 1743 jeremybenn
 
5756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5757 1376 phoenix
fi
5758 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
5759
echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; }
5760 1376 phoenix
if test $ac_cv_type_uint16_t = yes; then
5761
 
5762 1576 phoenix
cat >>confdefs.h <<_ACEOF
5763 1376 phoenix
#define HAVE_UINT16_T 1
5764 1576 phoenix
_ACEOF
5765 1376 phoenix
 
5766 1576 phoenix
 
5767 1376 phoenix
fi
5768 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for uint32_t" >&5
5769
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
5770 1376 phoenix
if test "${ac_cv_type_uint32_t+set}" = set; then
5771
  echo $ECHO_N "(cached) $ECHO_C" >&6
5772
else
5773
  cat >conftest.$ac_ext <<_ACEOF
5774 1576 phoenix
/* confdefs.h.  */
5775
_ACEOF
5776
cat confdefs.h >>conftest.$ac_ext
5777
cat >>conftest.$ac_ext <<_ACEOF
5778
/* end confdefs.h.  */
5779 1376 phoenix
#include 
5780
 
5781 1743 jeremybenn
typedef uint32_t ac__type_new_;
5782 1376 phoenix
int
5783
main ()
5784
{
5785 1743 jeremybenn
if ((ac__type_new_ *) 0)
5786 1376 phoenix
  return 0;
5787 1743 jeremybenn
if (sizeof (ac__type_new_))
5788 1376 phoenix
  return 0;
5789
  ;
5790
  return 0;
5791
}
5792
_ACEOF
5793
rm -f conftest.$ac_objext
5794 1743 jeremybenn
if { (ac_try="$ac_compile"
5795
case "(($ac_try" in
5796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5797
  *) ac_try_echo=$ac_try;;
5798
esac
5799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5800
  (eval "$ac_compile") 2>conftest.er1
5801 1376 phoenix
  ac_status=$?
5802 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5803
  rm -f conftest.er1
5804
  cat conftest.err >&5
5805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 1743 jeremybenn
  (exit $ac_status); } && {
5807
         test -z "$ac_c_werror_flag" ||
5808
         test ! -s conftest.err
5809
       } && test -s conftest.$ac_objext; then
5810 1376 phoenix
  ac_cv_type_uint32_t=yes
5811
else
5812
  echo "$as_me: failed program was:" >&5
5813 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5814
 
5815 1743 jeremybenn
        ac_cv_type_uint32_t=no
5816 1376 phoenix
fi
5817 1743 jeremybenn
 
5818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5819 1376 phoenix
fi
5820 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5821
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
5822 1376 phoenix
if test $ac_cv_type_uint32_t = yes; then
5823
 
5824 1576 phoenix
cat >>confdefs.h <<_ACEOF
5825 1376 phoenix
#define HAVE_UINT32_T 1
5826 1576 phoenix
_ACEOF
5827 1376 phoenix
 
5828 1576 phoenix
 
5829 1376 phoenix
fi
5830
 
5831 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for int8_t" >&5
5832
echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; }
5833 1376 phoenix
if test "${ac_cv_type_int8_t+set}" = set; then
5834
  echo $ECHO_N "(cached) $ECHO_C" >&6
5835
else
5836
  cat >conftest.$ac_ext <<_ACEOF
5837 1576 phoenix
/* confdefs.h.  */
5838
_ACEOF
5839
cat confdefs.h >>conftest.$ac_ext
5840
cat >>conftest.$ac_ext <<_ACEOF
5841
/* end confdefs.h.  */
5842 1376 phoenix
#include 
5843
 
5844 1743 jeremybenn
typedef int8_t ac__type_new_;
5845 1376 phoenix
int
5846
main ()
5847
{
5848 1743 jeremybenn
if ((ac__type_new_ *) 0)
5849 1376 phoenix
  return 0;
5850 1743 jeremybenn
if (sizeof (ac__type_new_))
5851 1376 phoenix
  return 0;
5852
  ;
5853
  return 0;
5854
}
5855
_ACEOF
5856
rm -f conftest.$ac_objext
5857 1743 jeremybenn
if { (ac_try="$ac_compile"
5858
case "(($ac_try" in
5859
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5860
  *) ac_try_echo=$ac_try;;
5861
esac
5862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863
  (eval "$ac_compile") 2>conftest.er1
5864 1376 phoenix
  ac_status=$?
5865 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5866
  rm -f conftest.er1
5867
  cat conftest.err >&5
5868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 1743 jeremybenn
  (exit $ac_status); } && {
5870
         test -z "$ac_c_werror_flag" ||
5871
         test ! -s conftest.err
5872
       } && test -s conftest.$ac_objext; then
5873 1376 phoenix
  ac_cv_type_int8_t=yes
5874
else
5875
  echo "$as_me: failed program was:" >&5
5876 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5877
 
5878 1743 jeremybenn
        ac_cv_type_int8_t=no
5879 1376 phoenix
fi
5880 1743 jeremybenn
 
5881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5882 1376 phoenix
fi
5883 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
5884
echo "${ECHO_T}$ac_cv_type_int8_t" >&6; }
5885 1376 phoenix
if test $ac_cv_type_int8_t = yes; then
5886
 
5887 1576 phoenix
cat >>confdefs.h <<_ACEOF
5888 1376 phoenix
#define HAVE_INT8_T 1
5889 1576 phoenix
_ACEOF
5890 1376 phoenix
 
5891 1576 phoenix
 
5892 1376 phoenix
fi
5893 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for int16_t" >&5
5894
echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
5895 1376 phoenix
if test "${ac_cv_type_int16_t+set}" = set; then
5896
  echo $ECHO_N "(cached) $ECHO_C" >&6
5897
else
5898
  cat >conftest.$ac_ext <<_ACEOF
5899 1576 phoenix
/* confdefs.h.  */
5900
_ACEOF
5901
cat confdefs.h >>conftest.$ac_ext
5902
cat >>conftest.$ac_ext <<_ACEOF
5903
/* end confdefs.h.  */
5904 1376 phoenix
#include 
5905
 
5906 1743 jeremybenn
typedef int16_t ac__type_new_;
5907 1376 phoenix
int
5908
main ()
5909
{
5910 1743 jeremybenn
if ((ac__type_new_ *) 0)
5911 1376 phoenix
  return 0;
5912 1743 jeremybenn
if (sizeof (ac__type_new_))
5913 1376 phoenix
  return 0;
5914
  ;
5915
  return 0;
5916
}
5917
_ACEOF
5918
rm -f conftest.$ac_objext
5919 1743 jeremybenn
if { (ac_try="$ac_compile"
5920
case "(($ac_try" in
5921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5922
  *) ac_try_echo=$ac_try;;
5923
esac
5924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5925
  (eval "$ac_compile") 2>conftest.er1
5926 1376 phoenix
  ac_status=$?
5927 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5928
  rm -f conftest.er1
5929
  cat conftest.err >&5
5930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 1743 jeremybenn
  (exit $ac_status); } && {
5932
         test -z "$ac_c_werror_flag" ||
5933
         test ! -s conftest.err
5934
       } && test -s conftest.$ac_objext; then
5935 1376 phoenix
  ac_cv_type_int16_t=yes
5936
else
5937
  echo "$as_me: failed program was:" >&5
5938 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
5939
 
5940 1743 jeremybenn
        ac_cv_type_int16_t=no
5941 1376 phoenix
fi
5942 1743 jeremybenn
 
5943
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5944 1376 phoenix
fi
5945 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
5946
echo "${ECHO_T}$ac_cv_type_int16_t" >&6; }
5947 1376 phoenix
if test $ac_cv_type_int16_t = yes; then
5948
 
5949 1576 phoenix
cat >>confdefs.h <<_ACEOF
5950 1376 phoenix
#define HAVE_INT16_T 1
5951 1576 phoenix
_ACEOF
5952 1376 phoenix
 
5953 1576 phoenix
 
5954 1376 phoenix
fi
5955 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for int32_t" >&5
5956
echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
5957 1376 phoenix
if test "${ac_cv_type_int32_t+set}" = set; then
5958
  echo $ECHO_N "(cached) $ECHO_C" >&6
5959
else
5960
  cat >conftest.$ac_ext <<_ACEOF
5961 1576 phoenix
/* confdefs.h.  */
5962
_ACEOF
5963
cat confdefs.h >>conftest.$ac_ext
5964
cat >>conftest.$ac_ext <<_ACEOF
5965
/* end confdefs.h.  */
5966 1376 phoenix
#include 
5967
 
5968 1743 jeremybenn
typedef int32_t ac__type_new_;
5969 1376 phoenix
int
5970
main ()
5971
{
5972 1743 jeremybenn
if ((ac__type_new_ *) 0)
5973 1376 phoenix
  return 0;
5974 1743 jeremybenn
if (sizeof (ac__type_new_))
5975 1376 phoenix
  return 0;
5976
  ;
5977
  return 0;
5978
}
5979
_ACEOF
5980
rm -f conftest.$ac_objext
5981 1743 jeremybenn
if { (ac_try="$ac_compile"
5982
case "(($ac_try" in
5983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5984
  *) ac_try_echo=$ac_try;;
5985
esac
5986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5987
  (eval "$ac_compile") 2>conftest.er1
5988 1376 phoenix
  ac_status=$?
5989 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
5990
  rm -f conftest.er1
5991
  cat conftest.err >&5
5992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 1743 jeremybenn
  (exit $ac_status); } && {
5994
         test -z "$ac_c_werror_flag" ||
5995
         test ! -s conftest.err
5996
       } && test -s conftest.$ac_objext; then
5997 1376 phoenix
  ac_cv_type_int32_t=yes
5998
else
5999
  echo "$as_me: failed program was:" >&5
6000 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6001
 
6002 1743 jeremybenn
        ac_cv_type_int32_t=no
6003 1376 phoenix
fi
6004 1743 jeremybenn
 
6005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6006 1376 phoenix
fi
6007 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6008
echo "${ECHO_T}$ac_cv_type_int32_t" >&6; }
6009 1376 phoenix
if test $ac_cv_type_int32_t = yes; then
6010
 
6011 1576 phoenix
cat >>confdefs.h <<_ACEOF
6012 1376 phoenix
#define HAVE_INT32_T 1
6013 1576 phoenix
_ACEOF
6014 1376 phoenix
 
6015 1576 phoenix
 
6016 1376 phoenix
fi
6017
 
6018 1576 phoenix
 
6019 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for char" >&5
6020
echo $ECHO_N "checking for char... $ECHO_C" >&6; }
6021 1376 phoenix
if test "${ac_cv_type_char+set}" = set; then
6022
  echo $ECHO_N "(cached) $ECHO_C" >&6
6023
else
6024
  cat >conftest.$ac_ext <<_ACEOF
6025 1576 phoenix
/* confdefs.h.  */
6026
_ACEOF
6027
cat confdefs.h >>conftest.$ac_ext
6028
cat >>conftest.$ac_ext <<_ACEOF
6029
/* end confdefs.h.  */
6030 1376 phoenix
$ac_includes_default
6031 1743 jeremybenn
typedef char ac__type_new_;
6032 1376 phoenix
int
6033
main ()
6034
{
6035 1743 jeremybenn
if ((ac__type_new_ *) 0)
6036 1376 phoenix
  return 0;
6037 1743 jeremybenn
if (sizeof (ac__type_new_))
6038 1376 phoenix
  return 0;
6039
  ;
6040
  return 0;
6041
}
6042
_ACEOF
6043
rm -f conftest.$ac_objext
6044 1743 jeremybenn
if { (ac_try="$ac_compile"
6045
case "(($ac_try" in
6046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6047
  *) ac_try_echo=$ac_try;;
6048
esac
6049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6050
  (eval "$ac_compile") 2>conftest.er1
6051 1376 phoenix
  ac_status=$?
6052 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6053
  rm -f conftest.er1
6054
  cat conftest.err >&5
6055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 1743 jeremybenn
  (exit $ac_status); } && {
6057
         test -z "$ac_c_werror_flag" ||
6058
         test ! -s conftest.err
6059
       } && test -s conftest.$ac_objext; then
6060 1376 phoenix
  ac_cv_type_char=yes
6061
else
6062
  echo "$as_me: failed program was:" >&5
6063 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6064
 
6065 1743 jeremybenn
        ac_cv_type_char=no
6066 1376 phoenix
fi
6067 1743 jeremybenn
 
6068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6069 1376 phoenix
fi
6070 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
6071
echo "${ECHO_T}$ac_cv_type_char" >&6; }
6072 1376 phoenix
 
6073 1743 jeremybenn
# The cast to long int works around a bug in the HP C Compiler
6074
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6075
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6076
# This bug is HP SR number 8606223364.
6077
{ echo "$as_me:$LINENO: checking size of char" >&5
6078
echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
6079 1376 phoenix
if test "${ac_cv_sizeof_char+set}" = set; then
6080
  echo $ECHO_N "(cached) $ECHO_C" >&6
6081
else
6082
  if test "$cross_compiling" = yes; then
6083
  # Depending upon the size, compute the lo and hi bounds.
6084
cat >conftest.$ac_ext <<_ACEOF
6085 1576 phoenix
/* confdefs.h.  */
6086
_ACEOF
6087
cat confdefs.h >>conftest.$ac_ext
6088
cat >>conftest.$ac_ext <<_ACEOF
6089
/* end confdefs.h.  */
6090 1376 phoenix
$ac_includes_default
6091 1743 jeremybenn
   typedef char ac__type_sizeof_;
6092 1376 phoenix
int
6093
main ()
6094
{
6095 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6096 1576 phoenix
test_array [0] = 0
6097
 
6098 1376 phoenix
  ;
6099
  return 0;
6100
}
6101
_ACEOF
6102
rm -f conftest.$ac_objext
6103 1743 jeremybenn
if { (ac_try="$ac_compile"
6104
case "(($ac_try" in
6105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6106
  *) ac_try_echo=$ac_try;;
6107
esac
6108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109
  (eval "$ac_compile") 2>conftest.er1
6110 1376 phoenix
  ac_status=$?
6111 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6112
  rm -f conftest.er1
6113
  cat conftest.err >&5
6114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 1743 jeremybenn
  (exit $ac_status); } && {
6116
         test -z "$ac_c_werror_flag" ||
6117
         test ! -s conftest.err
6118
       } && test -s conftest.$ac_objext; then
6119 1376 phoenix
  ac_lo=0 ac_mid=0
6120
  while :; do
6121
    cat >conftest.$ac_ext <<_ACEOF
6122 1576 phoenix
/* confdefs.h.  */
6123
_ACEOF
6124
cat confdefs.h >>conftest.$ac_ext
6125
cat >>conftest.$ac_ext <<_ACEOF
6126
/* end confdefs.h.  */
6127 1376 phoenix
$ac_includes_default
6128 1743 jeremybenn
   typedef char ac__type_sizeof_;
6129 1376 phoenix
int
6130
main ()
6131
{
6132 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6133 1576 phoenix
test_array [0] = 0
6134
 
6135 1376 phoenix
  ;
6136
  return 0;
6137
}
6138
_ACEOF
6139
rm -f conftest.$ac_objext
6140 1743 jeremybenn
if { (ac_try="$ac_compile"
6141
case "(($ac_try" in
6142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6143
  *) ac_try_echo=$ac_try;;
6144
esac
6145
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6146
  (eval "$ac_compile") 2>conftest.er1
6147 1376 phoenix
  ac_status=$?
6148 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6149
  rm -f conftest.er1
6150
  cat conftest.err >&5
6151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 1743 jeremybenn
  (exit $ac_status); } && {
6153
         test -z "$ac_c_werror_flag" ||
6154
         test ! -s conftest.err
6155
       } && test -s conftest.$ac_objext; then
6156 1376 phoenix
  ac_hi=$ac_mid; break
6157
else
6158
  echo "$as_me: failed program was:" >&5
6159 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6160
 
6161 1743 jeremybenn
        ac_lo=`expr $ac_mid + 1`
6162
                        if test $ac_lo -le $ac_mid; then
6163
                          ac_lo= ac_hi=
6164
                          break
6165
                        fi
6166
                        ac_mid=`expr 2 '*' $ac_mid + 1`
6167 1376 phoenix
fi
6168 1743 jeremybenn
 
6169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6170 1376 phoenix
  done
6171
else
6172
  echo "$as_me: failed program was:" >&5
6173 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6174
 
6175 1743 jeremybenn
        cat >conftest.$ac_ext <<_ACEOF
6176 1576 phoenix
/* confdefs.h.  */
6177
_ACEOF
6178
cat confdefs.h >>conftest.$ac_ext
6179
cat >>conftest.$ac_ext <<_ACEOF
6180
/* end confdefs.h.  */
6181
$ac_includes_default
6182 1743 jeremybenn
   typedef char ac__type_sizeof_;
6183 1576 phoenix
int
6184
main ()
6185
{
6186 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6187 1576 phoenix
test_array [0] = 0
6188
 
6189
  ;
6190
  return 0;
6191
}
6192
_ACEOF
6193
rm -f conftest.$ac_objext
6194 1743 jeremybenn
if { (ac_try="$ac_compile"
6195
case "(($ac_try" in
6196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6197
  *) ac_try_echo=$ac_try;;
6198
esac
6199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6200
  (eval "$ac_compile") 2>conftest.er1
6201 1576 phoenix
  ac_status=$?
6202
  grep -v '^ *+' conftest.er1 >conftest.err
6203
  rm -f conftest.er1
6204
  cat conftest.err >&5
6205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 1743 jeremybenn
  (exit $ac_status); } && {
6207
         test -z "$ac_c_werror_flag" ||
6208
         test ! -s conftest.err
6209
       } && test -s conftest.$ac_objext; then
6210 1576 phoenix
  ac_hi=-1 ac_mid=-1
6211 1376 phoenix
  while :; do
6212
    cat >conftest.$ac_ext <<_ACEOF
6213 1576 phoenix
/* confdefs.h.  */
6214
_ACEOF
6215
cat confdefs.h >>conftest.$ac_ext
6216
cat >>conftest.$ac_ext <<_ACEOF
6217
/* end confdefs.h.  */
6218 1376 phoenix
$ac_includes_default
6219 1743 jeremybenn
   typedef char ac__type_sizeof_;
6220 1376 phoenix
int
6221
main ()
6222
{
6223 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6224 1576 phoenix
test_array [0] = 0
6225
 
6226 1376 phoenix
  ;
6227
  return 0;
6228
}
6229
_ACEOF
6230
rm -f conftest.$ac_objext
6231 1743 jeremybenn
if { (ac_try="$ac_compile"
6232
case "(($ac_try" in
6233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6234
  *) ac_try_echo=$ac_try;;
6235
esac
6236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6237
  (eval "$ac_compile") 2>conftest.er1
6238 1376 phoenix
  ac_status=$?
6239 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6240
  rm -f conftest.er1
6241
  cat conftest.err >&5
6242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 1743 jeremybenn
  (exit $ac_status); } && {
6244
         test -z "$ac_c_werror_flag" ||
6245
         test ! -s conftest.err
6246
       } && test -s conftest.$ac_objext; then
6247 1376 phoenix
  ac_lo=$ac_mid; break
6248
else
6249
  echo "$as_me: failed program was:" >&5
6250 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6251
 
6252 1743 jeremybenn
        ac_hi=`expr '(' $ac_mid ')' - 1`
6253
                        if test $ac_mid -le $ac_hi; then
6254
                          ac_lo= ac_hi=
6255
                          break
6256
                        fi
6257
                        ac_mid=`expr 2 '*' $ac_mid`
6258 1376 phoenix
fi
6259 1743 jeremybenn
 
6260
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6261 1376 phoenix
  done
6262 1576 phoenix
else
6263
  echo "$as_me: failed program was:" >&5
6264
sed 's/^/| /' conftest.$ac_ext >&5
6265
 
6266 1743 jeremybenn
        ac_lo= ac_hi=
6267 1376 phoenix
fi
6268 1743 jeremybenn
 
6269
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6270 1576 phoenix
fi
6271 1743 jeremybenn
 
6272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6273 1376 phoenix
# Binary search between lo and hi bounds.
6274
while test "x$ac_lo" != "x$ac_hi"; do
6275
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6276
  cat >conftest.$ac_ext <<_ACEOF
6277 1576 phoenix
/* confdefs.h.  */
6278
_ACEOF
6279
cat confdefs.h >>conftest.$ac_ext
6280
cat >>conftest.$ac_ext <<_ACEOF
6281
/* end confdefs.h.  */
6282 1376 phoenix
$ac_includes_default
6283 1743 jeremybenn
   typedef char ac__type_sizeof_;
6284 1376 phoenix
int
6285
main ()
6286
{
6287 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6288 1576 phoenix
test_array [0] = 0
6289
 
6290 1376 phoenix
  ;
6291
  return 0;
6292
}
6293
_ACEOF
6294
rm -f conftest.$ac_objext
6295 1743 jeremybenn
if { (ac_try="$ac_compile"
6296
case "(($ac_try" in
6297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6298
  *) ac_try_echo=$ac_try;;
6299
esac
6300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6301
  (eval "$ac_compile") 2>conftest.er1
6302 1376 phoenix
  ac_status=$?
6303 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6304
  rm -f conftest.er1
6305
  cat conftest.err >&5
6306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 1743 jeremybenn
  (exit $ac_status); } && {
6308
         test -z "$ac_c_werror_flag" ||
6309
         test ! -s conftest.err
6310
       } && test -s conftest.$ac_objext; then
6311 1376 phoenix
  ac_hi=$ac_mid
6312
else
6313
  echo "$as_me: failed program was:" >&5
6314 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6315
 
6316 1743 jeremybenn
        ac_lo=`expr '(' $ac_mid ')' + 1`
6317 1376 phoenix
fi
6318 1743 jeremybenn
 
6319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6320 1376 phoenix
done
6321 1576 phoenix
case $ac_lo in
6322
?*) ac_cv_sizeof_char=$ac_lo;;
6323 1743 jeremybenn
'') if test "$ac_cv_type_char" = yes; then
6324
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
6325 1576 phoenix
See \`config.log' for more details." >&5
6326 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (char)
6327 1576 phoenix
See \`config.log' for more details." >&2;}
6328 1743 jeremybenn
   { (exit 77); exit 77; }; }
6329
   else
6330
     ac_cv_sizeof_char=0
6331
   fi ;;
6332 1576 phoenix
esac
6333 1376 phoenix
else
6334
  cat >conftest.$ac_ext <<_ACEOF
6335 1576 phoenix
/* confdefs.h.  */
6336
_ACEOF
6337
cat confdefs.h >>conftest.$ac_ext
6338
cat >>conftest.$ac_ext <<_ACEOF
6339
/* end confdefs.h.  */
6340 1376 phoenix
$ac_includes_default
6341 1743 jeremybenn
   typedef char ac__type_sizeof_;
6342
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6343
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6344 1576 phoenix
#include 
6345
#include 
6346 1376 phoenix
int
6347
main ()
6348
{
6349 1576 phoenix
 
6350
  FILE *f = fopen ("conftest.val", "w");
6351
  if (! f)
6352 1743 jeremybenn
    return 1;
6353
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6354 1576 phoenix
    {
6355 1743 jeremybenn
      long int i = longval ();
6356
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6357
        return 1;
6358 1576 phoenix
      fprintf (f, "%ld\n", i);
6359
    }
6360
  else
6361
    {
6362 1743 jeremybenn
      unsigned long int i = ulongval ();
6363
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6364
        return 1;
6365 1576 phoenix
      fprintf (f, "%lu\n", i);
6366
    }
6367 1743 jeremybenn
  return ferror (f) || fclose (f) != 0;
6368 1576 phoenix
 
6369 1376 phoenix
  ;
6370
  return 0;
6371
}
6372
_ACEOF
6373
rm -f conftest$ac_exeext
6374 1743 jeremybenn
if { (ac_try="$ac_link"
6375
case "(($ac_try" in
6376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6377
  *) ac_try_echo=$ac_try;;
6378
esac
6379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6380
  (eval "$ac_link") 2>&5
6381 1376 phoenix
  ac_status=$?
6382 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 1376 phoenix
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6384 1743 jeremybenn
  { (case "(($ac_try" in
6385
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6386
  *) ac_try_echo=$ac_try;;
6387
esac
6388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6389
  (eval "$ac_try") 2>&5
6390 1376 phoenix
  ac_status=$?
6391 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 1376 phoenix
  (exit $ac_status); }; }; then
6393
  ac_cv_sizeof_char=`cat conftest.val`
6394
else
6395
  echo "$as_me: program exited with status $ac_status" >&5
6396
echo "$as_me: failed program was:" >&5
6397 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6398
 
6399
( exit $ac_status )
6400 1743 jeremybenn
if test "$ac_cv_type_char" = yes; then
6401
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
6402 1576 phoenix
See \`config.log' for more details." >&5
6403 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (char)
6404 1576 phoenix
See \`config.log' for more details." >&2;}
6405 1743 jeremybenn
   { (exit 77); exit 77; }; }
6406
   else
6407
     ac_cv_sizeof_char=0
6408
   fi
6409 1376 phoenix
fi
6410 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6411 1376 phoenix
fi
6412
rm -f conftest.val
6413
fi
6414 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6415
echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
6416
 
6417
 
6418
 
6419 1576 phoenix
cat >>confdefs.h <<_ACEOF
6420 1376 phoenix
#define SIZEOF_CHAR $ac_cv_sizeof_char
6421 1576 phoenix
_ACEOF
6422 1376 phoenix
 
6423 1576 phoenix
 
6424 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for short" >&5
6425
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
6426 1376 phoenix
if test "${ac_cv_type_short+set}" = set; then
6427
  echo $ECHO_N "(cached) $ECHO_C" >&6
6428
else
6429
  cat >conftest.$ac_ext <<_ACEOF
6430 1576 phoenix
/* confdefs.h.  */
6431
_ACEOF
6432
cat confdefs.h >>conftest.$ac_ext
6433
cat >>conftest.$ac_ext <<_ACEOF
6434
/* end confdefs.h.  */
6435 1376 phoenix
$ac_includes_default
6436 1743 jeremybenn
typedef short ac__type_new_;
6437 1376 phoenix
int
6438
main ()
6439
{
6440 1743 jeremybenn
if ((ac__type_new_ *) 0)
6441 1376 phoenix
  return 0;
6442 1743 jeremybenn
if (sizeof (ac__type_new_))
6443 1376 phoenix
  return 0;
6444
  ;
6445
  return 0;
6446
}
6447
_ACEOF
6448
rm -f conftest.$ac_objext
6449 1743 jeremybenn
if { (ac_try="$ac_compile"
6450
case "(($ac_try" in
6451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6452
  *) ac_try_echo=$ac_try;;
6453
esac
6454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6455
  (eval "$ac_compile") 2>conftest.er1
6456 1376 phoenix
  ac_status=$?
6457 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6458
  rm -f conftest.er1
6459
  cat conftest.err >&5
6460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 1743 jeremybenn
  (exit $ac_status); } && {
6462
         test -z "$ac_c_werror_flag" ||
6463
         test ! -s conftest.err
6464
       } && test -s conftest.$ac_objext; then
6465 1376 phoenix
  ac_cv_type_short=yes
6466
else
6467
  echo "$as_me: failed program was:" >&5
6468 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6469
 
6470 1743 jeremybenn
        ac_cv_type_short=no
6471 1376 phoenix
fi
6472 1743 jeremybenn
 
6473
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6474 1376 phoenix
fi
6475 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
6476
echo "${ECHO_T}$ac_cv_type_short" >&6; }
6477 1376 phoenix
 
6478 1743 jeremybenn
# The cast to long int works around a bug in the HP C Compiler
6479
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6480
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6481
# This bug is HP SR number 8606223364.
6482
{ echo "$as_me:$LINENO: checking size of short" >&5
6483
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
6484 1376 phoenix
if test "${ac_cv_sizeof_short+set}" = set; then
6485
  echo $ECHO_N "(cached) $ECHO_C" >&6
6486
else
6487
  if test "$cross_compiling" = yes; then
6488
  # Depending upon the size, compute the lo and hi bounds.
6489
cat >conftest.$ac_ext <<_ACEOF
6490 1576 phoenix
/* confdefs.h.  */
6491
_ACEOF
6492
cat confdefs.h >>conftest.$ac_ext
6493
cat >>conftest.$ac_ext <<_ACEOF
6494
/* end confdefs.h.  */
6495 1376 phoenix
$ac_includes_default
6496 1743 jeremybenn
   typedef short ac__type_sizeof_;
6497 1376 phoenix
int
6498
main ()
6499
{
6500 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6501 1576 phoenix
test_array [0] = 0
6502
 
6503 1376 phoenix
  ;
6504
  return 0;
6505
}
6506
_ACEOF
6507
rm -f conftest.$ac_objext
6508 1743 jeremybenn
if { (ac_try="$ac_compile"
6509
case "(($ac_try" in
6510
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6511
  *) ac_try_echo=$ac_try;;
6512
esac
6513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6514
  (eval "$ac_compile") 2>conftest.er1
6515 1376 phoenix
  ac_status=$?
6516 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6517
  rm -f conftest.er1
6518
  cat conftest.err >&5
6519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 1743 jeremybenn
  (exit $ac_status); } && {
6521
         test -z "$ac_c_werror_flag" ||
6522
         test ! -s conftest.err
6523
       } && test -s conftest.$ac_objext; then
6524 1376 phoenix
  ac_lo=0 ac_mid=0
6525
  while :; do
6526
    cat >conftest.$ac_ext <<_ACEOF
6527 1576 phoenix
/* confdefs.h.  */
6528
_ACEOF
6529
cat confdefs.h >>conftest.$ac_ext
6530
cat >>conftest.$ac_ext <<_ACEOF
6531
/* end confdefs.h.  */
6532 1376 phoenix
$ac_includes_default
6533 1743 jeremybenn
   typedef short ac__type_sizeof_;
6534 1376 phoenix
int
6535
main ()
6536
{
6537 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6538 1576 phoenix
test_array [0] = 0
6539
 
6540 1376 phoenix
  ;
6541
  return 0;
6542
}
6543
_ACEOF
6544
rm -f conftest.$ac_objext
6545 1743 jeremybenn
if { (ac_try="$ac_compile"
6546
case "(($ac_try" in
6547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6548
  *) ac_try_echo=$ac_try;;
6549
esac
6550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6551
  (eval "$ac_compile") 2>conftest.er1
6552 1376 phoenix
  ac_status=$?
6553 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6554
  rm -f conftest.er1
6555
  cat conftest.err >&5
6556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 1743 jeremybenn
  (exit $ac_status); } && {
6558
         test -z "$ac_c_werror_flag" ||
6559
         test ! -s conftest.err
6560
       } && test -s conftest.$ac_objext; then
6561 1376 phoenix
  ac_hi=$ac_mid; break
6562
else
6563
  echo "$as_me: failed program was:" >&5
6564 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6565
 
6566 1743 jeremybenn
        ac_lo=`expr $ac_mid + 1`
6567
                        if test $ac_lo -le $ac_mid; then
6568
                          ac_lo= ac_hi=
6569
                          break
6570
                        fi
6571
                        ac_mid=`expr 2 '*' $ac_mid + 1`
6572 1376 phoenix
fi
6573 1743 jeremybenn
 
6574
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6575 1376 phoenix
  done
6576
else
6577
  echo "$as_me: failed program was:" >&5
6578 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6579
 
6580 1743 jeremybenn
        cat >conftest.$ac_ext <<_ACEOF
6581 1576 phoenix
/* confdefs.h.  */
6582
_ACEOF
6583
cat confdefs.h >>conftest.$ac_ext
6584
cat >>conftest.$ac_ext <<_ACEOF
6585
/* end confdefs.h.  */
6586
$ac_includes_default
6587 1743 jeremybenn
   typedef short ac__type_sizeof_;
6588 1576 phoenix
int
6589
main ()
6590
{
6591 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6592 1576 phoenix
test_array [0] = 0
6593
 
6594
  ;
6595
  return 0;
6596
}
6597
_ACEOF
6598
rm -f conftest.$ac_objext
6599 1743 jeremybenn
if { (ac_try="$ac_compile"
6600
case "(($ac_try" in
6601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602
  *) ac_try_echo=$ac_try;;
6603
esac
6604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605
  (eval "$ac_compile") 2>conftest.er1
6606 1576 phoenix
  ac_status=$?
6607
  grep -v '^ *+' conftest.er1 >conftest.err
6608
  rm -f conftest.er1
6609
  cat conftest.err >&5
6610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 1743 jeremybenn
  (exit $ac_status); } && {
6612
         test -z "$ac_c_werror_flag" ||
6613
         test ! -s conftest.err
6614
       } && test -s conftest.$ac_objext; then
6615 1576 phoenix
  ac_hi=-1 ac_mid=-1
6616 1376 phoenix
  while :; do
6617
    cat >conftest.$ac_ext <<_ACEOF
6618 1576 phoenix
/* confdefs.h.  */
6619
_ACEOF
6620
cat confdefs.h >>conftest.$ac_ext
6621
cat >>conftest.$ac_ext <<_ACEOF
6622
/* end confdefs.h.  */
6623 1376 phoenix
$ac_includes_default
6624 1743 jeremybenn
   typedef short ac__type_sizeof_;
6625 1376 phoenix
int
6626
main ()
6627
{
6628 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6629 1576 phoenix
test_array [0] = 0
6630
 
6631 1376 phoenix
  ;
6632
  return 0;
6633
}
6634
_ACEOF
6635
rm -f conftest.$ac_objext
6636 1743 jeremybenn
if { (ac_try="$ac_compile"
6637
case "(($ac_try" in
6638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639
  *) ac_try_echo=$ac_try;;
6640
esac
6641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6642
  (eval "$ac_compile") 2>conftest.er1
6643 1376 phoenix
  ac_status=$?
6644 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6645
  rm -f conftest.er1
6646
  cat conftest.err >&5
6647
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 1743 jeremybenn
  (exit $ac_status); } && {
6649
         test -z "$ac_c_werror_flag" ||
6650
         test ! -s conftest.err
6651
       } && test -s conftest.$ac_objext; then
6652 1376 phoenix
  ac_lo=$ac_mid; break
6653
else
6654
  echo "$as_me: failed program was:" >&5
6655 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6656
 
6657 1743 jeremybenn
        ac_hi=`expr '(' $ac_mid ')' - 1`
6658
                        if test $ac_mid -le $ac_hi; then
6659
                          ac_lo= ac_hi=
6660
                          break
6661
                        fi
6662
                        ac_mid=`expr 2 '*' $ac_mid`
6663 1376 phoenix
fi
6664 1743 jeremybenn
 
6665
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6666 1376 phoenix
  done
6667 1576 phoenix
else
6668
  echo "$as_me: failed program was:" >&5
6669
sed 's/^/| /' conftest.$ac_ext >&5
6670
 
6671 1743 jeremybenn
        ac_lo= ac_hi=
6672 1376 phoenix
fi
6673 1743 jeremybenn
 
6674
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6675 1576 phoenix
fi
6676 1743 jeremybenn
 
6677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6678 1376 phoenix
# Binary search between lo and hi bounds.
6679
while test "x$ac_lo" != "x$ac_hi"; do
6680
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6681
  cat >conftest.$ac_ext <<_ACEOF
6682 1576 phoenix
/* confdefs.h.  */
6683
_ACEOF
6684
cat confdefs.h >>conftest.$ac_ext
6685
cat >>conftest.$ac_ext <<_ACEOF
6686
/* end confdefs.h.  */
6687 1376 phoenix
$ac_includes_default
6688 1743 jeremybenn
   typedef short ac__type_sizeof_;
6689 1376 phoenix
int
6690
main ()
6691
{
6692 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6693 1576 phoenix
test_array [0] = 0
6694
 
6695 1376 phoenix
  ;
6696
  return 0;
6697
}
6698
_ACEOF
6699
rm -f conftest.$ac_objext
6700 1743 jeremybenn
if { (ac_try="$ac_compile"
6701
case "(($ac_try" in
6702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6703
  *) ac_try_echo=$ac_try;;
6704
esac
6705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6706
  (eval "$ac_compile") 2>conftest.er1
6707 1376 phoenix
  ac_status=$?
6708 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6709
  rm -f conftest.er1
6710
  cat conftest.err >&5
6711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 1743 jeremybenn
  (exit $ac_status); } && {
6713
         test -z "$ac_c_werror_flag" ||
6714
         test ! -s conftest.err
6715
       } && test -s conftest.$ac_objext; then
6716 1376 phoenix
  ac_hi=$ac_mid
6717
else
6718
  echo "$as_me: failed program was:" >&5
6719 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6720
 
6721 1743 jeremybenn
        ac_lo=`expr '(' $ac_mid ')' + 1`
6722 1376 phoenix
fi
6723 1743 jeremybenn
 
6724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6725 1376 phoenix
done
6726 1576 phoenix
case $ac_lo in
6727
?*) ac_cv_sizeof_short=$ac_lo;;
6728 1743 jeremybenn
'') if test "$ac_cv_type_short" = yes; then
6729
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6730 1576 phoenix
See \`config.log' for more details." >&5
6731 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (short)
6732 1576 phoenix
See \`config.log' for more details." >&2;}
6733 1743 jeremybenn
   { (exit 77); exit 77; }; }
6734
   else
6735
     ac_cv_sizeof_short=0
6736
   fi ;;
6737 1576 phoenix
esac
6738 1376 phoenix
else
6739
  cat >conftest.$ac_ext <<_ACEOF
6740 1576 phoenix
/* confdefs.h.  */
6741
_ACEOF
6742
cat confdefs.h >>conftest.$ac_ext
6743
cat >>conftest.$ac_ext <<_ACEOF
6744
/* end confdefs.h.  */
6745 1376 phoenix
$ac_includes_default
6746 1743 jeremybenn
   typedef short ac__type_sizeof_;
6747
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6748
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6749 1576 phoenix
#include 
6750
#include 
6751 1376 phoenix
int
6752
main ()
6753
{
6754 1576 phoenix
 
6755
  FILE *f = fopen ("conftest.val", "w");
6756
  if (! f)
6757 1743 jeremybenn
    return 1;
6758
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6759 1576 phoenix
    {
6760 1743 jeremybenn
      long int i = longval ();
6761
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6762
        return 1;
6763 1576 phoenix
      fprintf (f, "%ld\n", i);
6764
    }
6765
  else
6766
    {
6767 1743 jeremybenn
      unsigned long int i = ulongval ();
6768
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6769
        return 1;
6770 1576 phoenix
      fprintf (f, "%lu\n", i);
6771
    }
6772 1743 jeremybenn
  return ferror (f) || fclose (f) != 0;
6773 1576 phoenix
 
6774 1376 phoenix
  ;
6775
  return 0;
6776
}
6777
_ACEOF
6778
rm -f conftest$ac_exeext
6779 1743 jeremybenn
if { (ac_try="$ac_link"
6780
case "(($ac_try" in
6781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6782
  *) ac_try_echo=$ac_try;;
6783
esac
6784
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6785
  (eval "$ac_link") 2>&5
6786 1376 phoenix
  ac_status=$?
6787 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 1376 phoenix
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6789 1743 jeremybenn
  { (case "(($ac_try" in
6790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6791
  *) ac_try_echo=$ac_try;;
6792
esac
6793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6794
  (eval "$ac_try") 2>&5
6795 1376 phoenix
  ac_status=$?
6796 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 1376 phoenix
  (exit $ac_status); }; }; then
6798
  ac_cv_sizeof_short=`cat conftest.val`
6799
else
6800
  echo "$as_me: program exited with status $ac_status" >&5
6801
echo "$as_me: failed program was:" >&5
6802 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6803
 
6804
( exit $ac_status )
6805 1743 jeremybenn
if test "$ac_cv_type_short" = yes; then
6806
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6807 1576 phoenix
See \`config.log' for more details." >&5
6808 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (short)
6809 1576 phoenix
See \`config.log' for more details." >&2;}
6810 1743 jeremybenn
   { (exit 77); exit 77; }; }
6811
   else
6812
     ac_cv_sizeof_short=0
6813
   fi
6814 1376 phoenix
fi
6815 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6816 1376 phoenix
fi
6817
rm -f conftest.val
6818
fi
6819 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
6820
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
6821
 
6822
 
6823
 
6824 1576 phoenix
cat >>confdefs.h <<_ACEOF
6825 1376 phoenix
#define SIZEOF_SHORT $ac_cv_sizeof_short
6826 1576 phoenix
_ACEOF
6827 1376 phoenix
 
6828 1576 phoenix
 
6829 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for int" >&5
6830
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
6831 1376 phoenix
if test "${ac_cv_type_int+set}" = set; then
6832
  echo $ECHO_N "(cached) $ECHO_C" >&6
6833
else
6834
  cat >conftest.$ac_ext <<_ACEOF
6835 1576 phoenix
/* confdefs.h.  */
6836
_ACEOF
6837
cat confdefs.h >>conftest.$ac_ext
6838
cat >>conftest.$ac_ext <<_ACEOF
6839
/* end confdefs.h.  */
6840 1376 phoenix
$ac_includes_default
6841 1743 jeremybenn
typedef int ac__type_new_;
6842 1376 phoenix
int
6843
main ()
6844
{
6845 1743 jeremybenn
if ((ac__type_new_ *) 0)
6846 1376 phoenix
  return 0;
6847 1743 jeremybenn
if (sizeof (ac__type_new_))
6848 1376 phoenix
  return 0;
6849
  ;
6850
  return 0;
6851
}
6852
_ACEOF
6853
rm -f conftest.$ac_objext
6854 1743 jeremybenn
if { (ac_try="$ac_compile"
6855
case "(($ac_try" in
6856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6857
  *) ac_try_echo=$ac_try;;
6858
esac
6859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6860
  (eval "$ac_compile") 2>conftest.er1
6861 1376 phoenix
  ac_status=$?
6862 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6863
  rm -f conftest.er1
6864
  cat conftest.err >&5
6865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 1743 jeremybenn
  (exit $ac_status); } && {
6867
         test -z "$ac_c_werror_flag" ||
6868
         test ! -s conftest.err
6869
       } && test -s conftest.$ac_objext; then
6870 1376 phoenix
  ac_cv_type_int=yes
6871
else
6872
  echo "$as_me: failed program was:" >&5
6873 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6874
 
6875 1743 jeremybenn
        ac_cv_type_int=no
6876 1376 phoenix
fi
6877 1743 jeremybenn
 
6878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6879 1376 phoenix
fi
6880 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6881
echo "${ECHO_T}$ac_cv_type_int" >&6; }
6882 1376 phoenix
 
6883 1743 jeremybenn
# The cast to long int works around a bug in the HP C Compiler
6884
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6885
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6886
# This bug is HP SR number 8606223364.
6887
{ echo "$as_me:$LINENO: checking size of int" >&5
6888
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
6889 1376 phoenix
if test "${ac_cv_sizeof_int+set}" = set; then
6890
  echo $ECHO_N "(cached) $ECHO_C" >&6
6891
else
6892
  if test "$cross_compiling" = yes; then
6893
  # Depending upon the size, compute the lo and hi bounds.
6894
cat >conftest.$ac_ext <<_ACEOF
6895 1576 phoenix
/* confdefs.h.  */
6896
_ACEOF
6897
cat confdefs.h >>conftest.$ac_ext
6898
cat >>conftest.$ac_ext <<_ACEOF
6899
/* end confdefs.h.  */
6900 1376 phoenix
$ac_includes_default
6901 1743 jeremybenn
   typedef int ac__type_sizeof_;
6902 1376 phoenix
int
6903
main ()
6904
{
6905 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6906 1576 phoenix
test_array [0] = 0
6907
 
6908 1376 phoenix
  ;
6909
  return 0;
6910
}
6911
_ACEOF
6912
rm -f conftest.$ac_objext
6913 1743 jeremybenn
if { (ac_try="$ac_compile"
6914
case "(($ac_try" in
6915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916
  *) ac_try_echo=$ac_try;;
6917
esac
6918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919
  (eval "$ac_compile") 2>conftest.er1
6920 1376 phoenix
  ac_status=$?
6921 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6922
  rm -f conftest.er1
6923
  cat conftest.err >&5
6924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 1743 jeremybenn
  (exit $ac_status); } && {
6926
         test -z "$ac_c_werror_flag" ||
6927
         test ! -s conftest.err
6928
       } && test -s conftest.$ac_objext; then
6929 1376 phoenix
  ac_lo=0 ac_mid=0
6930
  while :; do
6931
    cat >conftest.$ac_ext <<_ACEOF
6932 1576 phoenix
/* confdefs.h.  */
6933
_ACEOF
6934
cat confdefs.h >>conftest.$ac_ext
6935
cat >>conftest.$ac_ext <<_ACEOF
6936
/* end confdefs.h.  */
6937 1376 phoenix
$ac_includes_default
6938 1743 jeremybenn
   typedef int ac__type_sizeof_;
6939 1376 phoenix
int
6940
main ()
6941
{
6942 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6943 1576 phoenix
test_array [0] = 0
6944
 
6945 1376 phoenix
  ;
6946
  return 0;
6947
}
6948
_ACEOF
6949
rm -f conftest.$ac_objext
6950 1743 jeremybenn
if { (ac_try="$ac_compile"
6951
case "(($ac_try" in
6952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6953
  *) ac_try_echo=$ac_try;;
6954
esac
6955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956
  (eval "$ac_compile") 2>conftest.er1
6957 1376 phoenix
  ac_status=$?
6958 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
6959
  rm -f conftest.er1
6960
  cat conftest.err >&5
6961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 1743 jeremybenn
  (exit $ac_status); } && {
6963
         test -z "$ac_c_werror_flag" ||
6964
         test ! -s conftest.err
6965
       } && test -s conftest.$ac_objext; then
6966 1376 phoenix
  ac_hi=$ac_mid; break
6967
else
6968
  echo "$as_me: failed program was:" >&5
6969 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6970
 
6971 1743 jeremybenn
        ac_lo=`expr $ac_mid + 1`
6972
                        if test $ac_lo -le $ac_mid; then
6973
                          ac_lo= ac_hi=
6974
                          break
6975
                        fi
6976
                        ac_mid=`expr 2 '*' $ac_mid + 1`
6977 1376 phoenix
fi
6978 1743 jeremybenn
 
6979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6980 1376 phoenix
  done
6981
else
6982
  echo "$as_me: failed program was:" >&5
6983 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
6984
 
6985 1743 jeremybenn
        cat >conftest.$ac_ext <<_ACEOF
6986 1576 phoenix
/* confdefs.h.  */
6987
_ACEOF
6988
cat confdefs.h >>conftest.$ac_ext
6989
cat >>conftest.$ac_ext <<_ACEOF
6990
/* end confdefs.h.  */
6991
$ac_includes_default
6992 1743 jeremybenn
   typedef int ac__type_sizeof_;
6993 1576 phoenix
int
6994
main ()
6995
{
6996 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6997 1576 phoenix
test_array [0] = 0
6998
 
6999
  ;
7000
  return 0;
7001
}
7002
_ACEOF
7003
rm -f conftest.$ac_objext
7004 1743 jeremybenn
if { (ac_try="$ac_compile"
7005
case "(($ac_try" in
7006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7007
  *) ac_try_echo=$ac_try;;
7008
esac
7009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7010
  (eval "$ac_compile") 2>conftest.er1
7011 1576 phoenix
  ac_status=$?
7012
  grep -v '^ *+' conftest.er1 >conftest.err
7013
  rm -f conftest.er1
7014
  cat conftest.err >&5
7015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 1743 jeremybenn
  (exit $ac_status); } && {
7017
         test -z "$ac_c_werror_flag" ||
7018
         test ! -s conftest.err
7019
       } && test -s conftest.$ac_objext; then
7020 1576 phoenix
  ac_hi=-1 ac_mid=-1
7021 1376 phoenix
  while :; do
7022
    cat >conftest.$ac_ext <<_ACEOF
7023 1576 phoenix
/* confdefs.h.  */
7024
_ACEOF
7025
cat confdefs.h >>conftest.$ac_ext
7026
cat >>conftest.$ac_ext <<_ACEOF
7027
/* end confdefs.h.  */
7028 1376 phoenix
$ac_includes_default
7029 1743 jeremybenn
   typedef int ac__type_sizeof_;
7030 1376 phoenix
int
7031
main ()
7032
{
7033 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7034 1576 phoenix
test_array [0] = 0
7035
 
7036 1376 phoenix
  ;
7037
  return 0;
7038
}
7039
_ACEOF
7040
rm -f conftest.$ac_objext
7041 1743 jeremybenn
if { (ac_try="$ac_compile"
7042
case "(($ac_try" in
7043
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7044
  *) ac_try_echo=$ac_try;;
7045
esac
7046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047
  (eval "$ac_compile") 2>conftest.er1
7048 1376 phoenix
  ac_status=$?
7049 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7050
  rm -f conftest.er1
7051
  cat conftest.err >&5
7052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 1743 jeremybenn
  (exit $ac_status); } && {
7054
         test -z "$ac_c_werror_flag" ||
7055
         test ! -s conftest.err
7056
       } && test -s conftest.$ac_objext; then
7057 1376 phoenix
  ac_lo=$ac_mid; break
7058
else
7059
  echo "$as_me: failed program was:" >&5
7060 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7061
 
7062 1743 jeremybenn
        ac_hi=`expr '(' $ac_mid ')' - 1`
7063
                        if test $ac_mid -le $ac_hi; then
7064
                          ac_lo= ac_hi=
7065
                          break
7066
                        fi
7067
                        ac_mid=`expr 2 '*' $ac_mid`
7068 1376 phoenix
fi
7069 1743 jeremybenn
 
7070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 1376 phoenix
  done
7072 1576 phoenix
else
7073
  echo "$as_me: failed program was:" >&5
7074
sed 's/^/| /' conftest.$ac_ext >&5
7075
 
7076 1743 jeremybenn
        ac_lo= ac_hi=
7077 1376 phoenix
fi
7078 1743 jeremybenn
 
7079
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7080 1576 phoenix
fi
7081 1743 jeremybenn
 
7082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7083 1376 phoenix
# Binary search between lo and hi bounds.
7084
while test "x$ac_lo" != "x$ac_hi"; do
7085
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7086
  cat >conftest.$ac_ext <<_ACEOF
7087 1576 phoenix
/* confdefs.h.  */
7088
_ACEOF
7089
cat confdefs.h >>conftest.$ac_ext
7090
cat >>conftest.$ac_ext <<_ACEOF
7091
/* end confdefs.h.  */
7092 1376 phoenix
$ac_includes_default
7093 1743 jeremybenn
   typedef int ac__type_sizeof_;
7094 1376 phoenix
int
7095
main ()
7096
{
7097 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7098 1576 phoenix
test_array [0] = 0
7099
 
7100 1376 phoenix
  ;
7101
  return 0;
7102
}
7103
_ACEOF
7104
rm -f conftest.$ac_objext
7105 1743 jeremybenn
if { (ac_try="$ac_compile"
7106
case "(($ac_try" in
7107
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7108
  *) ac_try_echo=$ac_try;;
7109
esac
7110
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111
  (eval "$ac_compile") 2>conftest.er1
7112 1376 phoenix
  ac_status=$?
7113 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7114
  rm -f conftest.er1
7115
  cat conftest.err >&5
7116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 1743 jeremybenn
  (exit $ac_status); } && {
7118
         test -z "$ac_c_werror_flag" ||
7119
         test ! -s conftest.err
7120
       } && test -s conftest.$ac_objext; then
7121 1376 phoenix
  ac_hi=$ac_mid
7122
else
7123
  echo "$as_me: failed program was:" >&5
7124 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7125
 
7126 1743 jeremybenn
        ac_lo=`expr '(' $ac_mid ')' + 1`
7127 1376 phoenix
fi
7128 1743 jeremybenn
 
7129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 1376 phoenix
done
7131 1576 phoenix
case $ac_lo in
7132
?*) ac_cv_sizeof_int=$ac_lo;;
7133 1743 jeremybenn
'') if test "$ac_cv_type_int" = yes; then
7134
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
7135 1576 phoenix
See \`config.log' for more details." >&5
7136 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (int)
7137 1576 phoenix
See \`config.log' for more details." >&2;}
7138 1743 jeremybenn
   { (exit 77); exit 77; }; }
7139
   else
7140
     ac_cv_sizeof_int=0
7141
   fi ;;
7142 1576 phoenix
esac
7143 1376 phoenix
else
7144
  cat >conftest.$ac_ext <<_ACEOF
7145 1576 phoenix
/* confdefs.h.  */
7146
_ACEOF
7147
cat confdefs.h >>conftest.$ac_ext
7148
cat >>conftest.$ac_ext <<_ACEOF
7149
/* end confdefs.h.  */
7150 1376 phoenix
$ac_includes_default
7151 1743 jeremybenn
   typedef int ac__type_sizeof_;
7152
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7153
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7154 1576 phoenix
#include 
7155
#include 
7156 1376 phoenix
int
7157
main ()
7158
{
7159 1576 phoenix
 
7160
  FILE *f = fopen ("conftest.val", "w");
7161
  if (! f)
7162 1743 jeremybenn
    return 1;
7163
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7164 1576 phoenix
    {
7165 1743 jeremybenn
      long int i = longval ();
7166
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7167
        return 1;
7168 1576 phoenix
      fprintf (f, "%ld\n", i);
7169
    }
7170
  else
7171
    {
7172 1743 jeremybenn
      unsigned long int i = ulongval ();
7173
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7174
        return 1;
7175 1576 phoenix
      fprintf (f, "%lu\n", i);
7176
    }
7177 1743 jeremybenn
  return ferror (f) || fclose (f) != 0;
7178 1576 phoenix
 
7179 1376 phoenix
  ;
7180
  return 0;
7181
}
7182
_ACEOF
7183
rm -f conftest$ac_exeext
7184 1743 jeremybenn
if { (ac_try="$ac_link"
7185
case "(($ac_try" in
7186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7187
  *) ac_try_echo=$ac_try;;
7188
esac
7189
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7190
  (eval "$ac_link") 2>&5
7191 1376 phoenix
  ac_status=$?
7192 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 1376 phoenix
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7194 1743 jeremybenn
  { (case "(($ac_try" in
7195
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196
  *) ac_try_echo=$ac_try;;
7197
esac
7198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199
  (eval "$ac_try") 2>&5
7200 1376 phoenix
  ac_status=$?
7201 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 1376 phoenix
  (exit $ac_status); }; }; then
7203
  ac_cv_sizeof_int=`cat conftest.val`
7204
else
7205
  echo "$as_me: program exited with status $ac_status" >&5
7206
echo "$as_me: failed program was:" >&5
7207 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7208
 
7209
( exit $ac_status )
7210 1743 jeremybenn
if test "$ac_cv_type_int" = yes; then
7211
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
7212 1576 phoenix
See \`config.log' for more details." >&5
7213 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (int)
7214 1576 phoenix
See \`config.log' for more details." >&2;}
7215 1743 jeremybenn
   { (exit 77); exit 77; }; }
7216
   else
7217
     ac_cv_sizeof_int=0
7218
   fi
7219 1376 phoenix
fi
7220 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7221 1376 phoenix
fi
7222
rm -f conftest.val
7223
fi
7224 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
7225
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
7226
 
7227
 
7228
 
7229 1576 phoenix
cat >>confdefs.h <<_ACEOF
7230 1376 phoenix
#define SIZEOF_INT $ac_cv_sizeof_int
7231 1576 phoenix
_ACEOF
7232 1376 phoenix
 
7233 1576 phoenix
 
7234 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for long" >&5
7235
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
7236 1376 phoenix
if test "${ac_cv_type_long+set}" = set; then
7237
  echo $ECHO_N "(cached) $ECHO_C" >&6
7238
else
7239
  cat >conftest.$ac_ext <<_ACEOF
7240 1576 phoenix
/* confdefs.h.  */
7241
_ACEOF
7242
cat confdefs.h >>conftest.$ac_ext
7243
cat >>conftest.$ac_ext <<_ACEOF
7244
/* end confdefs.h.  */
7245 1376 phoenix
$ac_includes_default
7246 1743 jeremybenn
typedef long ac__type_new_;
7247 1376 phoenix
int
7248
main ()
7249
{
7250 1743 jeremybenn
if ((ac__type_new_ *) 0)
7251 1376 phoenix
  return 0;
7252 1743 jeremybenn
if (sizeof (ac__type_new_))
7253 1376 phoenix
  return 0;
7254
  ;
7255
  return 0;
7256
}
7257
_ACEOF
7258
rm -f conftest.$ac_objext
7259 1743 jeremybenn
if { (ac_try="$ac_compile"
7260
case "(($ac_try" in
7261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262
  *) ac_try_echo=$ac_try;;
7263
esac
7264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265
  (eval "$ac_compile") 2>conftest.er1
7266 1376 phoenix
  ac_status=$?
7267 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7268
  rm -f conftest.er1
7269
  cat conftest.err >&5
7270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 1743 jeremybenn
  (exit $ac_status); } && {
7272
         test -z "$ac_c_werror_flag" ||
7273
         test ! -s conftest.err
7274
       } && test -s conftest.$ac_objext; then
7275 1376 phoenix
  ac_cv_type_long=yes
7276
else
7277
  echo "$as_me: failed program was:" >&5
7278 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7279
 
7280 1743 jeremybenn
        ac_cv_type_long=no
7281 1376 phoenix
fi
7282 1743 jeremybenn
 
7283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7284 1376 phoenix
fi
7285 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7286
echo "${ECHO_T}$ac_cv_type_long" >&6; }
7287 1376 phoenix
 
7288 1743 jeremybenn
# The cast to long int works around a bug in the HP C Compiler
7289
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7290
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7291
# This bug is HP SR number 8606223364.
7292
{ echo "$as_me:$LINENO: checking size of long" >&5
7293
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
7294 1376 phoenix
if test "${ac_cv_sizeof_long+set}" = set; then
7295
  echo $ECHO_N "(cached) $ECHO_C" >&6
7296
else
7297
  if test "$cross_compiling" = yes; then
7298
  # Depending upon the size, compute the lo and hi bounds.
7299
cat >conftest.$ac_ext <<_ACEOF
7300 1576 phoenix
/* confdefs.h.  */
7301
_ACEOF
7302
cat confdefs.h >>conftest.$ac_ext
7303
cat >>conftest.$ac_ext <<_ACEOF
7304
/* end confdefs.h.  */
7305 1376 phoenix
$ac_includes_default
7306 1743 jeremybenn
   typedef long ac__type_sizeof_;
7307 1376 phoenix
int
7308
main ()
7309
{
7310 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7311 1576 phoenix
test_array [0] = 0
7312
 
7313 1376 phoenix
  ;
7314
  return 0;
7315
}
7316
_ACEOF
7317
rm -f conftest.$ac_objext
7318 1743 jeremybenn
if { (ac_try="$ac_compile"
7319
case "(($ac_try" in
7320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7321
  *) ac_try_echo=$ac_try;;
7322
esac
7323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7324
  (eval "$ac_compile") 2>conftest.er1
7325 1376 phoenix
  ac_status=$?
7326 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7327
  rm -f conftest.er1
7328
  cat conftest.err >&5
7329
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 1743 jeremybenn
  (exit $ac_status); } && {
7331
         test -z "$ac_c_werror_flag" ||
7332
         test ! -s conftest.err
7333
       } && test -s conftest.$ac_objext; then
7334 1376 phoenix
  ac_lo=0 ac_mid=0
7335
  while :; do
7336
    cat >conftest.$ac_ext <<_ACEOF
7337 1576 phoenix
/* confdefs.h.  */
7338
_ACEOF
7339
cat confdefs.h >>conftest.$ac_ext
7340
cat >>conftest.$ac_ext <<_ACEOF
7341
/* end confdefs.h.  */
7342 1376 phoenix
$ac_includes_default
7343 1743 jeremybenn
   typedef long ac__type_sizeof_;
7344 1376 phoenix
int
7345
main ()
7346
{
7347 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7348 1576 phoenix
test_array [0] = 0
7349
 
7350 1376 phoenix
  ;
7351
  return 0;
7352
}
7353
_ACEOF
7354
rm -f conftest.$ac_objext
7355 1743 jeremybenn
if { (ac_try="$ac_compile"
7356
case "(($ac_try" in
7357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7358
  *) ac_try_echo=$ac_try;;
7359
esac
7360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361
  (eval "$ac_compile") 2>conftest.er1
7362 1376 phoenix
  ac_status=$?
7363 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7364
  rm -f conftest.er1
7365
  cat conftest.err >&5
7366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 1743 jeremybenn
  (exit $ac_status); } && {
7368
         test -z "$ac_c_werror_flag" ||
7369
         test ! -s conftest.err
7370
       } && test -s conftest.$ac_objext; then
7371 1376 phoenix
  ac_hi=$ac_mid; break
7372
else
7373
  echo "$as_me: failed program was:" >&5
7374 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7375
 
7376 1743 jeremybenn
        ac_lo=`expr $ac_mid + 1`
7377
                        if test $ac_lo -le $ac_mid; then
7378
                          ac_lo= ac_hi=
7379
                          break
7380
                        fi
7381
                        ac_mid=`expr 2 '*' $ac_mid + 1`
7382 1376 phoenix
fi
7383 1743 jeremybenn
 
7384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7385 1376 phoenix
  done
7386
else
7387
  echo "$as_me: failed program was:" >&5
7388 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7389
 
7390 1743 jeremybenn
        cat >conftest.$ac_ext <<_ACEOF
7391 1576 phoenix
/* confdefs.h.  */
7392
_ACEOF
7393
cat confdefs.h >>conftest.$ac_ext
7394
cat >>conftest.$ac_ext <<_ACEOF
7395
/* end confdefs.h.  */
7396
$ac_includes_default
7397 1743 jeremybenn
   typedef long ac__type_sizeof_;
7398 1576 phoenix
int
7399
main ()
7400
{
7401 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7402 1576 phoenix
test_array [0] = 0
7403
 
7404
  ;
7405
  return 0;
7406
}
7407
_ACEOF
7408
rm -f conftest.$ac_objext
7409 1743 jeremybenn
if { (ac_try="$ac_compile"
7410
case "(($ac_try" in
7411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7412
  *) ac_try_echo=$ac_try;;
7413
esac
7414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7415
  (eval "$ac_compile") 2>conftest.er1
7416 1576 phoenix
  ac_status=$?
7417
  grep -v '^ *+' conftest.er1 >conftest.err
7418
  rm -f conftest.er1
7419
  cat conftest.err >&5
7420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 1743 jeremybenn
  (exit $ac_status); } && {
7422
         test -z "$ac_c_werror_flag" ||
7423
         test ! -s conftest.err
7424
       } && test -s conftest.$ac_objext; then
7425 1576 phoenix
  ac_hi=-1 ac_mid=-1
7426 1376 phoenix
  while :; do
7427
    cat >conftest.$ac_ext <<_ACEOF
7428 1576 phoenix
/* confdefs.h.  */
7429
_ACEOF
7430
cat confdefs.h >>conftest.$ac_ext
7431
cat >>conftest.$ac_ext <<_ACEOF
7432
/* end confdefs.h.  */
7433 1376 phoenix
$ac_includes_default
7434 1743 jeremybenn
   typedef long ac__type_sizeof_;
7435 1376 phoenix
int
7436
main ()
7437
{
7438 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7439 1576 phoenix
test_array [0] = 0
7440
 
7441 1376 phoenix
  ;
7442
  return 0;
7443
}
7444
_ACEOF
7445
rm -f conftest.$ac_objext
7446 1743 jeremybenn
if { (ac_try="$ac_compile"
7447
case "(($ac_try" in
7448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7449
  *) ac_try_echo=$ac_try;;
7450
esac
7451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452
  (eval "$ac_compile") 2>conftest.er1
7453 1376 phoenix
  ac_status=$?
7454 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7455
  rm -f conftest.er1
7456
  cat conftest.err >&5
7457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 1743 jeremybenn
  (exit $ac_status); } && {
7459
         test -z "$ac_c_werror_flag" ||
7460
         test ! -s conftest.err
7461
       } && test -s conftest.$ac_objext; then
7462 1376 phoenix
  ac_lo=$ac_mid; break
7463
else
7464
  echo "$as_me: failed program was:" >&5
7465 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7466
 
7467 1743 jeremybenn
        ac_hi=`expr '(' $ac_mid ')' - 1`
7468
                        if test $ac_mid -le $ac_hi; then
7469
                          ac_lo= ac_hi=
7470
                          break
7471
                        fi
7472
                        ac_mid=`expr 2 '*' $ac_mid`
7473 1376 phoenix
fi
7474 1743 jeremybenn
 
7475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7476 1376 phoenix
  done
7477 1576 phoenix
else
7478
  echo "$as_me: failed program was:" >&5
7479
sed 's/^/| /' conftest.$ac_ext >&5
7480
 
7481 1743 jeremybenn
        ac_lo= ac_hi=
7482 1376 phoenix
fi
7483 1743 jeremybenn
 
7484
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7485 1576 phoenix
fi
7486 1743 jeremybenn
 
7487
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488 1376 phoenix
# Binary search between lo and hi bounds.
7489
while test "x$ac_lo" != "x$ac_hi"; do
7490
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7491
  cat >conftest.$ac_ext <<_ACEOF
7492 1576 phoenix
/* confdefs.h.  */
7493
_ACEOF
7494
cat confdefs.h >>conftest.$ac_ext
7495
cat >>conftest.$ac_ext <<_ACEOF
7496
/* end confdefs.h.  */
7497 1376 phoenix
$ac_includes_default
7498 1743 jeremybenn
   typedef long ac__type_sizeof_;
7499 1376 phoenix
int
7500
main ()
7501
{
7502 1743 jeremybenn
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7503 1576 phoenix
test_array [0] = 0
7504
 
7505 1376 phoenix
  ;
7506
  return 0;
7507
}
7508
_ACEOF
7509
rm -f conftest.$ac_objext
7510 1743 jeremybenn
if { (ac_try="$ac_compile"
7511
case "(($ac_try" in
7512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7513
  *) ac_try_echo=$ac_try;;
7514
esac
7515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7516
  (eval "$ac_compile") 2>conftest.er1
7517 1376 phoenix
  ac_status=$?
7518 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7519
  rm -f conftest.er1
7520
  cat conftest.err >&5
7521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 1743 jeremybenn
  (exit $ac_status); } && {
7523
         test -z "$ac_c_werror_flag" ||
7524
         test ! -s conftest.err
7525
       } && test -s conftest.$ac_objext; then
7526 1376 phoenix
  ac_hi=$ac_mid
7527
else
7528
  echo "$as_me: failed program was:" >&5
7529 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7530
 
7531 1743 jeremybenn
        ac_lo=`expr '(' $ac_mid ')' + 1`
7532 1376 phoenix
fi
7533 1743 jeremybenn
 
7534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7535 1376 phoenix
done
7536 1576 phoenix
case $ac_lo in
7537
?*) ac_cv_sizeof_long=$ac_lo;;
7538 1743 jeremybenn
'') if test "$ac_cv_type_long" = yes; then
7539
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
7540 1576 phoenix
See \`config.log' for more details." >&5
7541 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (long)
7542 1576 phoenix
See \`config.log' for more details." >&2;}
7543 1743 jeremybenn
   { (exit 77); exit 77; }; }
7544
   else
7545
     ac_cv_sizeof_long=0
7546
   fi ;;
7547 1576 phoenix
esac
7548 1376 phoenix
else
7549
  cat >conftest.$ac_ext <<_ACEOF
7550 1576 phoenix
/* confdefs.h.  */
7551
_ACEOF
7552
cat confdefs.h >>conftest.$ac_ext
7553
cat >>conftest.$ac_ext <<_ACEOF
7554
/* end confdefs.h.  */
7555 1376 phoenix
$ac_includes_default
7556 1743 jeremybenn
   typedef long ac__type_sizeof_;
7557
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7558
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7559 1576 phoenix
#include 
7560
#include 
7561 1376 phoenix
int
7562
main ()
7563
{
7564 1576 phoenix
 
7565
  FILE *f = fopen ("conftest.val", "w");
7566
  if (! f)
7567 1743 jeremybenn
    return 1;
7568
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7569 1576 phoenix
    {
7570 1743 jeremybenn
      long int i = longval ();
7571
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7572
        return 1;
7573 1576 phoenix
      fprintf (f, "%ld\n", i);
7574
    }
7575
  else
7576
    {
7577 1743 jeremybenn
      unsigned long int i = ulongval ();
7578
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7579
        return 1;
7580 1576 phoenix
      fprintf (f, "%lu\n", i);
7581
    }
7582 1743 jeremybenn
  return ferror (f) || fclose (f) != 0;
7583 1576 phoenix
 
7584 1376 phoenix
  ;
7585
  return 0;
7586
}
7587
_ACEOF
7588
rm -f conftest$ac_exeext
7589 1743 jeremybenn
if { (ac_try="$ac_link"
7590
case "(($ac_try" in
7591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7592
  *) ac_try_echo=$ac_try;;
7593
esac
7594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7595
  (eval "$ac_link") 2>&5
7596 1376 phoenix
  ac_status=$?
7597 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 1376 phoenix
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7599 1743 jeremybenn
  { (case "(($ac_try" in
7600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7601
  *) ac_try_echo=$ac_try;;
7602
esac
7603
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7604
  (eval "$ac_try") 2>&5
7605 1376 phoenix
  ac_status=$?
7606 1576 phoenix
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 1376 phoenix
  (exit $ac_status); }; }; then
7608
  ac_cv_sizeof_long=`cat conftest.val`
7609
else
7610
  echo "$as_me: program exited with status $ac_status" >&5
7611
echo "$as_me: failed program was:" >&5
7612 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7613
 
7614
( exit $ac_status )
7615 1743 jeremybenn
if test "$ac_cv_type_long" = yes; then
7616
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
7617 1576 phoenix
See \`config.log' for more details." >&5
7618 1743 jeremybenn
echo "$as_me: error: cannot compute sizeof (long)
7619 1576 phoenix
See \`config.log' for more details." >&2;}
7620 1743 jeremybenn
   { (exit 77); exit 77; }; }
7621
   else
7622
     ac_cv_sizeof_long=0
7623
   fi
7624 1376 phoenix
fi
7625 1743 jeremybenn
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7626 1376 phoenix
fi
7627
rm -f conftest.val
7628
fi
7629 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7630
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
7631
 
7632
 
7633
 
7634 1576 phoenix
cat >>confdefs.h <<_ACEOF
7635 1376 phoenix
#define SIZEOF_LONG $ac_cv_sizeof_long
7636 1576 phoenix
_ACEOF
7637 1376 phoenix
 
7638 1242 hpanther
 
7639 1576 phoenix
 
7640
 
7641 1743 jeremybenn
{ echo "$as_me:$LINENO: checking for add_history in -lreadline" >&5
7642
echo $ECHO_N "checking for add_history in -lreadline... $ECHO_C" >&6; }
7643 1242 hpanther
if test "${ac_cv_lib_readline_add_history+set}" = set; then
7644
  echo $ECHO_N "(cached) $ECHO_C" >&6
7645 17 jrydberg
else
7646 1242 hpanther
  ac_check_lib_save_LIBS=$LIBS
7647 17 jrydberg
LIBS="-lreadline  $LIBS"
7648 1242 hpanther
cat >conftest.$ac_ext <<_ACEOF
7649 1576 phoenix
/* confdefs.h.  */
7650
_ACEOF
7651
cat confdefs.h >>conftest.$ac_ext
7652
cat >>conftest.$ac_ext <<_ACEOF
7653
/* end confdefs.h.  */
7654 1242 hpanther
 
7655 1743 jeremybenn
/* Override any GCC internal prototype to avoid an error.
7656
   Use char because int might match the return type of a GCC
7657
   builtin and then its argument prototype would still apply.  */
7658 1242 hpanther
#ifdef __cplusplus
7659
extern "C"
7660
#endif
7661
char add_history ();
7662
int
7663
main ()
7664
{
7665 1743 jeremybenn
return add_history ();
7666 1242 hpanther
  ;
7667
  return 0;
7668
}
7669
_ACEOF
7670
rm -f conftest.$ac_objext conftest$ac_exeext
7671 1743 jeremybenn
if { (ac_try="$ac_link"
7672
case "(($ac_try" in
7673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7674
  *) ac_try_echo=$ac_try;;
7675
esac
7676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7677
  (eval "$ac_link") 2>conftest.er1
7678 1242 hpanther
  ac_status=$?
7679 1576 phoenix
  grep -v '^ *+' conftest.er1 >conftest.err
7680
  rm -f conftest.er1
7681
  cat conftest.err >&5
7682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 1743 jeremybenn
  (exit $ac_status); } && {
7684
         test -z "$ac_c_werror_flag" ||
7685
         test ! -s conftest.err
7686
       } && test -s conftest$ac_exeext &&
7687
       $as_test_x conftest$ac_exeext; then
7688 1242 hpanther
  ac_cv_lib_readline_add_history=yes
7689 17 jrydberg
else
7690 1242 hpanther
  echo "$as_me: failed program was:" >&5
7691 1576 phoenix
sed 's/^/| /' conftest.$ac_ext >&5
7692
 
7693 1743 jeremybenn
        ac_cv_lib_readline_add_history=no
7694 17 jrydberg
fi
7695 1743 jeremybenn
 
7696
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7697 1576 phoenix
      conftest$ac_exeext conftest.$ac_ext
7698 1242 hpanther
LIBS=$ac_check_lib_save_LIBS
7699
fi
7700 1743 jeremybenn
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_add_history" >&5
7701
echo "${ECHO_T}$ac_cv_lib_readline_add_history" >&6; }
7702 1242 hpanther
if test $ac_cv_lib_readline_add_history = yes; then
7703 1576 phoenix
  cat >>confdefs.h <<_ACEOF
7704 1242 hpanther
#define HAVE_LIBREADLINE 1
7705 1576 phoenix
_ACEOF
7706 17 jrydberg
 
7707
  LIBS="-lreadline $LIBS"
7708
 
7709
fi
7710
 
7711
 
7712 7 jrydberg
case "$host_os" in
7713
aix*)   prefer_curses=yes ;;
7714
esac
7715
 
7716
case "$host_cpu" in
7717
*cray*) LOCAL_CFLAGS=-DCRAY ;;
7718
esac
7719
 
7720
case "$host_os" in
7721
isc*)   LOCAL_CFLAGS=-Disc386 ;;
7722
esac
7723
 
7724 132 chris
case "$host_os" in
7725
solaris*) LIBS="-lsocket -lnsl" ;;
7726
esac
7727
 
7728 1576 phoenix
 
7729 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether to enable profiling" >&5
7730
echo $ECHO_N "checking whether to enable profiling... $ECHO_C" >&6; }
7731
# Check whether --enable-profiling was given.
7732 517 markom
if test "${enable_profiling+set}" = set; then
7733 1743 jeremybenn
  enableval=$enable_profiling;
7734 517 markom
    case "$enableval" in
7735
        yes) profile="-pg -a" ;;
7736
    esac
7737 167 markom
 
7738 1743 jeremybenn
fi
7739 517 markom
 
7740 1743 jeremybenn
{ echo "$as_me:$LINENO: result: ${enable_profiling-no}" >&5
7741
echo "${ECHO_T}${enable_profiling-no}" >&6; }
7742
 
7743 1576 phoenix
execution="1"
7744
 
7745 1376 phoenix
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
7746 1743 jeremybenn
{ echo "$as_me:$LINENO: checking which execution style to use" >&5
7747
echo $ECHO_N "checking which execution style to use... $ECHO_C" >&6; }
7748
# Check whether --enable-execution was given.
7749 1576 phoenix
if test "${enable_execution+set}" = set; then
7750 1743 jeremybenn
  enableval=$enable_execution;
7751 706 markom
    case "$enableval" in
7752 1576 phoenix
    simple)
7753
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
7754
      execution="0"
7755 1743 jeremybenn
      { echo "$as_me:$LINENO: result: simple" >&5
7756
echo "${ECHO_T}simple" >&6; }
7757 1576 phoenix
      ;;
7758
    complex)
7759
      INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
7760
      execution="1"
7761 1743 jeremybenn
      { echo "$as_me:$LINENO: result: complex" >&5
7762
echo "${ECHO_T}complex" >&6; }
7763 1576 phoenix
      ;;
7764
    dynamic)
7765
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
7766
      execution="2"
7767 1743 jeremybenn
      { echo "$as_me:$LINENO: result: dynamic" >&5
7768
echo "${ECHO_T}dynamic" >&6; }
7769 1576 phoenix
      ;;
7770
    *)
7771
      { { echo "$as_me:$LINENO: error: \"excecution must one of simple/complex/dynamic\"" >&5
7772
echo "$as_me: error: \"excecution must one of simple/complex/dynamic\"" >&2;}
7773
   { (exit 1); exit 1; }; }
7774
      ;;
7775 706 markom
    esac
7776
 
7777 1576 phoenix
else
7778
 
7779 1743 jeremybenn
      { echo "$as_me:$LINENO: result: complex" >&5
7780
echo "${ECHO_T}complex" >&6; }
7781 1576 phoenix
 
7782 1743 jeremybenn
fi
7783 706 markom
 
7784 1743 jeremybenn
 
7785 849 markom
eth_phy="0"
7786 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether to enable ethernet phy emulation" >&5
7787
echo $ECHO_N "checking whether to enable ethernet phy emulation... $ECHO_C" >&6; }
7788
# Check whether --enable-ethphy was given.
7789 849 markom
if test "${enable_ethphy+set}" = set; then
7790 1743 jeremybenn
  enableval=$enable_ethphy;
7791 849 markom
    case "$enableval" in
7792
  no)  eth_phy="0" ;;
7793
        yes) eth_phy="1" ;;
7794
    esac
7795
 
7796 1743 jeremybenn
fi
7797 849 markom
 
7798 1743 jeremybenn
{ echo "$as_me:$LINENO: result: ${enable_eth_phy-no}" >&5
7799
echo "${ECHO_T}${enable_eth_phy-no}" >&6; }
7800 1576 phoenix
 
7801 1743 jeremybenn
 
7802 721 markom
raw_range_stats="0"
7803 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether to use raw range stats" >&5
7804
echo $ECHO_N "checking whether to use raw range stats... $ECHO_C" >&6; }
7805
# Check whether --enable-range_stats was given.
7806 721 markom
if test "${enable_range_stats+set}" = set; then
7807 1743 jeremybenn
  enableval=$enable_range_stats;
7808 721 markom
    case "$enableval" in
7809
  no)  raw_range_stats="0" ;;
7810
        yes) raw_range_stats="1" simple_execution="1" ;;
7811
    esac
7812
 
7813 1743 jeremybenn
fi
7814 721 markom
 
7815 1743 jeremybenn
{ echo "$as_me:$LINENO: result: ${enable_range_stats-no}" >&5
7816
echo "${ECHO_T}${enable_range_stats-no}" >&6; }
7817
 
7818 928 markom
set_ov_flag="0"
7819 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether instructions set overflow flag" >&5
7820
echo $ECHO_N "checking whether instructions set overflow flag... $ECHO_C" >&6; }
7821
# Check whether --enable-ov_flag was given.
7822 721 markom
if test "${enable_ov_flag+set}" = set; then
7823 1743 jeremybenn
  enableval=$enable_ov_flag;
7824 721 markom
    case "$enableval" in
7825
  no)  set_ov_flag="0" ;;
7826
        yes) set_ov_flag="1" ;;
7827
    esac
7828
 
7829 1743 jeremybenn
fi
7830 721 markom
 
7831 1743 jeremybenn
{ echo "$as_me:$LINENO: result: ${enable_ov_flag-no}" >&5
7832
echo "${ECHO_T}${enable_ov_flag-no}" >&6; }
7833
 
7834 928 markom
set_arith_flag="0"
7835 1743 jeremybenn
{ echo "$as_me:$LINENO: checking whether arithmethic instructions set flag" >&5
7836
echo $ECHO_N "checking whether arithmethic instructions set flag... $ECHO_C" >&6; }
7837
# Check whether --enable-arith_flag was given.
7838 721 markom
if test "${enable_arith_flag+set}" = set; then
7839 1743 jeremybenn
  enableval=$enable_arith_flag;
7840 721 markom
    case "$enableval" in
7841
  no)  set_arith_flag="0" ;;
7842
        yes) set_arith_flag="1" ;;
7843
    esac
7844
 
7845 1743 jeremybenn
fi
7846 721 markom
 
7847 1743 jeremybenn
{ echo "$as_me:$LINENO: result: ${enable_arith_flag-no}" >&5
7848
echo "${ECHO_T}${enable_arith_flag-no}" >&6; }
7849 1576 phoenix
 
7850 1743 jeremybenn
 
7851 1576 phoenix
cat >>confdefs.h <<_ACEOF
7852 721 markom
#define RAW_RANGE_STATS $raw_range_stats
7853 1576 phoenix
_ACEOF
7854 721 markom
 
7855 1576 phoenix
 
7856
cat >>confdefs.h <<_ACEOF
7857 721 markom
#define SET_OV_FLAG $set_ov_flag
7858 1576 phoenix
_ACEOF
7859 721 markom
 
7860 1576 phoenix
 
7861
cat >>confdefs.h <<_ACEOF
7862 721 markom
#define ARITH_SET_FLAG $set_arith_flag
7863 1576 phoenix
_ACEOF
7864 721 markom
 
7865 1576 phoenix
 
7866
cat >>confdefs.h <<_ACEOF
7867 849 markom
#define HAVE_ETH_PHY $eth_phy
7868 1576 phoenix
_ACEOF
7869 721 markom
 
7870 706 markom
 
7871 1576 phoenix
cat >>confdefs.h <<_ACEOF
7872
#define SIMPLE_EXECUTION $execution == 0
7873
_ACEOF
7874
 
7875
 
7876
cat >>confdefs.h <<_ACEOF
7877
#define COMPLEX_EXECUTION $execution == 1
7878
_ACEOF
7879
 
7880
 
7881
cat >>confdefs.h <<_ACEOF
7882
#define DYNAMIC_EXECUTION $execution == 2
7883
_ACEOF
7884
 
7885 1743 jeremybenn
 if test x$execution = x1; then
7886 1576 phoenix
  GENERATE_NEEDED_TRUE=
7887
  GENERATE_NEEDED_FALSE='#'
7888 706 markom
else
7889 1576 phoenix
  GENERATE_NEEDED_TRUE='#'
7890
  GENERATE_NEEDED_FALSE=
7891 706 markom
fi
7892
 
7893 1743 jeremybenn
 if test x$execution = x2; then
7894 1576 phoenix
  DYNAMIC_EXECUTION_TRUE=
7895
  DYNAMIC_EXECUTION_FALSE='#'
7896
else
7897
  DYNAMIC_EXECUTION_TRUE='#'
7898
  DYNAMIC_EXECUTION_FALSE=
7899 202 erez
fi
7900 517 markom
 
7901 1576 phoenix
 
7902
 
7903 517 markom
test -n "$profile"  && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
7904 518 markom
# CFLAGS="$CFLAGS -O4"
7905 202 erez
 
7906 7 jrydberg
BUILD_DIR=`pwd`
7907
 
7908 1576 phoenix
 
7909
 
7910
 
7911
 
7912
 
7913
 
7914
 
7915
 
7916
 
7917
 
7918
 
7919
 
7920
 
7921
 
7922
 
7923
 
7924
 
7925
cat >>confdefs.h <<\_ACEOF
7926 123 markom
#define HAS_EXECUTION 1
7927 1576 phoenix
_ACEOF
7928 7 jrydberg
 
7929 1576 phoenix
 
7930
cat >>confdefs.h <<\_ACEOF
7931 371 markom
#define HAS_DEBUG 1
7932 1576 phoenix
_ACEOF
7933 123 markom
 
7934 1576 phoenix
 
7935 1376 phoenix
INCLUDES="$INCLUDES -I\${top_srcdir} -I\${top_srcdir}/cpu/common \
7936
-I\${top_srcdir}/cpu/or1k -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
7937 103 lampret
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
7938 1376 phoenix
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
7939
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
7940
-I\${top_srcdir}/cuc -I\${top_srcdir}/port"
7941 7 jrydberg
 
7942 1576 phoenix
 
7943 1743 jeremybenn
ac_config_files="$ac_config_files Makefile bpb/Makefile cache/Makefile cpu/Makefile cpu/common/Makefile cpu/or32/Makefile cuc/Makefile cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile peripheral/channels/Makefile pm/Makefile pic/Makefile vapi/Makefile port/Makefile"
7944 1576 phoenix
 
7945 1743 jeremybenn
ac_config_commands="$ac_config_commands default"
7946 1576 phoenix
 
7947 1242 hpanther
cat >confcache <<\_ACEOF
7948 7 jrydberg
# This file is a shell script that caches the results of configure
7949
# tests run on this system so they can be shared between configure
7950 1242 hpanther
# scripts and configure runs, see configure's option --config-cache.
7951
# It is not useful on other systems.  If it contains results you don't
7952
# want to keep, you may remove or edit it.
7953 7 jrydberg
#
7954 1242 hpanther
# config.status only pays attention to the cache file if you give it
7955
# the --recheck option to rerun configure.
7956 7 jrydberg
#
7957 1576 phoenix
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7958 1242 hpanther
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7959
# following values.
7960
 
7961
_ACEOF
7962
 
7963 7 jrydberg
# The following way of writing the cache mishandles newlines in values,
7964
# but we know of no workaround that is simple, portable, and efficient.
7965 1743 jeremybenn
# So, we kill variables containing newlines.
7966 7 jrydberg
# Ultrix sh set writes to stderr and can't be redirected directly,
7967
# and sets the high bit in the cache file unless we assign to the vars.
7968 1743 jeremybenn
(
7969
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7970
    eval ac_val=\$$ac_var
7971
    case $ac_val in #(
7972
    *${as_nl}*)
7973
      case $ac_var in #(
7974
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7975
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7976
      esac
7977
      case $ac_var in #(
7978
      _ | IFS | as_nl) ;; #(
7979
      *) $as_unset $ac_var ;;
7980
      esac ;;
7981
    esac
7982
  done
7983
 
7984 1242 hpanther
  (set) 2>&1 |
7985 1743 jeremybenn
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7986
    *${as_nl}ac_space=\ *)
7987 1242 hpanther
      # `set' does not quote correctly, so add quotes (double-quote
7988
      # substitution turns \\\\ into \\, and sed turns \\ into \).
7989
      sed -n \
7990 1576 phoenix
        "s/'/'\\\\''/g;
7991
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7992 1743 jeremybenn
      ;; #(
7993 1242 hpanther
    *)
7994
      # `set' quotes correctly as required by POSIX, so do not add quotes.
7995 1743 jeremybenn
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7996 1242 hpanther
      ;;
7997 1743 jeremybenn
    esac |
7998
    sort
7999
) |
8000 1242 hpanther
  sed '
8001 1743 jeremybenn
     /^ac_cv_env_/b end
8002 1242 hpanther
     t clear
8003 1743 jeremybenn
     :clear
8004 1242 hpanther
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8005
     t end
8006 1743 jeremybenn
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8007
     :end' >>confcache
8008
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8009
  if test -w "$cache_file"; then
8010
    test "x$cache_file" != "x/dev/null" &&
8011
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8012
echo "$as_me: updating cache $cache_file" >&6;}
8013 1242 hpanther
    cat confcache >$cache_file
8014 7 jrydberg
  else
8015 1743 jeremybenn
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8016
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8017 7 jrydberg
  fi
8018
fi
8019
rm -f confcache
8020
 
8021
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8022
# Let make expand exec_prefix.
8023
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8024
 
8025
DEFS=-DHAVE_CONFIG_H
8026
 
8027 1576 phoenix
ac_libobjs=
8028
ac_ltlibobjs=
8029
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8030
  # 1. Remove the extension, and $U if already installed.
8031 1743 jeremybenn
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8032
  ac_i=`echo "$ac_i" | sed "$ac_script"`
8033
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8034
  #    will be set to the directory where LIBOBJS objects are built.
8035
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8036
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8037 1576 phoenix
done
8038
LIBOBJS=$ac_libobjs
8039
 
8040
LTLIBOBJS=$ac_ltlibobjs
8041
 
8042
 
8043 1242 hpanther
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8044 1576 phoenix
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8045 1242 hpanther
Usually this means the macro was only invoked conditionally." >&5
8046
echo "$as_me: error: conditional \"AMDEP\" was never defined.
8047
Usually this means the macro was only invoked conditionally." >&2;}
8048
   { (exit 1); exit 1; }; }
8049
fi
8050 1576 phoenix
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8051
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8052 1242 hpanther
Usually this means the macro was only invoked conditionally." >&5
8053 1576 phoenix
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8054 1242 hpanther
Usually this means the macro was only invoked conditionally." >&2;}
8055
   { (exit 1); exit 1; }; }
8056
fi
8057 1576 phoenix
if test -z "${GENERATE_NEEDED_TRUE}" && test -z "${GENERATE_NEEDED_FALSE}"; then
8058
  { { echo "$as_me:$LINENO: error: conditional \"GENERATE_NEEDED\" was never defined.
8059
Usually this means the macro was only invoked conditionally." >&5
8060
echo "$as_me: error: conditional \"GENERATE_NEEDED\" was never defined.
8061
Usually this means the macro was only invoked conditionally." >&2;}
8062
   { (exit 1); exit 1; }; }
8063
fi
8064
if test -z "${DYNAMIC_EXECUTION_TRUE}" && test -z "${DYNAMIC_EXECUTION_FALSE}"; then
8065
  { { echo "$as_me:$LINENO: error: conditional \"DYNAMIC_EXECUTION\" was never defined.
8066
Usually this means the macro was only invoked conditionally." >&5
8067
echo "$as_me: error: conditional \"DYNAMIC_EXECUTION\" was never defined.
8068
Usually this means the macro was only invoked conditionally." >&2;}
8069
   { (exit 1); exit 1; }; }
8070
fi
8071 1242 hpanther
 
8072 7 jrydberg
: ${CONFIG_STATUS=./config.status}
8073 1242 hpanther
ac_clean_files_save=$ac_clean_files
8074
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8075 1576 phoenix
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8076 1242 hpanther
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8077
cat >$CONFIG_STATUS <<_ACEOF
8078
#! $SHELL
8079 1576 phoenix
# Generated by $as_me.
8080 7 jrydberg
# Run this file to recreate the current configuration.
8081
# Compiler output produced by configure, useful for debugging
8082 1242 hpanther
# configure, is in config.log if it exists.
8083 7 jrydberg
 
8084 1242 hpanther
debug=false
8085 1576 phoenix
ac_cs_recheck=false
8086
ac_cs_silent=false
8087 1242 hpanther
SHELL=\${CONFIG_SHELL-$SHELL}
8088
_ACEOF
8089
 
8090
cat >>$CONFIG_STATUS <<\_ACEOF
8091 1576 phoenix
## --------------------- ##
8092
## M4sh Initialization.  ##
8093
## --------------------- ##
8094
 
8095 1743 jeremybenn
# Be more Bourne compatible
8096
DUALCASE=1; export DUALCASE # for MKS sh
8097 1242 hpanther
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8098
  emulate sh
8099
  NULLCMD=:
8100 1576 phoenix
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8101
  # is contrary to our usage.  Disable this feature.
8102
  alias -g '${1+"$@"}'='"$@"'
8103 1743 jeremybenn
  setopt NO_GLOB_SUBST
8104
else
8105
  case `(set -o) 2>/dev/null` in
8106
  *posix*) set -o posix ;;
8107
esac
8108
 
8109 1242 hpanther
fi
8110
 
8111 1743 jeremybenn
 
8112
 
8113
 
8114
# PATH needs CR
8115
# Avoid depending upon Character Ranges.
8116
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8117
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8118
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8119
as_cr_digits='0123456789'
8120
as_cr_alnum=$as_cr_Letters$as_cr_digits
8121
 
8122
# The user is always right.
8123
if test "${PATH_SEPARATOR+set}" != set; then
8124
  echo "#! /bin/sh" >conf$$.sh
8125
  echo  "exit 0"   >>conf$$.sh
8126
  chmod +x conf$$.sh
8127
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8128
    PATH_SEPARATOR=';'
8129
  else
8130
    PATH_SEPARATOR=:
8131
  fi
8132
  rm -f conf$$.sh
8133
fi
8134
 
8135 1576 phoenix
# Support unset when possible.
8136
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8137
  as_unset=unset
8138
else
8139
  as_unset=false
8140
fi
8141
 
8142
 
8143 1743 jeremybenn
# IFS
8144
# We need space, tab and new line, in precisely that order.  Quoting is
8145
# there to prevent editors from complaining about space-tab.
8146
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8147
# splitting by setting IFS to empty value.)
8148
as_nl='
8149
'
8150
IFS=" ""        $as_nl"
8151
 
8152
# Find who we are.  Look in the path if we contain no directory separator.
8153
case $0 in
8154
  *[\\/]* ) as_myself=$0 ;;
8155
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156
for as_dir in $PATH
8157
do
8158
  IFS=$as_save_IFS
8159
  test -z "$as_dir" && as_dir=.
8160
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8161
done
8162
IFS=$as_save_IFS
8163
 
8164
     ;;
8165
esac
8166
# We did not find ourselves, most probably we were run as `sh COMMAND'
8167
# in which case we are not to be found in the path.
8168
if test "x$as_myself" = x; then
8169
  as_myself=$0
8170
fi
8171
if test ! -f "$as_myself"; then
8172
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8173
  { (exit 1); exit 1; }
8174
fi
8175
 
8176 1576 phoenix
# Work around bugs in pre-3.0 UWIN ksh.
8177 1743 jeremybenn
for as_var in ENV MAIL MAILPATH
8178
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8179
done
8180 1576 phoenix
PS1='$ '
8181
PS2='> '
8182
PS4='+ '
8183
 
8184
# NLS nuisances.
8185
for as_var in \
8186
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8187
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8188
  LC_TELEPHONE LC_TIME
8189
do
8190
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8191
    eval $as_var=C; export $as_var
8192
  else
8193 1743 jeremybenn
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8194 1576 phoenix
  fi
8195
done
8196
 
8197
# Required to use basename.
8198 1743 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
8199
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8200 1576 phoenix
  as_expr=expr
8201
else
8202
  as_expr=false
8203
fi
8204
 
8205 1743 jeremybenn
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8206 1576 phoenix
  as_basename=basename
8207
else
8208
  as_basename=false
8209
fi
8210
 
8211
 
8212 1242 hpanther
# Name of the executable.
8213 1743 jeremybenn
as_me=`$as_basename -- "$0" ||
8214 1576 phoenix
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8215
         X"$0" : 'X\(//\)$' \| \
8216 1743 jeremybenn
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8217 1576 phoenix
echo X/"$0" |
8218 1743 jeremybenn
    sed '/^.*\/\([^/][^/]*\)\/*$/{
8219
            s//\1/
8220
            q
8221
          }
8222
          /^X\/\(\/\/\)$/{
8223
            s//\1/
8224
            q
8225
          }
8226
          /^X\/\(\/\).*/{
8227
            s//\1/
8228
            q
8229
          }
8230
          s/.*/./; q'`
8231 7 jrydberg
 
8232 1743 jeremybenn
# CDPATH.
8233
$as_unset CDPATH
8234 1576 phoenix
 
8235
 
8236
 
8237
  as_lineno_1=$LINENO
8238
  as_lineno_2=$LINENO
8239
  test "x$as_lineno_1" != "x$as_lineno_2" &&
8240 1743 jeremybenn
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8241 1576 phoenix
 
8242
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8243
  # uniformly replaced by the line number.  The first 'sed' inserts a
8244 1743 jeremybenn
  # line-number line after each line using $LINENO; the second 'sed'
8245
  # does the real work.  The second script uses 'N' to pair each
8246
  # line-number line with the line containing $LINENO, and appends
8247
  # trailing '-' during substitution so that $LINENO is not a special
8248
  # case at line end.
8249 1576 phoenix
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8250 1743 jeremybenn
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
8251
  # E. McMahon (1931-1989) for sed's syntax.  :-)
8252
  sed -n '
8253
    p
8254
    /[$]LINENO/=
8255
  ' <$as_myself |
8256 1576 phoenix
    sed '
8257 1743 jeremybenn
      s/[$]LINENO.*/&-/
8258
      t lineno
8259
      b
8260
      :lineno
8261 1576 phoenix
      N
8262 1743 jeremybenn
      :loop
8263
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8264 1576 phoenix
      t loop
8265 1743 jeremybenn
      s/-\n.*//
8266 1576 phoenix
    ' >$as_me.lineno &&
8267 1743 jeremybenn
  chmod +x "$as_me.lineno" ||
8268
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8269 1576 phoenix
   { (exit 1); exit 1; }; }
8270
 
8271
  # Don't try to exec as it changes $[0], causing all sort of problems
8272
  # (the dirname of $[0] is not the place where we might find the
8273 1743 jeremybenn
  # original and so on.  Autoconf is especially sensitive to this).
8274
  . "./$as_me.lineno"
8275 1576 phoenix
  # Exit status is that of the last command.
8276
  exit
8277
}
8278
 
8279
 
8280 1743 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8281
  as_dirname=dirname
8282
else
8283
  as_dirname=false
8284
fi
8285
 
8286
ECHO_C= ECHO_N= ECHO_T=
8287
case `echo -n x` in
8288
-n*)
8289
  case `echo 'x\c'` in
8290
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8291
  *)   ECHO_C='\c';;
8292
  esac;;
8293
*)
8294
  ECHO_N='-n';;
8295 1576 phoenix
esac
8296
 
8297 1743 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
8298
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8299 1242 hpanther
  as_expr=expr
8300
else
8301
  as_expr=false
8302
fi
8303
 
8304
rm -f conf$$ conf$$.exe conf$$.file
8305 1743 jeremybenn
if test -d conf$$.dir; then
8306
  rm -f conf$$.dir/conf$$.file
8307
else
8308
  rm -f conf$$.dir
8309
  mkdir conf$$.dir
8310
fi
8311 1242 hpanther
echo >conf$$.file
8312
if ln -s conf$$.file conf$$ 2>/dev/null; then
8313 1743 jeremybenn
  as_ln_s='ln -s'
8314
  # ... but there are two gotchas:
8315
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8316
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8317
  # In both cases, we have to default to `cp -p'.
8318
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8319 1242 hpanther
    as_ln_s='cp -p'
8320
elif ln conf$$.file conf$$ 2>/dev/null; then
8321
  as_ln_s=ln
8322
else
8323
  as_ln_s='cp -p'
8324
fi
8325 1743 jeremybenn
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8326
rmdir conf$$.dir 2>/dev/null
8327 1242 hpanther
 
8328 1576 phoenix
if mkdir -p . 2>/dev/null; then
8329
  as_mkdir_p=:
8330 1242 hpanther
else
8331 1576 phoenix
  test -d ./-p && rmdir ./-p
8332
  as_mkdir_p=false
8333 1242 hpanther
fi
8334
 
8335 1743 jeremybenn
if test -x / >/dev/null 2>&1; then
8336
  as_test_x='test -x'
8337
else
8338
  if ls -dL / >/dev/null 2>&1; then
8339
    as_ls_L_option=L
8340
  else
8341
    as_ls_L_option=
8342
  fi
8343
  as_test_x='
8344
    eval sh -c '\''
8345
      if test -d "$1"; then
8346
        test -d "$1/.";
8347
      else
8348
        case $1 in
8349
        -*)set "./$1";;
8350
        esac;
8351
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8352
        ???[sx]*):;;*)false;;esac;fi
8353
    '\'' sh
8354
  '
8355
fi
8356
as_executable_p=$as_test_x
8357 1242 hpanther
 
8358 1576 phoenix
# Sed expression to map a string onto a valid CPP name.
8359
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8360
 
8361
# Sed expression to map a string onto a valid variable name.
8362
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8363
 
8364
 
8365 1242 hpanther
exec 6>&1
8366
 
8367 1743 jeremybenn
# Save the log message, to keep $[0] and so on meaningful, and to
8368 1576 phoenix
# report actual input values of CONFIG_FILES etc. instead of their
8369 1743 jeremybenn
# values after options handling.
8370
ac_log="
8371 1576 phoenix
This file was extended by $as_me, which was
8372 1743 jeremybenn
generated by GNU Autoconf 2.61.  Invocation command line was
8373 1576 phoenix
 
8374
  CONFIG_FILES    = $CONFIG_FILES
8375
  CONFIG_HEADERS  = $CONFIG_HEADERS
8376
  CONFIG_LINKS    = $CONFIG_LINKS
8377
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8378
  $ $0 $@
8379
 
8380 1743 jeremybenn
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8381
"
8382
 
8383 1242 hpanther
_ACEOF
8384
 
8385 1743 jeremybenn
cat >>$CONFIG_STATUS <<_ACEOF
8386 1242 hpanther
# Files that config.status was made for.
8387 1743 jeremybenn
config_files="$ac_config_files"
8388
config_headers="$ac_config_headers"
8389
config_commands="$ac_config_commands"
8390 1242 hpanther
 
8391 1743 jeremybenn
_ACEOF
8392 1242 hpanther
 
8393 1576 phoenix
cat >>$CONFIG_STATUS <<\_ACEOF
8394 1242 hpanther
ac_cs_usage="\
8395
\`$as_me' instantiates files from templates according to the
8396
current configuration.
8397
 
8398
Usage: $0 [OPTIONS] [FILE]...
8399
 
8400
  -h, --help       print this help, then exit
8401 1743 jeremybenn
  -V, --version    print version number and configuration settings, then exit
8402 1576 phoenix
  -q, --quiet      do not print progress messages
8403 1242 hpanther
  -d, --debug      don't remove temporary files
8404
      --recheck    update $as_me by reconfiguring in the same conditions
8405
  --file=FILE[:TEMPLATE]
8406 1576 phoenix
                   instantiate the configuration file FILE
8407 1242 hpanther
  --header=FILE[:TEMPLATE]
8408 1576 phoenix
                   instantiate the configuration header FILE
8409 1242 hpanther
 
8410
Configuration files:
8411
$config_files
8412
 
8413
Configuration headers:
8414
$config_headers
8415
 
8416
Configuration commands:
8417
$config_commands
8418
 
8419
Report bugs to ."
8420 1743 jeremybenn
 
8421 1576 phoenix
_ACEOF
8422
cat >>$CONFIG_STATUS <<_ACEOF
8423 1242 hpanther
ac_cs_version="\\
8424
config.status
8425 1743 jeremybenn
configured by $0, generated by GNU Autoconf 2.61,
8426
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8427 1242 hpanther
 
8428 1743 jeremybenn
Copyright (C) 2006 Free Software Foundation, Inc.
8429 1242 hpanther
This config.status script is free software; the Free Software Foundation
8430
gives unlimited permission to copy, distribute and modify it."
8431 1743 jeremybenn
 
8432
ac_pwd='$ac_pwd'
8433
srcdir='$srcdir'
8434
INSTALL='$INSTALL'
8435
MKDIR_P='$MKDIR_P'
8436 1576 phoenix
_ACEOF
8437 1242 hpanther
 
8438 1576 phoenix
cat >>$CONFIG_STATUS <<\_ACEOF
8439 1242 hpanther
# If no file are specified by the user, then we need to provide default
8440
# value.  By we need to know if files were specified by the user.
8441
ac_need_defaults=:
8442
while test $# != 0
8443
do
8444
  case $1 in
8445
  --*=*)
8446 1743 jeremybenn
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8447
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8448 1576 phoenix
    ac_shift=:
8449 1242 hpanther
    ;;
8450 1743 jeremybenn
  *)
8451 1576 phoenix
    ac_option=$1
8452
    ac_optarg=$2
8453
    ac_shift=shift
8454
    ;;
8455 1242 hpanther
  esac
8456
 
8457 1576 phoenix
  case $ac_option in
8458 1242 hpanther
  # Handling of the options.
8459
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8460 1576 phoenix
    ac_cs_recheck=: ;;
8461 1743 jeremybenn
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8462
    echo "$ac_cs_version"; exit ;;
8463
  --debug | --debu | --deb | --de | --d | -d )
8464 1242 hpanther
    debug=: ;;
8465
  --file | --fil | --fi | --f )
8466 1576 phoenix
    $ac_shift
8467
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8468 1242 hpanther
    ac_need_defaults=false;;
8469
  --header | --heade | --head | --hea )
8470 1576 phoenix
    $ac_shift
8471
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8472 1242 hpanther
    ac_need_defaults=false;;
8473 1743 jeremybenn
  --he | --h)
8474
    # Conflict between --help and --header
8475
    { echo "$as_me: error: ambiguous option: $1
8476
Try \`$0 --help' for more information." >&2
8477
   { (exit 1); exit 1; }; };;
8478
  --help | --hel | -h )
8479
    echo "$ac_cs_usage"; exit ;;
8480 1576 phoenix
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8481
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8482
    ac_cs_silent=: ;;
8483 1242 hpanther
 
8484
  # This is an error.
8485 1743 jeremybenn
  -*) { echo "$as_me: error: unrecognized option: $1
8486
Try \`$0 --help' for more information." >&2
8487 1242 hpanther
   { (exit 1); exit 1; }; } ;;
8488
 
8489 1743 jeremybenn
  *) ac_config_targets="$ac_config_targets $1"
8490
     ac_need_defaults=false ;;
8491 1242 hpanther
 
8492
  esac
8493
  shift
8494 7 jrydberg
done
8495 1242 hpanther
 
8496 1576 phoenix
ac_configure_extra_args=
8497 1242 hpanther
 
8498 1576 phoenix
if $ac_cs_silent; then
8499
  exec 6>/dev/null
8500
  ac_configure_extra_args="$ac_configure_extra_args --silent"
8501
fi
8502 7 jrydberg
 
8503 1576 phoenix
_ACEOF
8504
cat >>$CONFIG_STATUS <<_ACEOF
8505
if \$ac_cs_recheck; then
8506 1743 jeremybenn
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8507
  CONFIG_SHELL=$SHELL
8508
  export CONFIG_SHELL
8509
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8510 1576 phoenix
fi
8511 7 jrydberg
 
8512 1242 hpanther
_ACEOF
8513 1743 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF
8514
exec 5>>config.log
8515
{
8516
  echo
8517
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8518
## Running $as_me. ##
8519
_ASBOX
8520
  echo "$ac_log"
8521
} >&5
8522 1242 hpanther
 
8523 1743 jeremybenn
_ACEOF
8524 1576 phoenix
cat >>$CONFIG_STATUS <<_ACEOF
8525 1242 hpanther
#
8526 1743 jeremybenn
# INIT-COMMANDS
8527 1242 hpanther
#
8528
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8529
 
8530
 
8531 1576 phoenix
_ACEOF
8532
 
8533 1743 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF
8534 1576 phoenix
 
8535 1743 jeremybenn
# Handling of arguments.
8536 1242 hpanther
for ac_config_target in $ac_config_targets
8537
do
8538 1743 jeremybenn
  case $ac_config_target in
8539
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8540
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8541
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8542
    "bpb/Makefile") CONFIG_FILES="$CONFIG_FILES bpb/Makefile" ;;
8543
    "cache/Makefile") CONFIG_FILES="$CONFIG_FILES cache/Makefile" ;;
8544
    "cpu/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/Makefile" ;;
8545
    "cpu/common/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/common/Makefile" ;;
8546
    "cpu/or32/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or32/Makefile" ;;
8547
    "cuc/Makefile") CONFIG_FILES="$CONFIG_FILES cuc/Makefile" ;;
8548
    "cpu/or1k/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/or1k/Makefile" ;;
8549
    "cpu/dlx/Makefile") CONFIG_FILES="$CONFIG_FILES cpu/dlx/Makefile" ;;
8550
    "debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile" ;;
8551
    "support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
8552
    "mmu/Makefile") CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
8553
    "peripheral/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/Makefile" ;;
8554
    "tick/Makefile") CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
8555
    "peripheral/channels/Makefile") CONFIG_FILES="$CONFIG_FILES peripheral/channels/Makefile" ;;
8556
    "pm/Makefile") CONFIG_FILES="$CONFIG_FILES pm/Makefile" ;;
8557
    "pic/Makefile") CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
8558
    "vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
8559
    "port/Makefile") CONFIG_FILES="$CONFIG_FILES port/Makefile" ;;
8560
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
8561
 
8562 1576 phoenix
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8563 1242 hpanther
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8564
   { (exit 1); exit 1; }; };;
8565 7 jrydberg
  esac
8566 1242 hpanther
done
8567 7 jrydberg
 
8568 1743 jeremybenn
 
8569 1242 hpanther
# If the user did not use the arguments to specify the items to instantiate,
8570
# then the envvar interface is used.  Set only those that are not.
8571
# We use the long form for the default assignment because of an extremely
8572
# bizarre bug on SunOS 4.1.3.
8573
if $ac_need_defaults; then
8574
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8575
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8576
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8577
fi
8578 7 jrydberg
 
8579 1576 phoenix
# Have a temporary directory for convenience.  Make it in the build tree
8580 1743 jeremybenn
# simply because there is no reason against having it here, and in addition,
8581 1576 phoenix
# creating and moving files from /tmp can sometimes cause problems.
8582 1743 jeremybenn
# Hook for its removal unless debugging.
8583
# Note that there is a small window in which the directory will not be cleaned:
8584
# after its creation but before its name has been assigned to `$tmp'.
8585 1242 hpanther
$debug ||
8586
{
8587 1743 jeremybenn
  tmp=
8588
  trap 'exit_status=$?
8589
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8590
' 0
8591 1242 hpanther
  trap '{ (exit 1); exit 1; }' 1 2 13 15
8592
}
8593
# Create a (secure) tmp directory for tmp files.
8594 1576 phoenix
 
8595 1242 hpanther
{
8596 1743 jeremybenn
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8597 1242 hpanther
  test -n "$tmp" && test -d "$tmp"
8598
}  ||
8599
{
8600 1743 jeremybenn
  tmp=./conf$$-$RANDOM
8601
  (umask 077 && mkdir "$tmp")
8602 1242 hpanther
} ||
8603
{
8604 1576 phoenix
   echo "$me: cannot create a temporary directory in ." >&2
8605 1242 hpanther
   { (exit 1); exit 1; }
8606
}
8607
 
8608
#
8609 1743 jeremybenn
# Set up the sed scripts for CONFIG_FILES section.
8610 1242 hpanther
#
8611
 
8612
# No need to generate the scripts if there are no CONFIG_FILES.
8613
# This happens for instance when ./config.status config.h
8614 1743 jeremybenn
if test -n "$CONFIG_FILES"; then
8615 1242 hpanther
 
8616 1576 phoenix
_ACEOF
8617 1242 hpanther
 
8618 1743 jeremybenn
 
8619
 
8620
ac_delim='%!_!# '
8621
for ac_last_try in false false false false false :; do
8622
  cat >conf$$subs.sed <<_ACEOF
8623
SHELL!$SHELL$ac_delim
8624
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8625
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8626
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8627
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8628
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8629
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8630
exec_prefix!$exec_prefix$ac_delim
8631
prefix!$prefix$ac_delim
8632
program_transform_name!$program_transform_name$ac_delim
8633
bindir!$bindir$ac_delim
8634
sbindir!$sbindir$ac_delim
8635
libexecdir!$libexecdir$ac_delim
8636
datarootdir!$datarootdir$ac_delim
8637
datadir!$datadir$ac_delim
8638
sysconfdir!$sysconfdir$ac_delim
8639
sharedstatedir!$sharedstatedir$ac_delim
8640
localstatedir!$localstatedir$ac_delim
8641
includedir!$includedir$ac_delim
8642
oldincludedir!$oldincludedir$ac_delim
8643
docdir!$docdir$ac_delim
8644
infodir!$infodir$ac_delim
8645
htmldir!$htmldir$ac_delim
8646
dvidir!$dvidir$ac_delim
8647
pdfdir!$pdfdir$ac_delim
8648
psdir!$psdir$ac_delim
8649
libdir!$libdir$ac_delim
8650
localedir!$localedir$ac_delim
8651
mandir!$mandir$ac_delim
8652
DEFS!$DEFS$ac_delim
8653
ECHO_C!$ECHO_C$ac_delim
8654
ECHO_N!$ECHO_N$ac_delim
8655
ECHO_T!$ECHO_T$ac_delim
8656
LIBS!$LIBS$ac_delim
8657
build_alias!$build_alias$ac_delim
8658
host_alias!$host_alias$ac_delim
8659
target_alias!$target_alias$ac_delim
8660
build!$build$ac_delim
8661
build_cpu!$build_cpu$ac_delim
8662
build_vendor!$build_vendor$ac_delim
8663
build_os!$build_os$ac_delim
8664
host!$host$ac_delim
8665
host_cpu!$host_cpu$ac_delim
8666
host_vendor!$host_vendor$ac_delim
8667
host_os!$host_os$ac_delim
8668
target!$target$ac_delim
8669
target_cpu!$target_cpu$ac_delim
8670
target_vendor!$target_vendor$ac_delim
8671
target_os!$target_os$ac_delim
8672
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8673
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8674
INSTALL_DATA!$INSTALL_DATA$ac_delim
8675
am__isrc!$am__isrc$ac_delim
8676
CYGPATH_W!$CYGPATH_W$ac_delim
8677
PACKAGE!$PACKAGE$ac_delim
8678
VERSION!$VERSION$ac_delim
8679
ACLOCAL!$ACLOCAL$ac_delim
8680
AUTOCONF!$AUTOCONF$ac_delim
8681
AUTOMAKE!$AUTOMAKE$ac_delim
8682
AUTOHEADER!$AUTOHEADER$ac_delim
8683
MAKEINFO!$MAKEINFO$ac_delim
8684
install_sh!$install_sh$ac_delim
8685
STRIP!$STRIP$ac_delim
8686
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8687
mkdir_p!$mkdir_p$ac_delim
8688
AWK!$AWK$ac_delim
8689
SET_MAKE!$SET_MAKE$ac_delim
8690
am__leading_dot!$am__leading_dot$ac_delim
8691
AMTAR!$AMTAR$ac_delim
8692
am__tar!$am__tar$ac_delim
8693
am__untar!$am__untar$ac_delim
8694
CPU_ARCH!$CPU_ARCH$ac_delim
8695
CC!$CC$ac_delim
8696
CFLAGS!$CFLAGS$ac_delim
8697
LDFLAGS!$LDFLAGS$ac_delim
8698
CPPFLAGS!$CPPFLAGS$ac_delim
8699
ac_ct_CC!$ac_ct_CC$ac_delim
8700
EXEEXT!$EXEEXT$ac_delim
8701
OBJEXT!$OBJEXT$ac_delim
8702
DEPDIR!$DEPDIR$ac_delim
8703
am__include!$am__include$ac_delim
8704
am__quote!$am__quote$ac_delim
8705
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8706
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8707
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8708
CCDEPMODE!$CCDEPMODE$ac_delim
8709
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8710
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8711
CPP!$CPP$ac_delim
8712
GREP!$GREP$ac_delim
8713
EGREP!$EGREP$ac_delim
8714
AR!$AR$ac_delim
8715
RANLIB!$RANLIB$ac_delim
8716
MAKE_SHELL!$MAKE_SHELL$ac_delim
8717
GENERATE_NEEDED_TRUE!$GENERATE_NEEDED_TRUE$ac_delim
8718
GENERATE_NEEDED_FALSE!$GENERATE_NEEDED_FALSE$ac_delim
8719
DYNAMIC_EXECUTION_TRUE!$DYNAMIC_EXECUTION_TRUE$ac_delim
8720
_ACEOF
8721
 
8722
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8723
    break
8724
  elif $ac_last_try; then
8725
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8726
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8727
   { (exit 1); exit 1; }; }
8728
  else
8729
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8730 7 jrydberg
  fi
8731 1743 jeremybenn
done
8732 7 jrydberg
 
8733 1743 jeremybenn
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8734
if test -n "$ac_eof"; then
8735
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8736
  ac_eof=`expr $ac_eof + 1`
8737
fi
8738
 
8739
cat >>$CONFIG_STATUS <<_ACEOF
8740
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8741
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8742 1576 phoenix
_ACEOF
8743 1743 jeremybenn
sed '
8744
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8745
s/^/s,@/; s/!/@,|#_!!_#|/
8746
:n
8747
t n
8748
s/'"$ac_delim"'$/,g/; t
8749
s/$/\\/; p
8750
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8751
' >>$CONFIG_STATUS 
8752
rm -f conf$$subs.sed
8753
cat >>$CONFIG_STATUS <<_ACEOF
8754
CEOF$ac_eof
8755
_ACEOF
8756
 
8757
 
8758
ac_delim='%!_!# '
8759
for ac_last_try in false false false false false :; do
8760
  cat >conf$$subs.sed <<_ACEOF
8761
DYNAMIC_EXECUTION_FALSE!$DYNAMIC_EXECUTION_FALSE$ac_delim
8762
BUILD_DIR!$BUILD_DIR$ac_delim
8763
LOCAL_CFLAGS!$LOCAL_CFLAGS$ac_delim
8764
LOCAL_LDFLAGS!$LOCAL_LDFLAGS$ac_delim
8765
LOCAL_DEFS!$LOCAL_DEFS$ac_delim
8766
ARFLAGS!$ARFLAGS$ac_delim
8767
SUMVERSION!$SUMVERSION$ac_delim
8768
TERMCAP_LIB!$TERMCAP_LIB$ac_delim
8769
INCLUDES!$INCLUDES$ac_delim
8770
LIBOBJS!$LIBOBJS$ac_delim
8771
LTLIBOBJS!$LTLIBOBJS$ac_delim
8772
_ACEOF
8773
 
8774
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
8775
    break
8776
  elif $ac_last_try; then
8777
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8778
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8779
   { (exit 1); exit 1; }; }
8780
  else
8781
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8782
  fi
8783
done
8784
 
8785
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8786
if test -n "$ac_eof"; then
8787
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8788
  ac_eof=`expr $ac_eof + 1`
8789
fi
8790
 
8791
cat >>$CONFIG_STATUS <<_ACEOF
8792
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8793
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8794
_ACEOF
8795
sed '
8796
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8797
s/^/s,@/; s/!/@,|#_!!_#|/
8798
:n
8799
t n
8800
s/'"$ac_delim"'$/,g/; t
8801
s/$/\\/; p
8802
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8803
' >>$CONFIG_STATUS 
8804
rm -f conf$$subs.sed
8805
cat >>$CONFIG_STATUS <<_ACEOF
8806
:end
8807
s/|#_!!_#|//g
8808
CEOF$ac_eof
8809
_ACEOF
8810
 
8811
 
8812
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8813
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8814
# trailing colons and then remove the whole line if VPATH becomes empty
8815
# (actually we leave an empty line to preserve line numbers).
8816
if test "x$srcdir" = x.; then
8817
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8818
s/:*\$(srcdir):*/:/
8819
s/:*\${srcdir}:*/:/
8820
s/:*@srcdir@:*/:/
8821
s/^\([^=]*=[     ]*\):*/\1/
8822
s/:*$//
8823
s/^[^=]*=[       ]*$//
8824
}'
8825
fi
8826
 
8827 1576 phoenix
cat >>$CONFIG_STATUS <<\_ACEOF
8828 1743 jeremybenn
fi # test -n "$CONFIG_FILES"
8829
 
8830
 
8831
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
8832
do
8833
  case $ac_tag in
8834
  :[FHLC]) ac_mode=$ac_tag; continue;;
8835 7 jrydberg
  esac
8836 1743 jeremybenn
  case $ac_mode$ac_tag in
8837
  :[FHL]*:*);;
8838
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8839
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8840
   { (exit 1); exit 1; }; };;
8841
  :[FH]-) ac_tag=-:-;;
8842
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8843
  esac
8844
  ac_save_IFS=$IFS
8845
  IFS=:
8846
  set x $ac_tag
8847
  IFS=$ac_save_IFS
8848
  shift
8849
  ac_file=$1
8850
  shift
8851 7 jrydberg
 
8852 1743 jeremybenn
  case $ac_mode in
8853
  :L) ac_source=$1;;
8854
  :[FH])
8855
    ac_file_inputs=
8856
    for ac_f
8857
    do
8858
      case $ac_f in
8859
      -) ac_f="$tmp/stdin";;
8860
      *) # Look for the file first in the build tree, then in the source tree
8861
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
8862
         # because $ac_f cannot contain `:'.
8863
         test -f "$ac_f" ||
8864
           case $ac_f in
8865
           [\\/$]*) false;;
8866
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8867
           esac ||
8868
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8869
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8870
   { (exit 1); exit 1; }; };;
8871
      esac
8872
      ac_file_inputs="$ac_file_inputs $ac_f"
8873
    done
8874
 
8875
    # Let's still pretend it is `configure' which instantiates (i.e., don't
8876
    # use $as_me), people would be surprised to read:
8877
    #    /* config.h.  Generated by config.status.  */
8878
    configure_input="Generated from "`IFS=:
8879
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8880
    if test x"$ac_file" != x-; then
8881
      configure_input="$ac_file.  $configure_input"
8882
      { echo "$as_me:$LINENO: creating $ac_file" >&5
8883
echo "$as_me: creating $ac_file" >&6;}
8884
    fi
8885
 
8886
    case $ac_tag in
8887
    *:-:* | *:-) cat >"$tmp/stdin";;
8888
    esac
8889
    ;;
8890
  esac
8891
 
8892
  ac_dir=`$as_dirname -- "$ac_file" ||
8893 1576 phoenix
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8894
         X"$ac_file" : 'X\(//\)[^/]' \| \
8895
         X"$ac_file" : 'X\(//\)$' \| \
8896 1743 jeremybenn
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8897 1242 hpanther
echo X"$ac_file" |
8898 1743 jeremybenn
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8899
            s//\1/
8900
            q
8901
          }
8902
          /^X\(\/\/\)[^/].*/{
8903
            s//\1/
8904
            q
8905
          }
8906
          /^X\(\/\/\)$/{
8907
            s//\1/
8908
            q
8909
          }
8910
          /^X\(\/\).*/{
8911
            s//\1/
8912
            q
8913
          }
8914
          s/.*/./; q'`
8915
  { as_dir="$ac_dir"
8916
  case $as_dir in #(
8917
  -*) as_dir=./$as_dir;;
8918
  esac
8919
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8920 1576 phoenix
    as_dirs=
8921 1743 jeremybenn
    while :; do
8922
      case $as_dir in #(
8923
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8924
      *) as_qdir=$as_dir;;
8925
      esac
8926
      as_dirs="'$as_qdir' $as_dirs"
8927
      as_dir=`$as_dirname -- "$as_dir" ||
8928 1576 phoenix
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8929
         X"$as_dir" : 'X\(//\)[^/]' \| \
8930
         X"$as_dir" : 'X\(//\)$' \| \
8931 1743 jeremybenn
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8932 1576 phoenix
echo X"$as_dir" |
8933 1743 jeremybenn
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8934
            s//\1/
8935
            q
8936
          }
8937
          /^X\(\/\/\)[^/].*/{
8938
            s//\1/
8939
            q
8940
          }
8941
          /^X\(\/\/\)$/{
8942
            s//\1/
8943
            q
8944
          }
8945
          /^X\(\/\).*/{
8946
            s//\1/
8947
            q
8948
          }
8949
          s/.*/./; q'`
8950
      test -d "$as_dir" && break
8951 1576 phoenix
    done
8952 1743 jeremybenn
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8953
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8954
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8955 1576 phoenix
   { (exit 1); exit 1; }; }; }
8956
  ac_builddir=.
8957
 
8958 1743 jeremybenn
case "$ac_dir" in
8959
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8960
*)
8961 1576 phoenix
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8962 1743 jeremybenn
  # A ".." for each directory in $ac_dir_suffix.
8963
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8964
  case $ac_top_builddir_sub in
8965
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8966
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8967
  esac ;;
8968
esac
8969
ac_abs_top_builddir=$ac_pwd
8970
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8971
# for backward compatibility:
8972
ac_top_builddir=$ac_top_build_prefix
8973 1576 phoenix
 
8974
case $srcdir in
8975 1743 jeremybenn
  .)  # We are building in place.
8976 1576 phoenix
    ac_srcdir=.
8977 1743 jeremybenn
    ac_top_srcdir=$ac_top_builddir_sub
8978
    ac_abs_top_srcdir=$ac_pwd ;;
8979
  [\\/]* | ?:[\\/]* )  # Absolute name.
8980 1576 phoenix
    ac_srcdir=$srcdir$ac_dir_suffix;
8981 1743 jeremybenn
    ac_top_srcdir=$srcdir
8982
    ac_abs_top_srcdir=$srcdir ;;
8983
  *) # Relative name.
8984
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8985
    ac_top_srcdir=$ac_top_build_prefix$srcdir
8986
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8987 1576 phoenix
esac
8988 1743 jeremybenn
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8989 1242 hpanther
 
8990 1576 phoenix
 
8991 1743 jeremybenn
  case $ac_mode in
8992
  :F)
8993
  #
8994
  # CONFIG_FILE
8995
  #
8996 1576 phoenix
 
8997 1242 hpanther
  case $INSTALL in
8998
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8999 1743 jeremybenn
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9000 7 jrydberg
  esac
9001 1743 jeremybenn
  ac_MKDIR_P=$MKDIR_P
9002
  case $MKDIR_P in
9003
  [\\/$]* | ?:[\\/]* ) ;;
9004
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9005
  esac
9006
_ACEOF
9007 7 jrydberg
 
9008 1743 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF
9009
# If the template does not know about datarootdir, expand it.
9010
# FIXME: This hack should be removed a few years after 2.60.
9011
ac_datarootdir_hack=; ac_datarootdir_seen=
9012 7 jrydberg
 
9013 1743 jeremybenn
case `sed -n '/datarootdir/ {
9014
  p
9015
  q
9016
}
9017
/@datadir@/p
9018
/@docdir@/p
9019
/@infodir@/p
9020
/@localedir@/p
9021
/@mandir@/p
9022
' $ac_file_inputs` in
9023
*datarootdir*) ac_datarootdir_seen=yes;;
9024
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9025
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9026
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9027 1576 phoenix
_ACEOF
9028
cat >>$CONFIG_STATUS <<_ACEOF
9029 1743 jeremybenn
  ac_datarootdir_hack='
9030
  s&@datadir@&$datadir&g
9031
  s&@docdir@&$docdir&g
9032
  s&@infodir@&$infodir&g
9033
  s&@localedir@&$localedir&g
9034
  s&@mandir@&$mandir&g
9035
    s&\\\${datarootdir}&$datarootdir&g' ;;
9036
esac
9037
_ACEOF
9038
 
9039
# Neutralize VPATH when `$srcdir' = `.'.
9040
# Shell code in configure.ac might set extrasub.
9041
# FIXME: do we really want to maintain this feature?
9042
cat >>$CONFIG_STATUS <<_ACEOF
9043 1242 hpanther
  sed "$ac_vpsub
9044
$extrasub
9045 1576 phoenix
_ACEOF
9046
cat >>$CONFIG_STATUS <<\_ACEOF
9047 1242 hpanther
:t
9048
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9049 1743 jeremybenn
s&@configure_input@&$configure_input&;t t
9050
s&@top_builddir@&$ac_top_builddir_sub&;t t
9051
s&@srcdir@&$ac_srcdir&;t t
9052
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9053
s&@top_srcdir@&$ac_top_srcdir&;t t
9054
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9055
s&@builddir@&$ac_builddir&;t t
9056
s&@abs_builddir@&$ac_abs_builddir&;t t
9057
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9058
s&@INSTALL@&$ac_INSTALL&;t t
9059
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9060
$ac_datarootdir_hack
9061
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
9062 1242 hpanther
 
9063 1743 jeremybenn
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9064
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9065
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9066
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9067
which seems to be undefined.  Please make sure it is defined." >&5
9068
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9069
which seems to be undefined.  Please make sure it is defined." >&2;}
9070 1242 hpanther
 
9071 1743 jeremybenn
  rm -f "$tmp/stdin"
9072 1242 hpanther
  case $ac_file in
9073 1743 jeremybenn
  -) cat "$tmp/out"; rm -f "$tmp/out";;
9074
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9075 7 jrydberg
  esac
9076 1743 jeremybenn
 ;;
9077
  :H)
9078
  #
9079
  # CONFIG_HEADER
9080
  #
9081
_ACEOF
9082 7 jrydberg
 
9083 1743 jeremybenn
# Transform confdefs.h into a sed script `conftest.defines', that
9084
# substitutes the proper values into config.h.in to produce config.h.
9085
rm -f conftest.defines conftest.tail
9086
# First, append a space to every undef/define line, to ease matching.
9087
echo 's/$/ /' >conftest.defines
9088
# Then, protect against being on the right side of a sed subst, or in
9089
# an unquoted here document, in config.status.  If some macros were
9090
# called several times there might be several #defines for the same
9091
# symbol, which is useless.  But do not sort them, since the last
9092
# AC_DEFINE must be honored.
9093
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9094
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9095
# NAME is the cpp macro being defined, VALUE is the value it is being given.
9096
# PARAMS is the parameter list in the macro definition--in most cases, it's
9097
# just an empty string.
9098
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
9099
ac_dB='\\)[      (].*,\\1define\\2'
9100
ac_dC=' '
9101
ac_dD=' ,'
9102 7 jrydberg
 
9103 1743 jeremybenn
uniq confdefs.h |
9104
  sed -n '
9105
        t rset
9106
        :rset
9107
        s/^[     ]*#[    ]*define[       ][      ]*//
9108
        t ok
9109
        d
9110
        :ok
9111
        s/[\\&,]/\\&/g
9112
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9113
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9114
  ' >>conftest.defines
9115 7 jrydberg
 
9116 1743 jeremybenn
# Remove the space that was appended to ease matching.
9117
# Then replace #undef with comments.  This is necessary, for
9118 7 jrydberg
# example, in the case of _POSIX_SOURCE, which is predefined and required
9119
# on some systems where configure will not decide to define it.
9120 1743 jeremybenn
# (The regexp can be short, since the line contains either #define or #undef.)
9121
echo 's/ $//
9122
s,^[     #]*u.*,/* & */,' >>conftest.defines
9123 7 jrydberg
 
9124 1743 jeremybenn
# Break up conftest.defines:
9125
ac_max_sed_lines=50
9126
 
9127
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9128
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9129
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9130
# et cetera.
9131
ac_in='$ac_file_inputs'
9132
ac_out='"$tmp/out1"'
9133
ac_nxt='"$tmp/out2"'
9134
 
9135
while :
9136 1242 hpanther
do
9137 1743 jeremybenn
  # Write a here document:
9138
    cat >>$CONFIG_STATUS <<_ACEOF
9139
    # First, check the format of the line:
9140
    cat >"\$tmp/defines.sed" <<\\CEOF
9141
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
9142
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
9143
b
9144
:def
9145
_ACEOF
9146
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9147 1242 hpanther
  echo 'CEOF
9148 1743 jeremybenn
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9149
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9150
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9151
  grep . conftest.tail >/dev/null || break
9152 1242 hpanther
  rm -f conftest.defines
9153
  mv conftest.tail conftest.defines
9154
done
9155 1743 jeremybenn
rm -f conftest.defines conftest.tail
9156 7 jrydberg
 
9157 1743 jeremybenn
echo "ac_result=$ac_in" >>$CONFIG_STATUS
9158 1576 phoenix
cat >>$CONFIG_STATUS <<\_ACEOF
9159 1242 hpanther
  if test x"$ac_file" != x-; then
9160 1743 jeremybenn
    echo "/* $configure_input  */" >"$tmp/config.h"
9161
    cat "$ac_result" >>"$tmp/config.h"
9162
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9163 1576 phoenix
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9164 1242 hpanther
echo "$as_me: $ac_file is unchanged" >&6;}
9165
    else
9166
      rm -f $ac_file
9167 1743 jeremybenn
      mv "$tmp/config.h" $ac_file
9168 7 jrydberg
    fi
9169 1242 hpanther
  else
9170 1743 jeremybenn
    echo "/* $configure_input  */"
9171
    cat "$ac_result"
9172 7 jrydberg
  fi
9173 1743 jeremybenn
  rm -f "$tmp/out12"
9174 1576 phoenix
# Compute $ac_file's index in $config_headers.
9175 1743 jeremybenn
_am_arg=$ac_file
9176 1576 phoenix
_am_stamp_count=1
9177
for _am_header in $config_headers :; do
9178
  case $_am_header in
9179 1743 jeremybenn
    $_am_arg | $_am_arg:* )
9180 1576 phoenix
      break ;;
9181
    * )
9182
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9183 1242 hpanther
  esac
9184
done
9185 1743 jeremybenn
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9186
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9187
         X"$_am_arg" : 'X\(//\)[^/]' \| \
9188
         X"$_am_arg" : 'X\(//\)$' \| \
9189
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9190
echo X"$_am_arg" |
9191
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9192
            s//\1/
9193
            q
9194
          }
9195
          /^X\(\/\/\)[^/].*/{
9196
            s//\1/
9197
            q
9198
          }
9199
          /^X\(\/\/\)$/{
9200
            s//\1/
9201
            q
9202
          }
9203
          /^X\(\/\).*/{
9204
            s//\1/
9205
            q
9206
          }
9207
          s/.*/./; q'`/stamp-h$_am_stamp_count
9208
 ;;
9209 7 jrydberg
 
9210 1743 jeremybenn
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9211
echo "$as_me: executing $ac_file commands" >&6;}
9212
 ;;
9213
  esac
9214 7 jrydberg
 
9215 1576 phoenix
 
9216 1743 jeremybenn
  case $ac_file$ac_mode in
9217
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9218 1242 hpanther
  # Strip MF so we end up with the name of the file.
9219
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9220 1376 phoenix
  # Check whether this is an Automake generated Makefile or not.
9221
  # We used to match only the files named `Makefile.in', but
9222
  # some people rename them; so instead we look at the file content.
9223
  # Grep'ing the first line is not enough: some people post-process
9224
  # each Makefile.in and add a new line on top of each file to say so.
9225 1743 jeremybenn
  # Grep'ing the whole file is not good either: AIX grep has a line
9226
  # limit of 2048, but all sed's we know have understand at least 4000.
9227
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9228
    dirpart=`$as_dirname -- "$mf" ||
9229 1576 phoenix
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9230
         X"$mf" : 'X\(//\)[^/]' \| \
9231
         X"$mf" : 'X\(//\)$' \| \
9232 1743 jeremybenn
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9233 1242 hpanther
echo X"$mf" |
9234 1743 jeremybenn
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9235
            s//\1/
9236
            q
9237
          }
9238
          /^X\(\/\/\)[^/].*/{
9239
            s//\1/
9240
            q
9241
          }
9242
          /^X\(\/\/\)$/{
9243
            s//\1/
9244
            q
9245
          }
9246
          /^X\(\/\).*/{
9247
            s//\1/
9248
            q
9249
          }
9250
          s/.*/./; q'`
9251 1242 hpanther
  else
9252
    continue
9253
  fi
9254 1576 phoenix
  # Extract the definition of DEPDIR, am__include, and am__quote
9255
  # from the Makefile without running `make'.
9256
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9257 1242 hpanther
  test -z "$DEPDIR" && continue
9258 1576 phoenix
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9259
  test -z "am__include" && continue
9260
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9261 1242 hpanther
  # When using ansi2knr, U may be empty or an underscore; expand it
9262 1576 phoenix
  U=`sed -n 's/^U = //p' < "$mf"`
9263
  # Find all dependency output files, they are included files with
9264
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9265
  # simplest approach to changing $(DEPDIR) to its actual value in the
9266
  # expansion.
9267
  for file in `sed -n "
9268
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9269 1242 hpanther
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9270
    # Make sure the directory exists.
9271
    test -f "$dirpart/$file" && continue
9272 1743 jeremybenn
    fdir=`$as_dirname -- "$file" ||
9273 1576 phoenix
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9274
         X"$file" : 'X\(//\)[^/]' \| \
9275
         X"$file" : 'X\(//\)$' \| \
9276 1743 jeremybenn
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9277 1242 hpanther
echo X"$file" |
9278 1743 jeremybenn
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9279
            s//\1/
9280
            q
9281
          }
9282
          /^X\(\/\/\)[^/].*/{
9283
            s//\1/
9284
            q
9285
          }
9286
          /^X\(\/\/\)$/{
9287
            s//\1/
9288
            q
9289
          }
9290
          /^X\(\/\).*/{
9291
            s//\1/
9292
            q
9293
          }
9294
          s/.*/./; q'`
9295
    { as_dir=$dirpart/$fdir
9296
  case $as_dir in #(
9297
  -*) as_dir=./$as_dir;;
9298
  esac
9299
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9300 1576 phoenix
    as_dirs=
9301 1743 jeremybenn
    while :; do
9302
      case $as_dir in #(
9303
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9304
      *) as_qdir=$as_dir;;
9305
      esac
9306
      as_dirs="'$as_qdir' $as_dirs"
9307
      as_dir=`$as_dirname -- "$as_dir" ||
9308 1576 phoenix
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9309
         X"$as_dir" : 'X\(//\)[^/]' \| \
9310
         X"$as_dir" : 'X\(//\)$' \| \
9311 1743 jeremybenn
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9312 1576 phoenix
echo X"$as_dir" |
9313 1743 jeremybenn
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9314
            s//\1/
9315
            q
9316
          }
9317
          /^X\(\/\/\)[^/].*/{
9318
            s//\1/
9319
            q
9320
          }
9321
          /^X\(\/\/\)$/{
9322
            s//\1/
9323
            q
9324
          }
9325
          /^X\(\/\).*/{
9326
            s//\1/
9327
            q
9328
          }
9329
          s/.*/./; q'`
9330
      test -d "$as_dir" && break
9331 1576 phoenix
    done
9332 1743 jeremybenn
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9333
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9334
echo "$as_me: error: cannot create directory $as_dir" >&2;}
9335 1576 phoenix
   { (exit 1); exit 1; }; }; }
9336 1242 hpanther
    # echo "creating $dirpart/$file"
9337
    echo '# dummy' > "$dirpart/$file"
9338
  done
9339
done
9340
 ;;
9341 1743 jeremybenn
    "default":C)
9342 7 jrydberg
# Makefile uses this timestamp file to record whether config.h is up to date.
9343
echo > stamp-h
9344 1242 hpanther
 ;;
9345 1743 jeremybenn
 
9346 1242 hpanther
  esac
9347 1743 jeremybenn
done # for ac_tag
9348 7 jrydberg
 
9349 1242 hpanther
 
9350
{ (exit 0); exit 0; }
9351 1576 phoenix
_ACEOF
9352 7 jrydberg
chmod +x $CONFIG_STATUS
9353 1242 hpanther
ac_clean_files=$ac_clean_files_save
9354 7 jrydberg
 
9355 1576 phoenix
 
9356 1242 hpanther
# configure is writing to config.log, and then calls config.status.
9357
# config.status does its own redirection, appending to config.log.
9358
# Unfortunately, on DOS this fails, as config.log is still kept open
9359
# by configure, so config.status won't be able to write to it; its
9360
# output is simply discarded.  So we exec the FD to /dev/null,
9361
# effectively closing config.log, so it can be properly (re)opened and
9362
# appended to by config.status.  When coming back to configure, we
9363
# need to make the FD available again.
9364
if test "$no_create" != yes; then
9365
  ac_cs_success=:
9366 1576 phoenix
  ac_config_status_args=
9367
  test "$silent" = yes &&
9368
    ac_config_status_args="$ac_config_status_args --quiet"
9369 1242 hpanther
  exec 5>/dev/null
9370 1576 phoenix
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9371 1242 hpanther
  exec 5>>config.log
9372
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9373
  # would make configure fail if this is the last instruction.
9374
  $ac_cs_success || { (exit 1); exit 1; }
9375
fi
9376
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.