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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [sim/] [configure] - Blame information for rev 26

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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