~ubuntu-branches/ubuntu/wily/steam/wily

« back to all changes in this revision

Viewing changes to sources/configure

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-10-29 19:51:18 UTC
  • mfrom: (1.1.4) (0.1.4 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131029195118-b9bxciz5hwx5z459
Tags: 1:1.0.0.39-2ubuntu1
Add an epoch to the version number as there was an unrelated steam package
in the archive with a higher version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.60a.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
 
# This configure script is free software; the Free Software Foundation
8
 
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
12
 
 
13
 
# Be Bourne compatible
14
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
 
  emulate sh
16
 
  NULLCMD=:
17
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
 
  # is contrary to our usage.  Disable this feature.
19
 
  alias -g '${1+"$@"}'='"$@"'
20
 
  setopt NO_GLOB_SUBST
21
 
else
22
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
 
fi
24
 
BIN_SH=xpg4; export BIN_SH # for Tru64
25
 
DUALCASE=1; export DUALCASE # for MKS sh
26
 
 
27
 
 
28
 
# PATH needs CR
29
 
# Avoid depending upon Character Ranges.
30
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33
 
as_cr_digits='0123456789'
34
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
35
 
 
36
 
# The user is always right.
37
 
if test "${PATH_SEPARATOR+set}" != set; then
38
 
  echo "#! /bin/sh" >conf$$.sh
39
 
  echo  "exit 0"   >>conf$$.sh
40
 
  chmod +x conf$$.sh
41
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42
 
    PATH_SEPARATOR=';'
43
 
  else
44
 
    PATH_SEPARATOR=:
45
 
  fi
46
 
  rm -f conf$$.sh
47
 
fi
48
 
 
49
 
# Support unset when possible.
50
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51
 
  as_unset=unset
52
 
else
53
 
  as_unset=false
54
 
fi
55
 
 
56
 
 
57
 
# IFS
58
 
# We need space, tab and new line, in precisely that order.  Quoting is
59
 
# there to prevent editors from complaining about space-tab.
60
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61
 
# splitting by setting IFS to empty value.)
62
 
as_nl='
63
 
'
64
 
IFS=" ""        $as_nl"
65
 
 
66
 
# Find who we are.  Look in the path if we contain no directory separator.
67
 
case $0 in
68
 
  *[\\/]* ) as_myself=$0 ;;
69
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70
 
for as_dir in $PATH
71
 
do
72
 
  IFS=$as_save_IFS
73
 
  test -z "$as_dir" && as_dir=.
74
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75
 
done
76
 
IFS=$as_save_IFS
77
 
 
78
 
     ;;
79
 
esac
80
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
81
 
# in which case we are not to be found in the path.
82
 
if test "x$as_myself" = x; then
83
 
  as_myself=$0
84
 
fi
85
 
if test ! -f "$as_myself"; then
86
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87
 
  { (exit 1); exit 1; }
88
 
fi
89
 
 
90
 
# Work around bugs in pre-3.0 UWIN ksh.
91
 
for as_var in ENV MAIL MAILPATH
92
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93
 
done
94
 
PS1='$ '
95
 
PS2='> '
96
 
PS4='+ '
97
 
 
98
 
# NLS nuisances.
99
 
for as_var in \
100
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102
 
  LC_TELEPHONE LC_TIME
103
 
do
104
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105
 
    eval $as_var=C; export $as_var
106
 
  else
107
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
108
 
  fi
109
 
done
110
 
 
111
 
# Required to use basename.
112
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
113
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
114
 
  as_expr=expr
115
 
else
116
 
  as_expr=false
117
 
fi
118
 
 
119
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120
 
  as_basename=basename
121
 
else
122
 
  as_basename=false
123
 
fi
124
 
 
125
 
 
126
 
# Name of the executable.
127
 
as_me=`$as_basename -- "$0" ||
128
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129
 
         X"$0" : 'X\(//\)$' \| \
130
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131
 
echo X/"$0" |
132
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
133
 
            s//\1/
134
 
            q
135
 
          }
136
 
          /^X\/\(\/\/\)$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\).*/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          s/.*/./; q'`
145
 
 
146
 
# CDPATH.
147
 
$as_unset CDPATH
148
 
 
149
 
 
150
 
if test "x$CONFIG_SHELL" = x; then
151
 
  if (eval ":") 2>/dev/null; then
152
 
  as_have_required=yes
153
 
else
154
 
  as_have_required=no
155
 
fi
156
 
 
157
 
  if test $as_have_required = yes &&     (eval ":
158
 
(as_func_return () {
159
 
  (exit \$1)
160
 
}
161
 
as_func_success () {
162
 
  as_func_return 0
163
 
}
164
 
as_func_failure () {
165
 
  as_func_return 1
166
 
}
167
 
as_func_ret_success () {
168
 
  return 0
169
 
}
170
 
as_func_ret_failure () {
171
 
  return 1
172
 
}
173
 
 
174
 
exitcode=0
175
 
if as_func_success; then
176
 
  :
177
 
else
178
 
  exitcode=1
179
 
  echo as_func_success failed.
180
 
fi
181
 
 
182
 
if as_func_failure; then
183
 
  exitcode=1
184
 
  echo as_func_failure succeeded.
185
 
fi
186
 
 
187
 
if as_func_ret_success; then
188
 
  :
189
 
else
190
 
  exitcode=1
191
 
  echo as_func_ret_success failed.
192
 
fi
193
 
 
194
 
if as_func_ret_failure; then
195
 
  exitcode=1
196
 
  echo as_func_ret_failure succeeded.
197
 
fi
198
 
 
199
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
200
 
  :
201
 
else
202
 
  exitcode=1
203
 
  echo positional parameters were not saved.
204
 
fi
205
 
 
206
 
test \$exitcode = 0) || { (exit 1); exit 1; }
207
 
 
208
 
(
209
 
  as_lineno_1=\$LINENO
210
 
  as_lineno_2=\$LINENO
211
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213
 
") 2> /dev/null; then
214
 
  :
215
 
else
216
 
  as_candidate_shells=
217
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218
 
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219
 
do
220
 
  IFS=$as_save_IFS
221
 
  test -z "$as_dir" && as_dir=.
222
 
  case $as_dir in
223
 
         /*)
224
 
           for as_base in sh bash ksh sh5; do
225
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226
 
           done;;
227
 
       esac
228
 
done
229
 
IFS=$as_save_IFS
230
 
 
231
 
 
232
 
      for as_shell in $as_candidate_shells $SHELL; do
233
 
         # Try only shells that exist, to save several forks.
234
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
236
 
# Be Bourne compatible
237
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238
 
  emulate sh
239
 
  NULLCMD=:
240
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241
 
  # is contrary to our usage.  Disable this feature.
242
 
  alias -g '${1+"$@"}'='"$@"'
243
 
  setopt NO_GLOB_SUBST
244
 
else
245
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
246
 
fi
247
 
BIN_SH=xpg4; export BIN_SH # for Tru64
248
 
DUALCASE=1; export DUALCASE # for MKS sh
249
 
 
250
 
:
251
 
_ASEOF
252
 
}; then
253
 
  CONFIG_SHELL=$as_shell
254
 
               as_have_required=yes
255
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
256
 
# Be Bourne compatible
257
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258
 
  emulate sh
259
 
  NULLCMD=:
260
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261
 
  # is contrary to our usage.  Disable this feature.
262
 
  alias -g '${1+"$@"}'='"$@"'
263
 
  setopt NO_GLOB_SUBST
264
 
else
265
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
266
 
fi
267
 
BIN_SH=xpg4; export BIN_SH # for Tru64
268
 
DUALCASE=1; export DUALCASE # for MKS sh
269
 
 
270
 
:
271
 
(as_func_return () {
272
 
  (exit $1)
273
 
}
274
 
as_func_success () {
275
 
  as_func_return 0
276
 
}
277
 
as_func_failure () {
278
 
  as_func_return 1
279
 
}
280
 
as_func_ret_success () {
281
 
  return 0
282
 
}
283
 
as_func_ret_failure () {
284
 
  return 1
285
 
}
286
 
 
287
 
exitcode=0
288
 
if as_func_success; then
289
 
  :
290
 
else
291
 
  exitcode=1
292
 
  echo as_func_success failed.
293
 
fi
294
 
 
295
 
if as_func_failure; then
296
 
  exitcode=1
297
 
  echo as_func_failure succeeded.
298
 
fi
299
 
 
300
 
if as_func_ret_success; then
301
 
  :
302
 
else
303
 
  exitcode=1
304
 
  echo as_func_ret_success failed.
305
 
fi
306
 
 
307
 
if as_func_ret_failure; then
308
 
  exitcode=1
309
 
  echo as_func_ret_failure succeeded.
310
 
fi
311
 
 
312
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
313
 
  :
314
 
else
315
 
  exitcode=1
316
 
  echo positional parameters were not saved.
317
 
fi
318
 
 
319
 
test $exitcode = 0) || { (exit 1); exit 1; }
320
 
 
321
 
(
322
 
  as_lineno_1=$LINENO
323
 
  as_lineno_2=$LINENO
324
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
325
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
326
 
 
327
 
_ASEOF
328
 
}; then
329
 
  break
330
 
fi
331
 
 
332
 
fi
333
 
 
334
 
      done
335
 
 
336
 
      if test "x$CONFIG_SHELL" != x; then
337
 
  for as_var in BASH_ENV ENV
338
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339
 
        done
340
 
        export CONFIG_SHELL
341
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342
 
fi
343
 
 
344
 
 
345
 
    if test $as_have_required = no; then
346
 
  echo This script requires a shell more modern than all the
347
 
      echo shells that I found on your system.  Please install a
348
 
      echo modern shell, or manually run the script under such a
349
 
      echo shell if you do have one.
350
 
      { (exit 1); exit 1; }
351
 
fi
352
 
 
353
 
 
354
 
fi
355
 
 
356
 
fi
357
 
 
358
 
 
359
 
 
360
 
(eval "as_func_return () {
361
 
  (exit \$1)
362
 
}
363
 
as_func_success () {
364
 
  as_func_return 0
365
 
}
366
 
as_func_failure () {
367
 
  as_func_return 1
368
 
}
369
 
as_func_ret_success () {
370
 
  return 0
371
 
}
372
 
as_func_ret_failure () {
373
 
  return 1
374
 
}
375
 
 
376
 
exitcode=0
377
 
if as_func_success; then
378
 
  :
379
 
else
380
 
  exitcode=1
381
 
  echo as_func_success failed.
382
 
fi
383
 
 
384
 
if as_func_failure; then
385
 
  exitcode=1
386
 
  echo as_func_failure succeeded.
387
 
fi
388
 
 
389
 
if as_func_ret_success; then
390
 
  :
391
 
else
392
 
  exitcode=1
393
 
  echo as_func_ret_success failed.
394
 
fi
395
 
 
396
 
if as_func_ret_failure; then
397
 
  exitcode=1
398
 
  echo as_func_ret_failure succeeded.
399
 
fi
400
 
 
401
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
402
 
  :
403
 
else
404
 
  exitcode=1
405
 
  echo positional parameters were not saved.
406
 
fi
407
 
 
408
 
test \$exitcode = 0") || {
409
 
  echo No shell found that supports shell functions.
410
 
  echo Please tell autoconf@gnu.org about your system,
411
 
  echo including any error possibly output before this
412
 
  echo message
413
 
}
414
 
 
415
 
 
416
 
 
417
 
  as_lineno_1=$LINENO
418
 
  as_lineno_2=$LINENO
419
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
420
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
421
 
 
422
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
424
 
  # line-number line after each line using $LINENO; the second 'sed'
425
 
  # does the real work.  The second script uses 'N' to pair each
426
 
  # line-number line with the line containing $LINENO, and appends
427
 
  # trailing '-' during substitution so that $LINENO is not a special
428
 
  # case at line end.
429
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
431
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
432
 
  sed -n '
433
 
    p
434
 
    /[$]LINENO/=
435
 
  ' <$as_myself |
436
 
    sed '
437
 
      s/[$]LINENO.*/&-/
438
 
      t lineno
439
 
      b
440
 
      :lineno
441
 
      N
442
 
      :loop
443
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
 
      t loop
445
 
      s/-\n.*//
446
 
    ' >$as_me.lineno &&
447
 
  chmod +x "$as_me.lineno" ||
448
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449
 
   { (exit 1); exit 1; }; }
450
 
 
451
 
  # Don't try to exec as it changes $[0], causing all sort of problems
452
 
  # (the dirname of $[0] is not the place where we might find the
453
 
  # original and so on.  Autoconf is especially sensitive to this).
454
 
  . "./$as_me.lineno"
455
 
  # Exit status is that of the last command.
456
 
  exit
457
 
}
458
 
 
459
 
 
460
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461
 
  as_dirname=dirname
462
 
else
463
 
  as_dirname=false
464
 
fi
465
 
 
466
 
ECHO_C= ECHO_N= ECHO_T=
467
 
case `echo -n x` in
468
 
-n*)
469
 
  case `echo 'x\c'` in
470
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
471
 
  *)   ECHO_C='\c';;
472
 
  esac;;
473
 
*)
474
 
  ECHO_N='-n';;
475
 
esac
476
 
 
477
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
479
 
  as_expr=expr
480
 
else
481
 
  as_expr=false
482
 
fi
483
 
 
484
 
rm -f conf$$ conf$$.exe conf$$.file
485
 
if test -d conf$$.dir; then
486
 
  rm -f conf$$.dir/conf$$.file
487
 
else
488
 
  rm -f conf$$.dir
489
 
  mkdir conf$$.dir
490
 
fi
491
 
echo >conf$$.file
492
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
493
 
  as_ln_s='ln -s'
494
 
  # ... but there are two gotchas:
495
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
 
  # In both cases, we have to default to `cp -p'.
498
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
 
    as_ln_s='cp -p'
500
 
elif ln conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s=ln
502
 
else
503
 
  as_ln_s='cp -p'
504
 
fi
505
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
 
rmdir conf$$.dir 2>/dev/null
507
 
 
508
 
if mkdir -p . 2>/dev/null; then
509
 
  as_mkdir_p=:
510
 
else
511
 
  test -d ./-p && rmdir ./-p
512
 
  as_mkdir_p=false
513
 
fi
514
 
 
515
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
516
 
# systems may use methods other than mode bits to determine executability.
517
 
cat >conf$$.file <<_ASEOF
518
 
#! /bin/sh
519
 
exit 0
520
 
_ASEOF
521
 
chmod +x conf$$.file
522
 
if test -x conf$$.file >/dev/null 2>&1; then
523
 
  as_executable_p="test -x"
524
 
else
525
 
  as_executable_p=:
526
 
fi
527
 
rm -f conf$$.file
528
 
 
529
 
# Sed expression to map a string onto a valid CPP name.
530
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
 
 
532
 
# Sed expression to map a string onto a valid variable name.
533
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
 
 
535
 
 
536
 
 
537
 
exec 7<&0 </dev/null 6>&1
538
 
 
539
 
# Name of the host.
540
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541
 
# so uname gets run too.
542
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
 
 
544
 
#
545
 
# Initializations.
546
 
#
547
 
ac_default_prefix=/usr/local
548
 
ac_clean_files=
549
 
ac_config_libobj_dir=.
550
 
LIBOBJS=
551
 
cross_compiling=no
552
 
subdirs=
553
 
MFLAGS=
554
 
MAKEFLAGS=
555
 
SHELL=${CONFIG_SHELL-/bin/sh}
556
 
 
557
 
# Identity of this package.
558
 
PACKAGE_NAME=
559
 
PACKAGE_TARNAME=
560
 
PACKAGE_VERSION=
561
 
PACKAGE_STRING=
562
 
PACKAGE_BUGREPORT=
563
 
 
564
 
ac_unique_file="Makefile.in"
565
 
# Factoring default headers for most tests.
566
 
ac_includes_default="\
567
 
#include <stdio.h>
568
 
#ifdef HAVE_SYS_TYPES_H
569
 
# include <sys/types.h>
570
 
#endif
571
 
#ifdef HAVE_SYS_STAT_H
572
 
# include <sys/stat.h>
573
 
#endif
574
 
#ifdef STDC_HEADERS
575
 
# include <stdlib.h>
576
 
# include <stddef.h>
577
 
#else
578
 
# ifdef HAVE_STDLIB_H
579
 
#  include <stdlib.h>
580
 
# endif
581
 
#endif
582
 
#ifdef HAVE_STRING_H
583
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584
 
#  include <memory.h>
585
 
# endif
586
 
# include <string.h>
587
 
#endif
588
 
#ifdef HAVE_STRINGS_H
589
 
# include <strings.h>
590
 
#endif
591
 
#ifdef HAVE_INTTYPES_H
592
 
# include <inttypes.h>
593
 
#endif
594
 
#ifdef HAVE_STDINT_H
595
 
# include <stdint.h>
596
 
#endif
597
 
#ifdef HAVE_UNISTD_H
598
 
# include <unistd.h>
599
 
#endif"
600
 
 
601
 
ac_subst_vars='SHELL
602
 
PATH_SEPARATOR
603
 
PACKAGE_NAME
604
 
PACKAGE_TARNAME
605
 
PACKAGE_VERSION
606
 
PACKAGE_STRING
607
 
PACKAGE_BUGREPORT
608
 
exec_prefix
609
 
prefix
610
 
program_transform_name
611
 
bindir
612
 
sbindir
613
 
libexecdir
614
 
datarootdir
615
 
datadir
616
 
sysconfdir
617
 
sharedstatedir
618
 
localstatedir
619
 
includedir
620
 
oldincludedir
621
 
docdir
622
 
infodir
623
 
htmldir
624
 
dvidir
625
 
pdfdir
626
 
psdir
627
 
libdir
628
 
localedir
629
 
mandir
630
 
DEFS
631
 
ECHO_C
632
 
ECHO_N
633
 
ECHO_T
634
 
LIBS
635
 
build_alias
636
 
host_alias
637
 
target_alias
638
 
XML2_CONFIG
639
 
CC
640
 
CFLAGS
641
 
LDFLAGS
642
 
CPPFLAGS
643
 
ac_ct_CC
644
 
EXEEXT
645
 
OBJEXT
646
 
XML_CFLAGS
647
 
XML_LIBS
648
 
CPP
649
 
GREP
650
 
EGREP
651
 
LIBXSL_INCLUDE
652
 
LIBDIR
653
 
steam_sys_os
654
 
LDSHARED
655
 
DIRS
656
 
SET_MAKE
657
 
subdirs
658
 
LIBOBJS
659
 
LTLIBOBJS'
660
 
ac_subst_files=''
661
 
      ac_precious_vars='build_alias
662
 
host_alias
663
 
target_alias
664
 
CC
665
 
CFLAGS
666
 
LDFLAGS
667
 
CPPFLAGS
668
 
CPP'
669
 
ac_subdirs_all='libxslt _XML wiki'
670
 
 
671
 
# Initialize some variables set by options.
672
 
ac_init_help=
673
 
ac_init_version=false
674
 
# The variables have the same names as the options, with
675
 
# dashes changed to underlines.
676
 
cache_file=/dev/null
677
 
exec_prefix=NONE
678
 
no_create=
679
 
no_recursion=
680
 
prefix=NONE
681
 
program_prefix=NONE
682
 
program_suffix=NONE
683
 
program_transform_name=s,x,x,
684
 
silent=
685
 
site=
686
 
srcdir=
687
 
verbose=
688
 
x_includes=NONE
689
 
x_libraries=NONE
690
 
 
691
 
# Installation directory options.
692
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
693
 
# and all the variables that are supposed to be based on exec_prefix
694
 
# by default will actually change.
695
 
# Use braces instead of parens because sh, perl, etc. also accept them.
696
 
# (The list follows the same order as the GNU Coding Standards.)
697
 
bindir='${exec_prefix}/bin'
698
 
sbindir='${exec_prefix}/sbin'
699
 
libexecdir='${exec_prefix}/libexec'
700
 
datarootdir='${prefix}/share'
701
 
datadir='${datarootdir}'
702
 
sysconfdir='${prefix}/etc'
703
 
sharedstatedir='${prefix}/com'
704
 
localstatedir='${prefix}/var'
705
 
includedir='${prefix}/include'
706
 
oldincludedir='/usr/include'
707
 
docdir='${datarootdir}/doc/${PACKAGE}'
708
 
infodir='${datarootdir}/info'
709
 
htmldir='${docdir}'
710
 
dvidir='${docdir}'
711
 
pdfdir='${docdir}'
712
 
psdir='${docdir}'
713
 
libdir='${exec_prefix}/lib'
714
 
localedir='${datarootdir}/locale'
715
 
mandir='${datarootdir}/man'
716
 
 
717
 
ac_prev=
718
 
ac_dashdash=
719
 
for ac_option
720
 
do
721
 
  # If the previous option needs an argument, assign it.
722
 
  if test -n "$ac_prev"; then
723
 
    eval $ac_prev=\$ac_option
724
 
    ac_prev=
725
 
    continue
726
 
  fi
727
 
 
728
 
  case $ac_option in
729
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730
 
  *)    ac_optarg=yes ;;
731
 
  esac
732
 
 
733
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
734
 
 
735
 
  case $ac_dashdash$ac_option in
736
 
  --)
737
 
    ac_dashdash=yes ;;
738
 
 
739
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
740
 
    ac_prev=bindir ;;
741
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
742
 
    bindir=$ac_optarg ;;
743
 
 
744
 
  -build | --build | --buil | --bui | --bu)
745
 
    ac_prev=build_alias ;;
746
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747
 
    build_alias=$ac_optarg ;;
748
 
 
749
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
750
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751
 
    ac_prev=cache_file ;;
752
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754
 
    cache_file=$ac_optarg ;;
755
 
 
756
 
  --config-cache | -C)
757
 
    cache_file=config.cache ;;
758
 
 
759
 
  -datadir | --datadir | --datadi | --datad)
760
 
    ac_prev=datadir ;;
761
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
762
 
    datadir=$ac_optarg ;;
763
 
 
764
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765
 
  | --dataroo | --dataro | --datar)
766
 
    ac_prev=datarootdir ;;
767
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769
 
    datarootdir=$ac_optarg ;;
770
 
 
771
 
  -disable-* | --disable-*)
772
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773
 
    # Reject names that are not valid shell variable names.
774
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
775
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776
 
   { (exit 1); exit 1; }; }
777
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
778
 
    eval enable_$ac_feature=no ;;
779
 
 
780
 
  -docdir | --docdir | --docdi | --doc | --do)
781
 
    ac_prev=docdir ;;
782
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783
 
    docdir=$ac_optarg ;;
784
 
 
785
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786
 
    ac_prev=dvidir ;;
787
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788
 
    dvidir=$ac_optarg ;;
789
 
 
790
 
  -enable-* | --enable-*)
791
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792
 
    # Reject names that are not valid shell variable names.
793
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
794
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795
 
   { (exit 1); exit 1; }; }
796
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
797
 
    eval enable_$ac_feature=\$ac_optarg ;;
798
 
 
799
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
800
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
801
 
  | --exec | --exe | --ex)
802
 
    ac_prev=exec_prefix ;;
803
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
804
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
805
 
  | --exec=* | --exe=* | --ex=*)
806
 
    exec_prefix=$ac_optarg ;;
807
 
 
808
 
  -gas | --gas | --ga | --g)
809
 
    # Obsolete; use --with-gas.
810
 
    with_gas=yes ;;
811
 
 
812
 
  -help | --help | --hel | --he | -h)
813
 
    ac_init_help=long ;;
814
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
815
 
    ac_init_help=recursive ;;
816
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
817
 
    ac_init_help=short ;;
818
 
 
819
 
  -host | --host | --hos | --ho)
820
 
    ac_prev=host_alias ;;
821
 
  -host=* | --host=* | --hos=* | --ho=*)
822
 
    host_alias=$ac_optarg ;;
823
 
 
824
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
825
 
    ac_prev=htmldir ;;
826
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
827
 
  | --ht=*)
828
 
    htmldir=$ac_optarg ;;
829
 
 
830
 
  -includedir | --includedir | --includedi | --included | --include \
831
 
  | --includ | --inclu | --incl | --inc)
832
 
    ac_prev=includedir ;;
833
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
834
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
835
 
    includedir=$ac_optarg ;;
836
 
 
837
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
838
 
    ac_prev=infodir ;;
839
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840
 
    infodir=$ac_optarg ;;
841
 
 
842
 
  -libdir | --libdir | --libdi | --libd)
843
 
    ac_prev=libdir ;;
844
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
845
 
    libdir=$ac_optarg ;;
846
 
 
847
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
848
 
  | --libexe | --libex | --libe)
849
 
    ac_prev=libexecdir ;;
850
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
851
 
  | --libexe=* | --libex=* | --libe=*)
852
 
    libexecdir=$ac_optarg ;;
853
 
 
854
 
  -localedir | --localedir | --localedi | --localed | --locale)
855
 
    ac_prev=localedir ;;
856
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857
 
    localedir=$ac_optarg ;;
858
 
 
859
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
860
 
  | --localstate | --localstat | --localsta | --localst | --locals)
861
 
    ac_prev=localstatedir ;;
862
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
863
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
864
 
    localstatedir=$ac_optarg ;;
865
 
 
866
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
867
 
    ac_prev=mandir ;;
868
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
869
 
    mandir=$ac_optarg ;;
870
 
 
871
 
  -nfp | --nfp | --nf)
872
 
    # Obsolete; use --without-fp.
873
 
    with_fp=no ;;
874
 
 
875
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876
 
  | --no-cr | --no-c | -n)
877
 
    no_create=yes ;;
878
 
 
879
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881
 
    no_recursion=yes ;;
882
 
 
883
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
884
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
885
 
  | --oldin | --oldi | --old | --ol | --o)
886
 
    ac_prev=oldincludedir ;;
887
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
888
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
889
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
890
 
    oldincludedir=$ac_optarg ;;
891
 
 
892
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
893
 
    ac_prev=prefix ;;
894
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895
 
    prefix=$ac_optarg ;;
896
 
 
897
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
898
 
  | --program-pre | --program-pr | --program-p)
899
 
    ac_prev=program_prefix ;;
900
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
901
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
902
 
    program_prefix=$ac_optarg ;;
903
 
 
904
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
905
 
  | --program-suf | --program-su | --program-s)
906
 
    ac_prev=program_suffix ;;
907
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
908
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
909
 
    program_suffix=$ac_optarg ;;
910
 
 
911
 
  -program-transform-name | --program-transform-name \
912
 
  | --program-transform-nam | --program-transform-na \
913
 
  | --program-transform-n | --program-transform- \
914
 
  | --program-transform | --program-transfor \
915
 
  | --program-transfo | --program-transf \
916
 
  | --program-trans | --program-tran \
917
 
  | --progr-tra | --program-tr | --program-t)
918
 
    ac_prev=program_transform_name ;;
919
 
  -program-transform-name=* | --program-transform-name=* \
920
 
  | --program-transform-nam=* | --program-transform-na=* \
921
 
  | --program-transform-n=* | --program-transform-=* \
922
 
  | --program-transform=* | --program-transfor=* \
923
 
  | --program-transfo=* | --program-transf=* \
924
 
  | --program-trans=* | --program-tran=* \
925
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
926
 
    program_transform_name=$ac_optarg ;;
927
 
 
928
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
929
 
    ac_prev=pdfdir ;;
930
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931
 
    pdfdir=$ac_optarg ;;
932
 
 
933
 
  -psdir | --psdir | --psdi | --psd | --ps)
934
 
    ac_prev=psdir ;;
935
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936
 
    psdir=$ac_optarg ;;
937
 
 
938
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
939
 
  | -silent | --silent | --silen | --sile | --sil)
940
 
    silent=yes ;;
941
 
 
942
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
943
 
    ac_prev=sbindir ;;
944
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
945
 
  | --sbi=* | --sb=*)
946
 
    sbindir=$ac_optarg ;;
947
 
 
948
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
949
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950
 
  | --sharedst | --shareds | --shared | --share | --shar \
951
 
  | --sha | --sh)
952
 
    ac_prev=sharedstatedir ;;
953
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
956
 
  | --sha=* | --sh=*)
957
 
    sharedstatedir=$ac_optarg ;;
958
 
 
959
 
  -site | --site | --sit)
960
 
    ac_prev=site ;;
961
 
  -site=* | --site=* | --sit=*)
962
 
    site=$ac_optarg ;;
963
 
 
964
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
965
 
    ac_prev=srcdir ;;
966
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967
 
    srcdir=$ac_optarg ;;
968
 
 
969
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
970
 
  | --syscon | --sysco | --sysc | --sys | --sy)
971
 
    ac_prev=sysconfdir ;;
972
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
973
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
974
 
    sysconfdir=$ac_optarg ;;
975
 
 
976
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
977
 
    ac_prev=target_alias ;;
978
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
979
 
    target_alias=$ac_optarg ;;
980
 
 
981
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
982
 
    verbose=yes ;;
983
 
 
984
 
  -version | --version | --versio | --versi | --vers | -V)
985
 
    ac_init_version=: ;;
986
 
 
987
 
  -with-* | --with-*)
988
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989
 
    # Reject names that are not valid shell variable names.
990
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
991
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
992
 
   { (exit 1); exit 1; }; }
993
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
994
 
    eval with_$ac_package=\$ac_optarg ;;
995
 
 
996
 
  -without-* | --without-*)
997
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998
 
    # Reject names that are not valid shell variable names.
999
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1000
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1001
 
   { (exit 1); exit 1; }; }
1002
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
1003
 
    eval with_$ac_package=no ;;
1004
 
 
1005
 
  --x)
1006
 
    # Obsolete; use --with-x.
1007
 
    with_x=yes ;;
1008
 
 
1009
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010
 
  | --x-incl | --x-inc | --x-in | --x-i)
1011
 
    ac_prev=x_includes ;;
1012
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014
 
    x_includes=$ac_optarg ;;
1015
 
 
1016
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018
 
    ac_prev=x_libraries ;;
1019
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021
 
    x_libraries=$ac_optarg ;;
1022
 
 
1023
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1024
 
Try \`$0 --help' for more information." >&2
1025
 
   { (exit 1); exit 1; }; }
1026
 
    ;;
1027
 
 
1028
 
  *=*)
1029
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030
 
    # Reject names that are not valid shell variable names.
1031
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1032
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033
 
   { (exit 1); exit 1; }; }
1034
 
    eval $ac_envvar=\$ac_optarg
1035
 
    export $ac_envvar ;;
1036
 
 
1037
 
  *)
1038
 
    # FIXME: should be removed in autoconf 3.0.
1039
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1043
 
    ;;
1044
 
 
1045
 
  esac
1046
 
done
1047
 
 
1048
 
if test -n "$ac_prev"; then
1049
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1051
 
   { (exit 1); exit 1; }; }
1052
 
fi
1053
 
 
1054
 
# Be sure to have absolute directory names.
1055
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1057
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058
 
                libdir localedir mandir
1059
 
do
1060
 
  eval ac_val=\$$ac_var
1061
 
  case $ac_val in
1062
 
    [\\/$]* | ?:[\\/]* )  continue;;
1063
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1064
 
  esac
1065
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1066
 
   { (exit 1); exit 1; }; }
1067
 
done
1068
 
 
1069
 
# There might be people who depend on the old broken behavior: `$host'
1070
 
# used to hold the argument of --host etc.
1071
 
# FIXME: To remove some day.
1072
 
build=$build_alias
1073
 
host=$host_alias
1074
 
target=$target_alias
1075
 
 
1076
 
# FIXME: To remove some day.
1077
 
if test "x$host_alias" != x; then
1078
 
  if test "x$build_alias" = x; then
1079
 
    cross_compiling=maybe
1080
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1081
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1082
 
  elif test "x$build_alias" != "x$host_alias"; then
1083
 
    cross_compiling=yes
1084
 
  fi
1085
 
fi
1086
 
 
1087
 
ac_tool_prefix=
1088
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1089
 
 
1090
 
test "$silent" = yes && exec 6>/dev/null
1091
 
 
1092
 
 
1093
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1094
 
ac_ls_di=`ls -di .` &&
1095
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1096
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1097
 
   { (exit 1); exit 1; }; }
1098
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1100
 
   { (exit 1); exit 1; }; }
1101
 
 
1102
 
 
1103
 
# Find the source files, if location was not specified.
1104
 
if test -z "$srcdir"; then
1105
 
  ac_srcdir_defaulted=yes
1106
 
  # Try the directory containing this script, then the parent directory.
1107
 
  ac_confdir=`$as_dirname -- "$0" ||
1108
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109
 
         X"$0" : 'X\(//\)[^/]' \| \
1110
 
         X"$0" : 'X\(//\)$' \| \
1111
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1112
 
echo X"$0" |
1113
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1114
 
            s//\1/
1115
 
            q
1116
 
          }
1117
 
          /^X\(\/\/\)[^/].*/{
1118
 
            s//\1/
1119
 
            q
1120
 
          }
1121
 
          /^X\(\/\/\)$/{
1122
 
            s//\1/
1123
 
            q
1124
 
          }
1125
 
          /^X\(\/\).*/{
1126
 
            s//\1/
1127
 
            q
1128
 
          }
1129
 
          s/.*/./; q'`
1130
 
  srcdir=$ac_confdir
1131
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1132
 
    srcdir=..
1133
 
  fi
1134
 
else
1135
 
  ac_srcdir_defaulted=no
1136
 
fi
1137
 
if test ! -r "$srcdir/$ac_unique_file"; then
1138
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1139
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140
 
   { (exit 1); exit 1; }; }
1141
 
fi
1142
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1143
 
ac_abs_confdir=`(
1144
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1145
 
   { (exit 1); exit 1; }; }
1146
 
        pwd)`
1147
 
# When building in place, set srcdir=.
1148
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1149
 
  srcdir=.
1150
 
fi
1151
 
# Remove unnecessary trailing slashes from srcdir.
1152
 
# Double slashes in file names in object file debugging info
1153
 
# mess up M-x gdb in Emacs.
1154
 
case $srcdir in
1155
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1156
 
esac
1157
 
for ac_var in $ac_precious_vars; do
1158
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1159
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1160
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1161
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1162
 
done
1163
 
 
1164
 
#
1165
 
# Report the --help message.
1166
 
#
1167
 
if test "$ac_init_help" = "long"; then
1168
 
  # Omit some internal or obsolete options to make the list less imposing.
1169
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1170
 
  cat <<_ACEOF
1171
 
\`configure' configures this package to adapt to many kinds of systems.
1172
 
 
1173
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1174
 
 
1175
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1177
 
 
1178
 
Defaults for the options are specified in brackets.
1179
 
 
1180
 
Configuration:
1181
 
  -h, --help              display this help and exit
1182
 
      --help=short        display options specific to this package
1183
 
      --help=recursive    display the short help of all the included packages
1184
 
  -V, --version           display version information and exit
1185
 
  -q, --quiet, --silent   do not print \`checking...' messages
1186
 
      --cache-file=FILE   cache test results in FILE [disabled]
1187
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1188
 
  -n, --no-create         do not create output files
1189
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1190
 
 
1191
 
Installation directories:
1192
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1193
 
                          [$ac_default_prefix]
1194
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1195
 
                          [PREFIX]
1196
 
 
1197
 
By default, \`make install' will install all the files in
1198
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1199
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200
 
for instance \`--prefix=\$HOME'.
1201
 
 
1202
 
For better control, use the options below.
1203
 
 
1204
 
Fine tuning of the installation directories:
1205
 
  --bindir=DIR           user executables [EPREFIX/bin]
1206
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1207
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1208
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1209
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1210
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1211
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1212
 
  --includedir=DIR       C header files [PREFIX/include]
1213
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1214
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1215
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1216
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1217
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1218
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1219
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1220
 
  --htmldir=DIR          html documentation [DOCDIR]
1221
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1222
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1223
 
  --psdir=DIR            ps documentation [DOCDIR]
1224
 
_ACEOF
1225
 
 
1226
 
  cat <<\_ACEOF
1227
 
_ACEOF
1228
 
fi
1229
 
 
1230
 
if test -n "$ac_init_help"; then
1231
 
 
1232
 
  cat <<\_ACEOF
1233
 
 
1234
 
Optional Features:
1235
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1236
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1237
 
  --disable-xmltest       Do not try to compile and run a test LIBXML program
1238
 
 
1239
 
Optional Packages:
1240
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1241
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1242
 
  --with-xml-prefix=PFX   Prefix where libxml is installed (optional)
1243
 
  --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
1244
 
  --with-xslt-libdir=xslt-dir
1245
 
                          Use path for xslt library
1246
 
 
1247
 
Some influential environment variables:
1248
 
  CC          C compiler command
1249
 
  CFLAGS      C compiler flags
1250
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1251
 
              nonstandard directory <lib dir>
1252
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1253
 
              you have headers in a nonstandard directory <include dir>
1254
 
  CPP         C preprocessor
1255
 
 
1256
 
Use these variables to override the choices made by `configure' or to help
1257
 
it to find libraries and programs with nonstandard names/locations.
1258
 
 
1259
 
_ACEOF
1260
 
ac_status=$?
1261
 
fi
1262
 
 
1263
 
if test "$ac_init_help" = "recursive"; then
1264
 
  # If there are subdirs, report their specific --help.
1265
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1266
 
    test -d "$ac_dir" || continue
1267
 
    ac_builddir=.
1268
 
 
1269
 
case "$ac_dir" in
1270
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1271
 
*)
1272
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1273
 
  # A ".." for each directory in $ac_dir_suffix.
1274
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1275
 
  case $ac_top_builddir_sub in
1276
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1278
 
  esac ;;
1279
 
esac
1280
 
ac_abs_top_builddir=$ac_pwd
1281
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1282
 
# for backward compatibility:
1283
 
ac_top_builddir=$ac_top_build_prefix
1284
 
 
1285
 
case $srcdir in
1286
 
  .)  # We are building in place.
1287
 
    ac_srcdir=.
1288
 
    ac_top_srcdir=$ac_top_builddir_sub
1289
 
    ac_abs_top_srcdir=$ac_pwd ;;
1290
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1291
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1292
 
    ac_top_srcdir=$srcdir
1293
 
    ac_abs_top_srcdir=$srcdir ;;
1294
 
  *) # Relative name.
1295
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1296
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1297
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1298
 
esac
1299
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1300
 
 
1301
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1302
 
    # Check for guested configure.
1303
 
    if test -f "$ac_srcdir/configure.gnu"; then
1304
 
      echo &&
1305
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1306
 
    elif test -f "$ac_srcdir/configure"; then
1307
 
      echo &&
1308
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1309
 
    else
1310
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1311
 
    fi || ac_status=$?
1312
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1313
 
  done
1314
 
fi
1315
 
 
1316
 
test -n "$ac_init_help" && exit $ac_status
1317
 
if $ac_init_version; then
1318
 
  cat <<\_ACEOF
1319
 
configure
1320
 
generated by GNU Autoconf 2.60a
1321
 
 
1322
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1323
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1324
 
This configure script is free software; the Free Software Foundation
1325
 
gives unlimited permission to copy, distribute and modify it.
1326
 
_ACEOF
1327
 
  exit
1328
 
fi
1329
 
cat >config.log <<_ACEOF
1330
 
This file contains any messages produced by compilers while
1331
 
running configure, to aid debugging if configure makes a mistake.
1332
 
 
1333
 
It was created by $as_me, which was
1334
 
generated by GNU Autoconf 2.60a.  Invocation command line was
1335
 
 
1336
 
  $ $0 $@
1337
 
 
1338
 
_ACEOF
1339
 
exec 5>>config.log
1340
 
{
1341
 
cat <<_ASUNAME
1342
 
## --------- ##
1343
 
## Platform. ##
1344
 
## --------- ##
1345
 
 
1346
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1347
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1348
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1349
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1350
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1351
 
 
1352
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1353
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1354
 
 
1355
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1356
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1357
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1358
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1359
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1360
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1361
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1362
 
 
1363
 
_ASUNAME
1364
 
 
1365
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366
 
for as_dir in $PATH
1367
 
do
1368
 
  IFS=$as_save_IFS
1369
 
  test -z "$as_dir" && as_dir=.
1370
 
  echo "PATH: $as_dir"
1371
 
done
1372
 
IFS=$as_save_IFS
1373
 
 
1374
 
} >&5
1375
 
 
1376
 
cat >&5 <<_ACEOF
1377
 
 
1378
 
 
1379
 
## ----------- ##
1380
 
## Core tests. ##
1381
 
## ----------- ##
1382
 
 
1383
 
_ACEOF
1384
 
 
1385
 
 
1386
 
# Keep a trace of the command line.
1387
 
# Strip out --no-create and --no-recursion so they do not pile up.
1388
 
# Strip out --silent because we don't want to record it for future runs.
1389
 
# Also quote any args containing shell meta-characters.
1390
 
# Make two passes to allow for proper duplicate-argument suppression.
1391
 
ac_configure_args=
1392
 
ac_configure_args0=
1393
 
ac_configure_args1=
1394
 
ac_must_keep_next=false
1395
 
for ac_pass in 1 2
1396
 
do
1397
 
  for ac_arg
1398
 
  do
1399
 
    case $ac_arg in
1400
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1401
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1402
 
    | -silent | --silent | --silen | --sile | --sil)
1403
 
      continue ;;
1404
 
    *\'*)
1405
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1406
 
    esac
1407
 
    case $ac_pass in
1408
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1409
 
    2)
1410
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1411
 
      if test $ac_must_keep_next = true; then
1412
 
        ac_must_keep_next=false # Got value, back to normal.
1413
 
      else
1414
 
        case $ac_arg in
1415
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1416
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1417
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1418
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1419
 
            case "$ac_configure_args0 " in
1420
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1421
 
            esac
1422
 
            ;;
1423
 
          -* ) ac_must_keep_next=true ;;
1424
 
        esac
1425
 
      fi
1426
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
1427
 
      ;;
1428
 
    esac
1429
 
  done
1430
 
done
1431
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1432
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1433
 
 
1434
 
# When interrupted or exit'd, cleanup temporary files, and complete
1435
 
# config.log.  We remove comments because anyway the quotes in there
1436
 
# would cause problems or look ugly.
1437
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1438
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1439
 
trap 'exit_status=$?
1440
 
  # Save into config.log some information that might help in debugging.
1441
 
  {
1442
 
    echo
1443
 
 
1444
 
    cat <<\_ASBOX
1445
 
## ---------------- ##
1446
 
## Cache variables. ##
1447
 
## ---------------- ##
1448
 
_ASBOX
1449
 
    echo
1450
 
    # The following way of writing the cache mishandles newlines in values,
1451
 
(
1452
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1453
 
    eval ac_val=\$$ac_var
1454
 
    case $ac_val in #(
1455
 
    *${as_nl}*)
1456
 
      case $ac_var in #(
1457
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1458
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1459
 
      esac
1460
 
      case $ac_var in #(
1461
 
      _ | IFS | as_nl) ;; #(
1462
 
      *) $as_unset $ac_var ;;
1463
 
      esac ;;
1464
 
    esac
1465
 
  done
1466
 
  (set) 2>&1 |
1467
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1468
 
    *${as_nl}ac_space=\ *)
1469
 
      sed -n \
1470
 
        "s/'\''/'\''\\\\'\'''\''/g;
1471
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1472
 
      ;; #(
1473
 
    *)
1474
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1475
 
      ;;
1476
 
    esac |
1477
 
    sort
1478
 
)
1479
 
    echo
1480
 
 
1481
 
    cat <<\_ASBOX
1482
 
## ----------------- ##
1483
 
## Output variables. ##
1484
 
## ----------------- ##
1485
 
_ASBOX
1486
 
    echo
1487
 
    for ac_var in $ac_subst_vars
1488
 
    do
1489
 
      eval ac_val=\$$ac_var
1490
 
      case $ac_val in
1491
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1492
 
      esac
1493
 
      echo "$ac_var='\''$ac_val'\''"
1494
 
    done | sort
1495
 
    echo
1496
 
 
1497
 
    if test -n "$ac_subst_files"; then
1498
 
      cat <<\_ASBOX
1499
 
## ------------------- ##
1500
 
## File substitutions. ##
1501
 
## ------------------- ##
1502
 
_ASBOX
1503
 
      echo
1504
 
      for ac_var in $ac_subst_files
1505
 
      do
1506
 
        eval ac_val=\$$ac_var
1507
 
        case $ac_val in
1508
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1509
 
        esac
1510
 
        echo "$ac_var='\''$ac_val'\''"
1511
 
      done | sort
1512
 
      echo
1513
 
    fi
1514
 
 
1515
 
    if test -s confdefs.h; then
1516
 
      cat <<\_ASBOX
1517
 
## ----------- ##
1518
 
## confdefs.h. ##
1519
 
## ----------- ##
1520
 
_ASBOX
1521
 
      echo
1522
 
      cat confdefs.h
1523
 
      echo
1524
 
    fi
1525
 
    test "$ac_signal" != 0 &&
1526
 
      echo "$as_me: caught signal $ac_signal"
1527
 
    echo "$as_me: exit $exit_status"
1528
 
  } >&5
1529
 
  rm -f core *.core core.conftest.* &&
1530
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1531
 
    exit $exit_status
1532
 
' 0
1533
 
for ac_signal in 1 2 13 15; do
1534
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1535
 
done
1536
 
ac_signal=0
1537
 
 
1538
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1539
 
rm -f -r conftest* confdefs.h
1540
 
 
1541
 
# Predefined preprocessor variables.
1542
 
 
1543
 
cat >>confdefs.h <<_ACEOF
1544
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1545
 
_ACEOF
1546
 
 
1547
 
 
1548
 
cat >>confdefs.h <<_ACEOF
1549
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1550
 
_ACEOF
1551
 
 
1552
 
 
1553
 
cat >>confdefs.h <<_ACEOF
1554
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1555
 
_ACEOF
1556
 
 
1557
 
 
1558
 
cat >>confdefs.h <<_ACEOF
1559
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1560
 
_ACEOF
1561
 
 
1562
 
 
1563
 
cat >>confdefs.h <<_ACEOF
1564
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1565
 
_ACEOF
1566
 
 
1567
 
 
1568
 
# Let the site file select an alternate cache file if it wants to.
1569
 
# Prefer explicitly selected file to automatically selected ones.
1570
 
if test -n "$CONFIG_SITE"; then
1571
 
  set x "$CONFIG_SITE"
1572
 
elif test "x$prefix" != xNONE; then
1573
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1574
 
else
1575
 
  set x "$ac_default_prefix/share/config.site" \
1576
 
        "$ac_default_prefix/etc/config.site"
1577
 
fi
1578
 
shift
1579
 
for ac_site_file
1580
 
do
1581
 
  if test -r "$ac_site_file"; then
1582
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583
 
echo "$as_me: loading site script $ac_site_file" >&6;}
1584
 
    sed 's/^/| /' "$ac_site_file" >&5
1585
 
    . "$ac_site_file"
1586
 
  fi
1587
 
done
1588
 
 
1589
 
if test -r "$cache_file"; then
1590
 
  # Some versions of bash will fail to source /dev/null (special
1591
 
  # files actually), so we avoid doing that.
1592
 
  if test -f "$cache_file"; then
1593
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594
 
echo "$as_me: loading cache $cache_file" >&6;}
1595
 
    case $cache_file in
1596
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1597
 
      *)                      . "./$cache_file";;
1598
 
    esac
1599
 
  fi
1600
 
else
1601
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602
 
echo "$as_me: creating cache $cache_file" >&6;}
1603
 
  >$cache_file
1604
 
fi
1605
 
 
1606
 
# Check that the precious variables saved in the cache have kept the same
1607
 
# value.
1608
 
ac_cache_corrupted=false
1609
 
for ac_var in $ac_precious_vars; do
1610
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1611
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1612
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1613
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1614
 
  case $ac_old_set,$ac_new_set in
1615
 
    set,)
1616
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1617
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1618
 
      ac_cache_corrupted=: ;;
1619
 
    ,set)
1620
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1621
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1622
 
      ac_cache_corrupted=: ;;
1623
 
    ,);;
1624
 
    *)
1625
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
1626
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1627
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1628
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1629
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1630
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1631
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1632
 
        ac_cache_corrupted=:
1633
 
      fi;;
1634
 
  esac
1635
 
  # Pass precious variables to config.status.
1636
 
  if test "$ac_new_set" = set; then
1637
 
    case $ac_new_val in
1638
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1639
 
    *) ac_arg=$ac_var=$ac_new_val ;;
1640
 
    esac
1641
 
    case " $ac_configure_args " in
1642
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1643
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1644
 
    esac
1645
 
  fi
1646
 
done
1647
 
if $ac_cache_corrupted; then
1648
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1649
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1650
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1651
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1652
 
   { (exit 1); exit 1; }; }
1653
 
fi
1654
 
 
1655
 
 
1656
 
 
1657
 
 
1658
 
 
1659
 
 
1660
 
 
1661
 
 
1662
 
 
1663
 
 
1664
 
 
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
ac_ext=c
1672
 
ac_cpp='$CPP $CPPFLAGS'
1673
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1674
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1675
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1676
 
 
1677
 
 
1678
 
 
1679
 
#
1680
 
{ echo "$as_me:$LINENO: checking For libxml2 includes" >&5
1681
 
echo $ECHO_N "checking For libxml2 includes... $ECHO_C" >&6; }
1682
 
# check for libxml2 include directories.
1683
 
ac_ext=c
1684
 
ac_cpp='$CPP $CPPFLAGS'
1685
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1686
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1687
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1688
 
if test -n "$ac_tool_prefix"; then
1689
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1690
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1691
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1692
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1693
 
if test "${ac_cv_prog_CC+set}" = set; then
1694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1695
 
else
1696
 
  if test -n "$CC"; then
1697
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1698
 
else
1699
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700
 
for as_dir in $PATH
1701
 
do
1702
 
  IFS=$as_save_IFS
1703
 
  test -z "$as_dir" && as_dir=.
1704
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1705
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1706
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1707
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708
 
    break 2
1709
 
  fi
1710
 
done
1711
 
done
1712
 
IFS=$as_save_IFS
1713
 
 
1714
 
fi
1715
 
fi
1716
 
CC=$ac_cv_prog_CC
1717
 
if test -n "$CC"; then
1718
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1719
 
echo "${ECHO_T}$CC" >&6; }
1720
 
else
1721
 
  { echo "$as_me:$LINENO: result: no" >&5
1722
 
echo "${ECHO_T}no" >&6; }
1723
 
fi
1724
 
 
1725
 
 
1726
 
fi
1727
 
if test -z "$ac_cv_prog_CC"; then
1728
 
  ac_ct_CC=$CC
1729
 
  # Extract the first word of "gcc", so it can be a program name with args.
1730
 
set dummy gcc; ac_word=$2
1731
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1732
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1733
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1734
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1735
 
else
1736
 
  if test -n "$ac_ct_CC"; then
1737
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1738
 
else
1739
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740
 
for as_dir in $PATH
1741
 
do
1742
 
  IFS=$as_save_IFS
1743
 
  test -z "$as_dir" && as_dir=.
1744
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1745
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1746
 
    ac_cv_prog_ac_ct_CC="gcc"
1747
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748
 
    break 2
1749
 
  fi
1750
 
done
1751
 
done
1752
 
IFS=$as_save_IFS
1753
 
 
1754
 
fi
1755
 
fi
1756
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1757
 
if test -n "$ac_ct_CC"; then
1758
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1759
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
1760
 
else
1761
 
  { echo "$as_me:$LINENO: result: no" >&5
1762
 
echo "${ECHO_T}no" >&6; }
1763
 
fi
1764
 
 
1765
 
  if test "x$ac_ct_CC" = x; then
1766
 
    CC=""
1767
 
  else
1768
 
    case $cross_compiling:$ac_tool_warned in
1769
 
yes:)
1770
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1771
 
whose name does not start with the host triplet.  If you think this
1772
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1773
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1774
 
whose name does not start with the host triplet.  If you think this
1775
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1776
 
ac_tool_warned=yes ;;
1777
 
esac
1778
 
    CC=$ac_ct_CC
1779
 
  fi
1780
 
else
1781
 
  CC="$ac_cv_prog_CC"
1782
 
fi
1783
 
 
1784
 
if test -z "$CC"; then
1785
 
          if test -n "$ac_tool_prefix"; then
1786
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1787
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
1788
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1789
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1790
 
if test "${ac_cv_prog_CC+set}" = set; then
1791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1792
 
else
1793
 
  if test -n "$CC"; then
1794
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1795
 
else
1796
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797
 
for as_dir in $PATH
1798
 
do
1799
 
  IFS=$as_save_IFS
1800
 
  test -z "$as_dir" && as_dir=.
1801
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1802
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1803
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1804
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805
 
    break 2
1806
 
  fi
1807
 
done
1808
 
done
1809
 
IFS=$as_save_IFS
1810
 
 
1811
 
fi
1812
 
fi
1813
 
CC=$ac_cv_prog_CC
1814
 
if test -n "$CC"; then
1815
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1816
 
echo "${ECHO_T}$CC" >&6; }
1817
 
else
1818
 
  { echo "$as_me:$LINENO: result: no" >&5
1819
 
echo "${ECHO_T}no" >&6; }
1820
 
fi
1821
 
 
1822
 
 
1823
 
  fi
1824
 
fi
1825
 
if test -z "$CC"; then
1826
 
  # Extract the first word of "cc", so it can be a program name with args.
1827
 
set dummy cc; ac_word=$2
1828
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1829
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1830
 
if test "${ac_cv_prog_CC+set}" = set; then
1831
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1832
 
else
1833
 
  if test -n "$CC"; then
1834
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1835
 
else
1836
 
  ac_prog_rejected=no
1837
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838
 
for as_dir in $PATH
1839
 
do
1840
 
  IFS=$as_save_IFS
1841
 
  test -z "$as_dir" && as_dir=.
1842
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1843
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1844
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1845
 
       ac_prog_rejected=yes
1846
 
       continue
1847
 
     fi
1848
 
    ac_cv_prog_CC="cc"
1849
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850
 
    break 2
1851
 
  fi
1852
 
done
1853
 
done
1854
 
IFS=$as_save_IFS
1855
 
 
1856
 
if test $ac_prog_rejected = yes; then
1857
 
  # We found a bogon in the path, so make sure we never use it.
1858
 
  set dummy $ac_cv_prog_CC
1859
 
  shift
1860
 
  if test $# != 0; then
1861
 
    # We chose a different compiler from the bogus one.
1862
 
    # However, it has the same basename, so the bogon will be chosen
1863
 
    # first if we set CC to just the basename; use the full file name.
1864
 
    shift
1865
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1866
 
  fi
1867
 
fi
1868
 
fi
1869
 
fi
1870
 
CC=$ac_cv_prog_CC
1871
 
if test -n "$CC"; then
1872
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1873
 
echo "${ECHO_T}$CC" >&6; }
1874
 
else
1875
 
  { echo "$as_me:$LINENO: result: no" >&5
1876
 
echo "${ECHO_T}no" >&6; }
1877
 
fi
1878
 
 
1879
 
 
1880
 
fi
1881
 
if test -z "$CC"; then
1882
 
  if test -n "$ac_tool_prefix"; then
1883
 
  for ac_prog in cl.exe
1884
 
  do
1885
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1886
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1887
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1888
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889
 
if test "${ac_cv_prog_CC+set}" = set; then
1890
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1891
 
else
1892
 
  if test -n "$CC"; then
1893
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
1894
 
else
1895
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896
 
for as_dir in $PATH
1897
 
do
1898
 
  IFS=$as_save_IFS
1899
 
  test -z "$as_dir" && as_dir=.
1900
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1901
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1902
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1903
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904
 
    break 2
1905
 
  fi
1906
 
done
1907
 
done
1908
 
IFS=$as_save_IFS
1909
 
 
1910
 
fi
1911
 
fi
1912
 
CC=$ac_cv_prog_CC
1913
 
if test -n "$CC"; then
1914
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1915
 
echo "${ECHO_T}$CC" >&6; }
1916
 
else
1917
 
  { echo "$as_me:$LINENO: result: no" >&5
1918
 
echo "${ECHO_T}no" >&6; }
1919
 
fi
1920
 
 
1921
 
 
1922
 
    test -n "$CC" && break
1923
 
  done
1924
 
fi
1925
 
if test -z "$CC"; then
1926
 
  ac_ct_CC=$CC
1927
 
  for ac_prog in cl.exe
1928
 
do
1929
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1930
 
set dummy $ac_prog; ac_word=$2
1931
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1932
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1934
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1935
 
else
1936
 
  if test -n "$ac_ct_CC"; then
1937
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1938
 
else
1939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940
 
for as_dir in $PATH
1941
 
do
1942
 
  IFS=$as_save_IFS
1943
 
  test -z "$as_dir" && as_dir=.
1944
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1945
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1946
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
1947
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948
 
    break 2
1949
 
  fi
1950
 
done
1951
 
done
1952
 
IFS=$as_save_IFS
1953
 
 
1954
 
fi
1955
 
fi
1956
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1957
 
if test -n "$ac_ct_CC"; then
1958
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1959
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
1960
 
else
1961
 
  { echo "$as_me:$LINENO: result: no" >&5
1962
 
echo "${ECHO_T}no" >&6; }
1963
 
fi
1964
 
 
1965
 
 
1966
 
  test -n "$ac_ct_CC" && break
1967
 
done
1968
 
 
1969
 
  if test "x$ac_ct_CC" = x; then
1970
 
    CC=""
1971
 
  else
1972
 
    case $cross_compiling:$ac_tool_warned in
1973
 
yes:)
1974
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1975
 
whose name does not start with the host triplet.  If you think this
1976
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1977
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1978
 
whose name does not start with the host triplet.  If you think this
1979
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1980
 
ac_tool_warned=yes ;;
1981
 
esac
1982
 
    CC=$ac_ct_CC
1983
 
  fi
1984
 
fi
1985
 
 
1986
 
fi
1987
 
 
1988
 
 
1989
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1990
 
See \`config.log' for more details." >&5
1991
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
1992
 
See \`config.log' for more details." >&2;}
1993
 
   { (exit 1); exit 1; }; }
1994
 
 
1995
 
# Provide some information about the compiler.
1996
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
1997
 
ac_compiler=`set X $ac_compile; echo $2`
1998
 
{ (ac_try="$ac_compiler --version >&5"
1999
 
case "(($ac_try" in
2000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001
 
  *) ac_try_echo=$ac_try;;
2002
 
esac
2003
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2004
 
  (eval "$ac_compiler --version >&5") 2>&5
2005
 
  ac_status=$?
2006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007
 
  (exit $ac_status); }
2008
 
{ (ac_try="$ac_compiler -v >&5"
2009
 
case "(($ac_try" in
2010
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2011
 
  *) ac_try_echo=$ac_try;;
2012
 
esac
2013
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2014
 
  (eval "$ac_compiler -v >&5") 2>&5
2015
 
  ac_status=$?
2016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017
 
  (exit $ac_status); }
2018
 
{ (ac_try="$ac_compiler -V >&5"
2019
 
case "(($ac_try" in
2020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021
 
  *) ac_try_echo=$ac_try;;
2022
 
esac
2023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2024
 
  (eval "$ac_compiler -V >&5") 2>&5
2025
 
  ac_status=$?
2026
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027
 
  (exit $ac_status); }
2028
 
 
2029
 
cat >conftest.$ac_ext <<_ACEOF
2030
 
/* confdefs.h.  */
2031
 
_ACEOF
2032
 
cat confdefs.h >>conftest.$ac_ext
2033
 
cat >>conftest.$ac_ext <<_ACEOF
2034
 
/* end confdefs.h.  */
2035
 
 
2036
 
int
2037
 
main ()
2038
 
{
2039
 
 
2040
 
  ;
2041
 
  return 0;
2042
 
}
2043
 
_ACEOF
2044
 
ac_clean_files_save=$ac_clean_files
2045
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2046
 
# Try to create an executable without -o first, disregard a.out.
2047
 
# It will help us diagnose broken compilers, and finding out an intuition
2048
 
# of exeext.
2049
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2050
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2051
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2052
 
#
2053
 
# List of possible output files, starting from the most likely.
2054
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2055
 
# only as a last resort.  b.out is created by i960 compilers.
2056
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2057
 
#
2058
 
# The IRIX 6 linker writes into existing files which may not be
2059
 
# executable, retaining their permissions.  Remove them first so a
2060
 
# subsequent execution test works.
2061
 
ac_rmfiles=
2062
 
for ac_file in $ac_files
2063
 
do
2064
 
  case $ac_file in
2065
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2066
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2067
 
  esac
2068
 
done
2069
 
rm -f $ac_rmfiles
2070
 
 
2071
 
if { (ac_try="$ac_link_default"
2072
 
case "(($ac_try" in
2073
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074
 
  *) ac_try_echo=$ac_try;;
2075
 
esac
2076
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2077
 
  (eval "$ac_link_default") 2>&5
2078
 
  ac_status=$?
2079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080
 
  (exit $ac_status); }; then
2081
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2082
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2083
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2084
 
# so that the user can short-circuit this test for compilers unknown to
2085
 
# Autoconf.
2086
 
for ac_file in $ac_files ''
2087
 
do
2088
 
  test -f "$ac_file" || continue
2089
 
  case $ac_file in
2090
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2091
 
        ;;
2092
 
    [ab].out )
2093
 
        # We found the default executable, but exeext='' is most
2094
 
        # certainly right.
2095
 
        break;;
2096
 
    *.* )
2097
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2098
 
        then :; else
2099
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2100
 
        fi
2101
 
        # We set ac_cv_exeext here because the later test for it is not
2102
 
        # safe: cross compilers may not add the suffix if given an `-o'
2103
 
        # argument, so we may need to know it at that point already.
2104
 
        # Even if this section looks crufty: it has the advantage of
2105
 
        # actually working.
2106
 
        break;;
2107
 
    * )
2108
 
        break;;
2109
 
  esac
2110
 
done
2111
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2112
 
 
2113
 
else
2114
 
  ac_file=''
2115
 
fi
2116
 
 
2117
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2118
 
echo "${ECHO_T}$ac_file" >&6; }
2119
 
if test -z "$ac_file"; then
2120
 
  echo "$as_me: failed program was:" >&5
2121
 
sed 's/^/| /' conftest.$ac_ext >&5
2122
 
 
2123
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2124
 
See \`config.log' for more details." >&5
2125
 
echo "$as_me: error: C compiler cannot create executables
2126
 
See \`config.log' for more details." >&2;}
2127
 
   { (exit 77); exit 77; }; }
2128
 
fi
2129
 
 
2130
 
ac_exeext=$ac_cv_exeext
2131
 
 
2132
 
# Check that the compiler produces executables we can run.  If not, either
2133
 
# the compiler is broken, or we cross compile.
2134
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2135
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2136
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2137
 
# If not cross compiling, check that we can run a simple program.
2138
 
if test "$cross_compiling" != yes; then
2139
 
  if { ac_try='./$ac_file'
2140
 
  { (case "(($ac_try" in
2141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142
 
  *) ac_try_echo=$ac_try;;
2143
 
esac
2144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2145
 
  (eval "$ac_try") 2>&5
2146
 
  ac_status=$?
2147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148
 
  (exit $ac_status); }; }; then
2149
 
    cross_compiling=no
2150
 
  else
2151
 
    if test "$cross_compiling" = maybe; then
2152
 
        cross_compiling=yes
2153
 
    else
2154
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2155
 
If you meant to cross compile, use \`--host'.
2156
 
See \`config.log' for more details." >&5
2157
 
echo "$as_me: error: cannot run C compiled programs.
2158
 
If you meant to cross compile, use \`--host'.
2159
 
See \`config.log' for more details." >&2;}
2160
 
   { (exit 1); exit 1; }; }
2161
 
    fi
2162
 
  fi
2163
 
fi
2164
 
{ echo "$as_me:$LINENO: result: yes" >&5
2165
 
echo "${ECHO_T}yes" >&6; }
2166
 
 
2167
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2168
 
ac_clean_files=$ac_clean_files_save
2169
 
# Check that the compiler produces executables we can run.  If not, either
2170
 
# the compiler is broken, or we cross compile.
2171
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2172
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2173
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2174
 
echo "${ECHO_T}$cross_compiling" >&6; }
2175
 
 
2176
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2177
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2178
 
if { (ac_try="$ac_link"
2179
 
case "(($ac_try" in
2180
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181
 
  *) ac_try_echo=$ac_try;;
2182
 
esac
2183
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2184
 
  (eval "$ac_link") 2>&5
2185
 
  ac_status=$?
2186
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
 
  (exit $ac_status); }; then
2188
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2189
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2190
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
2191
 
# `rm'.
2192
 
for ac_file in conftest.exe conftest conftest.*; do
2193
 
  test -f "$ac_file" || continue
2194
 
  case $ac_file in
2195
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2196
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2197
 
          break;;
2198
 
    * ) break;;
2199
 
  esac
2200
 
done
2201
 
else
2202
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2203
 
See \`config.log' for more details." >&5
2204
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2205
 
See \`config.log' for more details." >&2;}
2206
 
   { (exit 1); exit 1; }; }
2207
 
fi
2208
 
 
2209
 
rm -f conftest$ac_cv_exeext
2210
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2211
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2212
 
 
2213
 
rm -f conftest.$ac_ext
2214
 
EXEEXT=$ac_cv_exeext
2215
 
ac_exeext=$EXEEXT
2216
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2217
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2218
 
if test "${ac_cv_objext+set}" = set; then
2219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2220
 
else
2221
 
  cat >conftest.$ac_ext <<_ACEOF
2222
 
/* confdefs.h.  */
2223
 
_ACEOF
2224
 
cat confdefs.h >>conftest.$ac_ext
2225
 
cat >>conftest.$ac_ext <<_ACEOF
2226
 
/* end confdefs.h.  */
2227
 
 
2228
 
int
2229
 
main ()
2230
 
{
2231
 
 
2232
 
  ;
2233
 
  return 0;
2234
 
}
2235
 
_ACEOF
2236
 
rm -f conftest.o conftest.obj
2237
 
if { (ac_try="$ac_compile"
2238
 
case "(($ac_try" in
2239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240
 
  *) ac_try_echo=$ac_try;;
2241
 
esac
2242
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2243
 
  (eval "$ac_compile") 2>&5
2244
 
  ac_status=$?
2245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246
 
  (exit $ac_status); }; then
2247
 
  for ac_file in conftest.o conftest.obj conftest.*; do
2248
 
  test -f "$ac_file" || continue;
2249
 
  case $ac_file in
2250
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2251
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2252
 
       break;;
2253
 
  esac
2254
 
done
2255
 
else
2256
 
  echo "$as_me: failed program was:" >&5
2257
 
sed 's/^/| /' conftest.$ac_ext >&5
2258
 
 
2259
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2260
 
See \`config.log' for more details." >&5
2261
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2262
 
See \`config.log' for more details." >&2;}
2263
 
   { (exit 1); exit 1; }; }
2264
 
fi
2265
 
 
2266
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2267
 
fi
2268
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2269
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
2270
 
OBJEXT=$ac_cv_objext
2271
 
ac_objext=$OBJEXT
2272
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2273
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2274
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2275
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2276
 
else
2277
 
  cat >conftest.$ac_ext <<_ACEOF
2278
 
/* confdefs.h.  */
2279
 
_ACEOF
2280
 
cat confdefs.h >>conftest.$ac_ext
2281
 
cat >>conftest.$ac_ext <<_ACEOF
2282
 
/* end confdefs.h.  */
2283
 
 
2284
 
int
2285
 
main ()
2286
 
{
2287
 
#ifndef __GNUC__
2288
 
       choke me
2289
 
#endif
2290
 
 
2291
 
  ;
2292
 
  return 0;
2293
 
}
2294
 
_ACEOF
2295
 
rm -f conftest.$ac_objext
2296
 
if { (ac_try="$ac_compile"
2297
 
case "(($ac_try" in
2298
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299
 
  *) ac_try_echo=$ac_try;;
2300
 
esac
2301
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2302
 
  (eval "$ac_compile") 2>conftest.er1
2303
 
  ac_status=$?
2304
 
  grep -v '^ *+' conftest.er1 >conftest.err
2305
 
  rm -f conftest.er1
2306
 
  cat conftest.err >&5
2307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308
 
  (exit $ac_status); } &&
2309
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2310
 
  { (case "(($ac_try" in
2311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312
 
  *) ac_try_echo=$ac_try;;
2313
 
esac
2314
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2315
 
  (eval "$ac_try") 2>&5
2316
 
  ac_status=$?
2317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318
 
  (exit $ac_status); }; } &&
2319
 
         { ac_try='test -s conftest.$ac_objext'
2320
 
  { (case "(($ac_try" in
2321
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322
 
  *) ac_try_echo=$ac_try;;
2323
 
esac
2324
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2325
 
  (eval "$ac_try") 2>&5
2326
 
  ac_status=$?
2327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
 
  (exit $ac_status); }; }; then
2329
 
  ac_compiler_gnu=yes
2330
 
else
2331
 
  echo "$as_me: failed program was:" >&5
2332
 
sed 's/^/| /' conftest.$ac_ext >&5
2333
 
 
2334
 
        ac_compiler_gnu=no
2335
 
fi
2336
 
 
2337
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2338
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2339
 
 
2340
 
fi
2341
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2342
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2343
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
2344
 
ac_test_CFLAGS=${CFLAGS+set}
2345
 
ac_save_CFLAGS=$CFLAGS
2346
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2347
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2348
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2350
 
else
2351
 
  ac_save_c_werror_flag=$ac_c_werror_flag
2352
 
   ac_c_werror_flag=yes
2353
 
   ac_cv_prog_cc_g=no
2354
 
   CFLAGS="-g"
2355
 
   cat >conftest.$ac_ext <<_ACEOF
2356
 
/* confdefs.h.  */
2357
 
_ACEOF
2358
 
cat confdefs.h >>conftest.$ac_ext
2359
 
cat >>conftest.$ac_ext <<_ACEOF
2360
 
/* end confdefs.h.  */
2361
 
 
2362
 
int
2363
 
main ()
2364
 
{
2365
 
 
2366
 
  ;
2367
 
  return 0;
2368
 
}
2369
 
_ACEOF
2370
 
rm -f conftest.$ac_objext
2371
 
if { (ac_try="$ac_compile"
2372
 
case "(($ac_try" in
2373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374
 
  *) ac_try_echo=$ac_try;;
2375
 
esac
2376
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377
 
  (eval "$ac_compile") 2>conftest.er1
2378
 
  ac_status=$?
2379
 
  grep -v '^ *+' conftest.er1 >conftest.err
2380
 
  rm -f conftest.er1
2381
 
  cat conftest.err >&5
2382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383
 
  (exit $ac_status); } &&
2384
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2385
 
  { (case "(($ac_try" in
2386
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387
 
  *) ac_try_echo=$ac_try;;
2388
 
esac
2389
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390
 
  (eval "$ac_try") 2>&5
2391
 
  ac_status=$?
2392
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393
 
  (exit $ac_status); }; } &&
2394
 
         { ac_try='test -s conftest.$ac_objext'
2395
 
  { (case "(($ac_try" in
2396
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397
 
  *) ac_try_echo=$ac_try;;
2398
 
esac
2399
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400
 
  (eval "$ac_try") 2>&5
2401
 
  ac_status=$?
2402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403
 
  (exit $ac_status); }; }; then
2404
 
  ac_cv_prog_cc_g=yes
2405
 
else
2406
 
  echo "$as_me: failed program was:" >&5
2407
 
sed 's/^/| /' conftest.$ac_ext >&5
2408
 
 
2409
 
        CFLAGS=""
2410
 
      cat >conftest.$ac_ext <<_ACEOF
2411
 
/* confdefs.h.  */
2412
 
_ACEOF
2413
 
cat confdefs.h >>conftest.$ac_ext
2414
 
cat >>conftest.$ac_ext <<_ACEOF
2415
 
/* end confdefs.h.  */
2416
 
 
2417
 
int
2418
 
main ()
2419
 
{
2420
 
 
2421
 
  ;
2422
 
  return 0;
2423
 
}
2424
 
_ACEOF
2425
 
rm -f conftest.$ac_objext
2426
 
if { (ac_try="$ac_compile"
2427
 
case "(($ac_try" in
2428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429
 
  *) ac_try_echo=$ac_try;;
2430
 
esac
2431
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432
 
  (eval "$ac_compile") 2>conftest.er1
2433
 
  ac_status=$?
2434
 
  grep -v '^ *+' conftest.er1 >conftest.err
2435
 
  rm -f conftest.er1
2436
 
  cat conftest.err >&5
2437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438
 
  (exit $ac_status); } &&
2439
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2440
 
  { (case "(($ac_try" in
2441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442
 
  *) ac_try_echo=$ac_try;;
2443
 
esac
2444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2445
 
  (eval "$ac_try") 2>&5
2446
 
  ac_status=$?
2447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448
 
  (exit $ac_status); }; } &&
2449
 
         { ac_try='test -s conftest.$ac_objext'
2450
 
  { (case "(($ac_try" in
2451
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452
 
  *) ac_try_echo=$ac_try;;
2453
 
esac
2454
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2455
 
  (eval "$ac_try") 2>&5
2456
 
  ac_status=$?
2457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458
 
  (exit $ac_status); }; }; then
2459
 
  :
2460
 
else
2461
 
  echo "$as_me: failed program was:" >&5
2462
 
sed 's/^/| /' conftest.$ac_ext >&5
2463
 
 
2464
 
        ac_c_werror_flag=$ac_save_c_werror_flag
2465
 
         CFLAGS="-g"
2466
 
         cat >conftest.$ac_ext <<_ACEOF
2467
 
/* confdefs.h.  */
2468
 
_ACEOF
2469
 
cat confdefs.h >>conftest.$ac_ext
2470
 
cat >>conftest.$ac_ext <<_ACEOF
2471
 
/* end confdefs.h.  */
2472
 
 
2473
 
int
2474
 
main ()
2475
 
{
2476
 
 
2477
 
  ;
2478
 
  return 0;
2479
 
}
2480
 
_ACEOF
2481
 
rm -f conftest.$ac_objext
2482
 
if { (ac_try="$ac_compile"
2483
 
case "(($ac_try" in
2484
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485
 
  *) ac_try_echo=$ac_try;;
2486
 
esac
2487
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488
 
  (eval "$ac_compile") 2>conftest.er1
2489
 
  ac_status=$?
2490
 
  grep -v '^ *+' conftest.er1 >conftest.err
2491
 
  rm -f conftest.er1
2492
 
  cat conftest.err >&5
2493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
 
  (exit $ac_status); } &&
2495
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2496
 
  { (case "(($ac_try" in
2497
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498
 
  *) ac_try_echo=$ac_try;;
2499
 
esac
2500
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501
 
  (eval "$ac_try") 2>&5
2502
 
  ac_status=$?
2503
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504
 
  (exit $ac_status); }; } &&
2505
 
         { ac_try='test -s conftest.$ac_objext'
2506
 
  { (case "(($ac_try" in
2507
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2508
 
  *) ac_try_echo=$ac_try;;
2509
 
esac
2510
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2511
 
  (eval "$ac_try") 2>&5
2512
 
  ac_status=$?
2513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514
 
  (exit $ac_status); }; }; then
2515
 
  ac_cv_prog_cc_g=yes
2516
 
else
2517
 
  echo "$as_me: failed program was:" >&5
2518
 
sed 's/^/| /' conftest.$ac_ext >&5
2519
 
 
2520
 
 
2521
 
fi
2522
 
 
2523
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2524
 
fi
2525
 
 
2526
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2527
 
fi
2528
 
 
2529
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530
 
   ac_c_werror_flag=$ac_save_c_werror_flag
2531
 
fi
2532
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2533
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2534
 
if test "$ac_test_CFLAGS" = set; then
2535
 
  CFLAGS=$ac_save_CFLAGS
2536
 
elif test $ac_cv_prog_cc_g = yes; then
2537
 
  if test "$GCC" = yes; then
2538
 
    CFLAGS="-g -O2"
2539
 
  else
2540
 
    CFLAGS="-g"
2541
 
  fi
2542
 
else
2543
 
  if test "$GCC" = yes; then
2544
 
    CFLAGS="-O2"
2545
 
  else
2546
 
    CFLAGS=
2547
 
  fi
2548
 
fi
2549
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2550
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2551
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
2552
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2553
 
else
2554
 
  ac_cv_prog_cc_c89=no
2555
 
ac_save_CC=$CC
2556
 
cat >conftest.$ac_ext <<_ACEOF
2557
 
/* confdefs.h.  */
2558
 
_ACEOF
2559
 
cat confdefs.h >>conftest.$ac_ext
2560
 
cat >>conftest.$ac_ext <<_ACEOF
2561
 
/* end confdefs.h.  */
2562
 
#include <stdarg.h>
2563
 
#include <stdio.h>
2564
 
#include <sys/types.h>
2565
 
#include <sys/stat.h>
2566
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2567
 
struct buf { int x; };
2568
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2569
 
static char *e (p, i)
2570
 
     char **p;
2571
 
     int i;
2572
 
{
2573
 
  return p[i];
2574
 
}
2575
 
static char *f (char * (*g) (char **, int), char **p, ...)
2576
 
{
2577
 
  char *s;
2578
 
  va_list v;
2579
 
  va_start (v,p);
2580
 
  s = g (p, va_arg (v,int));
2581
 
  va_end (v);
2582
 
  return s;
2583
 
}
2584
 
 
2585
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2586
 
   function prototypes and stuff, but not '\xHH' hex character constants.
2587
 
   These don't provoke an error unfortunately, instead are silently treated
2588
 
   as 'x'.  The following induces an error, until -std is added to get
2589
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2590
 
   array size at least.  It's necessary to write '\x00'==0 to get something
2591
 
   that's true only with -std.  */
2592
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2593
 
 
2594
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2595
 
   inside strings and character constants.  */
2596
 
#define FOO(x) 'x'
2597
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2598
 
 
2599
 
int test (int i, double x);
2600
 
struct s1 {int (*f) (int a);};
2601
 
struct s2 {int (*f) (double a);};
2602
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2603
 
int argc;
2604
 
char **argv;
2605
 
int
2606
 
main ()
2607
 
{
2608
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2609
 
  ;
2610
 
  return 0;
2611
 
}
2612
 
_ACEOF
2613
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2614
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2615
 
do
2616
 
  CC="$ac_save_CC $ac_arg"
2617
 
  rm -f conftest.$ac_objext
2618
 
if { (ac_try="$ac_compile"
2619
 
case "(($ac_try" in
2620
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621
 
  *) ac_try_echo=$ac_try;;
2622
 
esac
2623
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624
 
  (eval "$ac_compile") 2>conftest.er1
2625
 
  ac_status=$?
2626
 
  grep -v '^ *+' conftest.er1 >conftest.err
2627
 
  rm -f conftest.er1
2628
 
  cat conftest.err >&5
2629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630
 
  (exit $ac_status); } &&
2631
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2632
 
  { (case "(($ac_try" in
2633
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634
 
  *) ac_try_echo=$ac_try;;
2635
 
esac
2636
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637
 
  (eval "$ac_try") 2>&5
2638
 
  ac_status=$?
2639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640
 
  (exit $ac_status); }; } &&
2641
 
         { ac_try='test -s conftest.$ac_objext'
2642
 
  { (case "(($ac_try" in
2643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644
 
  *) ac_try_echo=$ac_try;;
2645
 
esac
2646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647
 
  (eval "$ac_try") 2>&5
2648
 
  ac_status=$?
2649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650
 
  (exit $ac_status); }; }; then
2651
 
  ac_cv_prog_cc_c89=$ac_arg
2652
 
else
2653
 
  echo "$as_me: failed program was:" >&5
2654
 
sed 's/^/| /' conftest.$ac_ext >&5
2655
 
 
2656
 
 
2657
 
fi
2658
 
 
2659
 
rm -f core conftest.err conftest.$ac_objext
2660
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2661
 
done
2662
 
rm -f conftest.$ac_ext
2663
 
CC=$ac_save_CC
2664
 
 
2665
 
fi
2666
 
# AC_CACHE_VAL
2667
 
case "x$ac_cv_prog_cc_c89" in
2668
 
  x)
2669
 
    { echo "$as_me:$LINENO: result: none needed" >&5
2670
 
echo "${ECHO_T}none needed" >&6; } ;;
2671
 
  xno)
2672
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
2673
 
echo "${ECHO_T}unsupported" >&6; } ;;
2674
 
  *)
2675
 
    CC="$CC $ac_cv_prog_cc_c89"
2676
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2677
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2678
 
esac
2679
 
 
2680
 
 
2681
 
ac_ext=c
2682
 
ac_cpp='$CPP $CPPFLAGS'
2683
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2686
 
 
2687
 
 
2688
 
 
2689
 
 
2690
 
# Check whether --with-xml-prefix was given.
2691
 
if test "${with_xml_prefix+set}" = set; then
2692
 
  withval=$with_xml_prefix; xml_config_prefix="$withval"
2693
 
else
2694
 
  xml_config_prefix=""
2695
 
fi
2696
 
 
2697
 
 
2698
 
# Check whether --with-xml-exec-prefix was given.
2699
 
if test "${with_xml_exec_prefix+set}" = set; then
2700
 
  withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
2701
 
else
2702
 
  xml_config_exec_prefix=""
2703
 
fi
2704
 
 
2705
 
# Check whether --enable-xmltest was given.
2706
 
if test "${enable_xmltest+set}" = set; then
2707
 
  enableval=$enable_xmltest;
2708
 
else
2709
 
  enable_xmltest=yes
2710
 
fi
2711
 
 
2712
 
 
2713
 
  if test x$xml_config_exec_prefix != x ; then
2714
 
     xml_config_args="$xml_config_args"
2715
 
     if test x${XML2_CONFIG+set} != xset ; then
2716
 
        XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
2717
 
     fi
2718
 
  fi
2719
 
  if test x$xml_config_prefix != x ; then
2720
 
     xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
2721
 
     if test x${XML2_CONFIG+set} != xset ; then
2722
 
        XML2_CONFIG=$xml_config_prefix/bin/xml2-config
2723
 
     fi
2724
 
  fi
2725
 
 
2726
 
  # Extract the first word of "xml2-config", so it can be a program name with args.
2727
 
set dummy xml2-config; ac_word=$2
2728
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2729
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2730
 
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
2731
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2732
 
else
2733
 
  case $XML2_CONFIG in
2734
 
  [\\/]* | ?:[\\/]*)
2735
 
  ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
2736
 
  ;;
2737
 
  *)
2738
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739
 
for as_dir in $PATH
2740
 
do
2741
 
  IFS=$as_save_IFS
2742
 
  test -z "$as_dir" && as_dir=.
2743
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2744
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2745
 
    ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2746
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747
 
    break 2
2748
 
  fi
2749
 
done
2750
 
done
2751
 
IFS=$as_save_IFS
2752
 
 
2753
 
  test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
2754
 
  ;;
2755
 
esac
2756
 
fi
2757
 
XML2_CONFIG=$ac_cv_path_XML2_CONFIG
2758
 
if test -n "$XML2_CONFIG"; then
2759
 
  { echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
2760
 
echo "${ECHO_T}$XML2_CONFIG" >&6; }
2761
 
else
2762
 
  { echo "$as_me:$LINENO: result: no" >&5
2763
 
echo "${ECHO_T}no" >&6; }
2764
 
fi
2765
 
 
2766
 
 
2767
 
  min_xml_version=2.4.1
2768
 
  { echo "$as_me:$LINENO: checking for libxml - version >= $min_xml_version" >&5
2769
 
echo $ECHO_N "checking for libxml - version >= $min_xml_version... $ECHO_C" >&6; }
2770
 
  no_xml=""
2771
 
  if test "$XML2_CONFIG" = "no" ; then
2772
 
    no_xml=yes
2773
 
  else
2774
 
    XML_CFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
2775
 
    XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
2776
 
    xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
2777
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2778
 
    xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
2779
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2780
 
    xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
2781
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2782
 
    if test "x$enable_xmltest" = "xyes" ; then
2783
 
      ac_save_CFLAGS="$CFLAGS"
2784
 
      ac_save_LIBS="$LIBS"
2785
 
      CFLAGS="$CFLAGS $XML_CFLAGS"
2786
 
      LIBS="$XML_LIBS $LIBS"
2787
 
      rm -f conf.xmltest
2788
 
      if test "$cross_compiling" = yes; then
2789
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
2790
 
else
2791
 
  cat >conftest.$ac_ext <<_ACEOF
2792
 
/* confdefs.h.  */
2793
 
_ACEOF
2794
 
cat confdefs.h >>conftest.$ac_ext
2795
 
cat >>conftest.$ac_ext <<_ACEOF
2796
 
/* end confdefs.h.  */
2797
 
 
2798
 
#include <stdlib.h>
2799
 
#include <stdio.h>
2800
 
#include <string.h>
2801
 
#include <libxml/xmlversion.h>
2802
 
 
2803
 
int
2804
 
main()
2805
 
{
2806
 
  int xml_major_version, xml_minor_version, xml_micro_version;
2807
 
  int major, minor, micro;
2808
 
  char *tmp_version;
2809
 
 
2810
 
  system("touch conf.xmltest");
2811
 
 
2812
 
  /* Capture xml2-config output via autoconf/configure variables */
2813
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
2814
 
  tmp_version = (char *)strdup("$min_xml_version");
2815
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
2816
 
     printf("%s, bad version string from xml2-config\n", "$min_xml_version");
2817
 
     exit(1);
2818
 
   }
2819
 
   free(tmp_version);
2820
 
 
2821
 
   /* Capture the version information from the header files */
2822
 
   tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
2823
 
   if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
2824
 
     printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
2825
 
     exit(1);
2826
 
   }
2827
 
   free(tmp_version);
2828
 
 
2829
 
 /* Compare xml2-config output to the libxml headers */
2830
 
  if ((xml_major_version != $xml_config_major_version) ||
2831
 
      (xml_minor_version != $xml_config_minor_version) ||
2832
 
      (xml_micro_version != $xml_config_micro_version))
2833
 
    {
2834
 
      printf("*** libxml header files (version %d.%d.%d) do not match\n",
2835
 
         xml_major_version, xml_minor_version, xml_micro_version);
2836
 
      printf("*** xml2-config (version %d.%d.%d)\n",
2837
 
         $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
2838
 
      return 1;
2839
 
    }
2840
 
/* Compare the headers to the library to make sure we match */
2841
 
  /* Less than ideal -- doesn't provide us with return value feedback,
2842
 
   * only exits if there's a serious mismatch between header and library.
2843
 
   */
2844
 
    LIBXML_TEST_VERSION;
2845
 
 
2846
 
    /* Test that the library is greater than our minimum version */
2847
 
    if ((xml_major_version > major) ||
2848
 
        ((xml_major_version == major) && (xml_minor_version > minor)) ||
2849
 
        ((xml_major_version == major) && (xml_minor_version == minor) &&
2850
 
        (xml_micro_version >= micro)))
2851
 
      {
2852
 
        return 0;
2853
 
       }
2854
 
     else
2855
 
      {
2856
 
        printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
2857
 
               xml_major_version, xml_minor_version, xml_micro_version);
2858
 
        printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
2859
 
           major, minor, micro);
2860
 
        printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
2861
 
        printf("***\n");
2862
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
2863
 
        printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
2864
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
2865
 
        printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
2866
 
        printf("*** correct copy of xml2-config. (In this case, you will have to\n");
2867
 
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
2868
 
        printf("*** so that the correct libraries are found at run-time))\n");
2869
 
    }
2870
 
  return 1;
2871
 
}
2872
 
 
2873
 
_ACEOF
2874
 
rm -f conftest$ac_exeext
2875
 
if { (ac_try="$ac_link"
2876
 
case "(($ac_try" in
2877
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878
 
  *) ac_try_echo=$ac_try;;
2879
 
esac
2880
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2881
 
  (eval "$ac_link") 2>&5
2882
 
  ac_status=$?
2883
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2885
 
  { (case "(($ac_try" in
2886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887
 
  *) ac_try_echo=$ac_try;;
2888
 
esac
2889
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2890
 
  (eval "$ac_try") 2>&5
2891
 
  ac_status=$?
2892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893
 
  (exit $ac_status); }; }; then
2894
 
  :
2895
 
else
2896
 
  echo "$as_me: program exited with status $ac_status" >&5
2897
 
echo "$as_me: failed program was:" >&5
2898
 
sed 's/^/| /' conftest.$ac_ext >&5
2899
 
 
2900
 
( exit $ac_status )
2901
 
no_xml=yes
2902
 
fi
2903
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2904
 
fi
2905
 
 
2906
 
 
2907
 
       CFLAGS="$ac_save_CFLAGS"
2908
 
       LIBS="$ac_save_LIBS"
2909
 
     fi
2910
 
  fi
2911
 
 
2912
 
  if test "x$no_xml" = x ; then
2913
 
     { echo "$as_me:$LINENO: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
2914
 
echo "${ECHO_T}yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
2915
 
 
2916
 
cat >>confdefs.h <<\_ACEOF
2917
 
#define HAVE_XML2 1
2918
 
_ACEOF
2919
 
 
2920
 
  else
2921
 
     { echo "$as_me:$LINENO: result: no" >&5
2922
 
echo "${ECHO_T}no" >&6; }
2923
 
     if test "$XML2_CONFIG" = "no" ; then
2924
 
       echo "*** The xml2-config script installed by LIBXML could not be found"
2925
 
       echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
2926
 
       echo "*** your path, or set the XML2_CONFIG environment variable to the"
2927
 
       echo "*** full path to xml2-config."
2928
 
     else
2929
 
       if test -f conf.xmltest ; then
2930
 
        :
2931
 
       else
2932
 
          echo "*** Could not run libxml test program, checking why..."
2933
 
          CFLAGS="$CFLAGS $XML_CFLAGS"
2934
 
          LIBS="$LIBS $XML_LIBS"
2935
 
          cat >conftest.$ac_ext <<_ACEOF
2936
 
/* confdefs.h.  */
2937
 
_ACEOF
2938
 
cat confdefs.h >>conftest.$ac_ext
2939
 
cat >>conftest.$ac_ext <<_ACEOF
2940
 
/* end confdefs.h.  */
2941
 
 
2942
 
#include <libxml/xmlversion.h>
2943
 
#include <stdio.h>
2944
 
 
2945
 
int
2946
 
main ()
2947
 
{
2948
 
 LIBXML_TEST_VERSION; return 0;
2949
 
  ;
2950
 
  return 0;
2951
 
}
2952
 
_ACEOF
2953
 
rm -f conftest.$ac_objext conftest$ac_exeext
2954
 
if { (ac_try="$ac_link"
2955
 
case "(($ac_try" in
2956
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957
 
  *) ac_try_echo=$ac_try;;
2958
 
esac
2959
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2960
 
  (eval "$ac_link") 2>conftest.er1
2961
 
  ac_status=$?
2962
 
  grep -v '^ *+' conftest.er1 >conftest.err
2963
 
  rm -f conftest.er1
2964
 
  cat conftest.err >&5
2965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966
 
  (exit $ac_status); } &&
2967
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2968
 
  { (case "(($ac_try" in
2969
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970
 
  *) ac_try_echo=$ac_try;;
2971
 
esac
2972
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2973
 
  (eval "$ac_try") 2>&5
2974
 
  ac_status=$?
2975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976
 
  (exit $ac_status); }; } &&
2977
 
         { ac_try='test -s conftest$ac_exeext'
2978
 
  { (case "(($ac_try" in
2979
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980
 
  *) ac_try_echo=$ac_try;;
2981
 
esac
2982
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983
 
  (eval "$ac_try") 2>&5
2984
 
  ac_status=$?
2985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986
 
  (exit $ac_status); }; }; then
2987
 
   echo "*** The test program compiled, but did not run. This usually means"
2988
 
          echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
2989
 
          echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
2990
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
2991
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
2992
 
          echo "*** is required on your system"
2993
 
          echo "***"
2994
 
          echo "*** If you have an old version installed, it is best to remove it, although"
2995
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
2996
 
else
2997
 
  echo "$as_me: failed program was:" >&5
2998
 
sed 's/^/| /' conftest.$ac_ext >&5
2999
 
 
3000
 
         echo "*** The test program failed to compile or link. See the file config.log for the"
3001
 
          echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
3002
 
          echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
3003
 
          echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
3004
 
fi
3005
 
 
3006
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3007
 
      conftest$ac_exeext conftest.$ac_ext
3008
 
          CFLAGS="$ac_save_CFLAGS"
3009
 
          LIBS="$ac_save_LIBS"
3010
 
       fi
3011
 
     fi
3012
 
 
3013
 
     XML_CFLAGS=""
3014
 
     XML_LIBS=""
3015
 
     { { echo "$as_me:$LINENO: error: Failed to find libxml2" >&5
3016
 
echo "$as_me: error: Failed to find libxml2" >&2;}
3017
 
   { (exit 1); exit 1; }; }
3018
 
  fi
3019
 
 
3020
 
 
3021
 
  rm -f conf.xmltest
3022
 
 
3023
 
{ echo "$as_me:$LINENO: result: $XML_CFLAGS" >&5
3024
 
echo "${ECHO_T}$XML_CFLAGS" >&6; }
3025
 
export XML_CFLAGS
3026
 
export CFLAGS
3027
 
 
3028
 
#check for libxslt include directories
3029
 
{ echo "$as_me:$LINENO: checking Looking for libxslt includes" >&5
3030
 
echo $ECHO_N "checking Looking for libxslt includes... $ECHO_C" >&6; }
3031
 
xslhdrdir=no
3032
 
for a in /opt/local/include /sw/include /usr/include /usr/local/include /opt/include /opt/sfw/include; do
3033
 
    if test -d ${a}; then
3034
 
        LIBXSL_INCLUDES="${a}"
3035
 
    ac_ext=c
3036
 
ac_cpp='$CPP $CPPFLAGS'
3037
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3041
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3042
 
# On Suns, sometimes $CPP names a directory.
3043
 
if test -n "$CPP" && test -d "$CPP"; then
3044
 
  CPP=
3045
 
fi
3046
 
if test -z "$CPP"; then
3047
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3048
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3049
 
else
3050
 
      # Double quotes because CPP needs to be expanded
3051
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3052
 
    do
3053
 
      ac_preproc_ok=false
3054
 
for ac_c_preproc_warn_flag in '' yes
3055
 
do
3056
 
  # Use a header file that comes with gcc, so configuring glibc
3057
 
  # with a fresh cross-compiler works.
3058
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3059
 
  # <limits.h> exists even on freestanding compilers.
3060
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3061
 
  # not just through cpp. "Syntax error" is here to catch this case.
3062
 
  cat >conftest.$ac_ext <<_ACEOF
3063
 
/* confdefs.h.  */
3064
 
_ACEOF
3065
 
cat confdefs.h >>conftest.$ac_ext
3066
 
cat >>conftest.$ac_ext <<_ACEOF
3067
 
/* end confdefs.h.  */
3068
 
#ifdef __STDC__
3069
 
# include <limits.h>
3070
 
#else
3071
 
# include <assert.h>
3072
 
#endif
3073
 
                     Syntax error
3074
 
_ACEOF
3075
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3076
 
case "(($ac_try" in
3077
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078
 
  *) ac_try_echo=$ac_try;;
3079
 
esac
3080
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3082
 
  ac_status=$?
3083
 
  grep -v '^ *+' conftest.er1 >conftest.err
3084
 
  rm -f conftest.er1
3085
 
  cat conftest.err >&5
3086
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087
 
  (exit $ac_status); } >/dev/null; then
3088
 
  if test -s conftest.err; then
3089
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3090
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3091
 
  else
3092
 
    ac_cpp_err=
3093
 
  fi
3094
 
else
3095
 
  ac_cpp_err=yes
3096
 
fi
3097
 
if test -z "$ac_cpp_err"; then
3098
 
  :
3099
 
else
3100
 
  echo "$as_me: failed program was:" >&5
3101
 
sed 's/^/| /' conftest.$ac_ext >&5
3102
 
 
3103
 
  # Broken: fails on valid input.
3104
 
continue
3105
 
fi
3106
 
 
3107
 
rm -f conftest.err conftest.$ac_ext
3108
 
 
3109
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3110
 
  # can be detected and how.
3111
 
  cat >conftest.$ac_ext <<_ACEOF
3112
 
/* confdefs.h.  */
3113
 
_ACEOF
3114
 
cat confdefs.h >>conftest.$ac_ext
3115
 
cat >>conftest.$ac_ext <<_ACEOF
3116
 
/* end confdefs.h.  */
3117
 
#include <ac_nonexistent.h>
3118
 
_ACEOF
3119
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3120
 
case "(($ac_try" in
3121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122
 
  *) ac_try_echo=$ac_try;;
3123
 
esac
3124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3126
 
  ac_status=$?
3127
 
  grep -v '^ *+' conftest.er1 >conftest.err
3128
 
  rm -f conftest.er1
3129
 
  cat conftest.err >&5
3130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
 
  (exit $ac_status); } >/dev/null; then
3132
 
  if test -s conftest.err; then
3133
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3134
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3135
 
  else
3136
 
    ac_cpp_err=
3137
 
  fi
3138
 
else
3139
 
  ac_cpp_err=yes
3140
 
fi
3141
 
if test -z "$ac_cpp_err"; then
3142
 
  # Broken: success on invalid input.
3143
 
continue
3144
 
else
3145
 
  echo "$as_me: failed program was:" >&5
3146
 
sed 's/^/| /' conftest.$ac_ext >&5
3147
 
 
3148
 
  # Passes both tests.
3149
 
ac_preproc_ok=:
3150
 
break
3151
 
fi
3152
 
 
3153
 
rm -f conftest.err conftest.$ac_ext
3154
 
 
3155
 
done
3156
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3157
 
rm -f conftest.err conftest.$ac_ext
3158
 
if $ac_preproc_ok; then
3159
 
  break
3160
 
fi
3161
 
 
3162
 
    done
3163
 
    ac_cv_prog_CPP=$CPP
3164
 
 
3165
 
fi
3166
 
  CPP=$ac_cv_prog_CPP
3167
 
else
3168
 
  ac_cv_prog_CPP=$CPP
3169
 
fi
3170
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3171
 
echo "${ECHO_T}$CPP" >&6; }
3172
 
ac_preproc_ok=false
3173
 
for ac_c_preproc_warn_flag in '' yes
3174
 
do
3175
 
  # Use a header file that comes with gcc, so configuring glibc
3176
 
  # with a fresh cross-compiler works.
3177
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3178
 
  # <limits.h> exists even on freestanding compilers.
3179
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
3180
 
  # not just through cpp. "Syntax error" is here to catch this case.
3181
 
  cat >conftest.$ac_ext <<_ACEOF
3182
 
/* confdefs.h.  */
3183
 
_ACEOF
3184
 
cat confdefs.h >>conftest.$ac_ext
3185
 
cat >>conftest.$ac_ext <<_ACEOF
3186
 
/* end confdefs.h.  */
3187
 
#ifdef __STDC__
3188
 
# include <limits.h>
3189
 
#else
3190
 
# include <assert.h>
3191
 
#endif
3192
 
                     Syntax error
3193
 
_ACEOF
3194
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3195
 
case "(($ac_try" in
3196
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197
 
  *) ac_try_echo=$ac_try;;
3198
 
esac
3199
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3200
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3201
 
  ac_status=$?
3202
 
  grep -v '^ *+' conftest.er1 >conftest.err
3203
 
  rm -f conftest.er1
3204
 
  cat conftest.err >&5
3205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206
 
  (exit $ac_status); } >/dev/null; then
3207
 
  if test -s conftest.err; then
3208
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3209
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3210
 
  else
3211
 
    ac_cpp_err=
3212
 
  fi
3213
 
else
3214
 
  ac_cpp_err=yes
3215
 
fi
3216
 
if test -z "$ac_cpp_err"; then
3217
 
  :
3218
 
else
3219
 
  echo "$as_me: failed program was:" >&5
3220
 
sed 's/^/| /' conftest.$ac_ext >&5
3221
 
 
3222
 
  # Broken: fails on valid input.
3223
 
continue
3224
 
fi
3225
 
 
3226
 
rm -f conftest.err conftest.$ac_ext
3227
 
 
3228
 
  # OK, works on sane cases.  Now check whether nonexistent headers
3229
 
  # can be detected and how.
3230
 
  cat >conftest.$ac_ext <<_ACEOF
3231
 
/* confdefs.h.  */
3232
 
_ACEOF
3233
 
cat confdefs.h >>conftest.$ac_ext
3234
 
cat >>conftest.$ac_ext <<_ACEOF
3235
 
/* end confdefs.h.  */
3236
 
#include <ac_nonexistent.h>
3237
 
_ACEOF
3238
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3239
 
case "(($ac_try" in
3240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241
 
  *) ac_try_echo=$ac_try;;
3242
 
esac
3243
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3245
 
  ac_status=$?
3246
 
  grep -v '^ *+' conftest.er1 >conftest.err
3247
 
  rm -f conftest.er1
3248
 
  cat conftest.err >&5
3249
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250
 
  (exit $ac_status); } >/dev/null; then
3251
 
  if test -s conftest.err; then
3252
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3253
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3254
 
  else
3255
 
    ac_cpp_err=
3256
 
  fi
3257
 
else
3258
 
  ac_cpp_err=yes
3259
 
fi
3260
 
if test -z "$ac_cpp_err"; then
3261
 
  # Broken: success on invalid input.
3262
 
continue
3263
 
else
3264
 
  echo "$as_me: failed program was:" >&5
3265
 
sed 's/^/| /' conftest.$ac_ext >&5
3266
 
 
3267
 
  # Passes both tests.
3268
 
ac_preproc_ok=:
3269
 
break
3270
 
fi
3271
 
 
3272
 
rm -f conftest.err conftest.$ac_ext
3273
 
 
3274
 
done
3275
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3276
 
rm -f conftest.err conftest.$ac_ext
3277
 
if $ac_preproc_ok; then
3278
 
  :
3279
 
else
3280
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3281
 
See \`config.log' for more details." >&5
3282
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3283
 
See \`config.log' for more details." >&2;}
3284
 
   { (exit 1); exit 1; }; }
3285
 
fi
3286
 
 
3287
 
ac_ext=c
3288
 
ac_cpp='$CPP $CPPFLAGS'
3289
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3290
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3291
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3292
 
 
3293
 
 
3294
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3295
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3296
 
if test "${ac_cv_path_GREP+set}" = set; then
3297
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3298
 
else
3299
 
  # Extract the first word of "grep ggrep" to use in msg output
3300
 
if test -z "$GREP"; then
3301
 
set dummy grep ggrep; ac_prog_name=$2
3302
 
if test "${ac_cv_path_GREP+set}" = set; then
3303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3304
 
else
3305
 
  ac_path_GREP_found=false
3306
 
# Loop through the user's path and test for each of PROGNAME-LIST
3307
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3309
 
do
3310
 
  IFS=$as_save_IFS
3311
 
  test -z "$as_dir" && as_dir=.
3312
 
  for ac_prog in grep ggrep; do
3313
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3314
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3315
 
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3316
 
    # Check for GNU ac_path_GREP and select it if it is found.
3317
 
  # Check for GNU $ac_path_GREP
3318
 
case `"$ac_path_GREP" --version 2>&1` in
3319
 
*GNU*)
3320
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3321
 
*)
3322
 
  ac_count=0
3323
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3324
 
  while :
3325
 
  do
3326
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3327
 
    mv "conftest.tmp" "conftest.in"
3328
 
    cp "conftest.in" "conftest.nl"
3329
 
    echo 'GREP' >> "conftest.nl"
3330
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3331
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3332
 
    ac_count=`expr $ac_count + 1`
3333
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3334
 
      # Best one so far, save it but keep looking for a better one
3335
 
      ac_cv_path_GREP="$ac_path_GREP"
3336
 
      ac_path_GREP_max=$ac_count
3337
 
    fi
3338
 
    # 10*(2^10) chars as input seems more than enough
3339
 
    test $ac_count -gt 10 && break
3340
 
  done
3341
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3342
 
esac
3343
 
 
3344
 
 
3345
 
    $ac_path_GREP_found && break 3
3346
 
  done
3347
 
done
3348
 
 
3349
 
done
3350
 
IFS=$as_save_IFS
3351
 
 
3352
 
 
3353
 
fi
3354
 
 
3355
 
GREP="$ac_cv_path_GREP"
3356
 
if test -z "$GREP"; then
3357
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3358
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3359
 
   { (exit 1); exit 1; }; }
3360
 
fi
3361
 
 
3362
 
else
3363
 
  ac_cv_path_GREP=$GREP
3364
 
fi
3365
 
 
3366
 
 
3367
 
fi
3368
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3369
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3370
 
 GREP="$ac_cv_path_GREP"
3371
 
 
3372
 
 
3373
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3374
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3375
 
if test "${ac_cv_path_EGREP+set}" = set; then
3376
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3377
 
else
3378
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3379
 
   then ac_cv_path_EGREP="$GREP -E"
3380
 
   else
3381
 
     # Extract the first word of "egrep" to use in msg output
3382
 
if test -z "$EGREP"; then
3383
 
set dummy egrep; ac_prog_name=$2
3384
 
if test "${ac_cv_path_EGREP+set}" = set; then
3385
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3386
 
else
3387
 
  ac_path_EGREP_found=false
3388
 
# Loop through the user's path and test for each of PROGNAME-LIST
3389
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3391
 
do
3392
 
  IFS=$as_save_IFS
3393
 
  test -z "$as_dir" && as_dir=.
3394
 
  for ac_prog in egrep; do
3395
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3396
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3397
 
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3398
 
    # Check for GNU ac_path_EGREP and select it if it is found.
3399
 
  # Check for GNU $ac_path_EGREP
3400
 
case `"$ac_path_EGREP" --version 2>&1` in
3401
 
*GNU*)
3402
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3403
 
*)
3404
 
  ac_count=0
3405
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3406
 
  while :
3407
 
  do
3408
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3409
 
    mv "conftest.tmp" "conftest.in"
3410
 
    cp "conftest.in" "conftest.nl"
3411
 
    echo 'EGREP' >> "conftest.nl"
3412
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3413
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3414
 
    ac_count=`expr $ac_count + 1`
3415
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3416
 
      # Best one so far, save it but keep looking for a better one
3417
 
      ac_cv_path_EGREP="$ac_path_EGREP"
3418
 
      ac_path_EGREP_max=$ac_count
3419
 
    fi
3420
 
    # 10*(2^10) chars as input seems more than enough
3421
 
    test $ac_count -gt 10 && break
3422
 
  done
3423
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3424
 
esac
3425
 
 
3426
 
 
3427
 
    $ac_path_EGREP_found && break 3
3428
 
  done
3429
 
done
3430
 
 
3431
 
done
3432
 
IFS=$as_save_IFS
3433
 
 
3434
 
 
3435
 
fi
3436
 
 
3437
 
EGREP="$ac_cv_path_EGREP"
3438
 
if test -z "$EGREP"; then
3439
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3440
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3441
 
   { (exit 1); exit 1; }; }
3442
 
fi
3443
 
 
3444
 
else
3445
 
  ac_cv_path_EGREP=$EGREP
3446
 
fi
3447
 
 
3448
 
 
3449
 
   fi
3450
 
fi
3451
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3452
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3453
 
 EGREP="$ac_cv_path_EGREP"
3454
 
 
3455
 
 
3456
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3457
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3458
 
if test "${ac_cv_header_stdc+set}" = set; then
3459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3460
 
else
3461
 
  cat >conftest.$ac_ext <<_ACEOF
3462
 
/* confdefs.h.  */
3463
 
_ACEOF
3464
 
cat confdefs.h >>conftest.$ac_ext
3465
 
cat >>conftest.$ac_ext <<_ACEOF
3466
 
/* end confdefs.h.  */
3467
 
#include <stdlib.h>
3468
 
#include <stdarg.h>
3469
 
#include <string.h>
3470
 
#include <float.h>
3471
 
 
3472
 
int
3473
 
main ()
3474
 
{
3475
 
 
3476
 
  ;
3477
 
  return 0;
3478
 
}
3479
 
_ACEOF
3480
 
rm -f conftest.$ac_objext
3481
 
if { (ac_try="$ac_compile"
3482
 
case "(($ac_try" in
3483
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484
 
  *) ac_try_echo=$ac_try;;
3485
 
esac
3486
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487
 
  (eval "$ac_compile") 2>conftest.er1
3488
 
  ac_status=$?
3489
 
  grep -v '^ *+' conftest.er1 >conftest.err
3490
 
  rm -f conftest.er1
3491
 
  cat conftest.err >&5
3492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493
 
  (exit $ac_status); } &&
3494
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3495
 
  { (case "(($ac_try" in
3496
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497
 
  *) ac_try_echo=$ac_try;;
3498
 
esac
3499
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3500
 
  (eval "$ac_try") 2>&5
3501
 
  ac_status=$?
3502
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503
 
  (exit $ac_status); }; } &&
3504
 
         { ac_try='test -s conftest.$ac_objext'
3505
 
  { (case "(($ac_try" in
3506
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507
 
  *) ac_try_echo=$ac_try;;
3508
 
esac
3509
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3510
 
  (eval "$ac_try") 2>&5
3511
 
  ac_status=$?
3512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513
 
  (exit $ac_status); }; }; then
3514
 
  ac_cv_header_stdc=yes
3515
 
else
3516
 
  echo "$as_me: failed program was:" >&5
3517
 
sed 's/^/| /' conftest.$ac_ext >&5
3518
 
 
3519
 
        ac_cv_header_stdc=no
3520
 
fi
3521
 
 
3522
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523
 
 
3524
 
if test $ac_cv_header_stdc = yes; then
3525
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3526
 
  cat >conftest.$ac_ext <<_ACEOF
3527
 
/* confdefs.h.  */
3528
 
_ACEOF
3529
 
cat confdefs.h >>conftest.$ac_ext
3530
 
cat >>conftest.$ac_ext <<_ACEOF
3531
 
/* end confdefs.h.  */
3532
 
#include <string.h>
3533
 
 
3534
 
_ACEOF
3535
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3536
 
  $EGREP "memchr" >/dev/null 2>&1; then
3537
 
  :
3538
 
else
3539
 
  ac_cv_header_stdc=no
3540
 
fi
3541
 
rm -f conftest*
3542
 
 
3543
 
fi
3544
 
 
3545
 
if test $ac_cv_header_stdc = yes; then
3546
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3547
 
  cat >conftest.$ac_ext <<_ACEOF
3548
 
/* confdefs.h.  */
3549
 
_ACEOF
3550
 
cat confdefs.h >>conftest.$ac_ext
3551
 
cat >>conftest.$ac_ext <<_ACEOF
3552
 
/* end confdefs.h.  */
3553
 
#include <stdlib.h>
3554
 
 
3555
 
_ACEOF
3556
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3557
 
  $EGREP "free" >/dev/null 2>&1; then
3558
 
  :
3559
 
else
3560
 
  ac_cv_header_stdc=no
3561
 
fi
3562
 
rm -f conftest*
3563
 
 
3564
 
fi
3565
 
 
3566
 
if test $ac_cv_header_stdc = yes; then
3567
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3568
 
  if test "$cross_compiling" = yes; then
3569
 
  :
3570
 
else
3571
 
  cat >conftest.$ac_ext <<_ACEOF
3572
 
/* confdefs.h.  */
3573
 
_ACEOF
3574
 
cat confdefs.h >>conftest.$ac_ext
3575
 
cat >>conftest.$ac_ext <<_ACEOF
3576
 
/* end confdefs.h.  */
3577
 
#include <ctype.h>
3578
 
#include <stdlib.h>
3579
 
#if ((' ' & 0x0FF) == 0x020)
3580
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3581
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3582
 
#else
3583
 
# define ISLOWER(c) \
3584
 
                   (('a' <= (c) && (c) <= 'i') \
3585
 
                     || ('j' <= (c) && (c) <= 'r') \
3586
 
                     || ('s' <= (c) && (c) <= 'z'))
3587
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3588
 
#endif
3589
 
 
3590
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3591
 
int
3592
 
main ()
3593
 
{
3594
 
  int i;
3595
 
  for (i = 0; i < 256; i++)
3596
 
    if (XOR (islower (i), ISLOWER (i))
3597
 
        || toupper (i) != TOUPPER (i))
3598
 
      return 2;
3599
 
  return 0;
3600
 
}
3601
 
_ACEOF
3602
 
rm -f conftest$ac_exeext
3603
 
if { (ac_try="$ac_link"
3604
 
case "(($ac_try" in
3605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606
 
  *) ac_try_echo=$ac_try;;
3607
 
esac
3608
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3609
 
  (eval "$ac_link") 2>&5
3610
 
  ac_status=$?
3611
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3613
 
  { (case "(($ac_try" in
3614
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615
 
  *) ac_try_echo=$ac_try;;
3616
 
esac
3617
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3618
 
  (eval "$ac_try") 2>&5
3619
 
  ac_status=$?
3620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621
 
  (exit $ac_status); }; }; then
3622
 
  :
3623
 
else
3624
 
  echo "$as_me: program exited with status $ac_status" >&5
3625
 
echo "$as_me: failed program was:" >&5
3626
 
sed 's/^/| /' conftest.$ac_ext >&5
3627
 
 
3628
 
( exit $ac_status )
3629
 
ac_cv_header_stdc=no
3630
 
fi
3631
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3632
 
fi
3633
 
 
3634
 
 
3635
 
fi
3636
 
fi
3637
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3638
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3639
 
if test $ac_cv_header_stdc = yes; then
3640
 
 
3641
 
cat >>confdefs.h <<\_ACEOF
3642
 
#define STDC_HEADERS 1
3643
 
_ACEOF
3644
 
 
3645
 
fi
3646
 
 
3647
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3648
 
 
3649
 
 
3650
 
 
3651
 
 
3652
 
 
3653
 
 
3654
 
 
3655
 
 
3656
 
 
3657
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3658
 
                  inttypes.h stdint.h unistd.h
3659
 
do
3660
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3661
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3662
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3663
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3664
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3665
 
else
3666
 
  cat >conftest.$ac_ext <<_ACEOF
3667
 
/* confdefs.h.  */
3668
 
_ACEOF
3669
 
cat confdefs.h >>conftest.$ac_ext
3670
 
cat >>conftest.$ac_ext <<_ACEOF
3671
 
/* end confdefs.h.  */
3672
 
$ac_includes_default
3673
 
 
3674
 
#include <$ac_header>
3675
 
_ACEOF
3676
 
rm -f conftest.$ac_objext
3677
 
if { (ac_try="$ac_compile"
3678
 
case "(($ac_try" in
3679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680
 
  *) ac_try_echo=$ac_try;;
3681
 
esac
3682
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683
 
  (eval "$ac_compile") 2>conftest.er1
3684
 
  ac_status=$?
3685
 
  grep -v '^ *+' conftest.er1 >conftest.err
3686
 
  rm -f conftest.er1
3687
 
  cat conftest.err >&5
3688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689
 
  (exit $ac_status); } &&
3690
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3691
 
  { (case "(($ac_try" in
3692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693
 
  *) ac_try_echo=$ac_try;;
3694
 
esac
3695
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696
 
  (eval "$ac_try") 2>&5
3697
 
  ac_status=$?
3698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699
 
  (exit $ac_status); }; } &&
3700
 
         { ac_try='test -s conftest.$ac_objext'
3701
 
  { (case "(($ac_try" in
3702
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703
 
  *) ac_try_echo=$ac_try;;
3704
 
esac
3705
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706
 
  (eval "$ac_try") 2>&5
3707
 
  ac_status=$?
3708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709
 
  (exit $ac_status); }; }; then
3710
 
  eval "$as_ac_Header=yes"
3711
 
else
3712
 
  echo "$as_me: failed program was:" >&5
3713
 
sed 's/^/| /' conftest.$ac_ext >&5
3714
 
 
3715
 
        eval "$as_ac_Header=no"
3716
 
fi
3717
 
 
3718
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719
 
fi
3720
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3721
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3722
 
echo "${ECHO_T}$ac_res" >&6; }
3723
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3724
 
  cat >>confdefs.h <<_ACEOF
3725
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3726
 
_ACEOF
3727
 
 
3728
 
fi
3729
 
 
3730
 
done
3731
 
 
3732
 
 
3733
 
as_ac_Header=`echo "ac_cv_header_${a}/libxslt/xsltconfig.h" | $as_tr_sh`
3734
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3735
 
  { echo "$as_me:$LINENO: checking for ${a}/libxslt/xsltconfig.h" >&5
3736
 
echo $ECHO_N "checking for ${a}/libxslt/xsltconfig.h... $ECHO_C" >&6; }
3737
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3739
 
fi
3740
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3741
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3742
 
echo "${ECHO_T}$ac_res" >&6; }
3743
 
else
3744
 
  # Is the header compilable?
3745
 
{ echo "$as_me:$LINENO: checking ${a}/libxslt/xsltconfig.h usability" >&5
3746
 
echo $ECHO_N "checking ${a}/libxslt/xsltconfig.h usability... $ECHO_C" >&6; }
3747
 
cat >conftest.$ac_ext <<_ACEOF
3748
 
/* confdefs.h.  */
3749
 
_ACEOF
3750
 
cat confdefs.h >>conftest.$ac_ext
3751
 
cat >>conftest.$ac_ext <<_ACEOF
3752
 
/* end confdefs.h.  */
3753
 
$ac_includes_default
3754
 
#include <${a}/libxslt/xsltconfig.h>
3755
 
_ACEOF
3756
 
rm -f conftest.$ac_objext
3757
 
if { (ac_try="$ac_compile"
3758
 
case "(($ac_try" in
3759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760
 
  *) ac_try_echo=$ac_try;;
3761
 
esac
3762
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763
 
  (eval "$ac_compile") 2>conftest.er1
3764
 
  ac_status=$?
3765
 
  grep -v '^ *+' conftest.er1 >conftest.err
3766
 
  rm -f conftest.er1
3767
 
  cat conftest.err >&5
3768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769
 
  (exit $ac_status); } &&
3770
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3771
 
  { (case "(($ac_try" in
3772
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773
 
  *) ac_try_echo=$ac_try;;
3774
 
esac
3775
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776
 
  (eval "$ac_try") 2>&5
3777
 
  ac_status=$?
3778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
 
  (exit $ac_status); }; } &&
3780
 
         { ac_try='test -s conftest.$ac_objext'
3781
 
  { (case "(($ac_try" in
3782
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783
 
  *) ac_try_echo=$ac_try;;
3784
 
esac
3785
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786
 
  (eval "$ac_try") 2>&5
3787
 
  ac_status=$?
3788
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789
 
  (exit $ac_status); }; }; then
3790
 
  ac_header_compiler=yes
3791
 
else
3792
 
  echo "$as_me: failed program was:" >&5
3793
 
sed 's/^/| /' conftest.$ac_ext >&5
3794
 
 
3795
 
        ac_header_compiler=no
3796
 
fi
3797
 
 
3798
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3800
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
3801
 
 
3802
 
# Is the header present?
3803
 
{ echo "$as_me:$LINENO: checking ${a}/libxslt/xsltconfig.h presence" >&5
3804
 
echo $ECHO_N "checking ${a}/libxslt/xsltconfig.h presence... $ECHO_C" >&6; }
3805
 
cat >conftest.$ac_ext <<_ACEOF
3806
 
/* confdefs.h.  */
3807
 
_ACEOF
3808
 
cat confdefs.h >>conftest.$ac_ext
3809
 
cat >>conftest.$ac_ext <<_ACEOF
3810
 
/* end confdefs.h.  */
3811
 
#include <${a}/libxslt/xsltconfig.h>
3812
 
_ACEOF
3813
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3814
 
case "(($ac_try" in
3815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816
 
  *) ac_try_echo=$ac_try;;
3817
 
esac
3818
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3820
 
  ac_status=$?
3821
 
  grep -v '^ *+' conftest.er1 >conftest.err
3822
 
  rm -f conftest.er1
3823
 
  cat conftest.err >&5
3824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
 
  (exit $ac_status); } >/dev/null; then
3826
 
  if test -s conftest.err; then
3827
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3828
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3829
 
  else
3830
 
    ac_cpp_err=
3831
 
  fi
3832
 
else
3833
 
  ac_cpp_err=yes
3834
 
fi
3835
 
if test -z "$ac_cpp_err"; then
3836
 
  ac_header_preproc=yes
3837
 
else
3838
 
  echo "$as_me: failed program was:" >&5
3839
 
sed 's/^/| /' conftest.$ac_ext >&5
3840
 
 
3841
 
  ac_header_preproc=no
3842
 
fi
3843
 
 
3844
 
rm -f conftest.err conftest.$ac_ext
3845
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3846
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
3847
 
 
3848
 
# So?  What about this header?
3849
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3850
 
  yes:no: )
3851
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5
3852
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3853
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the compiler's result" >&5
3854
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the compiler's result" >&2;}
3855
 
    ac_header_preproc=yes
3856
 
    ;;
3857
 
  no:yes:* )
3858
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: present but cannot be compiled" >&5
3859
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: present but cannot be compiled" >&2;}
3860
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h:     check for missing prerequisite headers?" >&5
3861
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h:     check for missing prerequisite headers?" >&2;}
3862
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: see the Autoconf documentation" >&5
3863
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: see the Autoconf documentation" >&2;}
3864
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h:     section \"Present But Cannot Be Compiled\"" >&5
3865
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3866
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the preprocessor's result" >&5
3867
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: proceeding with the preprocessor's result" >&2;}
3868
 
    { echo "$as_me:$LINENO: WARNING: ${a}/libxslt/xsltconfig.h: in the future, the compiler will take precedence" >&5
3869
 
echo "$as_me: WARNING: ${a}/libxslt/xsltconfig.h: in the future, the compiler will take precedence" >&2;}
3870
 
 
3871
 
    ;;
3872
 
esac
3873
 
{ echo "$as_me:$LINENO: checking for ${a}/libxslt/xsltconfig.h" >&5
3874
 
echo $ECHO_N "checking for ${a}/libxslt/xsltconfig.h... $ECHO_C" >&6; }
3875
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3877
 
else
3878
 
  eval "$as_ac_Header=\$ac_header_preproc"
3879
 
fi
3880
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3881
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3882
 
echo "${ECHO_T}$ac_res" >&6; }
3883
 
 
3884
 
fi
3885
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3886
 
  xslhdrdir=${a}
3887
 
fi
3888
 
 
3889
 
 
3890
 
    fi
3891
 
done
3892
 
 
3893
 
if test $xslhdrdir = no ; then
3894
 
   { { echo "$as_me:$LINENO: error: Failed to find libxslt include directory" >&5
3895
 
echo "$as_me: error: Failed to find libxslt include directory" >&2;}
3896
 
   { (exit 1); exit 1; }; }
3897
 
fi
3898
 
{ echo "$as_me:$LINENO: result: XSL includes in $xslhdrdir" >&5
3899
 
echo "${ECHO_T}XSL includes in $xslhdrdir" >&6; }
3900
 
 
3901
 
LIBXSL_INCLUDE="${xslhdrdir}"
3902
 
 
3903
 
 
3904
 
{ echo "$as_me:$LINENO: checking for libxslt library" >&5
3905
 
echo $ECHO_N "checking for libxslt library... $ECHO_C" >&6; }
3906
 
xsllibdir=no
3907
 
 
3908
 
# Check whether --with-xslt-libdir was given.
3909
 
if test "${with_xslt_libdir+set}" = set; then
3910
 
  withval=$with_xslt_libdir;
3911
 
                if test -f $withval/libxslt.so; then
3912
 
                   xsllibdir=$withval;
3913
 
                fi
3914
 
 
3915
 
fi
3916
 
 
3917
 
if test $xsllibdir = no; then
3918
 
  for a in /opt/local/lib /sw/lib /usr/lib /usr/local/lib /opt/lib /lib /opt/sfw/lib /usr/sfw/lib; do
3919
 
        if test -f ${a}/libxslt.so; then
3920
 
           xsllibdir=${a}
3921
 
           LIBS="-lxslt"
3922
 
        fi
3923
 
        if test -e ${a}/libxslt.dylib; then
3924
 
           echo "Found dylib...";
3925
 
           xsllibdir=${a}
3926
 
           echo $xsllibdir;
3927
 
           LIBS="-lxslt"
3928
 
        fi
3929
 
  done
3930
 
fi
3931
 
if test $xsllibdir = no; then
3932
 
   { { echo "$as_me:$LINENO: error: Failed to find libxslt library." >&5
3933
 
echo "$as_me: error: Failed to find libxslt library." >&2;}
3934
 
   { (exit 1); exit 1; }; }
3935
 
fi
3936
 
 
3937
 
 
3938
 
{ echo "$as_me:$LINENO: result: Found libxslt library in $xsllibdir" >&5
3939
 
echo "${ECHO_T}Found libxslt library in $xsllibdir" >&6; }
3940
 
 
3941
 
{ echo "$as_me:$LINENO: checking Looking for libml2 library" >&5
3942
 
echo $ECHO_N "checking Looking for libml2 library... $ECHO_C" >&6; }
3943
 
xmllibdir=no
3944
 
for a in /opt/local/lib /sw/lib /usr/lib /usr/local/lib /opt/lib /lib /opt/sfw/lib /usr/sfw/lib; do
3945
 
        if test -f ${a}/libxml2.so; then
3946
 
           xmllibdir=${a}
3947
 
        fi
3948
 
        if test -e ${a}/libxml2.dylib; then
3949
 
           xmllibdir=${a}
3950
 
        fi
3951
 
done
3952
 
{ echo "$as_me:$LINENO: result: Found libxml2 library in $xmllibdir" >&5
3953
 
echo "${ECHO_T}Found libxml2 library in $xmllibdir" >&6; }
3954
 
LIBDIR="${xsllibdir}:${xmllibdir}"
3955
 
XSLLIBDIR="${xsllibdir}"
3956
 
XMLLIBDIR="${xmllibdir}"
3957
 
 
3958
 
 
3959
 
export XSLLIBDIR
3960
 
export XMLLIBDIR
3961
 
 
3962
 
 
3963
 
 
3964
 
#get system OS
3965
 
if test "${steam_sys_os+set}" = set; then
3966
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3967
 
else
3968
 
 
3969
 
if test "$uname_prog" != "no"; then
3970
 
  steam_sys_os="`uname`"
3971
 
 
3972
 
  case "$steam_sys_os" in
3973
 
    SunOS)
3974
 
      case "`uname -r`" in
3975
 
        5.*) steam_sys_os="Solaris";
3976
 
      esac
3977
 
    ;;
3978
 
    Monterey64)
3979
 
      # According to the release notes, the string "Monterey64"
3980
 
      # will be changed to "AIX" in the final release.
3981
 
      # (Monterey 64 is also known as AIX 5L).
3982
 
      steam_sys_os="AIX"
3983
 
    ;;
3984
 
  esac
3985
 
else
3986
 
  steam_sys_os="Not Solaris"
3987
 
fi
3988
 
 
3989
 
fi
3990
 
 
3991
 
{ echo "$as_me:$LINENO: result: $steam_sys_os" >&5
3992
 
echo "${ECHO_T}$steam_sys_os" >&6; }
3993
 
 
3994
 
echo $steam_sys_os
3995
 
ac_ext=c
3996
 
ac_cpp='$CPP $CPPFLAGS'
3997
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3998
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3999
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4000
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4001
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4002
 
# On Suns, sometimes $CPP names a directory.
4003
 
if test -n "$CPP" && test -d "$CPP"; then
4004
 
  CPP=
4005
 
fi
4006
 
if test -z "$CPP"; then
4007
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4009
 
else
4010
 
      # Double quotes because CPP needs to be expanded
4011
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4012
 
    do
4013
 
      ac_preproc_ok=false
4014
 
for ac_c_preproc_warn_flag in '' yes
4015
 
do
4016
 
  # Use a header file that comes with gcc, so configuring glibc
4017
 
  # with a fresh cross-compiler works.
4018
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4019
 
  # <limits.h> exists even on freestanding compilers.
4020
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4021
 
  # not just through cpp. "Syntax error" is here to catch this case.
4022
 
  cat >conftest.$ac_ext <<_ACEOF
4023
 
/* confdefs.h.  */
4024
 
_ACEOF
4025
 
cat confdefs.h >>conftest.$ac_ext
4026
 
cat >>conftest.$ac_ext <<_ACEOF
4027
 
/* end confdefs.h.  */
4028
 
#ifdef __STDC__
4029
 
# include <limits.h>
4030
 
#else
4031
 
# include <assert.h>
4032
 
#endif
4033
 
                     Syntax error
4034
 
_ACEOF
4035
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4036
 
case "(($ac_try" in
4037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038
 
  *) ac_try_echo=$ac_try;;
4039
 
esac
4040
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042
 
  ac_status=$?
4043
 
  grep -v '^ *+' conftest.er1 >conftest.err
4044
 
  rm -f conftest.er1
4045
 
  cat conftest.err >&5
4046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047
 
  (exit $ac_status); } >/dev/null; then
4048
 
  if test -s conftest.err; then
4049
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4050
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4051
 
  else
4052
 
    ac_cpp_err=
4053
 
  fi
4054
 
else
4055
 
  ac_cpp_err=yes
4056
 
fi
4057
 
if test -z "$ac_cpp_err"; then
4058
 
  :
4059
 
else
4060
 
  echo "$as_me: failed program was:" >&5
4061
 
sed 's/^/| /' conftest.$ac_ext >&5
4062
 
 
4063
 
  # Broken: fails on valid input.
4064
 
continue
4065
 
fi
4066
 
 
4067
 
rm -f conftest.err conftest.$ac_ext
4068
 
 
4069
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4070
 
  # can be detected and how.
4071
 
  cat >conftest.$ac_ext <<_ACEOF
4072
 
/* confdefs.h.  */
4073
 
_ACEOF
4074
 
cat confdefs.h >>conftest.$ac_ext
4075
 
cat >>conftest.$ac_ext <<_ACEOF
4076
 
/* end confdefs.h.  */
4077
 
#include <ac_nonexistent.h>
4078
 
_ACEOF
4079
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4080
 
case "(($ac_try" in
4081
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082
 
  *) ac_try_echo=$ac_try;;
4083
 
esac
4084
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4086
 
  ac_status=$?
4087
 
  grep -v '^ *+' conftest.er1 >conftest.err
4088
 
  rm -f conftest.er1
4089
 
  cat conftest.err >&5
4090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091
 
  (exit $ac_status); } >/dev/null; then
4092
 
  if test -s conftest.err; then
4093
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4094
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4095
 
  else
4096
 
    ac_cpp_err=
4097
 
  fi
4098
 
else
4099
 
  ac_cpp_err=yes
4100
 
fi
4101
 
if test -z "$ac_cpp_err"; then
4102
 
  # Broken: success on invalid input.
4103
 
continue
4104
 
else
4105
 
  echo "$as_me: failed program was:" >&5
4106
 
sed 's/^/| /' conftest.$ac_ext >&5
4107
 
 
4108
 
  # Passes both tests.
4109
 
ac_preproc_ok=:
4110
 
break
4111
 
fi
4112
 
 
4113
 
rm -f conftest.err conftest.$ac_ext
4114
 
 
4115
 
done
4116
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4117
 
rm -f conftest.err conftest.$ac_ext
4118
 
if $ac_preproc_ok; then
4119
 
  break
4120
 
fi
4121
 
 
4122
 
    done
4123
 
    ac_cv_prog_CPP=$CPP
4124
 
 
4125
 
fi
4126
 
  CPP=$ac_cv_prog_CPP
4127
 
else
4128
 
  ac_cv_prog_CPP=$CPP
4129
 
fi
4130
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4131
 
echo "${ECHO_T}$CPP" >&6; }
4132
 
ac_preproc_ok=false
4133
 
for ac_c_preproc_warn_flag in '' yes
4134
 
do
4135
 
  # Use a header file that comes with gcc, so configuring glibc
4136
 
  # with a fresh cross-compiler works.
4137
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138
 
  # <limits.h> exists even on freestanding compilers.
4139
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4140
 
  # not just through cpp. "Syntax error" is here to catch this case.
4141
 
  cat >conftest.$ac_ext <<_ACEOF
4142
 
/* confdefs.h.  */
4143
 
_ACEOF
4144
 
cat confdefs.h >>conftest.$ac_ext
4145
 
cat >>conftest.$ac_ext <<_ACEOF
4146
 
/* end confdefs.h.  */
4147
 
#ifdef __STDC__
4148
 
# include <limits.h>
4149
 
#else
4150
 
# include <assert.h>
4151
 
#endif
4152
 
                     Syntax error
4153
 
_ACEOF
4154
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4155
 
case "(($ac_try" in
4156
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157
 
  *) ac_try_echo=$ac_try;;
4158
 
esac
4159
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4161
 
  ac_status=$?
4162
 
  grep -v '^ *+' conftest.er1 >conftest.err
4163
 
  rm -f conftest.er1
4164
 
  cat conftest.err >&5
4165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166
 
  (exit $ac_status); } >/dev/null; then
4167
 
  if test -s conftest.err; then
4168
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4169
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4170
 
  else
4171
 
    ac_cpp_err=
4172
 
  fi
4173
 
else
4174
 
  ac_cpp_err=yes
4175
 
fi
4176
 
if test -z "$ac_cpp_err"; then
4177
 
  :
4178
 
else
4179
 
  echo "$as_me: failed program was:" >&5
4180
 
sed 's/^/| /' conftest.$ac_ext >&5
4181
 
 
4182
 
  # Broken: fails on valid input.
4183
 
continue
4184
 
fi
4185
 
 
4186
 
rm -f conftest.err conftest.$ac_ext
4187
 
 
4188
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4189
 
  # can be detected and how.
4190
 
  cat >conftest.$ac_ext <<_ACEOF
4191
 
/* confdefs.h.  */
4192
 
_ACEOF
4193
 
cat confdefs.h >>conftest.$ac_ext
4194
 
cat >>conftest.$ac_ext <<_ACEOF
4195
 
/* end confdefs.h.  */
4196
 
#include <ac_nonexistent.h>
4197
 
_ACEOF
4198
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4199
 
case "(($ac_try" in
4200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201
 
  *) ac_try_echo=$ac_try;;
4202
 
esac
4203
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4205
 
  ac_status=$?
4206
 
  grep -v '^ *+' conftest.er1 >conftest.err
4207
 
  rm -f conftest.er1
4208
 
  cat conftest.err >&5
4209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
 
  (exit $ac_status); } >/dev/null; then
4211
 
  if test -s conftest.err; then
4212
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4213
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4214
 
  else
4215
 
    ac_cpp_err=
4216
 
  fi
4217
 
else
4218
 
  ac_cpp_err=yes
4219
 
fi
4220
 
if test -z "$ac_cpp_err"; then
4221
 
  # Broken: success on invalid input.
4222
 
continue
4223
 
else
4224
 
  echo "$as_me: failed program was:" >&5
4225
 
sed 's/^/| /' conftest.$ac_ext >&5
4226
 
 
4227
 
  # Passes both tests.
4228
 
ac_preproc_ok=:
4229
 
break
4230
 
fi
4231
 
 
4232
 
rm -f conftest.err conftest.$ac_ext
4233
 
 
4234
 
done
4235
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4236
 
rm -f conftest.err conftest.$ac_ext
4237
 
if $ac_preproc_ok; then
4238
 
  :
4239
 
else
4240
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4241
 
See \`config.log' for more details." >&5
4242
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4243
 
See \`config.log' for more details." >&2;}
4244
 
   { (exit 1); exit 1; }; }
4245
 
fi
4246
 
 
4247
 
ac_ext=c
4248
 
ac_cpp='$CPP $CPPFLAGS'
4249
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4250
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4251
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4252
 
 
4253
 
# LDSHARED is the ld *command* used to create shared library
4254
 
# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
4255
 
{ echo "$as_me:$LINENO: checking LDSHARED" >&5
4256
 
echo $ECHO_N "checking LDSHARED... $ECHO_C" >&6; }
4257
 
if test -z "$LDSHARED" ; then
4258
 
  case "$steam_sys_os" in
4259
 
    AIX*)
4260
 
      if test "$GCC" = yes ; then
4261
 
        if test "`uname -r`" -ge 2 -a "`uname -v`" -ge 4 ; then
4262
 
          LDSHARED="ld -G -bexpall"
4263
 
        else if test "`uname -v`" -gt 4 ; then
4264
 
            # Extra forward compatibility...
4265
 
            # AIX 5+
4266
 
            LDSHARED="ld -G -bexpall"
4267
 
          else
4268
 
            # AIX 4.1 and earlier don't have/have unreliable
4269
 
            # handling of dlopen et al.
4270
 
            #
4271
 
            # Even AIX 4.2.1 has buggy dlopen -- NEVER attempt
4272
 
            # to dlopen a file that hasn't been linked with -G.
4273
 
            steam_sys_dynamic_loading=no
4274
 
            LDSHARED="ld"
4275
 
          fi
4276
 
        fi
4277
 
      else
4278
 
        # Dynamic linking turned off for AIX-cc
4279
 
        #
4280
 
        # In addition, the dynamic loading test seems to
4281
 
        # cause our RS/6000 to hang, which causes the
4282
 
        # watchdog-timer to PANIC.
4283
 
        steam_sys_dynamic_loading=no
4284
 
        LDSHARED="ld"
4285
 
      fi
4286
 
    ;;
4287
 
    IRIX*)
4288
 
      if test "$GCC" = yes ; then
4289
 
        # egcs defaults to building -n32 objects
4290
 
        LDSHARED="ld -shared -n32"
4291
 
      else
4292
 
        LDSHARED="ld -shared"
4293
 
      fi
4294
 
      # -woff isn't understood by ld on Irix 5.
4295
 
      if test "`uname -r`" -ge 6 ; then
4296
 
        LDSHARED="$LDSHARED -woff 84,85,134"
4297
 
      else :; fi
4298
 
    ;;
4299
 
    SunOS*) LDSHARED="ld";;
4300
 
    Solaris) LDSHARED="/usr/ccs/bin/ld -G";;
4301
 
    hp*|HP*) LDSHARED="ld -b";;
4302
 
    OSF*) LDSHARED="ld -expect_unresolved '*' -shared -msym -O3";;
4303
 
    DYNIX/ptx*) LDSHARED="ld -G";;
4304
 
    next*) LDSHARED="$CC $CFLAGS -nostdlib -r";;
4305
 
    Linux*)
4306
 
        LDSHARED="ld -E -shared"
4307
 
        LDFLAGS=""
4308
 
        ;;
4309
 
    GNU*) LDSHARED="ld -Bshareable";;
4310
 
    FreeBSD*)
4311
 
        LDSHARED="$CC -Wl,-Bshareable"
4312
 
        cat >>confdefs.h <<\_ACEOF
4313
 
#define RUNNING_BSD 1
4314
 
_ACEOF
4315
 
 
4316
 
        ;;
4317
 
    Darwin*)
4318
 
        LDSHARED="gcc -bundle -bundle_loader ${PIKE} -bind_at_load -flat_namespace -undefined suppress"
4319
 
        LDFLAGS="-L$xsllibdir -L$xmllibdir"
4320
 
        cat >>confdefs.h <<\_ACEOF
4321
 
#define RUNNING_DARWIN 1
4322
 
_ACEOF
4323
 
 
4324
 
        ;;
4325
 
    NetBSD*)
4326
 
        LDSHARED="ld -Bshareable"
4327
 
        cat >>confdefs.h <<\_ACEOF
4328
 
#define RUNNING_BSD 1
4329
 
_ACEOF
4330
 
 
4331
 
        ;;
4332
 
    OpenBSD*)
4333
 
        LDSHARED="ld -Bshareable"
4334
 
        cat >>confdefs.h <<\_ACEOF
4335
 
#define RUNNING_BSD 1
4336
 
_ACEOF
4337
 
 
4338
 
        ;;
4339
 
    BSD/OS*) LDSHARED="shlicc -r";;
4340
 
    SCO_SV*) LDSHARED="cc -G -KPIC -Wl,-Bexport";;
4341
 
    UNIX_SV*) LDSHARED="ld -G";;
4342
 
    UnixWare*)
4343
 
      if test "$GCC" = yes ; then
4344
 
        LDSHARED="ld -G"
4345
 
      else
4346
 
        LDSHARED="cc -G -KPIC -Wl,-Bexport"
4347
 
      fi
4348
 
    ;;
4349
 
    Windows_NT*) LDSHARED="$CC -shared";;
4350
 
    *) LDSHARED="ld";;
4351
 
  esac
4352
 
fi
4353
 
{ echo "$as_me:$LINENO: result: $LDSHARED" >&5
4354
 
echo "${ECHO_T}$LDSHARED" >&6; }
4355
 
 
4356
 
export steam_sys_os
4357
 
 
4358
 
export LDSHARED
4359
 
export LDFLAGS
4360
 
 
4361
 
{ echo "$as_me:$LINENO: checking install Script" >&5
4362
 
echo $ECHO_N "checking install Script... $ECHO_C" >&6; }
4363
 
installprg=none
4364
 
for a in /sw/bin /usr/bin /usr/local/bin /opt/bin /bin /opt/sfw/bin /usr/sfw/bin; do
4365
 
        if test -x ${a}/install; then
4366
 
            installprg=${a}/install
4367
 
        fi
4368
 
        if test -x ${a}/ginstall; then
4369
 
            installprg="${a}/ginstall"
4370
 
        fi
4371
 
done
4372
 
{ echo "$as_me:$LINENO: result: Found $installprg" >&5
4373
 
echo "${ECHO_T}Found $installprg" >&6; }
4374
 
 
4375
 
export installprg
4376
 
export LIBDIR
4377
 
export LIBXML2_INCLUDE
4378
 
export LIBXSL_INCLUDE
4379
 
echo -n "LDSHARED="
4380
 
echo $LDSHARED
4381
 
export LDSHARED
4382
 
export LIBS
4383
 
 
4384
 
# Note: also put these in AC_CONFIG_SUBDIRS, below. Variables are not allowed there...
4385
 
DIRS="libxslt _XML wiki"
4386
 
 
4387
 
 
4388
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4389
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4390
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4391
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4393
 
else
4394
 
  cat >conftest.make <<\_ACEOF
4395
 
SHELL = /bin/sh
4396
 
all:
4397
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
4398
 
_ACEOF
4399
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4400
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4401
 
  *@@@%%%=?*=@@@%%%*)
4402
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
4403
 
  *)
4404
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
4405
 
esac
4406
 
rm -f conftest.make
4407
 
fi
4408
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4409
 
  { echo "$as_me:$LINENO: result: yes" >&5
4410
 
echo "${ECHO_T}yes" >&6; }
4411
 
  SET_MAKE=
4412
 
else
4413
 
  { echo "$as_me:$LINENO: result: no" >&5
4414
 
echo "${ECHO_T}no" >&6; }
4415
 
  SET_MAKE="MAKE=${MAKE-make}"
4416
 
fi
4417
 
 
4418
 
# Using variables in AC_CONFIG_SUBDIRS produces warnings, use literals:
4419
 
ac_aux_dir=
4420
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4421
 
  if test -f "$ac_dir/install-sh"; then
4422
 
    ac_aux_dir=$ac_dir
4423
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
4424
 
    break
4425
 
  elif test -f "$ac_dir/install.sh"; then
4426
 
    ac_aux_dir=$ac_dir
4427
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
4428
 
    break
4429
 
  elif test -f "$ac_dir/shtool"; then
4430
 
    ac_aux_dir=$ac_dir
4431
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
4432
 
    break
4433
 
  fi
4434
 
done
4435
 
if test -z "$ac_aux_dir"; then
4436
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4437
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4438
 
   { (exit 1); exit 1; }; }
4439
 
fi
4440
 
 
4441
 
# These three variables are undocumented and unsupported,
4442
 
# and are intended to be withdrawn in a future Autoconf release.
4443
 
# They can cause serious problems if a builder's source tree is in a directory
4444
 
# whose full name contains unusual characters.
4445
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4446
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4447
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4448
 
 
4449
 
 
4450
 
subdirs="$subdirs libxslt _XML wiki"
4451
 
 
4452
 
 
4453
 
ac_config_files="$ac_config_files Makefile"
4454
 
 
4455
 
cat >confcache <<\_ACEOF
4456
 
# This file is a shell script that caches the results of configure
4457
 
# tests run on this system so they can be shared between configure
4458
 
# scripts and configure runs, see configure's option --config-cache.
4459
 
# It is not useful on other systems.  If it contains results you don't
4460
 
# want to keep, you may remove or edit it.
4461
 
#
4462
 
# config.status only pays attention to the cache file if you give it
4463
 
# the --recheck option to rerun configure.
4464
 
#
4465
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4466
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4467
 
# following values.
4468
 
 
4469
 
_ACEOF
4470
 
 
4471
 
# The following way of writing the cache mishandles newlines in values,
4472
 
# but we know of no workaround that is simple, portable, and efficient.
4473
 
# So, we kill variables containing newlines.
4474
 
# Ultrix sh set writes to stderr and can't be redirected directly,
4475
 
# and sets the high bit in the cache file unless we assign to the vars.
4476
 
(
4477
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4478
 
    eval ac_val=\$$ac_var
4479
 
    case $ac_val in #(
4480
 
    *${as_nl}*)
4481
 
      case $ac_var in #(
4482
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4483
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4484
 
      esac
4485
 
      case $ac_var in #(
4486
 
      _ | IFS | as_nl) ;; #(
4487
 
      *) $as_unset $ac_var ;;
4488
 
      esac ;;
4489
 
    esac
4490
 
  done
4491
 
 
4492
 
  (set) 2>&1 |
4493
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4494
 
    *${as_nl}ac_space=\ *)
4495
 
      # `set' does not quote correctly, so add quotes (double-quote
4496
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4497
 
      sed -n \
4498
 
        "s/'/'\\\\''/g;
4499
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4500
 
      ;; #(
4501
 
    *)
4502
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4503
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4504
 
      ;;
4505
 
    esac |
4506
 
    sort
4507
 
) |
4508
 
  sed '
4509
 
     /^ac_cv_env_/b end
4510
 
     t clear
4511
 
     :clear
4512
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4513
 
     t end
4514
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4515
 
     :end' >>confcache
4516
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4517
 
  if test -w "$cache_file"; then
4518
 
    test "x$cache_file" != "x/dev/null" &&
4519
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4520
 
echo "$as_me: updating cache $cache_file" >&6;}
4521
 
    cat confcache >$cache_file
4522
 
  else
4523
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4524
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4525
 
  fi
4526
 
fi
4527
 
rm -f confcache
4528
 
 
4529
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4530
 
# Let make expand exec_prefix.
4531
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4532
 
 
4533
 
# Transform confdefs.h into DEFS.
4534
 
# Protect against shell expansion while executing Makefile rules.
4535
 
# Protect against Makefile macro expansion.
4536
 
#
4537
 
# If the first sed substitution is executed (which looks for macros that
4538
 
# take arguments), then branch to the quote section.  Otherwise,
4539
 
# look for a macro that doesn't take arguments.
4540
 
ac_script='
4541
 
t clear
4542
 
:clear
4543
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4544
 
t quote
4545
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4546
 
t quote
4547
 
b any
4548
 
:quote
4549
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4550
 
s/\[/\\&/g
4551
 
s/\]/\\&/g
4552
 
s/\$/$$/g
4553
 
H
4554
 
:any
4555
 
${
4556
 
        g
4557
 
        s/^\n//
4558
 
        s/\n/ /g
4559
 
        p
4560
 
}
4561
 
'
4562
 
DEFS=`sed -n "$ac_script" confdefs.h`
4563
 
 
4564
 
 
4565
 
ac_libobjs=
4566
 
ac_ltlibobjs=
4567
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4568
 
  # 1. Remove the extension, and $U if already installed.
4569
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4570
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
4571
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4572
 
  #    will be set to the directory where LIBOBJS objects are built.
4573
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4574
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4575
 
done
4576
 
LIBOBJS=$ac_libobjs
4577
 
 
4578
 
LTLIBOBJS=$ac_ltlibobjs
4579
 
 
4580
 
 
4581
 
 
4582
 
: ${CONFIG_STATUS=./config.status}
4583
 
ac_clean_files_save=$ac_clean_files
4584
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4585
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4586
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4587
 
cat >$CONFIG_STATUS <<_ACEOF
4588
 
#! $SHELL
4589
 
# Generated by $as_me.
4590
 
# Run this file to recreate the current configuration.
4591
 
# Compiler output produced by configure, useful for debugging
4592
 
# configure, is in config.log if it exists.
4593
 
 
4594
 
debug=false
4595
 
ac_cs_recheck=false
4596
 
ac_cs_silent=false
4597
 
SHELL=\${CONFIG_SHELL-$SHELL}
4598
 
_ACEOF
4599
 
 
4600
 
cat >>$CONFIG_STATUS <<\_ACEOF
4601
 
## --------------------- ##
4602
 
## M4sh Initialization.  ##
4603
 
## --------------------- ##
4604
 
 
4605
 
# Be Bourne compatible
4606
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4607
 
  emulate sh
4608
 
  NULLCMD=:
4609
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4610
 
  # is contrary to our usage.  Disable this feature.
4611
 
  alias -g '${1+"$@"}'='"$@"'
4612
 
  setopt NO_GLOB_SUBST
4613
 
else
4614
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
4615
 
fi
4616
 
BIN_SH=xpg4; export BIN_SH # for Tru64
4617
 
DUALCASE=1; export DUALCASE # for MKS sh
4618
 
 
4619
 
 
4620
 
# PATH needs CR
4621
 
# Avoid depending upon Character Ranges.
4622
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4623
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4624
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4625
 
as_cr_digits='0123456789'
4626
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
4627
 
 
4628
 
# The user is always right.
4629
 
if test "${PATH_SEPARATOR+set}" != set; then
4630
 
  echo "#! /bin/sh" >conf$$.sh
4631
 
  echo  "exit 0"   >>conf$$.sh
4632
 
  chmod +x conf$$.sh
4633
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4634
 
    PATH_SEPARATOR=';'
4635
 
  else
4636
 
    PATH_SEPARATOR=:
4637
 
  fi
4638
 
  rm -f conf$$.sh
4639
 
fi
4640
 
 
4641
 
# Support unset when possible.
4642
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4643
 
  as_unset=unset
4644
 
else
4645
 
  as_unset=false
4646
 
fi
4647
 
 
4648
 
 
4649
 
# IFS
4650
 
# We need space, tab and new line, in precisely that order.  Quoting is
4651
 
# there to prevent editors from complaining about space-tab.
4652
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4653
 
# splitting by setting IFS to empty value.)
4654
 
as_nl='
4655
 
'
4656
 
IFS=" ""        $as_nl"
4657
 
 
4658
 
# Find who we are.  Look in the path if we contain no directory separator.
4659
 
case $0 in
4660
 
  *[\\/]* ) as_myself=$0 ;;
4661
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662
 
for as_dir in $PATH
4663
 
do
4664
 
  IFS=$as_save_IFS
4665
 
  test -z "$as_dir" && as_dir=.
4666
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4667
 
done
4668
 
IFS=$as_save_IFS
4669
 
 
4670
 
     ;;
4671
 
esac
4672
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
4673
 
# in which case we are not to be found in the path.
4674
 
if test "x$as_myself" = x; then
4675
 
  as_myself=$0
4676
 
fi
4677
 
if test ! -f "$as_myself"; then
4678
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4679
 
  { (exit 1); exit 1; }
4680
 
fi
4681
 
 
4682
 
# Work around bugs in pre-3.0 UWIN ksh.
4683
 
for as_var in ENV MAIL MAILPATH
4684
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4685
 
done
4686
 
PS1='$ '
4687
 
PS2='> '
4688
 
PS4='+ '
4689
 
 
4690
 
# NLS nuisances.
4691
 
for as_var in \
4692
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4693
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4694
 
  LC_TELEPHONE LC_TIME
4695
 
do
4696
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4697
 
    eval $as_var=C; export $as_var
4698
 
  else
4699
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4700
 
  fi
4701
 
done
4702
 
 
4703
 
# Required to use basename.
4704
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
4705
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4706
 
  as_expr=expr
4707
 
else
4708
 
  as_expr=false
4709
 
fi
4710
 
 
4711
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4712
 
  as_basename=basename
4713
 
else
4714
 
  as_basename=false
4715
 
fi
4716
 
 
4717
 
 
4718
 
# Name of the executable.
4719
 
as_me=`$as_basename -- "$0" ||
4720
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4721
 
         X"$0" : 'X\(//\)$' \| \
4722
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4723
 
echo X/"$0" |
4724
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4725
 
            s//\1/
4726
 
            q
4727
 
          }
4728
 
          /^X\/\(\/\/\)$/{
4729
 
            s//\1/
4730
 
            q
4731
 
          }
4732
 
          /^X\/\(\/\).*/{
4733
 
            s//\1/
4734
 
            q
4735
 
          }
4736
 
          s/.*/./; q'`
4737
 
 
4738
 
# CDPATH.
4739
 
$as_unset CDPATH
4740
 
 
4741
 
 
4742
 
 
4743
 
  as_lineno_1=$LINENO
4744
 
  as_lineno_2=$LINENO
4745
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4746
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4747
 
 
4748
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4749
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
4750
 
  # line-number line after each line using $LINENO; the second 'sed'
4751
 
  # does the real work.  The second script uses 'N' to pair each
4752
 
  # line-number line with the line containing $LINENO, and appends
4753
 
  # trailing '-' during substitution so that $LINENO is not a special
4754
 
  # case at line end.
4755
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4756
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4757
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
4758
 
  sed -n '
4759
 
    p
4760
 
    /[$]LINENO/=
4761
 
  ' <$as_myself |
4762
 
    sed '
4763
 
      s/[$]LINENO.*/&-/
4764
 
      t lineno
4765
 
      b
4766
 
      :lineno
4767
 
      N
4768
 
      :loop
4769
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4770
 
      t loop
4771
 
      s/-\n.*//
4772
 
    ' >$as_me.lineno &&
4773
 
  chmod +x "$as_me.lineno" ||
4774
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4775
 
   { (exit 1); exit 1; }; }
4776
 
 
4777
 
  # Don't try to exec as it changes $[0], causing all sort of problems
4778
 
  # (the dirname of $[0] is not the place where we might find the
4779
 
  # original and so on.  Autoconf is especially sensitive to this).
4780
 
  . "./$as_me.lineno"
4781
 
  # Exit status is that of the last command.
4782
 
  exit
4783
 
}
4784
 
 
4785
 
 
4786
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4787
 
  as_dirname=dirname
4788
 
else
4789
 
  as_dirname=false
4790
 
fi
4791
 
 
4792
 
ECHO_C= ECHO_N= ECHO_T=
4793
 
case `echo -n x` in
4794
 
-n*)
4795
 
  case `echo 'x\c'` in
4796
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4797
 
  *)   ECHO_C='\c';;
4798
 
  esac;;
4799
 
*)
4800
 
  ECHO_N='-n';;
4801
 
esac
4802
 
 
4803
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
4804
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4805
 
  as_expr=expr
4806
 
else
4807
 
  as_expr=false
4808
 
fi
4809
 
 
4810
 
rm -f conf$$ conf$$.exe conf$$.file
4811
 
if test -d conf$$.dir; then
4812
 
  rm -f conf$$.dir/conf$$.file
4813
 
else
4814
 
  rm -f conf$$.dir
4815
 
  mkdir conf$$.dir
4816
 
fi
4817
 
echo >conf$$.file
4818
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
4819
 
  as_ln_s='ln -s'
4820
 
  # ... but there are two gotchas:
4821
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4822
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4823
 
  # In both cases, we have to default to `cp -p'.
4824
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4825
 
    as_ln_s='cp -p'
4826
 
elif ln conf$$.file conf$$ 2>/dev/null; then
4827
 
  as_ln_s=ln
4828
 
else
4829
 
  as_ln_s='cp -p'
4830
 
fi
4831
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4832
 
rmdir conf$$.dir 2>/dev/null
4833
 
 
4834
 
if mkdir -p . 2>/dev/null; then
4835
 
  as_mkdir_p=:
4836
 
else
4837
 
  test -d ./-p && rmdir ./-p
4838
 
  as_mkdir_p=false
4839
 
fi
4840
 
 
4841
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
4842
 
# systems may use methods other than mode bits to determine executability.
4843
 
cat >conf$$.file <<_ASEOF
4844
 
#! /bin/sh
4845
 
exit 0
4846
 
_ASEOF
4847
 
chmod +x conf$$.file
4848
 
if test -x conf$$.file >/dev/null 2>&1; then
4849
 
  as_executable_p="test -x"
4850
 
else
4851
 
  as_executable_p=:
4852
 
fi
4853
 
rm -f conf$$.file
4854
 
 
4855
 
# Sed expression to map a string onto a valid CPP name.
4856
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4857
 
 
4858
 
# Sed expression to map a string onto a valid variable name.
4859
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4860
 
 
4861
 
 
4862
 
exec 6>&1
4863
 
 
4864
 
# Save the log message, to keep $[0] and so on meaningful, and to
4865
 
# report actual input values of CONFIG_FILES etc. instead of their
4866
 
# values after options handling.
4867
 
ac_log="
4868
 
This file was extended by $as_me, which was
4869
 
generated by GNU Autoconf 2.60a.  Invocation command line was
4870
 
 
4871
 
  CONFIG_FILES    = $CONFIG_FILES
4872
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
4873
 
  CONFIG_LINKS    = $CONFIG_LINKS
4874
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4875
 
  $ $0 $@
4876
 
 
4877
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4878
 
"
4879
 
 
4880
 
_ACEOF
4881
 
 
4882
 
cat >>$CONFIG_STATUS <<_ACEOF
4883
 
# Files that config.status was made for.
4884
 
config_files="$ac_config_files"
4885
 
 
4886
 
_ACEOF
4887
 
 
4888
 
cat >>$CONFIG_STATUS <<\_ACEOF
4889
 
ac_cs_usage="\
4890
 
\`$as_me' instantiates files from templates according to the
4891
 
current configuration.
4892
 
 
4893
 
Usage: $0 [OPTIONS] [FILE]...
4894
 
 
4895
 
  -h, --help       print this help, then exit
4896
 
  -V, --version    print version number and configuration settings, then exit
4897
 
  -q, --quiet      do not print progress messages
4898
 
  -d, --debug      don't remove temporary files
4899
 
      --recheck    update $as_me by reconfiguring in the same conditions
4900
 
  --file=FILE[:TEMPLATE]
4901
 
                   instantiate the configuration file FILE
4902
 
 
4903
 
Configuration files:
4904
 
$config_files
4905
 
 
4906
 
Report bugs to <bug-autoconf@gnu.org>."
4907
 
 
4908
 
_ACEOF
4909
 
cat >>$CONFIG_STATUS <<_ACEOF
4910
 
ac_cs_version="\\
4911
 
config.status
4912
 
configured by $0, generated by GNU Autoconf 2.60a,
4913
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4914
 
 
4915
 
Copyright (C) 2006 Free Software Foundation, Inc.
4916
 
This config.status script is free software; the Free Software Foundation
4917
 
gives unlimited permission to copy, distribute and modify it."
4918
 
 
4919
 
ac_pwd='$ac_pwd'
4920
 
srcdir='$srcdir'
4921
 
_ACEOF
4922
 
 
4923
 
cat >>$CONFIG_STATUS <<\_ACEOF
4924
 
# If no file are specified by the user, then we need to provide default
4925
 
# value.  By we need to know if files were specified by the user.
4926
 
ac_need_defaults=:
4927
 
while test $# != 0
4928
 
do
4929
 
  case $1 in
4930
 
  --*=*)
4931
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4932
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4933
 
    ac_shift=:
4934
 
    ;;
4935
 
  *)
4936
 
    ac_option=$1
4937
 
    ac_optarg=$2
4938
 
    ac_shift=shift
4939
 
    ;;
4940
 
  esac
4941
 
 
4942
 
  case $ac_option in
4943
 
  # Handling of the options.
4944
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4945
 
    ac_cs_recheck=: ;;
4946
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4947
 
    echo "$ac_cs_version"; exit ;;
4948
 
  --debug | --debu | --deb | --de | --d | -d )
4949
 
    debug=: ;;
4950
 
  --file | --fil | --fi | --f )
4951
 
    $ac_shift
4952
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4953
 
    ac_need_defaults=false;;
4954
 
  --he | --h |  --help | --hel | -h )
4955
 
    echo "$ac_cs_usage"; exit ;;
4956
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4957
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4958
 
    ac_cs_silent=: ;;
4959
 
 
4960
 
  # This is an error.
4961
 
  -*) { echo "$as_me: error: unrecognized option: $1
4962
 
Try \`$0 --help' for more information." >&2
4963
 
   { (exit 1); exit 1; }; } ;;
4964
 
 
4965
 
  *) ac_config_targets="$ac_config_targets $1"
4966
 
     ac_need_defaults=false ;;
4967
 
 
4968
 
  esac
4969
 
  shift
4970
 
done
4971
 
 
4972
 
ac_configure_extra_args=
4973
 
 
4974
 
if $ac_cs_silent; then
4975
 
  exec 6>/dev/null
4976
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4977
 
fi
4978
 
 
4979
 
_ACEOF
4980
 
cat >>$CONFIG_STATUS <<_ACEOF
4981
 
if \$ac_cs_recheck; then
4982
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4983
 
  CONFIG_SHELL=$SHELL
4984
 
  export CONFIG_SHELL
4985
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4986
 
fi
4987
 
 
4988
 
_ACEOF
4989
 
cat >>$CONFIG_STATUS <<\_ACEOF
4990
 
exec 5>>config.log
4991
 
{
4992
 
  echo
4993
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4994
 
## Running $as_me. ##
4995
 
_ASBOX
4996
 
  echo "$ac_log"
4997
 
} >&5
4998
 
 
4999
 
_ACEOF
5000
 
cat >>$CONFIG_STATUS <<_ACEOF
5001
 
_ACEOF
5002
 
 
5003
 
cat >>$CONFIG_STATUS <<\_ACEOF
5004
 
 
5005
 
# Handling of arguments.
5006
 
for ac_config_target in $ac_config_targets
5007
 
do
5008
 
  case $ac_config_target in
5009
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5010
 
 
5011
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5012
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5013
 
   { (exit 1); exit 1; }; };;
5014
 
  esac
5015
 
done
5016
 
 
5017
 
 
5018
 
# If the user did not use the arguments to specify the items to instantiate,
5019
 
# then the envvar interface is used.  Set only those that are not.
5020
 
# We use the long form for the default assignment because of an extremely
5021
 
# bizarre bug on SunOS 4.1.3.
5022
 
if $ac_need_defaults; then
5023
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5024
 
fi
5025
 
 
5026
 
# Have a temporary directory for convenience.  Make it in the build tree
5027
 
# simply because there is no reason against having it here, and in addition,
5028
 
# creating and moving files from /tmp can sometimes cause problems.
5029
 
# Hook for its removal unless debugging.
5030
 
# Note that there is a small window in which the directory will not be cleaned:
5031
 
# after its creation but before its name has been assigned to `$tmp'.
5032
 
$debug ||
5033
 
{
5034
 
  tmp=
5035
 
  trap 'exit_status=$?
5036
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5037
 
' 0
5038
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
5039
 
}
5040
 
# Create a (secure) tmp directory for tmp files.
5041
 
 
5042
 
{
5043
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5044
 
  test -n "$tmp" && test -d "$tmp"
5045
 
}  ||
5046
 
{
5047
 
  tmp=./conf$$-$RANDOM
5048
 
  (umask 077 && mkdir "$tmp")
5049
 
} ||
5050
 
{
5051
 
   echo "$me: cannot create a temporary directory in ." >&2
5052
 
   { (exit 1); exit 1; }
5053
 
}
5054
 
 
5055
 
#
5056
 
# Set up the sed scripts for CONFIG_FILES section.
5057
 
#
5058
 
 
5059
 
# No need to generate the scripts if there are no CONFIG_FILES.
5060
 
# This happens for instance when ./config.status config.h
5061
 
if test -n "$CONFIG_FILES"; then
5062
 
 
5063
 
_ACEOF
5064
 
 
5065
 
 
5066
 
 
5067
 
ac_delim='%!_!# '
5068
 
for ac_last_try in false false false false false :; do
5069
 
  cat >conf$$subs.sed <<_ACEOF
5070
 
SHELL!$SHELL$ac_delim
5071
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5072
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5073
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5074
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5075
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5076
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5077
 
exec_prefix!$exec_prefix$ac_delim
5078
 
prefix!$prefix$ac_delim
5079
 
program_transform_name!$program_transform_name$ac_delim
5080
 
bindir!$bindir$ac_delim
5081
 
sbindir!$sbindir$ac_delim
5082
 
libexecdir!$libexecdir$ac_delim
5083
 
datarootdir!$datarootdir$ac_delim
5084
 
datadir!$datadir$ac_delim
5085
 
sysconfdir!$sysconfdir$ac_delim
5086
 
sharedstatedir!$sharedstatedir$ac_delim
5087
 
localstatedir!$localstatedir$ac_delim
5088
 
includedir!$includedir$ac_delim
5089
 
oldincludedir!$oldincludedir$ac_delim
5090
 
docdir!$docdir$ac_delim
5091
 
infodir!$infodir$ac_delim
5092
 
htmldir!$htmldir$ac_delim
5093
 
dvidir!$dvidir$ac_delim
5094
 
pdfdir!$pdfdir$ac_delim
5095
 
psdir!$psdir$ac_delim
5096
 
libdir!$libdir$ac_delim
5097
 
localedir!$localedir$ac_delim
5098
 
mandir!$mandir$ac_delim
5099
 
DEFS!$DEFS$ac_delim
5100
 
ECHO_C!$ECHO_C$ac_delim
5101
 
ECHO_N!$ECHO_N$ac_delim
5102
 
ECHO_T!$ECHO_T$ac_delim
5103
 
LIBS!$LIBS$ac_delim
5104
 
build_alias!$build_alias$ac_delim
5105
 
host_alias!$host_alias$ac_delim
5106
 
target_alias!$target_alias$ac_delim
5107
 
XML2_CONFIG!$XML2_CONFIG$ac_delim
5108
 
CC!$CC$ac_delim
5109
 
CFLAGS!$CFLAGS$ac_delim
5110
 
LDFLAGS!$LDFLAGS$ac_delim
5111
 
CPPFLAGS!$CPPFLAGS$ac_delim
5112
 
ac_ct_CC!$ac_ct_CC$ac_delim
5113
 
EXEEXT!$EXEEXT$ac_delim
5114
 
OBJEXT!$OBJEXT$ac_delim
5115
 
XML_CFLAGS!$XML_CFLAGS$ac_delim
5116
 
XML_LIBS!$XML_LIBS$ac_delim
5117
 
CPP!$CPP$ac_delim
5118
 
GREP!$GREP$ac_delim
5119
 
EGREP!$EGREP$ac_delim
5120
 
LIBXSL_INCLUDE!$LIBXSL_INCLUDE$ac_delim
5121
 
LIBDIR!$LIBDIR$ac_delim
5122
 
steam_sys_os!$steam_sys_os$ac_delim
5123
 
LDSHARED!$LDSHARED$ac_delim
5124
 
DIRS!$DIRS$ac_delim
5125
 
SET_MAKE!$SET_MAKE$ac_delim
5126
 
subdirs!$subdirs$ac_delim
5127
 
LIBOBJS!$LIBOBJS$ac_delim
5128
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
5129
 
_ACEOF
5130
 
 
5131
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 59; then
5132
 
    break
5133
 
  elif $ac_last_try; then
5134
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5135
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5136
 
   { (exit 1); exit 1; }; }
5137
 
  else
5138
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5139
 
  fi
5140
 
done
5141
 
 
5142
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5143
 
if test -n "$ac_eof"; then
5144
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5145
 
  ac_eof=`expr $ac_eof + 1`
5146
 
fi
5147
 
 
5148
 
cat >>$CONFIG_STATUS <<_ACEOF
5149
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5150
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5151
 
_ACEOF
5152
 
sed '
5153
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5154
 
s/^/s,@/; s/!/@,|#_!!_#|/
5155
 
:n
5156
 
t n
5157
 
s/'"$ac_delim"'$/,g/; t
5158
 
s/$/\\/; p
5159
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5160
 
' >>$CONFIG_STATUS <conf$$subs.sed
5161
 
rm -f conf$$subs.sed
5162
 
cat >>$CONFIG_STATUS <<_ACEOF
5163
 
:end
5164
 
s/|#_!!_#|//g
5165
 
CEOF$ac_eof
5166
 
_ACEOF
5167
 
 
5168
 
 
5169
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5170
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5171
 
# trailing colons and then remove the whole line if VPATH becomes empty
5172
 
# (actually we leave an empty line to preserve line numbers).
5173
 
if test "x$srcdir" = x.; then
5174
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5175
 
s/:*\$(srcdir):*/:/
5176
 
s/:*\${srcdir}:*/:/
5177
 
s/:*@srcdir@:*/:/
5178
 
s/^\([^=]*=[     ]*\):*/\1/
5179
 
s/:*$//
5180
 
s/^[^=]*=[       ]*$//
5181
 
}'
5182
 
fi
5183
 
 
5184
 
cat >>$CONFIG_STATUS <<\_ACEOF
5185
 
fi # test -n "$CONFIG_FILES"
5186
 
 
5187
 
 
5188
 
for ac_tag in  :F $CONFIG_FILES
5189
 
do
5190
 
  case $ac_tag in
5191
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
5192
 
  esac
5193
 
  case $ac_mode$ac_tag in
5194
 
  :[FHL]*:*);;
5195
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5196
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5197
 
   { (exit 1); exit 1; }; };;
5198
 
  :[FH]-) ac_tag=-:-;;
5199
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5200
 
  esac
5201
 
  ac_save_IFS=$IFS
5202
 
  IFS=:
5203
 
  set x $ac_tag
5204
 
  IFS=$ac_save_IFS
5205
 
  shift
5206
 
  ac_file=$1
5207
 
  shift
5208
 
 
5209
 
  case $ac_mode in
5210
 
  :L) ac_source=$1;;
5211
 
  :[FH])
5212
 
    ac_file_inputs=
5213
 
    for ac_f
5214
 
    do
5215
 
      case $ac_f in
5216
 
      -) ac_f="$tmp/stdin";;
5217
 
      *) # Look for the file first in the build tree, then in the source tree
5218
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
5219
 
         # because $ac_f cannot contain `:'.
5220
 
         test -f "$ac_f" ||
5221
 
           case $ac_f in
5222
 
           [\\/$]*) false;;
5223
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5224
 
           esac ||
5225
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5226
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5227
 
   { (exit 1); exit 1; }; };;
5228
 
      esac
5229
 
      ac_file_inputs="$ac_file_inputs $ac_f"
5230
 
    done
5231
 
 
5232
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5233
 
    # use $as_me), people would be surprised to read:
5234
 
    #    /* config.h.  Generated by config.status.  */
5235
 
    configure_input="Generated from "`IFS=:
5236
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5237
 
    if test x"$ac_file" != x-; then
5238
 
      configure_input="$ac_file.  $configure_input"
5239
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5240
 
echo "$as_me: creating $ac_file" >&6;}
5241
 
    fi
5242
 
 
5243
 
    case $ac_tag in
5244
 
    *:-:* | *:-) cat >"$tmp/stdin";;
5245
 
    esac
5246
 
    ;;
5247
 
  esac
5248
 
 
5249
 
  ac_dir=`$as_dirname -- "$ac_file" ||
5250
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5251
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5252
 
         X"$ac_file" : 'X\(//\)$' \| \
5253
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5254
 
echo X"$ac_file" |
5255
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5256
 
            s//\1/
5257
 
            q
5258
 
          }
5259
 
          /^X\(\/\/\)[^/].*/{
5260
 
            s//\1/
5261
 
            q
5262
 
          }
5263
 
          /^X\(\/\/\)$/{
5264
 
            s//\1/
5265
 
            q
5266
 
          }
5267
 
          /^X\(\/\).*/{
5268
 
            s//\1/
5269
 
            q
5270
 
          }
5271
 
          s/.*/./; q'`
5272
 
  { as_dir="$ac_dir"
5273
 
  case $as_dir in #(
5274
 
  -*) as_dir=./$as_dir;;
5275
 
  esac
5276
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5277
 
    as_dirs=
5278
 
    while :; do
5279
 
      case $as_dir in #(
5280
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5281
 
      *) as_qdir=$as_dir;;
5282
 
      esac
5283
 
      as_dirs="'$as_qdir' $as_dirs"
5284
 
      as_dir=`$as_dirname -- "$as_dir" ||
5285
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5286
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5287
 
         X"$as_dir" : 'X\(//\)$' \| \
5288
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5289
 
echo X"$as_dir" |
5290
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5291
 
            s//\1/
5292
 
            q
5293
 
          }
5294
 
          /^X\(\/\/\)[^/].*/{
5295
 
            s//\1/
5296
 
            q
5297
 
          }
5298
 
          /^X\(\/\/\)$/{
5299
 
            s//\1/
5300
 
            q
5301
 
          }
5302
 
          /^X\(\/\).*/{
5303
 
            s//\1/
5304
 
            q
5305
 
          }
5306
 
          s/.*/./; q'`
5307
 
      test -d "$as_dir" && break
5308
 
    done
5309
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5310
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5311
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5312
 
   { (exit 1); exit 1; }; }; }
5313
 
  ac_builddir=.
5314
 
 
5315
 
case "$ac_dir" in
5316
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5317
 
*)
5318
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5319
 
  # A ".." for each directory in $ac_dir_suffix.
5320
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5321
 
  case $ac_top_builddir_sub in
5322
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5323
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5324
 
  esac ;;
5325
 
esac
5326
 
ac_abs_top_builddir=$ac_pwd
5327
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5328
 
# for backward compatibility:
5329
 
ac_top_builddir=$ac_top_build_prefix
5330
 
 
5331
 
case $srcdir in
5332
 
  .)  # We are building in place.
5333
 
    ac_srcdir=.
5334
 
    ac_top_srcdir=$ac_top_builddir_sub
5335
 
    ac_abs_top_srcdir=$ac_pwd ;;
5336
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
5337
 
    ac_srcdir=$srcdir$ac_dir_suffix;
5338
 
    ac_top_srcdir=$srcdir
5339
 
    ac_abs_top_srcdir=$srcdir ;;
5340
 
  *) # Relative name.
5341
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5342
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
5343
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5344
 
esac
5345
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5346
 
 
5347
 
 
5348
 
  case $ac_mode in
5349
 
  :F)
5350
 
  #
5351
 
  # CONFIG_FILE
5352
 
  #
5353
 
 
5354
 
_ACEOF
5355
 
 
5356
 
cat >>$CONFIG_STATUS <<\_ACEOF
5357
 
# If the template does not know about datarootdir, expand it.
5358
 
# FIXME: This hack should be removed a few years after 2.60.
5359
 
ac_datarootdir_hack=; ac_datarootdir_seen=
5360
 
 
5361
 
case `sed -n '/datarootdir/ {
5362
 
  p
5363
 
  q
5364
 
}
5365
 
/@datadir@/p
5366
 
/@docdir@/p
5367
 
/@infodir@/p
5368
 
/@localedir@/p
5369
 
/@mandir@/p
5370
 
' $ac_file_inputs` in
5371
 
*datarootdir*) ac_datarootdir_seen=yes;;
5372
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5373
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5374
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5375
 
_ACEOF
5376
 
cat >>$CONFIG_STATUS <<_ACEOF
5377
 
  ac_datarootdir_hack='
5378
 
  s&@datadir@&$datadir&g
5379
 
  s&@docdir@&$docdir&g
5380
 
  s&@infodir@&$infodir&g
5381
 
  s&@localedir@&$localedir&g
5382
 
  s&@mandir@&$mandir&g
5383
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
5384
 
esac
5385
 
_ACEOF
5386
 
 
5387
 
# Neutralize VPATH when `$srcdir' = `.'.
5388
 
# Shell code in configure.ac might set extrasub.
5389
 
# FIXME: do we really want to maintain this feature?
5390
 
cat >>$CONFIG_STATUS <<_ACEOF
5391
 
  sed "$ac_vpsub
5392
 
$extrasub
5393
 
_ACEOF
5394
 
cat >>$CONFIG_STATUS <<\_ACEOF
5395
 
:t
5396
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5397
 
s&@configure_input@&$configure_input&;t t
5398
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
5399
 
s&@srcdir@&$ac_srcdir&;t t
5400
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5401
 
s&@top_srcdir@&$ac_top_srcdir&;t t
5402
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5403
 
s&@builddir@&$ac_builddir&;t t
5404
 
s&@abs_builddir@&$ac_abs_builddir&;t t
5405
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5406
 
$ac_datarootdir_hack
5407
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5408
 
 
5409
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5410
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5411
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5412
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5413
 
which seems to be undefined.  Please make sure it is defined." >&5
5414
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5415
 
which seems to be undefined.  Please make sure it is defined." >&2;}
5416
 
 
5417
 
  rm -f "$tmp/stdin"
5418
 
  case $ac_file in
5419
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
5420
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5421
 
  esac
5422
 
 ;;
5423
 
 
5424
 
 
5425
 
 
5426
 
  esac
5427
 
 
5428
 
done # for ac_tag
5429
 
 
5430
 
 
5431
 
{ (exit 0); exit 0; }
5432
 
_ACEOF
5433
 
chmod +x $CONFIG_STATUS
5434
 
ac_clean_files=$ac_clean_files_save
5435
 
 
5436
 
 
5437
 
# configure is writing to config.log, and then calls config.status.
5438
 
# config.status does its own redirection, appending to config.log.
5439
 
# Unfortunately, on DOS this fails, as config.log is still kept open
5440
 
# by configure, so config.status won't be able to write to it; its
5441
 
# output is simply discarded.  So we exec the FD to /dev/null,
5442
 
# effectively closing config.log, so it can be properly (re)opened and
5443
 
# appended to by config.status.  When coming back to configure, we
5444
 
# need to make the FD available again.
5445
 
if test "$no_create" != yes; then
5446
 
  ac_cs_success=:
5447
 
  ac_config_status_args=
5448
 
  test "$silent" = yes &&
5449
 
    ac_config_status_args="$ac_config_status_args --quiet"
5450
 
  exec 5>/dev/null
5451
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5452
 
  exec 5>>config.log
5453
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5454
 
  # would make configure fail if this is the last instruction.
5455
 
  $ac_cs_success || { (exit 1); exit 1; }
5456
 
fi
5457
 
 
5458
 
#
5459
 
# CONFIG_SUBDIRS section.
5460
 
#
5461
 
if test "$no_recursion" != yes; then
5462
 
 
5463
 
  # Remove --cache-file and --srcdir arguments so they do not pile up.
5464
 
  ac_sub_configure_args=
5465
 
  ac_prev=
5466
 
  eval "set x $ac_configure_args"
5467
 
  shift
5468
 
  for ac_arg
5469
 
  do
5470
 
    if test -n "$ac_prev"; then
5471
 
      ac_prev=
5472
 
      continue
5473
 
    fi
5474
 
    case $ac_arg in
5475
 
    -cache-file | --cache-file | --cache-fil | --cache-fi \
5476
 
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5477
 
      ac_prev=cache_file ;;
5478
 
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5479
 
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5480
 
    | --c=*)
5481
 
      ;;
5482
 
    --config-cache | -C)
5483
 
      ;;
5484
 
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5485
 
      ac_prev=srcdir ;;
5486
 
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5487
 
      ;;
5488
 
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5489
 
      ac_prev=prefix ;;
5490
 
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5491
 
      ;;
5492
 
    *)
5493
 
      case $ac_arg in
5494
 
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5495
 
      esac
5496
 
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
5497
 
    esac
5498
 
  done
5499
 
 
5500
 
  # Always prepend --prefix to ensure using the same prefix
5501
 
  # in subdir configurations.
5502
 
  ac_arg="--prefix=$prefix"
5503
 
  case $ac_arg in
5504
 
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5505
 
  esac
5506
 
  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
5507
 
 
5508
 
  ac_popdir=`pwd`
5509
 
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5510
 
 
5511
 
    # Do not complain, so a configure script can configure whichever
5512
 
    # parts of a large source tree are present.
5513
 
    test -d "$srcdir/$ac_dir" || continue
5514
 
 
5515
 
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5516
 
    echo "$as_me:$LINENO: $ac_msg" >&5
5517
 
    echo "$ac_msg" >&6
5518
 
    { as_dir="$ac_dir"
5519
 
  case $as_dir in #(
5520
 
  -*) as_dir=./$as_dir;;
5521
 
  esac
5522
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5523
 
    as_dirs=
5524
 
    while :; do
5525
 
      case $as_dir in #(
5526
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5527
 
      *) as_qdir=$as_dir;;
5528
 
      esac
5529
 
      as_dirs="'$as_qdir' $as_dirs"
5530
 
      as_dir=`$as_dirname -- "$as_dir" ||
5531
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5532
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5533
 
         X"$as_dir" : 'X\(//\)$' \| \
5534
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5535
 
echo X"$as_dir" |
5536
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5537
 
            s//\1/
5538
 
            q
5539
 
          }
5540
 
          /^X\(\/\/\)[^/].*/{
5541
 
            s//\1/
5542
 
            q
5543
 
          }
5544
 
          /^X\(\/\/\)$/{
5545
 
            s//\1/
5546
 
            q
5547
 
          }
5548
 
          /^X\(\/\).*/{
5549
 
            s//\1/
5550
 
            q
5551
 
          }
5552
 
          s/.*/./; q'`
5553
 
      test -d "$as_dir" && break
5554
 
    done
5555
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5556
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5557
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5558
 
   { (exit 1); exit 1; }; }; }
5559
 
    ac_builddir=.
5560
 
 
5561
 
case "$ac_dir" in
5562
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5563
 
*)
5564
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5565
 
  # A ".." for each directory in $ac_dir_suffix.
5566
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5567
 
  case $ac_top_builddir_sub in
5568
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5569
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5570
 
  esac ;;
5571
 
esac
5572
 
ac_abs_top_builddir=$ac_pwd
5573
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5574
 
# for backward compatibility:
5575
 
ac_top_builddir=$ac_top_build_prefix
5576
 
 
5577
 
case $srcdir in
5578
 
  .)  # We are building in place.
5579
 
    ac_srcdir=.
5580
 
    ac_top_srcdir=$ac_top_builddir_sub
5581
 
    ac_abs_top_srcdir=$ac_pwd ;;
5582
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
5583
 
    ac_srcdir=$srcdir$ac_dir_suffix;
5584
 
    ac_top_srcdir=$srcdir
5585
 
    ac_abs_top_srcdir=$srcdir ;;
5586
 
  *) # Relative name.
5587
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5588
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
5589
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5590
 
esac
5591
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5592
 
 
5593
 
 
5594
 
    cd "$ac_dir"
5595
 
 
5596
 
    # Check for guested configure; otherwise get Cygnus style configure.
5597
 
    if test -f "$ac_srcdir/configure.gnu"; then
5598
 
      ac_sub_configure=$ac_srcdir/configure.gnu
5599
 
    elif test -f "$ac_srcdir/configure"; then
5600
 
      ac_sub_configure=$ac_srcdir/configure
5601
 
    elif test -f "$ac_srcdir/configure.in"; then
5602
 
      # This should be Cygnus configure.
5603
 
      ac_sub_configure=$ac_aux_dir/configure
5604
 
    else
5605
 
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5606
 
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5607
 
      ac_sub_configure=
5608
 
    fi
5609
 
 
5610
 
    # The recursion is here.
5611
 
    if test -n "$ac_sub_configure"; then
5612
 
      # Make the cache file name correct relative to the subdirectory.
5613
 
      case $cache_file in
5614
 
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5615
 
      *) # Relative name.
5616
 
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5617
 
      esac
5618
 
 
5619
 
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5620
 
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5621
 
      # The eval makes quoting arguments work.
5622
 
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5623
 
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5624
 
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5625
 
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5626
 
   { (exit 1); exit 1; }; }
5627
 
    fi
5628
 
 
5629
 
    cd "$ac_popdir"
5630
 
  done
5631
 
fi
5632
 
 
5633