OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [sim/] [or32/] [configure] - Blame information for rev 223

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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