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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [common/] [configure] - Blame information for rev 840

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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