~ubuntu-branches/ubuntu/natty/centerim/natty

« back to all changes in this revision

Viewing changes to kkconsui/configure

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-03-26 19:51:53 UTC
  • mfrom: (1.1.5 upstream) (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090326195153-dxo63t1lwbp2m592
Tags: 4.22.7-1ubuntu1
* Merge from debian unstable, Ubuntu remaining changes:
  - Packages that Depend/Recommend/Suggest firefox (metapackage) must
    must alternatively Depend/Recommend/Suggest abrowser.
* Bugfix-only release, fixed bugs: LP: #146308 and LP: #186381.

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