~ubuntu-branches/ubuntu/lucid/eject/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Frank Lichtenheld
  • Date: 2006-09-28 14:30:45 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060928143045-l2bsrc7zu442idt8
Tags: 2.1.4-3
* Acknowledge NMU (Closes: #375536)
* Urgency high to give the thing a chance to make it for
  d-i RC2
* debian/po/gl.po: Add translation by Jacobo Tarrio.
  (Closes: #405402)
* po/pt_BR.po, po/cs_CZ.po, po/tr_TR.po: Add new and
  updated translations from 2.1.5
* debian/copyright: Update URL of project homepage.

Show diffs side-by-side

added added

removed removed

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