~ubuntu-branches/ubuntu/maverick/lire/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2002-04-11 23:36:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020411233621-rj3dbr7z5wulfd7z
Tags: upstream-20020214
ImportĀ upstreamĀ versionĀ 20020214

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
  --with-perl5libdir=DIR  where to install the Lire perl5 modules 
 
16
                          [PREFIX/share/perl5] "
 
17
ac_help="$ac_help
 
18
  --with-perl5archlibdir=DIR  where to install the architecture 
 
19
                               specific Lire perl5 modules.
 
20
                          [PREFIX/share/perl5] "
 
21
ac_help="$ac_help
 
22
  --with-spooldir=DIR     where scripts should look for emails 
 
23
                          containing logfiles (only interesting if you plan 
 
24
                          to run your own responder) 
 
25
                          [PREFIX/var/spool/lire] "
 
26
ac_help="$ac_help
 
27
  --with-archivedir=DIR   where to be merged reports, and to be
 
28
                          postprocessed logs should get archived.  (If you do
 
29
                          not set the environment variable ARCHIVE, the archive
 
30
                          will not be used; LOCALSTATEDIR per default is
 
31
                          PREFIX/var).
 
32
                          [LOCALSTATEDIR/lib/lire/data] "
 
33
ac_help="$ac_help
 
34
  --with-sgmldir=DIR      path to the SGML installation directory 
 
35
                          [PREFIX/lib/sgml or PREFIX/share/sgml]
 
36
        "
 
37
 
 
38
# Initialize some variables set by options.
 
39
# The variables have the same names as the options, with
 
40
# dashes changed to underlines.
 
41
build=NONE
 
42
cache_file=./config.cache
 
43
exec_prefix=NONE
 
44
host=NONE
 
45
no_create=
 
46
nonopt=NONE
 
47
no_recursion=
 
48
prefix=NONE
 
49
program_prefix=NONE
 
50
program_suffix=NONE
 
51
program_transform_name=s,x,x,
 
52
silent=
 
53
site=
 
54
srcdir=
 
55
target=NONE
 
56
verbose=
 
57
x_includes=NONE
 
58
x_libraries=NONE
 
59
bindir='${exec_prefix}/bin'
 
60
sbindir='${exec_prefix}/sbin'
 
61
libexecdir='${exec_prefix}/libexec'
 
62
datadir='${prefix}/share'
 
63
sysconfdir='${prefix}/etc'
 
64
sharedstatedir='${prefix}/com'
 
65
localstatedir='${prefix}/var'
 
66
libdir='${exec_prefix}/lib'
 
67
includedir='${prefix}/include'
 
68
oldincludedir='/usr/include'
 
69
infodir='${prefix}/info'
 
70
mandir='${prefix}/man'
 
71
 
 
72
# Initialize some other variables.
 
73
subdirs=
 
74
MFLAGS= MAKEFLAGS=
 
75
SHELL=${CONFIG_SHELL-/bin/sh}
 
76
# Maximum number of lines to put in a shell here document.
 
77
ac_max_here_lines=12
 
78
 
 
79
ac_prev=
 
80
for ac_option
 
81
do
 
82
 
 
83
  # If the previous option needs an argument, assign it.
 
84
  if test -n "$ac_prev"; then
 
85
    eval "$ac_prev=\$ac_option"
 
86
    ac_prev=
 
87
    continue
 
88
  fi
 
89
 
 
90
  case "$ac_option" in
 
91
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
 
92
  *) ac_optarg= ;;
 
93
  esac
 
94
 
 
95
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
96
 
 
97
  case "$ac_option" in
 
98
 
 
99
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
100
    ac_prev=bindir ;;
 
101
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
102
    bindir="$ac_optarg" ;;
 
103
 
 
104
  -build | --build | --buil | --bui | --bu)
 
105
    ac_prev=build ;;
 
106
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
107
    build="$ac_optarg" ;;
 
108
 
 
109
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
110
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
111
    ac_prev=cache_file ;;
 
112
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
113
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
114
    cache_file="$ac_optarg" ;;
 
115
 
 
116
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
117
    ac_prev=datadir ;;
 
118
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
119
  | --da=*)
 
120
    datadir="$ac_optarg" ;;
 
121
 
 
122
  -disable-* | --disable-*)
 
123
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 
124
    # Reject names that are not valid shell variable names.
 
125
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
 
126
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 
127
    fi
 
128
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
 
129
    eval "enable_${ac_feature}=no" ;;
 
130
 
 
131
  -enable-* | --enable-*)
 
132
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 
133
    # Reject names that are not valid shell variable names.
 
134
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
 
135
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 
136
    fi
 
137
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
 
138
    case "$ac_option" in
 
139
      *=*) ;;
 
140
      *) ac_optarg=yes ;;
 
141
    esac
 
142
    eval "enable_${ac_feature}='$ac_optarg'" ;;
 
143
 
 
144
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
145
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
146
  | --exec | --exe | --ex)
 
147
    ac_prev=exec_prefix ;;
 
148
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
149
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
150
  | --exec=* | --exe=* | --ex=*)
 
151
    exec_prefix="$ac_optarg" ;;
 
152
 
 
153
  -gas | --gas | --ga | --g)
 
154
    # Obsolete; use --with-gas.
 
155
    with_gas=yes ;;
 
156
 
 
157
  -help | --help | --hel | --he)
 
158
    # Omit some internal or obsolete options to make the list less imposing.
 
159
    # This message is too long to be a string in the A/UX 3.1 sh.
 
160
    cat << EOF
 
161
Usage: configure [options] [host]
 
162
Options: [defaults in brackets after descriptions]
 
163
Configuration:
 
164
  --cache-file=FILE       cache test results in FILE
 
165
  --help                  print this message
 
166
  --no-create             do not create output files
 
167
  --quiet, --silent       do not print \`checking...' messages
 
168
  --version               print the version of autoconf that created configure
 
169
Directory and file names:
 
170
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
171
                          [$ac_default_prefix]
 
172
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
173
                          [same as prefix]
 
174
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
 
175
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
 
176
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
 
177
  --datadir=DIR           read-only architecture-independent data in DIR
 
178
                          [PREFIX/share]
 
179
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
 
180
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
 
181
                          [PREFIX/com]
 
182
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
 
183
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
 
184
  --includedir=DIR        C header files in DIR [PREFIX/include]
 
185
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
 
186
  --infodir=DIR           info documentation in DIR [PREFIX/info]
 
187
  --mandir=DIR            man documentation in DIR [PREFIX/man]
 
188
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
 
189
  --program-prefix=PREFIX prepend PREFIX to installed program names
 
190
  --program-suffix=SUFFIX append SUFFIX to installed program names
 
191
  --program-transform-name=PROGRAM
 
192
                          run sed PROGRAM on installed program names
 
193
EOF
 
194
    cat << EOF
 
195
Host type:
 
196
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
 
197
  --host=HOST             configure for HOST [guessed]
 
198
  --target=TARGET         configure for TARGET [TARGET=HOST]
 
199
Features and packages:
 
200
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
201
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
202
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
203
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
204
  --x-includes=DIR        X include files are in DIR
 
205
  --x-libraries=DIR       X library files are in DIR
 
206
EOF
 
207
    if test -n "$ac_help"; then
 
208
      echo "--enable and --with options recognized:$ac_help"
 
209
    fi
 
210
    exit 0 ;;
 
211
 
 
212
  -host | --host | --hos | --ho)
 
213
    ac_prev=host ;;
 
214
  -host=* | --host=* | --hos=* | --ho=*)
 
215
    host="$ac_optarg" ;;
 
216
 
 
217
  -includedir | --includedir | --includedi | --included | --include \
 
218
  | --includ | --inclu | --incl | --inc)
 
219
    ac_prev=includedir ;;
 
220
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
221
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
222
    includedir="$ac_optarg" ;;
 
223
 
 
224
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
225
    ac_prev=infodir ;;
 
226
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
227
    infodir="$ac_optarg" ;;
 
228
 
 
229
  -libdir | --libdir | --libdi | --libd)
 
230
    ac_prev=libdir ;;
 
231
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
232
    libdir="$ac_optarg" ;;
 
233
 
 
234
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
235
  | --libexe | --libex | --libe)
 
236
    ac_prev=libexecdir ;;
 
237
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
238
  | --libexe=* | --libex=* | --libe=*)
 
239
    libexecdir="$ac_optarg" ;;
 
240
 
 
241
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
242
  | --localstate | --localstat | --localsta | --localst \
 
243
  | --locals | --local | --loca | --loc | --lo)
 
244
    ac_prev=localstatedir ;;
 
245
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
246
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
247
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
248
    localstatedir="$ac_optarg" ;;
 
249
 
 
250
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
251
    ac_prev=mandir ;;
 
252
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
253
    mandir="$ac_optarg" ;;
 
254
 
 
255
  -nfp | --nfp | --nf)
 
256
    # Obsolete; use --without-fp.
 
257
    with_fp=no ;;
 
258
 
 
259
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
260
  | --no-cr | --no-c)
 
261
    no_create=yes ;;
 
262
 
 
263
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
264
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
265
    no_recursion=yes ;;
 
266
 
 
267
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
268
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
269
  | --oldin | --oldi | --old | --ol | --o)
 
270
    ac_prev=oldincludedir ;;
 
271
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
272
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
273
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
274
    oldincludedir="$ac_optarg" ;;
 
275
 
 
276
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
277
    ac_prev=prefix ;;
 
278
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
279
    prefix="$ac_optarg" ;;
 
280
 
 
281
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
282
  | --program-pre | --program-pr | --program-p)
 
283
    ac_prev=program_prefix ;;
 
284
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
285
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
286
    program_prefix="$ac_optarg" ;;
 
287
 
 
288
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
289
  | --program-suf | --program-su | --program-s)
 
290
    ac_prev=program_suffix ;;
 
291
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
292
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
293
    program_suffix="$ac_optarg" ;;
 
294
 
 
295
  -program-transform-name | --program-transform-name \
 
296
  | --program-transform-nam | --program-transform-na \
 
297
  | --program-transform-n | --program-transform- \
 
298
  | --program-transform | --program-transfor \
 
299
  | --program-transfo | --program-transf \
 
300
  | --program-trans | --program-tran \
 
301
  | --progr-tra | --program-tr | --program-t)
 
302
    ac_prev=program_transform_name ;;
 
303
  -program-transform-name=* | --program-transform-name=* \
 
304
  | --program-transform-nam=* | --program-transform-na=* \
 
305
  | --program-transform-n=* | --program-transform-=* \
 
306
  | --program-transform=* | --program-transfor=* \
 
307
  | --program-transfo=* | --program-transf=* \
 
308
  | --program-trans=* | --program-tran=* \
 
309
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
310
    program_transform_name="$ac_optarg" ;;
 
311
 
 
312
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
313
  | -silent | --silent | --silen | --sile | --sil)
 
314
    silent=yes ;;
 
315
 
 
316
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
317
    ac_prev=sbindir ;;
 
318
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
319
  | --sbi=* | --sb=*)
 
320
    sbindir="$ac_optarg" ;;
 
321
 
 
322
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
323
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
324
  | --sharedst | --shareds | --shared | --share | --shar \
 
325
  | --sha | --sh)
 
326
    ac_prev=sharedstatedir ;;
 
327
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
328
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
329
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
330
  | --sha=* | --sh=*)
 
331
    sharedstatedir="$ac_optarg" ;;
 
332
 
 
333
  -site | --site | --sit)
 
334
    ac_prev=site ;;
 
335
  -site=* | --site=* | --sit=*)
 
336
    site="$ac_optarg" ;;
 
337
 
 
338
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
339
    ac_prev=srcdir ;;
 
340
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
341
    srcdir="$ac_optarg" ;;
 
342
 
 
343
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
344
  | --syscon | --sysco | --sysc | --sys | --sy)
 
345
    ac_prev=sysconfdir ;;
 
346
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
347
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
348
    sysconfdir="$ac_optarg" ;;
 
349
 
 
350
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
351
    ac_prev=target ;;
 
352
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
353
    target="$ac_optarg" ;;
 
354
 
 
355
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
356
    verbose=yes ;;
 
357
 
 
358
  -version | --version | --versio | --versi | --vers)
 
359
    echo "configure generated by autoconf version 2.13"
 
360
    exit 0 ;;
 
361
 
 
362
  -with-* | --with-*)
 
363
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 
364
    # Reject names that are not valid shell variable names.
 
365
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
 
366
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 
367
    fi
 
368
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
369
    case "$ac_option" in
 
370
      *=*) ;;
 
371
      *) ac_optarg=yes ;;
 
372
    esac
 
373
    eval "with_${ac_package}='$ac_optarg'" ;;
 
374
 
 
375
  -without-* | --without-*)
 
376
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 
377
    # Reject names that are not valid shell variable names.
 
378
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
 
379
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 
380
    fi
 
381
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
382
    eval "with_${ac_package}=no" ;;
 
383
 
 
384
  --x)
 
385
    # Obsolete; use --with-x.
 
386
    with_x=yes ;;
 
387
 
 
388
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
389
  | --x-incl | --x-inc | --x-in | --x-i)
 
390
    ac_prev=x_includes ;;
 
391
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
392
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
393
    x_includes="$ac_optarg" ;;
 
394
 
 
395
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
396
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
397
    ac_prev=x_libraries ;;
 
398
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
399
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
400
    x_libraries="$ac_optarg" ;;
 
401
 
 
402
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 
403
    ;;
 
404
 
 
405
  *)
 
406
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
 
407
      echo "configure: warning: $ac_option: invalid host type" 1>&2
 
408
    fi
 
409
    if test "x$nonopt" != xNONE; then
 
410
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
 
411
    fi
 
412
    nonopt="$ac_option"
 
413
    ;;
 
414
 
 
415
  esac
 
416
done
 
417
 
 
418
if test -n "$ac_prev"; then
 
419
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
 
420
fi
 
421
 
 
422
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
423
 
 
424
# File descriptor usage:
 
425
# 0 standard input
 
426
# 1 file creation
 
427
# 2 errors and warnings
 
428
# 3 some systems may open it to /dev/tty
 
429
# 4 used on the Kubota Titan
 
430
# 6 checking for... messages and results
 
431
# 5 compiler messages saved in config.log
 
432
if test "$silent" = yes; then
 
433
  exec 6>/dev/null
 
434
else
 
435
  exec 6>&1
 
436
fi
 
437
exec 5>./config.log
 
438
 
 
439
echo "\
 
440
This file contains any messages produced by compilers while
 
441
running configure, to aid debugging if configure makes a mistake.
 
442
" 1>&5
 
443
 
 
444
# Strip out --no-create and --no-recursion so they do not pile up.
 
445
# Also quote any args containing shell metacharacters.
 
446
ac_configure_args=
 
447
for ac_arg
 
448
do
 
449
  case "$ac_arg" in
 
450
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
451
  | --no-cr | --no-c) ;;
 
452
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
453
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
 
454
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
 
455
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
456
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
 
457
  esac
 
458
done
 
459
 
 
460
# NLS nuisances.
 
461
# Only set these to C if already set.  These must not be set unconditionally
 
462
# because not all systems understand e.g. LANG=C (notably SCO).
 
463
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
 
464
# Non-C LC_CTYPE values break the ctype check.
 
465
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
 
466
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
 
467
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
 
468
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
469
 
 
470
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
471
rm -rf conftest* confdefs.h
 
472
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
473
echo > confdefs.h
 
474
 
 
475
# A filename unique to this package, relative to the directory that
 
476
# configure is in, which we can look for to find out if srcdir is correct.
 
477
ac_unique_file=
 
478
 
 
479
# Find the source files, if location was not specified.
 
480
if test -z "$srcdir"; then
 
481
  ac_srcdir_defaulted=yes
 
482
  # Try the directory containing this script, then its parent.
 
483
  ac_prog=$0
 
484
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
 
485
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 
486
  srcdir=$ac_confdir
 
487
  if test ! -r $srcdir/$ac_unique_file; then
 
488
    srcdir=..
 
489
  fi
 
490
else
 
491
  ac_srcdir_defaulted=no
 
492
fi
 
493
if test ! -r $srcdir/$ac_unique_file; then
 
494
  if test "$ac_srcdir_defaulted" = yes; then
 
495
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
 
496
  else
 
497
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 
498
  fi
 
499
fi
 
500
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
 
501
 
 
502
# Prefer explicitly selected file to automatically selected ones.
 
503
if test -z "$CONFIG_SITE"; then
 
504
  if test "x$prefix" != xNONE; then
 
505
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
506
  else
 
507
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
508
  fi
 
509
fi
 
510
for ac_site_file in $CONFIG_SITE; do
 
511
  if test -r "$ac_site_file"; then
 
512
    echo "loading site script $ac_site_file"
 
513
    . "$ac_site_file"
 
514
  fi
 
515
done
 
516
 
 
517
if test -r "$cache_file"; then
 
518
  echo "loading cache $cache_file"
 
519
  . $cache_file
 
520
else
 
521
  echo "creating cache $cache_file"
 
522
  > $cache_file
 
523
fi
 
524
 
 
525
ac_ext=c
 
526
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
527
ac_cpp='$CPP $CPPFLAGS'
 
528
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
529
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
530
cross_compiling=$ac_cv_prog_cc_cross
 
531
 
 
532
ac_exeext=
 
533
ac_objext=o
 
534
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
 
535
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
 
536
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
 
537
    ac_n= ac_c='
 
538
' ac_t='        '
 
539
  else
 
540
    ac_n=-n ac_c= ac_t=
 
541
  fi
 
542
else
 
543
  ac_n= ac_c='\c' ac_t=
 
544
fi
 
545
 
 
546
 
 
547
ac_aux_dir=
 
548
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
549
  if test -f $ac_dir/install-sh; then
 
550
    ac_aux_dir=$ac_dir
 
551
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
552
    break
 
553
  elif test -f $ac_dir/install.sh; then
 
554
    ac_aux_dir=$ac_dir
 
555
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
556
    break
 
557
  fi
 
558
done
 
559
if test -z "$ac_aux_dir"; then
 
560
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
 
561
fi
 
562
ac_config_guess=$ac_aux_dir/config.guess
 
563
ac_config_sub=$ac_aux_dir/config.sub
 
564
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 
565
 
 
566
# Find a good install program.  We prefer a C program (faster),
 
567
# so one script is as good as another.  But avoid the broken or
 
568
# incompatible versions:
 
569
# SysV /etc/install, /usr/sbin/install
 
570
# SunOS /usr/etc/install
 
571
# IRIX /sbin/install
 
572
# AIX /bin/install
 
573
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
574
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
575
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
576
# ./install, which can be erroneously created by make from ./install.sh.
 
577
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 
578
echo "configure:579: checking for a BSD compatible install" >&5
 
579
if test -z "$INSTALL"; then
 
580
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
 
581
  echo $ac_n "(cached) $ac_c" 1>&6
 
582
else
 
583
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
 
584
  for ac_dir in $PATH; do
 
585
    # Account for people who put trailing slashes in PATH elements.
 
586
    case "$ac_dir/" in
 
587
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
 
588
    *)
 
589
      # OSF1 and SCO ODT 3.0 have their own names for install.
 
590
      # Don't use installbsd from OSF since it installs stuff as root
 
591
      # by default.
 
592
      for ac_prog in ginstall scoinst install; do
 
593
        if test -f $ac_dir/$ac_prog; then
 
594
          if test $ac_prog = install &&
 
595
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
 
596
            # AIX install.  It has an incompatible calling convention.
 
597
            :
 
598
          else
 
599
            ac_cv_path_install="$ac_dir/$ac_prog -c"
 
600
            break 2
 
601
          fi
 
602
        fi
 
603
      done
 
604
      ;;
 
605
    esac
 
606
  done
 
607
  IFS="$ac_save_IFS"
 
608
 
 
609
fi
 
610
  if test "${ac_cv_path_install+set}" = set; then
 
611
    INSTALL="$ac_cv_path_install"
 
612
  else
 
613
    # As a last resort, use the slow shell script.  We don't cache a
 
614
    # path for INSTALL within a source directory, because that will
 
615
    # break other packages using the cache if that directory is
 
616
    # removed, or if the path is relative.
 
617
    INSTALL="$ac_install_sh"
 
618
  fi
 
619
fi
 
620
echo "$ac_t""$INSTALL" 1>&6
 
621
 
 
622
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
623
# It thinks the first close brace ends the variable substitution.
 
624
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
625
 
 
626
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
627
 
 
628
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
629
 
 
630
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
 
631
echo "configure:632: checking whether build environment is sane" >&5
 
632
# Just in case
 
633
sleep 1
 
634
echo timestamp > conftestfile
 
635
# Do `set' in a subshell so we don't clobber the current shell's
 
636
# arguments.  Must try -L first in case configure is actually a
 
637
# symlink; some systems play weird games with the mod time of symlinks
 
638
# (eg FreeBSD returns the mod time of the symlink's containing
 
639
# directory).
 
640
if (
 
641
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 
642
   if test "$*" = "X"; then
 
643
      # -L didn't work.
 
644
      set X `ls -t $srcdir/configure conftestfile`
 
645
   fi
 
646
   if test "$*" != "X $srcdir/configure conftestfile" \
 
647
      && test "$*" != "X conftestfile $srcdir/configure"; then
 
648
 
 
649
      # If neither matched, then we have a broken ls.  This can happen
 
650
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
651
      # broken ls alias from the environment.  This has actually
 
652
      # happened.  Such a system could not be considered "sane".
 
653
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
 
654
alias in your environment" 1>&2; exit 1; }
 
655
   fi
 
656
 
 
657
   test "$2" = conftestfile
 
658
   )
 
659
then
 
660
   # Ok.
 
661
   :
 
662
else
 
663
   { echo "configure: error: newly created file is older than distributed files!
 
664
Check your system clock" 1>&2; exit 1; }
 
665
fi
 
666
rm -f conftest*
 
667
echo "$ac_t""yes" 1>&6
 
668
if test "$program_transform_name" = s,x,x,; then
 
669
  program_transform_name=
 
670
else
 
671
  # Double any \ or $.  echo might interpret backslashes.
 
672
  cat <<\EOF_SED > conftestsed
 
673
s,\\,\\\\,g; s,\$,$$,g
 
674
EOF_SED
 
675
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
 
676
  rm -f conftestsed
 
677
fi
 
678
test "$program_prefix" != NONE &&
 
679
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
 
680
# Use a double $ so make ignores it.
 
681
test "$program_suffix" != NONE &&
 
682
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
 
683
 
 
684
# sed with no file args requires a program.
 
685
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 
686
 
 
687
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 
688
echo "configure:689: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
689
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 
690
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
 
691
  echo $ac_n "(cached) $ac_c" 1>&6
 
692
else
 
693
  cat > conftestmake <<\EOF
 
694
all:
 
695
        @echo 'ac_maketemp="${MAKE}"'
 
696
EOF
 
697
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
698
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
 
699
if test -n "$ac_maketemp"; then
 
700
  eval ac_cv_prog_make_${ac_make}_set=yes
 
701
else
 
702
  eval ac_cv_prog_make_${ac_make}_set=no
 
703
fi
 
704
rm -f conftestmake
 
705
fi
 
706
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
707
  echo "$ac_t""yes" 1>&6
 
708
  SET_MAKE=
 
709
else
 
710
  echo "$ac_t""no" 1>&6
 
711
  SET_MAKE="MAKE=${MAKE-make}"
 
712
fi
 
713
 
 
714
 
 
715
PACKAGE=lire
 
716
 
 
717
VERSION=`cat $srcdir/VERSION`
 
718
 
 
719
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
 
720
  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
 
721
fi
 
722
cat >> confdefs.h <<EOF
 
723
#define PACKAGE "$PACKAGE"
 
724
EOF
 
725
 
 
726
cat >> confdefs.h <<EOF
 
727
#define VERSION "$VERSION"
 
728
EOF
 
729
 
 
730
 
 
731
 
 
732
missing_dir=`cd $ac_aux_dir && pwd`
 
733
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
 
734
echo "configure:735: checking for working aclocal" >&5
 
735
# Run test in a subshell; some versions of sh will print an error if
 
736
# an executable is not found, even if stderr is redirected.
 
737
# Redirect stdin to placate older versions of autoconf.  Sigh.
 
738
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
 
739
   ACLOCAL=aclocal
 
740
   echo "$ac_t""found" 1>&6
 
741
else
 
742
   ACLOCAL="$missing_dir/missing aclocal"
 
743
   echo "$ac_t""missing" 1>&6
 
744
fi
 
745
 
 
746
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
 
747
echo "configure:748: checking for working autoconf" >&5
 
748
# Run test in a subshell; some versions of sh will print an error if
 
749
# an executable is not found, even if stderr is redirected.
 
750
# Redirect stdin to placate older versions of autoconf.  Sigh.
 
751
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
 
752
   AUTOCONF=autoconf
 
753
   echo "$ac_t""found" 1>&6
 
754
else
 
755
   AUTOCONF="$missing_dir/missing autoconf"
 
756
   echo "$ac_t""missing" 1>&6
 
757
fi
 
758
 
 
759
echo $ac_n "checking for working automake""... $ac_c" 1>&6
 
760
echo "configure:761: checking for working automake" >&5
 
761
# Run test in a subshell; some versions of sh will print an error if
 
762
# an executable is not found, even if stderr is redirected.
 
763
# Redirect stdin to placate older versions of autoconf.  Sigh.
 
764
if (automake --version) < /dev/null > /dev/null 2>&1; then
 
765
   AUTOMAKE=automake
 
766
   echo "$ac_t""found" 1>&6
 
767
else
 
768
   AUTOMAKE="$missing_dir/missing automake"
 
769
   echo "$ac_t""missing" 1>&6
 
770
fi
 
771
 
 
772
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
 
773
echo "configure:774: checking for working autoheader" >&5
 
774
# Run test in a subshell; some versions of sh will print an error if
 
775
# an executable is not found, even if stderr is redirected.
 
776
# Redirect stdin to placate older versions of autoconf.  Sigh.
 
777
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
 
778
   AUTOHEADER=autoheader
 
779
   echo "$ac_t""found" 1>&6
 
780
else
 
781
   AUTOHEADER="$missing_dir/missing autoheader"
 
782
   echo "$ac_t""missing" 1>&6
 
783
fi
 
784
 
 
785
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
 
786
echo "configure:787: checking for working makeinfo" >&5
 
787
# Run test in a subshell; some versions of sh will print an error if
 
788
# an executable is not found, even if stderr is redirected.
 
789
# Redirect stdin to placate older versions of autoconf.  Sigh.
 
790
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
 
791
   MAKEINFO=makeinfo
 
792
   echo "$ac_t""found" 1>&6
 
793
else
 
794
   MAKEINFO="$missing_dir/missing makeinfo"
 
795
   echo "$ac_t""missing" 1>&6
 
796
fi
 
797
 
 
798
 
 
799
 
 
800
# Check whether --with-perl5libdir or --without-perl5libdir was given.
 
801
if test "${with_perl5libdir+set}" = set; then
 
802
  withval="$with_perl5libdir"
 
803
    if test -n "$withval"
 
804
         then
 
805
          LR_PERL5LIBDIR="$withval"
 
806
         fi
 
807
            
 
808
fi
 
809
 
 
810
if test -z "$LR_PERL5LIBDIR"
 
811
then
 
812
    if test "x$prefix" = xNONE
 
813
    then
 
814
        LR_PERL5LIBDIR="$ac_default_prefix/share/perl5"
 
815
    else
 
816
        LR_PERL5LIBDIR="$prefix/share/perl5"
 
817
    fi
 
818
fi
 
819
 
 
820
 
 
821
# Check whether --with-perl5archlibdir or --without-perl5archlibdir was given.
 
822
if test "${with_perl5archlibdir+set}" = set; then
 
823
  withval="$with_perl5archlibdir"
 
824
    if test -n "$withval"
 
825
         then
 
826
          LR_PERL5ARCHLIBDIR="$withval"
 
827
         fi
 
828
            
 
829
fi
 
830
 
 
831
if test -z "$LR_PERL5ARCHLIBDIR"
 
832
then
 
833
    if test "x$prefix" = xNONE
 
834
    then
 
835
        LR_PERL5ARCHLIBDIR="$ac_default_prefix/lib/perl5"
 
836
    else
 
837
        LR_PERL5ARCHLIBDIR="$prefix/lib/perl5"
 
838
    fi
 
839
fi
 
840
 
 
841
 
 
842
# Check whether --with-spooldir or --without-spooldir was given.
 
843
if test "${with_spooldir+set}" = set; then
 
844
  withval="$with_spooldir"
 
845
    if test -n "$withval"
 
846
         then
 
847
          LR_SPOOLDIR="$withval"
 
848
         fi
 
849
            
 
850
fi
 
851
 
 
852
if test -z "$LR_SPOOLDIR"
 
853
then
 
854
    if test "x$prefix" = xNONE
 
855
    then
 
856
        LR_SPOOLDIR="$ac_default_prefix/var/spool/lire"
 
857
    else
 
858
        LR_SPOOLDIR="$prefix/var/spool/lire"
 
859
    fi
 
860
fi
 
861
 
 
862
 
 
863
 
 
864
# Check whether --with-archivedir or --without-archivedir was given.
 
865
if test "${with_archivedir+set}" = set; then
 
866
  withval="$with_archivedir"
 
867
    if test -n "$withval"
 
868
         then
 
869
          LR_ARCHIVEDIR="$withval"
 
870
         fi
 
871
            
 
872
fi
 
873
 
 
874
if test -z "$LR_ARCHIVEDIR"
 
875
then
 
876
    if test "x$prefix" = xNONE
 
877
    then
 
878
        LR_ARCHIVEDIR="$ac_default_prefix/var/lib/lire/data"
 
879
    else
 
880
        LR_ARCHIVEDIR="$localstatedir/lib/lire/data"
 
881
    fi
 
882
fi
 
883
 
 
884
 
 
885
 
 
886
 
 
887
for ac_prog in mawk gawk nawk awk
 
888
do
 
889
# Extract the first word of "$ac_prog", so it can be a program name with args.
 
890
set dummy $ac_prog; ac_word=$2
 
891
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
892
echo "configure:893: checking for $ac_word" >&5
 
893
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
 
894
  echo $ac_n "(cached) $ac_c" 1>&6
 
895
else
 
896
  if test -n "$AWK"; then
 
897
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
898
else
 
899
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
900
  ac_dummy="$PATH"
 
901
  for ac_dir in $ac_dummy; do
 
902
    test -z "$ac_dir" && ac_dir=.
 
903
    if test -f $ac_dir/$ac_word; then
 
904
      ac_cv_prog_AWK="$ac_prog"
 
905
      break
 
906
    fi
 
907
  done
 
908
  IFS="$ac_save_ifs"
 
909
fi
 
910
fi
 
911
AWK="$ac_cv_prog_AWK"
 
912
if test -n "$AWK"; then
 
913
  echo "$ac_t""$AWK" 1>&6
 
914
else
 
915
  echo "$ac_t""no" 1>&6
 
916
fi
 
917
 
 
918
test -n "$AWK" && break
 
919
done
 
920
 
 
921
# Find a good install program.  We prefer a C program (faster),
 
922
# so one script is as good as another.  But avoid the broken or
 
923
# incompatible versions:
 
924
# SysV /etc/install, /usr/sbin/install
 
925
# SunOS /usr/etc/install
 
926
# IRIX /sbin/install
 
927
# AIX /bin/install
 
928
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
929
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
930
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
931
# ./install, which can be erroneously created by make from ./install.sh.
 
932
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 
933
echo "configure:934: checking for a BSD compatible install" >&5
 
934
if test -z "$INSTALL"; then
 
935
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
 
936
  echo $ac_n "(cached) $ac_c" 1>&6
 
937
else
 
938
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
 
939
  for ac_dir in $PATH; do
 
940
    # Account for people who put trailing slashes in PATH elements.
 
941
    case "$ac_dir/" in
 
942
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
 
943
    *)
 
944
      # OSF1 and SCO ODT 3.0 have their own names for install.
 
945
      # Don't use installbsd from OSF since it installs stuff as root
 
946
      # by default.
 
947
      for ac_prog in ginstall scoinst install; do
 
948
        if test -f $ac_dir/$ac_prog; then
 
949
          if test $ac_prog = install &&
 
950
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
 
951
            # AIX install.  It has an incompatible calling convention.
 
952
            :
 
953
          else
 
954
            ac_cv_path_install="$ac_dir/$ac_prog -c"
 
955
            break 2
 
956
          fi
 
957
        fi
 
958
      done
 
959
      ;;
 
960
    esac
 
961
  done
 
962
  IFS="$ac_save_IFS"
 
963
 
 
964
fi
 
965
  if test "${ac_cv_path_install+set}" = set; then
 
966
    INSTALL="$ac_cv_path_install"
 
967
  else
 
968
    # As a last resort, use the slow shell script.  We don't cache a
 
969
    # path for INSTALL within a source directory, because that will
 
970
    # break other packages using the cache if that directory is
 
971
    # removed, or if the path is relative.
 
972
    INSTALL="$ac_install_sh"
 
973
  fi
 
974
fi
 
975
echo "$ac_t""$INSTALL" 1>&6
 
976
 
 
977
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
978
# It thinks the first close brace ends the variable substitution.
 
979
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
980
 
 
981
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
982
 
 
983
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
984
 
 
985
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
 
986
echo "configure:987: checking whether ln -s works" >&5
 
987
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
 
988
  echo $ac_n "(cached) $ac_c" 1>&6
 
989
else
 
990
  rm -f conftestdata
 
991
if ln -s X conftestdata 2>/dev/null
 
992
then
 
993
  rm -f conftestdata
 
994
  ac_cv_prog_LN_S="ln -s"
 
995
else
 
996
  ac_cv_prog_LN_S=ln
 
997
fi
 
998
fi
 
999
LN_S="$ac_cv_prog_LN_S"
 
1000
if test "$ac_cv_prog_LN_S" = "ln -s"; then
 
1001
  echo "$ac_t""yes" 1>&6
 
1002
else
 
1003
  echo "$ac_t""no" 1>&6
 
1004
fi
 
1005
 
 
1006
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 
1007
echo "configure:1008: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
1008
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 
1009
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
 
1010
  echo $ac_n "(cached) $ac_c" 1>&6
 
1011
else
 
1012
  cat > conftestmake <<\EOF
 
1013
all:
 
1014
        @echo 'ac_maketemp="${MAKE}"'
 
1015
EOF
 
1016
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1017
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
 
1018
if test -n "$ac_maketemp"; then
 
1019
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1020
else
 
1021
  eval ac_cv_prog_make_${ac_make}_set=no
 
1022
fi
 
1023
rm -f conftestmake
 
1024
fi
 
1025
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1026
  echo "$ac_t""yes" 1>&6
 
1027
  SET_MAKE=
 
1028
else
 
1029
  echo "$ac_t""no" 1>&6
 
1030
  SET_MAKE="MAKE=${MAKE-make}"
 
1031
fi
 
1032
 
 
1033
 
 
1034
# Extract the first word of "perl", so it can be a program name with args.
 
1035
set dummy perl; ac_word=$2
 
1036
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1037
echo "configure:1038: checking for $ac_word" >&5
 
1038
if eval "test \"`echo '$''{'ac_cv_prog_HASPERL'+set}'`\" = set"; then
 
1039
  echo $ac_n "(cached) $ac_c" 1>&6
 
1040
else
 
1041
  if test -n "$HASPERL"; then
 
1042
  ac_cv_prog_HASPERL="$HASPERL" # Let the user override the test.
 
1043
else
 
1044
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1045
  ac_dummy="$PATH"
 
1046
  for ac_dir in $ac_dummy; do
 
1047
    test -z "$ac_dir" && ac_dir=.
 
1048
    if test -f $ac_dir/$ac_word; then
 
1049
      ac_cv_prog_HASPERL="yes"
 
1050
      break
 
1051
    fi
 
1052
  done
 
1053
  IFS="$ac_save_ifs"
 
1054
  test -z "$ac_cv_prog_HASPERL" && ac_cv_prog_HASPERL="no"
 
1055
fi
 
1056
fi
 
1057
HASPERL="$ac_cv_prog_HASPERL"
 
1058
if test -n "$HASPERL"; then
 
1059
  echo "$ac_t""$HASPERL" 1>&6
 
1060
else
 
1061
  echo "$ac_t""no" 1>&6
 
1062
fi
 
1063
 
 
1064
if test "xno" = "x$HASPERL"
 
1065
then
 
1066
        { echo "configure: error: cannot find perl in your PATH." 1>&2; exit 1; }
 
1067
fi
 
1068
# Extract the first word of "perl", so it can be a program name with args.
 
1069
set dummy perl; ac_word=$2
 
1070
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1071
echo "configure:1072: checking for $ac_word" >&5
 
1072
if eval "test \"`echo '$''{'ac_cv_path_PATHTOPERL'+set}'`\" = set"; then
 
1073
  echo $ac_n "(cached) $ac_c" 1>&6
 
1074
else
 
1075
  case "$PATHTOPERL" in
 
1076
  /*)
 
1077
  ac_cv_path_PATHTOPERL="$PATHTOPERL" # Let the user override the test with a path.
 
1078
  ;;
 
1079
  ?:/*)                  
 
1080
  ac_cv_path_PATHTOPERL="$PATHTOPERL" # Let the user override the test with a dos path.
 
1081
  ;;
 
1082
  *)
 
1083
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1084
  ac_dummy="$PATH"
 
1085
  for ac_dir in $ac_dummy; do 
 
1086
    test -z "$ac_dir" && ac_dir=.
 
1087
    if test -f $ac_dir/$ac_word; then
 
1088
      ac_cv_path_PATHTOPERL="$ac_dir/$ac_word"
 
1089
      break
 
1090
    fi
 
1091
  done
 
1092
  IFS="$ac_save_ifs"
 
1093
  ;;
 
1094
esac
 
1095
fi
 
1096
PATHTOPERL="$ac_cv_path_PATHTOPERL"
 
1097
if test -n "$PATHTOPERL"; then
 
1098
  echo "$ac_t""$PATHTOPERL" 1>&6
 
1099
else
 
1100
  echo "$ac_t""no" 1>&6
 
1101
fi
 
1102
 
 
1103
 
 
1104
# Extract the first word of "pod2man", so it can be a program name with args.
 
1105
set dummy pod2man; ac_word=$2
 
1106
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1107
echo "configure:1108: checking for $ac_word" >&5
 
1108
if eval "test \"`echo '$''{'ac_cv_prog_HASPOD2MAN'+set}'`\" = set"; then
 
1109
  echo $ac_n "(cached) $ac_c" 1>&6
 
1110
else
 
1111
  if test -n "$HASPOD2MAN"; then
 
1112
  ac_cv_prog_HASPOD2MAN="$HASPOD2MAN" # Let the user override the test.
 
1113
else
 
1114
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1115
  ac_dummy="$PATH"
 
1116
  for ac_dir in $ac_dummy; do
 
1117
    test -z "$ac_dir" && ac_dir=.
 
1118
    if test -f $ac_dir/$ac_word; then
 
1119
      ac_cv_prog_HASPOD2MAN="yes"
 
1120
      break
 
1121
    fi
 
1122
  done
 
1123
  IFS="$ac_save_ifs"
 
1124
  test -z "$ac_cv_prog_HASPOD2MAN" && ac_cv_prog_HASPOD2MAN="no"
 
1125
fi
 
1126
fi
 
1127
HASPOD2MAN="$ac_cv_prog_HASPOD2MAN"
 
1128
if test -n "$HASPOD2MAN"; then
 
1129
  echo "$ac_t""$HASPOD2MAN" 1>&6
 
1130
else
 
1131
  echo "$ac_t""no" 1>&6
 
1132
fi
 
1133
 
 
1134
if test "xno" = "x$HASPOD2MAN"
 
1135
then
 
1136
        { echo "configure: error: cannot find pod2man in your PATH." 1>&2; exit 1; }
 
1137
fi
 
1138
 
 
1139
# Extract the first word of "sendmail", so it can be a program name with args.
 
1140
set dummy sendmail; ac_word=$2
 
1141
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1142
echo "configure:1143: checking for $ac_word" >&5
 
1143
if eval "test \"`echo '$''{'ac_cv_prog_HASSENDMAIL'+set}'`\" = set"; then
 
1144
  echo $ac_n "(cached) $ac_c" 1>&6
 
1145
else
 
1146
  if test -n "$HASSENDMAIL"; then
 
1147
  ac_cv_prog_HASSENDMAIL="$HASSENDMAIL" # Let the user override the test.
 
1148
else
 
1149
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1150
  ac_dummy="$PATH:/usr/sbin:/usr/lib"
 
1151
  for ac_dir in $ac_dummy; do
 
1152
    test -z "$ac_dir" && ac_dir=.
 
1153
    if test -f $ac_dir/$ac_word; then
 
1154
      ac_cv_prog_HASSENDMAIL="yes"
 
1155
      break
 
1156
    fi
 
1157
  done
 
1158
  IFS="$ac_save_ifs"
 
1159
  test -z "$ac_cv_prog_HASSENDMAIL" && ac_cv_prog_HASSENDMAIL="no"
 
1160
fi
 
1161
fi
 
1162
HASSENDMAIL="$ac_cv_prog_HASSENDMAIL"
 
1163
if test -n "$HASSENDMAIL"; then
 
1164
  echo "$ac_t""$HASSENDMAIL" 1>&6
 
1165
else
 
1166
  echo "$ac_t""no" 1>&6
 
1167
fi
 
1168
 
 
1169
if test "xno" = "x$HASSENDMAIL"
 
1170
then
 
1171
        { echo "configure: error: cannot find sendmail in your PATH" 1>&2; exit 1; }
 
1172
fi
 
1173
# Extract the first word of "sendmail", so it can be a program name with args.
 
1174
set dummy sendmail; ac_word=$2
 
1175
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1176
echo "configure:1177: checking for $ac_word" >&5
 
1177
if eval "test \"`echo '$''{'ac_cv_path_PATHTOSENDMAIL'+set}'`\" = set"; then
 
1178
  echo $ac_n "(cached) $ac_c" 1>&6
 
1179
else
 
1180
  case "$PATHTOSENDMAIL" in
 
1181
  /*)
 
1182
  ac_cv_path_PATHTOSENDMAIL="$PATHTOSENDMAIL" # Let the user override the test with a path.
 
1183
  ;;
 
1184
  ?:/*)                  
 
1185
  ac_cv_path_PATHTOSENDMAIL="$PATHTOSENDMAIL" # Let the user override the test with a dos path.
 
1186
  ;;
 
1187
  *)
 
1188
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1189
  ac_dummy="$PATH:/usr/sbin:/usr/lib"
 
1190
  for ac_dir in $ac_dummy; do 
 
1191
    test -z "$ac_dir" && ac_dir=.
 
1192
    if test -f $ac_dir/$ac_word; then
 
1193
      ac_cv_path_PATHTOSENDMAIL="$ac_dir/$ac_word"
 
1194
      break
 
1195
    fi
 
1196
  done
 
1197
  IFS="$ac_save_ifs"
 
1198
  test -z "$ac_cv_path_PATHTOSENDMAIL" && ac_cv_path_PATHTOSENDMAIL="no"
 
1199
  ;;
 
1200
esac
 
1201
fi
 
1202
PATHTOSENDMAIL="$ac_cv_path_PATHTOSENDMAIL"
 
1203
if test -n "$PATHTOSENDMAIL"; then
 
1204
  echo "$ac_t""$PATHTOSENDMAIL" 1>&6
 
1205
else
 
1206
  echo "$ac_t""no" 1>&6
 
1207
fi
 
1208
 
 
1209
 
 
1210
# Extract the first word of "logger", so it can be a program name with args.
 
1211
set dummy logger; ac_word=$2
 
1212
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1213
echo "configure:1214: checking for $ac_word" >&5
 
1214
if eval "test \"`echo '$''{'ac_cv_prog_HASLOGGER'+set}'`\" = set"; then
 
1215
  echo $ac_n "(cached) $ac_c" 1>&6
 
1216
else
 
1217
  if test -n "$HASLOGGER"; then
 
1218
  ac_cv_prog_HASLOGGER="$HASLOGGER" # Let the user override the test.
 
1219
else
 
1220
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1221
  ac_dummy="$PATH"
 
1222
  for ac_dir in $ac_dummy; do
 
1223
    test -z "$ac_dir" && ac_dir=.
 
1224
    if test -f $ac_dir/$ac_word; then
 
1225
      ac_cv_prog_HASLOGGER="yes"
 
1226
      break
 
1227
    fi
 
1228
  done
 
1229
  IFS="$ac_save_ifs"
 
1230
  test -z "$ac_cv_prog_HASLOGGER" && ac_cv_prog_HASLOGGER="no $PATH:/usr/bin"
 
1231
fi
 
1232
fi
 
1233
HASLOGGER="$ac_cv_prog_HASLOGGER"
 
1234
if test -n "$HASLOGGER"; then
 
1235
  echo "$ac_t""$HASLOGGER" 1>&6
 
1236
else
 
1237
  echo "$ac_t""no" 1>&6
 
1238
fi
 
1239
 
 
1240
if test "xno" = "x$HASLOGGER"
 
1241
then
 
1242
        { echo "configure: error: cannot find syslog's logger in your $PATH" 1>&2; exit 1; }
 
1243
fi
 
1244
# Extract the first word of "logger", so it can be a program name with args.
 
1245
set dummy logger; ac_word=$2
 
1246
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1247
echo "configure:1248: checking for $ac_word" >&5
 
1248
if eval "test \"`echo '$''{'ac_cv_path_PATHTOLOGGER'+set}'`\" = set"; then
 
1249
  echo $ac_n "(cached) $ac_c" 1>&6
 
1250
else
 
1251
  case "$PATHTOLOGGER" in
 
1252
  /*)
 
1253
  ac_cv_path_PATHTOLOGGER="$PATHTOLOGGER" # Let the user override the test with a path.
 
1254
  ;;
 
1255
  ?:/*)                  
 
1256
  ac_cv_path_PATHTOLOGGER="$PATHTOLOGGER" # Let the user override the test with a dos path.
 
1257
  ;;
 
1258
  *)
 
1259
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1260
  ac_dummy="$PATH:/usr/bin"
 
1261
  for ac_dir in $ac_dummy; do 
 
1262
    test -z "$ac_dir" && ac_dir=.
 
1263
    if test -f $ac_dir/$ac_word; then
 
1264
      ac_cv_path_PATHTOLOGGER="$ac_dir/$ac_word"
 
1265
      break
 
1266
    fi
 
1267
  done
 
1268
  IFS="$ac_save_ifs"
 
1269
  test -z "$ac_cv_path_PATHTOLOGGER" && ac_cv_path_PATHTOLOGGER="no"
 
1270
  ;;
 
1271
esac
 
1272
fi
 
1273
PATHTOLOGGER="$ac_cv_path_PATHTOLOGGER"
 
1274
if test -n "$PATHTOLOGGER"; then
 
1275
  echo "$ac_t""$PATHTOLOGGER" 1>&6
 
1276
else
 
1277
  echo "$ac_t""no" 1>&6
 
1278
fi
 
1279
 
 
1280
 
 
1281
# Extract the first word of "tar", so it can be a program name with args.
 
1282
set dummy tar; ac_word=$2
 
1283
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1284
echo "configure:1285: checking for $ac_word" >&5
 
1285
if eval "test \"`echo '$''{'ac_cv_path_PATHTOTAR'+set}'`\" = set"; then
 
1286
  echo $ac_n "(cached) $ac_c" 1>&6
 
1287
else
 
1288
  case "$PATHTOTAR" in
 
1289
  /*)
 
1290
  ac_cv_path_PATHTOTAR="$PATHTOTAR" # Let the user override the test with a path.
 
1291
  ;;
 
1292
  ?:/*)                  
 
1293
  ac_cv_path_PATHTOTAR="$PATHTOTAR" # Let the user override the test with a dos path.
 
1294
  ;;
 
1295
  *)
 
1296
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1297
  ac_dummy="$PATH"
 
1298
  for ac_dir in $ac_dummy; do 
 
1299
    test -z "$ac_dir" && ac_dir=.
 
1300
    if test -f $ac_dir/$ac_word; then
 
1301
      ac_cv_path_PATHTOTAR="$ac_dir/$ac_word"
 
1302
      break
 
1303
    fi
 
1304
  done
 
1305
  IFS="$ac_save_ifs"
 
1306
  test -z "$ac_cv_path_PATHTOTAR" && ac_cv_path_PATHTOTAR="no"
 
1307
  ;;
 
1308
esac
 
1309
fi
 
1310
PATHTOTAR="$ac_cv_path_PATHTOTAR"
 
1311
if test -n "$PATHTOTAR"; then
 
1312
  echo "$ac_t""$PATHTOTAR" 1>&6
 
1313
else
 
1314
  echo "$ac_t""no" 1>&6
 
1315
fi
 
1316
 
 
1317
 
 
1318
# Extract the first word of "gzip", so it can be a program name with args.
 
1319
set dummy gzip; ac_word=$2
 
1320
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1321
echo "configure:1322: checking for $ac_word" >&5
 
1322
if eval "test \"`echo '$''{'ac_cv_path_PATHTOGZIP'+set}'`\" = set"; then
 
1323
  echo $ac_n "(cached) $ac_c" 1>&6
 
1324
else
 
1325
  case "$PATHTOGZIP" in
 
1326
  /*)
 
1327
  ac_cv_path_PATHTOGZIP="$PATHTOGZIP" # Let the user override the test with a path.
 
1328
  ;;
 
1329
  ?:/*)                  
 
1330
  ac_cv_path_PATHTOGZIP="$PATHTOGZIP" # Let the user override the test with a dos path.
 
1331
  ;;
 
1332
  *)
 
1333
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1334
  ac_dummy="$PATH"
 
1335
  for ac_dir in $ac_dummy; do 
 
1336
    test -z "$ac_dir" && ac_dir=.
 
1337
    if test -f $ac_dir/$ac_word; then
 
1338
      ac_cv_path_PATHTOGZIP="$ac_dir/$ac_word"
 
1339
      break
 
1340
    fi
 
1341
  done
 
1342
  IFS="$ac_save_ifs"
 
1343
  test -z "$ac_cv_path_PATHTOGZIP" && ac_cv_path_PATHTOGZIP="no"
 
1344
  ;;
 
1345
esac
 
1346
fi
 
1347
PATHTOGZIP="$ac_cv_path_PATHTOGZIP"
 
1348
if test -n "$PATHTOGZIP"; then
 
1349
  echo "$ac_t""$PATHTOGZIP" 1>&6
 
1350
else
 
1351
  echo "$ac_t""no" 1>&6
 
1352
fi
 
1353
 
 
1354
 
 
1355
# Extract the first word of "zip", so it can be a program name with args.
 
1356
set dummy zip; ac_word=$2
 
1357
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1358
echo "configure:1359: checking for $ac_word" >&5
 
1359
if eval "test \"`echo '$''{'ac_cv_path_PATHTOZIP'+set}'`\" = set"; then
 
1360
  echo $ac_n "(cached) $ac_c" 1>&6
 
1361
else
 
1362
  case "$PATHTOZIP" in
 
1363
  /*)
 
1364
  ac_cv_path_PATHTOZIP="$PATHTOZIP" # Let the user override the test with a path.
 
1365
  ;;
 
1366
  ?:/*)                  
 
1367
  ac_cv_path_PATHTOZIP="$PATHTOZIP" # Let the user override the test with a dos path.
 
1368
  ;;
 
1369
  *)
 
1370
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1371
  ac_dummy="$PATH"
 
1372
  for ac_dir in $ac_dummy; do 
 
1373
    test -z "$ac_dir" && ac_dir=.
 
1374
    if test -f $ac_dir/$ac_word; then
 
1375
      ac_cv_path_PATHTOZIP="$ac_dir/$ac_word"
 
1376
      break
 
1377
    fi
 
1378
  done
 
1379
  IFS="$ac_save_ifs"
 
1380
  test -z "$ac_cv_path_PATHTOZIP" && ac_cv_path_PATHTOZIP="no"
 
1381
  ;;
 
1382
esac
 
1383
fi
 
1384
PATHTOZIP="$ac_cv_path_PATHTOZIP"
 
1385
if test -n "$PATHTOZIP"; then
 
1386
  echo "$ac_t""$PATHTOZIP" 1>&6
 
1387
else
 
1388
  echo "$ac_t""no" 1>&6
 
1389
fi
 
1390
 
 
1391
 
 
1392
 
 
1393
 
 
1394
echo $ac_n "checking for XML::Parser""... $ac_c" 1>&6
 
1395
echo "configure:1396: checking for XML::Parser" >&5
 
1396
if $PATHTOPERL -MXML::Parser -e 'exit 0' 2> /dev/null
 
1397
then
 
1398
    echo "$ac_t""yes" 1>&6
 
1399
    INSTALL_XML_PARSER="no"
 
1400
else
 
1401
    if test -r "$srcdir/extras/XML-Parser/Makefile.PL"
 
1402
    then
 
1403
        echo "$ac_t""no (will install included version)" 1>&6
 
1404
        INSTALL_XML_PARSER="yes"
 
1405
    else
 
1406
        { echo "configure: error: no (Please install XML::Parser before continuing or download the Lire version with XML-Parser included)" 1>&2; exit 1; }
 
1407
    fi
 
1408
fi
 
1409
 
 
1410
 
 
1411
 
 
1412
if test x$INSTALL_XML_PARSER = xyes; then
 
1413
  BUILD_XML_PARSER_TRUE=
 
1414
  BUILD_XML_PARSER_FALSE='#'
 
1415
else
 
1416
  BUILD_XML_PARSER_TRUE='#'
 
1417
  BUILD_XML_PARSER_FALSE=
 
1418
fi
 
1419
 
 
1420
subdirs="extras/expat"
 
1421
 
 
1422
 
 
1423
echo $ac_n "checking for GD::Graph""... $ac_c" 1>&6
 
1424
echo "configure:1425: checking for GD::Graph" >&5
 
1425
if $PATHTOPERL -MGD::Graph -e 'exit 0' 2> /dev/null
 
1426
then
 
1427
    echo "$ac_t""yes" 1>&6
 
1428
else
 
1429
    echo "$ac_t""no (you can install it later)" 1>&6    
 
1430
fi
 
1431
 
 
1432
echo $ac_n "checking for Time::Timezone""... $ac_c" 1>&6
 
1433
echo "configure:1434: checking for Time::Timezone" >&5
 
1434
if $PATHTOPERL -MTime::Timezone -e 'exit 0' 2> /dev/null
 
1435
then
 
1436
    echo "$ac_t""yes" 1>&6
 
1437
    INSTALL_TIMEZONE="no"
 
1438
else
 
1439
    echo "$ac_t""no (will install included version)" 1>&6    
 
1440
    INSTALL_TIMEZONE="yes"
 
1441
fi
 
1442
 
 
1443
 
 
1444
if test x$INSTALL_TIMEZONE = xyes; then
 
1445
  INSTALL_TIMEZONE_TRUE=
 
1446
  INSTALL_TIMEZONE_FALSE='#'
 
1447
else
 
1448
  INSTALL_TIMEZONE_TRUE='#'
 
1449
  INSTALL_TIMEZONE_FALSE=
 
1450
fi
 
1451
 
 
1452
 
 
1453
for ac_prog in jade openjade
 
1454
do
 
1455
# Extract the first word of "$ac_prog", so it can be a program name with args.
 
1456
set dummy $ac_prog; ac_word=$2
 
1457
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1458
echo "configure:1459: checking for $ac_word" >&5
 
1459
if eval "test \"`echo '$''{'ac_cv_prog_PATHTOJADE'+set}'`\" = set"; then
 
1460
  echo $ac_n "(cached) $ac_c" 1>&6
 
1461
else
 
1462
  if test -n "$PATHTOJADE"; then
 
1463
  ac_cv_prog_PATHTOJADE="$PATHTOJADE" # Let the user override the test.
 
1464
else
 
1465
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1466
  ac_dummy="$PATH"
 
1467
  for ac_dir in $ac_dummy; do
 
1468
    test -z "$ac_dir" && ac_dir=.
 
1469
    if test -f $ac_dir/$ac_word; then
 
1470
      ac_cv_prog_PATHTOJADE="$ac_prog"
 
1471
      break
 
1472
    fi
 
1473
  done
 
1474
  IFS="$ac_save_ifs"
 
1475
fi
 
1476
fi
 
1477
PATHTOJADE="$ac_cv_prog_PATHTOJADE"
 
1478
if test -n "$PATHTOJADE"; then
 
1479
  echo "$ac_t""$PATHTOJADE" 1>&6
 
1480
else
 
1481
  echo "$ac_t""no" 1>&6
 
1482
fi
 
1483
 
 
1484
test -n "$PATHTOJADE" && break
 
1485
done
 
1486
test -n "$PATHTOJADE" || PATHTOJADE="no"
 
1487
 
 
1488
if test "xno" = "x$PATHTOJADE"
 
1489
then
 
1490
    HASJADE="no"
 
1491
    PATHTOJADE=""
 
1492
else
 
1493
    HASJADE="yes"
 
1494
    for ac_prog in jade openjade
 
1495
do
 
1496
# Extract the first word of "$ac_prog", so it can be a program name with args.
 
1497
set dummy $ac_prog; ac_word=$2
 
1498
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1499
echo "configure:1500: checking for $ac_word" >&5
 
1500
if eval "test \"`echo '$''{'ac_cv_path_PATHTOJADE'+set}'`\" = set"; then
 
1501
  echo $ac_n "(cached) $ac_c" 1>&6
 
1502
else
 
1503
  case "$PATHTOJADE" in
 
1504
  /*)
 
1505
  ac_cv_path_PATHTOJADE="$PATHTOJADE" # Let the user override the test with a path.
 
1506
  ;;
 
1507
  ?:/*)                  
 
1508
  ac_cv_path_PATHTOJADE="$PATHTOJADE" # Let the user override the test with a dos path.
 
1509
  ;;
 
1510
  *)
 
1511
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1512
  ac_dummy="$PATH"
 
1513
  for ac_dir in $ac_dummy; do 
 
1514
    test -z "$ac_dir" && ac_dir=.
 
1515
    if test -f $ac_dir/$ac_word; then
 
1516
      ac_cv_path_PATHTOJADE="$ac_dir/$ac_word"
 
1517
      break
 
1518
    fi
 
1519
  done
 
1520
  IFS="$ac_save_ifs"
 
1521
  ;;
 
1522
esac
 
1523
fi
 
1524
PATHTOJADE="$ac_cv_path_PATHTOJADE"
 
1525
if test -n "$PATHTOJADE"; then
 
1526
  echo "$ac_t""$PATHTOJADE" 1>&6
 
1527
else
 
1528
  echo "$ac_t""no" 1>&6
 
1529
fi
 
1530
 
 
1531
test -n "$PATHTOJADE" && break
 
1532
done
 
1533
test -n "$PATHTOJADE" || PATHTOJADE="no"
 
1534
 
 
1535
fi
 
1536
 
 
1537
 
 
1538
for ac_prog in onsgmls nsgmls
 
1539
do
 
1540
# Extract the first word of "$ac_prog", so it can be a program name with args.
 
1541
set dummy $ac_prog; ac_word=$2
 
1542
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1543
echo "configure:1544: checking for $ac_word" >&5
 
1544
if eval "test \"`echo '$''{'ac_cv_path_PATHTONSGMLS'+set}'`\" = set"; then
 
1545
  echo $ac_n "(cached) $ac_c" 1>&6
 
1546
else
 
1547
  case "$PATHTONSGMLS" in
 
1548
  /*)
 
1549
  ac_cv_path_PATHTONSGMLS="$PATHTONSGMLS" # Let the user override the test with a path.
 
1550
  ;;
 
1551
  ?:/*)                  
 
1552
  ac_cv_path_PATHTONSGMLS="$PATHTONSGMLS" # Let the user override the test with a dos path.
 
1553
  ;;
 
1554
  *)
 
1555
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1556
  ac_dummy="$PATH"
 
1557
  for ac_dir in $ac_dummy; do 
 
1558
    test -z "$ac_dir" && ac_dir=.
 
1559
    if test -f $ac_dir/$ac_word; then
 
1560
      ac_cv_path_PATHTONSGMLS="$ac_dir/$ac_word"
 
1561
      break
 
1562
    fi
 
1563
  done
 
1564
  IFS="$ac_save_ifs"
 
1565
  ;;
 
1566
esac
 
1567
fi
 
1568
PATHTONSGMLS="$ac_cv_path_PATHTONSGMLS"
 
1569
if test -n "$PATHTONSGMLS"; then
 
1570
  echo "$ac_t""$PATHTONSGMLS" 1>&6
 
1571
else
 
1572
  echo "$ac_t""no" 1>&6
 
1573
fi
 
1574
 
 
1575
test -n "$PATHTONSGMLS" && break
 
1576
done
 
1577
test -n "$PATHTONSGMLS" || PATHTONSGMLS="no"
 
1578
 
 
1579
 
 
1580
# Extract the first word of "pdfjadetex", so it can be a program name with args.
 
1581
set dummy pdfjadetex; ac_word=$2
 
1582
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1583
echo "configure:1584: checking for $ac_word" >&5
 
1584
if eval "test \"`echo '$''{'ac_cv_prog_HASPDFJADETEX'+set}'`\" = set"; then
 
1585
  echo $ac_n "(cached) $ac_c" 1>&6
 
1586
else
 
1587
  if test -n "$HASPDFJADETEX"; then
 
1588
  ac_cv_prog_HASPDFJADETEX="$HASPDFJADETEX" # Let the user override the test.
 
1589
else
 
1590
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1591
  ac_dummy="$PATH"
 
1592
  for ac_dir in $ac_dummy; do
 
1593
    test -z "$ac_dir" && ac_dir=.
 
1594
    if test -f $ac_dir/$ac_word; then
 
1595
      ac_cv_prog_HASPDFJADETEX="yes"
 
1596
      break
 
1597
    fi
 
1598
  done
 
1599
  IFS="$ac_save_ifs"
 
1600
  test -z "$ac_cv_prog_HASPDFJADETEX" && ac_cv_prog_HASPDFJADETEX="no"
 
1601
fi
 
1602
fi
 
1603
HASPDFJADETEX="$ac_cv_prog_HASPDFJADETEX"
 
1604
if test -n "$HASPDFJADETEX"; then
 
1605
  echo "$ac_t""$HASPDFJADETEX" 1>&6
 
1606
else
 
1607
  echo "$ac_t""no" 1>&6
 
1608
fi
 
1609
 
 
1610
if test "xyes" = "x$HASPDFJADETEX"
 
1611
then
 
1612
        # Extract the first word of "pdfjadetex", so it can be a program name with args.
 
1613
set dummy pdfjadetex; ac_word=$2
 
1614
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1615
echo "configure:1616: checking for $ac_word" >&5
 
1616
if eval "test \"`echo '$''{'ac_cv_path_PATHTOPDFJADETEX'+set}'`\" = set"; then
 
1617
  echo $ac_n "(cached) $ac_c" 1>&6
 
1618
else
 
1619
  case "$PATHTOPDFJADETEX" in
 
1620
  /*)
 
1621
  ac_cv_path_PATHTOPDFJADETEX="$PATHTOPDFJADETEX" # Let the user override the test with a path.
 
1622
  ;;
 
1623
  ?:/*)                  
 
1624
  ac_cv_path_PATHTOPDFJADETEX="$PATHTOPDFJADETEX" # Let the user override the test with a dos path.
 
1625
  ;;
 
1626
  *)
 
1627
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1628
  ac_dummy="$PATH"
 
1629
  for ac_dir in $ac_dummy; do 
 
1630
    test -z "$ac_dir" && ac_dir=.
 
1631
    if test -f $ac_dir/$ac_word; then
 
1632
      ac_cv_path_PATHTOPDFJADETEX="$ac_dir/$ac_word"
 
1633
      break
 
1634
    fi
 
1635
  done
 
1636
  IFS="$ac_save_ifs"
 
1637
  test -z "$ac_cv_path_PATHTOPDFJADETEX" && ac_cv_path_PATHTOPDFJADETEX="no"
 
1638
  ;;
 
1639
esac
 
1640
fi
 
1641
PATHTOPDFJADETEX="$ac_cv_path_PATHTOPDFJADETEX"
 
1642
if test -n "$PATHTOPDFJADETEX"; then
 
1643
  echo "$ac_t""$PATHTOPDFJADETEX" 1>&6
 
1644
else
 
1645
  echo "$ac_t""no" 1>&6
 
1646
fi
 
1647
 
 
1648
fi
 
1649
 
 
1650
 
 
1651
# Extract the first word of "java", so it can be a program name with args.
 
1652
set dummy java; ac_word=$2
 
1653
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1654
echo "configure:1655: checking for $ac_word" >&5
 
1655
if eval "test \"`echo '$''{'ac_cv_prog_HASJAVA'+set}'`\" = set"; then
 
1656
  echo $ac_n "(cached) $ac_c" 1>&6
 
1657
else
 
1658
  if test -n "$HASJAVA"; then
 
1659
  ac_cv_prog_HASJAVA="$HASJAVA" # Let the user override the test.
 
1660
else
 
1661
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1662
  ac_dummy="$PATH"
 
1663
  for ac_dir in $ac_dummy; do
 
1664
    test -z "$ac_dir" && ac_dir=.
 
1665
    if test -f $ac_dir/$ac_word; then
 
1666
      ac_cv_prog_HASJAVA="yes"
 
1667
      break
 
1668
    fi
 
1669
  done
 
1670
  IFS="$ac_save_ifs"
 
1671
  test -z "$ac_cv_prog_HASJAVA" && ac_cv_prog_HASJAVA="no"
 
1672
fi
 
1673
fi
 
1674
HASJAVA="$ac_cv_prog_HASJAVA"
 
1675
if test -n "$HASJAVA"; then
 
1676
  echo "$ac_t""$HASJAVA" 1>&6
 
1677
else
 
1678
  echo "$ac_t""no" 1>&6
 
1679
fi
 
1680
 
 
1681
if test "xyes" = "x$HASJAVA"
 
1682
then
 
1683
        # Extract the first word of "java", so it can be a program name with args.
 
1684
set dummy java; ac_word=$2
 
1685
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1686
echo "configure:1687: checking for $ac_word" >&5
 
1687
if eval "test \"`echo '$''{'ac_cv_path_PATHTOJAVA'+set}'`\" = set"; then
 
1688
  echo $ac_n "(cached) $ac_c" 1>&6
 
1689
else
 
1690
  case "$PATHTOJAVA" in
 
1691
  /*)
 
1692
  ac_cv_path_PATHTOJAVA="$PATHTOJAVA" # Let the user override the test with a path.
 
1693
  ;;
 
1694
  ?:/*)                  
 
1695
  ac_cv_path_PATHTOJAVA="$PATHTOJAVA" # Let the user override the test with a dos path.
 
1696
  ;;
 
1697
  *)
 
1698
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1699
  ac_dummy="$PATH"
 
1700
  for ac_dir in $ac_dummy; do 
 
1701
    test -z "$ac_dir" && ac_dir=.
 
1702
    if test -f $ac_dir/$ac_word; then
 
1703
      ac_cv_path_PATHTOJAVA="$ac_dir/$ac_word"
 
1704
      break
 
1705
    fi
 
1706
  done
 
1707
  IFS="$ac_save_ifs"
 
1708
  test -z "$ac_cv_path_PATHTOJAVA" && ac_cv_path_PATHTOJAVA="no"
 
1709
  ;;
 
1710
esac
 
1711
fi
 
1712
PATHTOJAVA="$ac_cv_path_PATHTOJAVA"
 
1713
if test -n "$PATHTOJAVA"; then
 
1714
  echo "$ac_t""$PATHTOJAVA" 1>&6
 
1715
else
 
1716
  echo "$ac_t""no" 1>&6
 
1717
fi
 
1718
 
 
1719
fi
 
1720
 
 
1721
DEFAULT_XSLT="none"
 
1722
#AC_PATH_PROGS(PATHTOXALANC, testXSLT xalan-c xalan, no)
 
1723
#AC_PATH_PROG(PATHTOSABLOTRON, sabcmd, no)
 
1724
# Extract the first word of "xsltproc", so it can be a program name with args.
 
1725
set dummy xsltproc; ac_word=$2
 
1726
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1727
echo "configure:1728: checking for $ac_word" >&5
 
1728
if eval "test \"`echo '$''{'ac_cv_path_PATHTOXSLTPROC'+set}'`\" = set"; then
 
1729
  echo $ac_n "(cached) $ac_c" 1>&6
 
1730
else
 
1731
  case "$PATHTOXSLTPROC" in
 
1732
  /*)
 
1733
  ac_cv_path_PATHTOXSLTPROC="$PATHTOXSLTPROC" # Let the user override the test with a path.
 
1734
  ;;
 
1735
  ?:/*)                  
 
1736
  ac_cv_path_PATHTOXSLTPROC="$PATHTOXSLTPROC" # Let the user override the test with a dos path.
 
1737
  ;;
 
1738
  *)
 
1739
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1740
  ac_dummy="$PATH"
 
1741
  for ac_dir in $ac_dummy; do 
 
1742
    test -z "$ac_dir" && ac_dir=.
 
1743
    if test -f $ac_dir/$ac_word; then
 
1744
      ac_cv_path_PATHTOXSLTPROC="$ac_dir/$ac_word"
 
1745
      break
 
1746
    fi
 
1747
  done
 
1748
  IFS="$ac_save_ifs"
 
1749
  test -z "$ac_cv_path_PATHTOXSLTPROC" && ac_cv_path_PATHTOXSLTPROC="no"
 
1750
  ;;
 
1751
esac
 
1752
fi
 
1753
PATHTOXSLTPROC="$ac_cv_path_PATHTOXSLTPROC"
 
1754
if test -n "$PATHTOXSLTPROC"; then
 
1755
  echo "$ac_t""$PATHTOXSLTPROC" 1>&6
 
1756
else
 
1757
  echo "$ac_t""no" 1>&6
 
1758
fi
 
1759
 
 
1760
if test "x$PATHTOXSLTPROC" != "xno"
 
1761
then
 
1762
    echo $ac_n "checking xsltproc version >= 1.0.4""... $ac_c" 1>&6
 
1763
echo "configure:1764: checking xsltproc version >= 1.0.4" >&5
 
1764
            xsltproc_version=`$PATHTOXSLTPROC -V | $PATHTOPERL -ne 'if (/libxslt (\d+)/) { print $1, "\n"; exit 0 }'`
 
1765
    if test -n "$xsltproc_version" -a "$xsltproc_version" -ge 10004
 
1766
    then
 
1767
        echo "$ac_t""yes ($xsltproc_version)" 1>&6
 
1768
    else
 
1769
        echo "$ac_t""no ($xsltproc_version)" 1>&6
 
1770
        PATHTOXSLTPROC=no
 
1771
    fi
 
1772
fi
 
1773
 
 
1774
#
 
1775
# FIXME: There are some serious issues with
 
1776
# Xalan-C and Sablotron which prevent them from
 
1777
# being used with our XSL stylesheets
 
1778
# Besides xsltproc is 
 
1779
echo $ac_n "checking default xslt processor""... $ac_c" 1>&6
 
1780
echo "configure:1781: checking default xslt processor" >&5
 
1781
#if test "x$PATHTOXALANC" != "xno"
 
1782
#then
 
1783
#    DEFAULT_XSLT="xalan-c"
 
1784
#fi
 
1785
#if test "x$PATHTOSABLOTRON" != "xno"
 
1786
#then
 
1787
#    DEFAULT_XSLT="sablotron"
 
1788
#fi
 
1789
if test "x$PATHTOXSLTPROC" != "xno"
 
1790
then
 
1791
    DEFAULT_XSLT="xsltproc"
 
1792
fi
 
1793
echo "$ac_t""$DEFAULT_XSLT" 1>&6
 
1794
 
 
1795
 
 
1796
# Extract the first word of "lynx", so it can be a program name with args.
 
1797
set dummy lynx; ac_word=$2
 
1798
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1799
echo "configure:1800: checking for $ac_word" >&5
 
1800
if eval "test \"`echo '$''{'ac_cv_prog_HASLYNX'+set}'`\" = set"; then
 
1801
  echo $ac_n "(cached) $ac_c" 1>&6
 
1802
else
 
1803
  if test -n "$HASLYNX"; then
 
1804
  ac_cv_prog_HASLYNX="$HASLYNX" # Let the user override the test.
 
1805
else
 
1806
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1807
  ac_dummy="$PATH"
 
1808
  for ac_dir in $ac_dummy; do
 
1809
    test -z "$ac_dir" && ac_dir=.
 
1810
    if test -f $ac_dir/$ac_word; then
 
1811
      ac_cv_prog_HASLYNX="yes"
 
1812
      break
 
1813
    fi
 
1814
  done
 
1815
  IFS="$ac_save_ifs"
 
1816
  test -z "$ac_cv_prog_HASLYNX" && ac_cv_prog_HASLYNX="no"
 
1817
fi
 
1818
fi
 
1819
HASLYNX="$ac_cv_prog_HASLYNX"
 
1820
if test -n "$HASLYNX"; then
 
1821
  echo "$ac_t""$HASLYNX" 1>&6
 
1822
else
 
1823
  echo "$ac_t""no" 1>&6
 
1824
fi
 
1825
 
 
1826
if test "xyes" = "x$HASLYNX"
 
1827
then
 
1828
        # Extract the first word of "lynx", so it can be a program name with args.
 
1829
set dummy lynx; ac_word=$2
 
1830
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
1831
echo "configure:1832: checking for $ac_word" >&5
 
1832
if eval "test \"`echo '$''{'ac_cv_path_PATHTOLYNX'+set}'`\" = set"; then
 
1833
  echo $ac_n "(cached) $ac_c" 1>&6
 
1834
else
 
1835
  case "$PATHTOLYNX" in
 
1836
  /*)
 
1837
  ac_cv_path_PATHTOLYNX="$PATHTOLYNX" # Let the user override the test with a path.
 
1838
  ;;
 
1839
  ?:/*)                  
 
1840
  ac_cv_path_PATHTOLYNX="$PATHTOLYNX" # Let the user override the test with a dos path.
 
1841
  ;;
 
1842
  *)
 
1843
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1844
  ac_dummy="$PATH"
 
1845
  for ac_dir in $ac_dummy; do 
 
1846
    test -z "$ac_dir" && ac_dir=.
 
1847
    if test -f $ac_dir/$ac_word; then
 
1848
      ac_cv_path_PATHTOLYNX="$ac_dir/$ac_word"
 
1849
      break
 
1850
    fi
 
1851
  done
 
1852
  IFS="$ac_save_ifs"
 
1853
  test -z "$ac_cv_path_PATHTOLYNX" && ac_cv_path_PATHTOLYNX="no"
 
1854
  ;;
 
1855
esac
 
1856
fi
 
1857
PATHTOLYNX="$ac_cv_path_PATHTOLYNX"
 
1858
if test -n "$PATHTOLYNX"; then
 
1859
  echo "$ac_t""$PATHTOLYNX" 1>&6
 
1860
else
 
1861
  echo "$ac_t""no" 1>&6
 
1862
fi
 
1863
 
 
1864
fi
 
1865
 
 
1866
 
 
1867
# Check whether --with-sgmldir or --without-sgmldir was given.
 
1868
if test "${with_sgmldir+set}" = set; then
 
1869
  withval="$with_sgmldir"
 
1870
    if test -n "$withval"
 
1871
         then
 
1872
          SGMLDIR="$withval"
 
1873
         fi
 
1874
            
 
1875
fi
 
1876
 
 
1877
if test -z "$SGMLDIR"
 
1878
then
 
1879
    if test "x$prefix" = xNONE
 
1880
    then
 
1881
        # order these with prefered one at the end
 
1882
        try_dirs="/usr/lib/sgml /usr/share/sgml $ac_default_prefix/lib/sgml $ac_default_prefix/share/sgml /usr/local/lib/sgml /usr/local/share/sgml"
 
1883
    else
 
1884
        try_dirs="/usr/lib/sgml /usr/share/sgml $prefix/lib/sgml $prefix/share/sgml /usr/local/lib/sgml /usr/local/share/sgml"
 
1885
    fi
 
1886
 
 
1887
    echo $ac_n "checking for SGML directory layout""... $ac_c" 1>&6
 
1888
echo "configure:1889: checking for SGML directory layout" >&5
 
1889
    for d in $try_dirs
 
1890
    do
 
1891
        if test -d "$d"
 
1892
        then 
 
1893
            SGMLDIR="$d"
 
1894
        fi
 
1895
    done
 
1896
    if test "x$SGMLDIR" = "x"
 
1897
    then
 
1898
        echo "$ac_t""no" 1>&6
 
1899
    else
 
1900
        echo "$ac_t""$SGMLDIR" 1>&6
 
1901
    fi
 
1902
fi
 
1903
 
 
1904
 
 
1905
echo $ac_n "checking for DocBook XML DTD""... $ac_c" 1>&6
 
1906
echo "configure:1907: checking for DocBook XML DTD" >&5
 
1907
if test -z "$DBK_XML_DTD"
 
1908
then
 
1909
    for d in "$SGMLDIR" "$SGMLDIR/docbook" 
 
1910
    do
 
1911
        for f in "docbkx412" "xml/4.1.2" "xml-dtd-4.1.2"
 
1912
        do
 
1913
            if test -f "$d/dtd/$f/docbookx.dtd"
 
1914
            then
 
1915
                DBK_XML_DTD="$d/dtd/$f/docbookx.dtd"
 
1916
                echo "$ac_t""$DBK_XML_DTD" 1>&6
 
1917
            else
 
1918
                if test -f "$d/$f/docbookx.dtd"
 
1919
                then
 
1920
                    DBK_XML_DTD="$d/$f/docbookx.dtd"
 
1921
                    echo "$ac_t""$DBK_XML_DTD" 1>&6
 
1922
                fi
 
1923
            fi
 
1924
            test -n "$DBK_XML_DTD" && break
 
1925
        done
 
1926
        test -n "$DBK_XML_DTD" && break
 
1927
    done
 
1928
else
 
1929
    if test -f "$DBK_XML_DTD"
 
1930
    then
 
1931
        echo "$ac_t""$DBK_XML_DTD" 1>&6
 
1932
    else
 
1933
        DBK_XML_DTD=""
 
1934
    fi
 
1935
fi
 
1936
if test "x$DBK_XML_DTD" = "x"
 
1937
then
 
1938
    echo "$ac_t""no" 1>&6
 
1939
fi
 
1940
 
 
1941
 
 
1942
 
 
1943
echo $ac_n "checking for DocBook DSSSL stylesheets""... $ac_c" 1>&6
 
1944
echo "configure:1945: checking for DocBook DSSSL stylesheets" >&5
 
1945
if test -z "$DBK_DSSSL_STYLESHEETS"
 
1946
then
 
1947
    for p in "$SGMLDIR" "/usr/lib/sgml"
 
1948
    do
 
1949
        for d in stylesheet/dsssl/docbook/nwalsh stylesheet/dsssl/nwalsh stylesheet/nwalsh docbook/dsssl-stylesheets-1.59 docbook/stylesheet/dsssl/modular docbook/dsssl-stylesheets-1.64 
 
1950
        do
 
1951
            if test -f "$p/$d/print/docbook.dsl"
 
1952
            then
 
1953
                echo "$ac_t"""$p/$d"" 1>&6
 
1954
                PATHTODBKDSSSLPRINT="$p/$d/print/docbook.dsl"
 
1955
            fi
 
1956
            test -n "$PATHTODBKDSSSLPRINT" && break
 
1957
        done
 
1958
        test -n "$PATHTODBKDSSSLPRINT" && break
 
1959
    done
 
1960
else
 
1961
    if test -d "$DBK_DSSSL_STYLESHEETS"
 
1962
    then
 
1963
        echo "$ac_t""$DBK_DSSSL_STYLESHEETS" 1>&6
 
1964
        PATHTODBKDSSSLPRINT="$DBK_DSSSL_STYLESHEETS/print/docbook.dsl"
 
1965
    fi
 
1966
fi
 
1967
if test "x$PATHTODBKDSSSLPRINT" = "x"
 
1968
then
 
1969
    echo "$ac_t""no" 1>&6
 
1970
fi
 
1971
 
 
1972
 
 
1973
echo $ac_n "checking for DocBook XSL stylesheets""... $ac_c" 1>&6
 
1974
echo "configure:1975: checking for DocBook XSL stylesheets" >&5
 
1975
if test -z "$DBK_XSL_STYLESHEETS"
 
1976
then
 
1977
    for d in "stylesheet/xsl/docbook" "stylesheet/xsl" "stylesheet" "../../lib/sgml/stylesheet/xsl/docbook" "docbook/stylesheet/xsl"
 
1978
    do
 
1979
        if test -f "$SGMLDIR/$d/nwalsh/xhtml/docbook.xsl"
 
1980
        then
 
1981
            echo "$ac_t"""$SGMLDIR/$d/nwalsh"" 1>&6
 
1982
            PATHTODBKXSLXHTML="$SGMLDIR/$d/nwalsh/xhtml/chunk.xsl"
 
1983
            PATHTODBKXSLHTML="$SGMLDIR/$d/nwalsh/html/chunk.xsl"
 
1984
            PATHTODBKXSLHTMLNOCHUNK="$SGMLDIR/$d/nwalsh/html/docbook.xsl"
 
1985
            PATHTODBKXSLFO="$SGMLDIR/$d/nwalsh/fo/docbook.xsl"
 
1986
        fi
 
1987
        test -n "$PATHTODBKXSLXHTML" && break
 
1988
    done
 
1989
else
 
1990
    if test -d "$DBK_XSL_STYLESHEETS"
 
1991
    then
 
1992
        echo "$ac_t""$DBK_XSL_STYLESHEETS" 1>&6
 
1993
        PATHTODBKXSLXHTML="$DBK_XSL_STYLESHEETS/xhtml/chunk.xsl"
 
1994
        PATHTODBKXSLHTML="$DBK_XSL_STYLESHEETS/html/chunk.xsl"
 
1995
        PATHTODBKXSLHTMLNOCHUNK="$SGMLDIR/$d/nwalsh/html/docbook.xsl"
 
1996
        PATHTODBKXSLFO="$DBK_XSL_STYLESHEETS/fo/docbook.xsl"
 
1997
    fi
 
1998
fi
 
1999
if test "x$PATHTODBKXSLXHTML" = "x"
 
2000
then
 
2001
    echo "$ac_t""no" 1>&6
 
2002
fi
 
2003
 
 
2004
 
 
2005
 
 
2006
 
 
2007
 
 
2008
 
 
2009
# Extract the first word of "dia", so it can be a program name with args.
 
2010
set dummy dia; ac_word=$2
 
2011
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2012
echo "configure:2013: checking for $ac_word" >&5
 
2013
if eval "test \"`echo '$''{'ac_cv_prog_HASDIA'+set}'`\" = set"; then
 
2014
  echo $ac_n "(cached) $ac_c" 1>&6
 
2015
else
 
2016
  if test -n "$HASDIA"; then
 
2017
  ac_cv_prog_HASDIA="$HASDIA" # Let the user override the test.
 
2018
else
 
2019
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2020
  ac_dummy="$PATH"
 
2021
  for ac_dir in $ac_dummy; do
 
2022
    test -z "$ac_dir" && ac_dir=.
 
2023
    if test -f $ac_dir/$ac_word; then
 
2024
      ac_cv_prog_HASDIA="yes"
 
2025
      break
 
2026
    fi
 
2027
  done
 
2028
  IFS="$ac_save_ifs"
 
2029
  test -z "$ac_cv_prog_HASDIA" && ac_cv_prog_HASDIA="no"
 
2030
fi
 
2031
fi
 
2032
HASDIA="$ac_cv_prog_HASDIA"
 
2033
if test -n "$HASDIA"; then
 
2034
  echo "$ac_t""$HASDIA" 1>&6
 
2035
else
 
2036
  echo "$ac_t""no" 1>&6
 
2037
fi
 
2038
 
 
2039
if test "xyes" = "x$HASDIA"
 
2040
then
 
2041
        # Extract the first word of "dia", so it can be a program name with args.
 
2042
set dummy dia; ac_word=$2
 
2043
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2044
echo "configure:2045: checking for $ac_word" >&5
 
2045
if eval "test \"`echo '$''{'ac_cv_path_PATHTODIA'+set}'`\" = set"; then
 
2046
  echo $ac_n "(cached) $ac_c" 1>&6
 
2047
else
 
2048
  case "$PATHTODIA" in
 
2049
  /*)
 
2050
  ac_cv_path_PATHTODIA="$PATHTODIA" # Let the user override the test with a path.
 
2051
  ;;
 
2052
  ?:/*)                  
 
2053
  ac_cv_path_PATHTODIA="$PATHTODIA" # Let the user override the test with a dos path.
 
2054
  ;;
 
2055
  *)
 
2056
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2057
  ac_dummy="$PATH"
 
2058
  for ac_dir in $ac_dummy; do 
 
2059
    test -z "$ac_dir" && ac_dir=.
 
2060
    if test -f $ac_dir/$ac_word; then
 
2061
      ac_cv_path_PATHTODIA="$ac_dir/$ac_word"
 
2062
      break
 
2063
    fi
 
2064
  done
 
2065
  IFS="$ac_save_ifs"
 
2066
  test -z "$ac_cv_path_PATHTODIA" && ac_cv_path_PATHTODIA="no"
 
2067
  ;;
 
2068
esac
 
2069
fi
 
2070
PATHTODIA="$ac_cv_path_PATHTODIA"
 
2071
if test -n "$PATHTODIA"; then
 
2072
  echo "$ac_t""$PATHTODIA" 1>&6
 
2073
else
 
2074
  echo "$ac_t""no" 1>&6
 
2075
fi
 
2076
 
 
2077
fi
 
2078
 
 
2079
# Extract the first word of "epsffit", so it can be a program name with args.
 
2080
set dummy epsffit; ac_word=$2
 
2081
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2082
echo "configure:2083: checking for $ac_word" >&5
 
2083
if eval "test \"`echo '$''{'ac_cv_prog_HASEPSFFIT'+set}'`\" = set"; then
 
2084
  echo $ac_n "(cached) $ac_c" 1>&6
 
2085
else
 
2086
  if test -n "$HASEPSFFIT"; then
 
2087
  ac_cv_prog_HASEPSFFIT="$HASEPSFFIT" # Let the user override the test.
 
2088
else
 
2089
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2090
  ac_dummy="$PATH"
 
2091
  for ac_dir in $ac_dummy; do
 
2092
    test -z "$ac_dir" && ac_dir=.
 
2093
    if test -f $ac_dir/$ac_word; then
 
2094
      ac_cv_prog_HASEPSFFIT="yes"
 
2095
      break
 
2096
    fi
 
2097
  done
 
2098
  IFS="$ac_save_ifs"
 
2099
  test -z "$ac_cv_prog_HASEPSFFIT" && ac_cv_prog_HASEPSFFIT="no"
 
2100
fi
 
2101
fi
 
2102
HASEPSFFIT="$ac_cv_prog_HASEPSFFIT"
 
2103
if test -n "$HASEPSFFIT"; then
 
2104
  echo "$ac_t""$HASEPSFFIT" 1>&6
 
2105
else
 
2106
  echo "$ac_t""no" 1>&6
 
2107
fi
 
2108
 
 
2109
if test "xyes" = "x$HASEPSFFIT"
 
2110
then
 
2111
        # Extract the first word of "epsffit", so it can be a program name with args.
 
2112
set dummy epsffit; ac_word=$2
 
2113
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2114
echo "configure:2115: checking for $ac_word" >&5
 
2115
if eval "test \"`echo '$''{'ac_cv_path_PATHTOEPSFFIT'+set}'`\" = set"; then
 
2116
  echo $ac_n "(cached) $ac_c" 1>&6
 
2117
else
 
2118
  case "$PATHTOEPSFFIT" in
 
2119
  /*)
 
2120
  ac_cv_path_PATHTOEPSFFIT="$PATHTOEPSFFIT" # Let the user override the test with a path.
 
2121
  ;;
 
2122
  ?:/*)                  
 
2123
  ac_cv_path_PATHTOEPSFFIT="$PATHTOEPSFFIT" # Let the user override the test with a dos path.
 
2124
  ;;
 
2125
  *)
 
2126
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2127
  ac_dummy="$PATH"
 
2128
  for ac_dir in $ac_dummy; do 
 
2129
    test -z "$ac_dir" && ac_dir=.
 
2130
    if test -f $ac_dir/$ac_word; then
 
2131
      ac_cv_path_PATHTOEPSFFIT="$ac_dir/$ac_word"
 
2132
      break
 
2133
    fi
 
2134
  done
 
2135
  IFS="$ac_save_ifs"
 
2136
  test -z "$ac_cv_path_PATHTOEPSFFIT" && ac_cv_path_PATHTOEPSFFIT="no"
 
2137
  ;;
 
2138
esac
 
2139
fi
 
2140
PATHTOEPSFFIT="$ac_cv_path_PATHTOEPSFFIT"
 
2141
if test -n "$PATHTOEPSFFIT"; then
 
2142
  echo "$ac_t""$PATHTOEPSFFIT" 1>&6
 
2143
else
 
2144
  echo "$ac_t""no" 1>&6
 
2145
fi
 
2146
 
 
2147
fi
 
2148
 
 
2149
# Extract the first word of "epstopdf", so it can be a program name with args.
 
2150
set dummy epstopdf; ac_word=$2
 
2151
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2152
echo "configure:2153: checking for $ac_word" >&5
 
2153
if eval "test \"`echo '$''{'ac_cv_prog_HASEPSTOPDF'+set}'`\" = set"; then
 
2154
  echo $ac_n "(cached) $ac_c" 1>&6
 
2155
else
 
2156
  if test -n "$HASEPSTOPDF"; then
 
2157
  ac_cv_prog_HASEPSTOPDF="$HASEPSTOPDF" # Let the user override the test.
 
2158
else
 
2159
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2160
  ac_dummy="$PATH"
 
2161
  for ac_dir in $ac_dummy; do
 
2162
    test -z "$ac_dir" && ac_dir=.
 
2163
    if test -f $ac_dir/$ac_word; then
 
2164
      ac_cv_prog_HASEPSTOPDF="yes"
 
2165
      break
 
2166
    fi
 
2167
  done
 
2168
  IFS="$ac_save_ifs"
 
2169
  test -z "$ac_cv_prog_HASEPSTOPDF" && ac_cv_prog_HASEPSTOPDF="no"
 
2170
fi
 
2171
fi
 
2172
HASEPSTOPDF="$ac_cv_prog_HASEPSTOPDF"
 
2173
if test -n "$HASEPSTOPDF"; then
 
2174
  echo "$ac_t""$HASEPSTOPDF" 1>&6
 
2175
else
 
2176
  echo "$ac_t""no" 1>&6
 
2177
fi
 
2178
 
 
2179
if test "xyes" = "x$HASEPSTOPDF"
 
2180
then
 
2181
        # Extract the first word of "epstopdf", so it can be a program name with args.
 
2182
set dummy epstopdf; ac_word=$2
 
2183
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2184
echo "configure:2185: checking for $ac_word" >&5
 
2185
if eval "test \"`echo '$''{'ac_cv_path_PATHTOEPSTOPDF'+set}'`\" = set"; then
 
2186
  echo $ac_n "(cached) $ac_c" 1>&6
 
2187
else
 
2188
  case "$PATHTOEPSTOPDF" in
 
2189
  /*)
 
2190
  ac_cv_path_PATHTOEPSTOPDF="$PATHTOEPSTOPDF" # Let the user override the test with a path.
 
2191
  ;;
 
2192
  ?:/*)                  
 
2193
  ac_cv_path_PATHTOEPSTOPDF="$PATHTOEPSTOPDF" # Let the user override the test with a dos path.
 
2194
  ;;
 
2195
  *)
 
2196
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2197
  ac_dummy="$PATH"
 
2198
  for ac_dir in $ac_dummy; do 
 
2199
    test -z "$ac_dir" && ac_dir=.
 
2200
    if test -f $ac_dir/$ac_word; then
 
2201
      ac_cv_path_PATHTOEPSTOPDF="$ac_dir/$ac_word"
 
2202
      break
 
2203
    fi
 
2204
  done
 
2205
  IFS="$ac_save_ifs"
 
2206
  test -z "$ac_cv_path_PATHTOEPSTOPDF" && ac_cv_path_PATHTOEPSTOPDF="no"
 
2207
  ;;
 
2208
esac
 
2209
fi
 
2210
PATHTOEPSTOPDF="$ac_cv_path_PATHTOEPSTOPDF"
 
2211
if test -n "$PATHTOEPSTOPDF"; then
 
2212
  echo "$ac_t""$PATHTOEPSTOPDF" 1>&6
 
2213
else
 
2214
  echo "$ac_t""no" 1>&6
 
2215
fi
 
2216
 
 
2217
fi
 
2218
# Extract the first word of "convert", so it can be a program name with args.
 
2219
set dummy convert; ac_word=$2
 
2220
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2221
echo "configure:2222: checking for $ac_word" >&5
 
2222
if eval "test \"`echo '$''{'ac_cv_prog_HASCONVERT'+set}'`\" = set"; then
 
2223
  echo $ac_n "(cached) $ac_c" 1>&6
 
2224
else
 
2225
  if test -n "$HASCONVERT"; then
 
2226
  ac_cv_prog_HASCONVERT="$HASCONVERT" # Let the user override the test.
 
2227
else
 
2228
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2229
  ac_dummy="$PATH"
 
2230
  for ac_dir in $ac_dummy; do
 
2231
    test -z "$ac_dir" && ac_dir=.
 
2232
    if test -f $ac_dir/$ac_word; then
 
2233
      ac_cv_prog_HASCONVERT="yes"
 
2234
      break
 
2235
    fi
 
2236
  done
 
2237
  IFS="$ac_save_ifs"
 
2238
  test -z "$ac_cv_prog_HASCONVERT" && ac_cv_prog_HASCONVERT="no"
 
2239
fi
 
2240
fi
 
2241
HASCONVERT="$ac_cv_prog_HASCONVERT"
 
2242
if test -n "$HASCONVERT"; then
 
2243
  echo "$ac_t""$HASCONVERT" 1>&6
 
2244
else
 
2245
  echo "$ac_t""no" 1>&6
 
2246
fi
 
2247
 
 
2248
if test "xyes" = "x$HASCONVERT"
 
2249
then
 
2250
        # Extract the first word of "convert", so it can be a program name with args.
 
2251
set dummy convert; ac_word=$2
 
2252
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
2253
echo "configure:2254: checking for $ac_word" >&5
 
2254
if eval "test \"`echo '$''{'ac_cv_path_PATHTOCONVERT'+set}'`\" = set"; then
 
2255
  echo $ac_n "(cached) $ac_c" 1>&6
 
2256
else
 
2257
  case "$PATHTOCONVERT" in
 
2258
  /*)
 
2259
  ac_cv_path_PATHTOCONVERT="$PATHTOCONVERT" # Let the user override the test with a path.
 
2260
  ;;
 
2261
  ?:/*)                  
 
2262
  ac_cv_path_PATHTOCONVERT="$PATHTOCONVERT" # Let the user override the test with a dos path.
 
2263
  ;;
 
2264
  *)
 
2265
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
2266
  ac_dummy="$PATH"
 
2267
  for ac_dir in $ac_dummy; do 
 
2268
    test -z "$ac_dir" && ac_dir=.
 
2269
    if test -f $ac_dir/$ac_word; then
 
2270
      ac_cv_path_PATHTOCONVERT="$ac_dir/$ac_word"
 
2271
      break
 
2272
    fi
 
2273
  done
 
2274
  IFS="$ac_save_ifs"
 
2275
  test -z "$ac_cv_path_PATHTOCONVERT" && ac_cv_path_PATHTOCONVERT="no"
 
2276
  ;;
 
2277
esac
 
2278
fi
 
2279
PATHTOCONVERT="$ac_cv_path_PATHTOCONVERT"
 
2280
if test -n "$PATHTOCONVERT"; then
 
2281
  echo "$ac_t""$PATHTOCONVERT" 1>&6
 
2282
else
 
2283
  echo "$ac_t""no" 1>&6
 
2284
fi
 
2285
 
 
2286
fi
 
2287
 
 
2288
 
 
2289
 
 
2290
 
 
2291
 
 
2292
 
 
2293
 
 
2294
 
 
2295
trap '' 1 2 15
 
2296
cat > confcache <<\EOF
 
2297
# This file is a shell script that caches the results of configure
 
2298
# tests run on this system so they can be shared between configure
 
2299
# scripts and configure runs.  It is not useful on other systems.
 
2300
# If it contains results you don't want to keep, you may remove or edit it.
 
2301
#
 
2302
# By default, configure uses ./config.cache as the cache file,
 
2303
# creating it if it does not exist already.  You can give configure
 
2304
# the --cache-file=FILE option to use a different cache file; that is
 
2305
# what configure does when it calls configure scripts in
 
2306
# subdirectories, so they share the cache.
 
2307
# Giving --cache-file=/dev/null disables caching, for debugging configure.
 
2308
# config.status only pays attention to the cache file if you give it the
 
2309
# --recheck option to rerun configure.
 
2310
#
 
2311
EOF
 
2312
# The following way of writing the cache mishandles newlines in values,
 
2313
# but we know of no workaround that is simple, portable, and efficient.
 
2314
# So, don't put newlines in cache variables' values.
 
2315
# Ultrix sh set writes to stderr and can't be redirected directly,
 
2316
# and sets the high bit in the cache file unless we assign to the vars.
 
2317
(set) 2>&1 |
 
2318
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
2319
  *ac_space=\ *)
 
2320
    # `set' does not quote correctly, so add quotes (double-quote substitution
 
2321
    # turns \\\\ into \\, and sed turns \\ into \).
 
2322
    sed -n \
 
2323
      -e "s/'/'\\\\''/g" \
 
2324
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
 
2325
    ;;
 
2326
  *)
 
2327
    # `set' quotes correctly as required by POSIX, so do not add quotes.
 
2328
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
 
2329
    ;;
 
2330
  esac >> confcache
 
2331
if cmp -s $cache_file confcache; then
 
2332
  :
 
2333
else
 
2334
  if test -w $cache_file; then
 
2335
    echo "updating cache $cache_file"
 
2336
    cat confcache > $cache_file
 
2337
  else
 
2338
    echo "not updating unwritable cache $cache_file"
 
2339
  fi
 
2340
fi
 
2341
rm -f confcache
 
2342
 
 
2343
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
2344
 
 
2345
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
2346
# Let make expand exec_prefix.
 
2347
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
2348
 
 
2349
# Any assignment to VPATH causes Sun make to only execute
 
2350
# the first set of double-colon rules, so remove it if not needed.
 
2351
# If there is a colon in the path, we need to keep it.
 
2352
if test "x$srcdir" = x.; then
 
2353
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
 
2354
fi
 
2355
 
 
2356
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
 
2357
 
 
2358
# Transform confdefs.h into DEFS.
 
2359
# Protect against shell expansion while executing Makefile rules.
 
2360
# Protect against Makefile macro expansion.
 
2361
cat > conftest.defs <<\EOF
 
2362
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
 
2363
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
 
2364
s%\[%\\&%g
 
2365
s%\]%\\&%g
 
2366
s%\$%$$%g
 
2367
EOF
 
2368
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
 
2369
rm -f conftest.defs
 
2370
 
 
2371
 
 
2372
# Without the "./", some shells look in PATH for config.status.
 
2373
: ${CONFIG_STATUS=./config.status}
 
2374
 
 
2375
echo creating $CONFIG_STATUS
 
2376
rm -f $CONFIG_STATUS
 
2377
cat > $CONFIG_STATUS <<EOF
 
2378
#! /bin/sh
 
2379
# Generated automatically by configure.
 
2380
# Run this file to recreate the current configuration.
 
2381
# This directory was configured as follows,
 
2382
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
2383
#
 
2384
# $0 $ac_configure_args
 
2385
#
 
2386
# Compiler output produced by configure, useful for debugging
 
2387
# configure, is in ./config.log if it exists.
 
2388
 
 
2389
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
 
2390
for ac_option
 
2391
do
 
2392
  case "\$ac_option" in
 
2393
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
2394
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
 
2395
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
 
2396
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
 
2397
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
 
2398
    exit 0 ;;
 
2399
  -help | --help | --hel | --he | --h)
 
2400
    echo "\$ac_cs_usage"; exit 0 ;;
 
2401
  *) echo "\$ac_cs_usage"; exit 1 ;;
 
2402
  esac
 
2403
done
 
2404
 
 
2405
ac_given_srcdir=$srcdir
 
2406
ac_given_INSTALL="$INSTALL"
 
2407
 
 
2408
trap 'rm -fr `echo "
 
2409
   catalog
 
2410
   Makefile
 
2411
   all/Makefile
 
2412
   all/etc/Makefile
 
2413
   all/etc/catalog.xml
 
2414
   all/etc/defaults
 
2415
   all/etc/profile_lean
 
2416
   all/lib/Makefile
 
2417
   all/lib/Lire/Makefile
 
2418
   all/lib/Lire/AsciiDlf/Makefile
 
2419
   all/lib/Lire/Config.pm
 
2420
   all/lib/Lire/ReportParser/Makefile
 
2421
   all/lib/WWW/Makefile
 
2422
   all/lib/WWW/UserAgent/Makefile
 
2423
   all/lib/WWW/Domain/Makefile
 
2424
   all/lib/WWW/Filename/Makefile
 
2425
   all/lib/xml/Makefile
 
2426
   all/lib/xml/dtd/Makefile
 
2427
   all/lib/xml/stylesheet/Makefile
 
2428
   all/lib/xml/stylesheet/xsl/Makefile
 
2429
   all/lib/xml/stylesheet/xsl/config.xsl
 
2430
   all/man/Makefile
 
2431
   all/script/Makefile
 
2432
   all/script/lr_addresses2serviceflags
 
2433
   all/script/lr_anonimize
 
2434
   all/script/lr_anondump
 
2435
   all/script/lr_check_prereq
 
2436
   all/script/lr_config
 
2437
   all/script/lr_config.cgi
 
2438
   all/script/lr_cron
 
2439
   all/script/lr_db_fetch
 
2440
   all/script/lr_db_purge
 
2441
   all/script/lr_db_store
 
2442
   all/script/lr_deanonimize
 
2443
   all/script/lr_dlf_analyze
 
2444
   all/script/lr_dlf2xml
 
2445
   all/script/lr_getaddresses
 
2446
   all/script/lr_log2mail
 
2447
   all/script/lr_log2report
 
2448
   all/script/lr_log2xml
 
2449
   all/script/lr_prof_report
 
2450
   all/script/lr_rawmail2mail
 
2451
   all/script/lr_run
 
2452
   all/script/lr_run_tests
 
2453
   all/script/lr_smtpfield
 
2454
   all/script/lr_spool
 
2455
   all/script/lr_spoold
 
2456
   all/script/lr_tag
 
2457
   all/script/lr_xml2ascii
 
2458
   all/script/lr_xml2dbx
 
2459
   all/script/lr_xml2html
 
2460
   all/script/lr_xml2logml
 
2461
   all/script/lr_xml2rtf
 
2462
   all/script/lr_xml2pdf
 
2463
   all/script/lr_xml2png
 
2464
   all/script/lr_xml2xhtml
 
2465
   all/script/lr_xslt
 
2466
   database/Makefile
 
2467
   database/extensions/Makefile
 
2468
   database/filters/Makefile
 
2469
   database/script/Makefile
 
2470
   database/script/mysql2dlf
 
2471
   database/reports/Makefile
 
2472
   dns/Makefile
 
2473
   dns/filters/Makefile
 
2474
   dns/reports/Makefile
 
2475
   dns/script/Makefile
 
2476
   dns/script/bind8-query2dlf
 
2477
   dns/script/bind9-query2dlf
 
2478
   doc/Makefile
 
2479
   email/Makefile
 
2480
   email/extensions/Makefile
 
2481
   email/filters/Makefile
 
2482
   email/lib/Makefile
 
2483
   email/reports/Makefile
 
2484
   email/script/Makefile
 
2485
   email/script/postfix2dlf
 
2486
   email/script/qmail2dlf
 
2487
   email/script/sendmail2dlf
 
2488
   email/script/exim2dlf
 
2489
   email/script/nms2dlf
 
2490
   extras/Makefile
 
2491
   extras/expat/Makefile
 
2492
   extras/Time/Makefile
 
2493
   extras/XML-Parser/Makefile
 
2494
   firewall/Makefile
 
2495
   firewall/filters/Makefile
 
2496
   firewall/lib/Makefile
 
2497
   firewall/script/Makefile
 
2498
   firewall/script/acl_cisco_log2dlf
 
2499
   firewall/script/ipchains2dlf
 
2500
   firewall/script/ipmon2dlf
 
2501
   firewall/script/iptables2dlf
 
2502
   firewall/script/welf2dlf
 
2503
   firewall/reports/Makefile
 
2504
   ftp/Makefile
 
2505
   ftp/filters/Makefile
 
2506
   ftp/script/Makefile
 
2507
   ftp/script/xferlog2dlf
 
2508
   ftp/script/iis_ftp2dlf
 
2509
   ftp/reports/Makefile
 
2510
   print/Makefile
 
2511
   print/filters/Makefile
 
2512
   print/reports/Makefile
 
2513
   print/script/Makefile
 
2514
   print/script/cups_pagelog2dlf
 
2515
   print/script/lprng_account2dlf
 
2516
   proxy/Makefile
 
2517
   proxy/filters/Makefile
 
2518
   proxy/reports/Makefile
 
2519
   proxy/script/Makefile
 
2520
   proxy/script/ms_isa2dlf
 
2521
   proxy/script/squid2dlf
 
2522
   proxy/script/welf_proxy2dlf
 
2523
   www/Makefile
 
2524
   www/extensions/Makefile
 
2525
   www/filters/Makefile
 
2526
   www/lib/Makefile
 
2527
   www/reports/Makefile
 
2528
   www/script/Makefile
 
2529
   www/script/apache-access_log2dlf
 
2530
   www/script/combined2dlf
 
2531
   www/script/common2dlf
 
2532
   www/script/modgzip2dlf
 
2533
   www/script/referer2dlf
 
2534
   www/script/w3c_extended2dlf
 
2535
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 
2536
EOF
 
2537
cat >> $CONFIG_STATUS <<EOF
 
2538
 
 
2539
# Protect against being on the right side of a sed subst in config.status.
 
2540
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
 
2541
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
 
2542
$ac_vpsub
 
2543
$extrasub
 
2544
s%@SHELL@%$SHELL%g
 
2545
s%@CFLAGS@%$CFLAGS%g
 
2546
s%@CPPFLAGS@%$CPPFLAGS%g
 
2547
s%@CXXFLAGS@%$CXXFLAGS%g
 
2548
s%@FFLAGS@%$FFLAGS%g
 
2549
s%@DEFS@%$DEFS%g
 
2550
s%@LDFLAGS@%$LDFLAGS%g
 
2551
s%@LIBS@%$LIBS%g
 
2552
s%@exec_prefix@%$exec_prefix%g
 
2553
s%@prefix@%$prefix%g
 
2554
s%@program_transform_name@%$program_transform_name%g
 
2555
s%@bindir@%$bindir%g
 
2556
s%@sbindir@%$sbindir%g
 
2557
s%@libexecdir@%$libexecdir%g
 
2558
s%@datadir@%$datadir%g
 
2559
s%@sysconfdir@%$sysconfdir%g
 
2560
s%@sharedstatedir@%$sharedstatedir%g
 
2561
s%@localstatedir@%$localstatedir%g
 
2562
s%@libdir@%$libdir%g
 
2563
s%@includedir@%$includedir%g
 
2564
s%@oldincludedir@%$oldincludedir%g
 
2565
s%@infodir@%$infodir%g
 
2566
s%@mandir@%$mandir%g
 
2567
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 
2568
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
 
2569
s%@INSTALL_DATA@%$INSTALL_DATA%g
 
2570
s%@PACKAGE@%$PACKAGE%g
 
2571
s%@VERSION@%$VERSION%g
 
2572
s%@ACLOCAL@%$ACLOCAL%g
 
2573
s%@AUTOCONF@%$AUTOCONF%g
 
2574
s%@AUTOMAKE@%$AUTOMAKE%g
 
2575
s%@AUTOHEADER@%$AUTOHEADER%g
 
2576
s%@MAKEINFO@%$MAKEINFO%g
 
2577
s%@SET_MAKE@%$SET_MAKE%g
 
2578
s%@LR_PERL5LIBDIR@%$LR_PERL5LIBDIR%g
 
2579
s%@LR_PERL5ARCHLIBDIR@%$LR_PERL5ARCHLIBDIR%g
 
2580
s%@LR_SPOOLDIR@%$LR_SPOOLDIR%g
 
2581
s%@LR_ARCHIVEDIR@%$LR_ARCHIVEDIR%g
 
2582
s%@AWK@%$AWK%g
 
2583
s%@LN_S@%$LN_S%g
 
2584
s%@HASPERL@%$HASPERL%g
 
2585
s%@PATHTOPERL@%$PATHTOPERL%g
 
2586
s%@HASPOD2MAN@%$HASPOD2MAN%g
 
2587
s%@HASSENDMAIL@%$HASSENDMAIL%g
 
2588
s%@PATHTOSENDMAIL@%$PATHTOSENDMAIL%g
 
2589
s%@HASLOGGER@%$HASLOGGER%g
 
2590
s%@PATHTOLOGGER@%$PATHTOLOGGER%g
 
2591
s%@PATHTOTAR@%$PATHTOTAR%g
 
2592
s%@PATHTOGZIP@%$PATHTOGZIP%g
 
2593
s%@PATHTOZIP@%$PATHTOZIP%g
 
2594
s%@INSTALL_XML_PARSER@%$INSTALL_XML_PARSER%g
 
2595
s%@BUILD_XML_PARSER_TRUE@%$BUILD_XML_PARSER_TRUE%g
 
2596
s%@BUILD_XML_PARSER_FALSE@%$BUILD_XML_PARSER_FALSE%g
 
2597
s%@subdirs@%$subdirs%g
 
2598
s%@INSTALL_TIMEZONE_TRUE@%$INSTALL_TIMEZONE_TRUE%g
 
2599
s%@INSTALL_TIMEZONE_FALSE@%$INSTALL_TIMEZONE_FALSE%g
 
2600
s%@PATHTOJADE@%$PATHTOJADE%g
 
2601
s%@HASJADE@%$HASJADE%g
 
2602
s%@PATHTONSGMLS@%$PATHTONSGMLS%g
 
2603
s%@HASPDFJADETEX@%$HASPDFJADETEX%g
 
2604
s%@PATHTOPDFJADETEX@%$PATHTOPDFJADETEX%g
 
2605
s%@HASJAVA@%$HASJAVA%g
 
2606
s%@PATHTOJAVA@%$PATHTOJAVA%g
 
2607
s%@PATHTOXSLTPROC@%$PATHTOXSLTPROC%g
 
2608
s%@DEFAULT_XSLT@%$DEFAULT_XSLT%g
 
2609
s%@HASLYNX@%$HASLYNX%g
 
2610
s%@PATHTOLYNX@%$PATHTOLYNX%g
 
2611
s%@SGMLDIR@%$SGMLDIR%g
 
2612
s%@DBK_XML_DTD@%$DBK_XML_DTD%g
 
2613
s%@PATHTODBKDSSSLPRINT@%$PATHTODBKDSSSLPRINT%g
 
2614
s%@PATHTODBKXSLXHTML@%$PATHTODBKXSLXHTML%g
 
2615
s%@PATHTODBKXSLHTML@%$PATHTODBKXSLHTML%g
 
2616
s%@PATHTODBKXSLHTMLNOCHUNK@%$PATHTODBKXSLHTMLNOCHUNK%g
 
2617
s%@PATHTODBKXSLFO@%$PATHTODBKXSLFO%g
 
2618
s%@HASDIA@%$HASDIA%g
 
2619
s%@PATHTODIA@%$PATHTODIA%g
 
2620
s%@HASEPSFFIT@%$HASEPSFFIT%g
 
2621
s%@PATHTOEPSFFIT@%$PATHTOEPSFFIT%g
 
2622
s%@HASEPSTOPDF@%$HASEPSTOPDF%g
 
2623
s%@PATHTOEPSTOPDF@%$PATHTOEPSTOPDF%g
 
2624
s%@HASCONVERT@%$HASCONVERT%g
 
2625
s%@PATHTOCONVERT@%$PATHTOCONVERT%g
 
2626
 
 
2627
CEOF
 
2628
EOF
 
2629
 
 
2630
cat >> $CONFIG_STATUS <<\EOF
 
2631
 
 
2632
# Split the substitutions into bite-sized pieces for seds with
 
2633
# small command number limits, like on Digital OSF/1 and HP-UX.
 
2634
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
 
2635
ac_file=1 # Number of current file.
 
2636
ac_beg=1 # First line for current file.
 
2637
ac_end=$ac_max_sed_cmds # Line after last line for current file.
 
2638
ac_more_lines=:
 
2639
ac_sed_cmds=""
 
2640
while $ac_more_lines; do
 
2641
  if test $ac_beg -gt 1; then
 
2642
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
 
2643
  else
 
2644
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
 
2645
  fi
 
2646
  if test ! -s conftest.s$ac_file; then
 
2647
    ac_more_lines=false
 
2648
    rm -f conftest.s$ac_file
 
2649
  else
 
2650
    if test -z "$ac_sed_cmds"; then
 
2651
      ac_sed_cmds="sed -f conftest.s$ac_file"
 
2652
    else
 
2653
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
 
2654
    fi
 
2655
    ac_file=`expr $ac_file + 1`
 
2656
    ac_beg=$ac_end
 
2657
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
 
2658
  fi
 
2659
done
 
2660
if test -z "$ac_sed_cmds"; then
 
2661
  ac_sed_cmds=cat
 
2662
fi
 
2663
EOF
 
2664
 
 
2665
cat >> $CONFIG_STATUS <<EOF
 
2666
 
 
2667
CONFIG_FILES=\${CONFIG_FILES-"catalog
 
2668
   Makefile
 
2669
   all/Makefile
 
2670
   all/etc/Makefile
 
2671
   all/etc/catalog.xml
 
2672
   all/etc/defaults
 
2673
   all/etc/profile_lean
 
2674
   all/lib/Makefile
 
2675
   all/lib/Lire/Makefile
 
2676
   all/lib/Lire/AsciiDlf/Makefile
 
2677
   all/lib/Lire/Config.pm
 
2678
   all/lib/Lire/ReportParser/Makefile
 
2679
   all/lib/WWW/Makefile
 
2680
   all/lib/WWW/UserAgent/Makefile
 
2681
   all/lib/WWW/Domain/Makefile
 
2682
   all/lib/WWW/Filename/Makefile
 
2683
   all/lib/xml/Makefile
 
2684
   all/lib/xml/dtd/Makefile
 
2685
   all/lib/xml/stylesheet/Makefile
 
2686
   all/lib/xml/stylesheet/xsl/Makefile
 
2687
   all/lib/xml/stylesheet/xsl/config.xsl
 
2688
   all/man/Makefile
 
2689
   all/script/Makefile
 
2690
   all/script/lr_addresses2serviceflags
 
2691
   all/script/lr_anonimize
 
2692
   all/script/lr_anondump
 
2693
   all/script/lr_check_prereq
 
2694
   all/script/lr_config
 
2695
   all/script/lr_config.cgi
 
2696
   all/script/lr_cron
 
2697
   all/script/lr_db_fetch
 
2698
   all/script/lr_db_purge
 
2699
   all/script/lr_db_store
 
2700
   all/script/lr_deanonimize
 
2701
   all/script/lr_dlf_analyze
 
2702
   all/script/lr_dlf2xml
 
2703
   all/script/lr_getaddresses
 
2704
   all/script/lr_log2mail
 
2705
   all/script/lr_log2report
 
2706
   all/script/lr_log2xml
 
2707
   all/script/lr_prof_report
 
2708
   all/script/lr_rawmail2mail
 
2709
   all/script/lr_run
 
2710
   all/script/lr_run_tests
 
2711
   all/script/lr_smtpfield
 
2712
   all/script/lr_spool
 
2713
   all/script/lr_spoold
 
2714
   all/script/lr_tag
 
2715
   all/script/lr_xml2ascii
 
2716
   all/script/lr_xml2dbx
 
2717
   all/script/lr_xml2html
 
2718
   all/script/lr_xml2logml
 
2719
   all/script/lr_xml2rtf
 
2720
   all/script/lr_xml2pdf
 
2721
   all/script/lr_xml2png
 
2722
   all/script/lr_xml2xhtml
 
2723
   all/script/lr_xslt
 
2724
   database/Makefile
 
2725
   database/extensions/Makefile
 
2726
   database/filters/Makefile
 
2727
   database/script/Makefile
 
2728
   database/script/mysql2dlf
 
2729
   database/reports/Makefile
 
2730
   dns/Makefile
 
2731
   dns/filters/Makefile
 
2732
   dns/reports/Makefile
 
2733
   dns/script/Makefile
 
2734
   dns/script/bind8-query2dlf
 
2735
   dns/script/bind9-query2dlf
 
2736
   doc/Makefile
 
2737
   email/Makefile
 
2738
   email/extensions/Makefile
 
2739
   email/filters/Makefile
 
2740
   email/lib/Makefile
 
2741
   email/reports/Makefile
 
2742
   email/script/Makefile
 
2743
   email/script/postfix2dlf
 
2744
   email/script/qmail2dlf
 
2745
   email/script/sendmail2dlf
 
2746
   email/script/exim2dlf
 
2747
   email/script/nms2dlf
 
2748
   extras/Makefile
 
2749
   extras/expat/Makefile
 
2750
   extras/Time/Makefile
 
2751
   extras/XML-Parser/Makefile
 
2752
   firewall/Makefile
 
2753
   firewall/filters/Makefile
 
2754
   firewall/lib/Makefile
 
2755
   firewall/script/Makefile
 
2756
   firewall/script/acl_cisco_log2dlf
 
2757
   firewall/script/ipchains2dlf
 
2758
   firewall/script/ipmon2dlf
 
2759
   firewall/script/iptables2dlf
 
2760
   firewall/script/welf2dlf
 
2761
   firewall/reports/Makefile
 
2762
   ftp/Makefile
 
2763
   ftp/filters/Makefile
 
2764
   ftp/script/Makefile
 
2765
   ftp/script/xferlog2dlf
 
2766
   ftp/script/iis_ftp2dlf
 
2767
   ftp/reports/Makefile
 
2768
   print/Makefile
 
2769
   print/filters/Makefile
 
2770
   print/reports/Makefile
 
2771
   print/script/Makefile
 
2772
   print/script/cups_pagelog2dlf
 
2773
   print/script/lprng_account2dlf
 
2774
   proxy/Makefile
 
2775
   proxy/filters/Makefile
 
2776
   proxy/reports/Makefile
 
2777
   proxy/script/Makefile
 
2778
   proxy/script/ms_isa2dlf
 
2779
   proxy/script/squid2dlf
 
2780
   proxy/script/welf_proxy2dlf
 
2781
   www/Makefile
 
2782
   www/extensions/Makefile
 
2783
   www/filters/Makefile
 
2784
   www/lib/Makefile
 
2785
   www/reports/Makefile
 
2786
   www/script/Makefile
 
2787
   www/script/apache-access_log2dlf
 
2788
   www/script/combined2dlf
 
2789
   www/script/common2dlf
 
2790
   www/script/modgzip2dlf
 
2791
   www/script/referer2dlf
 
2792
   www/script/w3c_extended2dlf
 
2793
"}
 
2794
EOF
 
2795
cat >> $CONFIG_STATUS <<\EOF
 
2796
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
 
2797
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
2798
  case "$ac_file" in
 
2799
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
 
2800
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
2801
  *) ac_file_in="${ac_file}.in" ;;
 
2802
  esac
 
2803
 
 
2804
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
 
2805
 
 
2806
  # Remove last slash and all that follows it.  Not all systems have dirname.
 
2807
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
 
2808
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
 
2809
    # The file is in a subdirectory.
 
2810
    test ! -d "$ac_dir" && mkdir "$ac_dir"
 
2811
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
 
2812
    # A "../" for each directory in $ac_dir_suffix.
 
2813
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
 
2814
  else
 
2815
    ac_dir_suffix= ac_dots=
 
2816
  fi
 
2817
 
 
2818
  case "$ac_given_srcdir" in
 
2819
  .)  srcdir=.
 
2820
      if test -z "$ac_dots"; then top_srcdir=.
 
2821
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
 
2822
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
 
2823
  *) # Relative path.
 
2824
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
 
2825
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
2826
  esac
 
2827
 
 
2828
  case "$ac_given_INSTALL" in
 
2829
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
 
2830
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
 
2831
  esac
 
2832
 
 
2833
  echo creating "$ac_file"
 
2834
  rm -f "$ac_file"
 
2835
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
 
2836
  case "$ac_file" in
 
2837
  *Makefile*) ac_comsub="1i\\
 
2838
# $configure_input" ;;
 
2839
  *) ac_comsub= ;;
 
2840
  esac
 
2841
 
 
2842
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
 
2843
  sed -e "$ac_comsub
 
2844
s%@configure_input@%$configure_input%g
 
2845
s%@srcdir@%$srcdir%g
 
2846
s%@top_srcdir@%$top_srcdir%g
 
2847
s%@INSTALL@%$INSTALL%g
 
2848
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
 
2849
fi; done
 
2850
rm -f conftest.s*
 
2851
 
 
2852
EOF
 
2853
cat >> $CONFIG_STATUS <<EOF
 
2854
 
 
2855
EOF
 
2856
cat >> $CONFIG_STATUS <<\EOF
 
2857
 
 
2858
exit 0
 
2859
EOF
 
2860
chmod +x $CONFIG_STATUS
 
2861
rm -fr confdefs* $ac_clean_files
 
2862
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 
2863
 
 
2864
if test "$no_recursion" != yes; then
 
2865
 
 
2866
  # Remove --cache-file and --srcdir arguments so they do not pile up.
 
2867
  ac_sub_configure_args=
 
2868
  ac_prev=
 
2869
  for ac_arg in $ac_configure_args; do
 
2870
    if test -n "$ac_prev"; then
 
2871
      ac_prev=
 
2872
      continue
 
2873
    fi
 
2874
    case "$ac_arg" in
 
2875
    -cache-file | --cache-file | --cache-fil | --cache-fi \
 
2876
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
2877
      ac_prev=cache_file ;;
 
2878
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
2879
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
2880
      ;;
 
2881
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
2882
      ac_prev=srcdir ;;
 
2883
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
2884
      ;;
 
2885
    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
 
2886
    esac
 
2887
  done
 
2888
 
 
2889
  for ac_config_dir in extras/expat; do
 
2890
 
 
2891
    # Do not complain, so a configure script can configure whichever
 
2892
    # parts of a large source tree are present.
 
2893
    if test ! -d $srcdir/$ac_config_dir; then
 
2894
      continue
 
2895
    fi
 
2896
 
 
2897
    echo configuring in $ac_config_dir
 
2898
 
 
2899
    case "$srcdir" in
 
2900
    .) ;;
 
2901
    *)
 
2902
      if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
 
2903
      else
 
2904
        { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
 
2905
      fi
 
2906
      ;;
 
2907
    esac
 
2908
 
 
2909
    ac_popdir=`pwd`
 
2910
    cd $ac_config_dir
 
2911
 
 
2912
      # A "../" for each directory in /$ac_config_dir.
 
2913
      ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
 
2914
 
 
2915
    case "$srcdir" in
 
2916
    .) # No --srcdir option.  We are building in place.
 
2917
      ac_sub_srcdir=$srcdir ;;
 
2918
    /*) # Absolute path.
 
2919
      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
 
2920
    *) # Relative path.
 
2921
      ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
 
2922
    esac
 
2923
 
 
2924
    # Check for guested configure; otherwise get Cygnus style configure.
 
2925
    if test -f $ac_sub_srcdir/configure; then
 
2926
      ac_sub_configure=$ac_sub_srcdir/configure
 
2927
    elif test -f $ac_sub_srcdir/configure.in; then
 
2928
      ac_sub_configure=$ac_configure
 
2929
    else
 
2930
      echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
 
2931
      ac_sub_configure=
 
2932
    fi
 
2933
 
 
2934
    # The recursion is here.
 
2935
    if test -n "$ac_sub_configure"; then
 
2936
 
 
2937
      # Make the cache file name correct relative to the subdirectory.
 
2938
      case "$cache_file" in
 
2939
      /*) ac_sub_cache_file=$cache_file ;;
 
2940
      *) # Relative path.
 
2941
        ac_sub_cache_file="$ac_dots$cache_file" ;;
 
2942
      esac
 
2943
  case "$ac_given_INSTALL" in
 
2944
        [/$]*) INSTALL="$ac_given_INSTALL" ;;
 
2945
        *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
 
2946
        esac
 
2947
 
 
2948
      echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
 
2949
      # The eval makes quoting arguments work.
 
2950
      if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
 
2951
      then :
 
2952
      else
 
2953
        { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
 
2954
      fi
 
2955
    fi
 
2956
 
 
2957
    cd $ac_popdir
 
2958
  done
 
2959
fi
 
2960
 
 
2961