~ubuntu-branches/ubuntu/raring/binkd/raring

« back to all changes in this revision

Viewing changes to mkfls/unix/configure

  • Committer: Bazaar Package Importer
  • Author(s): Marco d'Itri
  • Date: 2006-08-25 19:50:50 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060825195050-ljt6glswfvxvsyjp
Tags: 0.9.9+20060809-1
* New upstream snapshot.
* I AM LOOKING FOR A CO-MAINTAINER!

Show diffs side-by-side

added added

removed removed

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