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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [tk/] [win/] [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.12.2
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
  --with-tcl=DIR          use Tcl 8.0 binaries from DIR"
16
 
17
# Initialize some variables set by options.
18
# The variables have the same names as the options, with
19
# dashes changed to underlines.
20
build=NONE
21
cache_file=./config.cache
22
exec_prefix=NONE
23
host=NONE
24
no_create=
25
nonopt=NONE
26
no_recursion=
27
prefix=NONE
28
program_prefix=NONE
29
program_suffix=NONE
30
program_transform_name=s,x,x,
31
silent=
32
site=
33
srcdir=
34
target=NONE
35
verbose=
36
x_includes=NONE
37
x_libraries=NONE
38
bindir='${exec_prefix}/bin'
39
sbindir='${exec_prefix}/sbin'
40
libexecdir='${exec_prefix}/libexec'
41
datadir='${prefix}/share'
42
sysconfdir='${prefix}/etc'
43
sharedstatedir='${prefix}/com'
44
localstatedir='${prefix}/var'
45
libdir='${exec_prefix}/lib'
46
includedir='${prefix}/include'
47
oldincludedir='/usr/include'
48
infodir='${prefix}/info'
49
mandir='${prefix}/man'
50
 
51
# Initialize some other variables.
52
subdirs=
53
MFLAGS= MAKEFLAGS=
54
SHELL=${CONFIG_SHELL-/bin/sh}
55
# Maximum number of lines to put in a shell here document.
56
ac_max_here_lines=12
57
 
58
ac_prev=
59
for ac_option
60
do
61
 
62
  # If the previous option needs an argument, assign it.
63
  if test -n "$ac_prev"; then
64
    eval "$ac_prev=\$ac_option"
65
    ac_prev=
66
    continue
67
  fi
68
 
69
  case "$ac_option" in
70
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
71
  *) ac_optarg= ;;
72
  esac
73
 
74
  # Accept the important Cygnus configure options, so we can diagnose typos.
75
 
76
  case "$ac_option" in
77
 
78
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
79
    ac_prev=bindir ;;
80
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
81
    bindir="$ac_optarg" ;;
82
 
83
  -build | --build | --buil | --bui | --bu)
84
    ac_prev=build ;;
85
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
86
    build="$ac_optarg" ;;
87
 
88
  -cache-file | --cache-file | --cache-fil | --cache-fi \
89
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
90
    ac_prev=cache_file ;;
91
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
92
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
93
    cache_file="$ac_optarg" ;;
94
 
95
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
96
    ac_prev=datadir ;;
97
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
98
  | --da=*)
99
    datadir="$ac_optarg" ;;
100
 
101
  -disable-* | --disable-*)
102
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
103
    # Reject names that are not valid shell variable names.
104
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
105
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
106
    fi
107
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
108
    eval "enable_${ac_feature}=no" ;;
109
 
110
  -enable-* | --enable-*)
111
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
112
    # Reject names that are not valid shell variable names.
113
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
114
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
115
    fi
116
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
117
    case "$ac_option" in
118
      *=*) ;;
119
      *) ac_optarg=yes ;;
120
    esac
121
    eval "enable_${ac_feature}='$ac_optarg'" ;;
122
 
123
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
124
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
125
  | --exec | --exe | --ex)
126
    ac_prev=exec_prefix ;;
127
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
128
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
129
  | --exec=* | --exe=* | --ex=*)
130
    exec_prefix="$ac_optarg" ;;
131
 
132
  -gas | --gas | --ga | --g)
133
    # Obsolete; use --with-gas.
134
    with_gas=yes ;;
135
 
136
  -help | --help | --hel | --he)
137
    # Omit some internal or obsolete options to make the list less imposing.
138
    # This message is too long to be a string in the A/UX 3.1 sh.
139
    cat << EOF
140
Usage: configure [options] [host]
141
Options: [defaults in brackets after descriptions]
142
Configuration:
143
  --cache-file=FILE       cache test results in FILE
144
  --help                  print this message
145
  --no-create             do not create output files
146
  --quiet, --silent       do not print \`checking...' messages
147
  --version               print the version of autoconf that created configure
148
Directory and file names:
149
  --prefix=PREFIX         install architecture-independent files in PREFIX
150
                          [$ac_default_prefix]
151
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
152
                          [same as prefix]
153
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
154
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
155
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
156
  --datadir=DIR           read-only architecture-independent data in DIR
157
                          [PREFIX/share]
158
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
159
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
160
                          [PREFIX/com]
161
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
162
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
163
  --includedir=DIR        C header files in DIR [PREFIX/include]
164
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
165
  --infodir=DIR           info documentation in DIR [PREFIX/info]
166
  --mandir=DIR            man documentation in DIR [PREFIX/man]
167
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
168
  --program-prefix=PREFIX prepend PREFIX to installed program names
169
  --program-suffix=SUFFIX append SUFFIX to installed program names
170
  --program-transform-name=PROGRAM
171
                          run sed PROGRAM on installed program names
172
EOF
173
    cat << EOF
174
Host type:
175
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
176
  --host=HOST             configure for HOST [guessed]
177
  --target=TARGET         configure for TARGET [TARGET=HOST]
178
Features and packages:
179
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
180
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
181
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
182
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
183
  --x-includes=DIR        X include files are in DIR
184
  --x-libraries=DIR       X library files are in DIR
185
EOF
186
    if test -n "$ac_help"; then
187
      echo "--enable and --with options recognized:$ac_help"
188
    fi
189
    exit 0 ;;
190
 
191
  -host | --host | --hos | --ho)
192
    ac_prev=host ;;
193
  -host=* | --host=* | --hos=* | --ho=*)
194
    host="$ac_optarg" ;;
195
 
196
  -includedir | --includedir | --includedi | --included | --include \
197
  | --includ | --inclu | --incl | --inc)
198
    ac_prev=includedir ;;
199
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
200
  | --includ=* | --inclu=* | --incl=* | --inc=*)
201
    includedir="$ac_optarg" ;;
202
 
203
  -infodir | --infodir | --infodi | --infod | --info | --inf)
204
    ac_prev=infodir ;;
205
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
206
    infodir="$ac_optarg" ;;
207
 
208
  -libdir | --libdir | --libdi | --libd)
209
    ac_prev=libdir ;;
210
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
211
    libdir="$ac_optarg" ;;
212
 
213
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
214
  | --libexe | --libex | --libe)
215
    ac_prev=libexecdir ;;
216
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
217
  | --libexe=* | --libex=* | --libe=*)
218
    libexecdir="$ac_optarg" ;;
219
 
220
  -localstatedir | --localstatedir | --localstatedi | --localstated \
221
  | --localstate | --localstat | --localsta | --localst \
222
  | --locals | --local | --loca | --loc | --lo)
223
    ac_prev=localstatedir ;;
224
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
225
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
226
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
227
    localstatedir="$ac_optarg" ;;
228
 
229
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
230
    ac_prev=mandir ;;
231
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
232
    mandir="$ac_optarg" ;;
233
 
234
  -nfp | --nfp | --nf)
235
    # Obsolete; use --without-fp.
236
    with_fp=no ;;
237
 
238
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
239
  | --no-cr | --no-c)
240
    no_create=yes ;;
241
 
242
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
243
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
244
    no_recursion=yes ;;
245
 
246
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
247
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
248
  | --oldin | --oldi | --old | --ol | --o)
249
    ac_prev=oldincludedir ;;
250
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
251
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
252
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
253
    oldincludedir="$ac_optarg" ;;
254
 
255
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
256
    ac_prev=prefix ;;
257
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
258
    prefix="$ac_optarg" ;;
259
 
260
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
261
  | --program-pre | --program-pr | --program-p)
262
    ac_prev=program_prefix ;;
263
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
264
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
265
    program_prefix="$ac_optarg" ;;
266
 
267
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
268
  | --program-suf | --program-su | --program-s)
269
    ac_prev=program_suffix ;;
270
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
271
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
272
    program_suffix="$ac_optarg" ;;
273
 
274
  -program-transform-name | --program-transform-name \
275
  | --program-transform-nam | --program-transform-na \
276
  | --program-transform-n | --program-transform- \
277
  | --program-transform | --program-transfor \
278
  | --program-transfo | --program-transf \
279
  | --program-trans | --program-tran \
280
  | --progr-tra | --program-tr | --program-t)
281
    ac_prev=program_transform_name ;;
282
  -program-transform-name=* | --program-transform-name=* \
283
  | --program-transform-nam=* | --program-transform-na=* \
284
  | --program-transform-n=* | --program-transform-=* \
285
  | --program-transform=* | --program-transfor=* \
286
  | --program-transfo=* | --program-transf=* \
287
  | --program-trans=* | --program-tran=* \
288
  | --progr-tra=* | --program-tr=* | --program-t=*)
289
    program_transform_name="$ac_optarg" ;;
290
 
291
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
292
  | -silent | --silent | --silen | --sile | --sil)
293
    silent=yes ;;
294
 
295
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
296
    ac_prev=sbindir ;;
297
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
298
  | --sbi=* | --sb=*)
299
    sbindir="$ac_optarg" ;;
300
 
301
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
302
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
303
  | --sharedst | --shareds | --shared | --share | --shar \
304
  | --sha | --sh)
305
    ac_prev=sharedstatedir ;;
306
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
307
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
308
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
309
  | --sha=* | --sh=*)
310
    sharedstatedir="$ac_optarg" ;;
311
 
312
  -site | --site | --sit)
313
    ac_prev=site ;;
314
  -site=* | --site=* | --sit=*)
315
    site="$ac_optarg" ;;
316
 
317
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
318
    ac_prev=srcdir ;;
319
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
320
    srcdir="$ac_optarg" ;;
321
 
322
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
323
  | --syscon | --sysco | --sysc | --sys | --sy)
324
    ac_prev=sysconfdir ;;
325
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
326
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
327
    sysconfdir="$ac_optarg" ;;
328
 
329
  -target | --target | --targe | --targ | --tar | --ta | --t)
330
    ac_prev=target ;;
331
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
332
    target="$ac_optarg" ;;
333
 
334
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
335
    verbose=yes ;;
336
 
337
  -version | --version | --versio | --versi | --vers)
338
    echo "configure generated by autoconf version 2.12.2"
339
    exit 0 ;;
340
 
341
  -with-* | --with-*)
342
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
343
    # Reject names that are not valid shell variable names.
344
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
345
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
346
    fi
347
    ac_package=`echo $ac_package| sed 's/-/_/g'`
348
    case "$ac_option" in
349
      *=*) ;;
350
      *) ac_optarg=yes ;;
351
    esac
352
    eval "with_${ac_package}='$ac_optarg'" ;;
353
 
354
  -without-* | --without-*)
355
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
356
    # Reject names that are not valid shell variable names.
357
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
358
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
359
    fi
360
    ac_package=`echo $ac_package| sed 's/-/_/g'`
361
    eval "with_${ac_package}=no" ;;
362
 
363
  --x)
364
    # Obsolete; use --with-x.
365
    with_x=yes ;;
366
 
367
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
368
  | --x-incl | --x-inc | --x-in | --x-i)
369
    ac_prev=x_includes ;;
370
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
371
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
372
    x_includes="$ac_optarg" ;;
373
 
374
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
375
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
376
    ac_prev=x_libraries ;;
377
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
378
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
379
    x_libraries="$ac_optarg" ;;
380
 
381
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
382
    ;;
383
 
384
  *)
385
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
386
      echo "configure: warning: $ac_option: invalid host type" 1>&2
387
    fi
388
    if test "x$nonopt" != xNONE; then
389
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
390
    fi
391
    nonopt="$ac_option"
392
    ;;
393
 
394
  esac
395
done
396
 
397
if test -n "$ac_prev"; then
398
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
399
fi
400
 
401
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
402
 
403
# File descriptor usage:
404
# 0 standard input
405
# 1 file creation
406
# 2 errors and warnings
407
# 3 some systems may open it to /dev/tty
408
# 4 used on the Kubota Titan
409
# 6 checking for... messages and results
410
# 5 compiler messages saved in config.log
411
if test "$silent" = yes; then
412
  exec 6>/dev/null
413
else
414
  exec 6>&1
415
fi
416
exec 5>./config.log
417
 
418
echo "\
419
This file contains any messages produced by compilers while
420
running configure, to aid debugging if configure makes a mistake.
421
" 1>&5
422
 
423
# Strip out --no-create and --no-recursion so they do not pile up.
424
# Also quote any args containing shell metacharacters.
425
ac_configure_args=
426
for ac_arg
427
do
428
  case "$ac_arg" in
429
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
430
  | --no-cr | --no-c) ;;
431
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
432
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
433
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
434
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
435
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
436
  esac
437
done
438
 
439
# NLS nuisances.
440
# Only set these to C if already set.  These must not be set unconditionally
441
# because not all systems understand e.g. LANG=C (notably SCO).
442
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
443
# Non-C LC_CTYPE values break the ctype check.
444
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
445
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
446
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
447
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
448
 
449
# confdefs.h avoids OS command line length limits that DEFS can exceed.
450
rm -rf conftest* confdefs.h
451
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
452
echo > confdefs.h
453
 
454
# A filename unique to this package, relative to the directory that
455
# configure is in, which we can look for to find out if srcdir is correct.
456
ac_unique_file=../generic/tk.h
457
 
458
# Find the source files, if location was not specified.
459
if test -z "$srcdir"; then
460
  ac_srcdir_defaulted=yes
461
  # Try the directory containing this script, then its parent.
462
  ac_prog=$0
463
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
464
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
465
  srcdir=$ac_confdir
466
  if test ! -r $srcdir/$ac_unique_file; then
467
    srcdir=..
468
  fi
469
else
470
  ac_srcdir_defaulted=no
471
fi
472
if test ! -r $srcdir/$ac_unique_file; then
473
  if test "$ac_srcdir_defaulted" = yes; then
474
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
475
  else
476
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
477
  fi
478
fi
479
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
480
 
481
# Prefer explicitly selected file to automatically selected ones.
482
if test -z "$CONFIG_SITE"; then
483
  if test "x$prefix" != xNONE; then
484
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
485
  else
486
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
487
  fi
488
fi
489
for ac_site_file in $CONFIG_SITE; do
490
  if test -r "$ac_site_file"; then
491
    echo "loading site script $ac_site_file"
492
    . "$ac_site_file"
493
  fi
494
done
495
 
496
if test -r "$cache_file"; then
497
  echo "loading cache $cache_file"
498
  . $cache_file
499
else
500
  echo "creating cache $cache_file"
501
  > $cache_file
502
fi
503
 
504
ac_ext=c
505
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
506
ac_cpp='$CPP $CPPFLAGS'
507
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
508
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
509
cross_compiling=$ac_cv_prog_cc_cross
510
 
511
ac_exeext=
512
ac_objext=o
513
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
514
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
515
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
516
    ac_n= ac_c='
517
' ac_t='        '
518
  else
519
    ac_n=-n ac_c= ac_t=
520
  fi
521
else
522
  ac_n= ac_c='\c' ac_t=
523
fi
524
 
525
 
526
 
527
if test "${prefix}" = "NONE"; then
528
    prefix=/usr/local
529
fi
530
if test "${exec_prefix}" = "NONE"; then
531
    exec_prefix=$prefix
532
fi
533
 
534
ac_aux_dir=
535
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
536
  if test -f $ac_dir/install-sh; then
537
    ac_aux_dir=$ac_dir
538
    ac_install_sh="$ac_aux_dir/install-sh -c"
539
    break
540
  elif test -f $ac_dir/install.sh; then
541
    ac_aux_dir=$ac_dir
542
    ac_install_sh="$ac_aux_dir/install.sh -c"
543
    break
544
  fi
545
done
546
if test -z "$ac_aux_dir"; then
547
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
548
fi
549
ac_config_guess=$ac_aux_dir/config.guess
550
ac_config_sub=$ac_aux_dir/config.sub
551
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
552
 
553
 
554
# Make sure we can run config.sub.
555
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
556
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
557
fi
558
 
559
echo $ac_n "checking host system type""... $ac_c" 1>&6
560
echo "configure:561: checking host system type" >&5
561
 
562
host_alias=$host
563
case "$host_alias" in
564
NONE)
565
  case $nonopt in
566
  NONE)
567
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
568
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
569
    fi ;;
570
  *) host_alias=$nonopt ;;
571
  esac ;;
572
esac
573
 
574
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
575
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
576
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
577
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
578
echo "$ac_t""$host" 1>&6
579
 
580
 
581
# Extract the first word of "gcc", so it can be a program name with args.
582
set dummy gcc; ac_word=$2
583
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
584
echo "configure:585: checking for $ac_word" >&5
585
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
586
  echo $ac_n "(cached) $ac_c" 1>&6
587
else
588
  if test -n "$CC"; then
589
  ac_cv_prog_CC="$CC" # Let the user override the test.
590
else
591
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
592
  for ac_dir in $PATH; do
593
    test -z "$ac_dir" && ac_dir=.
594
    if test -f $ac_dir/$ac_word; then
595
      ac_cv_prog_CC="gcc"
596
      break
597
    fi
598
  done
599
  IFS="$ac_save_ifs"
600
fi
601
fi
602
CC="$ac_cv_prog_CC"
603
if test -n "$CC"; then
604
  echo "$ac_t""$CC" 1>&6
605
else
606
  echo "$ac_t""no" 1>&6
607
fi
608
 
609
if test -z "$CC"; then
610
  # Extract the first word of "cc", so it can be a program name with args.
611
set dummy cc; ac_word=$2
612
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
613
echo "configure:614: checking for $ac_word" >&5
614
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
615
  echo $ac_n "(cached) $ac_c" 1>&6
616
else
617
  if test -n "$CC"; then
618
  ac_cv_prog_CC="$CC" # Let the user override the test.
619
else
620
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
621
  ac_prog_rejected=no
622
  for ac_dir in $PATH; do
623
    test -z "$ac_dir" && ac_dir=.
624
    if test -f $ac_dir/$ac_word; then
625
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
626
        ac_prog_rejected=yes
627
        continue
628
      fi
629
      ac_cv_prog_CC="cc"
630
      break
631
    fi
632
  done
633
  IFS="$ac_save_ifs"
634
if test $ac_prog_rejected = yes; then
635
  # We found a bogon in the path, so make sure we never use it.
636
  set dummy $ac_cv_prog_CC
637
  shift
638
  if test $# -gt 0; then
639
    # We chose a different compiler from the bogus one.
640
    # However, it has the same basename, so the bogon will be chosen
641
    # first if we set CC to just the basename; use the full file name.
642
    shift
643
    set dummy "$ac_dir/$ac_word" "$@"
644
    shift
645
    ac_cv_prog_CC="$@"
646
  fi
647
fi
648
fi
649
fi
650
CC="$ac_cv_prog_CC"
651
if test -n "$CC"; then
652
  echo "$ac_t""$CC" 1>&6
653
else
654
  echo "$ac_t""no" 1>&6
655
fi
656
 
657
  if test -z "$CC"; then
658
    case "`uname -s`" in
659
    *win32* | *WIN32*)
660
      # Extract the first word of "cl", so it can be a program name with args.
661
set dummy cl; ac_word=$2
662
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
663
echo "configure:664: checking for $ac_word" >&5
664
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
665
  echo $ac_n "(cached) $ac_c" 1>&6
666
else
667
  if test -n "$CC"; then
668
  ac_cv_prog_CC="$CC" # Let the user override the test.
669
else
670
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
671
  for ac_dir in $PATH; do
672
    test -z "$ac_dir" && ac_dir=.
673
    if test -f $ac_dir/$ac_word; then
674
      ac_cv_prog_CC="cl"
675
      break
676
    fi
677
  done
678
  IFS="$ac_save_ifs"
679
fi
680
fi
681
CC="$ac_cv_prog_CC"
682
if test -n "$CC"; then
683
  echo "$ac_t""$CC" 1>&6
684
else
685
  echo "$ac_t""no" 1>&6
686
fi
687
 ;;
688
    esac
689
  fi
690
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
691
fi
692
 
693
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
694
echo "configure:695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
695
 
696
ac_ext=c
697
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
698
ac_cpp='$CPP $CPPFLAGS'
699
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
700
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
701
cross_compiling=$ac_cv_prog_cc_cross
702
 
703
cat > conftest.$ac_ext <
704
#line 705 "configure"
705
#include "confdefs.h"
706
main(){return(0);}
707
EOF
708
if { (eval echo configure:709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
709
  ac_cv_prog_cc_works=yes
710
  # If we can't run a trivial program, we are probably using a cross compiler.
711
  if (./conftest; exit) 2>/dev/null; then
712
    ac_cv_prog_cc_cross=no
713
  else
714
    ac_cv_prog_cc_cross=yes
715
  fi
716
else
717
  echo "configure: failed program was:" >&5
718
  cat conftest.$ac_ext >&5
719
  ac_cv_prog_cc_works=no
720
fi
721
rm -fr conftest*
722
 
723
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
724
if test $ac_cv_prog_cc_works = no; then
725
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
726
fi
727
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
728
echo "configure:729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
729
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
730
cross_compiling=$ac_cv_prog_cc_cross
731
 
732
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
733
echo "configure:734: checking whether we are using GNU C" >&5
734
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
735
  echo $ac_n "(cached) $ac_c" 1>&6
736
else
737
  cat > conftest.c <
738
#ifdef __GNUC__
739
  yes;
740
#endif
741
EOF
742
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
743
  ac_cv_prog_gcc=yes
744
else
745
  ac_cv_prog_gcc=no
746
fi
747
fi
748
 
749
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
750
 
751
if test $ac_cv_prog_gcc = yes; then
752
  GCC=yes
753
else
754
  GCC=
755
fi
756
 
757
ac_test_CFLAGS="${CFLAGS+set}"
758
ac_save_CFLAGS="$CFLAGS"
759
CFLAGS=
760
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
761
echo "configure:762: checking whether ${CC-cc} accepts -g" >&5
762
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
763
  echo $ac_n "(cached) $ac_c" 1>&6
764
else
765
  echo 'void f(){}' > conftest.c
766
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
767
  ac_cv_prog_cc_g=yes
768
else
769
  ac_cv_prog_cc_g=no
770
fi
771
rm -f conftest*
772
 
773
fi
774
 
775
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
776
if test "$ac_test_CFLAGS" = set; then
777
  CFLAGS="$ac_save_CFLAGS"
778
elif test $ac_cv_prog_cc_g = yes; then
779
  if test "$GCC" = yes; then
780
    CFLAGS="-g -O2"
781
  else
782
    CFLAGS="-g"
783
  fi
784
else
785
  if test "$GCC" = yes; then
786
    CFLAGS="-O2"
787
  else
788
    CFLAGS=
789
  fi
790
fi
791
 
792
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
793
echo "configure:794: checking for object suffix" >&5
794
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
795
  echo $ac_n "(cached) $ac_c" 1>&6
796
else
797
  rm -f conftest*
798
echo 'int i = 1;' > conftest.$ac_ext
799
if { (eval echo configure:800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
800
  for ac_file in conftest.*; do
801
    case $ac_file in
802
    *.c) ;;
803
    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
804
    esac
805
  done
806
else
807
  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
808
fi
809
rm -f conftest*
810
fi
811
 
812
echo "$ac_t""$ac_cv_objext" 1>&6
813
OBJEXT=$ac_cv_objext
814
ac_objext=$ac_cv_objext
815
 
816
NM=${NM-nm}
817
 
818
AS=${AS-as}
819
 
820
LD=${LD-ld}
821
 
822
DLLTOOL=${DLLTOOL-dlltool}
823
 
824
WINDRES=${WINDRES-windres}
825
 
826
# Find a good install program.  We prefer a C program (faster),
827
# so one script is as good as another.  But avoid the broken or
828
# incompatible versions:
829
# SysV /etc/install, /usr/sbin/install
830
# SunOS /usr/etc/install
831
# IRIX /sbin/install
832
# AIX /bin/install
833
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
834
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
835
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
836
# ./install, which can be erroneously created by make from ./install.sh.
837
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
838
echo "configure:839: checking for a BSD compatible install" >&5
839
if test -z "$INSTALL"; then
840
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
841
  echo $ac_n "(cached) $ac_c" 1>&6
842
else
843
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
844
  for ac_dir in $PATH; do
845
    # Account for people who put trailing slashes in PATH elements.
846
    case "$ac_dir/" in
847
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
848
    *)
849
      # OSF1 and SCO ODT 3.0 have their own names for install.
850
      # Don't use installbsd from OSF since it installs stuff as root
851
      # by default.
852
      for ac_prog in ginstall scoinst install; do
853
        if test -f $ac_dir/$ac_prog; then
854
          if test $ac_prog = install &&
855
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
856
            # AIX install.  It has an incompatible calling convention.
857
            :
858
          else
859
            ac_cv_path_install="$ac_dir/$ac_prog -c"
860
            break 2
861
          fi
862
        fi
863
      done
864
      ;;
865
    esac
866
  done
867
  IFS="$ac_save_IFS"
868
 
869
fi
870
  if test "${ac_cv_path_install+set}" = set; then
871
    INSTALL="$ac_cv_path_install"
872
  else
873
    # As a last resort, use the slow shell script.  We don't cache a
874
    # path for INSTALL within a source directory, because that will
875
    # break other packages using the cache if that directory is
876
    # removed, or if the path is relative.
877
    INSTALL="$ac_install_sh"
878
  fi
879
fi
880
echo "$ac_t""$INSTALL" 1>&6
881
 
882
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
883
# It thinks the first close brace ends the variable substitution.
884
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
885
 
886
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
887
 
888
 
889
# needed for the subtle differences between cygwin and mingw32
890
case "${host}" in
891
*-*-cygwin*)
892
        DLL_LDLIBS=-lcygwin
893
        DLL_LDFLAGS='-nostartfiles -Wl,--dll'
894
        ;;
895
*-*-mingw32*)
896
        DLL_LDLIBS=
897
        DLL_LDFLAGS='-mdll'
898
        ;;
899
esac
900
 
901
 
902
 
903
 
904
 
905
# The following stuff is just for tkConfig.sh, not for Makefile.
906
 
907
# Check whether --with-tcl or --without-tcl was given.
908
if test "${with_tcl+set}" = set; then
909
  withval="$with_tcl"
910
  TCL_BIN_DIR=$withval
911
else
912
  TCL_BIN_DIR=`cd ../../tcl/unix; pwd`
913
fi
914
 
915
if test ! -d $TCL_BIN_DIR; then
916
    { echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
917
fi
918
if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
919
    { echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR;  perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
920
fi
921
 
922
file=$TCL_BIN_DIR/tclConfig.sh
923
. $file
924
SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
925
SHLIB_LD=$TCL_SHLIB_LD
926
SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS
927
SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX
928
SHLIB_VERSION=$TCL_SHLIB_VERSION
929
DL_LIBS=$TCL_DL_LIBS
930
LD_FLAGS=$TCL_LD_FLAGS
931
TK_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS
932
 
933
LIBOBJS=
934
 
935
TK_VERSION=8.0
936
TK_MAJOR_VERSION=8
937
TK_MINOR_VERSION=0
938
TK_PATCH_LEVEL=p2
939
VERSION=${TK_VERSION}
940
 
941
MATH_LIBS=-lm
942
LIBOBJS=
943
 
944
TK_SHLIB_CFLAGS=""
945
eval "TK_LIB_FILE=libtk${TCL_UNSHARED_LIB_SUFFIX}"
946
 
947
TK_UNSHARED_LIB_FILE="$TK_LIB_FILE"
948
TK_SRC_DIR=`cd $srcdir/..; pwd`
949
 
950
XINCLUDES="-I`cd $srcdir/../xlib; pwd`"
951
XLIBSW=
952
TK_BUILD_INCLUDES="-I`cd $srcdir/../generic; pwd` -I`cd $srcdir/../xlib; pwd`"
953
TK_BUILD_LIB_SPEC="-L`pwd` -ltk`echo ${VERSION} | tr -d .`"
954
TK_LIB_SPEC="-L${exec_prefix}/lib -ltk`echo ${VERSION} | tr -d .`"
955
 
956
 
957
 
958
 
959
 
960
 
961
 
962
 
963
 
964
 
965
 
966
 
967
 
968
 
969
 
970
 
971
trap '' 1 2 15
972
cat > confcache <<\EOF
973
# This file is a shell script that caches the results of configure
974
# tests run on this system so they can be shared between configure
975
# scripts and configure runs.  It is not useful on other systems.
976
# If it contains results you don't want to keep, you may remove or edit it.
977
#
978
# By default, configure uses ./config.cache as the cache file,
979
# creating it if it does not exist already.  You can give configure
980
# the --cache-file=FILE option to use a different cache file; that is
981
# what configure does when it calls configure scripts in
982
# subdirectories, so they share the cache.
983
# Giving --cache-file=/dev/null disables caching, for debugging configure.
984
# config.status only pays attention to the cache file if you give it the
985
# --recheck option to rerun configure.
986
#
987
EOF
988
# The following way of writing the cache mishandles newlines in values,
989
# but we know of no workaround that is simple, portable, and efficient.
990
# So, don't put newlines in cache variables' values.
991
# Ultrix sh set writes to stderr and can't be redirected directly,
992
# and sets the high bit in the cache file unless we assign to the vars.
993
(set) 2>&1 |
994
  case `(ac_space=' '; set) 2>&1 | grep ac_space` in
995
  *ac_space=\ *)
996
    # `set' does not quote correctly, so add quotes (double-quote substitution
997
    # turns \\\\ into \\, and sed turns \\ into \).
998
    sed -n \
999
      -e "s/'/'\\\\''/g" \
1000
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1001
    ;;
1002
  *)
1003
    # `set' quotes correctly as required by POSIX, so do not add quotes.
1004
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1005
    ;;
1006
  esac >> confcache
1007
if cmp -s $cache_file confcache; then
1008
  :
1009
else
1010
  if test -w $cache_file; then
1011
    echo "updating cache $cache_file"
1012
    cat confcache > $cache_file
1013
  else
1014
    echo "not updating unwritable cache $cache_file"
1015
  fi
1016
fi
1017
rm -f confcache
1018
 
1019
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1020
 
1021
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1022
# Let make expand exec_prefix.
1023
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1024
 
1025
# Any assignment to VPATH causes Sun make to only execute
1026
# the first set of double-colon rules, so remove it if not needed.
1027
# If there is a colon in the path, we need to keep it.
1028
if test "x$srcdir" = x.; then
1029
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1030
fi
1031
 
1032
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1033
 
1034
# Transform confdefs.h into DEFS.
1035
# Protect against shell expansion while executing Makefile rules.
1036
# Protect against Makefile macro expansion.
1037
cat > conftest.defs <<\EOF
1038
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1039
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1040
s%\[%\\&%g
1041
s%\]%\\&%g
1042
s%\$%$$%g
1043
EOF
1044
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1045
rm -f conftest.defs
1046
 
1047
 
1048
# Without the "./", some shells look in PATH for config.status.
1049
: ${CONFIG_STATUS=./config.status}
1050
 
1051
echo creating $CONFIG_STATUS
1052
rm -f $CONFIG_STATUS
1053
cat > $CONFIG_STATUS <
1054
#! /bin/sh
1055
# Generated automatically by configure.
1056
# Run this file to recreate the current configuration.
1057
# This directory was configured as follows,
1058
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1059
#
1060
# $0 $ac_configure_args
1061
#
1062
# Compiler output produced by configure, useful for debugging
1063
# configure, is in ./config.log if it exists.
1064
 
1065
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1066
for ac_option
1067
do
1068
  case "\$ac_option" in
1069
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1070
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1071
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1072
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1073
    echo "$CONFIG_STATUS generated by autoconf version 2.12.2"
1074
    exit 0 ;;
1075
  -help | --help | --hel | --he | --h)
1076
    echo "\$ac_cs_usage"; exit 0 ;;
1077
  *) echo "\$ac_cs_usage"; exit 1 ;;
1078
  esac
1079
done
1080
 
1081
ac_given_srcdir=$srcdir
1082
ac_given_INSTALL="$INSTALL"
1083
 
1084
trap 'rm -fr `echo "Makefile ../unix/tkConfig.sh" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1085
EOF
1086
cat >> $CONFIG_STATUS <
1087
 
1088
# Protect against being on the right side of a sed subst in config.status.
1089
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1090
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1091
$ac_vpsub
1092
$extrasub
1093
s%@SHELL@%$SHELL%g
1094
s%@CFLAGS@%$CFLAGS%g
1095
s%@CPPFLAGS@%$CPPFLAGS%g
1096
s%@CXXFLAGS@%$CXXFLAGS%g
1097
s%@DEFS@%$DEFS%g
1098
s%@LDFLAGS@%$LDFLAGS%g
1099
s%@LIBS@%$LIBS%g
1100
s%@exec_prefix@%$exec_prefix%g
1101
s%@prefix@%$prefix%g
1102
s%@program_transform_name@%$program_transform_name%g
1103
s%@bindir@%$bindir%g
1104
s%@sbindir@%$sbindir%g
1105
s%@libexecdir@%$libexecdir%g
1106
s%@datadir@%$datadir%g
1107
s%@sysconfdir@%$sysconfdir%g
1108
s%@sharedstatedir@%$sharedstatedir%g
1109
s%@localstatedir@%$localstatedir%g
1110
s%@libdir@%$libdir%g
1111
s%@includedir@%$includedir%g
1112
s%@oldincludedir@%$oldincludedir%g
1113
s%@infodir@%$infodir%g
1114
s%@mandir@%$mandir%g
1115
s%@host@%$host%g
1116
s%@host_alias@%$host_alias%g
1117
s%@host_cpu@%$host_cpu%g
1118
s%@host_vendor@%$host_vendor%g
1119
s%@host_os@%$host_os%g
1120
s%@CC@%$CC%g
1121
s%@OBJEXT@%$OBJEXT%g
1122
s%@NM@%$NM%g
1123
s%@AS@%$AS%g
1124
s%@LD@%$LD%g
1125
s%@DLLTOOL@%$DLLTOOL%g
1126
s%@WINDRES@%$WINDRES%g
1127
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1128
s%@INSTALL_DATA@%$INSTALL_DATA%g
1129
s%@TCL_ALLOC_OBJ@%$TCL_ALLOC_OBJ%g
1130
s%@DLL_LDFLAGS@%$DLL_LDFLAGS%g
1131
s%@DLL_LDLIBS@%$DLL_LDLIBS%g
1132
s%@LIBOBJS@%$LIBOBJS%g
1133
s%@DL_LIBS@%$DL_LIBS%g
1134
s%@LD_FLAGS@%$LD_FLAGS%g
1135
s%@MATH_LIBS@%$MATH_LIBS%g
1136
s%@TK_BUILD_INCLUDES@%$TK_BUILD_INCLUDES%g
1137
s%@TK_BUILD_LIB_SPEC@%$TK_BUILD_LIB_SPEC%g
1138
s%@TK_LIB_FILE@%$TK_LIB_FILE%g
1139
s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g
1140
s%@TK_MAJOR_VERSION@%$TK_MAJOR_VERSION%g
1141
s%@TK_MINOR_VERSION@%$TK_MINOR_VERSION%g
1142
s%@TK_PATCH_LEVEL@%$TK_PATCH_LEVEL%g
1143
s%@TK_SRC_DIR@%$TK_SRC_DIR%g
1144
s%@TK_VERSION@%$TK_VERSION%g
1145
s%@XINCLUDES@%$XINCLUDES%g
1146
s%@XLIBSW@%$XLIBSW%g
1147
 
1148
CEOF
1149
EOF
1150
 
1151
cat >> $CONFIG_STATUS <<\EOF
1152
 
1153
# Split the substitutions into bite-sized pieces for seds with
1154
# small command number limits, like on Digital OSF/1 and HP-UX.
1155
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1156
ac_file=1 # Number of current file.
1157
ac_beg=1 # First line for current file.
1158
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1159
ac_more_lines=:
1160
ac_sed_cmds=""
1161
while $ac_more_lines; do
1162
  if test $ac_beg -gt 1; then
1163
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1164
  else
1165
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1166
  fi
1167
  if test ! -s conftest.s$ac_file; then
1168
    ac_more_lines=false
1169
    rm -f conftest.s$ac_file
1170
  else
1171
    if test -z "$ac_sed_cmds"; then
1172
      ac_sed_cmds="sed -f conftest.s$ac_file"
1173
    else
1174
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1175
    fi
1176
    ac_file=`expr $ac_file + 1`
1177
    ac_beg=$ac_end
1178
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1179
  fi
1180
done
1181
if test -z "$ac_sed_cmds"; then
1182
  ac_sed_cmds=cat
1183
fi
1184
EOF
1185
 
1186
cat >> $CONFIG_STATUS <
1187
 
1188
CONFIG_FILES=\${CONFIG_FILES-"Makefile ../unix/tkConfig.sh"}
1189
EOF
1190
cat >> $CONFIG_STATUS <<\EOF
1191
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1192
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1193
  case "$ac_file" in
1194
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1195
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1196
  *) ac_file_in="${ac_file}.in" ;;
1197
  esac
1198
 
1199
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1200
 
1201
  # Remove last slash and all that follows it.  Not all systems have dirname.
1202
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1203
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1204
    # The file is in a subdirectory.
1205
    test ! -d "$ac_dir" && mkdir "$ac_dir"
1206
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1207
    # A "../" for each directory in $ac_dir_suffix.
1208
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1209
  else
1210
    ac_dir_suffix= ac_dots=
1211
  fi
1212
 
1213
  case "$ac_given_srcdir" in
1214
  .)  srcdir=.
1215
      if test -z "$ac_dots"; then top_srcdir=.
1216
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1217
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1218
  *) # Relative path.
1219
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1220
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1221
  esac
1222
 
1223
  case "$ac_given_INSTALL" in
1224
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1225
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1226
  esac
1227
 
1228
  echo creating "$ac_file"
1229
  rm -f "$ac_file"
1230
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1231
  case "$ac_file" in
1232
  *Makefile*) ac_comsub="1i\\
1233
# $configure_input" ;;
1234
  *) ac_comsub= ;;
1235
  esac
1236
 
1237
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1238
  sed -e "$ac_comsub
1239
s%@configure_input@%$configure_input%g
1240
s%@srcdir@%$srcdir%g
1241
s%@top_srcdir@%$top_srcdir%g
1242
s%@INSTALL@%$INSTALL%g
1243
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1244
fi; done
1245
rm -f conftest.s*
1246
 
1247
EOF
1248
cat >> $CONFIG_STATUS <
1249
 
1250
EOF
1251
cat >> $CONFIG_STATUS <<\EOF
1252
 
1253
exit 0
1254
EOF
1255
chmod +x $CONFIG_STATUS
1256
rm -fr confdefs* $ac_clean_files
1257
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1258
 

powered by: WebSVN 2.1.0

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