~ubuntu-branches/ubuntu/jaunty/texlive-bin/jaunty

« back to all changes in this revision

Viewing changes to build/TeX/texk/makeindexk/configure

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2008-06-26 23:14:59 UTC
  • mfrom: (2.1.30 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080626231459-y02rjsrgtafu83yr
Tags: 2007.dfsg.2-3
add missing source roadmap.fig of roadmap.eps in fontinst documentation
(Closes: #482915) (urgency medium due to RC bug)
(new patch add-missing-fontinst-source)

Show diffs side-by-side

added added

removed removed

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