~ubuntu-branches/ubuntu/natty/amavisd-new/natty

« back to all changes in this revision

Viewing changes to helper-progs/configure

  • Committer: Bazaar Package Importer
  • Author(s): Christian Perrier
  • Date: 2007-02-24 19:27:53 UTC
  • mfrom: (3.1.7 feisty)
  • Revision ID: james.westby@ubuntu.com-20070224192753-fvvima53q1jrp34x
Tags: 1:2.4.2-6.1
* Non-maintainer upload to fix pending l10n issues.
* Debconf translations
  - Remove extra debian/po/de.po~
  - Convert all translation files to UTF-8
  - Russian. Closes: #405243
  - Spanish. Closes: #408734
  - Italian. Closes: #409831
* Add very simple LSB headers to init scripts

Show diffs side-by-side

added added

removed removed

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