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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [cygwin/] [configure] - Blame information for rev 578

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

Line No. Rev Author Line
1 578 markom
#! /bin/sh
2
 
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated automatically using autoconf version 2.13
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6
#
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
 
10
# Defaults:
11
ac_help=
12
ac_default_prefix=/usr/local
13
# Any additions from configure.in:
14
ac_help="$ac_help
15
  --enable-maintainer-mode enable make rules and dependencies not useful
16
                          (and sometimes confusing) to the casual installer"
17
 
18
# Initialize some variables set by options.
19
# The variables have the same names as the options, with
20
# dashes changed to underlines.
21
build=NONE
22
cache_file=./config.cache
23
exec_prefix=NONE
24
host=NONE
25
no_create=
26
nonopt=NONE
27
no_recursion=
28
prefix=NONE
29
program_prefix=NONE
30
program_suffix=NONE
31
program_transform_name=s,x,x,
32
silent=
33
site=
34
srcdir=
35
target=NONE
36
verbose=
37
x_includes=NONE
38
x_libraries=NONE
39
bindir='${exec_prefix}/bin'
40
sbindir='${exec_prefix}/sbin'
41
libexecdir='${exec_prefix}/libexec'
42
datadir='${prefix}/share'
43
sysconfdir='${prefix}/etc'
44
sharedstatedir='${prefix}/com'
45
localstatedir='${prefix}/var'
46
libdir='${exec_prefix}/lib'
47
includedir='${prefix}/include'
48
oldincludedir='/usr/include'
49
infodir='${prefix}/info'
50
mandir='${prefix}/man'
51
 
52
# Initialize some other variables.
53
subdirs=
54
MFLAGS= MAKEFLAGS=
55
SHELL=${CONFIG_SHELL-/bin/sh}
56
# Maximum number of lines to put in a shell here document.
57
ac_max_here_lines=12
58
 
59
ac_prev=
60
for ac_option
61
do
62
 
63
  # If the previous option needs an argument, assign it.
64
  if test -n "$ac_prev"; then
65
    eval "$ac_prev=\$ac_option"
66
    ac_prev=
67
    continue
68
  fi
69
 
70
  case "$ac_option" in
71
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72
  *) ac_optarg= ;;
73
  esac
74
 
75
  # Accept the important Cygnus configure options, so we can diagnose typos.
76
 
77
  case "$ac_option" in
78
 
79
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
80
    ac_prev=bindir ;;
81
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
82
    bindir="$ac_optarg" ;;
83
 
84
  -build | --build | --buil | --bui | --bu)
85
    ac_prev=build ;;
86
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
87
    build="$ac_optarg" ;;
88
 
89
  -cache-file | --cache-file | --cache-fil | --cache-fi \
90
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
91
    ac_prev=cache_file ;;
92
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
93
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
94
    cache_file="$ac_optarg" ;;
95
 
96
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
97
    ac_prev=datadir ;;
98
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
99
  | --da=*)
100
    datadir="$ac_optarg" ;;
101
 
102
  -disable-* | --disable-*)
103
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
104
    # Reject names that are not valid shell variable names.
105
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
106
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
107
    fi
108
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
109
    eval "enable_${ac_feature}=no" ;;
110
 
111
  -enable-* | --enable-*)
112
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
113
    # Reject names that are not valid shell variable names.
114
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
115
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
116
    fi
117
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
118
    case "$ac_option" in
119
      *=*) ;;
120
      *) ac_optarg=yes ;;
121
    esac
122
    eval "enable_${ac_feature}='$ac_optarg'" ;;
123
 
124
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
125
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
126
  | --exec | --exe | --ex)
127
    ac_prev=exec_prefix ;;
128
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
129
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
130
  | --exec=* | --exe=* | --ex=*)
131
    exec_prefix="$ac_optarg" ;;
132
 
133
  -gas | --gas | --ga | --g)
134
    # Obsolete; use --with-gas.
135
    with_gas=yes ;;
136
 
137
  -help | --help | --hel | --he)
138
    # Omit some internal or obsolete options to make the list less imposing.
139
    # This message is too long to be a string in the A/UX 3.1 sh.
140
    cat << EOF
141
Usage: configure [options] [host]
142
Options: [defaults in brackets after descriptions]
143
Configuration:
144
  --cache-file=FILE       cache test results in FILE
145
  --help                  print this message
146
  --no-create             do not create output files
147
  --quiet, --silent       do not print \`checking...' messages
148
  --version               print the version of autoconf that created configure
149
Directory and file names:
150
  --prefix=PREFIX         install architecture-independent files in PREFIX
151
                          [$ac_default_prefix]
152
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
153
                          [same as prefix]
154
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
155
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
156
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
157
  --datadir=DIR           read-only architecture-independent data in DIR
158
                          [PREFIX/share]
159
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
160
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
161
                          [PREFIX/com]
162
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
163
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
164
  --includedir=DIR        C header files in DIR [PREFIX/include]
165
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
166
  --infodir=DIR           info documentation in DIR [PREFIX/info]
167
  --mandir=DIR            man documentation in DIR [PREFIX/man]
168
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
169
  --program-prefix=PREFIX prepend PREFIX to installed program names
170
  --program-suffix=SUFFIX append SUFFIX to installed program names
171
  --program-transform-name=PROGRAM
172
                          run sed PROGRAM on installed program names
173
EOF
174
    cat << EOF
175
Host type:
176
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
177
  --host=HOST             configure for HOST [guessed]
178
  --target=TARGET         configure for TARGET [TARGET=HOST]
179
Features and packages:
180
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
181
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
182
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
183
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
184
  --x-includes=DIR        X include files are in DIR
185
  --x-libraries=DIR       X library files are in DIR
186
EOF
187
    if test -n "$ac_help"; then
188
      echo "--enable and --with options recognized:$ac_help"
189
    fi
190
    exit 0 ;;
191
 
192
  -host | --host | --hos | --ho)
193
    ac_prev=host ;;
194
  -host=* | --host=* | --hos=* | --ho=*)
195
    host="$ac_optarg" ;;
196
 
197
  -includedir | --includedir | --includedi | --included | --include \
198
  | --includ | --inclu | --incl | --inc)
199
    ac_prev=includedir ;;
200
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
201
  | --includ=* | --inclu=* | --incl=* | --inc=*)
202
    includedir="$ac_optarg" ;;
203
 
204
  -infodir | --infodir | --infodi | --infod | --info | --inf)
205
    ac_prev=infodir ;;
206
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
207
    infodir="$ac_optarg" ;;
208
 
209
  -libdir | --libdir | --libdi | --libd)
210
    ac_prev=libdir ;;
211
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
212
    libdir="$ac_optarg" ;;
213
 
214
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
215
  | --libexe | --libex | --libe)
216
    ac_prev=libexecdir ;;
217
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
218
  | --libexe=* | --libex=* | --libe=*)
219
    libexecdir="$ac_optarg" ;;
220
 
221
  -localstatedir | --localstatedir | --localstatedi | --localstated \
222
  | --localstate | --localstat | --localsta | --localst \
223
  | --locals | --local | --loca | --loc | --lo)
224
    ac_prev=localstatedir ;;
225
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
226
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
227
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
228
    localstatedir="$ac_optarg" ;;
229
 
230
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
231
    ac_prev=mandir ;;
232
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
233
    mandir="$ac_optarg" ;;
234
 
235
  -nfp | --nfp | --nf)
236
    # Obsolete; use --without-fp.
237
    with_fp=no ;;
238
 
239
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
240
  | --no-cr | --no-c)
241
    no_create=yes ;;
242
 
243
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
244
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
245
    no_recursion=yes ;;
246
 
247
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
248
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
249
  | --oldin | --oldi | --old | --ol | --o)
250
    ac_prev=oldincludedir ;;
251
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
252
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
253
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
254
    oldincludedir="$ac_optarg" ;;
255
 
256
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
257
    ac_prev=prefix ;;
258
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
259
    prefix="$ac_optarg" ;;
260
 
261
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
262
  | --program-pre | --program-pr | --program-p)
263
    ac_prev=program_prefix ;;
264
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
265
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
266
    program_prefix="$ac_optarg" ;;
267
 
268
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
269
  | --program-suf | --program-su | --program-s)
270
    ac_prev=program_suffix ;;
271
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
272
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
273
    program_suffix="$ac_optarg" ;;
274
 
275
  -program-transform-name | --program-transform-name \
276
  | --program-transform-nam | --program-transform-na \
277
  | --program-transform-n | --program-transform- \
278
  | --program-transform | --program-transfor \
279
  | --program-transfo | --program-transf \
280
  | --program-trans | --program-tran \
281
  | --progr-tra | --program-tr | --program-t)
282
    ac_prev=program_transform_name ;;
283
  -program-transform-name=* | --program-transform-name=* \
284
  | --program-transform-nam=* | --program-transform-na=* \
285
  | --program-transform-n=* | --program-transform-=* \
286
  | --program-transform=* | --program-transfor=* \
287
  | --program-transfo=* | --program-transf=* \
288
  | --program-trans=* | --program-tran=* \
289
  | --progr-tra=* | --program-tr=* | --program-t=*)
290
    program_transform_name="$ac_optarg" ;;
291
 
292
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
293
  | -silent | --silent | --silen | --sile | --sil)
294
    silent=yes ;;
295
 
296
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
297
    ac_prev=sbindir ;;
298
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
299
  | --sbi=* | --sb=*)
300
    sbindir="$ac_optarg" ;;
301
 
302
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
303
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
304
  | --sharedst | --shareds | --shared | --share | --shar \
305
  | --sha | --sh)
306
    ac_prev=sharedstatedir ;;
307
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
308
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
309
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
310
  | --sha=* | --sh=*)
311
    sharedstatedir="$ac_optarg" ;;
312
 
313
  -site | --site | --sit)
314
    ac_prev=site ;;
315
  -site=* | --site=* | --sit=*)
316
    site="$ac_optarg" ;;
317
 
318
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
319
    ac_prev=srcdir ;;
320
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
321
    srcdir="$ac_optarg" ;;
322
 
323
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
324
  | --syscon | --sysco | --sysc | --sys | --sy)
325
    ac_prev=sysconfdir ;;
326
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
327
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
328
    sysconfdir="$ac_optarg" ;;
329
 
330
  -target | --target | --targe | --targ | --tar | --ta | --t)
331
    ac_prev=target ;;
332
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
333
    target="$ac_optarg" ;;
334
 
335
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
336
    verbose=yes ;;
337
 
338
  -version | --version | --versio | --versi | --vers)
339
    echo "configure generated by autoconf version 2.13"
340
    exit 0 ;;
341
 
342
  -with-* | --with-*)
343
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
344
    # Reject names that are not valid shell variable names.
345
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
346
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
347
    fi
348
    ac_package=`echo $ac_package| sed 's/-/_/g'`
349
    case "$ac_option" in
350
      *=*) ;;
351
      *) ac_optarg=yes ;;
352
    esac
353
    eval "with_${ac_package}='$ac_optarg'" ;;
354
 
355
  -without-* | --without-*)
356
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
357
    # Reject names that are not valid shell variable names.
358
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
359
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
360
    fi
361
    ac_package=`echo $ac_package| sed 's/-/_/g'`
362
    eval "with_${ac_package}=no" ;;
363
 
364
  --x)
365
    # Obsolete; use --with-x.
366
    with_x=yes ;;
367
 
368
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
369
  | --x-incl | --x-inc | --x-in | --x-i)
370
    ac_prev=x_includes ;;
371
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
372
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
373
    x_includes="$ac_optarg" ;;
374
 
375
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
376
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
377
    ac_prev=x_libraries ;;
378
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
379
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
380
    x_libraries="$ac_optarg" ;;
381
 
382
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
383
    ;;
384
 
385
  *)
386
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
387
      echo "configure: warning: $ac_option: invalid host type" 1>&2
388
    fi
389
    if test "x$nonopt" != xNONE; then
390
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
391
    fi
392
    nonopt="$ac_option"
393
    ;;
394
 
395
  esac
396
done
397
 
398
if test -n "$ac_prev"; then
399
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
400
fi
401
 
402
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
403
 
404
# File descriptor usage:
405
# 0 standard input
406
# 1 file creation
407
# 2 errors and warnings
408
# 3 some systems may open it to /dev/tty
409
# 4 used on the Kubota Titan
410
# 6 checking for... messages and results
411
# 5 compiler messages saved in config.log
412
if test "$silent" = yes; then
413
  exec 6>/dev/null
414
else
415
  exec 6>&1
416
fi
417
exec 5>./config.log
418
 
419
echo "\
420
This file contains any messages produced by compilers while
421
running configure, to aid debugging if configure makes a mistake.
422
" 1>&5
423
 
424
# Strip out --no-create and --no-recursion so they do not pile up.
425
# Also quote any args containing shell metacharacters.
426
ac_configure_args=
427
for ac_arg
428
do
429
  case "$ac_arg" in
430
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
431
  | --no-cr | --no-c) ;;
432
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
433
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
434
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
435
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
436
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
437
  esac
438
done
439
 
440
# NLS nuisances.
441
# Only set these to C if already set.  These must not be set unconditionally
442
# because not all systems understand e.g. LANG=C (notably SCO).
443
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
444
# Non-C LC_CTYPE values break the ctype check.
445
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
446
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
447
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
448
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
449
 
450
# confdefs.h avoids OS command line length limits that DEFS can exceed.
451
rm -rf conftest* confdefs.h
452
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
453
echo > confdefs.h
454
 
455
# A filename unique to this package, relative to the directory that
456
# configure is in, which we can look for to find out if srcdir is correct.
457
ac_unique_file=Makefile.in
458
 
459
# Find the source files, if location was not specified.
460
if test -z "$srcdir"; then
461
  ac_srcdir_defaulted=yes
462
  # Try the directory containing this script, then its parent.
463
  ac_prog=$0
464
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
465
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
466
  srcdir=$ac_confdir
467
  if test ! -r $srcdir/$ac_unique_file; then
468
    srcdir=..
469
  fi
470
else
471
  ac_srcdir_defaulted=no
472
fi
473
if test ! -r $srcdir/$ac_unique_file; then
474
  if test "$ac_srcdir_defaulted" = yes; then
475
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
476
  else
477
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
478
  fi
479
fi
480
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
481
 
482
# Prefer explicitly selected file to automatically selected ones.
483
if test -z "$CONFIG_SITE"; then
484
  if test "x$prefix" != xNONE; then
485
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
486
  else
487
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
488
  fi
489
fi
490
for ac_site_file in $CONFIG_SITE; do
491
  if test -r "$ac_site_file"; then
492
    echo "loading site script $ac_site_file"
493
    . "$ac_site_file"
494
  fi
495
done
496
 
497
if test -r "$cache_file"; then
498
  echo "loading cache $cache_file"
499
  . $cache_file
500
else
501
  echo "creating cache $cache_file"
502
  > $cache_file
503
fi
504
 
505
ac_ext=c
506
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
507
ac_cpp='$CPP $CPPFLAGS'
508
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
509
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
510
cross_compiling=$ac_cv_prog_cc_cross
511
 
512
ac_exeext=
513
ac_objext=o
514
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
515
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
516
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
517
    ac_n= ac_c='
518
' ac_t='        '
519
  else
520
    ac_n=-n ac_c= ac_t=
521
  fi
522
else
523
  ac_n= ac_c='\c' ac_t=
524
fi
525
 
526
 
527
ac_aux_dir=
528
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
529
  if test -f $ac_dir/install-sh; then
530
    ac_aux_dir=$ac_dir
531
    ac_install_sh="$ac_aux_dir/install-sh -c"
532
    break
533
  elif test -f $ac_dir/install.sh; then
534
    ac_aux_dir=$ac_dir
535
    ac_install_sh="$ac_aux_dir/install.sh -c"
536
    break
537
  fi
538
done
539
if test -z "$ac_aux_dir"; then
540
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
541
fi
542
ac_config_guess=$ac_aux_dir/config.guess
543
ac_config_sub=$ac_aux_dir/config.sub
544
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
545
 
546
 
547
# Do some error checking and defaulting for the host and target type.
548
# The inputs are:
549
#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
550
#
551
# The rules are:
552
# 1. You are not allowed to specify --host, --target, and nonopt at the
553
#    same time.
554
# 2. Host defaults to nonopt.
555
# 3. If nonopt is not specified, then host defaults to the current host,
556
#    as determined by config.guess.
557
# 4. Target and build default to nonopt.
558
# 5. If nonopt is not specified, then target and build default to host.
559
 
560
# The aliases save the names the user supplied, while $host etc.
561
# will get canonicalized.
562
case $host---$target---$nonopt in
563
NONE---*---* | *---NONE---* | *---*---NONE) ;;
564
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
565
esac
566
 
567
 
568
# Make sure we can run config.sub.
569
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
570
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
571
fi
572
 
573
echo $ac_n "checking host system type""... $ac_c" 1>&6
574
echo "configure:575: checking host system type" >&5
575
 
576
host_alias=$host
577
case "$host_alias" in
578
NONE)
579
  case $nonopt in
580
  NONE)
581
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
582
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
583
    fi ;;
584
  *) host_alias=$nonopt ;;
585
  esac ;;
586
esac
587
 
588
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
589
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
590
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
591
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
592
echo "$ac_t""$host" 1>&6
593
 
594
echo $ac_n "checking target system type""... $ac_c" 1>&6
595
echo "configure:596: checking target system type" >&5
596
 
597
target_alias=$target
598
case "$target_alias" in
599
NONE)
600
  case $nonopt in
601
  NONE) target_alias=$host_alias ;;
602
  *) target_alias=$nonopt ;;
603
  esac ;;
604
esac
605
 
606
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
607
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
608
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
609
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
610
echo "$ac_t""$target" 1>&6
611
 
612
echo $ac_n "checking build system type""... $ac_c" 1>&6
613
echo "configure:614: checking build system type" >&5
614
 
615
build_alias=$build
616
case "$build_alias" in
617
NONE)
618
  case $nonopt in
619
  NONE) build_alias=$host_alias ;;
620
  *) build_alias=$nonopt ;;
621
  esac ;;
622
esac
623
 
624
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
625
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
626
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
627
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
628
echo "$ac_t""$build" 1>&6
629
 
630
test "$host_alias" != "$target_alias" &&
631
  test "$program_prefix$program_suffix$program_transform_name" = \
632
    NONENONEs,x,x, &&
633
  program_prefix=${target_alias}-
634
 
635
# Find a good install program.  We prefer a C program (faster),
636
# so one script is as good as another.  But avoid the broken or
637
# incompatible versions:
638
# SysV /etc/install, /usr/sbin/install
639
# SunOS /usr/etc/install
640
# IRIX /sbin/install
641
# AIX /bin/install
642
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
643
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
644
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
645
# ./install, which can be erroneously created by make from ./install.sh.
646
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
647
echo "configure:648: checking for a BSD compatible install" >&5
648
if test -z "$INSTALL"; then
649
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
650
  echo $ac_n "(cached) $ac_c" 1>&6
651
else
652
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
653
  for ac_dir in $PATH; do
654
    # Account for people who put trailing slashes in PATH elements.
655
    case "$ac_dir/" in
656
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
657
    *)
658
      # OSF1 and SCO ODT 3.0 have their own names for install.
659
      # Don't use installbsd from OSF since it installs stuff as root
660
      # by default.
661
      for ac_prog in ginstall scoinst install; do
662
        if test -f $ac_dir/$ac_prog; then
663
          if test $ac_prog = install &&
664
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
665
            # AIX install.  It has an incompatible calling convention.
666
            :
667
          else
668
            ac_cv_path_install="$ac_dir/$ac_prog -c"
669
            break 2
670
          fi
671
        fi
672
      done
673
      ;;
674
    esac
675
  done
676
  IFS="$ac_save_IFS"
677
 
678
fi
679
  if test "${ac_cv_path_install+set}" = set; then
680
    INSTALL="$ac_cv_path_install"
681
  else
682
    # As a last resort, use the slow shell script.  We don't cache a
683
    # path for INSTALL within a source directory, because that will
684
    # break other packages using the cache if that directory is
685
    # removed, or if the path is relative.
686
    INSTALL="$ac_install_sh"
687
  fi
688
fi
689
echo "$ac_t""$INSTALL" 1>&6
690
 
691
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
692
# It thinks the first close brace ends the variable substitution.
693
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
694
 
695
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
696
 
697
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
698
 
699
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
700
echo "configure:701: checking whether build environment is sane" >&5
701
# Just in case
702
sleep 1
703
echo timestamp > conftestfile
704
# Do `set' in a subshell so we don't clobber the current shell's
705
# arguments.  Must try -L first in case configure is actually a
706
# symlink; some systems play weird games with the mod time of symlinks
707
# (eg FreeBSD returns the mod time of the symlink's containing
708
# directory).
709
if (
710
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
711
   if test "$*" = "X"; then
712
      # -L didn't work.
713
      set X `ls -t $srcdir/configure conftestfile`
714
   fi
715
   if test "$*" != "X $srcdir/configure conftestfile" \
716
      && test "$*" != "X conftestfile $srcdir/configure"; then
717
 
718
      # If neither matched, then we have a broken ls.  This can happen
719
      # if, for instance, CONFIG_SHELL is bash and it inherits a
720
      # broken ls alias from the environment.  This has actually
721
      # happened.  Such a system could not be considered "sane".
722
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
723
alias in your environment" 1>&2; exit 1; }
724
   fi
725
 
726
   test "$2" = conftestfile
727
   )
728
then
729
   # Ok.
730
   :
731
else
732
   { echo "configure: error: newly created file is older than distributed files!
733
Check your system clock" 1>&2; exit 1; }
734
fi
735
rm -f conftest*
736
echo "$ac_t""yes" 1>&6
737
if test "$program_transform_name" = s,x,x,; then
738
  program_transform_name=
739
else
740
  # Double any \ or $.  echo might interpret backslashes.
741
  cat <<\EOF_SED > conftestsed
742
s,\\,\\\\,g; s,\$,$$,g
743
EOF_SED
744
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
745
  rm -f conftestsed
746
fi
747
test "$program_prefix" != NONE &&
748
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
749
# Use a double $ so make ignores it.
750
test "$program_suffix" != NONE &&
751
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
752
 
753
# sed with no file args requires a program.
754
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
755
 
756
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
757
echo "configure:758: checking whether ${MAKE-make} sets \${MAKE}" >&5
758
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
759
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
760
  echo $ac_n "(cached) $ac_c" 1>&6
761
else
762
  cat > conftestmake <<\EOF
763
all:
764
        @echo 'ac_maketemp="${MAKE}"'
765
EOF
766
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
767
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
768
if test -n "$ac_maketemp"; then
769
  eval ac_cv_prog_make_${ac_make}_set=yes
770
else
771
  eval ac_cv_prog_make_${ac_make}_set=no
772
fi
773
rm -f conftestmake
774
fi
775
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
776
  echo "$ac_t""yes" 1>&6
777
  SET_MAKE=
778
else
779
  echo "$ac_t""no" 1>&6
780
  SET_MAKE="MAKE=${MAKE-make}"
781
fi
782
 
783
 
784
PACKAGE=libtcl_cygwin
785
 
786
VERSION=8.0
787
 
788
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
789
  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
790
fi
791
cat >> confdefs.h <
792
#define PACKAGE "$PACKAGE"
793
EOF
794
 
795
cat >> confdefs.h <
796
#define VERSION "$VERSION"
797
EOF
798
 
799
 
800
 
801
missing_dir=`cd $ac_aux_dir && pwd`
802
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
803
echo "configure:804: checking for working aclocal" >&5
804
# Run test in a subshell; some versions of sh will print an error if
805
# an executable is not found, even if stderr is redirected.
806
# Redirect stdin to placate older versions of autoconf.  Sigh.
807
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
808
   ACLOCAL=aclocal
809
   echo "$ac_t""found" 1>&6
810
else
811
   ACLOCAL="$missing_dir/missing aclocal"
812
   echo "$ac_t""missing" 1>&6
813
fi
814
 
815
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
816
echo "configure:817: checking for working autoconf" >&5
817
# Run test in a subshell; some versions of sh will print an error if
818
# an executable is not found, even if stderr is redirected.
819
# Redirect stdin to placate older versions of autoconf.  Sigh.
820
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
821
   AUTOCONF=autoconf
822
   echo "$ac_t""found" 1>&6
823
else
824
   AUTOCONF="$missing_dir/missing autoconf"
825
   echo "$ac_t""missing" 1>&6
826
fi
827
 
828
echo $ac_n "checking for working automake""... $ac_c" 1>&6
829
echo "configure:830: checking for working automake" >&5
830
# Run test in a subshell; some versions of sh will print an error if
831
# an executable is not found, even if stderr is redirected.
832
# Redirect stdin to placate older versions of autoconf.  Sigh.
833
if (automake --version) < /dev/null > /dev/null 2>&1; then
834
   AUTOMAKE=automake
835
   echo "$ac_t""found" 1>&6
836
else
837
   AUTOMAKE="$missing_dir/missing automake"
838
   echo "$ac_t""missing" 1>&6
839
fi
840
 
841
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
842
echo "configure:843: checking for working autoheader" >&5
843
# Run test in a subshell; some versions of sh will print an error if
844
# an executable is not found, even if stderr is redirected.
845
# Redirect stdin to placate older versions of autoconf.  Sigh.
846
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
847
   AUTOHEADER=autoheader
848
   echo "$ac_t""found" 1>&6
849
else
850
   AUTOHEADER="$missing_dir/missing autoheader"
851
   echo "$ac_t""missing" 1>&6
852
fi
853
 
854
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
855
echo "configure:856: checking for working makeinfo" >&5
856
# Run test in a subshell; some versions of sh will print an error if
857
# an executable is not found, even if stderr is redirected.
858
# Redirect stdin to placate older versions of autoconf.  Sigh.
859
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
860
   MAKEINFO=makeinfo
861
   echo "$ac_t""found" 1>&6
862
else
863
   MAKEINFO="$missing_dir/missing makeinfo"
864
   echo "$ac_t""missing" 1>&6
865
fi
866
 
867
 
868
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
869
echo "configure:870: checking whether to enable maintainer-specific portions of Makefiles" >&5
870
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
871
if test "${enable_maintainer_mode+set}" = set; then
872
  enableval="$enable_maintainer_mode"
873
  USE_MAINTAINER_MODE=$enableval
874
else
875
  USE_MAINTAINER_MODE=no
876
fi
877
 
878
  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
879
 
880
 
881
if test $USE_MAINTAINER_MODE = yes; then
882
  MAINTAINER_MODE_TRUE=
883
  MAINTAINER_MODE_FALSE='#'
884
else
885
  MAINTAINER_MODE_TRUE='#'
886
  MAINTAINER_MODE_FALSE=
887
fi
888
  MAINT=$MAINTAINER_MODE_TRUE
889
 
890
 
891
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
892
echo "configure:893: checking for Cygwin environment" >&5
893
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
894
  echo $ac_n "(cached) $ac_c" 1>&6
895
else
896
  cat > conftest.$ac_ext <
897
#line 898 "configure"
898
#include "confdefs.h"
899
 
900
int main() {
901
 
902
#ifndef __CYGWIN__
903
#define __CYGWIN__ __CYGWIN32__
904
#endif
905
return __CYGWIN__;
906
; return 0; }
907
EOF
908
if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
909
  rm -rf conftest*
910
  ac_cv_cygwin=yes
911
else
912
  echo "configure: failed program was:" >&5
913
  cat conftest.$ac_ext >&5
914
  rm -rf conftest*
915
  ac_cv_cygwin=no
916
fi
917
rm -f conftest*
918
rm -f conftest*
919
fi
920
 
921
echo "$ac_t""$ac_cv_cygwin" 1>&6
922
CYGWIN=
923
test "$ac_cv_cygwin" = yes && CYGWIN=yes
924
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
925
echo "configure:926: checking for mingw32 environment" >&5
926
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
927
  echo $ac_n "(cached) $ac_c" 1>&6
928
else
929
  cat > conftest.$ac_ext <
930
#line 931 "configure"
931
#include "confdefs.h"
932
 
933
int main() {
934
return __MINGW32__;
935
; return 0; }
936
EOF
937
if { (eval echo configure:938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
938
  rm -rf conftest*
939
  ac_cv_mingw32=yes
940
else
941
  echo "configure: failed program was:" >&5
942
  cat conftest.$ac_ext >&5
943
  rm -rf conftest*
944
  ac_cv_mingw32=no
945
fi
946
rm -f conftest*
947
rm -f conftest*
948
fi
949
 
950
echo "$ac_t""$ac_cv_mingw32" 1>&6
951
MINGW32=
952
test "$ac_cv_mingw32" = yes && MINGW32=yes
953
 
954
 
955
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
956
echo "configure:957: checking for executable suffix" >&5
957
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
958
  echo $ac_n "(cached) $ac_c" 1>&6
959
else
960
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
961
  ac_cv_exeext=.exe
962
else
963
  rm -f conftest*
964
  echo 'int main () { return 0; }' > conftest.$ac_ext
965
  ac_cv_exeext=
966
  if { (eval echo configure:967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
967
    for file in conftest.*; do
968
      case $file in
969
      *.c | *.o | *.obj) ;;
970
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
971
      esac
972
    done
973
  else
974
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
975
  fi
976
  rm -f conftest*
977
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
978
fi
979
fi
980
 
981
EXEEXT=""
982
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
983
echo "$ac_t""${ac_cv_exeext}" 1>&6
984
ac_exeext=$EXEEXT
985
 
986
 
987
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
988
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
989
# are probably using a cross compiler, which will not be able to fully
990
# link an executable.  This should really be fixed in autoconf
991
# itself.
992
 
993
 
994
 
995
# Extract the first word of "gcc", so it can be a program name with args.
996
set dummy gcc; ac_word=$2
997
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
998
echo "configure:999: checking for $ac_word" >&5
999
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1000
  echo $ac_n "(cached) $ac_c" 1>&6
1001
else
1002
  if test -n "$CC"; then
1003
  ac_cv_prog_CC="$CC" # Let the user override the test.
1004
else
1005
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1006
  ac_dummy="$PATH"
1007
  for ac_dir in $ac_dummy; do
1008
    test -z "$ac_dir" && ac_dir=.
1009
    if test -f $ac_dir/$ac_word; then
1010
      ac_cv_prog_CC="gcc"
1011
      break
1012
    fi
1013
  done
1014
  IFS="$ac_save_ifs"
1015
fi
1016
fi
1017
CC="$ac_cv_prog_CC"
1018
if test -n "$CC"; then
1019
  echo "$ac_t""$CC" 1>&6
1020
else
1021
  echo "$ac_t""no" 1>&6
1022
fi
1023
 
1024
if test -z "$CC"; then
1025
  # Extract the first word of "cc", so it can be a program name with args.
1026
set dummy cc; ac_word=$2
1027
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1028
echo "configure:1029: checking for $ac_word" >&5
1029
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1030
  echo $ac_n "(cached) $ac_c" 1>&6
1031
else
1032
  if test -n "$CC"; then
1033
  ac_cv_prog_CC="$CC" # Let the user override the test.
1034
else
1035
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1036
  ac_prog_rejected=no
1037
  ac_dummy="$PATH"
1038
  for ac_dir in $ac_dummy; do
1039
    test -z "$ac_dir" && ac_dir=.
1040
    if test -f $ac_dir/$ac_word; then
1041
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1042
        ac_prog_rejected=yes
1043
        continue
1044
      fi
1045
      ac_cv_prog_CC="cc"
1046
      break
1047
    fi
1048
  done
1049
  IFS="$ac_save_ifs"
1050
if test $ac_prog_rejected = yes; then
1051
  # We found a bogon in the path, so make sure we never use it.
1052
  set dummy $ac_cv_prog_CC
1053
  shift
1054
  if test $# -gt 0; then
1055
    # We chose a different compiler from the bogus one.
1056
    # However, it has the same basename, so the bogon will be chosen
1057
    # first if we set CC to just the basename; use the full file name.
1058
    shift
1059
    set dummy "$ac_dir/$ac_word" "$@"
1060
    shift
1061
    ac_cv_prog_CC="$@"
1062
  fi
1063
fi
1064
fi
1065
fi
1066
CC="$ac_cv_prog_CC"
1067
if test -n "$CC"; then
1068
  echo "$ac_t""$CC" 1>&6
1069
else
1070
  echo "$ac_t""no" 1>&6
1071
fi
1072
 
1073
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1074
fi
1075
 
1076
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1077
echo "configure:1078: checking whether we are using GNU C" >&5
1078
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1079
  echo $ac_n "(cached) $ac_c" 1>&6
1080
else
1081
  cat > conftest.c <
1082
#ifdef __GNUC__
1083
  yes;
1084
#endif
1085
EOF
1086
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1087
  ac_cv_prog_gcc=yes
1088
else
1089
  ac_cv_prog_gcc=no
1090
fi
1091
fi
1092
 
1093
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1094
 
1095
if test $ac_cv_prog_gcc = yes; then
1096
  GCC=yes
1097
  ac_test_CFLAGS="${CFLAGS+set}"
1098
  ac_save_CFLAGS="$CFLAGS"
1099
  CFLAGS=
1100
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1101
echo "configure:1102: checking whether ${CC-cc} accepts -g" >&5
1102
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1103
  echo $ac_n "(cached) $ac_c" 1>&6
1104
else
1105
  echo 'void f(){}' > conftest.c
1106
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1107
  ac_cv_prog_cc_g=yes
1108
else
1109
  ac_cv_prog_cc_g=no
1110
fi
1111
rm -f conftest*
1112
 
1113
fi
1114
 
1115
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1116
  if test "$ac_test_CFLAGS" = set; then
1117
    CFLAGS="$ac_save_CFLAGS"
1118
  elif test $ac_cv_prog_cc_g = yes; then
1119
    CFLAGS="-g -O2"
1120
  else
1121
    CFLAGS="-O2"
1122
  fi
1123
else
1124
  GCC=
1125
  test "${CFLAGS+set}" = set || CFLAGS="-g"
1126
fi
1127
 
1128
 
1129
case "${target}" in
1130
*-*-cygwin*)
1131
        touch ac$$.c
1132
        if ${CC} -c -mno-win32 ac$$.c >/dev/null 2>&1; then
1133
            case "$EXTRA_CFLAGS" in
1134
                *-mno-win32*) ;;
1135
                *) EXTRA_CFLAGS="-mno-win32 $EXTRA_CFLAGS" ;;
1136
            esac
1137
        fi
1138
        rm -f ac$$.o ac$$.c
1139
        ;;
1140
esac
1141
 
1142
if test $host != $build; then
1143
  ac_tool_prefix=${host_alias}-
1144
else
1145
  ac_tool_prefix=
1146
fi
1147
 
1148
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1149
set dummy ${ac_tool_prefix}ar; ac_word=$2
1150
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1151
echo "configure:1152: checking for $ac_word" >&5
1152
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1153
  echo $ac_n "(cached) $ac_c" 1>&6
1154
else
1155
  if test -n "$AR"; then
1156
  ac_cv_prog_AR="$AR" # Let the user override the test.
1157
else
1158
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1159
  ac_dummy="$PATH"
1160
  for ac_dir in $ac_dummy; do
1161
    test -z "$ac_dir" && ac_dir=.
1162
    if test -f $ac_dir/$ac_word; then
1163
      ac_cv_prog_AR="${ac_tool_prefix}ar"
1164
      break
1165
    fi
1166
  done
1167
  IFS="$ac_save_ifs"
1168
fi
1169
fi
1170
AR="$ac_cv_prog_AR"
1171
if test -n "$AR"; then
1172
  echo "$ac_t""$AR" 1>&6
1173
else
1174
  echo "$ac_t""no" 1>&6
1175
fi
1176
 
1177
 
1178
if test -z "$ac_cv_prog_AR"; then
1179
if test -n "$ac_tool_prefix"; then
1180
  # Extract the first word of "ar", so it can be a program name with args.
1181
set dummy ar; ac_word=$2
1182
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1183
echo "configure:1184: checking for $ac_word" >&5
1184
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1185
  echo $ac_n "(cached) $ac_c" 1>&6
1186
else
1187
  if test -n "$AR"; then
1188
  ac_cv_prog_AR="$AR" # Let the user override the test.
1189
else
1190
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1191
  ac_dummy="$PATH"
1192
  for ac_dir in $ac_dummy; do
1193
    test -z "$ac_dir" && ac_dir=.
1194
    if test -f $ac_dir/$ac_word; then
1195
      ac_cv_prog_AR="ar"
1196
      break
1197
    fi
1198
  done
1199
  IFS="$ac_save_ifs"
1200
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1201
fi
1202
fi
1203
AR="$ac_cv_prog_AR"
1204
if test -n "$AR"; then
1205
  echo "$ac_t""$AR" 1>&6
1206
else
1207
  echo "$ac_t""no" 1>&6
1208
fi
1209
 
1210
else
1211
  AR="ar"
1212
fi
1213
fi
1214
 
1215
 
1216
 
1217
# Extract the first word of "ranlib", so it can be a program name with args.
1218
set dummy ranlib; ac_word=$2
1219
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1220
echo "configure:1221: checking for $ac_word" >&5
1221
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1222
  echo $ac_n "(cached) $ac_c" 1>&6
1223
else
1224
  if test -n "$RANLIB"; then
1225
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1226
else
1227
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1228
  ac_dummy="$PATH"
1229
  for ac_dir in $ac_dummy; do
1230
    test -z "$ac_dir" && ac_dir=.
1231
    if test -f $ac_dir/$ac_word; then
1232
      ac_cv_prog_RANLIB="ranlib"
1233
      break
1234
    fi
1235
  done
1236
  IFS="$ac_save_ifs"
1237
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1238
fi
1239
fi
1240
RANLIB="$ac_cv_prog_RANLIB"
1241
if test -n "$RANLIB"; then
1242
  echo "$ac_t""$RANLIB" 1>&6
1243
else
1244
  echo "$ac_t""no" 1>&6
1245
fi
1246
 
1247
# Find a good install program.  We prefer a C program (faster),
1248
# so one script is as good as another.  But avoid the broken or
1249
# incompatible versions:
1250
# SysV /etc/install, /usr/sbin/install
1251
# SunOS /usr/etc/install
1252
# IRIX /sbin/install
1253
# AIX /bin/install
1254
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1255
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1256
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1257
# ./install, which can be erroneously created by make from ./install.sh.
1258
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1259
echo "configure:1260: checking for a BSD compatible install" >&5
1260
if test -z "$INSTALL"; then
1261
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1262
  echo $ac_n "(cached) $ac_c" 1>&6
1263
else
1264
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1265
  for ac_dir in $PATH; do
1266
    # Account for people who put trailing slashes in PATH elements.
1267
    case "$ac_dir/" in
1268
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1269
    *)
1270
      # OSF1 and SCO ODT 3.0 have their own names for install.
1271
      # Don't use installbsd from OSF since it installs stuff as root
1272
      # by default.
1273
      for ac_prog in ginstall scoinst install; do
1274
        if test -f $ac_dir/$ac_prog; then
1275
          if test $ac_prog = install &&
1276
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1277
            # AIX install.  It has an incompatible calling convention.
1278
            :
1279
          else
1280
            ac_cv_path_install="$ac_dir/$ac_prog -c"
1281
            break 2
1282
          fi
1283
        fi
1284
      done
1285
      ;;
1286
    esac
1287
  done
1288
  IFS="$ac_save_IFS"
1289
 
1290
fi
1291
  if test "${ac_cv_path_install+set}" = set; then
1292
    INSTALL="$ac_cv_path_install"
1293
  else
1294
    # As a last resort, use the slow shell script.  We don't cache a
1295
    # path for INSTALL within a source directory, because that will
1296
    # break other packages using the cache if that directory is
1297
    # removed, or if the path is relative.
1298
    INSTALL="$ac_install_sh"
1299
  fi
1300
fi
1301
echo "$ac_t""$INSTALL" 1>&6
1302
 
1303
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1304
# It thinks the first close brace ends the variable substitution.
1305
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1306
 
1307
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1308
 
1309
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1310
 
1311
 
1312
#--------------------------------------------------------------------
1313
#       The statements below define the symbol TCL_PACKAGE_PATH, which
1314
#       gives a list of directories that may contain packages.  The list
1315
#       consists of one directory for machine-dependent binaries and
1316
#       another for platform-independent scripts.
1317
#--------------------------------------------------------------------
1318
 
1319
if test "$prefix" != "$exec_prefix"; then
1320
    TCL_PACKAGE_PATH="${exec_prefix}/lib ${prefix}/lib"
1321
else
1322
    TCL_PACKAGE_PATH="${prefix}/lib"
1323
fi
1324
 
1325
TCL_LIBRARY=@datadir@/tcl${VERSION}
1326
 
1327
cross_cache=${srcdir}/cygwin-cache
1328
. ${cross_cache}
1329
 
1330
 
1331
 
1332
 
1333
trap '' 1 2 15
1334
cat > confcache <<\EOF
1335
# This file is a shell script that caches the results of configure
1336
# tests run on this system so they can be shared between configure
1337
# scripts and configure runs.  It is not useful on other systems.
1338
# If it contains results you don't want to keep, you may remove or edit it.
1339
#
1340
# By default, configure uses ./config.cache as the cache file,
1341
# creating it if it does not exist already.  You can give configure
1342
# the --cache-file=FILE option to use a different cache file; that is
1343
# what configure does when it calls configure scripts in
1344
# subdirectories, so they share the cache.
1345
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1346
# config.status only pays attention to the cache file if you give it the
1347
# --recheck option to rerun configure.
1348
#
1349
EOF
1350
# The following way of writing the cache mishandles newlines in values,
1351
# but we know of no workaround that is simple, portable, and efficient.
1352
# So, don't put newlines in cache variables' values.
1353
# Ultrix sh set writes to stderr and can't be redirected directly,
1354
# and sets the high bit in the cache file unless we assign to the vars.
1355
(set) 2>&1 |
1356
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1357
  *ac_space=\ *)
1358
    # `set' does not quote correctly, so add quotes (double-quote substitution
1359
    # turns \\\\ into \\, and sed turns \\ into \).
1360
    sed -n \
1361
      -e "s/'/'\\\\''/g" \
1362
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1363
    ;;
1364
  *)
1365
    # `set' quotes correctly as required by POSIX, so do not add quotes.
1366
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1367
    ;;
1368
  esac >> confcache
1369
if cmp -s $cache_file confcache; then
1370
  :
1371
else
1372
  if test -w $cache_file; then
1373
    echo "updating cache $cache_file"
1374
    cat confcache > $cache_file
1375
  else
1376
    echo "not updating unwritable cache $cache_file"
1377
  fi
1378
fi
1379
rm -f confcache
1380
 
1381
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1382
 
1383
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1384
# Let make expand exec_prefix.
1385
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1386
 
1387
# Any assignment to VPATH causes Sun make to only execute
1388
# the first set of double-colon rules, so remove it if not needed.
1389
# If there is a colon in the path, we need to keep it.
1390
if test "x$srcdir" = x.; then
1391
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1392
fi
1393
 
1394
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1395
 
1396
# Transform confdefs.h into DEFS.
1397
# Protect against shell expansion while executing Makefile rules.
1398
# Protect against Makefile macro expansion.
1399
cat > conftest.defs <<\EOF
1400
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1401
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1402
s%\[%\\&%g
1403
s%\]%\\&%g
1404
s%\$%$$%g
1405
EOF
1406
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1407
rm -f conftest.defs
1408
 
1409
 
1410
# Without the "./", some shells look in PATH for config.status.
1411
: ${CONFIG_STATUS=./config.status}
1412
 
1413
echo creating $CONFIG_STATUS
1414
rm -f $CONFIG_STATUS
1415
cat > $CONFIG_STATUS <
1416
#! /bin/sh
1417
# Generated automatically by configure.
1418
# Run this file to recreate the current configuration.
1419
# This directory was configured as follows,
1420
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1421
#
1422
# $0 $ac_configure_args
1423
#
1424
# Compiler output produced by configure, useful for debugging
1425
# configure, is in ./config.log if it exists.
1426
 
1427
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1428
for ac_option
1429
do
1430
  case "\$ac_option" in
1431
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1432
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1433
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1434
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1435
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1436
    exit 0 ;;
1437
  -help | --help | --hel | --he | --h)
1438
    echo "\$ac_cs_usage"; exit 0 ;;
1439
  *) echo "\$ac_cs_usage"; exit 1 ;;
1440
  esac
1441
done
1442
 
1443
ac_given_srcdir=$srcdir
1444
ac_given_INSTALL="$INSTALL"
1445
 
1446
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1447
EOF
1448
cat >> $CONFIG_STATUS <
1449
 
1450
# Protect against being on the right side of a sed subst in config.status.
1451
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1452
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1453
$ac_vpsub
1454
$extrasub
1455
s%@SHELL@%$SHELL%g
1456
s%@CFLAGS@%$CFLAGS%g
1457
s%@CPPFLAGS@%$CPPFLAGS%g
1458
s%@CXXFLAGS@%$CXXFLAGS%g
1459
s%@FFLAGS@%$FFLAGS%g
1460
s%@DEFS@%$DEFS%g
1461
s%@LDFLAGS@%$LDFLAGS%g
1462
s%@LIBS@%$LIBS%g
1463
s%@exec_prefix@%$exec_prefix%g
1464
s%@prefix@%$prefix%g
1465
s%@program_transform_name@%$program_transform_name%g
1466
s%@bindir@%$bindir%g
1467
s%@sbindir@%$sbindir%g
1468
s%@libexecdir@%$libexecdir%g
1469
s%@datadir@%$datadir%g
1470
s%@sysconfdir@%$sysconfdir%g
1471
s%@sharedstatedir@%$sharedstatedir%g
1472
s%@localstatedir@%$localstatedir%g
1473
s%@libdir@%$libdir%g
1474
s%@includedir@%$includedir%g
1475
s%@oldincludedir@%$oldincludedir%g
1476
s%@infodir@%$infodir%g
1477
s%@mandir@%$mandir%g
1478
s%@host@%$host%g
1479
s%@host_alias@%$host_alias%g
1480
s%@host_cpu@%$host_cpu%g
1481
s%@host_vendor@%$host_vendor%g
1482
s%@host_os@%$host_os%g
1483
s%@target@%$target%g
1484
s%@target_alias@%$target_alias%g
1485
s%@target_cpu@%$target_cpu%g
1486
s%@target_vendor@%$target_vendor%g
1487
s%@target_os@%$target_os%g
1488
s%@build@%$build%g
1489
s%@build_alias@%$build_alias%g
1490
s%@build_cpu@%$build_cpu%g
1491
s%@build_vendor@%$build_vendor%g
1492
s%@build_os@%$build_os%g
1493
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1494
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1495
s%@INSTALL_DATA@%$INSTALL_DATA%g
1496
s%@PACKAGE@%$PACKAGE%g
1497
s%@VERSION@%$VERSION%g
1498
s%@ACLOCAL@%$ACLOCAL%g
1499
s%@AUTOCONF@%$AUTOCONF%g
1500
s%@AUTOMAKE@%$AUTOMAKE%g
1501
s%@AUTOHEADER@%$AUTOHEADER%g
1502
s%@MAKEINFO@%$MAKEINFO%g
1503
s%@SET_MAKE@%$SET_MAKE%g
1504
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1505
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1506
s%@MAINT@%$MAINT%g
1507
s%@EXEEXT@%$EXEEXT%g
1508
s%@CC@%$CC%g
1509
s%@AR@%$AR%g
1510
s%@EXTRA_CFLAGS@%$EXTRA_CFLAGS%g
1511
s%@RANLIB@%$RANLIB%g
1512
s%@TCL_PACKAGE_PATH@%$TCL_PACKAGE_PATH%g
1513
s%@TCL_LIBRARY@%$TCL_LIBRARY%g
1514
 
1515
CEOF
1516
EOF
1517
 
1518
cat >> $CONFIG_STATUS <<\EOF
1519
 
1520
# Split the substitutions into bite-sized pieces for seds with
1521
# small command number limits, like on Digital OSF/1 and HP-UX.
1522
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1523
ac_file=1 # Number of current file.
1524
ac_beg=1 # First line for current file.
1525
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1526
ac_more_lines=:
1527
ac_sed_cmds=""
1528
while $ac_more_lines; do
1529
  if test $ac_beg -gt 1; then
1530
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1531
  else
1532
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1533
  fi
1534
  if test ! -s conftest.s$ac_file; then
1535
    ac_more_lines=false
1536
    rm -f conftest.s$ac_file
1537
  else
1538
    if test -z "$ac_sed_cmds"; then
1539
      ac_sed_cmds="sed -f conftest.s$ac_file"
1540
    else
1541
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1542
    fi
1543
    ac_file=`expr $ac_file + 1`
1544
    ac_beg=$ac_end
1545
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1546
  fi
1547
done
1548
if test -z "$ac_sed_cmds"; then
1549
  ac_sed_cmds=cat
1550
fi
1551
EOF
1552
 
1553
cat >> $CONFIG_STATUS <
1554
 
1555
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1556
EOF
1557
cat >> $CONFIG_STATUS <<\EOF
1558
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1559
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1560
  case "$ac_file" in
1561
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1562
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1563
  *) ac_file_in="${ac_file}.in" ;;
1564
  esac
1565
 
1566
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1567
 
1568
  # Remove last slash and all that follows it.  Not all systems have dirname.
1569
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1570
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1571
    # The file is in a subdirectory.
1572
    test ! -d "$ac_dir" && mkdir "$ac_dir"
1573
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1574
    # A "../" for each directory in $ac_dir_suffix.
1575
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1576
  else
1577
    ac_dir_suffix= ac_dots=
1578
  fi
1579
 
1580
  case "$ac_given_srcdir" in
1581
  .)  srcdir=.
1582
      if test -z "$ac_dots"; then top_srcdir=.
1583
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1584
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1585
  *) # Relative path.
1586
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1587
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1588
  esac
1589
 
1590
  case "$ac_given_INSTALL" in
1591
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1592
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1593
  esac
1594
 
1595
  echo creating "$ac_file"
1596
  rm -f "$ac_file"
1597
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1598
  case "$ac_file" in
1599
  *Makefile*) ac_comsub="1i\\
1600
# $configure_input" ;;
1601
  *) ac_comsub= ;;
1602
  esac
1603
 
1604
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1605
  sed -e "$ac_comsub
1606
s%@configure_input@%$configure_input%g
1607
s%@srcdir@%$srcdir%g
1608
s%@top_srcdir@%$top_srcdir%g
1609
s%@INSTALL@%$INSTALL%g
1610
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1611
fi; done
1612
rm -f conftest.s*
1613
 
1614
EOF
1615
cat >> $CONFIG_STATUS <
1616
 
1617
EOF
1618
cat >> $CONFIG_STATUS <<\EOF
1619
 
1620
exit 0
1621
EOF
1622
chmod +x $CONFIG_STATUS
1623
rm -fr confdefs* $ac_clean_files
1624
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1625
 

powered by: WebSVN 2.1.0

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