~ubuntu-branches/ubuntu/trusty/isdnutils/trusty

« back to all changes in this revision

Viewing changes to capifax/configure

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2013-11-15 00:02:58 UTC
  • mfrom: (1.1.8) (31.1.1 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131115000258-tt9v3gasgrdml07k
Tags: 1:3.25+dfsg1-3.3ubuntu1
* Merge from Debian unstable:
  - resolves licensing issues with package contents.  LP: #511988.
  - includes proper upstream fix for ipppd on ARM.  LP: #453159.
  - resolves isdnutils-base removal failures.  LP: #813771.
  - fixes capiutils init script to not try to mount obsolete capifs.
    LP: #1064347.
* Remaining changes:
  - Switch libreadline5-dev to libreadline-gplv2-dev since this package
    appears to be GPLv2
  - debian/patches/no-imake.patch: Don't build xisdnload/xmonisdn using
    xmkmf/imake.  This patch was dropped in Debian without explanation;
    it still applies and seems to still be a good idea for eventual
    upstreaming, since imake is quite obsolete.
  - capi.conf: Fix typo for fcdsl2 firmware. LP: #189132.
  - Remove dependencies on /etc/inittab.
    - Disable the installation code to modify /etc/inittab.
    - isdnutils-base: Add ttyI0 example script, which needs to be installed
      in /etc/event.d/ttyI0.
    - isdnvboxserver: Add ttyI1 example script, which needs to be installed
      in /etc/event.d/ttyI1.
    - The two upstart scripts need to be edited.
    - Further improvements and documentation welcome.
* Changes included in Debian:
  - replace calls to ./MAKEDEV with /sbin/MAKEDEV
  - Build-depend on ppp-dev.
  - Switch to newer tcl -dev.
  - update to newer automake
  - debian/rules: use autoreconf to update the autotools in the capi20
    directory
  - debian/{compat,rules,*.files,.dirs}: Convert to Multi-arch.
  - debian/libcapi20-dev.install: Remove .la files (no builds use them).
* Changes included upstream:
  - fix for ARM FTBFS.
  - fix bashisms in vboxplay.
  - debian/patches/{config_libdir,toplevel-make}.patch: add CONFIG_LIBDIR
    override to upstream build system to support Multi-arch.
* Dropped changes:
  - kick dpatch to the curb.
* Handle migrating the blacklist file from
  /etc/modprobe.d/blacklist-capiutils.conf to the path used in Debian,
  /etc/modprobe.d/capiutils.conf.
* Handle rename of /etc/ppp/ip-down.d/99-ipppd and /etc/ppp/ip-up.d/00-ipppd
  to /etc/ppp/ip-down.d/ipppd and /etc/ppp/ip-up.d/ipppd
* Handle rename of /etc/init.d/isdnutils to /etc/init.d/isdnutils-base
* Restore standard.tcl to /usr/share/isdnvboxserver/default; maintainer
  scripts must not depend on contents of /usr/share/doc.
* Apply patches that were preserved in the 3.0 (quilt) migration, but
  were inadvertently not applied:
  - debian/patches/capifax.additional_error_codes.patch
  - debian/patches/capifax.3_1kHz_audio.patch
* Drop debian/isdnutils-base.cron.d, which isn't a cronjob example at all
  but an inittab example gone astray.
* debian/dotconfig*: don't use embedded quotes for paths; this confuses
  vbox's Makefiles something fierce, and causes files to be missed from
  debian/tmp'/usr/share/man/' at install time.
* Fix isdnlog and ipppd to not ship files used in the postinst under
  /usr/share/doc.
* Modernize the upstart examples.

Show diffs side-by-side

added added

removed removed

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