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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [libnosys/] [configure] - Blame information for rev 297

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.
4
#
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization.  ##
10
## --------------------- ##
11
 
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
  emulate sh
15
  NULLCMD=:
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
  # is contrary to our usage.  Disable this feature.
18
  alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
  set -o posix
21
fi
22
DUALCASE=1; export DUALCASE # for MKS sh
23
 
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
  as_unset=unset
27
else
28
  as_unset=false
29
fi
30
 
31
 
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
34
PS1='$ '
35
PS2='> '
36
PS4='+ '
37
 
38
# NLS nuisances.
39
for as_var in \
40
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
  LC_TELEPHONE LC_TIME
43
do
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
    eval $as_var=C; export $as_var
46
  else
47
    $as_unset $as_var
48
  fi
49
done
50
 
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
53
  as_expr=expr
54
else
55
  as_expr=false
56
fi
57
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59
  as_basename=basename
60
else
61
  as_basename=false
62
fi
63
 
64
 
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
         X"$0" : 'X\(//\)$' \| \
69
         X"$0" : 'X\(/\)$' \| \
70
         .     : '\(.\)' 2>/dev/null ||
71
echo X/"$0" |
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
          /^X\/\(\/\).*/{ s//\1/; q; }
75
          s/.*/./; q'`
76
 
77
 
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
  echo "#! /bin/sh" >conf$$.sh
89
  echo  "exit 0"   >>conf$$.sh
90
  chmod +x conf$$.sh
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
    PATH_SEPARATOR=';'
93
  else
94
    PATH_SEPARATOR=:
95
  fi
96
  rm -f conf$$.sh
97
fi
98
 
99
 
100
  as_lineno_1=$LINENO
101
  as_lineno_2=$LINENO
102
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
  # Find who we are.  Look in the path if we contain no path at all
106
  # relative or not.
107
  case $0 in
108
    *[\\/]* ) as_myself=$0 ;;
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
for as_dir in $PATH
111
do
112
  IFS=$as_save_IFS
113
  test -z "$as_dir" && as_dir=.
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
done
116
 
117
       ;;
118
  esac
119
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
  # in which case we are not to be found in the path.
121
  if test "x$as_myself" = x; then
122
    as_myself=$0
123
  fi
124
  if test ! -f "$as_myself"; then
125
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
   { (exit 1); exit 1; }; }
127
  fi
128
  case $CONFIG_SHELL in
129
  '')
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
do
133
  IFS=$as_save_IFS
134
  test -z "$as_dir" && as_dir=.
135
  for as_base in sh bash ksh sh5; do
136
         case $as_dir in
137
         /*)
138
           if ("$as_dir/$as_base" -c '
139
  as_lineno_1=$LINENO
140
  as_lineno_2=$LINENO
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
             CONFIG_SHELL=$as_dir/$as_base
147
             export CONFIG_SHELL
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
           fi;;
150
         esac
151
       done
152
done
153
;;
154
  esac
155
 
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
  # line-number line before each line; the second 'sed' does the real
159
  # work.  The second script uses 'N' to pair each line-number line
160
  # with the numbered line, and appends trailing '-' during
161
  # substitution so that $LINENO is not a special case at line end.
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
  sed '=' <$as_myself |
165
    sed '
166
      N
167
      s,$,-,
168
      : loop
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170
      t loop
171
      s,-$,,
172
      s,^['$as_cr_digits']*\n,,
173
    ' >$as_me.lineno &&
174
  chmod +x $as_me.lineno ||
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
   { (exit 1); exit 1; }; }
177
 
178
  # Don't try to exec as it changes $[0], causing all sort of problems
179
  # (the dirname of $[0] is not the place where we might find the
180
  # original and so on.  Autoconf is especially sensible to this).
181
  . ./$as_me.lineno
182
  # Exit status is that of the last command.
183
  exit
184
}
185
 
186
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
  *c*,-n*) ECHO_N= ECHO_C='
189
' ECHO_T='      ' ;;
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192
esac
193
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
195
  as_expr=expr
196
else
197
  as_expr=false
198
fi
199
 
200
rm -f conf$$ conf$$.exe conf$$.file
201
echo >conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
  # We could just check for DJGPP; but this test a) works b) is more generic
204
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
  if test -f conf$$.exe; then
206
    # Don't use ln at all; we don't have any links
207
    as_ln_s='cp -p'
208
  else
209
    as_ln_s='ln -s'
210
  fi
211
elif ln conf$$.file conf$$ 2>/dev/null; then
212
  as_ln_s=ln
213
else
214
  as_ln_s='cp -p'
215
fi
216
rm -f conf$$ conf$$.exe conf$$.file
217
 
218
if mkdir -p . 2>/dev/null; then
219
  as_mkdir_p=:
220
else
221
  test -d ./-p && rmdir ./-p
222
  as_mkdir_p=false
223
fi
224
 
225
as_executable_p="test -f"
226
 
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
 
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
 
233
 
234
# IFS
235
# We need space, tab and new line, in precisely that order.
236
as_nl='
237
'
238
IFS="   $as_nl"
239
 
240
# CDPATH.
241
$as_unset CDPATH
242
 
243
 
244
# Name of the host.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
 
249
exec 6>&1
250
 
251
#
252
# Initializations.
253
#
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
256
cross_compiling=no
257
subdirs=
258
MFLAGS=
259
MAKEFLAGS=
260
SHELL=${CONFIG_SHELL-/bin/sh}
261
 
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete.  It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
266
 
267
# Identity of this package.
268
PACKAGE_NAME=
269
PACKAGE_TARNAME=
270
PACKAGE_VERSION=
271
PACKAGE_STRING=
272
PACKAGE_BUGREPORT=
273
 
274
ac_unique_file="close.c"
275
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS host_makefile_frag_path LIBOBJS LTLIBOBJS'
276
ac_subst_files='host_makefile_frag'
277
 
278
# Initialize some variables set by options.
279
ac_init_help=
280
ac_init_version=false
281
# The variables have the same names as the options, with
282
# dashes changed to underlines.
283
cache_file=/dev/null
284
exec_prefix=NONE
285
no_create=
286
no_recursion=
287
prefix=NONE
288
program_prefix=NONE
289
program_suffix=NONE
290
program_transform_name=s,x,x,
291
silent=
292
site=
293
srcdir=
294
verbose=
295
x_includes=NONE
296
x_libraries=NONE
297
 
298
# Installation directory options.
299
# These are left unexpanded so users can "make install exec_prefix=/foo"
300
# and all the variables that are supposed to be based on exec_prefix
301
# by default will actually change.
302
# Use braces instead of parens because sh, perl, etc. also accept them.
303
bindir='${exec_prefix}/bin'
304
sbindir='${exec_prefix}/sbin'
305
libexecdir='${exec_prefix}/libexec'
306
datadir='${prefix}/share'
307
sysconfdir='${prefix}/etc'
308
sharedstatedir='${prefix}/com'
309
localstatedir='${prefix}/var'
310
libdir='${exec_prefix}/lib'
311
includedir='${prefix}/include'
312
oldincludedir='/usr/include'
313
infodir='${prefix}/info'
314
mandir='${prefix}/man'
315
 
316
ac_prev=
317
for ac_option
318
do
319
  # If the previous option needs an argument, assign it.
320
  if test -n "$ac_prev"; then
321
    eval "$ac_prev=\$ac_option"
322
    ac_prev=
323
    continue
324
  fi
325
 
326
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
 
328
  # Accept the important Cygnus configure options, so we can diagnose typos.
329
 
330
  case $ac_option in
331
 
332
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
333
    ac_prev=bindir ;;
334
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335
    bindir=$ac_optarg ;;
336
 
337
  -build | --build | --buil | --bui | --bu)
338
    ac_prev=build_alias ;;
339
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340
    build_alias=$ac_optarg ;;
341
 
342
  -cache-file | --cache-file | --cache-fil | --cache-fi \
343
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344
    ac_prev=cache_file ;;
345
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347
    cache_file=$ac_optarg ;;
348
 
349
  --config-cache | -C)
350
    cache_file=config.cache ;;
351
 
352
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353
    ac_prev=datadir ;;
354
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355
  | --da=*)
356
    datadir=$ac_optarg ;;
357
 
358
  -disable-* | --disable-*)
359
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360
    # Reject names that are not valid shell variable names.
361
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363
   { (exit 1); exit 1; }; }
364
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365
    eval "enable_$ac_feature=no" ;;
366
 
367
  -enable-* | --enable-*)
368
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369
    # Reject names that are not valid shell variable names.
370
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372
   { (exit 1); exit 1; }; }
373
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374
    case $ac_option in
375
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376
      *) ac_optarg=yes ;;
377
    esac
378
    eval "enable_$ac_feature='$ac_optarg'" ;;
379
 
380
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382
  | --exec | --exe | --ex)
383
    ac_prev=exec_prefix ;;
384
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386
  | --exec=* | --exe=* | --ex=*)
387
    exec_prefix=$ac_optarg ;;
388
 
389
  -gas | --gas | --ga | --g)
390
    # Obsolete; use --with-gas.
391
    with_gas=yes ;;
392
 
393
  -help | --help | --hel | --he | -h)
394
    ac_init_help=long ;;
395
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396
    ac_init_help=recursive ;;
397
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398
    ac_init_help=short ;;
399
 
400
  -host | --host | --hos | --ho)
401
    ac_prev=host_alias ;;
402
  -host=* | --host=* | --hos=* | --ho=*)
403
    host_alias=$ac_optarg ;;
404
 
405
  -includedir | --includedir | --includedi | --included | --include \
406
  | --includ | --inclu | --incl | --inc)
407
    ac_prev=includedir ;;
408
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409
  | --includ=* | --inclu=* | --incl=* | --inc=*)
410
    includedir=$ac_optarg ;;
411
 
412
  -infodir | --infodir | --infodi | --infod | --info | --inf)
413
    ac_prev=infodir ;;
414
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415
    infodir=$ac_optarg ;;
416
 
417
  -libdir | --libdir | --libdi | --libd)
418
    ac_prev=libdir ;;
419
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
420
    libdir=$ac_optarg ;;
421
 
422
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423
  | --libexe | --libex | --libe)
424
    ac_prev=libexecdir ;;
425
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426
  | --libexe=* | --libex=* | --libe=*)
427
    libexecdir=$ac_optarg ;;
428
 
429
  -localstatedir | --localstatedir | --localstatedi | --localstated \
430
  | --localstate | --localstat | --localsta | --localst \
431
  | --locals | --local | --loca | --loc | --lo)
432
    ac_prev=localstatedir ;;
433
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436
    localstatedir=$ac_optarg ;;
437
 
438
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439
    ac_prev=mandir ;;
440
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441
    mandir=$ac_optarg ;;
442
 
443
  -nfp | --nfp | --nf)
444
    # Obsolete; use --without-fp.
445
    with_fp=no ;;
446
 
447
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448
  | --no-cr | --no-c | -n)
449
    no_create=yes ;;
450
 
451
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453
    no_recursion=yes ;;
454
 
455
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457
  | --oldin | --oldi | --old | --ol | --o)
458
    ac_prev=oldincludedir ;;
459
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462
    oldincludedir=$ac_optarg ;;
463
 
464
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465
    ac_prev=prefix ;;
466
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467
    prefix=$ac_optarg ;;
468
 
469
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
470
  | --program-pre | --program-pr | --program-p)
471
    ac_prev=program_prefix ;;
472
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
473
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474
    program_prefix=$ac_optarg ;;
475
 
476
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
477
  | --program-suf | --program-su | --program-s)
478
    ac_prev=program_suffix ;;
479
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
480
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481
    program_suffix=$ac_optarg ;;
482
 
483
  -program-transform-name | --program-transform-name \
484
  | --program-transform-nam | --program-transform-na \
485
  | --program-transform-n | --program-transform- \
486
  | --program-transform | --program-transfor \
487
  | --program-transfo | --program-transf \
488
  | --program-trans | --program-tran \
489
  | --progr-tra | --program-tr | --program-t)
490
    ac_prev=program_transform_name ;;
491
  -program-transform-name=* | --program-transform-name=* \
492
  | --program-transform-nam=* | --program-transform-na=* \
493
  | --program-transform-n=* | --program-transform-=* \
494
  | --program-transform=* | --program-transfor=* \
495
  | --program-transfo=* | --program-transf=* \
496
  | --program-trans=* | --program-tran=* \
497
  | --progr-tra=* | --program-tr=* | --program-t=*)
498
    program_transform_name=$ac_optarg ;;
499
 
500
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
  | -silent | --silent | --silen | --sile | --sil)
502
    silent=yes ;;
503
 
504
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505
    ac_prev=sbindir ;;
506
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507
  | --sbi=* | --sb=*)
508
    sbindir=$ac_optarg ;;
509
 
510
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
511
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512
  | --sharedst | --shareds | --shared | --share | --shar \
513
  | --sha | --sh)
514
    ac_prev=sharedstatedir ;;
515
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518
  | --sha=* | --sh=*)
519
    sharedstatedir=$ac_optarg ;;
520
 
521
  -site | --site | --sit)
522
    ac_prev=site ;;
523
  -site=* | --site=* | --sit=*)
524
    site=$ac_optarg ;;
525
 
526
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527
    ac_prev=srcdir ;;
528
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529
    srcdir=$ac_optarg ;;
530
 
531
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532
  | --syscon | --sysco | --sysc | --sys | --sy)
533
    ac_prev=sysconfdir ;;
534
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536
    sysconfdir=$ac_optarg ;;
537
 
538
  -target | --target | --targe | --targ | --tar | --ta | --t)
539
    ac_prev=target_alias ;;
540
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541
    target_alias=$ac_optarg ;;
542
 
543
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
544
    verbose=yes ;;
545
 
546
  -version | --version | --versio | --versi | --vers | -V)
547
    ac_init_version=: ;;
548
 
549
  -with-* | --with-*)
550
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551
    # Reject names that are not valid shell variable names.
552
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553
      { echo "$as_me: error: invalid package name: $ac_package" >&2
554
   { (exit 1); exit 1; }; }
555
    ac_package=`echo $ac_package| sed 's/-/_/g'`
556
    case $ac_option in
557
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558
      *) ac_optarg=yes ;;
559
    esac
560
    eval "with_$ac_package='$ac_optarg'" ;;
561
 
562
  -without-* | --without-*)
563
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564
    # Reject names that are not valid shell variable names.
565
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566
      { echo "$as_me: error: invalid package name: $ac_package" >&2
567
   { (exit 1); exit 1; }; }
568
    ac_package=`echo $ac_package | sed 's/-/_/g'`
569
    eval "with_$ac_package=no" ;;
570
 
571
  --x)
572
    # Obsolete; use --with-x.
573
    with_x=yes ;;
574
 
575
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576
  | --x-incl | --x-inc | --x-in | --x-i)
577
    ac_prev=x_includes ;;
578
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580
    x_includes=$ac_optarg ;;
581
 
582
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
583
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584
    ac_prev=x_libraries ;;
585
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587
    x_libraries=$ac_optarg ;;
588
 
589
  -*) { echo "$as_me: error: unrecognized option: $ac_option
590
Try \`$0 --help' for more information." >&2
591
   { (exit 1); exit 1; }; }
592
    ;;
593
 
594
  *=*)
595
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596
    # Reject names that are not valid shell variable names.
597
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599
   { (exit 1); exit 1; }; }
600
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601
    eval "$ac_envvar='$ac_optarg'"
602
    export $ac_envvar ;;
603
 
604
  *)
605
    # FIXME: should be removed in autoconf 3.0.
606
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610
    ;;
611
 
612
  esac
613
done
614
 
615
if test -n "$ac_prev"; then
616
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617
  { echo "$as_me: error: missing argument to $ac_option" >&2
618
   { (exit 1); exit 1; }; }
619
fi
620
 
621
# Be sure to have absolute paths.
622
for ac_var in exec_prefix prefix
623
do
624
  eval ac_val=$`echo $ac_var`
625
  case $ac_val in
626
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628
   { (exit 1); exit 1; }; };;
629
  esac
630
done
631
 
632
# Be sure to have absolute paths.
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634
              localstatedir libdir includedir oldincludedir infodir mandir
635
do
636
  eval ac_val=$`echo $ac_var`
637
  case $ac_val in
638
    [\\/$]* | ?:[\\/]* ) ;;
639
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640
   { (exit 1); exit 1; }; };;
641
  esac
642
done
643
 
644
# There might be people who depend on the old broken behavior: `$host'
645
# used to hold the argument of --host etc.
646
# FIXME: To remove some day.
647
build=$build_alias
648
host=$host_alias
649
target=$target_alias
650
 
651
# FIXME: To remove some day.
652
if test "x$host_alias" != x; then
653
  if test "x$build_alias" = x; then
654
    cross_compiling=maybe
655
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656
    If a cross compiler is detected then cross compile mode will be used." >&2
657
  elif test "x$build_alias" != "x$host_alias"; then
658
    cross_compiling=yes
659
  fi
660
fi
661
 
662
ac_tool_prefix=
663
test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
 
665
test "$silent" = yes && exec 6>/dev/null
666
 
667
 
668
# Find the source files, if location was not specified.
669
if test -z "$srcdir"; then
670
  ac_srcdir_defaulted=yes
671
  # Try the directory containing this script, then its parent.
672
  ac_confdir=`(dirname "$0") 2>/dev/null ||
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
         X"$0" : 'X\(//\)[^/]' \| \
675
         X"$0" : 'X\(//\)$' \| \
676
         X"$0" : 'X\(/\)' \| \
677
         .     : '\(.\)' 2>/dev/null ||
678
echo X"$0" |
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
          /^X\(\/\/\)$/{ s//\1/; q; }
682
          /^X\(\/\).*/{ s//\1/; q; }
683
          s/.*/./; q'`
684
  srcdir=$ac_confdir
685
  if test ! -r $srcdir/$ac_unique_file; then
686
    srcdir=..
687
  fi
688
else
689
  ac_srcdir_defaulted=no
690
fi
691
if test ! -r $srcdir/$ac_unique_file; then
692
  if test "$ac_srcdir_defaulted" = yes; then
693
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
   { (exit 1); exit 1; }; }
695
  else
696
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
   { (exit 1); exit 1; }; }
698
  fi
699
fi
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
   { (exit 1); exit 1; }; }
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
ac_env_build_alias_set=${build_alias+set}
705
ac_env_build_alias_value=$build_alias
706
ac_cv_env_build_alias_set=${build_alias+set}
707
ac_cv_env_build_alias_value=$build_alias
708
ac_env_host_alias_set=${host_alias+set}
709
ac_env_host_alias_value=$host_alias
710
ac_cv_env_host_alias_set=${host_alias+set}
711
ac_cv_env_host_alias_value=$host_alias
712
ac_env_target_alias_set=${target_alias+set}
713
ac_env_target_alias_value=$target_alias
714
ac_cv_env_target_alias_set=${target_alias+set}
715
ac_cv_env_target_alias_value=$target_alias
716
ac_env_CCAS_set=${CCAS+set}
717
ac_env_CCAS_value=$CCAS
718
ac_cv_env_CCAS_set=${CCAS+set}
719
ac_cv_env_CCAS_value=$CCAS
720
ac_env_CCASFLAGS_set=${CCASFLAGS+set}
721
ac_env_CCASFLAGS_value=$CCASFLAGS
722
ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
723
ac_cv_env_CCASFLAGS_value=$CCASFLAGS
724
 
725
#
726
# Report the --help message.
727
#
728
if test "$ac_init_help" = "long"; then
729
  # Omit some internal or obsolete options to make the list less imposing.
730
  # This message is too long to be a string in the A/UX 3.1 sh.
731
  cat <<_ACEOF
732
\`configure' configures this package to adapt to many kinds of systems.
733
 
734
Usage: $0 [OPTION]... [VAR=VALUE]...
735
 
736
To assign environment variables (e.g., CC, CFLAGS...), specify them as
737
VAR=VALUE.  See below for descriptions of some of the useful variables.
738
 
739
Defaults for the options are specified in brackets.
740
 
741
Configuration:
742
  -h, --help              display this help and exit
743
      --help=short        display options specific to this package
744
      --help=recursive    display the short help of all the included packages
745
  -V, --version           display version information and exit
746
  -q, --quiet, --silent   do not print \`checking...' messages
747
      --cache-file=FILE   cache test results in FILE [disabled]
748
  -C, --config-cache      alias for \`--cache-file=config.cache'
749
  -n, --no-create         do not create output files
750
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
751
 
752
_ACEOF
753
 
754
  cat <<_ACEOF
755
Installation directories:
756
  --prefix=PREFIX         install architecture-independent files in PREFIX
757
                          [$ac_default_prefix]
758
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
759
                          [PREFIX]
760
 
761
By default, \`make install' will install all the files in
762
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
763
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
764
for instance \`--prefix=\$HOME'.
765
 
766
For better control, use the options below.
767
 
768
Fine tuning of the installation directories:
769
  --bindir=DIR           user executables [EPREFIX/bin]
770
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
771
  --libexecdir=DIR       program executables [EPREFIX/libexec]
772
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
773
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
774
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
775
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
776
  --libdir=DIR           object code libraries [EPREFIX/lib]
777
  --includedir=DIR       C header files [PREFIX/include]
778
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
779
  --infodir=DIR          info documentation [PREFIX/info]
780
  --mandir=DIR           man documentation [PREFIX/man]
781
_ACEOF
782
 
783
  cat <<\_ACEOF
784
 
785
Program names:
786
  --program-prefix=PREFIX            prepend PREFIX to installed program names
787
  --program-suffix=SUFFIX            append SUFFIX to installed program names
788
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
789
 
790
System types:
791
  --build=BUILD     configure for building on BUILD [guessed]
792
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
793
  --target=TARGET   configure for building compilers for TARGET [HOST]
794
_ACEOF
795
fi
796
 
797
if test -n "$ac_init_help"; then
798
 
799
  cat <<\_ACEOF
800
 
801
Optional Features:
802
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
803
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
804
  --disable-dependency-tracking  speeds up one-time build
805
  --enable-dependency-tracking   do not reject slow dependency extractors
806
 
807
Some influential environment variables:
808
  CCAS        assembler compiler command (defaults to CC)
809
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
810
 
811
Use these variables to override the choices made by `configure' or to help
812
it to find libraries and programs with nonstandard names/locations.
813
 
814
_ACEOF
815
fi
816
 
817
if test "$ac_init_help" = "recursive"; then
818
  # If there are subdirs, report their specific --help.
819
  ac_popdir=`pwd`
820
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
821
    test -d $ac_dir || continue
822
    ac_builddir=.
823
 
824
if test "$ac_dir" != .; then
825
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
826
  # A "../" for each directory in $ac_dir_suffix.
827
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
828
else
829
  ac_dir_suffix= ac_top_builddir=
830
fi
831
 
832
case $srcdir in
833
  .)  # No --srcdir option.  We are building in place.
834
    ac_srcdir=.
835
    if test -z "$ac_top_builddir"; then
836
       ac_top_srcdir=.
837
    else
838
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
839
    fi ;;
840
  [\\/]* | ?:[\\/]* )  # Absolute path.
841
    ac_srcdir=$srcdir$ac_dir_suffix;
842
    ac_top_srcdir=$srcdir ;;
843
  *) # Relative path.
844
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
845
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
846
esac
847
 
848
# Do not use `cd foo && pwd` to compute absolute paths, because
849
# the directories may not exist.
850
case `pwd` in
851
.) ac_abs_builddir="$ac_dir";;
852
*)
853
  case "$ac_dir" in
854
  .) ac_abs_builddir=`pwd`;;
855
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
856
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
857
  esac;;
858
esac
859
case $ac_abs_builddir in
860
.) ac_abs_top_builddir=${ac_top_builddir}.;;
861
*)
862
  case ${ac_top_builddir}. in
863
  .) ac_abs_top_builddir=$ac_abs_builddir;;
864
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
865
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
866
  esac;;
867
esac
868
case $ac_abs_builddir in
869
.) ac_abs_srcdir=$ac_srcdir;;
870
*)
871
  case $ac_srcdir in
872
  .) ac_abs_srcdir=$ac_abs_builddir;;
873
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
874
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
875
  esac;;
876
esac
877
case $ac_abs_builddir in
878
.) ac_abs_top_srcdir=$ac_top_srcdir;;
879
*)
880
  case $ac_top_srcdir in
881
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
882
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
883
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
884
  esac;;
885
esac
886
 
887
    cd $ac_dir
888
    # Check for guested configure; otherwise get Cygnus style configure.
889
    if test -f $ac_srcdir/configure.gnu; then
890
      echo
891
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
892
    elif test -f $ac_srcdir/configure; then
893
      echo
894
      $SHELL $ac_srcdir/configure  --help=recursive
895
    elif test -f $ac_srcdir/configure.ac ||
896
           test -f $ac_srcdir/configure.in; then
897
      echo
898
      $ac_configure --help
899
    else
900
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
901
    fi
902
    cd $ac_popdir
903
  done
904
fi
905
 
906
test -n "$ac_init_help" && exit 0
907
if $ac_init_version; then
908
  cat <<\_ACEOF
909
 
910
Copyright (C) 2003 Free Software Foundation, Inc.
911
This configure script is free software; the Free Software Foundation
912
gives unlimited permission to copy, distribute and modify it.
913
_ACEOF
914
  exit 0
915
fi
916
exec 5>config.log
917
cat >&5 <<_ACEOF
918
This file contains any messages produced by compilers while
919
running configure, to aid debugging if configure makes a mistake.
920
 
921
It was created by $as_me, which was
922
generated by GNU Autoconf 2.59.  Invocation command line was
923
 
924
  $ $0 $@
925
 
926
_ACEOF
927
{
928
cat <<_ASUNAME
929
## --------- ##
930
## Platform. ##
931
## --------- ##
932
 
933
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
934
uname -m = `(uname -m) 2>/dev/null || echo unknown`
935
uname -r = `(uname -r) 2>/dev/null || echo unknown`
936
uname -s = `(uname -s) 2>/dev/null || echo unknown`
937
uname -v = `(uname -v) 2>/dev/null || echo unknown`
938
 
939
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
940
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
941
 
942
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
943
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
944
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
945
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
946
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
947
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
948
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
949
 
950
_ASUNAME
951
 
952
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
953
for as_dir in $PATH
954
do
955
  IFS=$as_save_IFS
956
  test -z "$as_dir" && as_dir=.
957
  echo "PATH: $as_dir"
958
done
959
 
960
} >&5
961
 
962
cat >&5 <<_ACEOF
963
 
964
 
965
## ----------- ##
966
## Core tests. ##
967
## ----------- ##
968
 
969
_ACEOF
970
 
971
 
972
# Keep a trace of the command line.
973
# Strip out --no-create and --no-recursion so they do not pile up.
974
# Strip out --silent because we don't want to record it for future runs.
975
# Also quote any args containing shell meta-characters.
976
# Make two passes to allow for proper duplicate-argument suppression.
977
ac_configure_args=
978
ac_configure_args0=
979
ac_configure_args1=
980
ac_sep=
981
ac_must_keep_next=false
982
for ac_pass in 1 2
983
do
984
  for ac_arg
985
  do
986
    case $ac_arg in
987
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
988
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989
    | -silent | --silent | --silen | --sile | --sil)
990
      continue ;;
991
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
992
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
993
    esac
994
    case $ac_pass in
995
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
996
    2)
997
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
998
      if test $ac_must_keep_next = true; then
999
        ac_must_keep_next=false # Got value, back to normal.
1000
      else
1001
        case $ac_arg in
1002
          *=* | --config-cache | -C | -disable-* | --disable-* \
1003
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1004
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1005
          | -with-* | --with-* | -without-* | --without-* | --x)
1006
            case "$ac_configure_args0 " in
1007
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1008
            esac
1009
            ;;
1010
          -* ) ac_must_keep_next=true ;;
1011
        esac
1012
      fi
1013
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1014
      # Get rid of the leading space.
1015
      ac_sep=" "
1016
      ;;
1017
    esac
1018
  done
1019
done
1020
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1021
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1022
 
1023
# When interrupted or exit'd, cleanup temporary files, and complete
1024
# config.log.  We remove comments because anyway the quotes in there
1025
# would cause problems or look ugly.
1026
# WARNING: Be sure not to use single quotes in there, as some shells,
1027
# such as our DU 5.0 friend, will then `close' the trap.
1028
trap 'exit_status=$?
1029
  # Save into config.log some information that might help in debugging.
1030
  {
1031
    echo
1032
 
1033
    cat <<\_ASBOX
1034
## ---------------- ##
1035
## Cache variables. ##
1036
## ---------------- ##
1037
_ASBOX
1038
    echo
1039
    # The following way of writing the cache mishandles newlines in values,
1040
{
1041
  (set) 2>&1 |
1042
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1043
    *ac_space=\ *)
1044
      sed -n \
1045
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1046
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1047
      ;;
1048
    *)
1049
      sed -n \
1050
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1051
      ;;
1052
    esac;
1053
}
1054
    echo
1055
 
1056
    cat <<\_ASBOX
1057
## ----------------- ##
1058
## Output variables. ##
1059
## ----------------- ##
1060
_ASBOX
1061
    echo
1062
    for ac_var in $ac_subst_vars
1063
    do
1064
      eval ac_val=$`echo $ac_var`
1065
      echo "$ac_var='"'"'$ac_val'"'"'"
1066
    done | sort
1067
    echo
1068
 
1069
    if test -n "$ac_subst_files"; then
1070
      cat <<\_ASBOX
1071
## ------------- ##
1072
## Output files. ##
1073
## ------------- ##
1074
_ASBOX
1075
      echo
1076
      for ac_var in $ac_subst_files
1077
      do
1078
        eval ac_val=$`echo $ac_var`
1079
        echo "$ac_var='"'"'$ac_val'"'"'"
1080
      done | sort
1081
      echo
1082
    fi
1083
 
1084
    if test -s confdefs.h; then
1085
      cat <<\_ASBOX
1086
## ----------- ##
1087
## confdefs.h. ##
1088
## ----------- ##
1089
_ASBOX
1090
      echo
1091
      sed "/^$/d" confdefs.h | sort
1092
      echo
1093
    fi
1094
    test "$ac_signal" != 0 &&
1095
      echo "$as_me: caught signal $ac_signal"
1096
    echo "$as_me: exit $exit_status"
1097
  } >&5
1098
  rm -f core *.core &&
1099
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1100
    exit $exit_status
1101
     ' 0
1102
for ac_signal in 1 2 13 15; do
1103
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1104
done
1105
ac_signal=0
1106
 
1107
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1108
rm -rf conftest* confdefs.h
1109
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1110
echo >confdefs.h
1111
 
1112
# Predefined preprocessor variables.
1113
 
1114
cat >>confdefs.h <<_ACEOF
1115
#define PACKAGE_NAME "$PACKAGE_NAME"
1116
_ACEOF
1117
 
1118
 
1119
cat >>confdefs.h <<_ACEOF
1120
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1121
_ACEOF
1122
 
1123
 
1124
cat >>confdefs.h <<_ACEOF
1125
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1126
_ACEOF
1127
 
1128
 
1129
cat >>confdefs.h <<_ACEOF
1130
#define PACKAGE_STRING "$PACKAGE_STRING"
1131
_ACEOF
1132
 
1133
 
1134
cat >>confdefs.h <<_ACEOF
1135
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1136
_ACEOF
1137
 
1138
 
1139
# Let the site file select an alternate cache file if it wants to.
1140
# Prefer explicitly selected file to automatically selected ones.
1141
if test -z "$CONFIG_SITE"; then
1142
  if test "x$prefix" != xNONE; then
1143
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1144
  else
1145
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1146
  fi
1147
fi
1148
for ac_site_file in $CONFIG_SITE; do
1149
  if test -r "$ac_site_file"; then
1150
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1151
echo "$as_me: loading site script $ac_site_file" >&6;}
1152
    sed 's/^/| /' "$ac_site_file" >&5
1153
    . "$ac_site_file"
1154
  fi
1155
done
1156
 
1157
if test -r "$cache_file"; then
1158
  # Some versions of bash will fail to source /dev/null (special
1159
  # files actually), so we avoid doing that.
1160
  if test -f "$cache_file"; then
1161
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1162
echo "$as_me: loading cache $cache_file" >&6;}
1163
    case $cache_file in
1164
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1165
      *)                      . ./$cache_file;;
1166
    esac
1167
  fi
1168
else
1169
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1170
echo "$as_me: creating cache $cache_file" >&6;}
1171
  >$cache_file
1172
fi
1173
 
1174
# Check that the precious variables saved in the cache have kept the same
1175
# value.
1176
ac_cache_corrupted=false
1177
for ac_var in `(set) 2>&1 |
1178
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1179
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1180
  eval ac_new_set=\$ac_env_${ac_var}_set
1181
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1182
  eval ac_new_val="\$ac_env_${ac_var}_value"
1183
  case $ac_old_set,$ac_new_set in
1184
    set,)
1185
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1186
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1187
      ac_cache_corrupted=: ;;
1188
    ,set)
1189
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1190
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1191
      ac_cache_corrupted=: ;;
1192
    ,);;
1193
    *)
1194
      if test "x$ac_old_val" != "x$ac_new_val"; then
1195
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1196
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1197
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1198
echo "$as_me:   former value:  $ac_old_val" >&2;}
1199
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1200
echo "$as_me:   current value: $ac_new_val" >&2;}
1201
        ac_cache_corrupted=:
1202
      fi;;
1203
  esac
1204
  # Pass precious variables to config.status.
1205
  if test "$ac_new_set" = set; then
1206
    case $ac_new_val in
1207
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1208
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1209
    *) ac_arg=$ac_var=$ac_new_val ;;
1210
    esac
1211
    case " $ac_configure_args " in
1212
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1213
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1214
    esac
1215
  fi
1216
done
1217
if $ac_cache_corrupted; then
1218
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1219
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1220
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1221
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1222
   { (exit 1); exit 1; }; }
1223
fi
1224
 
1225
ac_ext=c
1226
ac_cpp='$CPP $CPPFLAGS'
1227
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1228
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1229
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1230
 
1231
 
1232
 
1233
 
1234
 
1235
 
1236
 
1237
 
1238
 
1239
 
1240
 
1241
 
1242
 
1243
 
1244
 
1245
 
1246
 
1247
 
1248
 
1249
          ac_config_headers="$ac_config_headers config.h"
1250
 
1251
 
1252
if test "${enable_shared}" = "yes" ; then
1253
    echo "Shared libraries not supported for cross compiling, ignored"
1254
fi
1255
 
1256
if test "$srcdir" = "." ; then
1257
  if test "${with_target_subdir}" != "." ; then
1258
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1259
  else
1260
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1261
  fi
1262
else
1263
  libgloss_topdir="${srcdir}/../.."
1264
fi
1265
ac_aux_dir=
1266
for ac_dir in $libgloss_topdir $srcdir/$libgloss_topdir; do
1267
  if test -f $ac_dir/install-sh; then
1268
    ac_aux_dir=$ac_dir
1269
    ac_install_sh="$ac_aux_dir/install-sh -c"
1270
    break
1271
  elif test -f $ac_dir/install.sh; then
1272
    ac_aux_dir=$ac_dir
1273
    ac_install_sh="$ac_aux_dir/install.sh -c"
1274
    break
1275
  elif test -f $ac_dir/shtool; then
1276
    ac_aux_dir=$ac_dir
1277
    ac_install_sh="$ac_aux_dir/shtool install -c"
1278
    break
1279
  fi
1280
done
1281
if test -z "$ac_aux_dir"; then
1282
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&5
1283
echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&2;}
1284
   { (exit 1); exit 1; }; }
1285
fi
1286
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1287
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1288
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1289
 
1290
 
1291
# Make sure we can run config.sub.
1292
$ac_config_sub sun4 >/dev/null 2>&1 ||
1293
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1294
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1295
   { (exit 1); exit 1; }; }
1296
 
1297
echo "$as_me:$LINENO: checking build system type" >&5
1298
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1299
if test "${ac_cv_build+set}" = set; then
1300
  echo $ECHO_N "(cached) $ECHO_C" >&6
1301
else
1302
  ac_cv_build_alias=$build_alias
1303
test -z "$ac_cv_build_alias" &&
1304
  ac_cv_build_alias=`$ac_config_guess`
1305
test -z "$ac_cv_build_alias" &&
1306
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1307
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1308
   { (exit 1); exit 1; }; }
1309
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1310
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1311
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1312
   { (exit 1); exit 1; }; }
1313
 
1314
fi
1315
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1316
echo "${ECHO_T}$ac_cv_build" >&6
1317
build=$ac_cv_build
1318
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1319
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1320
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1321
 
1322
 
1323
echo "$as_me:$LINENO: checking host system type" >&5
1324
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1325
if test "${ac_cv_host+set}" = set; then
1326
  echo $ECHO_N "(cached) $ECHO_C" >&6
1327
else
1328
  ac_cv_host_alias=$host_alias
1329
test -z "$ac_cv_host_alias" &&
1330
  ac_cv_host_alias=$ac_cv_build_alias
1331
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1332
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1333
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1334
   { (exit 1); exit 1; }; }
1335
 
1336
fi
1337
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1338
echo "${ECHO_T}$ac_cv_host" >&6
1339
host=$ac_cv_host
1340
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1341
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1342
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1343
 
1344
 
1345
echo "$as_me:$LINENO: checking target system type" >&5
1346
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1347
if test "${ac_cv_target+set}" = set; then
1348
  echo $ECHO_N "(cached) $ECHO_C" >&6
1349
else
1350
  ac_cv_target_alias=$target_alias
1351
test "x$ac_cv_target_alias" = "x" &&
1352
  ac_cv_target_alias=$ac_cv_host_alias
1353
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1354
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1355
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1356
   { (exit 1); exit 1; }; }
1357
 
1358
fi
1359
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1360
echo "${ECHO_T}$ac_cv_target" >&6
1361
target=$ac_cv_target
1362
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1363
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1364
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1365
 
1366
 
1367
# The aliases save the names the user supplied, while $host etc.
1368
# will get canonicalized.
1369
test -n "$target_alias" &&
1370
  test "$program_prefix$program_suffix$program_transform_name" = \
1371
    NONENONEs,x,x, &&
1372
  program_prefix=${target_alias}-
1373
test "$program_prefix" != NONE &&
1374
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1375
# Use a double $ so make ignores it.
1376
test "$program_suffix" != NONE &&
1377
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1378
# Double any \ or $.  echo might interpret backslashes.
1379
# By default was `s,x,x', remove it if useless.
1380
cat <<\_ACEOF >conftest.sed
1381
s/[\\$]/&&/g;s/;s,x,x,$//
1382
_ACEOF
1383
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1384
rm conftest.sed
1385
 
1386
 
1387
# Find a good install program.  We prefer a C program (faster),
1388
# so one script is as good as another.  But avoid the broken or
1389
# incompatible versions:
1390
# SysV /etc/install, /usr/sbin/install
1391
# SunOS /usr/etc/install
1392
# IRIX /sbin/install
1393
# AIX /bin/install
1394
# AmigaOS /C/install, which installs bootblocks on floppy discs
1395
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1396
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1397
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1398
# OS/2's system install, which has a completely different semantic
1399
# ./install, which can be erroneously created by make from ./install.sh.
1400
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1401
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1402
if test -z "$INSTALL"; then
1403
if test "${ac_cv_path_install+set}" = set; then
1404
  echo $ECHO_N "(cached) $ECHO_C" >&6
1405
else
1406
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407
for as_dir in $PATH
1408
do
1409
  IFS=$as_save_IFS
1410
  test -z "$as_dir" && as_dir=.
1411
  # Account for people who put trailing slashes in PATH elements.
1412
case $as_dir/ in
1413
  ./ | .// | /cC/* | \
1414
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1415
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1416
  /usr/ucb/* ) ;;
1417
  *)
1418
    # OSF1 and SCO ODT 3.0 have their own names for install.
1419
    # Don't use installbsd from OSF since it installs stuff as root
1420
    # by default.
1421
    for ac_prog in ginstall scoinst install; do
1422
      for ac_exec_ext in '' $ac_executable_extensions; do
1423
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1424
          if test $ac_prog = install &&
1425
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1426
            # AIX install.  It has an incompatible calling convention.
1427
            :
1428
          elif test $ac_prog = install &&
1429
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1430
            # program-specific install script used by HP pwplus--don't use.
1431
            :
1432
          else
1433
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1434
            break 3
1435
          fi
1436
        fi
1437
      done
1438
    done
1439
    ;;
1440
esac
1441
done
1442
 
1443
 
1444
fi
1445
  if test "${ac_cv_path_install+set}" = set; then
1446
    INSTALL=$ac_cv_path_install
1447
  else
1448
    # As a last resort, use the slow shell script.  We don't cache a
1449
    # path for INSTALL within a source directory, because that will
1450
    # break other packages using the cache if that directory is
1451
    # removed, or if the path is relative.
1452
    INSTALL=$ac_install_sh
1453
  fi
1454
fi
1455
echo "$as_me:$LINENO: result: $INSTALL" >&5
1456
echo "${ECHO_T}$INSTALL" >&6
1457
 
1458
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1459
# It thinks the first close brace ends the variable substitution.
1460
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1461
 
1462
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1463
 
1464
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1465
 
1466
 
1467
cat >>confdefs.h <<\_ACEOF
1468
#define HAVE_GNU_LD 1
1469
_ACEOF
1470
 
1471
case "${target}" in
1472
  *-*-cygwin*)
1473
        ;;
1474
  a29k-amd-udi)
1475
        ;;
1476
  arc-*-*)
1477
        ;;
1478
  arm-*-pe)
1479
        ;;
1480
  arm-*-*)
1481
        ;;
1482
  strongarm-*-*)
1483
        ;;
1484
  bfin-*-*)
1485
        ;;
1486
  cris-*-* | crisv32-*-*)
1487
        ;;
1488
  d10v*)
1489
        ;;
1490
  h8300*-*-*)
1491
        ;;
1492
  h8500-*-*)
1493
        ;;
1494
  i345686-*-sco*)
1495
        ;;
1496
  lm32-*-*)
1497
        ;;
1498
  m32r-*-*)
1499
        ;;
1500
  mn10?00-*-*)
1501
        ;;
1502
  powerpcle-*-pe)
1503
        ;;
1504
  sh*-*-*)
1505
        ;;
1506
  sparc-sun-sunos*)
1507
        ;;
1508
  sparc64-*-*)
1509
        ;;
1510
  thumb-*-pe)
1511
        ;;
1512
  thumb-*-*)
1513
        ;;
1514
  v850-*-*)
1515
        ;;
1516
  v850e-*-*)
1517
        ;;
1518
  v850ea-*-*)
1519
        ;;
1520
  w65-*-*)
1521
        ;;
1522
  xstormy16-*-*)
1523
        ;;
1524
  z8k-*-*)
1525
        ;;
1526
  *)
1527
        cat >>confdefs.h <<\_ACEOF
1528
#define MISSING_SYSCALL_NAMES 1
1529
_ACEOF
1530
 
1531
        ;;
1532
esac
1533
 
1534
case "${target}" in
1535
  *-*-elf)
1536
        cat >>confdefs.h <<\_ACEOF
1537
#define HAVE_ELF 1
1538
_ACEOF
1539
 
1540
 
1541
        echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
1542
echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6
1543
if test "${libc_cv_asm_previous_directive+set}" = set; then
1544
  echo $ECHO_N "(cached) $ECHO_C" >&6
1545
else
1546
          libc_cv_asm_previous_directive=no
1547
        cat > conftest.s <
1548
.section foo_section
1549
.previous
1550
EOF
1551
        if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
1552
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1553
  (eval $ac_try) 2>&5
1554
  ac_status=$?
1555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1556
  (exit $ac_status); }; }; then
1557
          libc_cv_asm_previous_directive=yes
1558
        fi
1559
        rm -f conftest*
1560
fi
1561
echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
1562
echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6
1563
 
1564
        if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
1565
          cat >>confdefs.h <<\_ACEOF
1566
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
1567
_ACEOF
1568
 
1569
        fi
1570
 
1571
        echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
1572
echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6
1573
if test "${libc_cv_asm_popsection_directive+set}" = set; then
1574
  echo $ECHO_N "(cached) $ECHO_C" >&6
1575
else
1576
          libc_cv_asm_popsection_directive=no
1577
        cat > conftest.s <
1578
.pushsection foo_section
1579
.popsection
1580
EOF
1581
        if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
1582
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1583
  (eval $ac_try) 2>&5
1584
  ac_status=$?
1585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1586
  (exit $ac_status); }; }; then
1587
          libc_cv_asm_popsection_directive=yes
1588
        fi
1589
        rm -f conftest*
1590
fi
1591
echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
1592
echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6
1593
 
1594
        if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
1595
          cat >>confdefs.h <<\_ACEOF
1596
#define HAVE_ASM_POPSECTION_DIRECTIVE 1
1597
_ACEOF
1598
 
1599
        fi
1600
 
1601
        echo "$as_me:$LINENO: checking for section attributes" >&5
1602
echo $ECHO_N "checking for section attributes... $ECHO_C" >&6
1603
if test "${libc_cv_section_attributes+set}" = set; then
1604
  echo $ECHO_N "(cached) $ECHO_C" >&6
1605
else
1606
          libc_cv_section_attributes=no
1607
        cat > conftest.c <
1608
int secttest __attribute__ ((section (".gnu.warning.secttest"))) = 10;
1609
int main() {}
1610
EOF
1611
        if { ac_try='${CC-cc} -c $CFLAGS conftest.c 1>&5'
1612
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1613
  (eval $ac_try) 2>&5
1614
  ac_status=$?
1615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616
  (exit $ac_status); }; }; then
1617
          libc_cv_section_attributes=yes
1618
        fi
1619
        rm -f conftest*
1620
fi
1621
echo "$as_me:$LINENO: result: $libc_cv_section_attributes" >&5
1622
echo "${ECHO_T}$libc_cv_section_attributes" >&6
1623
        if test "x${libc_cv_section_attributes}" = "xyes"; then
1624
          cat >>confdefs.h <<\_ACEOF
1625
#define HAVE_SECTION_ATTRIBUTES 1
1626
_ACEOF
1627
 
1628
        fi
1629
        ;;
1630
esac
1631
 
1632
echo "$as_me:$LINENO: checking for symbol prefix" >&5
1633
echo $ECHO_N "checking for symbol prefix... $ECHO_C" >&6
1634
if test "${libc_symbol_prefix+set}" = set; then
1635
  echo $ECHO_N "(cached) $ECHO_C" >&6
1636
else
1637
  cat > conftest.c <<\EOF
1638
foo () { }
1639
EOF
1640
libc_symbol_prefix=none
1641
if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
1642
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1643
  (eval $ac_try) 2>&5
1644
  ac_status=$?
1645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1646
  (exit $ac_status); }; };
1647
then
1648
  libc_symbol_prefix='$'
1649
else
1650
  if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
1651
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1652
  (eval $ac_try) 2>&5
1653
  ac_status=$?
1654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1655
  (exit $ac_status); }; };
1656
  then
1657
    libc_symbol_prefix=_
1658
  fi
1659
fi
1660
rm -f conftest*
1661
fi
1662
echo "$as_me:$LINENO: result: $libc_symbol_prefix" >&5
1663
echo "${ECHO_T}$libc_symbol_prefix" >&6
1664
if test $libc_symbol_prefix != none; then
1665
  cat >>confdefs.h <<_ACEOF
1666
#define __SYMBOL_PREFIX "$libc_symbol_prefix"
1667
_ACEOF
1668
 
1669
else
1670
  cat >>confdefs.h <<\_ACEOF
1671
#define __SYMBOL_PREFIX ""
1672
_ACEOF
1673
 
1674
fi
1675
 
1676
rm -rf .tst 2>/dev/null
1677
mkdir .tst 2>/dev/null
1678
if test -d .tst; then
1679
  am__leading_dot=.
1680
else
1681
  am__leading_dot=_
1682
fi
1683
rmdir .tst 2>/dev/null
1684
 
1685
DEPDIR="${am__leading_dot}deps"
1686
 
1687
          ac_config_commands="$ac_config_commands depfiles"
1688
 
1689
 
1690
am_make=${MAKE-make}
1691
cat > confinc << 'END'
1692
am__doit:
1693
        @echo done
1694
.PHONY: am__doit
1695
END
1696
# If we don't find an include directive, just comment out the code.
1697
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1698
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1699
am__include="#"
1700
am__quote=
1701
_am_result=none
1702
# First try GNU make style include.
1703
echo "include confinc" > confmf
1704
# We grep out `Entering directory' and `Leaving directory'
1705
# messages which can occur if `w' ends up in MAKEFLAGS.
1706
# In particular we don't look at `^make:' because GNU make might
1707
# be invoked under some other name (usually "gmake"), in which
1708
# case it prints its new name instead of `make'.
1709
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1710
   am__include=include
1711
   am__quote=
1712
   _am_result=GNU
1713
fi
1714
# Now try BSD make style include.
1715
if test "$am__include" = "#"; then
1716
   echo '.include "confinc"' > confmf
1717
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1718
      am__include=.include
1719
      am__quote="\""
1720
      _am_result=BSD
1721
   fi
1722
fi
1723
 
1724
 
1725
echo "$as_me:$LINENO: result: $_am_result" >&5
1726
echo "${ECHO_T}$_am_result" >&6
1727
rm -f confinc confmf
1728
 
1729
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1730
if test "${enable_dependency_tracking+set}" = set; then
1731
  enableval="$enable_dependency_tracking"
1732
 
1733
fi;
1734
if test "x$enable_dependency_tracking" != xno; then
1735
  am_depcomp="$ac_aux_dir/depcomp"
1736
  AMDEPBACKSLASH='\'
1737
fi
1738
 
1739
 
1740
if test "x$enable_dependency_tracking" != xno; then
1741
  AMDEP_TRUE=
1742
  AMDEP_FALSE='#'
1743
else
1744
  AMDEP_TRUE='#'
1745
  AMDEP_FALSE=
1746
fi
1747
 
1748
 
1749
 
1750
# Extract the first word of "gcc", so it can be a program name with args.
1751
set dummy gcc; ac_word=$2
1752
echo "$as_me:$LINENO: checking for $ac_word" >&5
1753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1754
if test "${ac_cv_prog_CC+set}" = set; then
1755
  echo $ECHO_N "(cached) $ECHO_C" >&6
1756
else
1757
  if test -n "$CC"; then
1758
  ac_cv_prog_CC="$CC" # Let the user override the test.
1759
else
1760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761
for as_dir in $PATH
1762
do
1763
  IFS=$as_save_IFS
1764
  test -z "$as_dir" && as_dir=.
1765
  for ac_exec_ext in '' $ac_executable_extensions; do
1766
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1767
    ac_cv_prog_CC="gcc"
1768
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1769
    break 2
1770
  fi
1771
done
1772
done
1773
 
1774
fi
1775
fi
1776
CC=$ac_cv_prog_CC
1777
if test -n "$CC"; then
1778
  echo "$as_me:$LINENO: result: $CC" >&5
1779
echo "${ECHO_T}$CC" >&6
1780
else
1781
  echo "$as_me:$LINENO: result: no" >&5
1782
echo "${ECHO_T}no" >&6
1783
fi
1784
 
1785
 
1786
depcc="$CC"   am_compiler_list=
1787
 
1788
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1789
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1790
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1791
  echo $ECHO_N "(cached) $ECHO_C" >&6
1792
else
1793
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1794
  # We make a subdir and do the tests there.  Otherwise we can end up
1795
  # making bogus files that we don't know about and never remove.  For
1796
  # instance it was reported that on HP-UX the gcc test will end up
1797
  # making a dummy file named `D' -- because `-MD' means `put the output
1798
  # in D'.
1799
  mkdir conftest.dir
1800
  # Copy depcomp to subdir because otherwise we won't find it if we're
1801
  # using a relative directory.
1802
  cp "$am_depcomp" conftest.dir
1803
  cd conftest.dir
1804
  # We will build objects and dependencies in a subdirectory because
1805
  # it helps to detect inapplicable dependency modes.  For instance
1806
  # both Tru64's cc and ICC support -MD to output dependencies as a
1807
  # side effect of compilation, but ICC will put the dependencies in
1808
  # the current directory while Tru64 will put them in the object
1809
  # directory.
1810
  mkdir sub
1811
 
1812
  am_cv_CC_dependencies_compiler_type=none
1813
  if test "$am_compiler_list" = ""; then
1814
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1815
  fi
1816
  for depmode in $am_compiler_list; do
1817
    # Setup a source with many dependencies, because some compilers
1818
    # like to wrap large dependency lists on column 80 (with \), and
1819
    # we should not choose a depcomp mode which is confused by this.
1820
    #
1821
    # We need to recreate these files for each test, as the compiler may
1822
    # overwrite some of them when testing with obscure command lines.
1823
    # This happens at least with the AIX C compiler.
1824
    : > sub/conftest.c
1825
    for i in 1 2 3 4 5 6; do
1826
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
1827
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1828
      # Solaris 8's {/usr,}/bin/sh.
1829
      touch sub/conftst$i.h
1830
    done
1831
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1832
 
1833
    case $depmode in
1834
    nosideeffect)
1835
      # after this tag, mechanisms are not by side-effect, so they'll
1836
      # only be used when explicitly requested
1837
      if test "x$enable_dependency_tracking" = xyes; then
1838
        continue
1839
      else
1840
        break
1841
      fi
1842
      ;;
1843
    none) break ;;
1844
    esac
1845
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
1846
    # mode.  It turns out that the SunPro C++ compiler does not properly
1847
    # handle `-M -o', and we need to detect this.
1848
    if depmode=$depmode \
1849
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1850
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1851
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1852
         >/dev/null 2>conftest.err &&
1853
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1854
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1855
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1856
      # icc doesn't choke on unknown options, it will just issue warnings
1857
      # or remarks (even with -Werror).  So we grep stderr for any message
1858
      # that says an option was ignored or not supported.
1859
      # When given -MP, icc 7.0 and 7.1 complain thusly:
1860
      #   icc: Command line warning: ignoring option '-M'; no argument required
1861
      # The diagnosis changed in icc 8.0:
1862
      #   icc: Command line remark: option '-MP' not supported
1863
      if (grep 'ignoring option' conftest.err ||
1864
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1865
        am_cv_CC_dependencies_compiler_type=$depmode
1866
        break
1867
      fi
1868
    fi
1869
  done
1870
 
1871
  cd ..
1872
  rm -rf conftest.dir
1873
else
1874
  am_cv_CC_dependencies_compiler_type=none
1875
fi
1876
 
1877
fi
1878
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1879
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1880
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1881
 
1882
 
1883
 
1884
if
1885
  test "x$enable_dependency_tracking" != xno \
1886
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1887
  am__fastdepCC_TRUE=
1888
  am__fastdepCC_FALSE='#'
1889
else
1890
  am__fastdepCC_TRUE='#'
1891
  am__fastdepCC_FALSE=
1892
fi
1893
 
1894
 
1895
if test -z "$CC"; then
1896
  # Extract the first word of "cc", so it can be a program name with args.
1897
set dummy cc; ac_word=$2
1898
echo "$as_me:$LINENO: checking for $ac_word" >&5
1899
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900
if test "${ac_cv_prog_CC+set}" = set; then
1901
  echo $ECHO_N "(cached) $ECHO_C" >&6
1902
else
1903
  if test -n "$CC"; then
1904
  ac_cv_prog_CC="$CC" # Let the user override the test.
1905
else
1906
  ac_prog_rejected=no
1907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908
for as_dir in $PATH
1909
do
1910
  IFS=$as_save_IFS
1911
  test -z "$as_dir" && as_dir=.
1912
  for ac_exec_ext in '' $ac_executable_extensions; do
1913
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1915
       ac_prog_rejected=yes
1916
       continue
1917
     fi
1918
    ac_cv_prog_CC="cc"
1919
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920
    break 2
1921
  fi
1922
done
1923
done
1924
 
1925
if test $ac_prog_rejected = yes; then
1926
  # We found a bogon in the path, so make sure we never use it.
1927
  set dummy $ac_cv_prog_CC
1928
  shift
1929
  if test $# != 0; then
1930
    # We chose a different compiler from the bogus one.
1931
    # However, it has the same basename, so the bogon will be chosen
1932
    # first if we set CC to just the basename; use the full file name.
1933
    shift
1934
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1935
  fi
1936
fi
1937
fi
1938
fi
1939
CC=$ac_cv_prog_CC
1940
if test -n "$CC"; then
1941
  echo "$as_me:$LINENO: result: $CC" >&5
1942
echo "${ECHO_T}$CC" >&6
1943
else
1944
  echo "$as_me:$LINENO: result: no" >&5
1945
echo "${ECHO_T}no" >&6
1946
fi
1947
 
1948
  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
1949
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1950
   { (exit 1); exit 1; }; }
1951
fi
1952
 
1953
echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
1954
echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
1955
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1956
  echo $ECHO_N "(cached) $ECHO_C" >&6
1957
else
1958
  cat > conftest.c <
1959
#ifdef __GNUC__
1960
  yes;
1961
#endif
1962
EOF
1963
if { ac_try='${CC-cc} -E conftest.c'
1964
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1965
  (eval $ac_try) 2>&5
1966
  ac_status=$?
1967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
1969
  ac_cv_c_compiler_gnu=yes
1970
else
1971
  ac_cv_c_compiler_gnu=no
1972
fi
1973
fi
1974
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1975
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1976
 
1977
if test $ac_cv_c_compiler_gnu = yes; then
1978
  GCC=yes
1979
  ac_test_CFLAGS="${CFLAGS+set}"
1980
  ac_save_CFLAGS="$CFLAGS"
1981
  CFLAGS=
1982
  ac_test_CFLAGS=${CFLAGS+set}
1983
ac_save_CFLAGS=$CFLAGS
1984
CFLAGS="-g"
1985
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1986
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1987
if test "${ac_cv_prog_cc_g+set}" = set; then
1988
  echo $ECHO_N "(cached) $ECHO_C" >&6
1989
else
1990
  cat >conftest.$ac_ext <<_ACEOF
1991
/* confdefs.h.  */
1992
_ACEOF
1993
cat confdefs.h >>conftest.$ac_ext
1994
cat >>conftest.$ac_ext <<_ACEOF
1995
/* end confdefs.h.  */
1996
 
1997
int
1998
main ()
1999
{
2000
 
2001
  ;
2002
  return 0;
2003
}
2004
_ACEOF
2005
rm -f conftest.$ac_objext
2006
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2007
  (eval $ac_compile) 2>conftest.er1
2008
  ac_status=$?
2009
  grep -v '^ *+' conftest.er1 >conftest.err
2010
  rm -f conftest.er1
2011
  cat conftest.err >&5
2012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013
  (exit $ac_status); } &&
2014
         { ac_try='test -z "$ac_c_werror_flag"
2015
                         || test ! -s conftest.err'
2016
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2017
  (eval $ac_try) 2>&5
2018
  ac_status=$?
2019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020
  (exit $ac_status); }; } &&
2021
         { ac_try='test -s conftest.$ac_objext'
2022
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023
  (eval $ac_try) 2>&5
2024
  ac_status=$?
2025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026
  (exit $ac_status); }; }; then
2027
  ac_cv_prog_cc_g=yes
2028
else
2029
  echo "$as_me: failed program was:" >&5
2030
sed 's/^/| /' conftest.$ac_ext >&5
2031
 
2032
ac_cv_prog_cc_g=no
2033
fi
2034
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2035
fi
2036
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2037
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2038
if test "$ac_test_CFLAGS" = set; then
2039
  CFLAGS=$ac_save_CFLAGS
2040
elif test $ac_cv_prog_cc_g = yes; then
2041
  if test "$GCC" = yes; then
2042
    CFLAGS="-g -O2"
2043
  else
2044
    CFLAGS="-g"
2045
  fi
2046
else
2047
  if test "$GCC" = yes; then
2048
    CFLAGS="-O2"
2049
  else
2050
    CFLAGS=
2051
  fi
2052
fi
2053
  if test "$ac_test_CFLAGS" = set; then
2054
    CFLAGS="$ac_save_CFLAGS"
2055
  elif test $ac_cv_prog_cc_g = yes; then
2056
    CFLAGS="-g -O2"
2057
  else
2058
    CFLAGS="-O2"
2059
  fi
2060
else
2061
  GCC=
2062
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2063
fi
2064
 
2065
AS=${AS-as}
2066
 
2067
AR=${AR-ar}
2068
 
2069
LD=${LD-ld}
2070
 
2071
if test -n "$ac_tool_prefix"; then
2072
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2073
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2074
echo "$as_me:$LINENO: checking for $ac_word" >&5
2075
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2076
if test "${ac_cv_prog_RANLIB+set}" = set; then
2077
  echo $ECHO_N "(cached) $ECHO_C" >&6
2078
else
2079
  if test -n "$RANLIB"; then
2080
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2081
else
2082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083
for as_dir in $PATH
2084
do
2085
  IFS=$as_save_IFS
2086
  test -z "$as_dir" && as_dir=.
2087
  for ac_exec_ext in '' $ac_executable_extensions; do
2088
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2090
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2091
    break 2
2092
  fi
2093
done
2094
done
2095
 
2096
fi
2097
fi
2098
RANLIB=$ac_cv_prog_RANLIB
2099
if test -n "$RANLIB"; then
2100
  echo "$as_me:$LINENO: result: $RANLIB" >&5
2101
echo "${ECHO_T}$RANLIB" >&6
2102
else
2103
  echo "$as_me:$LINENO: result: no" >&5
2104
echo "${ECHO_T}no" >&6
2105
fi
2106
 
2107
fi
2108
if test -z "$ac_cv_prog_RANLIB"; then
2109
  ac_ct_RANLIB=$RANLIB
2110
  # Extract the first word of "ranlib", so it can be a program name with args.
2111
set dummy ranlib; ac_word=$2
2112
echo "$as_me:$LINENO: checking for $ac_word" >&5
2113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2114
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2115
  echo $ECHO_N "(cached) $ECHO_C" >&6
2116
else
2117
  if test -n "$ac_ct_RANLIB"; then
2118
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2119
else
2120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121
for as_dir in $PATH
2122
do
2123
  IFS=$as_save_IFS
2124
  test -z "$as_dir" && as_dir=.
2125
  for ac_exec_ext in '' $ac_executable_extensions; do
2126
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2127
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2128
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129
    break 2
2130
  fi
2131
done
2132
done
2133
 
2134
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2135
fi
2136
fi
2137
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2138
if test -n "$ac_ct_RANLIB"; then
2139
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2140
echo "${ECHO_T}$ac_ct_RANLIB" >&6
2141
else
2142
  echo "$as_me:$LINENO: result: no" >&5
2143
echo "${ECHO_T}no" >&6
2144
fi
2145
 
2146
  RANLIB=$ac_ct_RANLIB
2147
else
2148
  RANLIB="$ac_cv_prog_RANLIB"
2149
fi
2150
 
2151
# By default we simply use the C compiler to build assembly code.
2152
 
2153
test "${CCAS+set}" = set || CCAS=$CC
2154
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2155
 
2156
 
2157
 
2158
 
2159
host_makefile_frag=${srcdir}/../config/default.mh
2160
 
2161
host_makefile_frag_path=$host_makefile_frag
2162
 
2163
 
2164
 
2165
          ac_config_files="$ac_config_files Makefile"
2166
 
2167
cat >confcache <<\_ACEOF
2168
# This file is a shell script that caches the results of configure
2169
# tests run on this system so they can be shared between configure
2170
# scripts and configure runs, see configure's option --config-cache.
2171
# It is not useful on other systems.  If it contains results you don't
2172
# want to keep, you may remove or edit it.
2173
#
2174
# config.status only pays attention to the cache file if you give it
2175
# the --recheck option to rerun configure.
2176
#
2177
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2178
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2179
# following values.
2180
 
2181
_ACEOF
2182
 
2183
# The following way of writing the cache mishandles newlines in values,
2184
# but we know of no workaround that is simple, portable, and efficient.
2185
# So, don't put newlines in cache variables' values.
2186
# Ultrix sh set writes to stderr and can't be redirected directly,
2187
# and sets the high bit in the cache file unless we assign to the vars.
2188
{
2189
  (set) 2>&1 |
2190
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2191
    *ac_space=\ *)
2192
      # `set' does not quote correctly, so add quotes (double-quote
2193
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2194
      sed -n \
2195
        "s/'/'\\\\''/g;
2196
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2197
      ;;
2198
    *)
2199
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2200
      sed -n \
2201
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2202
      ;;
2203
    esac;
2204
} |
2205
  sed '
2206
     t clear
2207
     : clear
2208
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2209
     t end
2210
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2211
     : end' >>confcache
2212
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2213
  if test -w $cache_file; then
2214
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2215
    cat confcache >$cache_file
2216
  else
2217
    echo "not updating unwritable cache $cache_file"
2218
  fi
2219
fi
2220
rm -f confcache
2221
 
2222
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2223
# Let make expand exec_prefix.
2224
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2225
 
2226
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2227
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2228
# trailing colons and then remove the whole line if VPATH becomes empty
2229
# (actually we leave an empty line to preserve line numbers).
2230
if test "x$srcdir" = x.; then
2231
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2232
s/:*\$(srcdir):*/:/;
2233
s/:*\${srcdir}:*/:/;
2234
s/:*@srcdir@:*/:/;
2235
s/^\([^=]*=[     ]*\):*/\1/;
2236
s/:*$//;
2237
s/^[^=]*=[       ]*$//;
2238
}'
2239
fi
2240
 
2241
DEFS=-DHAVE_CONFIG_H
2242
 
2243
ac_libobjs=
2244
ac_ltlibobjs=
2245
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2246
  # 1. Remove the extension, and $U if already installed.
2247
  ac_i=`echo "$ac_i" |
2248
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2249
  # 2. Add them.
2250
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2251
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2252
done
2253
LIBOBJS=$ac_libobjs
2254
 
2255
LTLIBOBJS=$ac_ltlibobjs
2256
 
2257
 
2258
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2259
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2260
Usually this means the macro was only invoked conditionally." >&5
2261
echo "$as_me: error: conditional \"AMDEP\" was never defined.
2262
Usually this means the macro was only invoked conditionally." >&2;}
2263
   { (exit 1); exit 1; }; }
2264
fi
2265
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2266
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2267
Usually this means the macro was only invoked conditionally." >&5
2268
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2269
Usually this means the macro was only invoked conditionally." >&2;}
2270
   { (exit 1); exit 1; }; }
2271
fi
2272
 
2273
: ${CONFIG_STATUS=./config.status}
2274
ac_clean_files_save=$ac_clean_files
2275
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2276
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2277
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2278
cat >$CONFIG_STATUS <<_ACEOF
2279
#! $SHELL
2280
# Generated by $as_me.
2281
# Run this file to recreate the current configuration.
2282
# Compiler output produced by configure, useful for debugging
2283
# configure, is in config.log if it exists.
2284
 
2285
debug=false
2286
ac_cs_recheck=false
2287
ac_cs_silent=false
2288
SHELL=\${CONFIG_SHELL-$SHELL}
2289
_ACEOF
2290
 
2291
cat >>$CONFIG_STATUS <<\_ACEOF
2292
## --------------------- ##
2293
## M4sh Initialization.  ##
2294
## --------------------- ##
2295
 
2296
# Be Bourne compatible
2297
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2298
  emulate sh
2299
  NULLCMD=:
2300
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2301
  # is contrary to our usage.  Disable this feature.
2302
  alias -g '${1+"$@"}'='"$@"'
2303
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2304
  set -o posix
2305
fi
2306
DUALCASE=1; export DUALCASE # for MKS sh
2307
 
2308
# Support unset when possible.
2309
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2310
  as_unset=unset
2311
else
2312
  as_unset=false
2313
fi
2314
 
2315
 
2316
# Work around bugs in pre-3.0 UWIN ksh.
2317
$as_unset ENV MAIL MAILPATH
2318
PS1='$ '
2319
PS2='> '
2320
PS4='+ '
2321
 
2322
# NLS nuisances.
2323
for as_var in \
2324
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2325
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2326
  LC_TELEPHONE LC_TIME
2327
do
2328
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2329
    eval $as_var=C; export $as_var
2330
  else
2331
    $as_unset $as_var
2332
  fi
2333
done
2334
 
2335
# Required to use basename.
2336
if expr a : '\(a\)' >/dev/null 2>&1; then
2337
  as_expr=expr
2338
else
2339
  as_expr=false
2340
fi
2341
 
2342
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2343
  as_basename=basename
2344
else
2345
  as_basename=false
2346
fi
2347
 
2348
 
2349
# Name of the executable.
2350
as_me=`$as_basename "$0" ||
2351
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2352
         X"$0" : 'X\(//\)$' \| \
2353
         X"$0" : 'X\(/\)$' \| \
2354
         .     : '\(.\)' 2>/dev/null ||
2355
echo X/"$0" |
2356
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2357
          /^X\/\(\/\/\)$/{ s//\1/; q; }
2358
          /^X\/\(\/\).*/{ s//\1/; q; }
2359
          s/.*/./; q'`
2360
 
2361
 
2362
# PATH needs CR, and LINENO needs CR and PATH.
2363
# Avoid depending upon Character Ranges.
2364
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2365
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2366
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2367
as_cr_digits='0123456789'
2368
as_cr_alnum=$as_cr_Letters$as_cr_digits
2369
 
2370
# The user is always right.
2371
if test "${PATH_SEPARATOR+set}" != set; then
2372
  echo "#! /bin/sh" >conf$$.sh
2373
  echo  "exit 0"   >>conf$$.sh
2374
  chmod +x conf$$.sh
2375
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2376
    PATH_SEPARATOR=';'
2377
  else
2378
    PATH_SEPARATOR=:
2379
  fi
2380
  rm -f conf$$.sh
2381
fi
2382
 
2383
 
2384
  as_lineno_1=$LINENO
2385
  as_lineno_2=$LINENO
2386
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2387
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2388
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2389
  # Find who we are.  Look in the path if we contain no path at all
2390
  # relative or not.
2391
  case $0 in
2392
    *[\\/]* ) as_myself=$0 ;;
2393
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394
for as_dir in $PATH
2395
do
2396
  IFS=$as_save_IFS
2397
  test -z "$as_dir" && as_dir=.
2398
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2399
done
2400
 
2401
       ;;
2402
  esac
2403
  # We did not find ourselves, most probably we were run as `sh COMMAND'
2404
  # in which case we are not to be found in the path.
2405
  if test "x$as_myself" = x; then
2406
    as_myself=$0
2407
  fi
2408
  if test ! -f "$as_myself"; then
2409
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2410
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2411
   { (exit 1); exit 1; }; }
2412
  fi
2413
  case $CONFIG_SHELL in
2414
  '')
2415
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2416
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2417
do
2418
  IFS=$as_save_IFS
2419
  test -z "$as_dir" && as_dir=.
2420
  for as_base in sh bash ksh sh5; do
2421
         case $as_dir in
2422
         /*)
2423
           if ("$as_dir/$as_base" -c '
2424
  as_lineno_1=$LINENO
2425
  as_lineno_2=$LINENO
2426
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2428
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2429
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2430
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2431
             CONFIG_SHELL=$as_dir/$as_base
2432
             export CONFIG_SHELL
2433
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2434
           fi;;
2435
         esac
2436
       done
2437
done
2438
;;
2439
  esac
2440
 
2441
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2442
  # uniformly replaced by the line number.  The first 'sed' inserts a
2443
  # line-number line before each line; the second 'sed' does the real
2444
  # work.  The second script uses 'N' to pair each line-number line
2445
  # with the numbered line, and appends trailing '-' during
2446
  # substitution so that $LINENO is not a special case at line end.
2447
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2448
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2449
  sed '=' <$as_myself |
2450
    sed '
2451
      N
2452
      s,$,-,
2453
      : loop
2454
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2455
      t loop
2456
      s,-$,,
2457
      s,^['$as_cr_digits']*\n,,
2458
    ' >$as_me.lineno &&
2459
  chmod +x $as_me.lineno ||
2460
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2461
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2462
   { (exit 1); exit 1; }; }
2463
 
2464
  # Don't try to exec as it changes $[0], causing all sort of problems
2465
  # (the dirname of $[0] is not the place where we might find the
2466
  # original and so on.  Autoconf is especially sensible to this).
2467
  . ./$as_me.lineno
2468
  # Exit status is that of the last command.
2469
  exit
2470
}
2471
 
2472
 
2473
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2474
  *c*,-n*) ECHO_N= ECHO_C='
2475
' ECHO_T='      ' ;;
2476
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2477
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2478
esac
2479
 
2480
if expr a : '\(a\)' >/dev/null 2>&1; then
2481
  as_expr=expr
2482
else
2483
  as_expr=false
2484
fi
2485
 
2486
rm -f conf$$ conf$$.exe conf$$.file
2487
echo >conf$$.file
2488
if ln -s conf$$.file conf$$ 2>/dev/null; then
2489
  # We could just check for DJGPP; but this test a) works b) is more generic
2490
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2491
  if test -f conf$$.exe; then
2492
    # Don't use ln at all; we don't have any links
2493
    as_ln_s='cp -p'
2494
  else
2495
    as_ln_s='ln -s'
2496
  fi
2497
elif ln conf$$.file conf$$ 2>/dev/null; then
2498
  as_ln_s=ln
2499
else
2500
  as_ln_s='cp -p'
2501
fi
2502
rm -f conf$$ conf$$.exe conf$$.file
2503
 
2504
if mkdir -p . 2>/dev/null; then
2505
  as_mkdir_p=:
2506
else
2507
  test -d ./-p && rmdir ./-p
2508
  as_mkdir_p=false
2509
fi
2510
 
2511
as_executable_p="test -f"
2512
 
2513
# Sed expression to map a string onto a valid CPP name.
2514
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2515
 
2516
# Sed expression to map a string onto a valid variable name.
2517
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2518
 
2519
 
2520
# IFS
2521
# We need space, tab and new line, in precisely that order.
2522
as_nl='
2523
'
2524
IFS="   $as_nl"
2525
 
2526
# CDPATH.
2527
$as_unset CDPATH
2528
 
2529
exec 6>&1
2530
 
2531
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2532
# report actual input values of CONFIG_FILES etc. instead of their
2533
# values after options handling.  Logging --version etc. is OK.
2534
exec 5>>config.log
2535
{
2536
  echo
2537
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2538
## Running $as_me. ##
2539
_ASBOX
2540
} >&5
2541
cat >&5 <<_CSEOF
2542
 
2543
This file was extended by $as_me, which was
2544
generated by GNU Autoconf 2.59.  Invocation command line was
2545
 
2546
  CONFIG_FILES    = $CONFIG_FILES
2547
  CONFIG_HEADERS  = $CONFIG_HEADERS
2548
  CONFIG_LINKS    = $CONFIG_LINKS
2549
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2550
  $ $0 $@
2551
 
2552
_CSEOF
2553
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2554
echo >&5
2555
_ACEOF
2556
 
2557
# Files that config.status was made for.
2558
if test -n "$ac_config_files"; then
2559
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2560
fi
2561
 
2562
if test -n "$ac_config_headers"; then
2563
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2564
fi
2565
 
2566
if test -n "$ac_config_links"; then
2567
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2568
fi
2569
 
2570
if test -n "$ac_config_commands"; then
2571
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2572
fi
2573
 
2574
cat >>$CONFIG_STATUS <<\_ACEOF
2575
 
2576
ac_cs_usage="\
2577
\`$as_me' instantiates files from templates according to the
2578
current configuration.
2579
 
2580
Usage: $0 [OPTIONS] [FILE]...
2581
 
2582
  -h, --help       print this help, then exit
2583
  -V, --version    print version number, then exit
2584
  -q, --quiet      do not print progress messages
2585
  -d, --debug      don't remove temporary files
2586
      --recheck    update $as_me by reconfiguring in the same conditions
2587
  --file=FILE[:TEMPLATE]
2588
                   instantiate the configuration file FILE
2589
  --header=FILE[:TEMPLATE]
2590
                   instantiate the configuration header FILE
2591
 
2592
Configuration files:
2593
$config_files
2594
 
2595
Configuration headers:
2596
$config_headers
2597
 
2598
Configuration commands:
2599
$config_commands
2600
 
2601
Report bugs to ."
2602
_ACEOF
2603
 
2604
cat >>$CONFIG_STATUS <<_ACEOF
2605
ac_cs_version="\\
2606
config.status
2607
configured by $0, generated by GNU Autoconf 2.59,
2608
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2609
 
2610
Copyright (C) 2003 Free Software Foundation, Inc.
2611
This config.status script is free software; the Free Software Foundation
2612
gives unlimited permission to copy, distribute and modify it."
2613
srcdir=$srcdir
2614
INSTALL="$INSTALL"
2615
_ACEOF
2616
 
2617
cat >>$CONFIG_STATUS <<\_ACEOF
2618
# If no file are specified by the user, then we need to provide default
2619
# value.  By we need to know if files were specified by the user.
2620
ac_need_defaults=:
2621
while test $# != 0
2622
do
2623
  case $1 in
2624
  --*=*)
2625
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2626
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2627
    ac_shift=:
2628
    ;;
2629
  -*)
2630
    ac_option=$1
2631
    ac_optarg=$2
2632
    ac_shift=shift
2633
    ;;
2634
  *) # This is not an option, so the user has probably given explicit
2635
     # arguments.
2636
     ac_option=$1
2637
     ac_need_defaults=false;;
2638
  esac
2639
 
2640
  case $ac_option in
2641
  # Handling of the options.
2642
_ACEOF
2643
cat >>$CONFIG_STATUS <<\_ACEOF
2644
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2645
    ac_cs_recheck=: ;;
2646
  --version | --vers* | -V )
2647
    echo "$ac_cs_version"; exit 0 ;;
2648
  --he | --h)
2649
    # Conflict between --help and --header
2650
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2651
Try \`$0 --help' for more information." >&5
2652
echo "$as_me: error: ambiguous option: $1
2653
Try \`$0 --help' for more information." >&2;}
2654
   { (exit 1); exit 1; }; };;
2655
  --help | --hel | -h )
2656
    echo "$ac_cs_usage"; exit 0 ;;
2657
  --debug | --d* | -d )
2658
    debug=: ;;
2659
  --file | --fil | --fi | --f )
2660
    $ac_shift
2661
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2662
    ac_need_defaults=false;;
2663
  --header | --heade | --head | --hea )
2664
    $ac_shift
2665
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2666
    ac_need_defaults=false;;
2667
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2668
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2669
    ac_cs_silent=: ;;
2670
 
2671
  # This is an error.
2672
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2673
Try \`$0 --help' for more information." >&5
2674
echo "$as_me: error: unrecognized option: $1
2675
Try \`$0 --help' for more information." >&2;}
2676
   { (exit 1); exit 1; }; } ;;
2677
 
2678
  *) ac_config_targets="$ac_config_targets $1" ;;
2679
 
2680
  esac
2681
  shift
2682
done
2683
 
2684
ac_configure_extra_args=
2685
 
2686
if $ac_cs_silent; then
2687
  exec 6>/dev/null
2688
  ac_configure_extra_args="$ac_configure_extra_args --silent"
2689
fi
2690
 
2691
_ACEOF
2692
cat >>$CONFIG_STATUS <<_ACEOF
2693
if \$ac_cs_recheck; then
2694
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2695
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2696
fi
2697
 
2698
_ACEOF
2699
 
2700
cat >>$CONFIG_STATUS <<_ACEOF
2701
#
2702
# INIT-COMMANDS section.
2703
#
2704
 
2705
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2706
srcdir=${srcdir}
2707
target=${target}
2708
with_multisubdir=${with_multisubdir}
2709
ac_configure_args="${ac_configure_args} --enable-multilib"
2710
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2711
libgloss_topdir=${libgloss_topdir}
2712
 
2713
 
2714
_ACEOF
2715
 
2716
 
2717
 
2718
cat >>$CONFIG_STATUS <<\_ACEOF
2719
for ac_config_target in $ac_config_targets
2720
do
2721
  case "$ac_config_target" in
2722
  # Handling of arguments.
2723
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2724
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2725
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
2726
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2727
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2728
   { (exit 1); exit 1; }; };;
2729
  esac
2730
done
2731
 
2732
# If the user did not use the arguments to specify the items to instantiate,
2733
# then the envvar interface is used.  Set only those that are not.
2734
# We use the long form for the default assignment because of an extremely
2735
# bizarre bug on SunOS 4.1.3.
2736
if $ac_need_defaults; then
2737
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2738
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
2739
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2740
fi
2741
 
2742
# Have a temporary directory for convenience.  Make it in the build tree
2743
# simply because there is no reason to put it here, and in addition,
2744
# creating and moving files from /tmp can sometimes cause problems.
2745
# Create a temporary directory, and hook for its removal unless debugging.
2746
$debug ||
2747
{
2748
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2749
  trap '{ (exit 1); exit 1; }' 1 2 13 15
2750
}
2751
 
2752
# Create a (secure) tmp directory for tmp files.
2753
 
2754
{
2755
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2756
  test -n "$tmp" && test -d "$tmp"
2757
}  ||
2758
{
2759
  tmp=./confstat$$-$RANDOM
2760
  (umask 077 && mkdir $tmp)
2761
} ||
2762
{
2763
   echo "$me: cannot create a temporary directory in ." >&2
2764
   { (exit 1); exit 1; }
2765
}
2766
 
2767
_ACEOF
2768
 
2769
cat >>$CONFIG_STATUS <<_ACEOF
2770
 
2771
#
2772
# CONFIG_FILES section.
2773
#
2774
 
2775
# No need to generate the scripts if there are no CONFIG_FILES.
2776
# This happens for instance when ./config.status config.h
2777
if test -n "\$CONFIG_FILES"; then
2778
  # Protect against being on the right side of a sed subst in config.status.
2779
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2780
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2781
s,@SHELL@,$SHELL,;t t
2782
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2783
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2784
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2785
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2786
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2787
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2788
s,@exec_prefix@,$exec_prefix,;t t
2789
s,@prefix@,$prefix,;t t
2790
s,@program_transform_name@,$program_transform_name,;t t
2791
s,@bindir@,$bindir,;t t
2792
s,@sbindir@,$sbindir,;t t
2793
s,@libexecdir@,$libexecdir,;t t
2794
s,@datadir@,$datadir,;t t
2795
s,@sysconfdir@,$sysconfdir,;t t
2796
s,@sharedstatedir@,$sharedstatedir,;t t
2797
s,@localstatedir@,$localstatedir,;t t
2798
s,@libdir@,$libdir,;t t
2799
s,@includedir@,$includedir,;t t
2800
s,@oldincludedir@,$oldincludedir,;t t
2801
s,@infodir@,$infodir,;t t
2802
s,@mandir@,$mandir,;t t
2803
s,@build_alias@,$build_alias,;t t
2804
s,@host_alias@,$host_alias,;t t
2805
s,@target_alias@,$target_alias,;t t
2806
s,@DEFS@,$DEFS,;t t
2807
s,@ECHO_C@,$ECHO_C,;t t
2808
s,@ECHO_N@,$ECHO_N,;t t
2809
s,@ECHO_T@,$ECHO_T,;t t
2810
s,@LIBS@,$LIBS,;t t
2811
s,@build@,$build,;t t
2812
s,@build_cpu@,$build_cpu,;t t
2813
s,@build_vendor@,$build_vendor,;t t
2814
s,@build_os@,$build_os,;t t
2815
s,@host@,$host,;t t
2816
s,@host_cpu@,$host_cpu,;t t
2817
s,@host_vendor@,$host_vendor,;t t
2818
s,@host_os@,$host_os,;t t
2819
s,@target@,$target,;t t
2820
s,@target_cpu@,$target_cpu,;t t
2821
s,@target_vendor@,$target_vendor,;t t
2822
s,@target_os@,$target_os,;t t
2823
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2824
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2825
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2826
s,@CC@,$CC,;t t
2827
s,@am__leading_dot@,$am__leading_dot,;t t
2828
s,@DEPDIR@,$DEPDIR,;t t
2829
s,@am__include@,$am__include,;t t
2830
s,@am__quote@,$am__quote,;t t
2831
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
2832
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
2833
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
2834
s,@CCDEPMODE@,$CCDEPMODE,;t t
2835
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
2836
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
2837
s,@AS@,$AS,;t t
2838
s,@AR@,$AR,;t t
2839
s,@LD@,$LD,;t t
2840
s,@RANLIB@,$RANLIB,;t t
2841
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2842
s,@CCAS@,$CCAS,;t t
2843
s,@CCASFLAGS@,$CCASFLAGS,;t t
2844
s,@host_makefile_frag_path@,$host_makefile_frag_path,;t t
2845
s,@LIBOBJS@,$LIBOBJS,;t t
2846
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2847
/@host_makefile_frag@/r $host_makefile_frag
2848
s,@host_makefile_frag@,,;t t
2849
CEOF
2850
 
2851
_ACEOF
2852
 
2853
  cat >>$CONFIG_STATUS <<\_ACEOF
2854
  # Split the substitutions into bite-sized pieces for seds with
2855
  # small command number limits, like on Digital OSF/1 and HP-UX.
2856
  ac_max_sed_lines=48
2857
  ac_sed_frag=1 # Number of current file.
2858
  ac_beg=1 # First line for current file.
2859
  ac_end=$ac_max_sed_lines # Line after last line for current file.
2860
  ac_more_lines=:
2861
  ac_sed_cmds=
2862
  while $ac_more_lines; do
2863
    if test $ac_beg -gt 1; then
2864
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2865
    else
2866
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2867
    fi
2868
    if test ! -s $tmp/subs.frag; then
2869
      ac_more_lines=false
2870
    else
2871
      # The purpose of the label and of the branching condition is to
2872
      # speed up the sed processing (if there are no `@' at all, there
2873
      # is no need to browse any of the substitutions).
2874
      # These are the two extra sed commands mentioned above.
2875
      (echo ':t
2876
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2877
      if test -z "$ac_sed_cmds"; then
2878
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2879
      else
2880
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2881
      fi
2882
      ac_sed_frag=`expr $ac_sed_frag + 1`
2883
      ac_beg=$ac_end
2884
      ac_end=`expr $ac_end + $ac_max_sed_lines`
2885
    fi
2886
  done
2887
  if test -z "$ac_sed_cmds"; then
2888
    ac_sed_cmds=cat
2889
  fi
2890
fi # test -n "$CONFIG_FILES"
2891
 
2892
_ACEOF
2893
cat >>$CONFIG_STATUS <<\_ACEOF
2894
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2895
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2896
  case $ac_file in
2897
  - | *:- | *:-:* ) # input from stdin
2898
        cat >$tmp/stdin
2899
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2900
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2901
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2902
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2903
  * )   ac_file_in=$ac_file.in ;;
2904
  esac
2905
 
2906
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2907
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2908
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2909
         X"$ac_file" : 'X\(//\)[^/]' \| \
2910
         X"$ac_file" : 'X\(//\)$' \| \
2911
         X"$ac_file" : 'X\(/\)' \| \
2912
         .     : '\(.\)' 2>/dev/null ||
2913
echo X"$ac_file" |
2914
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2915
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2916
          /^X\(\/\/\)$/{ s//\1/; q; }
2917
          /^X\(\/\).*/{ s//\1/; q; }
2918
          s/.*/./; q'`
2919
  { if $as_mkdir_p; then
2920
    mkdir -p "$ac_dir"
2921
  else
2922
    as_dir="$ac_dir"
2923
    as_dirs=
2924
    while test ! -d "$as_dir"; do
2925
      as_dirs="$as_dir $as_dirs"
2926
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2927
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2928
         X"$as_dir" : 'X\(//\)[^/]' \| \
2929
         X"$as_dir" : 'X\(//\)$' \| \
2930
         X"$as_dir" : 'X\(/\)' \| \
2931
         .     : '\(.\)' 2>/dev/null ||
2932
echo X"$as_dir" |
2933
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2934
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2935
          /^X\(\/\/\)$/{ s//\1/; q; }
2936
          /^X\(\/\).*/{ s//\1/; q; }
2937
          s/.*/./; q'`
2938
    done
2939
    test ! -n "$as_dirs" || mkdir $as_dirs
2940
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2941
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2942
   { (exit 1); exit 1; }; }; }
2943
 
2944
  ac_builddir=.
2945
 
2946
if test "$ac_dir" != .; then
2947
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2948
  # A "../" for each directory in $ac_dir_suffix.
2949
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2950
else
2951
  ac_dir_suffix= ac_top_builddir=
2952
fi
2953
 
2954
case $srcdir in
2955
  .)  # No --srcdir option.  We are building in place.
2956
    ac_srcdir=.
2957
    if test -z "$ac_top_builddir"; then
2958
       ac_top_srcdir=.
2959
    else
2960
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2961
    fi ;;
2962
  [\\/]* | ?:[\\/]* )  # Absolute path.
2963
    ac_srcdir=$srcdir$ac_dir_suffix;
2964
    ac_top_srcdir=$srcdir ;;
2965
  *) # Relative path.
2966
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2967
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2968
esac
2969
 
2970
# Do not use `cd foo && pwd` to compute absolute paths, because
2971
# the directories may not exist.
2972
case `pwd` in
2973
.) ac_abs_builddir="$ac_dir";;
2974
*)
2975
  case "$ac_dir" in
2976
  .) ac_abs_builddir=`pwd`;;
2977
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2978
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2979
  esac;;
2980
esac
2981
case $ac_abs_builddir in
2982
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2983
*)
2984
  case ${ac_top_builddir}. in
2985
  .) ac_abs_top_builddir=$ac_abs_builddir;;
2986
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2987
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2988
  esac;;
2989
esac
2990
case $ac_abs_builddir in
2991
.) ac_abs_srcdir=$ac_srcdir;;
2992
*)
2993
  case $ac_srcdir in
2994
  .) ac_abs_srcdir=$ac_abs_builddir;;
2995
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2996
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2997
  esac;;
2998
esac
2999
case $ac_abs_builddir in
3000
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3001
*)
3002
  case $ac_top_srcdir in
3003
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3004
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3005
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3006
  esac;;
3007
esac
3008
 
3009
 
3010
  case $INSTALL in
3011
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3012
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3013
  esac
3014
 
3015
  if test x"$ac_file" != x-; then
3016
    { echo "$as_me:$LINENO: creating $ac_file" >&5
3017
echo "$as_me: creating $ac_file" >&6;}
3018
    rm -f "$ac_file"
3019
  fi
3020
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3021
  # use $as_me), people would be surprised to read:
3022
  #    /* config.h.  Generated by config.status.  */
3023
  if test x"$ac_file" = x-; then
3024
    configure_input=
3025
  else
3026
    configure_input="$ac_file.  "
3027
  fi
3028
  configure_input=$configure_input"Generated from `echo $ac_file_in |
3029
                                     sed 's,.*/,,'` by configure."
3030
 
3031
  # First look for the input files in the build tree, otherwise in the
3032
  # src tree.
3033
  ac_file_inputs=`IFS=:
3034
    for f in $ac_file_in; do
3035
      case $f in
3036
      -) echo $tmp/stdin ;;
3037
      [\\/$]*)
3038
         # Absolute (can't be DOS-style, as IFS=:)
3039
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3040
echo "$as_me: error: cannot find input file: $f" >&2;}
3041
   { (exit 1); exit 1; }; }
3042
         echo "$f";;
3043
      *) # Relative
3044
         if test -f "$f"; then
3045
           # Build tree
3046
           echo "$f"
3047
         elif test -f "$srcdir/$f"; then
3048
           # Source tree
3049
           echo "$srcdir/$f"
3050
         else
3051
           # /dev/null tree
3052
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3053
echo "$as_me: error: cannot find input file: $f" >&2;}
3054
   { (exit 1); exit 1; }; }
3055
         fi;;
3056
      esac
3057
    done` || { (exit 1); exit 1; }
3058
_ACEOF
3059
cat >>$CONFIG_STATUS <<_ACEOF
3060
  sed "$ac_vpsub
3061
$extrasub
3062
_ACEOF
3063
cat >>$CONFIG_STATUS <<\_ACEOF
3064
:t
3065
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3066
s,@configure_input@,$configure_input,;t t
3067
s,@srcdir@,$ac_srcdir,;t t
3068
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3069
s,@top_srcdir@,$ac_top_srcdir,;t t
3070
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3071
s,@builddir@,$ac_builddir,;t t
3072
s,@abs_builddir@,$ac_abs_builddir,;t t
3073
s,@top_builddir@,$ac_top_builddir,;t t
3074
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3075
s,@INSTALL@,$ac_INSTALL,;t t
3076
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3077
  rm -f $tmp/stdin
3078
  if test x"$ac_file" != x-; then
3079
    mv $tmp/out $ac_file
3080
  else
3081
    cat $tmp/out
3082
    rm -f $tmp/out
3083
  fi
3084
 
3085
  # Run the commands associated with the file.
3086
  case $ac_file in
3087
    Makefile ) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
3088
  esac
3089
done
3090
_ACEOF
3091
cat >>$CONFIG_STATUS <<\_ACEOF
3092
 
3093
#
3094
# CONFIG_HEADER section.
3095
#
3096
 
3097
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3098
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3099
#
3100
# ac_d sets the value in "#define NAME VALUE" lines.
3101
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
3102
ac_dB='[         ].*$,\1#\2'
3103
ac_dC=' '
3104
ac_dD=',;t'
3105
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3106
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3107
ac_uB='$,\1#\2define\3'
3108
ac_uC=' '
3109
ac_uD=',;t'
3110
 
3111
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3112
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3113
  case $ac_file in
3114
  - | *:- | *:-:* ) # input from stdin
3115
        cat >$tmp/stdin
3116
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3117
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3118
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3119
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3120
  * )   ac_file_in=$ac_file.in ;;
3121
  esac
3122
 
3123
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3124
echo "$as_me: creating $ac_file" >&6;}
3125
 
3126
  # First look for the input files in the build tree, otherwise in the
3127
  # src tree.
3128
  ac_file_inputs=`IFS=:
3129
    for f in $ac_file_in; do
3130
      case $f in
3131
      -) echo $tmp/stdin ;;
3132
      [\\/$]*)
3133
         # Absolute (can't be DOS-style, as IFS=:)
3134
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3135
echo "$as_me: error: cannot find input file: $f" >&2;}
3136
   { (exit 1); exit 1; }; }
3137
         # Do quote $f, to prevent DOS paths from being IFS'd.
3138
         echo "$f";;
3139
      *) # Relative
3140
         if test -f "$f"; then
3141
           # Build tree
3142
           echo "$f"
3143
         elif test -f "$srcdir/$f"; then
3144
           # Source tree
3145
           echo "$srcdir/$f"
3146
         else
3147
           # /dev/null tree
3148
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3149
echo "$as_me: error: cannot find input file: $f" >&2;}
3150
   { (exit 1); exit 1; }; }
3151
         fi;;
3152
      esac
3153
    done` || { (exit 1); exit 1; }
3154
  # Remove the trailing spaces.
3155
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
3156
 
3157
_ACEOF
3158
 
3159
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3160
# `conftest.undefs', that substitutes the proper values into
3161
# config.h.in to produce config.h.  The first handles `#define'
3162
# templates, and the second `#undef' templates.
3163
# And first: Protect against being on the right side of a sed subst in
3164
# config.status.  Protect against being in an unquoted here document
3165
# in config.status.
3166
rm -f conftest.defines conftest.undefs
3167
# Using a here document instead of a string reduces the quoting nightmare.
3168
# Putting comments in sed scripts is not portable.
3169
#
3170
# `end' is used to avoid that the second main sed command (meant for
3171
# 0-ary CPP macros) applies to n-ary macro definitions.
3172
# See the Autoconf documentation for `clear'.
3173
cat >confdef2sed.sed <<\_ACEOF
3174
s/[\\&,]/\\&/g
3175
s,[\\$`],\\&,g
3176
t clear
3177
: clear
3178
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3179
t end
3180
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3181
: end
3182
_ACEOF
3183
# If some macros were called several times there might be several times
3184
# the same #defines, which is useless.  Nevertheless, we may not want to
3185
# sort them, since we want the *last* AC-DEFINE to be honored.
3186
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3187
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3188
rm -f confdef2sed.sed
3189
 
3190
# This sed command replaces #undef with comments.  This is necessary, for
3191
# example, in the case of _POSIX_SOURCE, which is predefined and required
3192
# on some systems where configure will not decide to define it.
3193
cat >>conftest.undefs <<\_ACEOF
3194
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3195
_ACEOF
3196
 
3197
# Break up conftest.defines because some shells have a limit on the size
3198
# of here documents, and old seds have small limits too (100 cmds).
3199
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3200
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3201
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3202
echo '  :' >>$CONFIG_STATUS
3203
rm -f conftest.tail
3204
while grep . conftest.defines >/dev/null
3205
do
3206
  # Write a limited-size here document to $tmp/defines.sed.
3207
  echo '  cat >$tmp/defines.sed <>$CONFIG_STATUS
3208
  # Speed up: don't consider the non `#define' lines.
3209
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
3210
  # Work around the forget-to-reset-the-flag bug.
3211
  echo 't clr' >>$CONFIG_STATUS
3212
  echo ': clr' >>$CONFIG_STATUS
3213
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3214
  echo 'CEOF
3215
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
3216
  rm -f $tmp/in
3217
  mv $tmp/out $tmp/in
3218
' >>$CONFIG_STATUS
3219
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3220
  rm -f conftest.defines
3221
  mv conftest.tail conftest.defines
3222
done
3223
rm -f conftest.defines
3224
echo '  fi # grep' >>$CONFIG_STATUS
3225
echo >>$CONFIG_STATUS
3226
 
3227
# Break up conftest.undefs because some shells have a limit on the size
3228
# of here documents, and old seds have small limits too (100 cmds).
3229
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
3230
rm -f conftest.tail
3231
while grep . conftest.undefs >/dev/null
3232
do
3233
  # Write a limited-size here document to $tmp/undefs.sed.
3234
  echo '  cat >$tmp/undefs.sed <>$CONFIG_STATUS
3235
  # Speed up: don't consider the non `#undef'
3236
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
3237
  # Work around the forget-to-reset-the-flag bug.
3238
  echo 't clr' >>$CONFIG_STATUS
3239
  echo ': clr' >>$CONFIG_STATUS
3240
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3241
  echo 'CEOF
3242
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3243
  rm -f $tmp/in
3244
  mv $tmp/out $tmp/in
3245
' >>$CONFIG_STATUS
3246
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3247
  rm -f conftest.undefs
3248
  mv conftest.tail conftest.undefs
3249
done
3250
rm -f conftest.undefs
3251
 
3252
cat >>$CONFIG_STATUS <<\_ACEOF
3253
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3254
  # use $as_me), people would be surprised to read:
3255
  #    /* config.h.  Generated by config.status.  */
3256
  if test x"$ac_file" = x-; then
3257
    echo "/* Generated by configure.  */" >$tmp/config.h
3258
  else
3259
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
3260
  fi
3261
  cat $tmp/in >>$tmp/config.h
3262
  rm -f $tmp/in
3263
  if test x"$ac_file" != x-; then
3264
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3265
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3266
echo "$as_me: $ac_file is unchanged" >&6;}
3267
    else
3268
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3269
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3270
         X"$ac_file" : 'X\(//\)[^/]' \| \
3271
         X"$ac_file" : 'X\(//\)$' \| \
3272
         X"$ac_file" : 'X\(/\)' \| \
3273
         .     : '\(.\)' 2>/dev/null ||
3274
echo X"$ac_file" |
3275
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3276
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3277
          /^X\(\/\/\)$/{ s//\1/; q; }
3278
          /^X\(\/\).*/{ s//\1/; q; }
3279
          s/.*/./; q'`
3280
      { if $as_mkdir_p; then
3281
    mkdir -p "$ac_dir"
3282
  else
3283
    as_dir="$ac_dir"
3284
    as_dirs=
3285
    while test ! -d "$as_dir"; do
3286
      as_dirs="$as_dir $as_dirs"
3287
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3288
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3289
         X"$as_dir" : 'X\(//\)[^/]' \| \
3290
         X"$as_dir" : 'X\(//\)$' \| \
3291
         X"$as_dir" : 'X\(/\)' \| \
3292
         .     : '\(.\)' 2>/dev/null ||
3293
echo X"$as_dir" |
3294
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3295
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3296
          /^X\(\/\/\)$/{ s//\1/; q; }
3297
          /^X\(\/\).*/{ s//\1/; q; }
3298
          s/.*/./; q'`
3299
    done
3300
    test ! -n "$as_dirs" || mkdir $as_dirs
3301
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3302
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3303
   { (exit 1); exit 1; }; }; }
3304
 
3305
      rm -f $ac_file
3306
      mv $tmp/config.h $ac_file
3307
    fi
3308
  else
3309
    cat $tmp/config.h
3310
    rm -f $tmp/config.h
3311
  fi
3312
done
3313
_ACEOF
3314
cat >>$CONFIG_STATUS <<\_ACEOF
3315
 
3316
#
3317
# CONFIG_COMMANDS section.
3318
#
3319
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3320
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3321
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3322
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3323
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3324
         X"$ac_dest" : 'X\(//\)[^/]' \| \
3325
         X"$ac_dest" : 'X\(//\)$' \| \
3326
         X"$ac_dest" : 'X\(/\)' \| \
3327
         .     : '\(.\)' 2>/dev/null ||
3328
echo X"$ac_dest" |
3329
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3330
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3331
          /^X\(\/\/\)$/{ s//\1/; q; }
3332
          /^X\(\/\).*/{ s//\1/; q; }
3333
          s/.*/./; q'`
3334
  { if $as_mkdir_p; then
3335
    mkdir -p "$ac_dir"
3336
  else
3337
    as_dir="$ac_dir"
3338
    as_dirs=
3339
    while test ! -d "$as_dir"; do
3340
      as_dirs="$as_dir $as_dirs"
3341
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3342
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3343
         X"$as_dir" : 'X\(//\)[^/]' \| \
3344
         X"$as_dir" : 'X\(//\)$' \| \
3345
         X"$as_dir" : 'X\(/\)' \| \
3346
         .     : '\(.\)' 2>/dev/null ||
3347
echo X"$as_dir" |
3348
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3349
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3350
          /^X\(\/\/\)$/{ s//\1/; q; }
3351
          /^X\(\/\).*/{ s//\1/; q; }
3352
          s/.*/./; q'`
3353
    done
3354
    test ! -n "$as_dirs" || mkdir $as_dirs
3355
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3356
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3357
   { (exit 1); exit 1; }; }; }
3358
 
3359
  ac_builddir=.
3360
 
3361
if test "$ac_dir" != .; then
3362
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3363
  # A "../" for each directory in $ac_dir_suffix.
3364
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3365
else
3366
  ac_dir_suffix= ac_top_builddir=
3367
fi
3368
 
3369
case $srcdir in
3370
  .)  # No --srcdir option.  We are building in place.
3371
    ac_srcdir=.
3372
    if test -z "$ac_top_builddir"; then
3373
       ac_top_srcdir=.
3374
    else
3375
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3376
    fi ;;
3377
  [\\/]* | ?:[\\/]* )  # Absolute path.
3378
    ac_srcdir=$srcdir$ac_dir_suffix;
3379
    ac_top_srcdir=$srcdir ;;
3380
  *) # Relative path.
3381
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3382
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3383
esac
3384
 
3385
# Do not use `cd foo && pwd` to compute absolute paths, because
3386
# the directories may not exist.
3387
case `pwd` in
3388
.) ac_abs_builddir="$ac_dir";;
3389
*)
3390
  case "$ac_dir" in
3391
  .) ac_abs_builddir=`pwd`;;
3392
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3393
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3394
  esac;;
3395
esac
3396
case $ac_abs_builddir in
3397
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3398
*)
3399
  case ${ac_top_builddir}. in
3400
  .) ac_abs_top_builddir=$ac_abs_builddir;;
3401
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3402
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3403
  esac;;
3404
esac
3405
case $ac_abs_builddir in
3406
.) ac_abs_srcdir=$ac_srcdir;;
3407
*)
3408
  case $ac_srcdir in
3409
  .) ac_abs_srcdir=$ac_abs_builddir;;
3410
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3411
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3412
  esac;;
3413
esac
3414
case $ac_abs_builddir in
3415
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3416
*)
3417
  case $ac_top_srcdir in
3418
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3419
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3420
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3421
  esac;;
3422
esac
3423
 
3424
 
3425
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3426
echo "$as_me: executing $ac_dest commands" >&6;}
3427
  case $ac_dest in
3428
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3429
  # Strip MF so we end up with the name of the file.
3430
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3431
  # Check whether this is an Automake generated Makefile or not.
3432
  # We used to match only the files named `Makefile.in', but
3433
  # some people rename them; so instead we look at the file content.
3434
  # Grep'ing the first line is not enough: some people post-process
3435
  # each Makefile.in and add a new line on top of each file to say so.
3436
  # So let's grep whole file.
3437
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3438
    dirpart=`(dirname "$mf") 2>/dev/null ||
3439
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3440
         X"$mf" : 'X\(//\)[^/]' \| \
3441
         X"$mf" : 'X\(//\)$' \| \
3442
         X"$mf" : 'X\(/\)' \| \
3443
         .     : '\(.\)' 2>/dev/null ||
3444
echo X"$mf" |
3445
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3446
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3447
          /^X\(\/\/\)$/{ s//\1/; q; }
3448
          /^X\(\/\).*/{ s//\1/; q; }
3449
          s/.*/./; q'`
3450
  else
3451
    continue
3452
  fi
3453
  # Extract the definition of DEPDIR, am__include, and am__quote
3454
  # from the Makefile without running `make'.
3455
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3456
  test -z "$DEPDIR" && continue
3457
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
3458
  test -z "am__include" && continue
3459
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3460
  # When using ansi2knr, U may be empty or an underscore; expand it
3461
  U=`sed -n 's/^U = //p' < "$mf"`
3462
  # Find all dependency output files, they are included files with
3463
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
3464
  # simplest approach to changing $(DEPDIR) to its actual value in the
3465
  # expansion.
3466
  for file in `sed -n "
3467
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3468
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3469
    # Make sure the directory exists.
3470
    test -f "$dirpart/$file" && continue
3471
    fdir=`(dirname "$file") 2>/dev/null ||
3472
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3473
         X"$file" : 'X\(//\)[^/]' \| \
3474
         X"$file" : 'X\(//\)$' \| \
3475
         X"$file" : 'X\(/\)' \| \
3476
         .     : '\(.\)' 2>/dev/null ||
3477
echo X"$file" |
3478
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3479
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3480
          /^X\(\/\/\)$/{ s//\1/; q; }
3481
          /^X\(\/\).*/{ s//\1/; q; }
3482
          s/.*/./; q'`
3483
    { if $as_mkdir_p; then
3484
    mkdir -p $dirpart/$fdir
3485
  else
3486
    as_dir=$dirpart/$fdir
3487
    as_dirs=
3488
    while test ! -d "$as_dir"; do
3489
      as_dirs="$as_dir $as_dirs"
3490
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3491
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3492
         X"$as_dir" : 'X\(//\)[^/]' \| \
3493
         X"$as_dir" : 'X\(//\)$' \| \
3494
         X"$as_dir" : 'X\(/\)' \| \
3495
         .     : '\(.\)' 2>/dev/null ||
3496
echo X"$as_dir" |
3497
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3498
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3499
          /^X\(\/\/\)$/{ s//\1/; q; }
3500
          /^X\(\/\).*/{ s//\1/; q; }
3501
          s/.*/./; q'`
3502
    done
3503
    test ! -n "$as_dirs" || mkdir $as_dirs
3504
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
3505
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
3506
   { (exit 1); exit 1; }; }; }
3507
 
3508
    # echo "creating $dirpart/$file"
3509
    echo '# dummy' > "$dirpart/$file"
3510
  done
3511
done
3512
 ;;
3513
  esac
3514
done
3515
_ACEOF
3516
 
3517
cat >>$CONFIG_STATUS <<\_ACEOF
3518
 
3519
{ (exit 0); exit 0; }
3520
_ACEOF
3521
chmod +x $CONFIG_STATUS
3522
ac_clean_files=$ac_clean_files_save
3523
 
3524
 
3525
# configure is writing to config.log, and then calls config.status.
3526
# config.status does its own redirection, appending to config.log.
3527
# Unfortunately, on DOS this fails, as config.log is still kept open
3528
# by configure, so config.status won't be able to write to it; its
3529
# output is simply discarded.  So we exec the FD to /dev/null,
3530
# effectively closing config.log, so it can be properly (re)opened and
3531
# appended to by config.status.  When coming back to configure, we
3532
# need to make the FD available again.
3533
if test "$no_create" != yes; then
3534
  ac_cs_success=:
3535
  ac_config_status_args=
3536
  test "$silent" = yes &&
3537
    ac_config_status_args="$ac_config_status_args --quiet"
3538
  exec 5>/dev/null
3539
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3540
  exec 5>>config.log
3541
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3542
  # would make configure fail if this is the last instruction.
3543
  $ac_cs_success || { (exit 1); exit 1; }
3544
fi
3545
 
3546
 
3547
 

powered by: WebSVN 2.1.0

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