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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [sh/] [configure] - Blame information for rev 855

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

Line No. Rev Author Line
1 148 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for newlib 1.17.0.
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='newlib'
269
PACKAGE_TARNAME='newlib'
270
PACKAGE_VERSION='1.17.0'
271
PACKAGE_STRING='newlib 1.17.0'
272
PACKAGE_BUGREPORT=''
273
 
274
ac_unique_file="asm.h"
275
ac_no_link=no
276
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir CFLAGS CPPFLAGS ac_ct_CC EXEEXT CPP EGREP SH64_TRUE SH64_FALSE LIBOBJS LTLIBOBJS'
277
ac_subst_files=''
278
 
279
# Initialize some variables set by options.
280
ac_init_help=
281
ac_init_version=false
282
# The variables have the same names as the options, with
283
# dashes changed to underlines.
284
cache_file=/dev/null
285
exec_prefix=NONE
286
no_create=
287
no_recursion=
288
prefix=NONE
289
program_prefix=NONE
290
program_suffix=NONE
291
program_transform_name=s,x,x,
292
silent=
293
site=
294
srcdir=
295
verbose=
296
x_includes=NONE
297
x_libraries=NONE
298
 
299
# Installation directory options.
300
# These are left unexpanded so users can "make install exec_prefix=/foo"
301
# and all the variables that are supposed to be based on exec_prefix
302
# by default will actually change.
303
# Use braces instead of parens because sh, perl, etc. also accept them.
304
bindir='${exec_prefix}/bin'
305
sbindir='${exec_prefix}/sbin'
306
libexecdir='${exec_prefix}/libexec'
307
datadir='${prefix}/share'
308
sysconfdir='${prefix}/etc'
309
sharedstatedir='${prefix}/com'
310
localstatedir='${prefix}/var'
311
libdir='${exec_prefix}/lib'
312
includedir='${prefix}/include'
313
oldincludedir='/usr/include'
314
infodir='${prefix}/info'
315
mandir='${prefix}/man'
316
 
317
ac_prev=
318
for ac_option
319
do
320
  # If the previous option needs an argument, assign it.
321
  if test -n "$ac_prev"; then
322
    eval "$ac_prev=\$ac_option"
323
    ac_prev=
324
    continue
325
  fi
326
 
327
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
 
329
  # Accept the important Cygnus configure options, so we can diagnose typos.
330
 
331
  case $ac_option in
332
 
333
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334
    ac_prev=bindir ;;
335
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336
    bindir=$ac_optarg ;;
337
 
338
  -build | --build | --buil | --bui | --bu)
339
    ac_prev=build_alias ;;
340
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341
    build_alias=$ac_optarg ;;
342
 
343
  -cache-file | --cache-file | --cache-fil | --cache-fi \
344
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345
    ac_prev=cache_file ;;
346
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348
    cache_file=$ac_optarg ;;
349
 
350
  --config-cache | -C)
351
    cache_file=config.cache ;;
352
 
353
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354
    ac_prev=datadir ;;
355
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356
  | --da=*)
357
    datadir=$ac_optarg ;;
358
 
359
  -disable-* | --disable-*)
360
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361
    # Reject names that are not valid shell variable names.
362
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364
   { (exit 1); exit 1; }; }
365
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366
    eval "enable_$ac_feature=no" ;;
367
 
368
  -enable-* | --enable-*)
369
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370
    # Reject names that are not valid shell variable names.
371
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373
   { (exit 1); exit 1; }; }
374
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375
    case $ac_option in
376
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377
      *) ac_optarg=yes ;;
378
    esac
379
    eval "enable_$ac_feature='$ac_optarg'" ;;
380
 
381
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383
  | --exec | --exe | --ex)
384
    ac_prev=exec_prefix ;;
385
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387
  | --exec=* | --exe=* | --ex=*)
388
    exec_prefix=$ac_optarg ;;
389
 
390
  -gas | --gas | --ga | --g)
391
    # Obsolete; use --with-gas.
392
    with_gas=yes ;;
393
 
394
  -help | --help | --hel | --he | -h)
395
    ac_init_help=long ;;
396
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397
    ac_init_help=recursive ;;
398
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399
    ac_init_help=short ;;
400
 
401
  -host | --host | --hos | --ho)
402
    ac_prev=host_alias ;;
403
  -host=* | --host=* | --hos=* | --ho=*)
404
    host_alias=$ac_optarg ;;
405
 
406
  -includedir | --includedir | --includedi | --included | --include \
407
  | --includ | --inclu | --incl | --inc)
408
    ac_prev=includedir ;;
409
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410
  | --includ=* | --inclu=* | --incl=* | --inc=*)
411
    includedir=$ac_optarg ;;
412
 
413
  -infodir | --infodir | --infodi | --infod | --info | --inf)
414
    ac_prev=infodir ;;
415
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416
    infodir=$ac_optarg ;;
417
 
418
  -libdir | --libdir | --libdi | --libd)
419
    ac_prev=libdir ;;
420
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421
    libdir=$ac_optarg ;;
422
 
423
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424
  | --libexe | --libex | --libe)
425
    ac_prev=libexecdir ;;
426
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427
  | --libexe=* | --libex=* | --libe=*)
428
    libexecdir=$ac_optarg ;;
429
 
430
  -localstatedir | --localstatedir | --localstatedi | --localstated \
431
  | --localstate | --localstat | --localsta | --localst \
432
  | --locals | --local | --loca | --loc | --lo)
433
    ac_prev=localstatedir ;;
434
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437
    localstatedir=$ac_optarg ;;
438
 
439
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440
    ac_prev=mandir ;;
441
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442
    mandir=$ac_optarg ;;
443
 
444
  -nfp | --nfp | --nf)
445
    # Obsolete; use --without-fp.
446
    with_fp=no ;;
447
 
448
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449
  | --no-cr | --no-c | -n)
450
    no_create=yes ;;
451
 
452
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454
    no_recursion=yes ;;
455
 
456
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458
  | --oldin | --oldi | --old | --ol | --o)
459
    ac_prev=oldincludedir ;;
460
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463
    oldincludedir=$ac_optarg ;;
464
 
465
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466
    ac_prev=prefix ;;
467
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468
    prefix=$ac_optarg ;;
469
 
470
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471
  | --program-pre | --program-pr | --program-p)
472
    ac_prev=program_prefix ;;
473
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475
    program_prefix=$ac_optarg ;;
476
 
477
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478
  | --program-suf | --program-su | --program-s)
479
    ac_prev=program_suffix ;;
480
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482
    program_suffix=$ac_optarg ;;
483
 
484
  -program-transform-name | --program-transform-name \
485
  | --program-transform-nam | --program-transform-na \
486
  | --program-transform-n | --program-transform- \
487
  | --program-transform | --program-transfor \
488
  | --program-transfo | --program-transf \
489
  | --program-trans | --program-tran \
490
  | --progr-tra | --program-tr | --program-t)
491
    ac_prev=program_transform_name ;;
492
  -program-transform-name=* | --program-transform-name=* \
493
  | --program-transform-nam=* | --program-transform-na=* \
494
  | --program-transform-n=* | --program-transform-=* \
495
  | --program-transform=* | --program-transfor=* \
496
  | --program-transfo=* | --program-transf=* \
497
  | --program-trans=* | --program-tran=* \
498
  | --progr-tra=* | --program-tr=* | --program-t=*)
499
    program_transform_name=$ac_optarg ;;
500
 
501
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
  | -silent | --silent | --silen | --sile | --sil)
503
    silent=yes ;;
504
 
505
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506
    ac_prev=sbindir ;;
507
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508
  | --sbi=* | --sb=*)
509
    sbindir=$ac_optarg ;;
510
 
511
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513
  | --sharedst | --shareds | --shared | --share | --shar \
514
  | --sha | --sh)
515
    ac_prev=sharedstatedir ;;
516
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519
  | --sha=* | --sh=*)
520
    sharedstatedir=$ac_optarg ;;
521
 
522
  -site | --site | --sit)
523
    ac_prev=site ;;
524
  -site=* | --site=* | --sit=*)
525
    site=$ac_optarg ;;
526
 
527
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528
    ac_prev=srcdir ;;
529
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530
    srcdir=$ac_optarg ;;
531
 
532
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533
  | --syscon | --sysco | --sysc | --sys | --sy)
534
    ac_prev=sysconfdir ;;
535
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537
    sysconfdir=$ac_optarg ;;
538
 
539
  -target | --target | --targe | --targ | --tar | --ta | --t)
540
    ac_prev=target_alias ;;
541
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542
    target_alias=$ac_optarg ;;
543
 
544
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545
    verbose=yes ;;
546
 
547
  -version | --version | --versio | --versi | --vers | -V)
548
    ac_init_version=: ;;
549
 
550
  -with-* | --with-*)
551
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552
    # Reject names that are not valid shell variable names.
553
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
      { echo "$as_me: error: invalid package name: $ac_package" >&2
555
   { (exit 1); exit 1; }; }
556
    ac_package=`echo $ac_package| sed 's/-/_/g'`
557
    case $ac_option in
558
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559
      *) ac_optarg=yes ;;
560
    esac
561
    eval "with_$ac_package='$ac_optarg'" ;;
562
 
563
  -without-* | --without-*)
564
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565
    # Reject names that are not valid shell variable names.
566
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567
      { echo "$as_me: error: invalid package name: $ac_package" >&2
568
   { (exit 1); exit 1; }; }
569
    ac_package=`echo $ac_package | sed 's/-/_/g'`
570
    eval "with_$ac_package=no" ;;
571
 
572
  --x)
573
    # Obsolete; use --with-x.
574
    with_x=yes ;;
575
 
576
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577
  | --x-incl | --x-inc | --x-in | --x-i)
578
    ac_prev=x_includes ;;
579
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581
    x_includes=$ac_optarg ;;
582
 
583
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585
    ac_prev=x_libraries ;;
586
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588
    x_libraries=$ac_optarg ;;
589
 
590
  -*) { echo "$as_me: error: unrecognized option: $ac_option
591
Try \`$0 --help' for more information." >&2
592
   { (exit 1); exit 1; }; }
593
    ;;
594
 
595
  *=*)
596
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597
    # Reject names that are not valid shell variable names.
598
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600
   { (exit 1); exit 1; }; }
601
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602
    eval "$ac_envvar='$ac_optarg'"
603
    export $ac_envvar ;;
604
 
605
  *)
606
    # FIXME: should be removed in autoconf 3.0.
607
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611
    ;;
612
 
613
  esac
614
done
615
 
616
if test -n "$ac_prev"; then
617
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618
  { echo "$as_me: error: missing argument to $ac_option" >&2
619
   { (exit 1); exit 1; }; }
620
fi
621
 
622
# Be sure to have absolute paths.
623
for ac_var in exec_prefix prefix
624
do
625
  eval ac_val=$`echo $ac_var`
626
  case $ac_val in
627
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
   { (exit 1); exit 1; }; };;
630
  esac
631
done
632
 
633
# Be sure to have absolute paths.
634
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635
              localstatedir libdir includedir oldincludedir infodir mandir
636
do
637
  eval ac_val=$`echo $ac_var`
638
  case $ac_val in
639
    [\\/$]* | ?:[\\/]* ) ;;
640
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
   { (exit 1); exit 1; }; };;
642
  esac
643
done
644
 
645
# There might be people who depend on the old broken behavior: `$host'
646
# used to hold the argument of --host etc.
647
# FIXME: To remove some day.
648
build=$build_alias
649
host=$host_alias
650
target=$target_alias
651
 
652
# FIXME: To remove some day.
653
if test "x$host_alias" != x; then
654
  if test "x$build_alias" = x; then
655
    cross_compiling=maybe
656
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657
    If a cross compiler is detected then cross compile mode will be used." >&2
658
  elif test "x$build_alias" != "x$host_alias"; then
659
    cross_compiling=yes
660
  fi
661
fi
662
 
663
ac_tool_prefix=
664
test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
 
666
test "$silent" = yes && exec 6>/dev/null
667
 
668
 
669
# Find the source files, if location was not specified.
670
if test -z "$srcdir"; then
671
  ac_srcdir_defaulted=yes
672
  # Try the directory containing this script, then its parent.
673
  ac_confdir=`(dirname "$0") 2>/dev/null ||
674
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
         X"$0" : 'X\(//\)[^/]' \| \
676
         X"$0" : 'X\(//\)$' \| \
677
         X"$0" : 'X\(/\)' \| \
678
         .     : '\(.\)' 2>/dev/null ||
679
echo X"$0" |
680
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
          /^X\(\/\/\)$/{ s//\1/; q; }
683
          /^X\(\/\).*/{ s//\1/; q; }
684
          s/.*/./; q'`
685
  srcdir=$ac_confdir
686
  if test ! -r $srcdir/$ac_unique_file; then
687
    srcdir=..
688
  fi
689
else
690
  ac_srcdir_defaulted=no
691
fi
692
if test ! -r $srcdir/$ac_unique_file; then
693
  if test "$ac_srcdir_defaulted" = yes; then
694
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
   { (exit 1); exit 1; }; }
696
  else
697
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
   { (exit 1); exit 1; }; }
699
  fi
700
fi
701
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
   { (exit 1); exit 1; }; }
704
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
ac_env_build_alias_set=${build_alias+set}
706
ac_env_build_alias_value=$build_alias
707
ac_cv_env_build_alias_set=${build_alias+set}
708
ac_cv_env_build_alias_value=$build_alias
709
ac_env_host_alias_set=${host_alias+set}
710
ac_env_host_alias_value=$host_alias
711
ac_cv_env_host_alias_set=${host_alias+set}
712
ac_cv_env_host_alias_value=$host_alias
713
ac_env_target_alias_set=${target_alias+set}
714
ac_env_target_alias_value=$target_alias
715
ac_cv_env_target_alias_set=${target_alias+set}
716
ac_cv_env_target_alias_value=$target_alias
717
ac_env_CCAS_set=${CCAS+set}
718
ac_env_CCAS_value=$CCAS
719
ac_cv_env_CCAS_set=${CCAS+set}
720
ac_cv_env_CCAS_value=$CCAS
721
ac_env_CCASFLAGS_set=${CCASFLAGS+set}
722
ac_env_CCASFLAGS_value=$CCASFLAGS
723
ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
724
ac_cv_env_CCASFLAGS_value=$CCASFLAGS
725
ac_env_CC_set=${CC+set}
726
ac_env_CC_value=$CC
727
ac_cv_env_CC_set=${CC+set}
728
ac_cv_env_CC_value=$CC
729
ac_env_CFLAGS_set=${CFLAGS+set}
730
ac_env_CFLAGS_value=$CFLAGS
731
ac_cv_env_CFLAGS_set=${CFLAGS+set}
732
ac_cv_env_CFLAGS_value=$CFLAGS
733
ac_env_LDFLAGS_set=${LDFLAGS+set}
734
ac_env_LDFLAGS_value=$LDFLAGS
735
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
736
ac_cv_env_LDFLAGS_value=$LDFLAGS
737
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
738
ac_env_CPPFLAGS_value=$CPPFLAGS
739
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
740
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
741
ac_env_CPP_set=${CPP+set}
742
ac_env_CPP_value=$CPP
743
ac_cv_env_CPP_set=${CPP+set}
744
ac_cv_env_CPP_value=$CPP
745
 
746
#
747
# Report the --help message.
748
#
749
if test "$ac_init_help" = "long"; then
750
  # Omit some internal or obsolete options to make the list less imposing.
751
  # This message is too long to be a string in the A/UX 3.1 sh.
752
  cat <<_ACEOF
753
\`configure' configures newlib 1.17.0 to adapt to many kinds of systems.
754
 
755
Usage: $0 [OPTION]... [VAR=VALUE]...
756
 
757
To assign environment variables (e.g., CC, CFLAGS...), specify them as
758
VAR=VALUE.  See below for descriptions of some of the useful variables.
759
 
760
Defaults for the options are specified in brackets.
761
 
762
Configuration:
763
  -h, --help              display this help and exit
764
      --help=short        display options specific to this package
765
      --help=recursive    display the short help of all the included packages
766
  -V, --version           display version information and exit
767
  -q, --quiet, --silent   do not print \`checking...' messages
768
      --cache-file=FILE   cache test results in FILE [disabled]
769
  -C, --config-cache      alias for \`--cache-file=config.cache'
770
  -n, --no-create         do not create output files
771
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
772
 
773
_ACEOF
774
 
775
  cat <<_ACEOF
776
Installation directories:
777
  --prefix=PREFIX         install architecture-independent files in PREFIX
778
                          [$ac_default_prefix]
779
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
780
                          [PREFIX]
781
 
782
By default, \`make install' will install all the files in
783
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
784
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785
for instance \`--prefix=\$HOME'.
786
 
787
For better control, use the options below.
788
 
789
Fine tuning of the installation directories:
790
  --bindir=DIR           user executables [EPREFIX/bin]
791
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
792
  --libexecdir=DIR       program executables [EPREFIX/libexec]
793
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
794
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
795
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
796
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
797
  --libdir=DIR           object code libraries [EPREFIX/lib]
798
  --includedir=DIR       C header files [PREFIX/include]
799
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
800
  --infodir=DIR          info documentation [PREFIX/info]
801
  --mandir=DIR           man documentation [PREFIX/man]
802
_ACEOF
803
 
804
  cat <<\_ACEOF
805
 
806
Program names:
807
  --program-prefix=PREFIX            prepend PREFIX to installed program names
808
  --program-suffix=SUFFIX            append SUFFIX to installed program names
809
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
810
 
811
System types:
812
  --build=BUILD     configure for building on BUILD [guessed]
813
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
814
_ACEOF
815
fi
816
 
817
if test -n "$ac_init_help"; then
818
  case $ac_init_help in
819
     short | recursive ) echo "Configuration of newlib 1.17.0:";;
820
   esac
821
  cat <<\_ACEOF
822
 
823
Optional Features:
824
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
825
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
826
  --enable-multilib         build many library versions (default)
827
  --enable-target-optspace  optimize for space
828
  --enable-malloc-debugging indicate malloc debugging requested
829
  --enable-newlib-multithread        enable support for multiple threads
830
  --enable-newlib-iconv     enable iconv library support
831
  --enable-newlib-elix-level         supply desired elix library level (1-4)
832
  --disable-newlib-io-float disable printf/scanf family float support
833
  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
834
  --disable-dependency-tracking  speeds up one-time build
835
  --enable-dependency-tracking   do not reject slow dependency extractors
836
  --enable-maintainer-mode  enable make rules and dependencies not useful
837
                          (and sometimes confusing) to the casual installer
838
 
839
Some influential environment variables:
840
  CCAS        assembler compiler command (defaults to CC)
841
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
842
  CC          C compiler command
843
  CFLAGS      C compiler flags
844
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
845
              nonstandard directory 
846
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I if you have
847
              headers in a nonstandard directory 
848
  CPP         C preprocessor
849
 
850
Use these variables to override the choices made by `configure' or to help
851
it to find libraries and programs with nonstandard names/locations.
852
 
853
_ACEOF
854
fi
855
 
856
if test "$ac_init_help" = "recursive"; then
857
  # If there are subdirs, report their specific --help.
858
  ac_popdir=`pwd`
859
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
860
    test -d $ac_dir || continue
861
    ac_builddir=.
862
 
863
if test "$ac_dir" != .; then
864
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
865
  # A "../" for each directory in $ac_dir_suffix.
866
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
867
else
868
  ac_dir_suffix= ac_top_builddir=
869
fi
870
 
871
case $srcdir in
872
  .)  # No --srcdir option.  We are building in place.
873
    ac_srcdir=.
874
    if test -z "$ac_top_builddir"; then
875
       ac_top_srcdir=.
876
    else
877
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
878
    fi ;;
879
  [\\/]* | ?:[\\/]* )  # Absolute path.
880
    ac_srcdir=$srcdir$ac_dir_suffix;
881
    ac_top_srcdir=$srcdir ;;
882
  *) # Relative path.
883
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
884
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
885
esac
886
 
887
# Do not use `cd foo && pwd` to compute absolute paths, because
888
# the directories may not exist.
889
case `pwd` in
890
.) ac_abs_builddir="$ac_dir";;
891
*)
892
  case "$ac_dir" in
893
  .) ac_abs_builddir=`pwd`;;
894
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
895
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
896
  esac;;
897
esac
898
case $ac_abs_builddir in
899
.) ac_abs_top_builddir=${ac_top_builddir}.;;
900
*)
901
  case ${ac_top_builddir}. in
902
  .) ac_abs_top_builddir=$ac_abs_builddir;;
903
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
904
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
905
  esac;;
906
esac
907
case $ac_abs_builddir in
908
.) ac_abs_srcdir=$ac_srcdir;;
909
*)
910
  case $ac_srcdir in
911
  .) ac_abs_srcdir=$ac_abs_builddir;;
912
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
913
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
914
  esac;;
915
esac
916
case $ac_abs_builddir in
917
.) ac_abs_top_srcdir=$ac_top_srcdir;;
918
*)
919
  case $ac_top_srcdir in
920
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
921
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
922
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
923
  esac;;
924
esac
925
 
926
    cd $ac_dir
927
    # Check for guested configure; otherwise get Cygnus style configure.
928
    if test -f $ac_srcdir/configure.gnu; then
929
      echo
930
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
931
    elif test -f $ac_srcdir/configure; then
932
      echo
933
      $SHELL $ac_srcdir/configure  --help=recursive
934
    elif test -f $ac_srcdir/configure.ac ||
935
           test -f $ac_srcdir/configure.in; then
936
      echo
937
      $ac_configure --help
938
    else
939
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
940
    fi
941
    cd $ac_popdir
942
  done
943
fi
944
 
945
test -n "$ac_init_help" && exit 0
946
if $ac_init_version; then
947
  cat <<\_ACEOF
948
newlib configure 1.17.0
949
generated by GNU Autoconf 2.59
950
 
951
Copyright (C) 2003 Free Software Foundation, Inc.
952
This configure script is free software; the Free Software Foundation
953
gives unlimited permission to copy, distribute and modify it.
954
_ACEOF
955
  exit 0
956
fi
957
exec 5>config.log
958
cat >&5 <<_ACEOF
959
This file contains any messages produced by compilers while
960
running configure, to aid debugging if configure makes a mistake.
961
 
962
It was created by newlib $as_me 1.17.0, which was
963
generated by GNU Autoconf 2.59.  Invocation command line was
964
 
965
  $ $0 $@
966
 
967
_ACEOF
968
{
969
cat <<_ASUNAME
970
## --------- ##
971
## Platform. ##
972
## --------- ##
973
 
974
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
975
uname -m = `(uname -m) 2>/dev/null || echo unknown`
976
uname -r = `(uname -r) 2>/dev/null || echo unknown`
977
uname -s = `(uname -s) 2>/dev/null || echo unknown`
978
uname -v = `(uname -v) 2>/dev/null || echo unknown`
979
 
980
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
981
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
982
 
983
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
984
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
985
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
986
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
987
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
988
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
989
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
990
 
991
_ASUNAME
992
 
993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
994
for as_dir in $PATH
995
do
996
  IFS=$as_save_IFS
997
  test -z "$as_dir" && as_dir=.
998
  echo "PATH: $as_dir"
999
done
1000
 
1001
} >&5
1002
 
1003
cat >&5 <<_ACEOF
1004
 
1005
 
1006
## ----------- ##
1007
## Core tests. ##
1008
## ----------- ##
1009
 
1010
_ACEOF
1011
 
1012
 
1013
# Keep a trace of the command line.
1014
# Strip out --no-create and --no-recursion so they do not pile up.
1015
# Strip out --silent because we don't want to record it for future runs.
1016
# Also quote any args containing shell meta-characters.
1017
# Make two passes to allow for proper duplicate-argument suppression.
1018
ac_configure_args=
1019
ac_configure_args0=
1020
ac_configure_args1=
1021
ac_sep=
1022
ac_must_keep_next=false
1023
for ac_pass in 1 2
1024
do
1025
  for ac_arg
1026
  do
1027
    case $ac_arg in
1028
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1029
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1030
    | -silent | --silent | --silen | --sile | --sil)
1031
      continue ;;
1032
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1033
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1034
    esac
1035
    case $ac_pass in
1036
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1037
    2)
1038
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1039
      if test $ac_must_keep_next = true; then
1040
        ac_must_keep_next=false # Got value, back to normal.
1041
      else
1042
        case $ac_arg in
1043
          *=* | --config-cache | -C | -disable-* | --disable-* \
1044
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1045
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1046
          | -with-* | --with-* | -without-* | --without-* | --x)
1047
            case "$ac_configure_args0 " in
1048
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1049
            esac
1050
            ;;
1051
          -* ) ac_must_keep_next=true ;;
1052
        esac
1053
      fi
1054
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1055
      # Get rid of the leading space.
1056
      ac_sep=" "
1057
      ;;
1058
    esac
1059
  done
1060
done
1061
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1062
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1063
 
1064
# When interrupted or exit'd, cleanup temporary files, and complete
1065
# config.log.  We remove comments because anyway the quotes in there
1066
# would cause problems or look ugly.
1067
# WARNING: Be sure not to use single quotes in there, as some shells,
1068
# such as our DU 5.0 friend, will then `close' the trap.
1069
trap 'exit_status=$?
1070
  # Save into config.log some information that might help in debugging.
1071
  {
1072
    echo
1073
 
1074
    cat <<\_ASBOX
1075
## ---------------- ##
1076
## Cache variables. ##
1077
## ---------------- ##
1078
_ASBOX
1079
    echo
1080
    # The following way of writing the cache mishandles newlines in values,
1081
{
1082
  (set) 2>&1 |
1083
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1084
    *ac_space=\ *)
1085
      sed -n \
1086
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1087
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1088
      ;;
1089
    *)
1090
      sed -n \
1091
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1092
      ;;
1093
    esac;
1094
}
1095
    echo
1096
 
1097
    cat <<\_ASBOX
1098
## ----------------- ##
1099
## Output variables. ##
1100
## ----------------- ##
1101
_ASBOX
1102
    echo
1103
    for ac_var in $ac_subst_vars
1104
    do
1105
      eval ac_val=$`echo $ac_var`
1106
      echo "$ac_var='"'"'$ac_val'"'"'"
1107
    done | sort
1108
    echo
1109
 
1110
    if test -n "$ac_subst_files"; then
1111
      cat <<\_ASBOX
1112
## ------------- ##
1113
## Output files. ##
1114
## ------------- ##
1115
_ASBOX
1116
      echo
1117
      for ac_var in $ac_subst_files
1118
      do
1119
        eval ac_val=$`echo $ac_var`
1120
        echo "$ac_var='"'"'$ac_val'"'"'"
1121
      done | sort
1122
      echo
1123
    fi
1124
 
1125
    if test -s confdefs.h; then
1126
      cat <<\_ASBOX
1127
## ----------- ##
1128
## confdefs.h. ##
1129
## ----------- ##
1130
_ASBOX
1131
      echo
1132
      sed "/^$/d" confdefs.h | sort
1133
      echo
1134
    fi
1135
    test "$ac_signal" != 0 &&
1136
      echo "$as_me: caught signal $ac_signal"
1137
    echo "$as_me: exit $exit_status"
1138
  } >&5
1139
  rm -f core *.core &&
1140
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1141
    exit $exit_status
1142
     ' 0
1143
for ac_signal in 1 2 13 15; do
1144
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1145
done
1146
ac_signal=0
1147
 
1148
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1149
rm -rf conftest* confdefs.h
1150
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1151
echo >confdefs.h
1152
 
1153
# Predefined preprocessor variables.
1154
 
1155
cat >>confdefs.h <<_ACEOF
1156
#define PACKAGE_NAME "$PACKAGE_NAME"
1157
_ACEOF
1158
 
1159
 
1160
cat >>confdefs.h <<_ACEOF
1161
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1162
_ACEOF
1163
 
1164
 
1165
cat >>confdefs.h <<_ACEOF
1166
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1167
_ACEOF
1168
 
1169
 
1170
cat >>confdefs.h <<_ACEOF
1171
#define PACKAGE_STRING "$PACKAGE_STRING"
1172
_ACEOF
1173
 
1174
 
1175
cat >>confdefs.h <<_ACEOF
1176
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1177
_ACEOF
1178
 
1179
 
1180
# Let the site file select an alternate cache file if it wants to.
1181
# Prefer explicitly selected file to automatically selected ones.
1182
if test -z "$CONFIG_SITE"; then
1183
  if test "x$prefix" != xNONE; then
1184
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1185
  else
1186
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1187
  fi
1188
fi
1189
for ac_site_file in $CONFIG_SITE; do
1190
  if test -r "$ac_site_file"; then
1191
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1192
echo "$as_me: loading site script $ac_site_file" >&6;}
1193
    sed 's/^/| /' "$ac_site_file" >&5
1194
    . "$ac_site_file"
1195
  fi
1196
done
1197
 
1198
if test -r "$cache_file"; then
1199
  # Some versions of bash will fail to source /dev/null (special
1200
  # files actually), so we avoid doing that.
1201
  if test -f "$cache_file"; then
1202
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1203
echo "$as_me: loading cache $cache_file" >&6;}
1204
    case $cache_file in
1205
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1206
      *)                      . ./$cache_file;;
1207
    esac
1208
  fi
1209
else
1210
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1211
echo "$as_me: creating cache $cache_file" >&6;}
1212
  >$cache_file
1213
fi
1214
 
1215
# Check that the precious variables saved in the cache have kept the same
1216
# value.
1217
ac_cache_corrupted=false
1218
for ac_var in `(set) 2>&1 |
1219
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1220
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1221
  eval ac_new_set=\$ac_env_${ac_var}_set
1222
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1223
  eval ac_new_val="\$ac_env_${ac_var}_value"
1224
  case $ac_old_set,$ac_new_set in
1225
    set,)
1226
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1227
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1228
      ac_cache_corrupted=: ;;
1229
    ,set)
1230
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1231
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1232
      ac_cache_corrupted=: ;;
1233
    ,);;
1234
    *)
1235
      if test "x$ac_old_val" != "x$ac_new_val"; then
1236
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1237
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1238
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1239
echo "$as_me:   former value:  $ac_old_val" >&2;}
1240
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1241
echo "$as_me:   current value: $ac_new_val" >&2;}
1242
        ac_cache_corrupted=:
1243
      fi;;
1244
  esac
1245
  # Pass precious variables to config.status.
1246
  if test "$ac_new_set" = set; then
1247
    case $ac_new_val in
1248
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1249
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1250
    *) ac_arg=$ac_var=$ac_new_val ;;
1251
    esac
1252
    case " $ac_configure_args " in
1253
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1254
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1255
    esac
1256
  fi
1257
done
1258
if $ac_cache_corrupted; then
1259
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1260
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1261
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1262
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1263
   { (exit 1); exit 1; }; }
1264
fi
1265
 
1266
ac_ext=c
1267
ac_cpp='$CPP $CPPFLAGS'
1268
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1269
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1270
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1271
 
1272
 
1273
 
1274
 
1275
 
1276
 
1277
 
1278
 
1279
 
1280
 
1281
 
1282
 
1283
 
1284
 
1285
 
1286
 
1287
 
1288
 
1289
 
1290
 
1291
 
1292
 
1293
 
1294
 
1295
 
1296
 
1297
 
1298
 
1299
 
1300
ac_aux_dir=
1301
for ac_dir in ../../../.. $srcdir/../../../..; do
1302
  if test -f $ac_dir/install-sh; then
1303
    ac_aux_dir=$ac_dir
1304
    ac_install_sh="$ac_aux_dir/install-sh -c"
1305
    break
1306
  elif test -f $ac_dir/install.sh; then
1307
    ac_aux_dir=$ac_dir
1308
    ac_install_sh="$ac_aux_dir/install.sh -c"
1309
    break
1310
  elif test -f $ac_dir/shtool; then
1311
    ac_aux_dir=$ac_dir
1312
    ac_install_sh="$ac_aux_dir/shtool install -c"
1313
    break
1314
  fi
1315
done
1316
if test -z "$ac_aux_dir"; then
1317
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&5
1318
echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&2;}
1319
   { (exit 1); exit 1; }; }
1320
fi
1321
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1322
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1323
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1324
 
1325
 
1326
 
1327
# Make sure we can run config.sub.
1328
$ac_config_sub sun4 >/dev/null 2>&1 ||
1329
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1330
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1331
   { (exit 1); exit 1; }; }
1332
 
1333
echo "$as_me:$LINENO: checking build system type" >&5
1334
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1335
if test "${ac_cv_build+set}" = set; then
1336
  echo $ECHO_N "(cached) $ECHO_C" >&6
1337
else
1338
  ac_cv_build_alias=$build_alias
1339
test -z "$ac_cv_build_alias" &&
1340
  ac_cv_build_alias=`$ac_config_guess`
1341
test -z "$ac_cv_build_alias" &&
1342
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1343
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1344
   { (exit 1); exit 1; }; }
1345
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1346
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1347
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1348
   { (exit 1); exit 1; }; }
1349
 
1350
fi
1351
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1352
echo "${ECHO_T}$ac_cv_build" >&6
1353
build=$ac_cv_build
1354
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1355
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1356
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1357
 
1358
 
1359
am__api_version="1.9"
1360
# Find a good install program.  We prefer a C program (faster),
1361
# so one script is as good as another.  But avoid the broken or
1362
# incompatible versions:
1363
# SysV /etc/install, /usr/sbin/install
1364
# SunOS /usr/etc/install
1365
# IRIX /sbin/install
1366
# AIX /bin/install
1367
# AmigaOS /C/install, which installs bootblocks on floppy discs
1368
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1369
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1370
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1371
# OS/2's system install, which has a completely different semantic
1372
# ./install, which can be erroneously created by make from ./install.sh.
1373
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1374
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1375
if test -z "$INSTALL"; then
1376
if test "${ac_cv_path_install+set}" = set; then
1377
  echo $ECHO_N "(cached) $ECHO_C" >&6
1378
else
1379
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1380
for as_dir in $PATH
1381
do
1382
  IFS=$as_save_IFS
1383
  test -z "$as_dir" && as_dir=.
1384
  # Account for people who put trailing slashes in PATH elements.
1385
case $as_dir/ in
1386
  ./ | .// | /cC/* | \
1387
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1388
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1389
  /usr/ucb/* ) ;;
1390
  *)
1391
    # OSF1 and SCO ODT 3.0 have their own names for install.
1392
    # Don't use installbsd from OSF since it installs stuff as root
1393
    # by default.
1394
    for ac_prog in ginstall scoinst install; do
1395
      for ac_exec_ext in '' $ac_executable_extensions; do
1396
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1397
          if test $ac_prog = install &&
1398
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1399
            # AIX install.  It has an incompatible calling convention.
1400
            :
1401
          elif test $ac_prog = install &&
1402
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1403
            # program-specific install script used by HP pwplus--don't use.
1404
            :
1405
          else
1406
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1407
            break 3
1408
          fi
1409
        fi
1410
      done
1411
    done
1412
    ;;
1413
esac
1414
done
1415
 
1416
 
1417
fi
1418
  if test "${ac_cv_path_install+set}" = set; then
1419
    INSTALL=$ac_cv_path_install
1420
  else
1421
    # As a last resort, use the slow shell script.  We don't cache a
1422
    # path for INSTALL within a source directory, because that will
1423
    # break other packages using the cache if that directory is
1424
    # removed, or if the path is relative.
1425
    INSTALL=$ac_install_sh
1426
  fi
1427
fi
1428
echo "$as_me:$LINENO: result: $INSTALL" >&5
1429
echo "${ECHO_T}$INSTALL" >&6
1430
 
1431
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1432
# It thinks the first close brace ends the variable substitution.
1433
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1434
 
1435
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1436
 
1437
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1438
 
1439
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1440
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1441
# Just in case
1442
sleep 1
1443
echo timestamp > conftest.file
1444
# Do `set' in a subshell so we don't clobber the current shell's
1445
# arguments.  Must try -L first in case configure is actually a
1446
# symlink; some systems play weird games with the mod time of symlinks
1447
# (eg FreeBSD returns the mod time of the symlink's containing
1448
# directory).
1449
if (
1450
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1451
   if test "$*" = "X"; then
1452
      # -L didn't work.
1453
      set X `ls -t $srcdir/configure conftest.file`
1454
   fi
1455
   rm -f conftest.file
1456
   if test "$*" != "X $srcdir/configure conftest.file" \
1457
      && test "$*" != "X conftest.file $srcdir/configure"; then
1458
 
1459
      # If neither matched, then we have a broken ls.  This can happen
1460
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1461
      # broken ls alias from the environment.  This has actually
1462
      # happened.  Such a system could not be considered "sane".
1463
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1464
alias in your environment" >&5
1465
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1466
alias in your environment" >&2;}
1467
   { (exit 1); exit 1; }; }
1468
   fi
1469
 
1470
   test "$2" = conftest.file
1471
   )
1472
then
1473
   # Ok.
1474
   :
1475
else
1476
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1477
Check your system clock" >&5
1478
echo "$as_me: error: newly created file is older than distributed files!
1479
Check your system clock" >&2;}
1480
   { (exit 1); exit 1; }; }
1481
fi
1482
echo "$as_me:$LINENO: result: yes" >&5
1483
echo "${ECHO_T}yes" >&6
1484
test "$program_prefix" != NONE &&
1485
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1486
# Use a double $ so make ignores it.
1487
test "$program_suffix" != NONE &&
1488
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1489
# Double any \ or $.  echo might interpret backslashes.
1490
# By default was `s,x,x', remove it if useless.
1491
cat <<\_ACEOF >conftest.sed
1492
s/[\\$]/&&/g;s/;s,x,x,$//
1493
_ACEOF
1494
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1495
rm conftest.sed
1496
 
1497
# expand $ac_aux_dir to an absolute path
1498
am_aux_dir=`cd $ac_aux_dir && pwd`
1499
 
1500
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1501
# Use eval to expand $SHELL
1502
if eval "$MISSING --run true"; then
1503
  am_missing_run="$MISSING --run "
1504
else
1505
  am_missing_run=
1506
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1507
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1508
fi
1509
 
1510
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1511
  # We used to keeping the `.' as first argument, in order to
1512
  # allow $(mkdir_p) to be used without argument.  As in
1513
  #   $(mkdir_p) $(somedir)
1514
  # where $(somedir) is conditionally defined.  However this is wrong
1515
  # for two reasons:
1516
  #  1. if the package is installed by a user who cannot write `.'
1517
  #     make install will fail,
1518
  #  2. the above comment should most certainly read
1519
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1520
  #     so it does not work when $(somedir) is undefined and
1521
  #     $(DESTDIR) is not.
1522
  #  To support the latter case, we have to write
1523
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1524
  #  so the `.' trick is pointless.
1525
  mkdir_p='mkdir -p --'
1526
else
1527
  # On NextStep and OpenStep, the `mkdir' command does not
1528
  # recognize any option.  It will interpret all options as
1529
  # directories to create, and then abort because `.' already
1530
  # exists.
1531
  for d in ./-p ./--version;
1532
  do
1533
    test -d $d && rmdir $d
1534
  done
1535
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1536
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1537
    mkdir_p='$(mkinstalldirs)'
1538
  else
1539
    mkdir_p='$(install_sh) -d'
1540
  fi
1541
fi
1542
 
1543
for ac_prog in gawk mawk nawk awk
1544
do
1545
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1546
set dummy $ac_prog; ac_word=$2
1547
echo "$as_me:$LINENO: checking for $ac_word" >&5
1548
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1549
if test "${ac_cv_prog_AWK+set}" = set; then
1550
  echo $ECHO_N "(cached) $ECHO_C" >&6
1551
else
1552
  if test -n "$AWK"; then
1553
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1554
else
1555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1556
for as_dir in $PATH
1557
do
1558
  IFS=$as_save_IFS
1559
  test -z "$as_dir" && as_dir=.
1560
  for ac_exec_ext in '' $ac_executable_extensions; do
1561
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1562
    ac_cv_prog_AWK="$ac_prog"
1563
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564
    break 2
1565
  fi
1566
done
1567
done
1568
 
1569
fi
1570
fi
1571
AWK=$ac_cv_prog_AWK
1572
if test -n "$AWK"; then
1573
  echo "$as_me:$LINENO: result: $AWK" >&5
1574
echo "${ECHO_T}$AWK" >&6
1575
else
1576
  echo "$as_me:$LINENO: result: no" >&5
1577
echo "${ECHO_T}no" >&6
1578
fi
1579
 
1580
  test -n "$AWK" && break
1581
done
1582
 
1583
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1584
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1585
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1586
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1587
  echo $ECHO_N "(cached) $ECHO_C" >&6
1588
else
1589
  cat >conftest.make <<\_ACEOF
1590
all:
1591
        @echo 'ac_maketemp="$(MAKE)"'
1592
_ACEOF
1593
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1594
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1595
if test -n "$ac_maketemp"; then
1596
  eval ac_cv_prog_make_${ac_make}_set=yes
1597
else
1598
  eval ac_cv_prog_make_${ac_make}_set=no
1599
fi
1600
rm -f conftest.make
1601
fi
1602
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1603
  echo "$as_me:$LINENO: result: yes" >&5
1604
echo "${ECHO_T}yes" >&6
1605
  SET_MAKE=
1606
else
1607
  echo "$as_me:$LINENO: result: no" >&5
1608
echo "${ECHO_T}no" >&6
1609
  SET_MAKE="MAKE=${MAKE-make}"
1610
fi
1611
 
1612
rm -rf .tst 2>/dev/null
1613
mkdir .tst 2>/dev/null
1614
if test -d .tst; then
1615
  am__leading_dot=.
1616
else
1617
  am__leading_dot=_
1618
fi
1619
rmdir .tst 2>/dev/null
1620
 
1621
DEPDIR="${am__leading_dot}deps"
1622
 
1623
          ac_config_commands="$ac_config_commands depfiles"
1624
 
1625
 
1626
am_make=${MAKE-make}
1627
cat > confinc << 'END'
1628
am__doit:
1629
        @echo done
1630
.PHONY: am__doit
1631
END
1632
# If we don't find an include directive, just comment out the code.
1633
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1634
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1635
am__include="#"
1636
am__quote=
1637
_am_result=none
1638
# First try GNU make style include.
1639
echo "include confinc" > confmf
1640
# We grep out `Entering directory' and `Leaving directory'
1641
# messages which can occur if `w' ends up in MAKEFLAGS.
1642
# In particular we don't look at `^make:' because GNU make might
1643
# be invoked under some other name (usually "gmake"), in which
1644
# case it prints its new name instead of `make'.
1645
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1646
   am__include=include
1647
   am__quote=
1648
   _am_result=GNU
1649
fi
1650
# Now try BSD make style include.
1651
if test "$am__include" = "#"; then
1652
   echo '.include "confinc"' > confmf
1653
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1654
      am__include=.include
1655
      am__quote="\""
1656
      _am_result=BSD
1657
   fi
1658
fi
1659
 
1660
 
1661
echo "$as_me:$LINENO: result: $_am_result" >&5
1662
echo "${ECHO_T}$_am_result" >&6
1663
rm -f confinc confmf
1664
 
1665
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1666
if test "${enable_dependency_tracking+set}" = set; then
1667
  enableval="$enable_dependency_tracking"
1668
 
1669
fi;
1670
if test "x$enable_dependency_tracking" != xno; then
1671
  am_depcomp="$ac_aux_dir/depcomp"
1672
  AMDEPBACKSLASH='\'
1673
fi
1674
 
1675
 
1676
if test "x$enable_dependency_tracking" != xno; then
1677
  AMDEP_TRUE=
1678
  AMDEP_FALSE='#'
1679
else
1680
  AMDEP_TRUE='#'
1681
  AMDEP_FALSE=
1682
fi
1683
 
1684
 
1685
 
1686
 
1687
# Check whether --enable-multilib or --disable-multilib was given.
1688
if test "${enable_multilib+set}" = set; then
1689
  enableval="$enable_multilib"
1690
  case "${enableval}" in
1691
  yes) multilib=yes ;;
1692
  no)  multilib=no ;;
1693
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1694
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1695
   { (exit 1); exit 1; }; } ;;
1696
 esac
1697
else
1698
  multilib=yes
1699
fi;
1700
# Check whether --enable-target-optspace or --disable-target-optspace was given.
1701
if test "${enable_target_optspace+set}" = set; then
1702
  enableval="$enable_target_optspace"
1703
  case "${enableval}" in
1704
  yes) target_optspace=yes ;;
1705
  no)  target_optspace=no ;;
1706
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1707
echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1708
   { (exit 1); exit 1; }; } ;;
1709
 esac
1710
else
1711
  target_optspace=
1712
fi;
1713
# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1714
if test "${enable_malloc_debugging+set}" = set; then
1715
  enableval="$enable_malloc_debugging"
1716
  case "${enableval}" in
1717
  yes) malloc_debugging=yes ;;
1718
  no)  malloc_debugging=no ;;
1719
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1720
echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1721
   { (exit 1); exit 1; }; } ;;
1722
 esac
1723
else
1724
  malloc_debugging=
1725
fi;
1726
# Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1727
if test "${enable_newlib_multithread+set}" = set; then
1728
  enableval="$enable_newlib_multithread"
1729
  case "${enableval}" in
1730
  yes) newlib_multithread=yes ;;
1731
  no)  newlib_multithread=no ;;
1732
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1733
echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1734
   { (exit 1); exit 1; }; } ;;
1735
 esac
1736
else
1737
  newlib_multithread=yes
1738
fi;
1739
# Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1740
if test "${enable_newlib_iconv+set}" = set; then
1741
  enableval="$enable_newlib_iconv"
1742
  if test "${newlib_iconv+set}" != set; then
1743
   case "${enableval}" in
1744
     yes) newlib_iconv=yes ;;
1745
     no)  newlib_iconv=no ;;
1746
     *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1747
echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1748
   { (exit 1); exit 1; }; } ;;
1749
   esac
1750
 fi
1751
else
1752
  newlib_iconv=${newlib_iconv}
1753
fi;
1754
# Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1755
if test "${enable_newlib_elix_level+set}" = set; then
1756
  enableval="$enable_newlib_elix_level"
1757
  case "${enableval}" in
1758
  0)   newlib_elix_level=0 ;;
1759
  1)   newlib_elix_level=1 ;;
1760
  2)   newlib_elix_level=2 ;;
1761
  3)   newlib_elix_level=3 ;;
1762
  4)   newlib_elix_level=4 ;;
1763
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1764
echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1765
   { (exit 1); exit 1; }; } ;;
1766
 esac
1767
else
1768
  newlib_elix_level=0
1769
fi;
1770
# Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1771
if test "${enable_newlib_io_float+set}" = set; then
1772
  enableval="$enable_newlib_io_float"
1773
  case "${enableval}" in
1774
  yes) newlib_io_float=yes ;;
1775
  no)  newlib_io_float=no ;;
1776
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1777
echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1778
   { (exit 1); exit 1; }; } ;;
1779
 esac
1780
else
1781
  newlib_io_float=yes
1782
fi;
1783
# Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1784
if test "${enable_newlib_supplied_syscalls+set}" = set; then
1785
  enableval="$enable_newlib_supplied_syscalls"
1786
  case "${enableval}" in
1787
  yes) newlib_may_supply_syscalls=yes ;;
1788
  no)  newlib_may_supply_syscalls=no ;;
1789
  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1790
echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1791
   { (exit 1); exit 1; }; } ;;
1792
 esac
1793
else
1794
  newlib_may_supply_syscalls=yes
1795
fi;
1796
 
1797
 
1798
if test x${newlib_may_supply_syscalls} = xyes; then
1799
  MAY_SUPPLY_SYSCALLS_TRUE=
1800
  MAY_SUPPLY_SYSCALLS_FALSE='#'
1801
else
1802
  MAY_SUPPLY_SYSCALLS_TRUE='#'
1803
  MAY_SUPPLY_SYSCALLS_FALSE=
1804
fi
1805
 
1806
 
1807
 
1808
test -z "${with_target_subdir}" && with_target_subdir=.
1809
 
1810
if test "${srcdir}" = "."; then
1811
  if test "${with_target_subdir}" != "."; then
1812
    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
1813
  else
1814
    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1815
  fi
1816
else
1817
  newlib_basedir="${srcdir}/../../.."
1818
fi
1819
 
1820
 
1821
echo "$as_me:$LINENO: checking host system type" >&5
1822
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1823
if test "${ac_cv_host+set}" = set; then
1824
  echo $ECHO_N "(cached) $ECHO_C" >&6
1825
else
1826
  ac_cv_host_alias=$host_alias
1827
test -z "$ac_cv_host_alias" &&
1828
  ac_cv_host_alias=$ac_cv_build_alias
1829
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1830
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1831
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1832
   { (exit 1); exit 1; }; }
1833
 
1834
fi
1835
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1836
echo "${ECHO_T}$ac_cv_host" >&6
1837
host=$ac_cv_host
1838
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1839
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1840
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1841
 
1842
 
1843
 
1844
# test to see if srcdir already configured
1845
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1846
   test -f $srcdir/config.status; then
1847
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1848
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1849
   { (exit 1); exit 1; }; }
1850
fi
1851
 
1852
# test whether we have cygpath
1853
if test -z "$CYGPATH_W"; then
1854
  if (cygpath --version) >/dev/null 2>/dev/null; then
1855
    CYGPATH_W='cygpath -w'
1856
  else
1857
    CYGPATH_W=echo
1858
  fi
1859
fi
1860
 
1861
 
1862
# Define the identity of the package.
1863
 PACKAGE='newlib'
1864
 VERSION='1.17.0'
1865
 
1866
 
1867
# Some tools Automake needs.
1868
 
1869
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1870
 
1871
 
1872
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1873
 
1874
 
1875
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1876
 
1877
 
1878
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1879
 
1880
 
1881
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1882
 
1883
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1884
 
1885
# Installed binaries are usually stripped using `strip' when the user
1886
# run `make install-strip'.  However `strip' might not be the right
1887
# tool to use in cross-compilation environments, therefore Automake
1888
# will honor the `STRIP' environment variable to overrule this program.
1889
if test "$cross_compiling" != no; then
1890
  if test -n "$ac_tool_prefix"; then
1891
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1892
set dummy ${ac_tool_prefix}strip; ac_word=$2
1893
echo "$as_me:$LINENO: checking for $ac_word" >&5
1894
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1895
if test "${ac_cv_prog_STRIP+set}" = set; then
1896
  echo $ECHO_N "(cached) $ECHO_C" >&6
1897
else
1898
  if test -n "$STRIP"; then
1899
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1900
else
1901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902
for as_dir in $PATH
1903
do
1904
  IFS=$as_save_IFS
1905
  test -z "$as_dir" && as_dir=.
1906
  for ac_exec_ext in '' $ac_executable_extensions; do
1907
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1908
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1909
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910
    break 2
1911
  fi
1912
done
1913
done
1914
 
1915
fi
1916
fi
1917
STRIP=$ac_cv_prog_STRIP
1918
if test -n "$STRIP"; then
1919
  echo "$as_me:$LINENO: result: $STRIP" >&5
1920
echo "${ECHO_T}$STRIP" >&6
1921
else
1922
  echo "$as_me:$LINENO: result: no" >&5
1923
echo "${ECHO_T}no" >&6
1924
fi
1925
 
1926
fi
1927
if test -z "$ac_cv_prog_STRIP"; then
1928
  ac_ct_STRIP=$STRIP
1929
  # Extract the first word of "strip", so it can be a program name with args.
1930
set dummy strip; ac_word=$2
1931
echo "$as_me:$LINENO: checking for $ac_word" >&5
1932
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1934
  echo $ECHO_N "(cached) $ECHO_C" >&6
1935
else
1936
  if test -n "$ac_ct_STRIP"; then
1937
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1938
else
1939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940
for as_dir in $PATH
1941
do
1942
  IFS=$as_save_IFS
1943
  test -z "$as_dir" && as_dir=.
1944
  for ac_exec_ext in '' $ac_executable_extensions; do
1945
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946
    ac_cv_prog_ac_ct_STRIP="strip"
1947
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948
    break 2
1949
  fi
1950
done
1951
done
1952
 
1953
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1954
fi
1955
fi
1956
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1957
if test -n "$ac_ct_STRIP"; then
1958
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1959
echo "${ECHO_T}$ac_ct_STRIP" >&6
1960
else
1961
  echo "$as_me:$LINENO: result: no" >&5
1962
echo "${ECHO_T}no" >&6
1963
fi
1964
 
1965
  STRIP=$ac_ct_STRIP
1966
else
1967
  STRIP="$ac_cv_prog_STRIP"
1968
fi
1969
 
1970
fi
1971
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1972
 
1973
# We need awk for the "check" target.  The system "awk" is bad on
1974
# some platforms.
1975
# Always define AMTAR for backward compatibility.
1976
 
1977
AMTAR=${AMTAR-"${am_missing_run}tar"}
1978
 
1979
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1980
 
1981
 
1982
 
1983
 
1984
 
1985
 
1986
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1987
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1988
# are probably using a cross compiler, which will not be able to fully
1989
# link an executable.  This should really be fixed in autoconf
1990
# itself.
1991
 
1992
 
1993
 
1994
 
1995
 
1996
 
1997
 
1998
# Extract the first word of "gcc", so it can be a program name with args.
1999
set dummy gcc; ac_word=$2
2000
echo "$as_me:$LINENO: checking for $ac_word" >&5
2001
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2002
if test "${ac_cv_prog_CC+set}" = set; then
2003
  echo $ECHO_N "(cached) $ECHO_C" >&6
2004
else
2005
  if test -n "$CC"; then
2006
  ac_cv_prog_CC="$CC" # Let the user override the test.
2007
else
2008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009
for as_dir in $PATH
2010
do
2011
  IFS=$as_save_IFS
2012
  test -z "$as_dir" && as_dir=.
2013
  for ac_exec_ext in '' $ac_executable_extensions; do
2014
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2015
    ac_cv_prog_CC="gcc"
2016
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017
    break 2
2018
  fi
2019
done
2020
done
2021
 
2022
fi
2023
fi
2024
CC=$ac_cv_prog_CC
2025
if test -n "$CC"; then
2026
  echo "$as_me:$LINENO: result: $CC" >&5
2027
echo "${ECHO_T}$CC" >&6
2028
else
2029
  echo "$as_me:$LINENO: result: no" >&5
2030
echo "${ECHO_T}no" >&6
2031
fi
2032
 
2033
 
2034
depcc="$CC"   am_compiler_list=
2035
 
2036
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2037
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2038
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2039
  echo $ECHO_N "(cached) $ECHO_C" >&6
2040
else
2041
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2042
  # We make a subdir and do the tests there.  Otherwise we can end up
2043
  # making bogus files that we don't know about and never remove.  For
2044
  # instance it was reported that on HP-UX the gcc test will end up
2045
  # making a dummy file named `D' -- because `-MD' means `put the output
2046
  # in D'.
2047
  mkdir conftest.dir
2048
  # Copy depcomp to subdir because otherwise we won't find it if we're
2049
  # using a relative directory.
2050
  cp "$am_depcomp" conftest.dir
2051
  cd conftest.dir
2052
  # We will build objects and dependencies in a subdirectory because
2053
  # it helps to detect inapplicable dependency modes.  For instance
2054
  # both Tru64's cc and ICC support -MD to output dependencies as a
2055
  # side effect of compilation, but ICC will put the dependencies in
2056
  # the current directory while Tru64 will put them in the object
2057
  # directory.
2058
  mkdir sub
2059
 
2060
  am_cv_CC_dependencies_compiler_type=none
2061
  if test "$am_compiler_list" = ""; then
2062
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2063
  fi
2064
  for depmode in $am_compiler_list; do
2065
    # Setup a source with many dependencies, because some compilers
2066
    # like to wrap large dependency lists on column 80 (with \), and
2067
    # we should not choose a depcomp mode which is confused by this.
2068
    #
2069
    # We need to recreate these files for each test, as the compiler may
2070
    # overwrite some of them when testing with obscure command lines.
2071
    # This happens at least with the AIX C compiler.
2072
    : > sub/conftest.c
2073
    for i in 1 2 3 4 5 6; do
2074
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2075
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2076
      # Solaris 8's {/usr,}/bin/sh.
2077
      touch sub/conftst$i.h
2078
    done
2079
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2080
 
2081
    case $depmode in
2082
    nosideeffect)
2083
      # after this tag, mechanisms are not by side-effect, so they'll
2084
      # only be used when explicitly requested
2085
      if test "x$enable_dependency_tracking" = xyes; then
2086
        continue
2087
      else
2088
        break
2089
      fi
2090
      ;;
2091
    none) break ;;
2092
    esac
2093
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2094
    # mode.  It turns out that the SunPro C++ compiler does not properly
2095
    # handle `-M -o', and we need to detect this.
2096
    if depmode=$depmode \
2097
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2098
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2099
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2100
         >/dev/null 2>conftest.err &&
2101
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2102
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2103
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2104
      # icc doesn't choke on unknown options, it will just issue warnings
2105
      # or remarks (even with -Werror).  So we grep stderr for any message
2106
      # that says an option was ignored or not supported.
2107
      # When given -MP, icc 7.0 and 7.1 complain thusly:
2108
      #   icc: Command line warning: ignoring option '-M'; no argument required
2109
      # The diagnosis changed in icc 8.0:
2110
      #   icc: Command line remark: option '-MP' not supported
2111
      if (grep 'ignoring option' conftest.err ||
2112
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2113
        am_cv_CC_dependencies_compiler_type=$depmode
2114
        break
2115
      fi
2116
    fi
2117
  done
2118
 
2119
  cd ..
2120
  rm -rf conftest.dir
2121
else
2122
  am_cv_CC_dependencies_compiler_type=none
2123
fi
2124
 
2125
fi
2126
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2127
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2128
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2129
 
2130
 
2131
 
2132
if
2133
  test "x$enable_dependency_tracking" != xno \
2134
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2135
  am__fastdepCC_TRUE=
2136
  am__fastdepCC_FALSE='#'
2137
else
2138
  am__fastdepCC_TRUE='#'
2139
  am__fastdepCC_FALSE=
2140
fi
2141
 
2142
 
2143
if test -z "$CC"; then
2144
  # Extract the first word of "cc", so it can be a program name with args.
2145
set dummy cc; ac_word=$2
2146
echo "$as_me:$LINENO: checking for $ac_word" >&5
2147
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148
if test "${ac_cv_prog_CC+set}" = set; then
2149
  echo $ECHO_N "(cached) $ECHO_C" >&6
2150
else
2151
  if test -n "$CC"; then
2152
  ac_cv_prog_CC="$CC" # Let the user override the test.
2153
else
2154
  ac_prog_rejected=no
2155
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156
for as_dir in $PATH
2157
do
2158
  IFS=$as_save_IFS
2159
  test -z "$as_dir" && as_dir=.
2160
  for ac_exec_ext in '' $ac_executable_extensions; do
2161
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2162
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2163
       ac_prog_rejected=yes
2164
       continue
2165
     fi
2166
    ac_cv_prog_CC="cc"
2167
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2168
    break 2
2169
  fi
2170
done
2171
done
2172
 
2173
if test $ac_prog_rejected = yes; then
2174
  # We found a bogon in the path, so make sure we never use it.
2175
  set dummy $ac_cv_prog_CC
2176
  shift
2177
  if test $# != 0; then
2178
    # We chose a different compiler from the bogus one.
2179
    # However, it has the same basename, so the bogon will be chosen
2180
    # first if we set CC to just the basename; use the full file name.
2181
    shift
2182
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2183
  fi
2184
fi
2185
fi
2186
fi
2187
CC=$ac_cv_prog_CC
2188
if test -n "$CC"; then
2189
  echo "$as_me:$LINENO: result: $CC" >&5
2190
echo "${ECHO_T}$CC" >&6
2191
else
2192
  echo "$as_me:$LINENO: result: no" >&5
2193
echo "${ECHO_T}no" >&6
2194
fi
2195
 
2196
  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2197
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2198
   { (exit 1); exit 1; }; }
2199
fi
2200
 
2201
echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2202
echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2203
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2204
  echo $ECHO_N "(cached) $ECHO_C" >&6
2205
else
2206
  cat > conftest.c <
2207
#ifdef __GNUC__
2208
  yes;
2209
#endif
2210
EOF
2211
if { ac_try='${CC-cc} -E conftest.c'
2212
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213
  (eval $ac_try) 2>&5
2214
  ac_status=$?
2215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2217
  ac_cv_c_compiler_gnu=yes
2218
else
2219
  ac_cv_c_compiler_gnu=no
2220
fi
2221
fi
2222
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2223
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2224
 
2225
if test $ac_cv_c_compiler_gnu = yes; then
2226
  GCC=yes
2227
  ac_test_CFLAGS="${CFLAGS+set}"
2228
  ac_save_CFLAGS="$CFLAGS"
2229
  CFLAGS=
2230
  ac_test_CFLAGS=${CFLAGS+set}
2231
ac_save_CFLAGS=$CFLAGS
2232
CFLAGS="-g"
2233
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2234
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2235
if test "${ac_cv_prog_cc_g+set}" = set; then
2236
  echo $ECHO_N "(cached) $ECHO_C" >&6
2237
else
2238
  cat >conftest.$ac_ext <<_ACEOF
2239
/* confdefs.h.  */
2240
_ACEOF
2241
cat confdefs.h >>conftest.$ac_ext
2242
cat >>conftest.$ac_ext <<_ACEOF
2243
/* end confdefs.h.  */
2244
 
2245
int
2246
main ()
2247
{
2248
 
2249
  ;
2250
  return 0;
2251
}
2252
_ACEOF
2253
rm -f conftest.$ac_objext
2254
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255
  (eval $ac_compile) 2>conftest.er1
2256
  ac_status=$?
2257
  grep -v '^ *+' conftest.er1 >conftest.err
2258
  rm -f conftest.er1
2259
  cat conftest.err >&5
2260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261
  (exit $ac_status); } &&
2262
         { ac_try='test -z "$ac_c_werror_flag"
2263
                         || test ! -s conftest.err'
2264
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265
  (eval $ac_try) 2>&5
2266
  ac_status=$?
2267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268
  (exit $ac_status); }; } &&
2269
         { ac_try='test -s conftest.$ac_objext'
2270
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271
  (eval $ac_try) 2>&5
2272
  ac_status=$?
2273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274
  (exit $ac_status); }; }; then
2275
  ac_cv_prog_cc_g=yes
2276
else
2277
  echo "$as_me: failed program was:" >&5
2278
sed 's/^/| /' conftest.$ac_ext >&5
2279
 
2280
ac_cv_prog_cc_g=no
2281
fi
2282
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2283
fi
2284
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2285
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2286
if test "$ac_test_CFLAGS" = set; then
2287
  CFLAGS=$ac_save_CFLAGS
2288
elif test $ac_cv_prog_cc_g = yes; then
2289
  if test "$GCC" = yes; then
2290
    CFLAGS="-g -O2"
2291
  else
2292
    CFLAGS="-g"
2293
  fi
2294
else
2295
  if test "$GCC" = yes; then
2296
    CFLAGS="-O2"
2297
  else
2298
    CFLAGS=
2299
  fi
2300
fi
2301
  if test "$ac_test_CFLAGS" = set; then
2302
    CFLAGS="$ac_save_CFLAGS"
2303
  elif test $ac_cv_prog_cc_g = yes; then
2304
    CFLAGS="-g -O2"
2305
  else
2306
    CFLAGS="-O2"
2307
  fi
2308
else
2309
  GCC=
2310
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2311
fi
2312
 
2313
 
2314
if test -n "$ac_tool_prefix"; then
2315
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2316
set dummy ${ac_tool_prefix}as; ac_word=$2
2317
echo "$as_me:$LINENO: checking for $ac_word" >&5
2318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2319
if test "${ac_cv_prog_AS+set}" = set; then
2320
  echo $ECHO_N "(cached) $ECHO_C" >&6
2321
else
2322
  if test -n "$AS"; then
2323
  ac_cv_prog_AS="$AS" # Let the user override the test.
2324
else
2325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326
for as_dir in $PATH
2327
do
2328
  IFS=$as_save_IFS
2329
  test -z "$as_dir" && as_dir=.
2330
  for ac_exec_ext in '' $ac_executable_extensions; do
2331
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2332
    ac_cv_prog_AS="${ac_tool_prefix}as"
2333
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334
    break 2
2335
  fi
2336
done
2337
done
2338
 
2339
fi
2340
fi
2341
AS=$ac_cv_prog_AS
2342
if test -n "$AS"; then
2343
  echo "$as_me:$LINENO: result: $AS" >&5
2344
echo "${ECHO_T}$AS" >&6
2345
else
2346
  echo "$as_me:$LINENO: result: no" >&5
2347
echo "${ECHO_T}no" >&6
2348
fi
2349
 
2350
fi
2351
if test -z "$ac_cv_prog_AS"; then
2352
  ac_ct_AS=$AS
2353
  # Extract the first word of "as", so it can be a program name with args.
2354
set dummy as; ac_word=$2
2355
echo "$as_me:$LINENO: checking for $ac_word" >&5
2356
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2357
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2358
  echo $ECHO_N "(cached) $ECHO_C" >&6
2359
else
2360
  if test -n "$ac_ct_AS"; then
2361
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2362
else
2363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364
for as_dir in $PATH
2365
do
2366
  IFS=$as_save_IFS
2367
  test -z "$as_dir" && as_dir=.
2368
  for ac_exec_ext in '' $ac_executable_extensions; do
2369
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2370
    ac_cv_prog_ac_ct_AS="as"
2371
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372
    break 2
2373
  fi
2374
done
2375
done
2376
 
2377
fi
2378
fi
2379
ac_ct_AS=$ac_cv_prog_ac_ct_AS
2380
if test -n "$ac_ct_AS"; then
2381
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2382
echo "${ECHO_T}$ac_ct_AS" >&6
2383
else
2384
  echo "$as_me:$LINENO: result: no" >&5
2385
echo "${ECHO_T}no" >&6
2386
fi
2387
 
2388
  AS=$ac_ct_AS
2389
else
2390
  AS="$ac_cv_prog_AS"
2391
fi
2392
 
2393
if test -n "$ac_tool_prefix"; then
2394
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2395
set dummy ${ac_tool_prefix}ar; ac_word=$2
2396
echo "$as_me:$LINENO: checking for $ac_word" >&5
2397
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2398
if test "${ac_cv_prog_AR+set}" = set; then
2399
  echo $ECHO_N "(cached) $ECHO_C" >&6
2400
else
2401
  if test -n "$AR"; then
2402
  ac_cv_prog_AR="$AR" # Let the user override the test.
2403
else
2404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405
for as_dir in $PATH
2406
do
2407
  IFS=$as_save_IFS
2408
  test -z "$as_dir" && as_dir=.
2409
  for ac_exec_ext in '' $ac_executable_extensions; do
2410
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411
    ac_cv_prog_AR="${ac_tool_prefix}ar"
2412
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413
    break 2
2414
  fi
2415
done
2416
done
2417
 
2418
fi
2419
fi
2420
AR=$ac_cv_prog_AR
2421
if test -n "$AR"; then
2422
  echo "$as_me:$LINENO: result: $AR" >&5
2423
echo "${ECHO_T}$AR" >&6
2424
else
2425
  echo "$as_me:$LINENO: result: no" >&5
2426
echo "${ECHO_T}no" >&6
2427
fi
2428
 
2429
fi
2430
if test -z "$ac_cv_prog_AR"; then
2431
  ac_ct_AR=$AR
2432
  # Extract the first word of "ar", so it can be a program name with args.
2433
set dummy ar; ac_word=$2
2434
echo "$as_me:$LINENO: checking for $ac_word" >&5
2435
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2437
  echo $ECHO_N "(cached) $ECHO_C" >&6
2438
else
2439
  if test -n "$ac_ct_AR"; then
2440
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2441
else
2442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443
for as_dir in $PATH
2444
do
2445
  IFS=$as_save_IFS
2446
  test -z "$as_dir" && as_dir=.
2447
  for ac_exec_ext in '' $ac_executable_extensions; do
2448
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449
    ac_cv_prog_ac_ct_AR="ar"
2450
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451
    break 2
2452
  fi
2453
done
2454
done
2455
 
2456
fi
2457
fi
2458
ac_ct_AR=$ac_cv_prog_ac_ct_AR
2459
if test -n "$ac_ct_AR"; then
2460
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2461
echo "${ECHO_T}$ac_ct_AR" >&6
2462
else
2463
  echo "$as_me:$LINENO: result: no" >&5
2464
echo "${ECHO_T}no" >&6
2465
fi
2466
 
2467
  AR=$ac_ct_AR
2468
else
2469
  AR="$ac_cv_prog_AR"
2470
fi
2471
 
2472
if test -n "$ac_tool_prefix"; then
2473
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2474
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2475
echo "$as_me:$LINENO: checking for $ac_word" >&5
2476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2477
if test "${ac_cv_prog_RANLIB+set}" = set; then
2478
  echo $ECHO_N "(cached) $ECHO_C" >&6
2479
else
2480
  if test -n "$RANLIB"; then
2481
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2482
else
2483
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484
for as_dir in $PATH
2485
do
2486
  IFS=$as_save_IFS
2487
  test -z "$as_dir" && as_dir=.
2488
  for ac_exec_ext in '' $ac_executable_extensions; do
2489
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2491
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492
    break 2
2493
  fi
2494
done
2495
done
2496
 
2497
fi
2498
fi
2499
RANLIB=$ac_cv_prog_RANLIB
2500
if test -n "$RANLIB"; then
2501
  echo "$as_me:$LINENO: result: $RANLIB" >&5
2502
echo "${ECHO_T}$RANLIB" >&6
2503
else
2504
  echo "$as_me:$LINENO: result: no" >&5
2505
echo "${ECHO_T}no" >&6
2506
fi
2507
 
2508
fi
2509
if test -z "$ac_cv_prog_RANLIB"; then
2510
  ac_ct_RANLIB=$RANLIB
2511
  # Extract the first word of "ranlib", so it can be a program name with args.
2512
set dummy ranlib; ac_word=$2
2513
echo "$as_me:$LINENO: checking for $ac_word" >&5
2514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2515
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2516
  echo $ECHO_N "(cached) $ECHO_C" >&6
2517
else
2518
  if test -n "$ac_ct_RANLIB"; then
2519
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2520
else
2521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522
for as_dir in $PATH
2523
do
2524
  IFS=$as_save_IFS
2525
  test -z "$as_dir" && as_dir=.
2526
  for ac_exec_ext in '' $ac_executable_extensions; do
2527
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2529
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530
    break 2
2531
  fi
2532
done
2533
done
2534
 
2535
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2536
fi
2537
fi
2538
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2539
if test -n "$ac_ct_RANLIB"; then
2540
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2541
echo "${ECHO_T}$ac_ct_RANLIB" >&6
2542
else
2543
  echo "$as_me:$LINENO: result: no" >&5
2544
echo "${ECHO_T}no" >&6
2545
fi
2546
 
2547
  RANLIB=$ac_ct_RANLIB
2548
else
2549
  RANLIB="$ac_cv_prog_RANLIB"
2550
fi
2551
 
2552
if test -n "$ac_tool_prefix"; then
2553
  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2554
set dummy ${ac_tool_prefix}readelf; ac_word=$2
2555
echo "$as_me:$LINENO: checking for $ac_word" >&5
2556
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2557
if test "${ac_cv_prog_READELF+set}" = set; then
2558
  echo $ECHO_N "(cached) $ECHO_C" >&6
2559
else
2560
  if test -n "$READELF"; then
2561
  ac_cv_prog_READELF="$READELF" # Let the user override the test.
2562
else
2563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564
for as_dir in $PATH
2565
do
2566
  IFS=$as_save_IFS
2567
  test -z "$as_dir" && as_dir=.
2568
  for ac_exec_ext in '' $ac_executable_extensions; do
2569
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570
    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2571
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2572
    break 2
2573
  fi
2574
done
2575
done
2576
 
2577
fi
2578
fi
2579
READELF=$ac_cv_prog_READELF
2580
if test -n "$READELF"; then
2581
  echo "$as_me:$LINENO: result: $READELF" >&5
2582
echo "${ECHO_T}$READELF" >&6
2583
else
2584
  echo "$as_me:$LINENO: result: no" >&5
2585
echo "${ECHO_T}no" >&6
2586
fi
2587
 
2588
fi
2589
if test -z "$ac_cv_prog_READELF"; then
2590
  ac_ct_READELF=$READELF
2591
  # Extract the first word of "readelf", so it can be a program name with args.
2592
set dummy readelf; ac_word=$2
2593
echo "$as_me:$LINENO: checking for $ac_word" >&5
2594
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2595
if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2596
  echo $ECHO_N "(cached) $ECHO_C" >&6
2597
else
2598
  if test -n "$ac_ct_READELF"; then
2599
  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2600
else
2601
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602
for as_dir in $PATH
2603
do
2604
  IFS=$as_save_IFS
2605
  test -z "$as_dir" && as_dir=.
2606
  for ac_exec_ext in '' $ac_executable_extensions; do
2607
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608
    ac_cv_prog_ac_ct_READELF="readelf"
2609
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610
    break 2
2611
  fi
2612
done
2613
done
2614
 
2615
  test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2616
fi
2617
fi
2618
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2619
if test -n "$ac_ct_READELF"; then
2620
  echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2621
echo "${ECHO_T}$ac_ct_READELF" >&6
2622
else
2623
  echo "$as_me:$LINENO: result: no" >&5
2624
echo "${ECHO_T}no" >&6
2625
fi
2626
 
2627
  READELF=$ac_ct_READELF
2628
else
2629
  READELF="$ac_cv_prog_READELF"
2630
fi
2631
 
2632
 
2633
# Find a good install program.  We prefer a C program (faster),
2634
# so one script is as good as another.  But avoid the broken or
2635
# incompatible versions:
2636
# SysV /etc/install, /usr/sbin/install
2637
# SunOS /usr/etc/install
2638
# IRIX /sbin/install
2639
# AIX /bin/install
2640
# AmigaOS /C/install, which installs bootblocks on floppy discs
2641
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2642
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2643
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2644
# OS/2's system install, which has a completely different semantic
2645
# ./install, which can be erroneously created by make from ./install.sh.
2646
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2647
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2648
if test -z "$INSTALL"; then
2649
if test "${ac_cv_path_install+set}" = set; then
2650
  echo $ECHO_N "(cached) $ECHO_C" >&6
2651
else
2652
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653
for as_dir in $PATH
2654
do
2655
  IFS=$as_save_IFS
2656
  test -z "$as_dir" && as_dir=.
2657
  # Account for people who put trailing slashes in PATH elements.
2658
case $as_dir/ in
2659
  ./ | .// | /cC/* | \
2660
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2661
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2662
  /usr/ucb/* ) ;;
2663
  *)
2664
    # OSF1 and SCO ODT 3.0 have their own names for install.
2665
    # Don't use installbsd from OSF since it installs stuff as root
2666
    # by default.
2667
    for ac_prog in ginstall scoinst install; do
2668
      for ac_exec_ext in '' $ac_executable_extensions; do
2669
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2670
          if test $ac_prog = install &&
2671
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2672
            # AIX install.  It has an incompatible calling convention.
2673
            :
2674
          elif test $ac_prog = install &&
2675
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2676
            # program-specific install script used by HP pwplus--don't use.
2677
            :
2678
          else
2679
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2680
            break 3
2681
          fi
2682
        fi
2683
      done
2684
    done
2685
    ;;
2686
esac
2687
done
2688
 
2689
 
2690
fi
2691
  if test "${ac_cv_path_install+set}" = set; then
2692
    INSTALL=$ac_cv_path_install
2693
  else
2694
    # As a last resort, use the slow shell script.  We don't cache a
2695
    # path for INSTALL within a source directory, because that will
2696
    # break other packages using the cache if that directory is
2697
    # removed, or if the path is relative.
2698
    INSTALL=$ac_install_sh
2699
  fi
2700
fi
2701
echo "$as_me:$LINENO: result: $INSTALL" >&5
2702
echo "${ECHO_T}$INSTALL" >&6
2703
 
2704
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2705
# It thinks the first close brace ends the variable substitution.
2706
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2707
 
2708
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2709
 
2710
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2711
 
2712
 
2713
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
2714
ac_given_INSTALL=$INSTALL
2715
 
2716
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2717
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2718
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2719
if test "${enable_maintainer_mode+set}" = set; then
2720
  enableval="$enable_maintainer_mode"
2721
  USE_MAINTAINER_MODE=$enableval
2722
else
2723
  USE_MAINTAINER_MODE=no
2724
fi;
2725
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2726
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2727
 
2728
 
2729
if test $USE_MAINTAINER_MODE = yes; then
2730
  MAINTAINER_MODE_TRUE=
2731
  MAINTAINER_MODE_FALSE='#'
2732
else
2733
  MAINTAINER_MODE_TRUE='#'
2734
  MAINTAINER_MODE_FALSE=
2735
fi
2736
 
2737
  MAINT=$MAINTAINER_MODE_TRUE
2738
 
2739
 
2740
# By default we simply use the C compiler to build assembly code.
2741
 
2742
test "${CCAS+set}" = set || CCAS=$CC
2743
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2744
 
2745
 
2746
 
2747
 
2748
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
2749
# at least currently, we never actually build a program, so we never
2750
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
2751
# fails, because we are probably configuring with a cross compiler
2752
# which can't create executables.  So we include AC_EXEEXT to keep
2753
# automake happy, but we don't execute it, since we don't care about
2754
# the result.
2755
if false; then
2756
 
2757
  dummy_var=1
2758
fi
2759
 
2760
. ${newlib_basedir}/configure.host
2761
 
2762
newlib_cflags="${newlib_cflags} -fno-builtin"
2763
 
2764
NEWLIB_CFLAGS=${newlib_cflags}
2765
 
2766
 
2767
LDFLAGS=${ldflags}
2768
 
2769
 
2770
 
2771
 
2772
if test x${newlib_elix_level} = x0; then
2773
  ELIX_LEVEL_0_TRUE=
2774
  ELIX_LEVEL_0_FALSE='#'
2775
else
2776
  ELIX_LEVEL_0_TRUE='#'
2777
  ELIX_LEVEL_0_FALSE=
2778
fi
2779
 
2780
 
2781
 
2782
if test x${newlib_elix_level} = x1; then
2783
  ELIX_LEVEL_1_TRUE=
2784
  ELIX_LEVEL_1_FALSE='#'
2785
else
2786
  ELIX_LEVEL_1_TRUE='#'
2787
  ELIX_LEVEL_1_FALSE=
2788
fi
2789
 
2790
 
2791
 
2792
if test x${newlib_elix_level} = x2; then
2793
  ELIX_LEVEL_2_TRUE=
2794
  ELIX_LEVEL_2_FALSE='#'
2795
else
2796
  ELIX_LEVEL_2_TRUE='#'
2797
  ELIX_LEVEL_2_FALSE=
2798
fi
2799
 
2800
 
2801
 
2802
if test x${newlib_elix_level} = x3; then
2803
  ELIX_LEVEL_3_TRUE=
2804
  ELIX_LEVEL_3_FALSE='#'
2805
else
2806
  ELIX_LEVEL_3_TRUE='#'
2807
  ELIX_LEVEL_3_FALSE=
2808
fi
2809
 
2810
 
2811
 
2812
if test x${newlib_elix_level} = x4; then
2813
  ELIX_LEVEL_4_TRUE=
2814
  ELIX_LEVEL_4_FALSE='#'
2815
else
2816
  ELIX_LEVEL_4_TRUE='#'
2817
  ELIX_LEVEL_4_FALSE=
2818
fi
2819
 
2820
 
2821
 
2822
 
2823
if test x${use_libtool} = xyes; then
2824
  USE_LIBTOOL_TRUE=
2825
  USE_LIBTOOL_FALSE='#'
2826
else
2827
  USE_LIBTOOL_TRUE='#'
2828
  USE_LIBTOOL_FALSE=
2829
fi
2830
 
2831
 
2832
# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
2833
# use oext, which is set in configure.host based on the target platform.
2834
OBJEXT=${oext}
2835
 
2836
 
2837
 
2838
 
2839
 
2840
 
2841
 
2842
 
2843
 
2844
 
2845
 
2846
 
2847
 
2848
ac_ext=c
2849
ac_cpp='$CPP $CPPFLAGS'
2850
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2851
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2852
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853
if test -n "$ac_tool_prefix"; then
2854
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2855
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2856
echo "$as_me:$LINENO: checking for $ac_word" >&5
2857
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2858
if test "${ac_cv_prog_CC+set}" = set; then
2859
  echo $ECHO_N "(cached) $ECHO_C" >&6
2860
else
2861
  if test -n "$CC"; then
2862
  ac_cv_prog_CC="$CC" # Let the user override the test.
2863
else
2864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865
for as_dir in $PATH
2866
do
2867
  IFS=$as_save_IFS
2868
  test -z "$as_dir" && as_dir=.
2869
  for ac_exec_ext in '' $ac_executable_extensions; do
2870
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2871
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2872
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873
    break 2
2874
  fi
2875
done
2876
done
2877
 
2878
fi
2879
fi
2880
CC=$ac_cv_prog_CC
2881
if test -n "$CC"; then
2882
  echo "$as_me:$LINENO: result: $CC" >&5
2883
echo "${ECHO_T}$CC" >&6
2884
else
2885
  echo "$as_me:$LINENO: result: no" >&5
2886
echo "${ECHO_T}no" >&6
2887
fi
2888
 
2889
fi
2890
if test -z "$ac_cv_prog_CC"; then
2891
  ac_ct_CC=$CC
2892
  # Extract the first word of "gcc", so it can be a program name with args.
2893
set dummy gcc; ac_word=$2
2894
echo "$as_me:$LINENO: checking for $ac_word" >&5
2895
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2896
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2897
  echo $ECHO_N "(cached) $ECHO_C" >&6
2898
else
2899
  if test -n "$ac_ct_CC"; then
2900
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2901
else
2902
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903
for as_dir in $PATH
2904
do
2905
  IFS=$as_save_IFS
2906
  test -z "$as_dir" && as_dir=.
2907
  for ac_exec_ext in '' $ac_executable_extensions; do
2908
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909
    ac_cv_prog_ac_ct_CC="gcc"
2910
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911
    break 2
2912
  fi
2913
done
2914
done
2915
 
2916
fi
2917
fi
2918
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2919
if test -n "$ac_ct_CC"; then
2920
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2921
echo "${ECHO_T}$ac_ct_CC" >&6
2922
else
2923
  echo "$as_me:$LINENO: result: no" >&5
2924
echo "${ECHO_T}no" >&6
2925
fi
2926
 
2927
  CC=$ac_ct_CC
2928
else
2929
  CC="$ac_cv_prog_CC"
2930
fi
2931
 
2932
if test -z "$CC"; then
2933
  if test -n "$ac_tool_prefix"; then
2934
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2935
set dummy ${ac_tool_prefix}cc; ac_word=$2
2936
echo "$as_me:$LINENO: checking for $ac_word" >&5
2937
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2938
if test "${ac_cv_prog_CC+set}" = set; then
2939
  echo $ECHO_N "(cached) $ECHO_C" >&6
2940
else
2941
  if test -n "$CC"; then
2942
  ac_cv_prog_CC="$CC" # Let the user override the test.
2943
else
2944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945
for as_dir in $PATH
2946
do
2947
  IFS=$as_save_IFS
2948
  test -z "$as_dir" && as_dir=.
2949
  for ac_exec_ext in '' $ac_executable_extensions; do
2950
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2952
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2953
    break 2
2954
  fi
2955
done
2956
done
2957
 
2958
fi
2959
fi
2960
CC=$ac_cv_prog_CC
2961
if test -n "$CC"; then
2962
  echo "$as_me:$LINENO: result: $CC" >&5
2963
echo "${ECHO_T}$CC" >&6
2964
else
2965
  echo "$as_me:$LINENO: result: no" >&5
2966
echo "${ECHO_T}no" >&6
2967
fi
2968
 
2969
fi
2970
if test -z "$ac_cv_prog_CC"; then
2971
  ac_ct_CC=$CC
2972
  # Extract the first word of "cc", so it can be a program name with args.
2973
set dummy cc; ac_word=$2
2974
echo "$as_me:$LINENO: checking for $ac_word" >&5
2975
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2977
  echo $ECHO_N "(cached) $ECHO_C" >&6
2978
else
2979
  if test -n "$ac_ct_CC"; then
2980
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2981
else
2982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983
for as_dir in $PATH
2984
do
2985
  IFS=$as_save_IFS
2986
  test -z "$as_dir" && as_dir=.
2987
  for ac_exec_ext in '' $ac_executable_extensions; do
2988
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989
    ac_cv_prog_ac_ct_CC="cc"
2990
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991
    break 2
2992
  fi
2993
done
2994
done
2995
 
2996
fi
2997
fi
2998
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2999
if test -n "$ac_ct_CC"; then
3000
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3001
echo "${ECHO_T}$ac_ct_CC" >&6
3002
else
3003
  echo "$as_me:$LINENO: result: no" >&5
3004
echo "${ECHO_T}no" >&6
3005
fi
3006
 
3007
  CC=$ac_ct_CC
3008
else
3009
  CC="$ac_cv_prog_CC"
3010
fi
3011
 
3012
fi
3013
if test -z "$CC"; then
3014
  # Extract the first word of "cc", so it can be a program name with args.
3015
set dummy cc; ac_word=$2
3016
echo "$as_me:$LINENO: checking for $ac_word" >&5
3017
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3018
if test "${ac_cv_prog_CC+set}" = set; then
3019
  echo $ECHO_N "(cached) $ECHO_C" >&6
3020
else
3021
  if test -n "$CC"; then
3022
  ac_cv_prog_CC="$CC" # Let the user override the test.
3023
else
3024
  ac_prog_rejected=no
3025
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026
for as_dir in $PATH
3027
do
3028
  IFS=$as_save_IFS
3029
  test -z "$as_dir" && as_dir=.
3030
  for ac_exec_ext in '' $ac_executable_extensions; do
3031
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3033
       ac_prog_rejected=yes
3034
       continue
3035
     fi
3036
    ac_cv_prog_CC="cc"
3037
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3038
    break 2
3039
  fi
3040
done
3041
done
3042
 
3043
if test $ac_prog_rejected = yes; then
3044
  # We found a bogon in the path, so make sure we never use it.
3045
  set dummy $ac_cv_prog_CC
3046
  shift
3047
  if test $# != 0; then
3048
    # We chose a different compiler from the bogus one.
3049
    # However, it has the same basename, so the bogon will be chosen
3050
    # first if we set CC to just the basename; use the full file name.
3051
    shift
3052
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3053
  fi
3054
fi
3055
fi
3056
fi
3057
CC=$ac_cv_prog_CC
3058
if test -n "$CC"; then
3059
  echo "$as_me:$LINENO: result: $CC" >&5
3060
echo "${ECHO_T}$CC" >&6
3061
else
3062
  echo "$as_me:$LINENO: result: no" >&5
3063
echo "${ECHO_T}no" >&6
3064
fi
3065
 
3066
fi
3067
if test -z "$CC"; then
3068
  if test -n "$ac_tool_prefix"; then
3069
  for ac_prog in cl
3070
  do
3071
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3072
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3073
echo "$as_me:$LINENO: checking for $ac_word" >&5
3074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075
if test "${ac_cv_prog_CC+set}" = set; then
3076
  echo $ECHO_N "(cached) $ECHO_C" >&6
3077
else
3078
  if test -n "$CC"; then
3079
  ac_cv_prog_CC="$CC" # Let the user override the test.
3080
else
3081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082
for as_dir in $PATH
3083
do
3084
  IFS=$as_save_IFS
3085
  test -z "$as_dir" && as_dir=.
3086
  for ac_exec_ext in '' $ac_executable_extensions; do
3087
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3089
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3090
    break 2
3091
  fi
3092
done
3093
done
3094
 
3095
fi
3096
fi
3097
CC=$ac_cv_prog_CC
3098
if test -n "$CC"; then
3099
  echo "$as_me:$LINENO: result: $CC" >&5
3100
echo "${ECHO_T}$CC" >&6
3101
else
3102
  echo "$as_me:$LINENO: result: no" >&5
3103
echo "${ECHO_T}no" >&6
3104
fi
3105
 
3106
    test -n "$CC" && break
3107
  done
3108
fi
3109
if test -z "$CC"; then
3110
  ac_ct_CC=$CC
3111
  for ac_prog in cl
3112
do
3113
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3114
set dummy $ac_prog; ac_word=$2
3115
echo "$as_me:$LINENO: checking for $ac_word" >&5
3116
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3118
  echo $ECHO_N "(cached) $ECHO_C" >&6
3119
else
3120
  if test -n "$ac_ct_CC"; then
3121
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3122
else
3123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124
for as_dir in $PATH
3125
do
3126
  IFS=$as_save_IFS
3127
  test -z "$as_dir" && as_dir=.
3128
  for ac_exec_ext in '' $ac_executable_extensions; do
3129
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3130
    ac_cv_prog_ac_ct_CC="$ac_prog"
3131
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3132
    break 2
3133
  fi
3134
done
3135
done
3136
 
3137
fi
3138
fi
3139
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3140
if test -n "$ac_ct_CC"; then
3141
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3142
echo "${ECHO_T}$ac_ct_CC" >&6
3143
else
3144
  echo "$as_me:$LINENO: result: no" >&5
3145
echo "${ECHO_T}no" >&6
3146
fi
3147
 
3148
  test -n "$ac_ct_CC" && break
3149
done
3150
 
3151
  CC=$ac_ct_CC
3152
fi
3153
 
3154
fi
3155
 
3156
 
3157
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3158
See \`config.log' for more details." >&5
3159
echo "$as_me: error: no acceptable C compiler found in \$PATH
3160
See \`config.log' for more details." >&2;}
3161
   { (exit 1); exit 1; }; }
3162
 
3163
# Provide some information about the compiler.
3164
echo "$as_me:$LINENO:" \
3165
     "checking for C compiler version" >&5
3166
ac_compiler=`set X $ac_compile; echo $2`
3167
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5
3168
  (eval $ac_compiler --version &5) 2>&5
3169
  ac_status=$?
3170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
  (exit $ac_status); }
3172
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5
3173
  (eval $ac_compiler -v &5) 2>&5
3174
  ac_status=$?
3175
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
  (exit $ac_status); }
3177
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5
3178
  (eval $ac_compiler -V &5) 2>&5
3179
  ac_status=$?
3180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181
  (exit $ac_status); }
3182
 
3183
cat >conftest.$ac_ext <<_ACEOF
3184
/* confdefs.h.  */
3185
_ACEOF
3186
cat confdefs.h >>conftest.$ac_ext
3187
cat >>conftest.$ac_ext <<_ACEOF
3188
/* end confdefs.h.  */
3189
 
3190
int
3191
main ()
3192
{
3193
 
3194
  ;
3195
  return 0;
3196
}
3197
_ACEOF
3198
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3199
  (eval $ac_link) 2>&5
3200
  ac_status=$?
3201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202
  (exit $ac_status); }; then
3203
  ac_no_link=no
3204
  cat >conftest.$ac_ext <<_ACEOF
3205
/* confdefs.h.  */
3206
_ACEOF
3207
cat confdefs.h >>conftest.$ac_ext
3208
cat >>conftest.$ac_ext <<_ACEOF
3209
/* end confdefs.h.  */
3210
 
3211
int
3212
main ()
3213
{
3214
 
3215
  ;
3216
  return 0;
3217
}
3218
_ACEOF
3219
ac_clean_files_save=$ac_clean_files
3220
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3221
# Try to create an executable without -o first, disregard a.out.
3222
# It will help us diagnose broken compilers, and finding out an intuition
3223
# of exeext.
3224
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3225
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3226
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3227
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3228
  (eval $ac_link_default) 2>&5
3229
  ac_status=$?
3230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231
  (exit $ac_status); }; then
3232
  # Find the output, starting from the most likely.  This scheme is
3233
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
3234
# resort.
3235
 
3236
# Be careful to initialize this variable, since it used to be cached.
3237
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3238
ac_cv_exeext=
3239
# b.out is created by i960 compilers.
3240
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3241
do
3242
  test -f "$ac_file" || continue
3243
  case $ac_file in
3244
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3245
        ;;
3246
    conftest.$ac_ext )
3247
        # This is the source file.
3248
        ;;
3249
    [ab].out )
3250
        # We found the default executable, but exeext='' is most
3251
        # certainly right.
3252
        break;;
3253
    *.* )
3254
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3255
        # FIXME: I believe we export ac_cv_exeext for Libtool,
3256
        # but it would be cool to find out if it's true.  Does anybody
3257
        # maintain Libtool? --akim.
3258
        export ac_cv_exeext
3259
        break;;
3260
    * )
3261
        break;;
3262
  esac
3263
done
3264
else
3265
  echo "$as_me: failed program was:" >&5
3266
sed 's/^/| /' conftest.$ac_ext >&5
3267
 
3268
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3269
See \`config.log' for more details." >&5
3270
echo "$as_me: error: C compiler cannot create executables
3271
See \`config.log' for more details." >&2;}
3272
   { (exit 77); exit 77; }; }
3273
fi
3274
 
3275
ac_exeext=$ac_cv_exeext
3276
echo "$as_me:$LINENO: result: $ac_file" >&5
3277
echo "${ECHO_T}$ac_file" >&6
3278
 
3279
# Check the compiler produces executables we can run.  If not, either
3280
# the compiler is broken, or we cross compile.
3281
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3282
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3283
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3284
# If not cross compiling, check that we can run a simple program.
3285
if test "$cross_compiling" != yes; then
3286
  if { ac_try='./$ac_file'
3287
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288
  (eval $ac_try) 2>&5
3289
  ac_status=$?
3290
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291
  (exit $ac_status); }; }; then
3292
    cross_compiling=no
3293
  else
3294
    if test "$cross_compiling" = maybe; then
3295
        cross_compiling=yes
3296
    else
3297
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3298
If you meant to cross compile, use \`--host'.
3299
See \`config.log' for more details." >&5
3300
echo "$as_me: error: cannot run C compiled programs.
3301
If you meant to cross compile, use \`--host'.
3302
See \`config.log' for more details." >&2;}
3303
   { (exit 1); exit 1; }; }
3304
    fi
3305
  fi
3306
fi
3307
echo "$as_me:$LINENO: result: yes" >&5
3308
echo "${ECHO_T}yes" >&6
3309
 
3310
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3311
ac_clean_files=$ac_clean_files_save
3312
# Check the compiler produces executables we can run.  If not, either
3313
# the compiler is broken, or we cross compile.
3314
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3315
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3316
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3317
echo "${ECHO_T}$cross_compiling" >&6
3318
 
3319
echo "$as_me:$LINENO: checking for suffix of executables" >&5
3320
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3321
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3322
  (eval $ac_link) 2>&5
3323
  ac_status=$?
3324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325
  (exit $ac_status); }; then
3326
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3327
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3328
# work properly (i.e., refer to `conftest.exe'), while it won't with
3329
# `rm'.
3330
for ac_file in conftest.exe conftest conftest.*; do
3331
  test -f "$ac_file" || continue
3332
  case $ac_file in
3333
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3334
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335
          export ac_cv_exeext
3336
          break;;
3337
    * ) break;;
3338
  esac
3339
done
3340
else
3341
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3342
See \`config.log' for more details." >&5
3343
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3344
See \`config.log' for more details." >&2;}
3345
   { (exit 1); exit 1; }; }
3346
fi
3347
 
3348
rm -f conftest$ac_cv_exeext
3349
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3350
echo "${ECHO_T}$ac_cv_exeext" >&6
3351
 
3352
rm -f conftest.$ac_ext
3353
EXEEXT=$ac_cv_exeext
3354
ac_exeext=$EXEEXT
3355
 
3356
else
3357
  ac_no_link=yes
3358
  # Setting cross_compile will disable run tests; it will
3359
  # also disable AC_CHECK_FILE but that's generally
3360
  # correct if we can't link.
3361
  cross_compiling=yes
3362
  EXEEXT=
3363
  # Check the compiler produces executables we can run.  If not, either
3364
# the compiler is broken, or we cross compile.
3365
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3366
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3367
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3368
echo "${ECHO_T}$cross_compiling" >&6
3369
 
3370
fi
3371
echo "$as_me:$LINENO: checking for suffix of object files" >&5
3372
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3373
if test "${ac_cv_objext+set}" = set; then
3374
  echo $ECHO_N "(cached) $ECHO_C" >&6
3375
else
3376
  cat >conftest.$ac_ext <<_ACEOF
3377
/* confdefs.h.  */
3378
_ACEOF
3379
cat confdefs.h >>conftest.$ac_ext
3380
cat >>conftest.$ac_ext <<_ACEOF
3381
/* end confdefs.h.  */
3382
 
3383
int
3384
main ()
3385
{
3386
 
3387
  ;
3388
  return 0;
3389
}
3390
_ACEOF
3391
rm -f conftest.o conftest.obj
3392
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3393
  (eval $ac_compile) 2>&5
3394
  ac_status=$?
3395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396
  (exit $ac_status); }; then
3397
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3398
  case $ac_file in
3399
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3400
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3401
       break;;
3402
  esac
3403
done
3404
else
3405
  echo "$as_me: failed program was:" >&5
3406
sed 's/^/| /' conftest.$ac_ext >&5
3407
 
3408
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3409
See \`config.log' for more details." >&5
3410
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3411
See \`config.log' for more details." >&2;}
3412
   { (exit 1); exit 1; }; }
3413
fi
3414
 
3415
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3416
fi
3417
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3418
echo "${ECHO_T}$ac_cv_objext" >&6
3419
OBJEXT=$ac_cv_objext
3420
ac_objext=$OBJEXT
3421
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3422
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3423
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3424
  echo $ECHO_N "(cached) $ECHO_C" >&6
3425
else
3426
  cat >conftest.$ac_ext <<_ACEOF
3427
/* confdefs.h.  */
3428
_ACEOF
3429
cat confdefs.h >>conftest.$ac_ext
3430
cat >>conftest.$ac_ext <<_ACEOF
3431
/* end confdefs.h.  */
3432
 
3433
int
3434
main ()
3435
{
3436
#ifndef __GNUC__
3437
       choke me
3438
#endif
3439
 
3440
  ;
3441
  return 0;
3442
}
3443
_ACEOF
3444
rm -f conftest.$ac_objext
3445
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3446
  (eval $ac_compile) 2>conftest.er1
3447
  ac_status=$?
3448
  grep -v '^ *+' conftest.er1 >conftest.err
3449
  rm -f conftest.er1
3450
  cat conftest.err >&5
3451
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452
  (exit $ac_status); } &&
3453
         { ac_try='test -z "$ac_c_werror_flag"
3454
                         || test ! -s conftest.err'
3455
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456
  (eval $ac_try) 2>&5
3457
  ac_status=$?
3458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459
  (exit $ac_status); }; } &&
3460
         { ac_try='test -s conftest.$ac_objext'
3461
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462
  (eval $ac_try) 2>&5
3463
  ac_status=$?
3464
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
  (exit $ac_status); }; }; then
3466
  ac_compiler_gnu=yes
3467
else
3468
  echo "$as_me: failed program was:" >&5
3469
sed 's/^/| /' conftest.$ac_ext >&5
3470
 
3471
ac_compiler_gnu=no
3472
fi
3473
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3474
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3475
 
3476
fi
3477
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3478
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3479
GCC=`test $ac_compiler_gnu = yes && echo yes`
3480
ac_test_CFLAGS=${CFLAGS+set}
3481
ac_save_CFLAGS=$CFLAGS
3482
CFLAGS="-g"
3483
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3484
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3485
if test "${ac_cv_prog_cc_g+set}" = set; then
3486
  echo $ECHO_N "(cached) $ECHO_C" >&6
3487
else
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
 
3495
int
3496
main ()
3497
{
3498
 
3499
  ;
3500
  return 0;
3501
}
3502
_ACEOF
3503
rm -f conftest.$ac_objext
3504
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505
  (eval $ac_compile) 2>conftest.er1
3506
  ac_status=$?
3507
  grep -v '^ *+' conftest.er1 >conftest.err
3508
  rm -f conftest.er1
3509
  cat conftest.err >&5
3510
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511
  (exit $ac_status); } &&
3512
         { ac_try='test -z "$ac_c_werror_flag"
3513
                         || test ! -s conftest.err'
3514
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515
  (eval $ac_try) 2>&5
3516
  ac_status=$?
3517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518
  (exit $ac_status); }; } &&
3519
         { ac_try='test -s conftest.$ac_objext'
3520
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521
  (eval $ac_try) 2>&5
3522
  ac_status=$?
3523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524
  (exit $ac_status); }; }; then
3525
  ac_cv_prog_cc_g=yes
3526
else
3527
  echo "$as_me: failed program was:" >&5
3528
sed 's/^/| /' conftest.$ac_ext >&5
3529
 
3530
ac_cv_prog_cc_g=no
3531
fi
3532
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3533
fi
3534
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3535
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3536
if test "$ac_test_CFLAGS" = set; then
3537
  CFLAGS=$ac_save_CFLAGS
3538
elif test $ac_cv_prog_cc_g = yes; then
3539
  if test "$GCC" = yes; then
3540
    CFLAGS="-g -O2"
3541
  else
3542
    CFLAGS="-g"
3543
  fi
3544
else
3545
  if test "$GCC" = yes; then
3546
    CFLAGS="-O2"
3547
  else
3548
    CFLAGS=
3549
  fi
3550
fi
3551
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3552
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3553
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3554
  echo $ECHO_N "(cached) $ECHO_C" >&6
3555
else
3556
  ac_cv_prog_cc_stdc=no
3557
ac_save_CC=$CC
3558
cat >conftest.$ac_ext <<_ACEOF
3559
/* confdefs.h.  */
3560
_ACEOF
3561
cat confdefs.h >>conftest.$ac_ext
3562
cat >>conftest.$ac_ext <<_ACEOF
3563
/* end confdefs.h.  */
3564
#include 
3565
#include 
3566
#include 
3567
#include 
3568
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3569
struct buf { int x; };
3570
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3571
static char *e (p, i)
3572
     char **p;
3573
     int i;
3574
{
3575
  return p[i];
3576
}
3577
static char *f (char * (*g) (char **, int), char **p, ...)
3578
{
3579
  char *s;
3580
  va_list v;
3581
  va_start (v,p);
3582
  s = g (p, va_arg (v,int));
3583
  va_end (v);
3584
  return s;
3585
}
3586
 
3587
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3588
   function prototypes and stuff, but not '\xHH' hex character constants.
3589
   These don't provoke an error unfortunately, instead are silently treated
3590
   as 'x'.  The following induces an error, until -std1 is added to get
3591
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3592
   array size at least.  It's necessary to write '\x00'==0 to get something
3593
   that's true only with -std1.  */
3594
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3595
 
3596
int test (int i, double x);
3597
struct s1 {int (*f) (int a);};
3598
struct s2 {int (*f) (double a);};
3599
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3600
int argc;
3601
char **argv;
3602
int
3603
main ()
3604
{
3605
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3606
  ;
3607
  return 0;
3608
}
3609
_ACEOF
3610
# Don't try gcc -ansi; that turns off useful extensions and
3611
# breaks some systems' header files.
3612
# AIX                   -qlanglvl=ansi
3613
# Ultrix and OSF/1      -std1
3614
# HP-UX 10.20 and later -Ae
3615
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3616
# SVR4                  -Xc -D__EXTENSIONS__
3617
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3618
do
3619
  CC="$ac_save_CC $ac_arg"
3620
  rm -f conftest.$ac_objext
3621
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3622
  (eval $ac_compile) 2>conftest.er1
3623
  ac_status=$?
3624
  grep -v '^ *+' conftest.er1 >conftest.err
3625
  rm -f conftest.er1
3626
  cat conftest.err >&5
3627
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628
  (exit $ac_status); } &&
3629
         { ac_try='test -z "$ac_c_werror_flag"
3630
                         || test ! -s conftest.err'
3631
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632
  (eval $ac_try) 2>&5
3633
  ac_status=$?
3634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635
  (exit $ac_status); }; } &&
3636
         { ac_try='test -s conftest.$ac_objext'
3637
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638
  (eval $ac_try) 2>&5
3639
  ac_status=$?
3640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641
  (exit $ac_status); }; }; then
3642
  ac_cv_prog_cc_stdc=$ac_arg
3643
break
3644
else
3645
  echo "$as_me: failed program was:" >&5
3646
sed 's/^/| /' conftest.$ac_ext >&5
3647
 
3648
fi
3649
rm -f conftest.err conftest.$ac_objext
3650
done
3651
rm -f conftest.$ac_ext conftest.$ac_objext
3652
CC=$ac_save_CC
3653
 
3654
fi
3655
 
3656
case "x$ac_cv_prog_cc_stdc" in
3657
  x|xno)
3658
    echo "$as_me:$LINENO: result: none needed" >&5
3659
echo "${ECHO_T}none needed" >&6 ;;
3660
  *)
3661
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3662
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3663
    CC="$CC $ac_cv_prog_cc_stdc" ;;
3664
esac
3665
 
3666
# Some people use a C++ compiler to compile C.  Since we use `exit',
3667
# in C++ we need to declare it.  In case someone uses the same compiler
3668
# for both compiling C and C++ we need to have the C++ compiler decide
3669
# the declaration of exit, since it's the most demanding environment.
3670
cat >conftest.$ac_ext <<_ACEOF
3671
#ifndef __cplusplus
3672
  choke me
3673
#endif
3674
_ACEOF
3675
rm -f conftest.$ac_objext
3676
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3677
  (eval $ac_compile) 2>conftest.er1
3678
  ac_status=$?
3679
  grep -v '^ *+' conftest.er1 >conftest.err
3680
  rm -f conftest.er1
3681
  cat conftest.err >&5
3682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683
  (exit $ac_status); } &&
3684
         { ac_try='test -z "$ac_c_werror_flag"
3685
                         || test ! -s conftest.err'
3686
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687
  (eval $ac_try) 2>&5
3688
  ac_status=$?
3689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690
  (exit $ac_status); }; } &&
3691
         { ac_try='test -s conftest.$ac_objext'
3692
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693
  (eval $ac_try) 2>&5
3694
  ac_status=$?
3695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696
  (exit $ac_status); }; }; then
3697
  for ac_declaration in \
3698
   '' \
3699
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3700
   'extern "C" void std::exit (int); using std::exit;' \
3701
   'extern "C" void exit (int) throw ();' \
3702
   'extern "C" void exit (int);' \
3703
   'void exit (int);'
3704
do
3705
  cat >conftest.$ac_ext <<_ACEOF
3706
/* confdefs.h.  */
3707
_ACEOF
3708
cat confdefs.h >>conftest.$ac_ext
3709
cat >>conftest.$ac_ext <<_ACEOF
3710
/* end confdefs.h.  */
3711
$ac_declaration
3712
#include 
3713
int
3714
main ()
3715
{
3716
exit (42);
3717
  ;
3718
  return 0;
3719
}
3720
_ACEOF
3721
rm -f conftest.$ac_objext
3722
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3723
  (eval $ac_compile) 2>conftest.er1
3724
  ac_status=$?
3725
  grep -v '^ *+' conftest.er1 >conftest.err
3726
  rm -f conftest.er1
3727
  cat conftest.err >&5
3728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
  (exit $ac_status); } &&
3730
         { ac_try='test -z "$ac_c_werror_flag"
3731
                         || test ! -s conftest.err'
3732
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733
  (eval $ac_try) 2>&5
3734
  ac_status=$?
3735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736
  (exit $ac_status); }; } &&
3737
         { ac_try='test -s conftest.$ac_objext'
3738
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739
  (eval $ac_try) 2>&5
3740
  ac_status=$?
3741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742
  (exit $ac_status); }; }; then
3743
  :
3744
else
3745
  echo "$as_me: failed program was:" >&5
3746
sed 's/^/| /' conftest.$ac_ext >&5
3747
 
3748
continue
3749
fi
3750
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3751
  cat >conftest.$ac_ext <<_ACEOF
3752
/* confdefs.h.  */
3753
_ACEOF
3754
cat confdefs.h >>conftest.$ac_ext
3755
cat >>conftest.$ac_ext <<_ACEOF
3756
/* end confdefs.h.  */
3757
$ac_declaration
3758
int
3759
main ()
3760
{
3761
exit (42);
3762
  ;
3763
  return 0;
3764
}
3765
_ACEOF
3766
rm -f conftest.$ac_objext
3767
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3768
  (eval $ac_compile) 2>conftest.er1
3769
  ac_status=$?
3770
  grep -v '^ *+' conftest.er1 >conftest.err
3771
  rm -f conftest.er1
3772
  cat conftest.err >&5
3773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
  (exit $ac_status); } &&
3775
         { ac_try='test -z "$ac_c_werror_flag"
3776
                         || test ! -s conftest.err'
3777
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778
  (eval $ac_try) 2>&5
3779
  ac_status=$?
3780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781
  (exit $ac_status); }; } &&
3782
         { ac_try='test -s conftest.$ac_objext'
3783
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784
  (eval $ac_try) 2>&5
3785
  ac_status=$?
3786
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787
  (exit $ac_status); }; }; then
3788
  break
3789
else
3790
  echo "$as_me: failed program was:" >&5
3791
sed 's/^/| /' conftest.$ac_ext >&5
3792
 
3793
fi
3794
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3795
done
3796
rm -f conftest*
3797
if test -n "$ac_declaration"; then
3798
  echo '#ifdef __cplusplus' >>confdefs.h
3799
  echo $ac_declaration      >>confdefs.h
3800
  echo '#endif'             >>confdefs.h
3801
fi
3802
 
3803
else
3804
  echo "$as_me: failed program was:" >&5
3805
sed 's/^/| /' conftest.$ac_ext >&5
3806
 
3807
fi
3808
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3809
ac_ext=c
3810
ac_cpp='$CPP $CPPFLAGS'
3811
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3814
 
3815
depcc="$CC"   am_compiler_list=
3816
 
3817
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3818
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3819
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3820
  echo $ECHO_N "(cached) $ECHO_C" >&6
3821
else
3822
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3823
  # We make a subdir and do the tests there.  Otherwise we can end up
3824
  # making bogus files that we don't know about and never remove.  For
3825
  # instance it was reported that on HP-UX the gcc test will end up
3826
  # making a dummy file named `D' -- because `-MD' means `put the output
3827
  # in D'.
3828
  mkdir conftest.dir
3829
  # Copy depcomp to subdir because otherwise we won't find it if we're
3830
  # using a relative directory.
3831
  cp "$am_depcomp" conftest.dir
3832
  cd conftest.dir
3833
  # We will build objects and dependencies in a subdirectory because
3834
  # it helps to detect inapplicable dependency modes.  For instance
3835
  # both Tru64's cc and ICC support -MD to output dependencies as a
3836
  # side effect of compilation, but ICC will put the dependencies in
3837
  # the current directory while Tru64 will put them in the object
3838
  # directory.
3839
  mkdir sub
3840
 
3841
  am_cv_CC_dependencies_compiler_type=none
3842
  if test "$am_compiler_list" = ""; then
3843
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3844
  fi
3845
  for depmode in $am_compiler_list; do
3846
    # Setup a source with many dependencies, because some compilers
3847
    # like to wrap large dependency lists on column 80 (with \), and
3848
    # we should not choose a depcomp mode which is confused by this.
3849
    #
3850
    # We need to recreate these files for each test, as the compiler may
3851
    # overwrite some of them when testing with obscure command lines.
3852
    # This happens at least with the AIX C compiler.
3853
    : > sub/conftest.c
3854
    for i in 1 2 3 4 5 6; do
3855
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3856
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3857
      # Solaris 8's {/usr,}/bin/sh.
3858
      touch sub/conftst$i.h
3859
    done
3860
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3861
 
3862
    case $depmode in
3863
    nosideeffect)
3864
      # after this tag, mechanisms are not by side-effect, so they'll
3865
      # only be used when explicitly requested
3866
      if test "x$enable_dependency_tracking" = xyes; then
3867
        continue
3868
      else
3869
        break
3870
      fi
3871
      ;;
3872
    none) break ;;
3873
    esac
3874
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3875
    # mode.  It turns out that the SunPro C++ compiler does not properly
3876
    # handle `-M -o', and we need to detect this.
3877
    if depmode=$depmode \
3878
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3879
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3880
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3881
         >/dev/null 2>conftest.err &&
3882
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3883
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3884
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3885
      # icc doesn't choke on unknown options, it will just issue warnings
3886
      # or remarks (even with -Werror).  So we grep stderr for any message
3887
      # that says an option was ignored or not supported.
3888
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3889
      #   icc: Command line warning: ignoring option '-M'; no argument required
3890
      # The diagnosis changed in icc 8.0:
3891
      #   icc: Command line remark: option '-MP' not supported
3892
      if (grep 'ignoring option' conftest.err ||
3893
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3894
        am_cv_CC_dependencies_compiler_type=$depmode
3895
        break
3896
      fi
3897
    fi
3898
  done
3899
 
3900
  cd ..
3901
  rm -rf conftest.dir
3902
else
3903
  am_cv_CC_dependencies_compiler_type=none
3904
fi
3905
 
3906
fi
3907
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3908
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3909
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3910
 
3911
 
3912
 
3913
if
3914
  test "x$enable_dependency_tracking" != xno \
3915
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3916
  am__fastdepCC_TRUE=
3917
  am__fastdepCC_FALSE='#'
3918
else
3919
  am__fastdepCC_TRUE='#'
3920
  am__fastdepCC_FALSE=
3921
fi
3922
 
3923
 
3924
 
3925
ac_ext=c
3926
ac_cpp='$CPP $CPPFLAGS'
3927
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3931
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3932
# On Suns, sometimes $CPP names a directory.
3933
if test -n "$CPP" && test -d "$CPP"; then
3934
  CPP=
3935
fi
3936
if test -z "$CPP"; then
3937
  if test "${ac_cv_prog_CPP+set}" = set; then
3938
  echo $ECHO_N "(cached) $ECHO_C" >&6
3939
else
3940
      # Double quotes because CPP needs to be expanded
3941
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3942
    do
3943
      ac_preproc_ok=false
3944
for ac_c_preproc_warn_flag in '' yes
3945
do
3946
  # Use a header file that comes with gcc, so configuring glibc
3947
  # with a fresh cross-compiler works.
3948
  # Prefer  to  if __STDC__ is defined, since
3949
  #  exists even on freestanding compilers.
3950
  # On the NeXT, cc -E runs the code through the compiler's parser,
3951
  # not just through cpp. "Syntax error" is here to catch this case.
3952
  cat >conftest.$ac_ext <<_ACEOF
3953
/* confdefs.h.  */
3954
_ACEOF
3955
cat confdefs.h >>conftest.$ac_ext
3956
cat >>conftest.$ac_ext <<_ACEOF
3957
/* end confdefs.h.  */
3958
#ifdef __STDC__
3959
# include 
3960
#else
3961
# include 
3962
#endif
3963
                     Syntax error
3964
_ACEOF
3965
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3966
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3967
  ac_status=$?
3968
  grep -v '^ *+' conftest.er1 >conftest.err
3969
  rm -f conftest.er1
3970
  cat conftest.err >&5
3971
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972
  (exit $ac_status); } >/dev/null; then
3973
  if test -s conftest.err; then
3974
    ac_cpp_err=$ac_c_preproc_warn_flag
3975
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3976
  else
3977
    ac_cpp_err=
3978
  fi
3979
else
3980
  ac_cpp_err=yes
3981
fi
3982
if test -z "$ac_cpp_err"; then
3983
  :
3984
else
3985
  echo "$as_me: failed program was:" >&5
3986
sed 's/^/| /' conftest.$ac_ext >&5
3987
 
3988
  # Broken: fails on valid input.
3989
continue
3990
fi
3991
rm -f conftest.err conftest.$ac_ext
3992
 
3993
  # OK, works on sane cases.  Now check whether non-existent headers
3994
  # can be detected and how.
3995
  cat >conftest.$ac_ext <<_ACEOF
3996
/* confdefs.h.  */
3997
_ACEOF
3998
cat confdefs.h >>conftest.$ac_ext
3999
cat >>conftest.$ac_ext <<_ACEOF
4000
/* end confdefs.h.  */
4001
#include 
4002
_ACEOF
4003
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4004
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4005
  ac_status=$?
4006
  grep -v '^ *+' conftest.er1 >conftest.err
4007
  rm -f conftest.er1
4008
  cat conftest.err >&5
4009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
  (exit $ac_status); } >/dev/null; then
4011
  if test -s conftest.err; then
4012
    ac_cpp_err=$ac_c_preproc_warn_flag
4013
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4014
  else
4015
    ac_cpp_err=
4016
  fi
4017
else
4018
  ac_cpp_err=yes
4019
fi
4020
if test -z "$ac_cpp_err"; then
4021
  # Broken: success on invalid input.
4022
continue
4023
else
4024
  echo "$as_me: failed program was:" >&5
4025
sed 's/^/| /' conftest.$ac_ext >&5
4026
 
4027
  # Passes both tests.
4028
ac_preproc_ok=:
4029
break
4030
fi
4031
rm -f conftest.err conftest.$ac_ext
4032
 
4033
done
4034
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4035
rm -f conftest.err conftest.$ac_ext
4036
if $ac_preproc_ok; then
4037
  break
4038
fi
4039
 
4040
    done
4041
    ac_cv_prog_CPP=$CPP
4042
 
4043
fi
4044
  CPP=$ac_cv_prog_CPP
4045
else
4046
  ac_cv_prog_CPP=$CPP
4047
fi
4048
echo "$as_me:$LINENO: result: $CPP" >&5
4049
echo "${ECHO_T}$CPP" >&6
4050
ac_preproc_ok=false
4051
for ac_c_preproc_warn_flag in '' yes
4052
do
4053
  # Use a header file that comes with gcc, so configuring glibc
4054
  # with a fresh cross-compiler works.
4055
  # Prefer  to  if __STDC__ is defined, since
4056
  #  exists even on freestanding compilers.
4057
  # On the NeXT, cc -E runs the code through the compiler's parser,
4058
  # not just through cpp. "Syntax error" is here to catch this case.
4059
  cat >conftest.$ac_ext <<_ACEOF
4060
/* confdefs.h.  */
4061
_ACEOF
4062
cat confdefs.h >>conftest.$ac_ext
4063
cat >>conftest.$ac_ext <<_ACEOF
4064
/* end confdefs.h.  */
4065
#ifdef __STDC__
4066
# include 
4067
#else
4068
# include 
4069
#endif
4070
                     Syntax error
4071
_ACEOF
4072
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4073
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4074
  ac_status=$?
4075
  grep -v '^ *+' conftest.er1 >conftest.err
4076
  rm -f conftest.er1
4077
  cat conftest.err >&5
4078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079
  (exit $ac_status); } >/dev/null; then
4080
  if test -s conftest.err; then
4081
    ac_cpp_err=$ac_c_preproc_warn_flag
4082
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4083
  else
4084
    ac_cpp_err=
4085
  fi
4086
else
4087
  ac_cpp_err=yes
4088
fi
4089
if test -z "$ac_cpp_err"; then
4090
  :
4091
else
4092
  echo "$as_me: failed program was:" >&5
4093
sed 's/^/| /' conftest.$ac_ext >&5
4094
 
4095
  # Broken: fails on valid input.
4096
continue
4097
fi
4098
rm -f conftest.err conftest.$ac_ext
4099
 
4100
  # OK, works on sane cases.  Now check whether non-existent headers
4101
  # can be detected and how.
4102
  cat >conftest.$ac_ext <<_ACEOF
4103
/* confdefs.h.  */
4104
_ACEOF
4105
cat confdefs.h >>conftest.$ac_ext
4106
cat >>conftest.$ac_ext <<_ACEOF
4107
/* end confdefs.h.  */
4108
#include 
4109
_ACEOF
4110
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4111
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4112
  ac_status=$?
4113
  grep -v '^ *+' conftest.er1 >conftest.err
4114
  rm -f conftest.er1
4115
  cat conftest.err >&5
4116
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117
  (exit $ac_status); } >/dev/null; then
4118
  if test -s conftest.err; then
4119
    ac_cpp_err=$ac_c_preproc_warn_flag
4120
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4121
  else
4122
    ac_cpp_err=
4123
  fi
4124
else
4125
  ac_cpp_err=yes
4126
fi
4127
if test -z "$ac_cpp_err"; then
4128
  # Broken: success on invalid input.
4129
continue
4130
else
4131
  echo "$as_me: failed program was:" >&5
4132
sed 's/^/| /' conftest.$ac_ext >&5
4133
 
4134
  # Passes both tests.
4135
ac_preproc_ok=:
4136
break
4137
fi
4138
rm -f conftest.err conftest.$ac_ext
4139
 
4140
done
4141
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4142
rm -f conftest.err conftest.$ac_ext
4143
if $ac_preproc_ok; then
4144
  :
4145
else
4146
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4147
See \`config.log' for more details." >&5
4148
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4149
See \`config.log' for more details." >&2;}
4150
   { (exit 1); exit 1; }; }
4151
fi
4152
 
4153
ac_ext=c
4154
ac_cpp='$CPP $CPPFLAGS'
4155
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4156
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4157
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4158
 
4159
 
4160
echo "$as_me:$LINENO: checking for egrep" >&5
4161
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4162
if test "${ac_cv_prog_egrep+set}" = set; then
4163
  echo $ECHO_N "(cached) $ECHO_C" >&6
4164
else
4165
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4166
    then ac_cv_prog_egrep='grep -E'
4167
    else ac_cv_prog_egrep='egrep'
4168
    fi
4169
fi
4170
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4171
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4172
 EGREP=$ac_cv_prog_egrep
4173
 
4174
 
4175
cat >conftest.$ac_ext <<_ACEOF
4176
/* confdefs.h.  */
4177
_ACEOF
4178
cat confdefs.h >>conftest.$ac_ext
4179
cat >>conftest.$ac_ext <<_ACEOF
4180
/* end confdefs.h.  */
4181
 
4182
#if __SH5__
4183
  sh5
4184
#endif
4185
 
4186
_ACEOF
4187
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4188
  $EGREP "sh5" >/dev/null 2>&1; then
4189
  have_sh64=yes
4190
else
4191
  have_sh64=no
4192
fi
4193
rm -f conftest*
4194
 
4195
 
4196
 
4197
if test $have_sh64 = yes; then
4198
  SH64_TRUE=
4199
  SH64_FALSE='#'
4200
else
4201
  SH64_TRUE='#'
4202
  SH64_FALSE=
4203
fi
4204
 
4205
 
4206
          ac_config_files="$ac_config_files Makefile"
4207
 
4208
cat >confcache <<\_ACEOF
4209
# This file is a shell script that caches the results of configure
4210
# tests run on this system so they can be shared between configure
4211
# scripts and configure runs, see configure's option --config-cache.
4212
# It is not useful on other systems.  If it contains results you don't
4213
# want to keep, you may remove or edit it.
4214
#
4215
# config.status only pays attention to the cache file if you give it
4216
# the --recheck option to rerun configure.
4217
#
4218
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4219
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4220
# following values.
4221
 
4222
_ACEOF
4223
 
4224
# The following way of writing the cache mishandles newlines in values,
4225
# but we know of no workaround that is simple, portable, and efficient.
4226
# So, don't put newlines in cache variables' values.
4227
# Ultrix sh set writes to stderr and can't be redirected directly,
4228
# and sets the high bit in the cache file unless we assign to the vars.
4229
{
4230
  (set) 2>&1 |
4231
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4232
    *ac_space=\ *)
4233
      # `set' does not quote correctly, so add quotes (double-quote
4234
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4235
      sed -n \
4236
        "s/'/'\\\\''/g;
4237
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4238
      ;;
4239
    *)
4240
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4241
      sed -n \
4242
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4243
      ;;
4244
    esac;
4245
} |
4246
  sed '
4247
     t clear
4248
     : clear
4249
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4250
     t end
4251
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4252
     : end' >>confcache
4253
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4254
  if test -w $cache_file; then
4255
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4256
    cat confcache >$cache_file
4257
  else
4258
    echo "not updating unwritable cache $cache_file"
4259
  fi
4260
fi
4261
rm -f confcache
4262
 
4263
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4264
# Let make expand exec_prefix.
4265
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4266
 
4267
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4268
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4269
# trailing colons and then remove the whole line if VPATH becomes empty
4270
# (actually we leave an empty line to preserve line numbers).
4271
if test "x$srcdir" = x.; then
4272
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4273
s/:*\$(srcdir):*/:/;
4274
s/:*\${srcdir}:*/:/;
4275
s/:*@srcdir@:*/:/;
4276
s/^\([^=]*=[     ]*\):*/\1/;
4277
s/:*$//;
4278
s/^[^=]*=[       ]*$//;
4279
}'
4280
fi
4281
 
4282
# Transform confdefs.h into DEFS.
4283
# Protect against shell expansion while executing Makefile rules.
4284
# Protect against Makefile macro expansion.
4285
#
4286
# If the first sed substitution is executed (which looks for macros that
4287
# take arguments), then we branch to the quote section.  Otherwise,
4288
# look for a macro that doesn't take arguments.
4289
cat >confdef2opt.sed <<\_ACEOF
4290
t clear
4291
: clear
4292
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4293
t quote
4294
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4295
t quote
4296
d
4297
: quote
4298
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
4299
s,\[,\\&,g
4300
s,\],\\&,g
4301
s,\$,$$,g
4302
p
4303
_ACEOF
4304
# We use echo to avoid assuming a particular line-breaking character.
4305
# The extra dot is to prevent the shell from consuming trailing
4306
# line-breaks from the sub-command output.  A line-break within
4307
# single-quotes doesn't work because, if this script is created in a
4308
# platform that uses two characters for line-breaks (e.g., DOS), tr
4309
# would break.
4310
ac_LF_and_DOT=`echo; echo .`
4311
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4312
rm -f confdef2opt.sed
4313
 
4314
 
4315
ac_libobjs=
4316
ac_ltlibobjs=
4317
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4318
  # 1. Remove the extension, and $U if already installed.
4319
  ac_i=`echo "$ac_i" |
4320
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4321
  # 2. Add them.
4322
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4323
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4324
done
4325
LIBOBJS=$ac_libobjs
4326
 
4327
LTLIBOBJS=$ac_ltlibobjs
4328
 
4329
 
4330
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
4331
  { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4332
Usually this means the macro was only invoked conditionally." >&5
4333
echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
4334
Usually this means the macro was only invoked conditionally." >&2;}
4335
   { (exit 1); exit 1; }; }
4336
fi
4337
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4338
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4339
Usually this means the macro was only invoked conditionally." >&5
4340
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4341
Usually this means the macro was only invoked conditionally." >&2;}
4342
   { (exit 1); exit 1; }; }
4343
fi
4344
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4345
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4346
Usually this means the macro was only invoked conditionally." >&5
4347
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4348
Usually this means the macro was only invoked conditionally." >&2;}
4349
   { (exit 1); exit 1; }; }
4350
fi
4351
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4352
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4353
Usually this means the macro was only invoked conditionally." >&5
4354
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4355
Usually this means the macro was only invoked conditionally." >&2;}
4356
   { (exit 1); exit 1; }; }
4357
fi
4358
if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
4359
  { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
4360
Usually this means the macro was only invoked conditionally." >&5
4361
echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
4362
Usually this means the macro was only invoked conditionally." >&2;}
4363
   { (exit 1); exit 1; }; }
4364
fi
4365
if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
4366
  { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
4367
Usually this means the macro was only invoked conditionally." >&5
4368
echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
4369
Usually this means the macro was only invoked conditionally." >&2;}
4370
   { (exit 1); exit 1; }; }
4371
fi
4372
if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
4373
  { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
4374
Usually this means the macro was only invoked conditionally." >&5
4375
echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
4376
Usually this means the macro was only invoked conditionally." >&2;}
4377
   { (exit 1); exit 1; }; }
4378
fi
4379
if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
4380
  { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
4381
Usually this means the macro was only invoked conditionally." >&5
4382
echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
4383
Usually this means the macro was only invoked conditionally." >&2;}
4384
   { (exit 1); exit 1; }; }
4385
fi
4386
if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
4387
  { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
4388
Usually this means the macro was only invoked conditionally." >&5
4389
echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
4390
Usually this means the macro was only invoked conditionally." >&2;}
4391
   { (exit 1); exit 1; }; }
4392
fi
4393
if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
4394
  { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
4395
Usually this means the macro was only invoked conditionally." >&5
4396
echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
4397
Usually this means the macro was only invoked conditionally." >&2;}
4398
   { (exit 1); exit 1; }; }
4399
fi
4400
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4401
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4402
Usually this means the macro was only invoked conditionally." >&5
4403
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4404
Usually this means the macro was only invoked conditionally." >&2;}
4405
   { (exit 1); exit 1; }; }
4406
fi
4407
if test -z "${SH64_TRUE}" && test -z "${SH64_FALSE}"; then
4408
  { { echo "$as_me:$LINENO: error: conditional \"SH64\" was never defined.
4409
Usually this means the macro was only invoked conditionally." >&5
4410
echo "$as_me: error: conditional \"SH64\" was never defined.
4411
Usually this means the macro was only invoked conditionally." >&2;}
4412
   { (exit 1); exit 1; }; }
4413
fi
4414
 
4415
: ${CONFIG_STATUS=./config.status}
4416
ac_clean_files_save=$ac_clean_files
4417
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4418
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4419
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4420
cat >$CONFIG_STATUS <<_ACEOF
4421
#! $SHELL
4422
# Generated by $as_me.
4423
# Run this file to recreate the current configuration.
4424
# Compiler output produced by configure, useful for debugging
4425
# configure, is in config.log if it exists.
4426
 
4427
debug=false
4428
ac_cs_recheck=false
4429
ac_cs_silent=false
4430
SHELL=\${CONFIG_SHELL-$SHELL}
4431
_ACEOF
4432
 
4433
cat >>$CONFIG_STATUS <<\_ACEOF
4434
## --------------------- ##
4435
## M4sh Initialization.  ##
4436
## --------------------- ##
4437
 
4438
# Be Bourne compatible
4439
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4440
  emulate sh
4441
  NULLCMD=:
4442
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4443
  # is contrary to our usage.  Disable this feature.
4444
  alias -g '${1+"$@"}'='"$@"'
4445
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4446
  set -o posix
4447
fi
4448
DUALCASE=1; export DUALCASE # for MKS sh
4449
 
4450
# Support unset when possible.
4451
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4452
  as_unset=unset
4453
else
4454
  as_unset=false
4455
fi
4456
 
4457
 
4458
# Work around bugs in pre-3.0 UWIN ksh.
4459
$as_unset ENV MAIL MAILPATH
4460
PS1='$ '
4461
PS2='> '
4462
PS4='+ '
4463
 
4464
# NLS nuisances.
4465
for as_var in \
4466
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4467
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4468
  LC_TELEPHONE LC_TIME
4469
do
4470
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4471
    eval $as_var=C; export $as_var
4472
  else
4473
    $as_unset $as_var
4474
  fi
4475
done
4476
 
4477
# Required to use basename.
4478
if expr a : '\(a\)' >/dev/null 2>&1; then
4479
  as_expr=expr
4480
else
4481
  as_expr=false
4482
fi
4483
 
4484
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4485
  as_basename=basename
4486
else
4487
  as_basename=false
4488
fi
4489
 
4490
 
4491
# Name of the executable.
4492
as_me=`$as_basename "$0" ||
4493
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4494
         X"$0" : 'X\(//\)$' \| \
4495
         X"$0" : 'X\(/\)$' \| \
4496
         .     : '\(.\)' 2>/dev/null ||
4497
echo X/"$0" |
4498
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4499
          /^X\/\(\/\/\)$/{ s//\1/; q; }
4500
          /^X\/\(\/\).*/{ s//\1/; q; }
4501
          s/.*/./; q'`
4502
 
4503
 
4504
# PATH needs CR, and LINENO needs CR and PATH.
4505
# Avoid depending upon Character Ranges.
4506
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4507
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4508
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4509
as_cr_digits='0123456789'
4510
as_cr_alnum=$as_cr_Letters$as_cr_digits
4511
 
4512
# The user is always right.
4513
if test "${PATH_SEPARATOR+set}" != set; then
4514
  echo "#! /bin/sh" >conf$$.sh
4515
  echo  "exit 0"   >>conf$$.sh
4516
  chmod +x conf$$.sh
4517
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4518
    PATH_SEPARATOR=';'
4519
  else
4520
    PATH_SEPARATOR=:
4521
  fi
4522
  rm -f conf$$.sh
4523
fi
4524
 
4525
 
4526
  as_lineno_1=$LINENO
4527
  as_lineno_2=$LINENO
4528
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4529
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4530
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4531
  # Find who we are.  Look in the path if we contain no path at all
4532
  # relative or not.
4533
  case $0 in
4534
    *[\\/]* ) as_myself=$0 ;;
4535
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536
for as_dir in $PATH
4537
do
4538
  IFS=$as_save_IFS
4539
  test -z "$as_dir" && as_dir=.
4540
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4541
done
4542
 
4543
       ;;
4544
  esac
4545
  # We did not find ourselves, most probably we were run as `sh COMMAND'
4546
  # in which case we are not to be found in the path.
4547
  if test "x$as_myself" = x; then
4548
    as_myself=$0
4549
  fi
4550
  if test ! -f "$as_myself"; then
4551
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4552
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4553
   { (exit 1); exit 1; }; }
4554
  fi
4555
  case $CONFIG_SHELL in
4556
  '')
4557
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4559
do
4560
  IFS=$as_save_IFS
4561
  test -z "$as_dir" && as_dir=.
4562
  for as_base in sh bash ksh sh5; do
4563
         case $as_dir in
4564
         /*)
4565
           if ("$as_dir/$as_base" -c '
4566
  as_lineno_1=$LINENO
4567
  as_lineno_2=$LINENO
4568
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4569
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4570
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4571
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4572
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4573
             CONFIG_SHELL=$as_dir/$as_base
4574
             export CONFIG_SHELL
4575
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4576
           fi;;
4577
         esac
4578
       done
4579
done
4580
;;
4581
  esac
4582
 
4583
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4584
  # uniformly replaced by the line number.  The first 'sed' inserts a
4585
  # line-number line before each line; the second 'sed' does the real
4586
  # work.  The second script uses 'N' to pair each line-number line
4587
  # with the numbered line, and appends trailing '-' during
4588
  # substitution so that $LINENO is not a special case at line end.
4589
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4590
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4591
  sed '=' <$as_myself |
4592
    sed '
4593
      N
4594
      s,$,-,
4595
      : loop
4596
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4597
      t loop
4598
      s,-$,,
4599
      s,^['$as_cr_digits']*\n,,
4600
    ' >$as_me.lineno &&
4601
  chmod +x $as_me.lineno ||
4602
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4603
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4604
   { (exit 1); exit 1; }; }
4605
 
4606
  # Don't try to exec as it changes $[0], causing all sort of problems
4607
  # (the dirname of $[0] is not the place where we might find the
4608
  # original and so on.  Autoconf is especially sensible to this).
4609
  . ./$as_me.lineno
4610
  # Exit status is that of the last command.
4611
  exit
4612
}
4613
 
4614
 
4615
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4616
  *c*,-n*) ECHO_N= ECHO_C='
4617
' ECHO_T='      ' ;;
4618
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4619
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4620
esac
4621
 
4622
if expr a : '\(a\)' >/dev/null 2>&1; then
4623
  as_expr=expr
4624
else
4625
  as_expr=false
4626
fi
4627
 
4628
rm -f conf$$ conf$$.exe conf$$.file
4629
echo >conf$$.file
4630
if ln -s conf$$.file conf$$ 2>/dev/null; then
4631
  # We could just check for DJGPP; but this test a) works b) is more generic
4632
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4633
  if test -f conf$$.exe; then
4634
    # Don't use ln at all; we don't have any links
4635
    as_ln_s='cp -p'
4636
  else
4637
    as_ln_s='ln -s'
4638
  fi
4639
elif ln conf$$.file conf$$ 2>/dev/null; then
4640
  as_ln_s=ln
4641
else
4642
  as_ln_s='cp -p'
4643
fi
4644
rm -f conf$$ conf$$.exe conf$$.file
4645
 
4646
if mkdir -p . 2>/dev/null; then
4647
  as_mkdir_p=:
4648
else
4649
  test -d ./-p && rmdir ./-p
4650
  as_mkdir_p=false
4651
fi
4652
 
4653
as_executable_p="test -f"
4654
 
4655
# Sed expression to map a string onto a valid CPP name.
4656
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4657
 
4658
# Sed expression to map a string onto a valid variable name.
4659
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4660
 
4661
 
4662
# IFS
4663
# We need space, tab and new line, in precisely that order.
4664
as_nl='
4665
'
4666
IFS="   $as_nl"
4667
 
4668
# CDPATH.
4669
$as_unset CDPATH
4670
 
4671
exec 6>&1
4672
 
4673
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4674
# report actual input values of CONFIG_FILES etc. instead of their
4675
# values after options handling.  Logging --version etc. is OK.
4676
exec 5>>config.log
4677
{
4678
  echo
4679
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4680
## Running $as_me. ##
4681
_ASBOX
4682
} >&5
4683
cat >&5 <<_CSEOF
4684
 
4685
This file was extended by newlib $as_me 1.17.0, which was
4686
generated by GNU Autoconf 2.59.  Invocation command line was
4687
 
4688
  CONFIG_FILES    = $CONFIG_FILES
4689
  CONFIG_HEADERS  = $CONFIG_HEADERS
4690
  CONFIG_LINKS    = $CONFIG_LINKS
4691
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4692
  $ $0 $@
4693
 
4694
_CSEOF
4695
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4696
echo >&5
4697
_ACEOF
4698
 
4699
# Files that config.status was made for.
4700
if test -n "$ac_config_files"; then
4701
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4702
fi
4703
 
4704
if test -n "$ac_config_headers"; then
4705
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4706
fi
4707
 
4708
if test -n "$ac_config_links"; then
4709
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4710
fi
4711
 
4712
if test -n "$ac_config_commands"; then
4713
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4714
fi
4715
 
4716
cat >>$CONFIG_STATUS <<\_ACEOF
4717
 
4718
ac_cs_usage="\
4719
\`$as_me' instantiates files from templates according to the
4720
current configuration.
4721
 
4722
Usage: $0 [OPTIONS] [FILE]...
4723
 
4724
  -h, --help       print this help, then exit
4725
  -V, --version    print version number, then exit
4726
  -q, --quiet      do not print progress messages
4727
  -d, --debug      don't remove temporary files
4728
      --recheck    update $as_me by reconfiguring in the same conditions
4729
  --file=FILE[:TEMPLATE]
4730
                   instantiate the configuration file FILE
4731
 
4732
Configuration files:
4733
$config_files
4734
 
4735
Configuration commands:
4736
$config_commands
4737
 
4738
Report bugs to ."
4739
_ACEOF
4740
 
4741
cat >>$CONFIG_STATUS <<_ACEOF
4742
ac_cs_version="\\
4743
newlib config.status 1.17.0
4744
configured by $0, generated by GNU Autoconf 2.59,
4745
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4746
 
4747
Copyright (C) 2003 Free Software Foundation, Inc.
4748
This config.status script is free software; the Free Software Foundation
4749
gives unlimited permission to copy, distribute and modify it."
4750
srcdir=$srcdir
4751
INSTALL="$INSTALL"
4752
_ACEOF
4753
 
4754
cat >>$CONFIG_STATUS <<\_ACEOF
4755
# If no file are specified by the user, then we need to provide default
4756
# value.  By we need to know if files were specified by the user.
4757
ac_need_defaults=:
4758
while test $# != 0
4759
do
4760
  case $1 in
4761
  --*=*)
4762
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4763
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4764
    ac_shift=:
4765
    ;;
4766
  -*)
4767
    ac_option=$1
4768
    ac_optarg=$2
4769
    ac_shift=shift
4770
    ;;
4771
  *) # This is not an option, so the user has probably given explicit
4772
     # arguments.
4773
     ac_option=$1
4774
     ac_need_defaults=false;;
4775
  esac
4776
 
4777
  case $ac_option in
4778
  # Handling of the options.
4779
_ACEOF
4780
cat >>$CONFIG_STATUS <<\_ACEOF
4781
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4782
    ac_cs_recheck=: ;;
4783
  --version | --vers* | -V )
4784
    echo "$ac_cs_version"; exit 0 ;;
4785
  --he | --h)
4786
    # Conflict between --help and --header
4787
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4788
Try \`$0 --help' for more information." >&5
4789
echo "$as_me: error: ambiguous option: $1
4790
Try \`$0 --help' for more information." >&2;}
4791
   { (exit 1); exit 1; }; };;
4792
  --help | --hel | -h )
4793
    echo "$ac_cs_usage"; exit 0 ;;
4794
  --debug | --d* | -d )
4795
    debug=: ;;
4796
  --file | --fil | --fi | --f )
4797
    $ac_shift
4798
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4799
    ac_need_defaults=false;;
4800
  --header | --heade | --head | --hea )
4801
    $ac_shift
4802
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4803
    ac_need_defaults=false;;
4804
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4805
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4806
    ac_cs_silent=: ;;
4807
 
4808
  # This is an error.
4809
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4810
Try \`$0 --help' for more information." >&5
4811
echo "$as_me: error: unrecognized option: $1
4812
Try \`$0 --help' for more information." >&2;}
4813
   { (exit 1); exit 1; }; } ;;
4814
 
4815
  *) ac_config_targets="$ac_config_targets $1" ;;
4816
 
4817
  esac
4818
  shift
4819
done
4820
 
4821
ac_configure_extra_args=
4822
 
4823
if $ac_cs_silent; then
4824
  exec 6>/dev/null
4825
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4826
fi
4827
 
4828
_ACEOF
4829
cat >>$CONFIG_STATUS <<_ACEOF
4830
if \$ac_cs_recheck; then
4831
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4832
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4833
fi
4834
 
4835
_ACEOF
4836
 
4837
cat >>$CONFIG_STATUS <<_ACEOF
4838
#
4839
# INIT-COMMANDS section.
4840
#
4841
 
4842
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4843
 
4844
_ACEOF
4845
 
4846
 
4847
 
4848
cat >>$CONFIG_STATUS <<\_ACEOF
4849
for ac_config_target in $ac_config_targets
4850
do
4851
  case "$ac_config_target" in
4852
  # Handling of arguments.
4853
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4854
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4855
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4856
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4857
   { (exit 1); exit 1; }; };;
4858
  esac
4859
done
4860
 
4861
# If the user did not use the arguments to specify the items to instantiate,
4862
# then the envvar interface is used.  Set only those that are not.
4863
# We use the long form for the default assignment because of an extremely
4864
# bizarre bug on SunOS 4.1.3.
4865
if $ac_need_defaults; then
4866
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4867
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4868
fi
4869
 
4870
# Have a temporary directory for convenience.  Make it in the build tree
4871
# simply because there is no reason to put it here, and in addition,
4872
# creating and moving files from /tmp can sometimes cause problems.
4873
# Create a temporary directory, and hook for its removal unless debugging.
4874
$debug ||
4875
{
4876
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4877
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4878
}
4879
 
4880
# Create a (secure) tmp directory for tmp files.
4881
 
4882
{
4883
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4884
  test -n "$tmp" && test -d "$tmp"
4885
}  ||
4886
{
4887
  tmp=./confstat$$-$RANDOM
4888
  (umask 077 && mkdir $tmp)
4889
} ||
4890
{
4891
   echo "$me: cannot create a temporary directory in ." >&2
4892
   { (exit 1); exit 1; }
4893
}
4894
 
4895
_ACEOF
4896
 
4897
cat >>$CONFIG_STATUS <<_ACEOF
4898
 
4899
#
4900
# CONFIG_FILES section.
4901
#
4902
 
4903
# No need to generate the scripts if there are no CONFIG_FILES.
4904
# This happens for instance when ./config.status config.h
4905
if test -n "\$CONFIG_FILES"; then
4906
  # Protect against being on the right side of a sed subst in config.status.
4907
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4908
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4909
s,@SHELL@,$SHELL,;t t
4910
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4911
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4912
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4913
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4914
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4915
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4916
s,@exec_prefix@,$exec_prefix,;t t
4917
s,@prefix@,$prefix,;t t
4918
s,@program_transform_name@,$program_transform_name,;t t
4919
s,@bindir@,$bindir,;t t
4920
s,@sbindir@,$sbindir,;t t
4921
s,@libexecdir@,$libexecdir,;t t
4922
s,@datadir@,$datadir,;t t
4923
s,@sysconfdir@,$sysconfdir,;t t
4924
s,@sharedstatedir@,$sharedstatedir,;t t
4925
s,@localstatedir@,$localstatedir,;t t
4926
s,@libdir@,$libdir,;t t
4927
s,@includedir@,$includedir,;t t
4928
s,@oldincludedir@,$oldincludedir,;t t
4929
s,@infodir@,$infodir,;t t
4930
s,@mandir@,$mandir,;t t
4931
s,@build_alias@,$build_alias,;t t
4932
s,@host_alias@,$host_alias,;t t
4933
s,@target_alias@,$target_alias,;t t
4934
s,@DEFS@,$DEFS,;t t
4935
s,@ECHO_C@,$ECHO_C,;t t
4936
s,@ECHO_N@,$ECHO_N,;t t
4937
s,@ECHO_T@,$ECHO_T,;t t
4938
s,@LIBS@,$LIBS,;t t
4939
s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
4940
s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
4941
s,@newlib_basedir@,$newlib_basedir,;t t
4942
s,@build@,$build,;t t
4943
s,@build_cpu@,$build_cpu,;t t
4944
s,@build_vendor@,$build_vendor,;t t
4945
s,@build_os@,$build_os,;t t
4946
s,@host@,$host,;t t
4947
s,@host_cpu@,$host_cpu,;t t
4948
s,@host_vendor@,$host_vendor,;t t
4949
s,@host_os@,$host_os,;t t
4950
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4951
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4952
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4953
s,@CYGPATH_W@,$CYGPATH_W,;t t
4954
s,@PACKAGE@,$PACKAGE,;t t
4955
s,@VERSION@,$VERSION,;t t
4956
s,@ACLOCAL@,$ACLOCAL,;t t
4957
s,@AUTOCONF@,$AUTOCONF,;t t
4958
s,@AUTOMAKE@,$AUTOMAKE,;t t
4959
s,@AUTOHEADER@,$AUTOHEADER,;t t
4960
s,@MAKEINFO@,$MAKEINFO,;t t
4961
s,@install_sh@,$install_sh,;t t
4962
s,@STRIP@,$STRIP,;t t
4963
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4964
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4965
s,@mkdir_p@,$mkdir_p,;t t
4966
s,@AWK@,$AWK,;t t
4967
s,@SET_MAKE@,$SET_MAKE,;t t
4968
s,@am__leading_dot@,$am__leading_dot,;t t
4969
s,@AMTAR@,$AMTAR,;t t
4970
s,@am__tar@,$am__tar,;t t
4971
s,@am__untar@,$am__untar,;t t
4972
s,@CC@,$CC,;t t
4973
s,@DEPDIR@,$DEPDIR,;t t
4974
s,@am__include@,$am__include,;t t
4975
s,@am__quote@,$am__quote,;t t
4976
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4977
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4978
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4979
s,@CCDEPMODE@,$CCDEPMODE,;t t
4980
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4981
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4982
s,@AS@,$AS,;t t
4983
s,@ac_ct_AS@,$ac_ct_AS,;t t
4984
s,@AR@,$AR,;t t
4985
s,@ac_ct_AR@,$ac_ct_AR,;t t
4986
s,@RANLIB@,$RANLIB,;t t
4987
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4988
s,@READELF@,$READELF,;t t
4989
s,@ac_ct_READELF@,$ac_ct_READELF,;t t
4990
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4991
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4992
s,@MAINT@,$MAINT,;t t
4993
s,@CCAS@,$CCAS,;t t
4994
s,@CCASFLAGS@,$CCASFLAGS,;t t
4995
s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
4996
s,@LDFLAGS@,$LDFLAGS,;t t
4997
s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
4998
s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
4999
s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
5000
s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
5001
s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
5002
s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
5003
s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
5004
s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
5005
s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
5006
s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
5007
s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
5008
s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
5009
s,@OBJEXT@,$OBJEXT,;t t
5010
s,@oext@,$oext,;t t
5011
s,@aext@,$aext,;t t
5012
s,@lpfx@,$lpfx,;t t
5013
s,@libm_machine_dir@,$libm_machine_dir,;t t
5014
s,@machine_dir@,$machine_dir,;t t
5015
s,@sys_dir@,$sys_dir,;t t
5016
s,@CFLAGS@,$CFLAGS,;t t
5017
s,@CPPFLAGS@,$CPPFLAGS,;t t
5018
s,@ac_ct_CC@,$ac_ct_CC,;t t
5019
s,@EXEEXT@,$EXEEXT,;t t
5020
s,@CPP@,$CPP,;t t
5021
s,@EGREP@,$EGREP,;t t
5022
s,@SH64_TRUE@,$SH64_TRUE,;t t
5023
s,@SH64_FALSE@,$SH64_FALSE,;t t
5024
s,@LIBOBJS@,$LIBOBJS,;t t
5025
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5026
CEOF
5027
 
5028
_ACEOF
5029
 
5030
  cat >>$CONFIG_STATUS <<\_ACEOF
5031
  # Split the substitutions into bite-sized pieces for seds with
5032
  # small command number limits, like on Digital OSF/1 and HP-UX.
5033
  ac_max_sed_lines=48
5034
  ac_sed_frag=1 # Number of current file.
5035
  ac_beg=1 # First line for current file.
5036
  ac_end=$ac_max_sed_lines # Line after last line for current file.
5037
  ac_more_lines=:
5038
  ac_sed_cmds=
5039
  while $ac_more_lines; do
5040
    if test $ac_beg -gt 1; then
5041
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5042
    else
5043
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5044
    fi
5045
    if test ! -s $tmp/subs.frag; then
5046
      ac_more_lines=false
5047
    else
5048
      # The purpose of the label and of the branching condition is to
5049
      # speed up the sed processing (if there are no `@' at all, there
5050
      # is no need to browse any of the substitutions).
5051
      # These are the two extra sed commands mentioned above.
5052
      (echo ':t
5053
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5054
      if test -z "$ac_sed_cmds"; then
5055
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5056
      else
5057
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5058
      fi
5059
      ac_sed_frag=`expr $ac_sed_frag + 1`
5060
      ac_beg=$ac_end
5061
      ac_end=`expr $ac_end + $ac_max_sed_lines`
5062
    fi
5063
  done
5064
  if test -z "$ac_sed_cmds"; then
5065
    ac_sed_cmds=cat
5066
  fi
5067
fi # test -n "$CONFIG_FILES"
5068
 
5069
_ACEOF
5070
cat >>$CONFIG_STATUS <<\_ACEOF
5071
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5072
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5073
  case $ac_file in
5074
  - | *:- | *:-:* ) # input from stdin
5075
        cat >$tmp/stdin
5076
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5077
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5078
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5079
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5080
  * )   ac_file_in=$ac_file.in ;;
5081
  esac
5082
 
5083
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5084
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5085
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5086
         X"$ac_file" : 'X\(//\)[^/]' \| \
5087
         X"$ac_file" : 'X\(//\)$' \| \
5088
         X"$ac_file" : 'X\(/\)' \| \
5089
         .     : '\(.\)' 2>/dev/null ||
5090
echo X"$ac_file" |
5091
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5092
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5093
          /^X\(\/\/\)$/{ s//\1/; q; }
5094
          /^X\(\/\).*/{ s//\1/; q; }
5095
          s/.*/./; q'`
5096
  { if $as_mkdir_p; then
5097
    mkdir -p "$ac_dir"
5098
  else
5099
    as_dir="$ac_dir"
5100
    as_dirs=
5101
    while test ! -d "$as_dir"; do
5102
      as_dirs="$as_dir $as_dirs"
5103
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5104
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5105
         X"$as_dir" : 'X\(//\)[^/]' \| \
5106
         X"$as_dir" : 'X\(//\)$' \| \
5107
         X"$as_dir" : 'X\(/\)' \| \
5108
         .     : '\(.\)' 2>/dev/null ||
5109
echo X"$as_dir" |
5110
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5111
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5112
          /^X\(\/\/\)$/{ s//\1/; q; }
5113
          /^X\(\/\).*/{ s//\1/; q; }
5114
          s/.*/./; q'`
5115
    done
5116
    test ! -n "$as_dirs" || mkdir $as_dirs
5117
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5118
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5119
   { (exit 1); exit 1; }; }; }
5120
 
5121
  ac_builddir=.
5122
 
5123
if test "$ac_dir" != .; then
5124
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5125
  # A "../" for each directory in $ac_dir_suffix.
5126
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5127
else
5128
  ac_dir_suffix= ac_top_builddir=
5129
fi
5130
 
5131
case $srcdir in
5132
  .)  # No --srcdir option.  We are building in place.
5133
    ac_srcdir=.
5134
    if test -z "$ac_top_builddir"; then
5135
       ac_top_srcdir=.
5136
    else
5137
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5138
    fi ;;
5139
  [\\/]* | ?:[\\/]* )  # Absolute path.
5140
    ac_srcdir=$srcdir$ac_dir_suffix;
5141
    ac_top_srcdir=$srcdir ;;
5142
  *) # Relative path.
5143
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5144
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5145
esac
5146
 
5147
# Do not use `cd foo && pwd` to compute absolute paths, because
5148
# the directories may not exist.
5149
case `pwd` in
5150
.) ac_abs_builddir="$ac_dir";;
5151
*)
5152
  case "$ac_dir" in
5153
  .) ac_abs_builddir=`pwd`;;
5154
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5155
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5156
  esac;;
5157
esac
5158
case $ac_abs_builddir in
5159
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5160
*)
5161
  case ${ac_top_builddir}. in
5162
  .) ac_abs_top_builddir=$ac_abs_builddir;;
5163
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5164
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5165
  esac;;
5166
esac
5167
case $ac_abs_builddir in
5168
.) ac_abs_srcdir=$ac_srcdir;;
5169
*)
5170
  case $ac_srcdir in
5171
  .) ac_abs_srcdir=$ac_abs_builddir;;
5172
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5173
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5174
  esac;;
5175
esac
5176
case $ac_abs_builddir in
5177
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5178
*)
5179
  case $ac_top_srcdir in
5180
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5181
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5182
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5183
  esac;;
5184
esac
5185
 
5186
 
5187
  case $INSTALL in
5188
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5189
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5190
  esac
5191
 
5192
  if test x"$ac_file" != x-; then
5193
    { echo "$as_me:$LINENO: creating $ac_file" >&5
5194
echo "$as_me: creating $ac_file" >&6;}
5195
    rm -f "$ac_file"
5196
  fi
5197
  # Let's still pretend it is `configure' which instantiates (i.e., don't
5198
  # use $as_me), people would be surprised to read:
5199
  #    /* config.h.  Generated by config.status.  */
5200
  if test x"$ac_file" = x-; then
5201
    configure_input=
5202
  else
5203
    configure_input="$ac_file.  "
5204
  fi
5205
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5206
                                     sed 's,.*/,,'` by configure."
5207
 
5208
  # First look for the input files in the build tree, otherwise in the
5209
  # src tree.
5210
  ac_file_inputs=`IFS=:
5211
    for f in $ac_file_in; do
5212
      case $f in
5213
      -) echo $tmp/stdin ;;
5214
      [\\/$]*)
5215
         # Absolute (can't be DOS-style, as IFS=:)
5216
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5217
echo "$as_me: error: cannot find input file: $f" >&2;}
5218
   { (exit 1); exit 1; }; }
5219
         echo "$f";;
5220
      *) # Relative
5221
         if test -f "$f"; then
5222
           # Build tree
5223
           echo "$f"
5224
         elif test -f "$srcdir/$f"; then
5225
           # Source tree
5226
           echo "$srcdir/$f"
5227
         else
5228
           # /dev/null tree
5229
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5230
echo "$as_me: error: cannot find input file: $f" >&2;}
5231
   { (exit 1); exit 1; }; }
5232
         fi;;
5233
      esac
5234
    done` || { (exit 1); exit 1; }
5235
_ACEOF
5236
cat >>$CONFIG_STATUS <<_ACEOF
5237
  sed "$ac_vpsub
5238
$extrasub
5239
_ACEOF
5240
cat >>$CONFIG_STATUS <<\_ACEOF
5241
:t
5242
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5243
s,@configure_input@,$configure_input,;t t
5244
s,@srcdir@,$ac_srcdir,;t t
5245
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5246
s,@top_srcdir@,$ac_top_srcdir,;t t
5247
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5248
s,@builddir@,$ac_builddir,;t t
5249
s,@abs_builddir@,$ac_abs_builddir,;t t
5250
s,@top_builddir@,$ac_top_builddir,;t t
5251
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5252
s,@INSTALL@,$ac_INSTALL,;t t
5253
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5254
  rm -f $tmp/stdin
5255
  if test x"$ac_file" != x-; then
5256
    mv $tmp/out $ac_file
5257
  else
5258
    cat $tmp/out
5259
    rm -f $tmp/out
5260
  fi
5261
 
5262
done
5263
_ACEOF
5264
cat >>$CONFIG_STATUS <<\_ACEOF
5265
 
5266
#
5267
# CONFIG_COMMANDS section.
5268
#
5269
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5270
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5271
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5272
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5273
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5274
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5275
         X"$ac_dest" : 'X\(//\)$' \| \
5276
         X"$ac_dest" : 'X\(/\)' \| \
5277
         .     : '\(.\)' 2>/dev/null ||
5278
echo X"$ac_dest" |
5279
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5280
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5281
          /^X\(\/\/\)$/{ s//\1/; q; }
5282
          /^X\(\/\).*/{ s//\1/; q; }
5283
          s/.*/./; q'`
5284
  { if $as_mkdir_p; then
5285
    mkdir -p "$ac_dir"
5286
  else
5287
    as_dir="$ac_dir"
5288
    as_dirs=
5289
    while test ! -d "$as_dir"; do
5290
      as_dirs="$as_dir $as_dirs"
5291
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5293
         X"$as_dir" : 'X\(//\)[^/]' \| \
5294
         X"$as_dir" : 'X\(//\)$' \| \
5295
         X"$as_dir" : 'X\(/\)' \| \
5296
         .     : '\(.\)' 2>/dev/null ||
5297
echo X"$as_dir" |
5298
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5299
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5300
          /^X\(\/\/\)$/{ s//\1/; q; }
5301
          /^X\(\/\).*/{ s//\1/; q; }
5302
          s/.*/./; q'`
5303
    done
5304
    test ! -n "$as_dirs" || mkdir $as_dirs
5305
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5306
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5307
   { (exit 1); exit 1; }; }; }
5308
 
5309
  ac_builddir=.
5310
 
5311
if test "$ac_dir" != .; then
5312
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5313
  # A "../" for each directory in $ac_dir_suffix.
5314
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5315
else
5316
  ac_dir_suffix= ac_top_builddir=
5317
fi
5318
 
5319
case $srcdir in
5320
  .)  # No --srcdir option.  We are building in place.
5321
    ac_srcdir=.
5322
    if test -z "$ac_top_builddir"; then
5323
       ac_top_srcdir=.
5324
    else
5325
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5326
    fi ;;
5327
  [\\/]* | ?:[\\/]* )  # Absolute path.
5328
    ac_srcdir=$srcdir$ac_dir_suffix;
5329
    ac_top_srcdir=$srcdir ;;
5330
  *) # Relative path.
5331
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5332
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5333
esac
5334
 
5335
# Do not use `cd foo && pwd` to compute absolute paths, because
5336
# the directories may not exist.
5337
case `pwd` in
5338
.) ac_abs_builddir="$ac_dir";;
5339
*)
5340
  case "$ac_dir" in
5341
  .) ac_abs_builddir=`pwd`;;
5342
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5343
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5344
  esac;;
5345
esac
5346
case $ac_abs_builddir in
5347
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5348
*)
5349
  case ${ac_top_builddir}. in
5350
  .) ac_abs_top_builddir=$ac_abs_builddir;;
5351
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5352
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5353
  esac;;
5354
esac
5355
case $ac_abs_builddir in
5356
.) ac_abs_srcdir=$ac_srcdir;;
5357
*)
5358
  case $ac_srcdir in
5359
  .) ac_abs_srcdir=$ac_abs_builddir;;
5360
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5361
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5362
  esac;;
5363
esac
5364
case $ac_abs_builddir in
5365
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5366
*)
5367
  case $ac_top_srcdir in
5368
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5369
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5370
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5371
  esac;;
5372
esac
5373
 
5374
 
5375
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5376
echo "$as_me: executing $ac_dest commands" >&6;}
5377
  case $ac_dest in
5378
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5379
  # Strip MF so we end up with the name of the file.
5380
  mf=`echo "$mf" | sed -e 's/:.*$//'`
5381
  # Check whether this is an Automake generated Makefile or not.
5382
  # We used to match only the files named `Makefile.in', but
5383
  # some people rename them; so instead we look at the file content.
5384
  # Grep'ing the first line is not enough: some people post-process
5385
  # each Makefile.in and add a new line on top of each file to say so.
5386
  # So let's grep whole file.
5387
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5388
    dirpart=`(dirname "$mf") 2>/dev/null ||
5389
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5390
         X"$mf" : 'X\(//\)[^/]' \| \
5391
         X"$mf" : 'X\(//\)$' \| \
5392
         X"$mf" : 'X\(/\)' \| \
5393
         .     : '\(.\)' 2>/dev/null ||
5394
echo X"$mf" |
5395
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5396
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5397
          /^X\(\/\/\)$/{ s//\1/; q; }
5398
          /^X\(\/\).*/{ s//\1/; q; }
5399
          s/.*/./; q'`
5400
  else
5401
    continue
5402
  fi
5403
  # Extract the definition of DEPDIR, am__include, and am__quote
5404
  # from the Makefile without running `make'.
5405
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5406
  test -z "$DEPDIR" && continue
5407
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5408
  test -z "am__include" && continue
5409
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5410
  # When using ansi2knr, U may be empty or an underscore; expand it
5411
  U=`sed -n 's/^U = //p' < "$mf"`
5412
  # Find all dependency output files, they are included files with
5413
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5414
  # simplest approach to changing $(DEPDIR) to its actual value in the
5415
  # expansion.
5416
  for file in `sed -n "
5417
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5418
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5419
    # Make sure the directory exists.
5420
    test -f "$dirpart/$file" && continue
5421
    fdir=`(dirname "$file") 2>/dev/null ||
5422
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5423
         X"$file" : 'X\(//\)[^/]' \| \
5424
         X"$file" : 'X\(//\)$' \| \
5425
         X"$file" : 'X\(/\)' \| \
5426
         .     : '\(.\)' 2>/dev/null ||
5427
echo X"$file" |
5428
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5429
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5430
          /^X\(\/\/\)$/{ s//\1/; q; }
5431
          /^X\(\/\).*/{ s//\1/; q; }
5432
          s/.*/./; q'`
5433
    { if $as_mkdir_p; then
5434
    mkdir -p $dirpart/$fdir
5435
  else
5436
    as_dir=$dirpart/$fdir
5437
    as_dirs=
5438
    while test ! -d "$as_dir"; do
5439
      as_dirs="$as_dir $as_dirs"
5440
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5441
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5442
         X"$as_dir" : 'X\(//\)[^/]' \| \
5443
         X"$as_dir" : 'X\(//\)$' \| \
5444
         X"$as_dir" : 'X\(/\)' \| \
5445
         .     : '\(.\)' 2>/dev/null ||
5446
echo X"$as_dir" |
5447
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5448
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5449
          /^X\(\/\/\)$/{ s//\1/; q; }
5450
          /^X\(\/\).*/{ s//\1/; q; }
5451
          s/.*/./; q'`
5452
    done
5453
    test ! -n "$as_dirs" || mkdir $as_dirs
5454
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5455
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5456
   { (exit 1); exit 1; }; }; }
5457
 
5458
    # echo "creating $dirpart/$file"
5459
    echo '# dummy' > "$dirpart/$file"
5460
  done
5461
done
5462
 ;;
5463
  esac
5464
done
5465
_ACEOF
5466
 
5467
cat >>$CONFIG_STATUS <<\_ACEOF
5468
 
5469
{ (exit 0); exit 0; }
5470
_ACEOF
5471
chmod +x $CONFIG_STATUS
5472
ac_clean_files=$ac_clean_files_save
5473
 
5474
 
5475
# configure is writing to config.log, and then calls config.status.
5476
# config.status does its own redirection, appending to config.log.
5477
# Unfortunately, on DOS this fails, as config.log is still kept open
5478
# by configure, so config.status won't be able to write to it; its
5479
# output is simply discarded.  So we exec the FD to /dev/null,
5480
# effectively closing config.log, so it can be properly (re)opened and
5481
# appended to by config.status.  When coming back to configure, we
5482
# need to make the FD available again.
5483
if test "$no_create" != yes; then
5484
  ac_cs_success=:
5485
  ac_config_status_args=
5486
  test "$silent" = yes &&
5487
    ac_config_status_args="$ac_config_status_args --quiet"
5488
  exec 5>/dev/null
5489
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5490
  exec 5>>config.log
5491
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5492
  # would make configure fail if this is the last instruction.
5493
  $ac_cs_success || { (exit 1); exit 1; }
5494
fi
5495
 

powered by: WebSVN 2.1.0

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