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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [configure] - Blame information for rev 307

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

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

powered by: WebSVN 2.1.0

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