~ubuntu-branches/debian/stretch/dropbear/stretch

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2013-10-25 15:00:48 UTC
  • mfrom: (1.4.6)
  • Revision ID: package-import@ubuntu.com-20131025150048-3jq765x96xayk392
Tags: 2013.60-1
[ Matt Johnston ]
* New upstream release.

[ Gerrit Pape ]
* debian/diff/0004-cve-2013-4421.diff, 0005-user-disclosure.diff:
  remove; fixed upstream.
* debian/dropbear.postinst: don't fail if initramfs-tools it not
  installed (closes: #692653).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
4
 
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.69.
 
4
#
 
5
#
 
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
7
#
 
8
#
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
12
14
 
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
18
  emulate sh
17
19
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
21
  # is contrary to our usage.  Disable this feature.
20
22
  alias -g '${1+"$@"}'='"$@"'
21
23
  setopt NO_GLOB_SUBST
22
24
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
25
30
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in #(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
39
71
 
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
58
79
fi
59
80
 
60
81
 
63
84
# there to prevent editors from complaining about space-tab.
64
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
86
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
87
IFS=" ""        $as_nl"
69
88
 
70
89
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
 
90
as_myself=
 
91
case $0 in #((
72
92
  *[\\/]* ) as_myself=$0 ;;
73
93
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
94
for as_dir in $PATH
75
95
do
76
96
  IFS=$as_save_IFS
77
97
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
 
98
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
99
  done
80
100
IFS=$as_save_IFS
81
101
 
82
102
     ;;
87
107
  as_myself=$0
88
108
fi
89
109
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
 
110
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
111
  exit 1
92
112
fi
93
113
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
114
# Unset variables that we do not need and which cause bugs (e.g. in
 
115
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
116
# suppresses any "Segmentation fault" message there.  '((' could
 
117
# trigger a bug in pdksh 5.2.14.
 
118
for as_var in BASH_ENV ENV MAIL MAILPATH
 
119
do eval test x\${$as_var+set} = xset \
 
120
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97
121
done
98
122
PS1='$ '
99
123
PS2='> '
100
124
PS4='+ '
101
125
 
102
126
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
 
127
LC_ALL=C
 
128
export LC_ALL
 
129
LANGUAGE=C
 
130
export LANGUAGE
149
131
 
150
132
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
 
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
134
 
 
135
# Use a proper internal environment variable to ensure we don't fall
 
136
  # into an infinite loop, continuously re-executing ourselves.
 
137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
138
    _as_can_reexec=no; export _as_can_reexec;
 
139
    # We cannot yet assume a decent shell, so we have to provide a
 
140
# neutralization value for shells without unset; and this also
 
141
# works around shells that cannot unset nonexistent variables.
 
142
# Preserve -v and -x to the replacement shell.
 
143
BASH_ENV=/dev/null
 
144
ENV=/dev/null
 
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
146
case $- in # ((((
 
147
  *v*x* | *x*v* ) as_opts=-vx ;;
 
148
  *v* ) as_opts=-v ;;
 
149
  *x* ) as_opts=-x ;;
 
150
  * ) as_opts= ;;
 
151
esac
 
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
153
# Admittedly, this is quite paranoid, since all the known shells bail
 
154
# out after a failed `exec'.
 
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
156
as_fn_exit 255
 
157
  fi
 
158
  # We don't want this to propagate to other subprocesses.
 
159
          { _as_can_reexec=; unset _as_can_reexec;}
154
160
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
 
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
162
  emulate sh
 
163
  NULLCMD=:
 
164
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
165
  # is contrary to our usage.  Disable this feature.
 
166
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
167
  setopt NO_GLOB_SUBST
 
168
else
 
169
  case \`(set -o) 2>/dev/null\` in #(
 
170
  *posix*) :
 
171
    set -o posix ;; #(
 
172
  *) :
 
173
     ;;
 
174
esac
 
175
fi
 
176
"
 
177
  as_required="as_fn_return () { (exit \$1); }
 
178
as_fn_success () { as_fn_return 0; }
 
179
as_fn_failure () { as_fn_return 1; }
 
180
as_fn_ret_success () { return 0; }
 
181
as_fn_ret_failure () { return 1; }
 
182
 
 
183
exitcode=0
 
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
189
 
 
190
else
 
191
  exitcode=1; echo positional parameters were not saved.
 
192
fi
 
193
test x\$exitcode = x0 || exit 1
 
194
test -x / || exit 1"
 
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
198
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
199
test \$(( 1 + 1 )) = 2 || exit 1"
 
200
  if (eval "$as_required") 2>/dev/null; then :
156
201
  as_have_required=yes
157
202
else
158
203
  as_have_required=no
159
204
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
205
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
206
 
 
207
else
 
208
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
209
as_found=false
222
210
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
211
do
224
212
  IFS=$as_save_IFS
225
213
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
214
  as_found=:
 
215
  case $as_dir in #(
227
216
         /*)
228
217
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
218
             # Try only shells that exist, to save several forks.
 
219
             as_shell=$as_dir/$as_base
 
220
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
221
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
222
  CONFIG_SHELL=$as_shell as_have_required=yes
 
223
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
224
  break 2
 
225
fi
 
226
fi
230
227
           done;;
231
228
       esac
 
229
  as_found=false
232
230
done
 
231
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
232
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
233
  CONFIG_SHELL=$SHELL as_have_required=yes
 
234
fi; }
233
235
IFS=$as_save_IFS
234
236
 
235
237
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
238
      if test "x$CONFIG_SHELL" != x; then :
 
239
  export CONFIG_SHELL
 
240
             # We cannot yet assume a decent shell, so we have to provide a
 
241
# neutralization value for shells without unset; and this also
 
242
# works around shells that cannot unset nonexistent variables.
 
243
# Preserve -v and -x to the replacement shell.
 
244
BASH_ENV=/dev/null
 
245
ENV=/dev/null
 
246
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
247
case $- in # ((((
 
248
  *v*x* | *x*v* ) as_opts=-vx ;;
 
249
  *v* ) as_opts=-v ;;
 
250
  *x* ) as_opts=-x ;;
 
251
  * ) as_opts= ;;
 
252
esac
 
253
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
254
# Admittedly, this is quite paranoid, since all the known shells bail
 
255
# out after a failed `exec'.
 
256
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
257
exit 255
 
258
fi
 
259
 
 
260
    if test x$as_have_required = xno; then :
 
261
  $as_echo "$0: This script requires a shell more modern than all"
 
262
  $as_echo "$0: the shells that I found on your system."
 
263
  if test x${ZSH_VERSION+set} = xset ; then
 
264
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
265
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
266
  else
 
267
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
268
$0: including any error possibly output before this
 
269
$0: message. Then install a modern shell, or manually run
 
270
$0: the script under such a shell if you do have one."
 
271
  fi
 
272
  exit 1
 
273
fi
 
274
fi
 
275
fi
 
276
SHELL=${CONFIG_SHELL-/bin/sh}
 
277
export SHELL
 
278
# Unset more variables known to interfere with behavior of common tools.
 
279
CLICOLOR_FORCE= GREP_OPTIONS=
 
280
unset CLICOLOR_FORCE GREP_OPTIONS
 
281
 
 
282
## --------------------- ##
 
283
## M4sh Shell Functions. ##
 
284
## --------------------- ##
 
285
# as_fn_unset VAR
 
286
# ---------------
 
287
# Portably unset VAR.
 
288
as_fn_unset ()
 
289
{
 
290
  { eval $1=; unset $1;}
 
291
}
 
292
as_unset=as_fn_unset
 
293
 
 
294
# as_fn_set_status STATUS
 
295
# -----------------------
 
296
# Set $? to STATUS, without forking.
 
297
as_fn_set_status ()
 
298
{
 
299
  return $1
 
300
} # as_fn_set_status
 
301
 
 
302
# as_fn_exit STATUS
 
303
# -----------------
 
304
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
305
as_fn_exit ()
 
306
{
 
307
  set +e
 
308
  as_fn_set_status $1
 
309
  exit $1
 
310
} # as_fn_exit
 
311
 
 
312
# as_fn_mkdir_p
 
313
# -------------
 
314
# Create "$as_dir" as a directory, including parents if necessary.
 
315
as_fn_mkdir_p ()
 
316
{
 
317
 
 
318
  case $as_dir in #(
 
319
  -*) as_dir=./$as_dir;;
 
320
  esac
 
321
  test -d "$as_dir" || eval $as_mkdir_p || {
 
322
    as_dirs=
 
323
    while :; do
 
324
      case $as_dir in #(
 
325
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
326
      *) as_qdir=$as_dir;;
 
327
      esac
 
328
      as_dirs="'$as_qdir' $as_dirs"
 
329
      as_dir=`$as_dirname -- "$as_dir" ||
 
330
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
331
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
332
         X"$as_dir" : 'X\(//\)$' \| \
 
333
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
334
$as_echo X"$as_dir" |
 
335
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
336
            s//\1/
 
337
            q
 
338
          }
 
339
          /^X\(\/\/\)[^/].*/{
 
340
            s//\1/
 
341
            q
 
342
          }
 
343
          /^X\(\/\/\)$/{
 
344
            s//\1/
 
345
            q
 
346
          }
 
347
          /^X\(\/\).*/{
 
348
            s//\1/
 
349
            q
 
350
          }
 
351
          s/.*/./; q'`
 
352
      test -d "$as_dir" && break
 
353
    done
 
354
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
355
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
356
 
 
357
 
 
358
} # as_fn_mkdir_p
 
359
 
 
360
# as_fn_executable_p FILE
 
361
# -----------------------
 
362
# Test if FILE is an executable regular file.
 
363
as_fn_executable_p ()
 
364
{
 
365
  test -f "$1" && test -x "$1"
 
366
} # as_fn_executable_p
 
367
# as_fn_append VAR VALUE
 
368
# ----------------------
 
369
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
370
# advantage of any shell optimizations that allow amortized linear growth over
 
371
# repeated appends, instead of the typical quadratic growth present in naive
 
372
# implementations.
 
373
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
374
  eval 'as_fn_append ()
 
375
  {
 
376
    eval $1+=\$2
 
377
  }'
 
378
else
 
379
  as_fn_append ()
 
380
  {
 
381
    eval $1=\$$1\$2
 
382
  }
 
383
fi # as_fn_append
 
384
 
 
385
# as_fn_arith ARG...
 
386
# ------------------
 
387
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
388
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
389
# must be portable across $(()) and expr.
 
390
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
391
  eval 'as_fn_arith ()
 
392
  {
 
393
    as_val=$(( $* ))
 
394
  }'
 
395
else
 
396
  as_fn_arith ()
 
397
  {
 
398
    as_val=`expr "$@" || test $? -eq 1`
 
399
  }
 
400
fi # as_fn_arith
 
401
 
 
402
 
 
403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
404
# ----------------------------------------
 
405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
407
# script with STATUS, using 1 if that was 0.
 
408
as_fn_error ()
 
409
{
 
410
  as_status=$1; test $as_status -eq 0 && as_status=1
 
411
  if test "$4"; then
 
412
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
413
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
414
  fi
 
415
  $as_echo "$as_me: error: $2" >&2
 
416
  as_fn_exit $as_status
 
417
} # as_fn_error
 
418
 
 
419
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
420
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
421
  as_expr=expr
 
422
else
 
423
  as_expr=false
 
424
fi
 
425
 
 
426
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
427
  as_basename=basename
 
428
else
 
429
  as_basename=false
 
430
fi
 
431
 
 
432
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
433
  as_dirname=dirname
 
434
else
 
435
  as_dirname=false
 
436
fi
 
437
 
 
438
as_me=`$as_basename -- "$0" ||
 
439
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
440
         X"$0" : 'X\(//\)$' \| \
 
441
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
442
$as_echo X/"$0" |
 
443
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
444
            s//\1/
 
445
            q
 
446
          }
 
447
          /^X\/\(\/\/\)$/{
 
448
            s//\1/
 
449
            q
 
450
          }
 
451
          /^X\/\(\/\).*/{
 
452
            s//\1/
 
453
            q
 
454
          }
 
455
          s/.*/./; q'`
 
456
 
 
457
# Avoid depending upon Character Ranges.
 
458
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
459
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
460
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
461
as_cr_digits='0123456789'
 
462
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
463
 
 
464
 
 
465
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
466
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
467
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
468
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
469
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438
470
  sed -n '
439
471
    p
440
472
    /[$]LINENO/=
451
483
      s/-\n.*//
452
484
    ' >$as_me.lineno &&
453
485
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
 
486
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
487
 
 
488
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
489
  # already done that, so ensure we don't try to do so again and fall
 
490
  # in an infinite loop.  This has already happened in practice.
 
491
  _as_can_reexec=no; export _as_can_reexec
457
492
  # Don't try to exec as it changes $[0], causing all sort of problems
458
493
  # (the dirname of $[0] is not the place where we might find the
459
494
  # original and so on.  Autoconf is especially sensitive to this).
462
497
  exit
463
498
}
464
499
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
500
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
 
501
case `echo -n x` in #(((((
474
502
-n*)
475
 
  case `echo 'x\c'` in
 
503
  case `echo 'xy\c'` in
476
504
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
 
505
  xy)  ECHO_C='\c';;
 
506
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
507
       ECHO_T=' ';;
478
508
  esac;;
479
509
*)
480
510
  ECHO_N='-n';;
481
511
esac
482
512
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
513
rm -f conf$$ conf$$.exe conf$$.file
491
514
if test -d conf$$.dir; then
492
515
  rm -f conf$$.dir/conf$$.file
493
516
else
494
517
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
518
  mkdir conf$$.dir 2>/dev/null
496
519
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
 
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
520
if (echo >conf$$.file) 2>/dev/null; then
 
521
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
522
    as_ln_s='ln -s'
 
523
    # ... but there are two gotchas:
 
524
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
525
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
526
    # In both cases, we have to default to `cp -pR'.
 
527
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
528
      as_ln_s='cp -pR'
 
529
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
530
    as_ln_s=ln
 
531
  else
 
532
    as_ln_s='cp -pR'
 
533
  fi
508
534
else
509
 
  as_ln_s='cp -p'
 
535
  as_ln_s='cp -pR'
510
536
fi
511
537
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
538
rmdir conf$$.dir 2>/dev/null
513
539
 
514
540
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
 
541
  as_mkdir_p='mkdir -p "$as_dir"'
516
542
else
517
543
  test -d ./-p && rmdir ./-p
518
544
  as_mkdir_p=false
519
545
fi
520
546
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
 
547
as_test_x='test -x'
 
548
as_executable_p=as_fn_executable_p
543
549
 
544
550
# Sed expression to map a string onto a valid CPP name.
545
551
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
554
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
555
 
550
556
 
551
 
 
552
 
exec 7<&0 </dev/null 6>&1
 
557
test -n "$DJDIR" || exec 7<&0 </dev/null
 
558
exec 6>&1
553
559
 
554
560
# Name of the host.
555
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
561
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556
562
# so uname gets run too.
557
563
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
564
 
567
573
subdirs=
568
574
MFLAGS=
569
575
MAKEFLAGS=
570
 
SHELL=${CONFIG_SHELL-/bin/sh}
571
576
 
572
577
# Identity of this package.
573
578
PACKAGE_NAME=
575
580
PACKAGE_VERSION=
576
581
PACKAGE_STRING=
577
582
PACKAGE_BUGREPORT=
 
583
PACKAGE_URL=
578
584
 
579
585
ac_unique_file="buffer.c"
580
586
# Factoring default headers for most tests.
613
619
# include <unistd.h>
614
620
#endif"
615
621
 
616
 
ac_subst_vars='SHELL
 
622
ac_subst_vars='LTLIBOBJS
 
623
LIBOBJS
 
624
BUNDLED_LIBTOM
 
625
CRYPTLIB
 
626
EGREP
 
627
GREP
 
628
CPP
 
629
INSTALL
 
630
STRIP
 
631
RANLIB
 
632
AR
 
633
host_os
 
634
host_vendor
 
635
host_cpu
 
636
host
 
637
build_os
 
638
build_vendor
 
639
build_cpu
 
640
build
 
641
LD
 
642
SET_MAKE
 
643
OBJEXT
 
644
EXEEXT
 
645
ac_ct_CC
 
646
CPPFLAGS
 
647
LDFLAGS
 
648
CFLAGS
 
649
CC
 
650
target_alias
 
651
host_alias
 
652
build_alias
 
653
LIBS
 
654
ECHO_T
 
655
ECHO_N
 
656
ECHO_C
 
657
DEFS
 
658
mandir
 
659
localedir
 
660
libdir
 
661
psdir
 
662
pdfdir
 
663
dvidir
 
664
htmldir
 
665
infodir
 
666
docdir
 
667
oldincludedir
 
668
includedir
 
669
localstatedir
 
670
sharedstatedir
 
671
sysconfdir
 
672
datadir
 
673
datarootdir
 
674
libexecdir
 
675
sbindir
 
676
bindir
 
677
program_transform_name
 
678
prefix
 
679
exec_prefix
 
680
PACKAGE_URL
 
681
PACKAGE_BUGREPORT
 
682
PACKAGE_STRING
 
683
PACKAGE_VERSION
 
684
PACKAGE_TARNAME
 
685
PACKAGE_NAME
617
686
PATH_SEPARATOR
618
 
PACKAGE_NAME
619
 
PACKAGE_TARNAME
620
 
PACKAGE_VERSION
621
 
PACKAGE_STRING
622
 
PACKAGE_BUGREPORT
623
 
exec_prefix
624
 
prefix
625
 
program_transform_name
626
 
bindir
627
 
sbindir
628
 
libexecdir
629
 
datarootdir
630
 
datadir
631
 
sysconfdir
632
 
sharedstatedir
633
 
localstatedir
634
 
includedir
635
 
oldincludedir
636
 
docdir
637
 
infodir
638
 
htmldir
639
 
dvidir
640
 
pdfdir
641
 
psdir
642
 
libdir
643
 
localedir
644
 
mandir
645
 
DEFS
646
 
ECHO_C
647
 
ECHO_N
648
 
ECHO_T
649
 
LIBS
650
 
build_alias
651
 
host_alias
652
 
target_alias
653
 
CC
654
 
CFLAGS
655
 
LDFLAGS
656
 
CPPFLAGS
657
 
ac_ct_CC
658
 
EXEEXT
659
 
OBJEXT
660
 
SET_MAKE
661
 
LD
662
 
build
663
 
build_cpu
664
 
build_vendor
665
 
build_os
666
 
host
667
 
host_cpu
668
 
host_vendor
669
 
host_os
670
 
AR
671
 
RANLIB
672
 
STRIP
673
 
INSTALL
674
 
CPP
675
 
GREP
676
 
EGREP
677
 
CRYPTLIB
678
 
BUNDLED_LIBTOM
679
 
LIBOBJS
680
 
LTLIBOBJS'
 
687
SHELL'
681
688
ac_subst_files=''
 
689
ac_user_opts='
 
690
enable_option_checking
 
691
enable_largefile
 
692
with_zlib
 
693
enable_zlib
 
694
with_pam
 
695
enable_pam
 
696
enable_openpty
 
697
enable_syslog
 
698
enable_shadow
 
699
enable_bundled_libtom
 
700
enable_lastlog
 
701
enable_utmp
 
702
enable_utmpx
 
703
enable_wtmp
 
704
enable_wtmpx
 
705
enable_loginfunc
 
706
enable_pututline
 
707
enable_pututxline
 
708
with_lastlog
 
709
'
682
710
      ac_precious_vars='build_alias
683
711
host_alias
684
712
target_alias
693
721
# Initialize some variables set by options.
694
722
ac_init_help=
695
723
ac_init_version=false
 
724
ac_unrecognized_opts=
 
725
ac_unrecognized_sep=
696
726
# The variables have the same names as the options, with
697
727
# dashes changed to underlines.
698
728
cache_file=/dev/null
748
778
  fi
749
779
 
750
780
  case $ac_option in
751
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752
 
  *)    ac_optarg=yes ;;
 
781
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
782
  *=)   ac_optarg= ;;
 
783
  *)    ac_optarg=yes ;;
753
784
  esac
754
785
 
755
786
  # Accept the important Cygnus configure options, so we can diagnose typos.
791
822
    datarootdir=$ac_optarg ;;
792
823
 
793
824
  -disable-* | --disable-*)
794
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
825
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795
826
    # Reject names that are not valid shell variable names.
796
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
798
 
   { (exit 1); exit 1; }; }
799
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
800
 
    eval enable_$ac_feature=no ;;
 
827
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
828
      as_fn_error $? "invalid feature name: $ac_useropt"
 
829
    ac_useropt_orig=$ac_useropt
 
830
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
831
    case $ac_user_opts in
 
832
      *"
 
833
"enable_$ac_useropt"
 
834
"*) ;;
 
835
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
836
         ac_unrecognized_sep=', ';;
 
837
    esac
 
838
    eval enable_$ac_useropt=no ;;
801
839
 
802
840
  -docdir | --docdir | --docdi | --doc | --do)
803
841
    ac_prev=docdir ;;
810
848
    dvidir=$ac_optarg ;;
811
849
 
812
850
  -enable-* | --enable-*)
813
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
851
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814
852
    # Reject names that are not valid shell variable names.
815
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817
 
   { (exit 1); exit 1; }; }
818
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
819
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
853
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
854
      as_fn_error $? "invalid feature name: $ac_useropt"
 
855
    ac_useropt_orig=$ac_useropt
 
856
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
857
    case $ac_user_opts in
 
858
      *"
 
859
"enable_$ac_useropt"
 
860
"*) ;;
 
861
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
862
         ac_unrecognized_sep=', ';;
 
863
    esac
 
864
    eval enable_$ac_useropt=\$ac_optarg ;;
820
865
 
821
866
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822
867
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1007
1052
    ac_init_version=: ;;
1008
1053
 
1009
1054
  -with-* | --with-*)
1010
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1055
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011
1056
    # Reject names that are not valid shell variable names.
1012
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1014
 
   { (exit 1); exit 1; }; }
1015
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1016
 
    eval with_$ac_package=\$ac_optarg ;;
 
1057
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1058
      as_fn_error $? "invalid package name: $ac_useropt"
 
1059
    ac_useropt_orig=$ac_useropt
 
1060
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1061
    case $ac_user_opts in
 
1062
      *"
 
1063
"with_$ac_useropt"
 
1064
"*) ;;
 
1065
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1066
         ac_unrecognized_sep=', ';;
 
1067
    esac
 
1068
    eval with_$ac_useropt=\$ac_optarg ;;
1017
1069
 
1018
1070
  -without-* | --without-*)
1019
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1071
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020
1072
    # Reject names that are not valid shell variable names.
1021
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1023
 
   { (exit 1); exit 1; }; }
1024
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1025
 
    eval with_$ac_package=no ;;
 
1073
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1074
      as_fn_error $? "invalid package name: $ac_useropt"
 
1075
    ac_useropt_orig=$ac_useropt
 
1076
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1077
    case $ac_user_opts in
 
1078
      *"
 
1079
"with_$ac_useropt"
 
1080
"*) ;;
 
1081
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1082
         ac_unrecognized_sep=', ';;
 
1083
    esac
 
1084
    eval with_$ac_useropt=no ;;
1026
1085
 
1027
1086
  --x)
1028
1087
    # Obsolete; use --with-x.
1042
1101
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043
1102
    x_libraries=$ac_optarg ;;
1044
1103
 
1045
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1046
 
Try \`$0 --help' for more information." >&2
1047
 
   { (exit 1); exit 1; }; }
 
1104
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1105
Try \`$0 --help' for more information"
1048
1106
    ;;
1049
1107
 
1050
1108
  *=*)
1051
1109
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1052
1110
    # Reject names that are not valid shell variable names.
1053
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1054
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1055
 
   { (exit 1); exit 1; }; }
 
1111
    case $ac_envvar in #(
 
1112
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1113
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1114
    esac
1056
1115
    eval $ac_envvar=\$ac_optarg
1057
1116
    export $ac_envvar ;;
1058
1117
 
1059
1118
  *)
1060
1119
    # FIXME: should be removed in autoconf 3.0.
1061
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1120
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062
1121
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1122
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1123
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1065
1124
    ;;
1066
1125
 
1067
1126
  esac
1069
1128
 
1070
1129
if test -n "$ac_prev"; then
1071
1130
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1073
 
   { (exit 1); exit 1; }; }
1074
 
fi
1075
 
 
1076
 
# Be sure to have absolute directory names.
 
1131
  as_fn_error $? "missing argument to $ac_option"
 
1132
fi
 
1133
 
 
1134
if test -n "$ac_unrecognized_opts"; then
 
1135
  case $enable_option_checking in
 
1136
    no) ;;
 
1137
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1138
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1139
  esac
 
1140
fi
 
1141
 
 
1142
# Check all directory arguments for consistency.
1077
1143
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1078
1144
                datadir sysconfdir sharedstatedir localstatedir includedir \
1079
1145
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1080
1146
                libdir localedir mandir
1081
1147
do
1082
1148
  eval ac_val=\$$ac_var
 
1149
  # Remove trailing slashes.
 
1150
  case $ac_val in
 
1151
    */ )
 
1152
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1153
      eval $ac_var=\$ac_val;;
 
1154
  esac
 
1155
  # Be sure to have absolute directory names.
1083
1156
  case $ac_val in
1084
1157
    [\\/$]* | ?:[\\/]* )  continue;;
1085
1158
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1086
1159
  esac
1087
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1088
 
   { (exit 1); exit 1; }; }
 
1160
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1089
1161
done
1090
1162
 
1091
1163
# There might be people who depend on the old broken behavior: `$host'
1099
1171
if test "x$host_alias" != x; then
1100
1172
  if test "x$build_alias" = x; then
1101
1173
    cross_compiling=maybe
1102
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1103
 
    If a cross compiler is detected then cross compile mode will be used." >&2
1104
1174
  elif test "x$build_alias" != "x$host_alias"; then
1105
1175
    cross_compiling=yes
1106
1176
  fi
1115
1185
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1116
1186
ac_ls_di=`ls -di .` &&
1117
1187
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1118
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1119
 
   { (exit 1); exit 1; }; }
 
1188
  as_fn_error $? "working directory cannot be determined"
1120
1189
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1121
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1122
 
   { (exit 1); exit 1; }; }
 
1190
  as_fn_error $? "pwd does not report name of working directory"
1123
1191
 
1124
1192
 
1125
1193
# Find the source files, if location was not specified.
1126
1194
if test -z "$srcdir"; then
1127
1195
  ac_srcdir_defaulted=yes
1128
1196
  # Try the directory containing this script, then the parent directory.
1129
 
  ac_confdir=`$as_dirname -- "$0" ||
1130
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1131
 
         X"$0" : 'X\(//\)[^/]' \| \
1132
 
         X"$0" : 'X\(//\)$' \| \
1133
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1134
 
echo X"$0" |
 
1197
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1198
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1199
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1200
         X"$as_myself" : 'X\(//\)$' \| \
 
1201
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1202
$as_echo X"$as_myself" |
1135
1203
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1136
1204
            s//\1/
1137
1205
            q
1158
1226
fi
1159
1227
if test ! -r "$srcdir/$ac_unique_file"; then
1160
1228
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1161
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1162
 
   { (exit 1); exit 1; }; }
 
1229
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1163
1230
fi
1164
1231
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165
1232
ac_abs_confdir=`(
1166
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1167
 
   { (exit 1); exit 1; }; }
 
1233
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1168
1234
        pwd)`
1169
1235
# When building in place, set srcdir=.
1170
1236
if test "$ac_abs_confdir" = "$ac_pwd"; then
1204
1270
      --help=short        display options specific to this package
1205
1271
      --help=recursive    display the short help of all the included packages
1206
1272
  -V, --version           display version information and exit
1207
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1273
  -q, --quiet, --silent   do not print \`checking ...' messages
1208
1274
      --cache-file=FILE   cache test results in FILE [disabled]
1209
1275
  -C, --config-cache      alias for \`--cache-file=config.cache'
1210
1276
  -n, --no-create         do not create output files
1212
1278
 
1213
1279
Installation directories:
1214
1280
  --prefix=PREFIX         install architecture-independent files in PREFIX
1215
 
                          [$ac_default_prefix]
 
1281
                          [$ac_default_prefix]
1216
1282
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1217
 
                          [PREFIX]
 
1283
                          [PREFIX]
1218
1284
 
1219
1285
By default, \`make install' will install all the files in
1220
1286
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1224
1290
For better control, use the options below.
1225
1291
 
1226
1292
Fine tuning of the installation directories:
1227
 
  --bindir=DIR           user executables [EPREFIX/bin]
1228
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1229
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1230
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1231
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1232
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1233
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1234
 
  --includedir=DIR       C header files [PREFIX/include]
1235
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1236
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1237
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1238
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1239
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1240
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1241
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1242
 
  --htmldir=DIR          html documentation [DOCDIR]
1243
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1244
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1245
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1293
  --bindir=DIR            user executables [EPREFIX/bin]
 
1294
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1295
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1296
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1297
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1298
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1299
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1300
  --includedir=DIR        C header files [PREFIX/include]
 
1301
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1302
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1303
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1304
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1305
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1306
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1307
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1308
  --htmldir=DIR           html documentation [DOCDIR]
 
1309
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1310
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1311
  --psdir=DIR             ps documentation [DOCDIR]
1246
1312
_ACEOF
1247
1313
 
1248
1314
  cat <<\_ACEOF
1258
1324
  cat <<\_ACEOF
1259
1325
 
1260
1326
Optional Features:
 
1327
  --disable-option-checking  ignore unrecognized --enable/--with options
1261
1328
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1262
1329
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1263
1330
  --disable-largefile     omit support for large files
1266
1333
  --disable-openpty       Don't use openpty, use alternative method
1267
1334
  --disable-syslog        Don't include syslog support
1268
1335
  --disable-shadow        Don't use shadow passwords (if available)
1269
 
  --enable-bundled-libtom       Use bundled libtomcrypt/libtommath even if a system version exists
 
1336
  --enable-bundled-libtom       Force using bundled libtomcrypt/libtommath even if a system version exists.
 
1337
  --disable-bundled-libtom      Force using system libtomcrypt/libtommath, fail if it does not exist.
 
1338
                                Default is to use system if available, otherwise bundled.
1270
1339
  --disable-lastlog       Disable use of lastlog even if detected no
1271
1340
  --disable-utmp          Disable use of utmp even if detected no
1272
1341
  --disable-utmpx         Disable use of utmpx even if detected no
1289
1358
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1290
1359
              nonstandard directory <lib dir>
1291
1360
  LIBS        libraries to pass to the linker, e.g. -l<library>
1292
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1361
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1293
1362
              you have headers in a nonstandard directory <include dir>
1294
1363
  CPP         C preprocessor
1295
1364
 
1296
1365
Use these variables to override the choices made by `configure' or to help
1297
1366
it to find libraries and programs with nonstandard names/locations.
1298
1367
 
 
1368
Report bugs to the package provider.
1299
1369
_ACEOF
1300
1370
ac_status=$?
1301
1371
fi
1303
1373
if test "$ac_init_help" = "recursive"; then
1304
1374
  # If there are subdirs, report their specific --help.
1305
1375
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1306
 
    test -d "$ac_dir" || continue
 
1376
    test -d "$ac_dir" ||
 
1377
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1378
      continue
1307
1379
    ac_builddir=.
1308
1380
 
1309
1381
case "$ac_dir" in
1310
1382
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1311
1383
*)
1312
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1384
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1313
1385
  # A ".." for each directory in $ac_dir_suffix.
1314
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1386
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1315
1387
  case $ac_top_builddir_sub in
1316
1388
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317
1389
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347
1419
      echo &&
1348
1420
      $SHELL "$ac_srcdir/configure" --help=recursive
1349
1421
    else
1350
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1422
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351
1423
    fi || ac_status=$?
1352
1424
    cd "$ac_pwd" || { ac_status=$?; break; }
1353
1425
  done
1357
1429
if $ac_init_version; then
1358
1430
  cat <<\_ACEOF
1359
1431
configure
1360
 
generated by GNU Autoconf 2.61
 
1432
generated by GNU Autoconf 2.69
1361
1433
 
1362
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1363
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1434
Copyright (C) 2012 Free Software Foundation, Inc.
1364
1435
This configure script is free software; the Free Software Foundation
1365
1436
gives unlimited permission to copy, distribute and modify it.
1366
1437
_ACEOF
1367
1438
  exit
1368
1439
fi
 
1440
 
 
1441
## ------------------------ ##
 
1442
## Autoconf initialization. ##
 
1443
## ------------------------ ##
 
1444
 
 
1445
# ac_fn_c_try_compile LINENO
 
1446
# --------------------------
 
1447
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1448
ac_fn_c_try_compile ()
 
1449
{
 
1450
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1451
  rm -f conftest.$ac_objext
 
1452
  if { { ac_try="$ac_compile"
 
1453
case "(($ac_try" in
 
1454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1455
  *) ac_try_echo=$ac_try;;
 
1456
esac
 
1457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1458
$as_echo "$ac_try_echo"; } >&5
 
1459
  (eval "$ac_compile") 2>conftest.err
 
1460
  ac_status=$?
 
1461
  if test -s conftest.err; then
 
1462
    grep -v '^ *+' conftest.err >conftest.er1
 
1463
    cat conftest.er1 >&5
 
1464
    mv -f conftest.er1 conftest.err
 
1465
  fi
 
1466
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1467
  test $ac_status = 0; } && {
 
1468
         test -z "$ac_c_werror_flag" ||
 
1469
         test ! -s conftest.err
 
1470
       } && test -s conftest.$ac_objext; then :
 
1471
  ac_retval=0
 
1472
else
 
1473
  $as_echo "$as_me: failed program was:" >&5
 
1474
sed 's/^/| /' conftest.$ac_ext >&5
 
1475
 
 
1476
        ac_retval=1
 
1477
fi
 
1478
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1479
  as_fn_set_status $ac_retval
 
1480
 
 
1481
} # ac_fn_c_try_compile
 
1482
 
 
1483
# ac_fn_c_try_link LINENO
 
1484
# -----------------------
 
1485
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1486
ac_fn_c_try_link ()
 
1487
{
 
1488
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1489
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1490
  if { { ac_try="$ac_link"
 
1491
case "(($ac_try" in
 
1492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1493
  *) ac_try_echo=$ac_try;;
 
1494
esac
 
1495
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1496
$as_echo "$ac_try_echo"; } >&5
 
1497
  (eval "$ac_link") 2>conftest.err
 
1498
  ac_status=$?
 
1499
  if test -s conftest.err; then
 
1500
    grep -v '^ *+' conftest.err >conftest.er1
 
1501
    cat conftest.er1 >&5
 
1502
    mv -f conftest.er1 conftest.err
 
1503
  fi
 
1504
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1505
  test $ac_status = 0; } && {
 
1506
         test -z "$ac_c_werror_flag" ||
 
1507
         test ! -s conftest.err
 
1508
       } && test -s conftest$ac_exeext && {
 
1509
         test "$cross_compiling" = yes ||
 
1510
         test -x conftest$ac_exeext
 
1511
       }; then :
 
1512
  ac_retval=0
 
1513
else
 
1514
  $as_echo "$as_me: failed program was:" >&5
 
1515
sed 's/^/| /' conftest.$ac_ext >&5
 
1516
 
 
1517
        ac_retval=1
 
1518
fi
 
1519
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1520
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1521
  # interfere with the next link command; also delete a directory that is
 
1522
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1523
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1524
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1525
  as_fn_set_status $ac_retval
 
1526
 
 
1527
} # ac_fn_c_try_link
 
1528
 
 
1529
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1530
# ---------------------------------------------
 
1531
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1532
# accordingly.
 
1533
ac_fn_c_check_decl ()
 
1534
{
 
1535
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1536
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1537
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1538
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1539
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1540
if eval \${$3+:} false; then :
 
1541
  $as_echo_n "(cached) " >&6
 
1542
else
 
1543
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1544
/* end confdefs.h.  */
 
1545
$4
 
1546
int
 
1547
main ()
 
1548
{
 
1549
#ifndef $as_decl_name
 
1550
#ifdef __cplusplus
 
1551
  (void) $as_decl_use;
 
1552
#else
 
1553
  (void) $as_decl_name;
 
1554
#endif
 
1555
#endif
 
1556
 
 
1557
  ;
 
1558
  return 0;
 
1559
}
 
1560
_ACEOF
 
1561
if ac_fn_c_try_compile "$LINENO"; then :
 
1562
  eval "$3=yes"
 
1563
else
 
1564
  eval "$3=no"
 
1565
fi
 
1566
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1567
fi
 
1568
eval ac_res=\$$3
 
1569
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1570
$as_echo "$ac_res" >&6; }
 
1571
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1572
 
 
1573
} # ac_fn_c_check_decl
 
1574
 
 
1575
# ac_fn_c_try_cpp LINENO
 
1576
# ----------------------
 
1577
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1578
ac_fn_c_try_cpp ()
 
1579
{
 
1580
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1581
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1582
case "(($ac_try" in
 
1583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1584
  *) ac_try_echo=$ac_try;;
 
1585
esac
 
1586
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1587
$as_echo "$ac_try_echo"; } >&5
 
1588
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1589
  ac_status=$?
 
1590
  if test -s conftest.err; then
 
1591
    grep -v '^ *+' conftest.err >conftest.er1
 
1592
    cat conftest.er1 >&5
 
1593
    mv -f conftest.er1 conftest.err
 
1594
  fi
 
1595
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1596
  test $ac_status = 0; } > conftest.i && {
 
1597
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1598
         test ! -s conftest.err
 
1599
       }; then :
 
1600
  ac_retval=0
 
1601
else
 
1602
  $as_echo "$as_me: failed program was:" >&5
 
1603
sed 's/^/| /' conftest.$ac_ext >&5
 
1604
 
 
1605
    ac_retval=1
 
1606
fi
 
1607
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1608
  as_fn_set_status $ac_retval
 
1609
 
 
1610
} # ac_fn_c_try_cpp
 
1611
 
 
1612
# ac_fn_c_try_run LINENO
 
1613
# ----------------------
 
1614
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1615
# that executables *can* be run.
 
1616
ac_fn_c_try_run ()
 
1617
{
 
1618
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1619
  if { { ac_try="$ac_link"
 
1620
case "(($ac_try" in
 
1621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1622
  *) ac_try_echo=$ac_try;;
 
1623
esac
 
1624
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1625
$as_echo "$ac_try_echo"; } >&5
 
1626
  (eval "$ac_link") 2>&5
 
1627
  ac_status=$?
 
1628
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1629
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1630
  { { case "(($ac_try" in
 
1631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1632
  *) ac_try_echo=$ac_try;;
 
1633
esac
 
1634
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1635
$as_echo "$ac_try_echo"; } >&5
 
1636
  (eval "$ac_try") 2>&5
 
1637
  ac_status=$?
 
1638
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1639
  test $ac_status = 0; }; }; then :
 
1640
  ac_retval=0
 
1641
else
 
1642
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1643
       $as_echo "$as_me: failed program was:" >&5
 
1644
sed 's/^/| /' conftest.$ac_ext >&5
 
1645
 
 
1646
       ac_retval=$ac_status
 
1647
fi
 
1648
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1649
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1650
  as_fn_set_status $ac_retval
 
1651
 
 
1652
} # ac_fn_c_try_run
 
1653
 
 
1654
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1655
# -------------------------------------------------------
 
1656
# Tests whether HEADER exists and can be compiled using the include files in
 
1657
# INCLUDES, setting the cache variable VAR accordingly.
 
1658
ac_fn_c_check_header_compile ()
 
1659
{
 
1660
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1661
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1662
$as_echo_n "checking for $2... " >&6; }
 
1663
if eval \${$3+:} false; then :
 
1664
  $as_echo_n "(cached) " >&6
 
1665
else
 
1666
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1667
/* end confdefs.h.  */
 
1668
$4
 
1669
#include <$2>
 
1670
_ACEOF
 
1671
if ac_fn_c_try_compile "$LINENO"; then :
 
1672
  eval "$3=yes"
 
1673
else
 
1674
  eval "$3=no"
 
1675
fi
 
1676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1677
fi
 
1678
eval ac_res=\$$3
 
1679
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1680
$as_echo "$ac_res" >&6; }
 
1681
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1682
 
 
1683
} # ac_fn_c_check_header_compile
 
1684
 
 
1685
# ac_fn_c_check_func LINENO FUNC VAR
 
1686
# ----------------------------------
 
1687
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1688
ac_fn_c_check_func ()
 
1689
{
 
1690
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1691
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1692
$as_echo_n "checking for $2... " >&6; }
 
1693
if eval \${$3+:} false; then :
 
1694
  $as_echo_n "(cached) " >&6
 
1695
else
 
1696
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1697
/* end confdefs.h.  */
 
1698
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1699
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1700
#define $2 innocuous_$2
 
1701
 
 
1702
/* System header to define __stub macros and hopefully few prototypes,
 
1703
    which can conflict with char $2 (); below.
 
1704
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1705
    <limits.h> exists even on freestanding compilers.  */
 
1706
 
 
1707
#ifdef __STDC__
 
1708
# include <limits.h>
 
1709
#else
 
1710
# include <assert.h>
 
1711
#endif
 
1712
 
 
1713
#undef $2
 
1714
 
 
1715
/* Override any GCC internal prototype to avoid an error.
 
1716
   Use char because int might match the return type of a GCC
 
1717
   builtin and then its argument prototype would still apply.  */
 
1718
#ifdef __cplusplus
 
1719
extern "C"
 
1720
#endif
 
1721
char $2 ();
 
1722
/* The GNU C library defines this for functions which it implements
 
1723
    to always fail with ENOSYS.  Some functions are actually named
 
1724
    something starting with __ and the normal name is an alias.  */
 
1725
#if defined __stub_$2 || defined __stub___$2
 
1726
choke me
 
1727
#endif
 
1728
 
 
1729
int
 
1730
main ()
 
1731
{
 
1732
return $2 ();
 
1733
  ;
 
1734
  return 0;
 
1735
}
 
1736
_ACEOF
 
1737
if ac_fn_c_try_link "$LINENO"; then :
 
1738
  eval "$3=yes"
 
1739
else
 
1740
  eval "$3=no"
 
1741
fi
 
1742
rm -f core conftest.err conftest.$ac_objext \
 
1743
    conftest$ac_exeext conftest.$ac_ext
 
1744
fi
 
1745
eval ac_res=\$$3
 
1746
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1747
$as_echo "$ac_res" >&6; }
 
1748
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1749
 
 
1750
} # ac_fn_c_check_func
 
1751
 
 
1752
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1753
# -------------------------------------------------------
 
1754
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1755
# the include files in INCLUDES and setting the cache variable VAR
 
1756
# accordingly.
 
1757
ac_fn_c_check_header_mongrel ()
 
1758
{
 
1759
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1760
  if eval \${$3+:} false; then :
 
1761
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1762
$as_echo_n "checking for $2... " >&6; }
 
1763
if eval \${$3+:} false; then :
 
1764
  $as_echo_n "(cached) " >&6
 
1765
fi
 
1766
eval ac_res=\$$3
 
1767
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1768
$as_echo "$ac_res" >&6; }
 
1769
else
 
1770
  # Is the header compilable?
 
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1772
$as_echo_n "checking $2 usability... " >&6; }
 
1773
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1774
/* end confdefs.h.  */
 
1775
$4
 
1776
#include <$2>
 
1777
_ACEOF
 
1778
if ac_fn_c_try_compile "$LINENO"; then :
 
1779
  ac_header_compiler=yes
 
1780
else
 
1781
  ac_header_compiler=no
 
1782
fi
 
1783
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1785
$as_echo "$ac_header_compiler" >&6; }
 
1786
 
 
1787
# Is the header present?
 
1788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1789
$as_echo_n "checking $2 presence... " >&6; }
 
1790
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1791
/* end confdefs.h.  */
 
1792
#include <$2>
 
1793
_ACEOF
 
1794
if ac_fn_c_try_cpp "$LINENO"; then :
 
1795
  ac_header_preproc=yes
 
1796
else
 
1797
  ac_header_preproc=no
 
1798
fi
 
1799
rm -f conftest.err conftest.i conftest.$ac_ext
 
1800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1801
$as_echo "$ac_header_preproc" >&6; }
 
1802
 
 
1803
# So?  What about this header?
 
1804
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1805
  yes:no: )
 
1806
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1807
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1808
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1809
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1810
    ;;
 
1811
  no:yes:* )
 
1812
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1813
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1814
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1815
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1816
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1817
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1818
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1819
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1820
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1821
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1822
    ;;
 
1823
esac
 
1824
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1825
$as_echo_n "checking for $2... " >&6; }
 
1826
if eval \${$3+:} false; then :
 
1827
  $as_echo_n "(cached) " >&6
 
1828
else
 
1829
  eval "$3=\$ac_header_compiler"
 
1830
fi
 
1831
eval ac_res=\$$3
 
1832
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1833
$as_echo "$ac_res" >&6; }
 
1834
fi
 
1835
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1836
 
 
1837
} # ac_fn_c_check_header_mongrel
 
1838
 
 
1839
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
1840
# -------------------------------------------
 
1841
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
1842
# variable VAR accordingly.
 
1843
ac_fn_c_check_type ()
 
1844
{
 
1845
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1846
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1847
$as_echo_n "checking for $2... " >&6; }
 
1848
if eval \${$3+:} false; then :
 
1849
  $as_echo_n "(cached) " >&6
 
1850
else
 
1851
  eval "$3=no"
 
1852
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1853
/* end confdefs.h.  */
 
1854
$4
 
1855
int
 
1856
main ()
 
1857
{
 
1858
if (sizeof ($2))
 
1859
         return 0;
 
1860
  ;
 
1861
  return 0;
 
1862
}
 
1863
_ACEOF
 
1864
if ac_fn_c_try_compile "$LINENO"; then :
 
1865
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1866
/* end confdefs.h.  */
 
1867
$4
 
1868
int
 
1869
main ()
 
1870
{
 
1871
if (sizeof (($2)))
 
1872
            return 0;
 
1873
  ;
 
1874
  return 0;
 
1875
}
 
1876
_ACEOF
 
1877
if ac_fn_c_try_compile "$LINENO"; then :
 
1878
 
 
1879
else
 
1880
  eval "$3=yes"
 
1881
fi
 
1882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1883
fi
 
1884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1885
fi
 
1886
eval ac_res=\$$3
 
1887
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1888
$as_echo "$ac_res" >&6; }
 
1889
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1890
 
 
1891
} # ac_fn_c_check_type
 
1892
 
 
1893
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
1894
# ----------------------------------------------------
 
1895
# Tries to find if the field MEMBER exists in type AGGR, after including
 
1896
# INCLUDES, setting cache variable VAR accordingly.
 
1897
ac_fn_c_check_member ()
 
1898
{
 
1899
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1900
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
1901
$as_echo_n "checking for $2.$3... " >&6; }
 
1902
if eval \${$4+:} false; then :
 
1903
  $as_echo_n "(cached) " >&6
 
1904
else
 
1905
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1906
/* end confdefs.h.  */
 
1907
$5
 
1908
int
 
1909
main ()
 
1910
{
 
1911
static $2 ac_aggr;
 
1912
if (ac_aggr.$3)
 
1913
return 0;
 
1914
  ;
 
1915
  return 0;
 
1916
}
 
1917
_ACEOF
 
1918
if ac_fn_c_try_compile "$LINENO"; then :
 
1919
  eval "$4=yes"
 
1920
else
 
1921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1922
/* end confdefs.h.  */
 
1923
$5
 
1924
int
 
1925
main ()
 
1926
{
 
1927
static $2 ac_aggr;
 
1928
if (sizeof ac_aggr.$3)
 
1929
return 0;
 
1930
  ;
 
1931
  return 0;
 
1932
}
 
1933
_ACEOF
 
1934
if ac_fn_c_try_compile "$LINENO"; then :
 
1935
  eval "$4=yes"
 
1936
else
 
1937
  eval "$4=no"
 
1938
fi
 
1939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1940
fi
 
1941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1942
fi
 
1943
eval ac_res=\$$4
 
1944
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1945
$as_echo "$ac_res" >&6; }
 
1946
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1947
 
 
1948
} # ac_fn_c_check_member
1369
1949
cat >config.log <<_ACEOF
1370
1950
This file contains any messages produced by compilers while
1371
1951
running configure, to aid debugging if configure makes a mistake.
1372
1952
 
1373
1953
It was created by $as_me, which was
1374
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1954
generated by GNU Autoconf 2.69.  Invocation command line was
1375
1955
 
1376
1956
  $ $0 $@
1377
1957
 
1407
1987
do
1408
1988
  IFS=$as_save_IFS
1409
1989
  test -z "$as_dir" && as_dir=.
1410
 
  echo "PATH: $as_dir"
1411
 
done
 
1990
    $as_echo "PATH: $as_dir"
 
1991
  done
1412
1992
IFS=$as_save_IFS
1413
1993
 
1414
1994
} >&5
1442
2022
    | -silent | --silent | --silen | --sile | --sil)
1443
2023
      continue ;;
1444
2024
    *\'*)
1445
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2025
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1446
2026
    esac
1447
2027
    case $ac_pass in
1448
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2028
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1449
2029
    2)
1450
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2030
      as_fn_append ac_configure_args1 " '$ac_arg'"
1451
2031
      if test $ac_must_keep_next = true; then
1452
2032
        ac_must_keep_next=false # Got value, back to normal.
1453
2033
      else
1463
2043
          -* ) ac_must_keep_next=true ;;
1464
2044
        esac
1465
2045
      fi
1466
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2046
      as_fn_append ac_configure_args " '$ac_arg'"
1467
2047
      ;;
1468
2048
    esac
1469
2049
  done
1470
2050
done
1471
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1472
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2051
{ ac_configure_args0=; unset ac_configure_args0;}
 
2052
{ ac_configure_args1=; unset ac_configure_args1;}
1473
2053
 
1474
2054
# When interrupted or exit'd, cleanup temporary files, and complete
1475
2055
# config.log.  We remove comments because anyway the quotes in there
1481
2061
  {
1482
2062
    echo
1483
2063
 
1484
 
    cat <<\_ASBOX
1485
 
## ---------------- ##
 
2064
    $as_echo "## ---------------- ##
1486
2065
## Cache variables. ##
1487
 
## ---------------- ##
1488
 
_ASBOX
 
2066
## ---------------- ##"
1489
2067
    echo
1490
2068
    # The following way of writing the cache mishandles newlines in values,
1491
2069
(
1494
2072
    case $ac_val in #(
1495
2073
    *${as_nl}*)
1496
2074
      case $ac_var in #(
1497
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1498
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2075
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2076
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1499
2077
      esac
1500
2078
      case $ac_var in #(
1501
2079
      _ | IFS | as_nl) ;; #(
1502
 
      *) $as_unset $ac_var ;;
 
2080
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2081
      *) { eval $ac_var=; unset $ac_var;} ;;
1503
2082
      esac ;;
1504
2083
    esac
1505
2084
  done
1518
2097
)
1519
2098
    echo
1520
2099
 
1521
 
    cat <<\_ASBOX
1522
 
## ----------------- ##
 
2100
    $as_echo "## ----------------- ##
1523
2101
## Output variables. ##
1524
 
## ----------------- ##
1525
 
_ASBOX
 
2102
## ----------------- ##"
1526
2103
    echo
1527
2104
    for ac_var in $ac_subst_vars
1528
2105
    do
1529
2106
      eval ac_val=\$$ac_var
1530
2107
      case $ac_val in
1531
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2108
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532
2109
      esac
1533
 
      echo "$ac_var='\''$ac_val'\''"
 
2110
      $as_echo "$ac_var='\''$ac_val'\''"
1534
2111
    done | sort
1535
2112
    echo
1536
2113
 
1537
2114
    if test -n "$ac_subst_files"; then
1538
 
      cat <<\_ASBOX
1539
 
## ------------------- ##
 
2115
      $as_echo "## ------------------- ##
1540
2116
## File substitutions. ##
1541
 
## ------------------- ##
1542
 
_ASBOX
 
2117
## ------------------- ##"
1543
2118
      echo
1544
2119
      for ac_var in $ac_subst_files
1545
2120
      do
1546
2121
        eval ac_val=\$$ac_var
1547
2122
        case $ac_val in
1548
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2123
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1549
2124
        esac
1550
 
        echo "$ac_var='\''$ac_val'\''"
 
2125
        $as_echo "$ac_var='\''$ac_val'\''"
1551
2126
      done | sort
1552
2127
      echo
1553
2128
    fi
1554
2129
 
1555
2130
    if test -s confdefs.h; then
1556
 
      cat <<\_ASBOX
1557
 
## ----------- ##
 
2131
      $as_echo "## ----------- ##
1558
2132
## confdefs.h. ##
1559
 
## ----------- ##
1560
 
_ASBOX
 
2133
## ----------- ##"
1561
2134
      echo
1562
2135
      cat confdefs.h
1563
2136
      echo
1564
2137
    fi
1565
2138
    test "$ac_signal" != 0 &&
1566
 
      echo "$as_me: caught signal $ac_signal"
1567
 
    echo "$as_me: exit $exit_status"
 
2139
      $as_echo "$as_me: caught signal $ac_signal"
 
2140
    $as_echo "$as_me: exit $exit_status"
1568
2141
  } >&5
1569
2142
  rm -f core *.core core.conftest.* &&
1570
2143
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1571
2144
    exit $exit_status
1572
2145
' 0
1573
2146
for ac_signal in 1 2 13 15; do
1574
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2147
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1575
2148
done
1576
2149
ac_signal=0
1577
2150
 
1578
2151
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1579
2152
rm -f -r conftest* confdefs.h
1580
2153
 
 
2154
$as_echo "/* confdefs.h */" > confdefs.h
 
2155
 
1581
2156
# Predefined preprocessor variables.
1582
2157
 
1583
2158
cat >>confdefs.h <<_ACEOF
1584
2159
#define PACKAGE_NAME "$PACKAGE_NAME"
1585
2160
_ACEOF
1586
2161
 
1587
 
 
1588
2162
cat >>confdefs.h <<_ACEOF
1589
2163
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1590
2164
_ACEOF
1591
2165
 
1592
 
 
1593
2166
cat >>confdefs.h <<_ACEOF
1594
2167
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1595
2168
_ACEOF
1596
2169
 
1597
 
 
1598
2170
cat >>confdefs.h <<_ACEOF
1599
2171
#define PACKAGE_STRING "$PACKAGE_STRING"
1600
2172
_ACEOF
1601
2173
 
1602
 
 
1603
2174
cat >>confdefs.h <<_ACEOF
1604
2175
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1605
2176
_ACEOF
1606
2177
 
 
2178
cat >>confdefs.h <<_ACEOF
 
2179
#define PACKAGE_URL "$PACKAGE_URL"
 
2180
_ACEOF
 
2181
 
1607
2182
 
1608
2183
# Let the site file select an alternate cache file if it wants to.
1609
 
# Prefer explicitly selected file to automatically selected ones.
 
2184
# Prefer an explicitly selected file to automatically selected ones.
 
2185
ac_site_file1=NONE
 
2186
ac_site_file2=NONE
1610
2187
if test -n "$CONFIG_SITE"; then
1611
 
  set x "$CONFIG_SITE"
 
2188
  # We do not want a PATH search for config.site.
 
2189
  case $CONFIG_SITE in #((
 
2190
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2191
    */*) ac_site_file1=$CONFIG_SITE;;
 
2192
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2193
  esac
1612
2194
elif test "x$prefix" != xNONE; then
1613
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2195
  ac_site_file1=$prefix/share/config.site
 
2196
  ac_site_file2=$prefix/etc/config.site
1614
2197
else
1615
 
  set x "$ac_default_prefix/share/config.site" \
1616
 
        "$ac_default_prefix/etc/config.site"
 
2198
  ac_site_file1=$ac_default_prefix/share/config.site
 
2199
  ac_site_file2=$ac_default_prefix/etc/config.site
1617
2200
fi
1618
 
shift
1619
 
for ac_site_file
 
2201
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1620
2202
do
1621
 
  if test -r "$ac_site_file"; then
1622
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1623
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2203
  test "x$ac_site_file" = xNONE && continue
 
2204
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2205
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2206
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1624
2207
    sed 's/^/| /' "$ac_site_file" >&5
1625
 
    . "$ac_site_file"
 
2208
    . "$ac_site_file" \
 
2209
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2210
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2211
as_fn_error $? "failed to load site script $ac_site_file
 
2212
See \`config.log' for more details" "$LINENO" 5; }
1626
2213
  fi
1627
2214
done
1628
2215
 
1629
2216
if test -r "$cache_file"; then
1630
 
  # Some versions of bash will fail to source /dev/null (special
1631
 
  # files actually), so we avoid doing that.
1632
 
  if test -f "$cache_file"; then
1633
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1634
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2217
  # Some versions of bash will fail to source /dev/null (special files
 
2218
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2219
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2220
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2221
$as_echo "$as_me: loading cache $cache_file" >&6;}
1635
2222
    case $cache_file in
1636
2223
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1637
2224
      *)                      . "./$cache_file";;
1638
2225
    esac
1639
2226
  fi
1640
2227
else
1641
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1642
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2228
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2229
$as_echo "$as_me: creating cache $cache_file" >&6;}
1643
2230
  >$cache_file
1644
2231
fi
1645
2232
 
1653
2240
  eval ac_new_val=\$ac_env_${ac_var}_value
1654
2241
  case $ac_old_set,$ac_new_set in
1655
2242
    set,)
1656
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1657
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2243
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2244
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1658
2245
      ac_cache_corrupted=: ;;
1659
2246
    ,set)
1660
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1661
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2247
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2248
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1662
2249
      ac_cache_corrupted=: ;;
1663
2250
    ,);;
1664
2251
    *)
1665
2252
      if test "x$ac_old_val" != "x$ac_new_val"; then
1666
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1667
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1668
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1669
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1670
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1671
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1672
 
        ac_cache_corrupted=:
 
2253
        # differences in whitespace do not lead to failure.
 
2254
        ac_old_val_w=`echo x $ac_old_val`
 
2255
        ac_new_val_w=`echo x $ac_new_val`
 
2256
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2257
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2258
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2259
          ac_cache_corrupted=:
 
2260
        else
 
2261
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2262
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2263
          eval $ac_var=\$ac_old_val
 
2264
        fi
 
2265
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2266
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2267
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2268
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1673
2269
      fi;;
1674
2270
  esac
1675
2271
  # Pass precious variables to config.status.
1676
2272
  if test "$ac_new_set" = set; then
1677
2273
    case $ac_new_val in
1678
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2274
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679
2275
    *) ac_arg=$ac_var=$ac_new_val ;;
1680
2276
    esac
1681
2277
    case " $ac_configure_args " in
1682
2278
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1683
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2279
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1684
2280
    esac
1685
2281
  fi
1686
2282
done
1687
2283
if $ac_cache_corrupted; then
1688
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1689
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1690
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1691
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1692
 
   { (exit 1); exit 1; }; }
 
2284
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2286
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2287
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2288
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1693
2289
fi
1694
 
 
1695
 
 
1696
 
 
1697
 
 
1698
 
 
1699
 
 
1700
 
 
1701
 
 
1702
 
 
1703
 
 
1704
 
 
1705
 
 
1706
 
 
1707
 
 
1708
 
 
1709
 
 
 
2290
## -------------------- ##
 
2291
## Main body of script. ##
 
2292
## -------------------- ##
1710
2293
 
1711
2294
ac_ext=c
1712
2295
ac_cpp='$CPP $CPPFLAGS'
1726
2309
if test -n "$ac_tool_prefix"; then
1727
2310
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1728
2311
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1729
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1730
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1731
 
if test "${ac_cv_prog_CC+set}" = set; then
1732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2313
$as_echo_n "checking for $ac_word... " >&6; }
 
2314
if ${ac_cv_prog_CC+:} false; then :
 
2315
  $as_echo_n "(cached) " >&6
1733
2316
else
1734
2317
  if test -n "$CC"; then
1735
2318
  ac_cv_prog_CC="$CC" # Let the user override the test.
1739
2322
do
1740
2323
  IFS=$as_save_IFS
1741
2324
  test -z "$as_dir" && as_dir=.
1742
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1743
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2325
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2326
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744
2327
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1745
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2328
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1746
2329
    break 2
1747
2330
  fi
1748
2331
done
1749
 
done
 
2332
  done
1750
2333
IFS=$as_save_IFS
1751
2334
 
1752
2335
fi
1753
2336
fi
1754
2337
CC=$ac_cv_prog_CC
1755
2338
if test -n "$CC"; then
1756
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1757
 
echo "${ECHO_T}$CC" >&6; }
 
2339
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2340
$as_echo "$CC" >&6; }
1758
2341
else
1759
 
  { echo "$as_me:$LINENO: result: no" >&5
1760
 
echo "${ECHO_T}no" >&6; }
 
2342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2343
$as_echo "no" >&6; }
1761
2344
fi
1762
2345
 
1763
2346
 
1766
2349
  ac_ct_CC=$CC
1767
2350
  # Extract the first word of "gcc", so it can be a program name with args.
1768
2351
set dummy gcc; ac_word=$2
1769
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1770
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1771
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1772
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2353
$as_echo_n "checking for $ac_word... " >&6; }
 
2354
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2355
  $as_echo_n "(cached) " >&6
1773
2356
else
1774
2357
  if test -n "$ac_ct_CC"; then
1775
2358
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1779
2362
do
1780
2363
  IFS=$as_save_IFS
1781
2364
  test -z "$as_dir" && as_dir=.
1782
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1783
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2365
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2366
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784
2367
    ac_cv_prog_ac_ct_CC="gcc"
1785
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2368
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1786
2369
    break 2
1787
2370
  fi
1788
2371
done
1789
 
done
 
2372
  done
1790
2373
IFS=$as_save_IFS
1791
2374
 
1792
2375
fi
1793
2376
fi
1794
2377
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1795
2378
if test -n "$ac_ct_CC"; then
1796
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1797
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2380
$as_echo "$ac_ct_CC" >&6; }
1798
2381
else
1799
 
  { echo "$as_me:$LINENO: result: no" >&5
1800
 
echo "${ECHO_T}no" >&6; }
 
2382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2383
$as_echo "no" >&6; }
1801
2384
fi
1802
2385
 
1803
2386
  if test "x$ac_ct_CC" = x; then
1805
2388
  else
1806
2389
    case $cross_compiling:$ac_tool_warned in
1807
2390
yes:)
1808
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1809
 
whose name does not start with the host triplet.  If you think this
1810
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
1811
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1812
 
whose name does not start with the host triplet.  If you think this
1813
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2392
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1814
2393
ac_tool_warned=yes ;;
1815
2394
esac
1816
2395
    CC=$ac_ct_CC
1823
2402
          if test -n "$ac_tool_prefix"; then
1824
2403
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1825
2404
set dummy ${ac_tool_prefix}cc; ac_word=$2
1826
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1827
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1828
 
if test "${ac_cv_prog_CC+set}" = set; then
1829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2406
$as_echo_n "checking for $ac_word... " >&6; }
 
2407
if ${ac_cv_prog_CC+:} false; then :
 
2408
  $as_echo_n "(cached) " >&6
1830
2409
else
1831
2410
  if test -n "$CC"; then
1832
2411
  ac_cv_prog_CC="$CC" # Let the user override the test.
1836
2415
do
1837
2416
  IFS=$as_save_IFS
1838
2417
  test -z "$as_dir" && as_dir=.
1839
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1840
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2418
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2419
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841
2420
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1842
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1843
2422
    break 2
1844
2423
  fi
1845
2424
done
1846
 
done
 
2425
  done
1847
2426
IFS=$as_save_IFS
1848
2427
 
1849
2428
fi
1850
2429
fi
1851
2430
CC=$ac_cv_prog_CC
1852
2431
if test -n "$CC"; then
1853
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1854
 
echo "${ECHO_T}$CC" >&6; }
 
2432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2433
$as_echo "$CC" >&6; }
1855
2434
else
1856
 
  { echo "$as_me:$LINENO: result: no" >&5
1857
 
echo "${ECHO_T}no" >&6; }
 
2435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2436
$as_echo "no" >&6; }
1858
2437
fi
1859
2438
 
1860
2439
 
1863
2442
if test -z "$CC"; then
1864
2443
  # Extract the first word of "cc", so it can be a program name with args.
1865
2444
set dummy cc; ac_word=$2
1866
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1867
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1868
 
if test "${ac_cv_prog_CC+set}" = set; then
1869
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2446
$as_echo_n "checking for $ac_word... " >&6; }
 
2447
if ${ac_cv_prog_CC+:} false; then :
 
2448
  $as_echo_n "(cached) " >&6
1870
2449
else
1871
2450
  if test -n "$CC"; then
1872
2451
  ac_cv_prog_CC="$CC" # Let the user override the test.
1877
2456
do
1878
2457
  IFS=$as_save_IFS
1879
2458
  test -z "$as_dir" && as_dir=.
1880
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1881
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2459
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2460
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882
2461
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1883
2462
       ac_prog_rejected=yes
1884
2463
       continue
1885
2464
     fi
1886
2465
    ac_cv_prog_CC="cc"
1887
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1888
2467
    break 2
1889
2468
  fi
1890
2469
done
1891
 
done
 
2470
  done
1892
2471
IFS=$as_save_IFS
1893
2472
 
1894
2473
if test $ac_prog_rejected = yes; then
1907
2486
fi
1908
2487
CC=$ac_cv_prog_CC
1909
2488
if test -n "$CC"; then
1910
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1911
 
echo "${ECHO_T}$CC" >&6; }
 
2489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2490
$as_echo "$CC" >&6; }
1912
2491
else
1913
 
  { echo "$as_me:$LINENO: result: no" >&5
1914
 
echo "${ECHO_T}no" >&6; }
 
2492
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2493
$as_echo "no" >&6; }
1915
2494
fi
1916
2495
 
1917
2496
 
1922
2501
  do
1923
2502
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1924
2503
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1925
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1926
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1927
 
if test "${ac_cv_prog_CC+set}" = set; then
1928
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2505
$as_echo_n "checking for $ac_word... " >&6; }
 
2506
if ${ac_cv_prog_CC+:} false; then :
 
2507
  $as_echo_n "(cached) " >&6
1929
2508
else
1930
2509
  if test -n "$CC"; then
1931
2510
  ac_cv_prog_CC="$CC" # Let the user override the test.
1935
2514
do
1936
2515
  IFS=$as_save_IFS
1937
2516
  test -z "$as_dir" && as_dir=.
1938
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1939
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2517
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2518
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940
2519
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1941
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2520
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1942
2521
    break 2
1943
2522
  fi
1944
2523
done
1945
 
done
 
2524
  done
1946
2525
IFS=$as_save_IFS
1947
2526
 
1948
2527
fi
1949
2528
fi
1950
2529
CC=$ac_cv_prog_CC
1951
2530
if test -n "$CC"; then
1952
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1953
 
echo "${ECHO_T}$CC" >&6; }
 
2531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2532
$as_echo "$CC" >&6; }
1954
2533
else
1955
 
  { echo "$as_me:$LINENO: result: no" >&5
1956
 
echo "${ECHO_T}no" >&6; }
 
2534
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2535
$as_echo "no" >&6; }
1957
2536
fi
1958
2537
 
1959
2538
 
1966
2545
do
1967
2546
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1968
2547
set dummy $ac_prog; ac_word=$2
1969
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1970
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1971
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2549
$as_echo_n "checking for $ac_word... " >&6; }
 
2550
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2551
  $as_echo_n "(cached) " >&6
1973
2552
else
1974
2553
  if test -n "$ac_ct_CC"; then
1975
2554
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1979
2558
do
1980
2559
  IFS=$as_save_IFS
1981
2560
  test -z "$as_dir" && as_dir=.
1982
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1983
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2561
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2562
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984
2563
    ac_cv_prog_ac_ct_CC="$ac_prog"
1985
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2564
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1986
2565
    break 2
1987
2566
  fi
1988
2567
done
1989
 
done
 
2568
  done
1990
2569
IFS=$as_save_IFS
1991
2570
 
1992
2571
fi
1993
2572
fi
1994
2573
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1995
2574
if test -n "$ac_ct_CC"; then
1996
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1997
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2576
$as_echo "$ac_ct_CC" >&6; }
1998
2577
else
1999
 
  { echo "$as_me:$LINENO: result: no" >&5
2000
 
echo "${ECHO_T}no" >&6; }
 
2578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2579
$as_echo "no" >&6; }
2001
2580
fi
2002
2581
 
2003
2582
 
2009
2588
  else
2010
2589
    case $cross_compiling:$ac_tool_warned in
2011
2590
yes:)
2012
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2013
 
whose name does not start with the host triplet.  If you think this
2014
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2015
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2016
 
whose name does not start with the host triplet.  If you think this
2017
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2591
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2592
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2018
2593
ac_tool_warned=yes ;;
2019
2594
esac
2020
2595
    CC=$ac_ct_CC
2024
2599
fi
2025
2600
 
2026
2601
 
2027
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2028
 
See \`config.log' for more details." >&5
2029
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2030
 
See \`config.log' for more details." >&2;}
2031
 
   { (exit 1); exit 1; }; }
 
2602
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2604
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2605
See \`config.log' for more details" "$LINENO" 5; }
2032
2606
 
2033
2607
# Provide some information about the compiler.
2034
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2035
 
ac_compiler=`set X $ac_compile; echo $2`
2036
 
{ (ac_try="$ac_compiler --version >&5"
2037
 
case "(($ac_try" in
2038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039
 
  *) ac_try_echo=$ac_try;;
2040
 
esac
2041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2042
 
  (eval "$ac_compiler --version >&5") 2>&5
2043
 
  ac_status=$?
2044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045
 
  (exit $ac_status); }
2046
 
{ (ac_try="$ac_compiler -v >&5"
2047
 
case "(($ac_try" in
2048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049
 
  *) ac_try_echo=$ac_try;;
2050
 
esac
2051
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2052
 
  (eval "$ac_compiler -v >&5") 2>&5
2053
 
  ac_status=$?
2054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055
 
  (exit $ac_status); }
2056
 
{ (ac_try="$ac_compiler -V >&5"
2057
 
case "(($ac_try" in
2058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059
 
  *) ac_try_echo=$ac_try;;
2060
 
esac
2061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2062
 
  (eval "$ac_compiler -V >&5") 2>&5
2063
 
  ac_status=$?
2064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065
 
  (exit $ac_status); }
 
2608
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
2609
set X $ac_compile
 
2610
ac_compiler=$2
 
2611
for ac_option in --version -v -V -qversion; do
 
2612
  { { ac_try="$ac_compiler $ac_option >&5"
 
2613
case "(($ac_try" in
 
2614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2615
  *) ac_try_echo=$ac_try;;
 
2616
esac
 
2617
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2618
$as_echo "$ac_try_echo"; } >&5
 
2619
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2620
  ac_status=$?
 
2621
  if test -s conftest.err; then
 
2622
    sed '10a\
 
2623
... rest of stderr output deleted ...
 
2624
         10q' conftest.err >conftest.er1
 
2625
    cat conftest.er1 >&5
 
2626
  fi
 
2627
  rm -f conftest.er1 conftest.err
 
2628
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2629
  test $ac_status = 0; }
 
2630
done
2066
2631
 
2067
 
cat >conftest.$ac_ext <<_ACEOF
2068
 
/* confdefs.h.  */
2069
 
_ACEOF
2070
 
cat confdefs.h >>conftest.$ac_ext
2071
 
cat >>conftest.$ac_ext <<_ACEOF
 
2632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072
2633
/* end confdefs.h.  */
2073
2634
 
2074
2635
int
2080
2641
}
2081
2642
_ACEOF
2082
2643
ac_clean_files_save=$ac_clean_files
2083
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2644
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2084
2645
# Try to create an executable without -o first, disregard a.out.
2085
2646
# It will help us diagnose broken compilers, and finding out an intuition
2086
2647
# of exeext.
2087
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2088
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2089
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2090
 
#
2091
 
# List of possible output files, starting from the most likely.
2092
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2093
 
# only as a last resort.  b.out is created by i960 compilers.
2094
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2095
 
#
2096
 
# The IRIX 6 linker writes into existing files which may not be
2097
 
# executable, retaining their permissions.  Remove them first so a
2098
 
# subsequent execution test works.
 
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2649
$as_echo_n "checking whether the C compiler works... " >&6; }
 
2650
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2651
 
 
2652
# The possible output files:
 
2653
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2654
 
2099
2655
ac_rmfiles=
2100
2656
for ac_file in $ac_files
2101
2657
do
2102
2658
  case $ac_file in
2103
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2659
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2104
2660
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2105
2661
  esac
2106
2662
done
2107
2663
rm -f $ac_rmfiles
2108
2664
 
2109
 
if { (ac_try="$ac_link_default"
 
2665
if { { ac_try="$ac_link_default"
2110
2666
case "(($ac_try" in
2111
2667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112
2668
  *) ac_try_echo=$ac_try;;
2113
2669
esac
2114
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2671
$as_echo "$ac_try_echo"; } >&5
2115
2672
  (eval "$ac_link_default") 2>&5
2116
2673
  ac_status=$?
2117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118
 
  (exit $ac_status); }; then
 
2674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2675
  test $ac_status = 0; }; then :
2119
2676
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2120
2677
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2121
2678
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2125
2682
do
2126
2683
  test -f "$ac_file" || continue
2127
2684
  case $ac_file in
2128
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2685
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2129
2686
        ;;
2130
2687
    [ab].out )
2131
2688
        # We found the default executable, but exeext='' is most
2132
2689
        # certainly right.
2133
2690
        break;;
2134
2691
    *.* )
2135
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2692
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2136
2693
        then :; else
2137
2694
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2138
2695
        fi
2151
2708
else
2152
2709
  ac_file=''
2153
2710
fi
2154
 
 
2155
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2156
 
echo "${ECHO_T}$ac_file" >&6; }
2157
 
if test -z "$ac_file"; then
2158
 
  echo "$as_me: failed program was:" >&5
 
2711
if test -z "$ac_file"; then :
 
2712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2713
$as_echo "no" >&6; }
 
2714
$as_echo "$as_me: failed program was:" >&5
2159
2715
sed 's/^/| /' conftest.$ac_ext >&5
2160
2716
 
2161
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2162
 
See \`config.log' for more details." >&5
2163
 
echo "$as_me: error: C compiler cannot create executables
2164
 
See \`config.log' for more details." >&2;}
2165
 
   { (exit 77); exit 77; }; }
 
2717
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2718
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2719
as_fn_error 77 "C compiler cannot create executables
 
2720
See \`config.log' for more details" "$LINENO" 5; }
 
2721
else
 
2722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2723
$as_echo "yes" >&6; }
2166
2724
fi
2167
 
 
 
2725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
2726
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2728
$as_echo "$ac_file" >&6; }
2168
2729
ac_exeext=$ac_cv_exeext
2169
2730
 
2170
 
# Check that the compiler produces executables we can run.  If not, either
2171
 
# the compiler is broken, or we cross compile.
2172
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2173
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2174
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2175
 
# If not cross compiling, check that we can run a simple program.
2176
 
if test "$cross_compiling" != yes; then
2177
 
  if { ac_try='./$ac_file'
2178
 
  { (case "(($ac_try" in
2179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2180
 
  *) ac_try_echo=$ac_try;;
2181
 
esac
2182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2183
 
  (eval "$ac_try") 2>&5
2184
 
  ac_status=$?
2185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186
 
  (exit $ac_status); }; }; then
2187
 
    cross_compiling=no
2188
 
  else
2189
 
    if test "$cross_compiling" = maybe; then
2190
 
        cross_compiling=yes
2191
 
    else
2192
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2193
 
If you meant to cross compile, use \`--host'.
2194
 
See \`config.log' for more details." >&5
2195
 
echo "$as_me: error: cannot run C compiled programs.
2196
 
If you meant to cross compile, use \`--host'.
2197
 
See \`config.log' for more details." >&2;}
2198
 
   { (exit 1); exit 1; }; }
2199
 
    fi
2200
 
  fi
2201
 
fi
2202
 
{ echo "$as_me:$LINENO: result: yes" >&5
2203
 
echo "${ECHO_T}yes" >&6; }
2204
 
 
2205
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2731
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2206
2732
ac_clean_files=$ac_clean_files_save
2207
 
# Check that the compiler produces executables we can run.  If not, either
2208
 
# the compiler is broken, or we cross compile.
2209
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2210
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2211
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2212
 
echo "${ECHO_T}$cross_compiling" >&6; }
2213
 
 
2214
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2215
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2216
 
if { (ac_try="$ac_link"
 
2733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
2734
$as_echo_n "checking for suffix of executables... " >&6; }
 
2735
if { { ac_try="$ac_link"
2217
2736
case "(($ac_try" in
2218
2737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2219
2738
  *) ac_try_echo=$ac_try;;
2220
2739
esac
2221
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2740
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2741
$as_echo "$ac_try_echo"; } >&5
2222
2742
  (eval "$ac_link") 2>&5
2223
2743
  ac_status=$?
2224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225
 
  (exit $ac_status); }; then
 
2744
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2745
  test $ac_status = 0; }; then :
2226
2746
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2227
2747
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2228
2748
# work properly (i.e., refer to `conftest.exe'), while it won't with
2230
2750
for ac_file in conftest.exe conftest conftest.*; do
2231
2751
  test -f "$ac_file" || continue
2232
2752
  case $ac_file in
2233
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2753
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2234
2754
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2235
2755
          break;;
2236
2756
    * ) break;;
2237
2757
  esac
2238
2758
done
2239
2759
else
2240
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2241
 
See \`config.log' for more details." >&5
2242
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2243
 
See \`config.log' for more details." >&2;}
2244
 
   { (exit 1); exit 1; }; }
 
2760
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2761
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2762
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
2763
See \`config.log' for more details" "$LINENO" 5; }
2245
2764
fi
2246
 
 
2247
 
rm -f conftest$ac_cv_exeext
2248
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2249
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2765
rm -f conftest conftest$ac_cv_exeext
 
2766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
2767
$as_echo "$ac_cv_exeext" >&6; }
2250
2768
 
2251
2769
rm -f conftest.$ac_ext
2252
2770
EXEEXT=$ac_cv_exeext
2253
2771
ac_exeext=$EXEEXT
2254
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2255
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2256
 
if test "${ac_cv_objext+set}" = set; then
2257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2772
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2773
/* end confdefs.h.  */
 
2774
#include <stdio.h>
 
2775
int
 
2776
main ()
 
2777
{
 
2778
FILE *f = fopen ("conftest.out", "w");
 
2779
 return ferror (f) || fclose (f) != 0;
 
2780
 
 
2781
  ;
 
2782
  return 0;
 
2783
}
 
2784
_ACEOF
 
2785
ac_clean_files="$ac_clean_files conftest.out"
 
2786
# Check that the compiler produces executables we can run.  If not, either
 
2787
# the compiler is broken, or we cross compile.
 
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2789
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2790
if test "$cross_compiling" != yes; then
 
2791
  { { ac_try="$ac_link"
 
2792
case "(($ac_try" in
 
2793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2794
  *) ac_try_echo=$ac_try;;
 
2795
esac
 
2796
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2797
$as_echo "$ac_try_echo"; } >&5
 
2798
  (eval "$ac_link") 2>&5
 
2799
  ac_status=$?
 
2800
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2801
  test $ac_status = 0; }
 
2802
  if { ac_try='./conftest$ac_cv_exeext'
 
2803
  { { case "(($ac_try" in
 
2804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2805
  *) ac_try_echo=$ac_try;;
 
2806
esac
 
2807
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2808
$as_echo "$ac_try_echo"; } >&5
 
2809
  (eval "$ac_try") 2>&5
 
2810
  ac_status=$?
 
2811
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2812
  test $ac_status = 0; }; }; then
 
2813
    cross_compiling=no
 
2814
  else
 
2815
    if test "$cross_compiling" = maybe; then
 
2816
        cross_compiling=yes
 
2817
    else
 
2818
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2820
as_fn_error $? "cannot run C compiled programs.
 
2821
If you meant to cross compile, use \`--host'.
 
2822
See \`config.log' for more details" "$LINENO" 5; }
 
2823
    fi
 
2824
  fi
 
2825
fi
 
2826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2827
$as_echo "$cross_compiling" >&6; }
 
2828
 
 
2829
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
2830
ac_clean_files=$ac_clean_files_save
 
2831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
2832
$as_echo_n "checking for suffix of object files... " >&6; }
 
2833
if ${ac_cv_objext+:} false; then :
 
2834
  $as_echo_n "(cached) " >&6
2258
2835
else
2259
 
  cat >conftest.$ac_ext <<_ACEOF
2260
 
/* confdefs.h.  */
2261
 
_ACEOF
2262
 
cat confdefs.h >>conftest.$ac_ext
2263
 
cat >>conftest.$ac_ext <<_ACEOF
 
2836
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264
2837
/* end confdefs.h.  */
2265
2838
 
2266
2839
int
2272
2845
}
2273
2846
_ACEOF
2274
2847
rm -f conftest.o conftest.obj
2275
 
if { (ac_try="$ac_compile"
 
2848
if { { ac_try="$ac_compile"
2276
2849
case "(($ac_try" in
2277
2850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278
2851
  *) ac_try_echo=$ac_try;;
2279
2852
esac
2280
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2853
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2854
$as_echo "$ac_try_echo"; } >&5
2281
2855
  (eval "$ac_compile") 2>&5
2282
2856
  ac_status=$?
2283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284
 
  (exit $ac_status); }; then
 
2857
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2858
  test $ac_status = 0; }; then :
2285
2859
  for ac_file in conftest.o conftest.obj conftest.*; do
2286
2860
  test -f "$ac_file" || continue;
2287
2861
  case $ac_file in
2288
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2862
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2289
2863
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2290
2864
       break;;
2291
2865
  esac
2292
2866
done
2293
2867
else
2294
 
  echo "$as_me: failed program was:" >&5
 
2868
  $as_echo "$as_me: failed program was:" >&5
2295
2869
sed 's/^/| /' conftest.$ac_ext >&5
2296
2870
 
2297
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2298
 
See \`config.log' for more details." >&5
2299
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2300
 
See \`config.log' for more details." >&2;}
2301
 
   { (exit 1); exit 1; }; }
 
2871
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2872
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2873
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
2874
See \`config.log' for more details" "$LINENO" 5; }
2302
2875
fi
2303
 
 
2304
2876
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2305
2877
fi
2306
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2307
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
2879
$as_echo "$ac_cv_objext" >&6; }
2308
2880
OBJEXT=$ac_cv_objext
2309
2881
ac_objext=$OBJEXT
2310
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2311
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2312
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
2883
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
2884
if ${ac_cv_c_compiler_gnu+:} false; then :
 
2885
  $as_echo_n "(cached) " >&6
2314
2886
else
2315
 
  cat >conftest.$ac_ext <<_ACEOF
2316
 
/* confdefs.h.  */
2317
 
_ACEOF
2318
 
cat confdefs.h >>conftest.$ac_ext
2319
 
cat >>conftest.$ac_ext <<_ACEOF
 
2887
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320
2888
/* end confdefs.h.  */
2321
2889
 
2322
2890
int
2330
2898
  return 0;
2331
2899
}
2332
2900
_ACEOF
2333
 
rm -f conftest.$ac_objext
2334
 
if { (ac_try="$ac_compile"
2335
 
case "(($ac_try" in
2336
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337
 
  *) ac_try_echo=$ac_try;;
2338
 
esac
2339
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340
 
  (eval "$ac_compile") 2>conftest.er1
2341
 
  ac_status=$?
2342
 
  grep -v '^ *+' conftest.er1 >conftest.err
2343
 
  rm -f conftest.er1
2344
 
  cat conftest.err >&5
2345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346
 
  (exit $ac_status); } && {
2347
 
         test -z "$ac_c_werror_flag" ||
2348
 
         test ! -s conftest.err
2349
 
       } && test -s conftest.$ac_objext; then
 
2901
if ac_fn_c_try_compile "$LINENO"; then :
2350
2902
  ac_compiler_gnu=yes
2351
2903
else
2352
 
  echo "$as_me: failed program was:" >&5
2353
 
sed 's/^/| /' conftest.$ac_ext >&5
2354
 
 
2355
 
        ac_compiler_gnu=no
 
2904
  ac_compiler_gnu=no
2356
2905
fi
2357
 
 
2358
2906
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359
2907
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2360
2908
 
2361
2909
fi
2362
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2363
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2364
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
2911
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2912
if test $ac_compiler_gnu = yes; then
 
2913
  GCC=yes
 
2914
else
 
2915
  GCC=
 
2916
fi
2365
2917
ac_test_CFLAGS=${CFLAGS+set}
2366
2918
ac_save_CFLAGS=$CFLAGS
2367
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2368
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2369
 
if test "${ac_cv_prog_cc_g+set}" = set; then
2370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
2920
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
2921
if ${ac_cv_prog_cc_g+:} false; then :
 
2922
  $as_echo_n "(cached) " >&6
2371
2923
else
2372
2924
  ac_save_c_werror_flag=$ac_c_werror_flag
2373
2925
   ac_c_werror_flag=yes
2374
2926
   ac_cv_prog_cc_g=no
2375
2927
   CFLAGS="-g"
2376
 
   cat >conftest.$ac_ext <<_ACEOF
2377
 
/* confdefs.h.  */
2378
 
_ACEOF
2379
 
cat confdefs.h >>conftest.$ac_ext
2380
 
cat >>conftest.$ac_ext <<_ACEOF
 
2928
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2381
2929
/* end confdefs.h.  */
2382
2930
 
2383
2931
int
2388
2936
  return 0;
2389
2937
}
2390
2938
_ACEOF
2391
 
rm -f conftest.$ac_objext
2392
 
if { (ac_try="$ac_compile"
2393
 
case "(($ac_try" in
2394
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2395
 
  *) ac_try_echo=$ac_try;;
2396
 
esac
2397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2398
 
  (eval "$ac_compile") 2>conftest.er1
2399
 
  ac_status=$?
2400
 
  grep -v '^ *+' conftest.er1 >conftest.err
2401
 
  rm -f conftest.er1
2402
 
  cat conftest.err >&5
2403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404
 
  (exit $ac_status); } && {
2405
 
         test -z "$ac_c_werror_flag" ||
2406
 
         test ! -s conftest.err
2407
 
       } && test -s conftest.$ac_objext; then
 
2939
if ac_fn_c_try_compile "$LINENO"; then :
2408
2940
  ac_cv_prog_cc_g=yes
2409
2941
else
2410
 
  echo "$as_me: failed program was:" >&5
2411
 
sed 's/^/| /' conftest.$ac_ext >&5
2412
 
 
2413
 
        CFLAGS=""
2414
 
      cat >conftest.$ac_ext <<_ACEOF
2415
 
/* confdefs.h.  */
2416
 
_ACEOF
2417
 
cat confdefs.h >>conftest.$ac_ext
2418
 
cat >>conftest.$ac_ext <<_ACEOF
 
2942
  CFLAGS=""
 
2943
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419
2944
/* end confdefs.h.  */
2420
2945
 
2421
2946
int
2426
2951
  return 0;
2427
2952
}
2428
2953
_ACEOF
2429
 
rm -f conftest.$ac_objext
2430
 
if { (ac_try="$ac_compile"
2431
 
case "(($ac_try" in
2432
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433
 
  *) ac_try_echo=$ac_try;;
2434
 
esac
2435
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436
 
  (eval "$ac_compile") 2>conftest.er1
2437
 
  ac_status=$?
2438
 
  grep -v '^ *+' conftest.er1 >conftest.err
2439
 
  rm -f conftest.er1
2440
 
  cat conftest.err >&5
2441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442
 
  (exit $ac_status); } && {
2443
 
         test -z "$ac_c_werror_flag" ||
2444
 
         test ! -s conftest.err
2445
 
       } && test -s conftest.$ac_objext; then
2446
 
  :
 
2954
if ac_fn_c_try_compile "$LINENO"; then :
 
2955
 
2447
2956
else
2448
 
  echo "$as_me: failed program was:" >&5
2449
 
sed 's/^/| /' conftest.$ac_ext >&5
2450
 
 
2451
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2957
  ac_c_werror_flag=$ac_save_c_werror_flag
2452
2958
         CFLAGS="-g"
2453
 
         cat >conftest.$ac_ext <<_ACEOF
2454
 
/* confdefs.h.  */
2455
 
_ACEOF
2456
 
cat confdefs.h >>conftest.$ac_ext
2457
 
cat >>conftest.$ac_ext <<_ACEOF
 
2959
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2458
2960
/* end confdefs.h.  */
2459
2961
 
2460
2962
int
2465
2967
  return 0;
2466
2968
}
2467
2969
_ACEOF
2468
 
rm -f conftest.$ac_objext
2469
 
if { (ac_try="$ac_compile"
2470
 
case "(($ac_try" in
2471
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472
 
  *) ac_try_echo=$ac_try;;
2473
 
esac
2474
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2475
 
  (eval "$ac_compile") 2>conftest.er1
2476
 
  ac_status=$?
2477
 
  grep -v '^ *+' conftest.er1 >conftest.err
2478
 
  rm -f conftest.er1
2479
 
  cat conftest.err >&5
2480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481
 
  (exit $ac_status); } && {
2482
 
         test -z "$ac_c_werror_flag" ||
2483
 
         test ! -s conftest.err
2484
 
       } && test -s conftest.$ac_objext; then
 
2970
if ac_fn_c_try_compile "$LINENO"; then :
2485
2971
  ac_cv_prog_cc_g=yes
2486
 
else
2487
 
  echo "$as_me: failed program was:" >&5
2488
 
sed 's/^/| /' conftest.$ac_ext >&5
2489
 
 
2490
 
 
2491
 
fi
2492
 
 
2493
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494
 
fi
2495
 
 
2496
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497
 
fi
2498
 
 
 
2972
fi
 
2973
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2974
fi
 
2975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2976
fi
2499
2977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500
2978
   ac_c_werror_flag=$ac_save_c_werror_flag
2501
2979
fi
2502
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2503
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
2981
$as_echo "$ac_cv_prog_cc_g" >&6; }
2504
2982
if test "$ac_test_CFLAGS" = set; then
2505
2983
  CFLAGS=$ac_save_CFLAGS
2506
2984
elif test $ac_cv_prog_cc_g = yes; then
2516
2994
    CFLAGS=
2517
2995
  fi
2518
2996
fi
2519
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2520
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2521
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
2522
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
2998
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
2999
if ${ac_cv_prog_cc_c89+:} false; then :
 
3000
  $as_echo_n "(cached) " >&6
2523
3001
else
2524
3002
  ac_cv_prog_cc_c89=no
2525
3003
ac_save_CC=$CC
2526
 
cat >conftest.$ac_ext <<_ACEOF
2527
 
/* confdefs.h.  */
2528
 
_ACEOF
2529
 
cat confdefs.h >>conftest.$ac_ext
2530
 
cat >>conftest.$ac_ext <<_ACEOF
 
3004
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531
3005
/* end confdefs.h.  */
2532
3006
#include <stdarg.h>
2533
3007
#include <stdio.h>
2534
 
#include <sys/types.h>
2535
 
#include <sys/stat.h>
 
3008
struct stat;
2536
3009
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2537
3010
struct buf { int x; };
2538
3011
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2584
3057
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2585
3058
do
2586
3059
  CC="$ac_save_CC $ac_arg"
2587
 
  rm -f conftest.$ac_objext
2588
 
if { (ac_try="$ac_compile"
2589
 
case "(($ac_try" in
2590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591
 
  *) ac_try_echo=$ac_try;;
2592
 
esac
2593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594
 
  (eval "$ac_compile") 2>conftest.er1
2595
 
  ac_status=$?
2596
 
  grep -v '^ *+' conftest.er1 >conftest.err
2597
 
  rm -f conftest.er1
2598
 
  cat conftest.err >&5
2599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600
 
  (exit $ac_status); } && {
2601
 
         test -z "$ac_c_werror_flag" ||
2602
 
         test ! -s conftest.err
2603
 
       } && test -s conftest.$ac_objext; then
 
3060
  if ac_fn_c_try_compile "$LINENO"; then :
2604
3061
  ac_cv_prog_cc_c89=$ac_arg
2605
 
else
2606
 
  echo "$as_me: failed program was:" >&5
2607
 
sed 's/^/| /' conftest.$ac_ext >&5
2608
 
 
2609
 
 
2610
3062
fi
2611
 
 
2612
3063
rm -f core conftest.err conftest.$ac_objext
2613
3064
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2614
3065
done
2619
3070
# AC_CACHE_VAL
2620
3071
case "x$ac_cv_prog_cc_c89" in
2621
3072
  x)
2622
 
    { echo "$as_me:$LINENO: result: none needed" >&5
2623
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3073
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3074
$as_echo "none needed" >&6; } ;;
2624
3075
  xno)
2625
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
2626
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3076
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3077
$as_echo "unsupported" >&6; } ;;
2627
3078
  *)
2628
3079
    CC="$CC $ac_cv_prog_cc_c89"
2629
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2630
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3080
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3081
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2631
3082
esac
 
3083
if test "x$ac_cv_prog_cc_c89" != xno; then :
2632
3084
 
 
3085
fi
2633
3086
 
2634
3087
ac_ext=c
2635
3088
ac_cpp='$CPP $CPPFLAGS'
2637
3090
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2638
3091
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2639
3092
 
2640
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2641
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2642
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2643
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2644
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3094
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3095
set x ${MAKE-make}
 
3096
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3097
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
3098
  $as_echo_n "(cached) " >&6
2645
3099
else
2646
3100
  cat >conftest.make <<\_ACEOF
2647
3101
SHELL = /bin/sh
2648
3102
all:
2649
3103
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2650
3104
_ACEOF
2651
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3105
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2652
3106
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2653
3107
  *@@@%%%=?*=@@@%%%*)
2654
3108
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2658
3112
rm -f conftest.make
2659
3113
fi
2660
3114
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2661
 
  { echo "$as_me:$LINENO: result: yes" >&5
2662
 
echo "${ECHO_T}yes" >&6; }
 
3115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3116
$as_echo "yes" >&6; }
2663
3117
  SET_MAKE=
2664
3118
else
2665
 
  { echo "$as_me:$LINENO: result: no" >&5
2666
 
echo "${ECHO_T}no" >&6; }
 
3119
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3120
$as_echo "no" >&6; }
2667
3121
  SET_MAKE="MAKE=${MAKE-make}"
2668
3122
fi
2669
3123
 
2674
3128
 
2675
3129
 
2676
3130
if test -z "$OLDCFLAGS" && test "$GCC" = "yes"; then
2677
 
        { echo "$as_me:$LINENO: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&5
2678
 
echo "$as_me: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&6;}
 
3131
        { $as_echo "$as_me:${as_lineno-$LINENO}: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&5
 
3132
$as_echo "$as_me: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&6;}
2679
3133
        CFLAGS="-Os -W -Wall"
2680
3134
fi
2681
3135
 
2682
3136
# large file support is useful for scp
2683
3137
 
2684
3138
# Check whether --enable-largefile was given.
2685
 
if test "${enable_largefile+set}" = set; then
 
3139
if test "${enable_largefile+set}" = set; then :
2686
3140
  enableval=$enable_largefile;
2687
3141
fi
2688
3142
 
2689
3143
if test "$enable_largefile" != no; then
2690
3144
 
2691
 
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2692
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2693
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then
2694
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3145
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
 
3146
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
 
3147
if ${ac_cv_sys_largefile_CC+:} false; then :
 
3148
  $as_echo_n "(cached) " >&6
2695
3149
else
2696
3150
  ac_cv_sys_largefile_CC=no
2697
3151
     if test "$GCC" != yes; then
2699
3153
       while :; do
2700
3154
         # IRIX 6.2 and later do not support large files by default,
2701
3155
         # so use the C compiler's -n32 option if that helps.
2702
 
         cat >conftest.$ac_ext <<_ACEOF
2703
 
/* confdefs.h.  */
2704
 
_ACEOF
2705
 
cat confdefs.h >>conftest.$ac_ext
2706
 
cat >>conftest.$ac_ext <<_ACEOF
 
3156
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2707
3157
/* end confdefs.h.  */
2708
3158
#include <sys/types.h>
2709
3159
 /* Check that off_t can represent 2**63 - 1 correctly.
2722
3172
  return 0;
2723
3173
}
2724
3174
_ACEOF
2725
 
         rm -f conftest.$ac_objext
2726
 
if { (ac_try="$ac_compile"
2727
 
case "(($ac_try" in
2728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729
 
  *) ac_try_echo=$ac_try;;
2730
 
esac
2731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732
 
  (eval "$ac_compile") 2>conftest.er1
2733
 
  ac_status=$?
2734
 
  grep -v '^ *+' conftest.er1 >conftest.err
2735
 
  rm -f conftest.er1
2736
 
  cat conftest.err >&5
2737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
 
  (exit $ac_status); } && {
2739
 
         test -z "$ac_c_werror_flag" ||
2740
 
         test ! -s conftest.err
2741
 
       } && test -s conftest.$ac_objext; then
 
3175
         if ac_fn_c_try_compile "$LINENO"; then :
2742
3176
  break
2743
 
else
2744
 
  echo "$as_me: failed program was:" >&5
2745
 
sed 's/^/| /' conftest.$ac_ext >&5
2746
 
 
2747
 
 
2748
3177
fi
2749
 
 
2750
3178
rm -f core conftest.err conftest.$ac_objext
2751
3179
         CC="$CC -n32"
2752
 
         rm -f conftest.$ac_objext
2753
 
if { (ac_try="$ac_compile"
2754
 
case "(($ac_try" in
2755
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756
 
  *) ac_try_echo=$ac_try;;
2757
 
esac
2758
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759
 
  (eval "$ac_compile") 2>conftest.er1
2760
 
  ac_status=$?
2761
 
  grep -v '^ *+' conftest.er1 >conftest.err
2762
 
  rm -f conftest.er1
2763
 
  cat conftest.err >&5
2764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
 
  (exit $ac_status); } && {
2766
 
         test -z "$ac_c_werror_flag" ||
2767
 
         test ! -s conftest.err
2768
 
       } && test -s conftest.$ac_objext; then
 
3180
         if ac_fn_c_try_compile "$LINENO"; then :
2769
3181
  ac_cv_sys_largefile_CC=' -n32'; break
2770
 
else
2771
 
  echo "$as_me: failed program was:" >&5
2772
 
sed 's/^/| /' conftest.$ac_ext >&5
2773
 
 
2774
 
 
2775
3182
fi
2776
 
 
2777
3183
rm -f core conftest.err conftest.$ac_objext
2778
3184
         break
2779
3185
       done
2781
3187
       rm -f conftest.$ac_ext
2782
3188
    fi
2783
3189
fi
2784
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2785
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
 
3190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
 
3191
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
2786
3192
  if test "$ac_cv_sys_largefile_CC" != no; then
2787
3193
    CC=$CC$ac_cv_sys_largefile_CC
2788
3194
  fi
2789
3195
 
2790
 
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2791
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2792
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2793
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3196
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
3197
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
 
3198
if ${ac_cv_sys_file_offset_bits+:} false; then :
 
3199
  $as_echo_n "(cached) " >&6
2794
3200
else
2795
3201
  while :; do
2796
 
  cat >conftest.$ac_ext <<_ACEOF
2797
 
/* confdefs.h.  */
2798
 
_ACEOF
2799
 
cat confdefs.h >>conftest.$ac_ext
2800
 
cat >>conftest.$ac_ext <<_ACEOF
 
3202
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801
3203
/* end confdefs.h.  */
2802
3204
#include <sys/types.h>
2803
3205
 /* Check that off_t can represent 2**63 - 1 correctly.
2816
3218
  return 0;
2817
3219
}
2818
3220
_ACEOF
2819
 
rm -f conftest.$ac_objext
2820
 
if { (ac_try="$ac_compile"
2821
 
case "(($ac_try" in
2822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823
 
  *) ac_try_echo=$ac_try;;
2824
 
esac
2825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826
 
  (eval "$ac_compile") 2>conftest.er1
2827
 
  ac_status=$?
2828
 
  grep -v '^ *+' conftest.er1 >conftest.err
2829
 
  rm -f conftest.er1
2830
 
  cat conftest.err >&5
2831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832
 
  (exit $ac_status); } && {
2833
 
         test -z "$ac_c_werror_flag" ||
2834
 
         test ! -s conftest.err
2835
 
       } && test -s conftest.$ac_objext; then
 
3221
if ac_fn_c_try_compile "$LINENO"; then :
2836
3222
  ac_cv_sys_file_offset_bits=no; break
2837
 
else
2838
 
  echo "$as_me: failed program was:" >&5
2839
 
sed 's/^/| /' conftest.$ac_ext >&5
2840
 
 
2841
 
 
2842
3223
fi
2843
 
 
2844
3224
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845
 
  cat >conftest.$ac_ext <<_ACEOF
2846
 
/* confdefs.h.  */
2847
 
_ACEOF
2848
 
cat confdefs.h >>conftest.$ac_ext
2849
 
cat >>conftest.$ac_ext <<_ACEOF
 
3225
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850
3226
/* end confdefs.h.  */
2851
3227
#define _FILE_OFFSET_BITS 64
2852
3228
#include <sys/types.h>
2866
3242
  return 0;
2867
3243
}
2868
3244
_ACEOF
2869
 
rm -f conftest.$ac_objext
2870
 
if { (ac_try="$ac_compile"
2871
 
case "(($ac_try" in
2872
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873
 
  *) ac_try_echo=$ac_try;;
2874
 
esac
2875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876
 
  (eval "$ac_compile") 2>conftest.er1
2877
 
  ac_status=$?
2878
 
  grep -v '^ *+' conftest.er1 >conftest.err
2879
 
  rm -f conftest.er1
2880
 
  cat conftest.err >&5
2881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882
 
  (exit $ac_status); } && {
2883
 
         test -z "$ac_c_werror_flag" ||
2884
 
         test ! -s conftest.err
2885
 
       } && test -s conftest.$ac_objext; then
 
3245
if ac_fn_c_try_compile "$LINENO"; then :
2886
3246
  ac_cv_sys_file_offset_bits=64; break
2887
 
else
2888
 
  echo "$as_me: failed program was:" >&5
2889
 
sed 's/^/| /' conftest.$ac_ext >&5
2890
 
 
2891
 
 
2892
3247
fi
2893
 
 
2894
3248
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895
3249
  ac_cv_sys_file_offset_bits=unknown
2896
3250
  break
2897
3251
done
2898
3252
fi
2899
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2900
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
 
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
 
3254
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
2901
3255
case $ac_cv_sys_file_offset_bits in #(
2902
3256
  no | unknown) ;;
2903
3257
  *)
2906
3260
_ACEOF
2907
3261
;;
2908
3262
esac
2909
 
rm -f -r conftest*
 
3263
rm -rf conftest*
2910
3264
  if test $ac_cv_sys_file_offset_bits = unknown; then
2911
 
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2912
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2913
 
if test "${ac_cv_sys_large_files+set}" = set; then
2914
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3265
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
 
3266
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
 
3267
if ${ac_cv_sys_large_files+:} false; then :
 
3268
  $as_echo_n "(cached) " >&6
2915
3269
else
2916
3270
  while :; do
2917
 
  cat >conftest.$ac_ext <<_ACEOF
2918
 
/* confdefs.h.  */
2919
 
_ACEOF
2920
 
cat confdefs.h >>conftest.$ac_ext
2921
 
cat >>conftest.$ac_ext <<_ACEOF
 
3271
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922
3272
/* end confdefs.h.  */
2923
3273
#include <sys/types.h>
2924
3274
 /* Check that off_t can represent 2**63 - 1 correctly.
2937
3287
  return 0;
2938
3288
}
2939
3289
_ACEOF
2940
 
rm -f conftest.$ac_objext
2941
 
if { (ac_try="$ac_compile"
2942
 
case "(($ac_try" in
2943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944
 
  *) ac_try_echo=$ac_try;;
2945
 
esac
2946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947
 
  (eval "$ac_compile") 2>conftest.er1
2948
 
  ac_status=$?
2949
 
  grep -v '^ *+' conftest.er1 >conftest.err
2950
 
  rm -f conftest.er1
2951
 
  cat conftest.err >&5
2952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953
 
  (exit $ac_status); } && {
2954
 
         test -z "$ac_c_werror_flag" ||
2955
 
         test ! -s conftest.err
2956
 
       } && test -s conftest.$ac_objext; then
 
3290
if ac_fn_c_try_compile "$LINENO"; then :
2957
3291
  ac_cv_sys_large_files=no; break
2958
 
else
2959
 
  echo "$as_me: failed program was:" >&5
2960
 
sed 's/^/| /' conftest.$ac_ext >&5
2961
 
 
2962
 
 
2963
3292
fi
2964
 
 
2965
3293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2966
 
  cat >conftest.$ac_ext <<_ACEOF
2967
 
/* confdefs.h.  */
2968
 
_ACEOF
2969
 
cat confdefs.h >>conftest.$ac_ext
2970
 
cat >>conftest.$ac_ext <<_ACEOF
 
3294
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971
3295
/* end confdefs.h.  */
2972
3296
#define _LARGE_FILES 1
2973
3297
#include <sys/types.h>
2987
3311
  return 0;
2988
3312
}
2989
3313
_ACEOF
2990
 
rm -f conftest.$ac_objext
2991
 
if { (ac_try="$ac_compile"
2992
 
case "(($ac_try" in
2993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994
 
  *) ac_try_echo=$ac_try;;
2995
 
esac
2996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2997
 
  (eval "$ac_compile") 2>conftest.er1
2998
 
  ac_status=$?
2999
 
  grep -v '^ *+' conftest.er1 >conftest.err
3000
 
  rm -f conftest.er1
3001
 
  cat conftest.err >&5
3002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003
 
  (exit $ac_status); } && {
3004
 
         test -z "$ac_c_werror_flag" ||
3005
 
         test ! -s conftest.err
3006
 
       } && test -s conftest.$ac_objext; then
 
3314
if ac_fn_c_try_compile "$LINENO"; then :
3007
3315
  ac_cv_sys_large_files=1; break
3008
 
else
3009
 
  echo "$as_me: failed program was:" >&5
3010
 
sed 's/^/| /' conftest.$ac_ext >&5
3011
 
 
3012
 
 
3013
3316
fi
3014
 
 
3015
3317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016
3318
  ac_cv_sys_large_files=unknown
3017
3319
  break
3018
3320
done
3019
3321
fi
3020
 
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3021
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
 
3322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
 
3323
$as_echo "$ac_cv_sys_large_files" >&6; }
3022
3324
case $ac_cv_sys_large_files in #(
3023
3325
  no | unknown) ;;
3024
3326
  *)
3027
3329
_ACEOF
3028
3330
;;
3029
3331
esac
3030
 
rm -f -r conftest*
 
3332
rm -rf conftest*
3031
3333
  fi
 
3334
 
 
3335
 
3032
3336
fi
3033
3337
 
3034
3338
 
3051
3355
  fi
3052
3356
done
3053
3357
if test -z "$ac_aux_dir"; then
3054
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3055
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3056
 
   { (exit 1); exit 1; }; }
 
3358
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3057
3359
fi
3058
3360
 
3059
3361
# These three variables are undocumented and unsupported,
3067
3369
 
3068
3370
# Make sure we can run config.sub.
3069
3371
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3070
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3071
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3072
 
   { (exit 1); exit 1; }; }
 
3372
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3073
3373
 
3074
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3075
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3076
 
if test "${ac_cv_build+set}" = set; then
3077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
3375
$as_echo_n "checking build system type... " >&6; }
 
3376
if ${ac_cv_build+:} false; then :
 
3377
  $as_echo_n "(cached) " >&6
3078
3378
else
3079
3379
  ac_build_alias=$build_alias
3080
3380
test "x$ac_build_alias" = x &&
3081
3381
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3082
3382
test "x$ac_build_alias" = x &&
3083
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3084
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3085
 
   { (exit 1); exit 1; }; }
 
3383
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3086
3384
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3087
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3088
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3089
 
   { (exit 1); exit 1; }; }
 
3385
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3090
3386
 
3091
3387
fi
3092
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3093
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
3389
$as_echo "$ac_cv_build" >&6; }
3094
3390
case $ac_cv_build in
3095
3391
*-*-*) ;;
3096
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3097
 
echo "$as_me: error: invalid value of canonical build" >&2;}
3098
 
   { (exit 1); exit 1; }; };;
 
3392
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3099
3393
esac
3100
3394
build=$ac_cv_build
3101
3395
ac_save_IFS=$IFS; IFS='-'
3111
3405
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3112
3406
 
3113
3407
 
3114
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3115
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3116
 
if test "${ac_cv_host+set}" = set; then
3117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
3409
$as_echo_n "checking host system type... " >&6; }
 
3410
if ${ac_cv_host+:} false; then :
 
3411
  $as_echo_n "(cached) " >&6
3118
3412
else
3119
3413
  if test "x$host_alias" = x; then
3120
3414
  ac_cv_host=$ac_cv_build
3121
3415
else
3122
3416
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3123
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3124
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3125
 
   { (exit 1); exit 1; }; }
 
3417
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3126
3418
fi
3127
3419
 
3128
3420
fi
3129
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3130
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
3422
$as_echo "$ac_cv_host" >&6; }
3131
3423
case $ac_cv_host in
3132
3424
*-*-*) ;;
3133
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3134
 
echo "$as_me: error: invalid value of canonical host" >&2;}
3135
 
   { (exit 1); exit 1; }; };;
 
3425
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3136
3426
esac
3137
3427
host=$ac_cv_host
3138
3428
ac_save_IFS=$IFS; IFS='-'
3159
3449
        CFLAGS="$CFLAGS -I/usr/local/include"
3160
3450
        LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
3161
3451
        conf_lastlog_location="/var/adm/lastlog"
3162
 
        { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
3163
 
echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; }
 
3452
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete utmp and wtmp in solaris2.x" >&5
 
3453
$as_echo_n "checking for obsolete utmp and wtmp in solaris2.x... " >&6; }
3164
3454
        sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
3165
3455
        if test "$sol2ver" -ge 8; then
3166
 
                { echo "$as_me:$LINENO: result: yes" >&5
3167
 
echo "${ECHO_T}yes" >&6; }
3168
 
 
3169
 
cat >>confdefs.h <<\_ACEOF
3170
 
#define DISABLE_UTMP
3171
 
_ACEOF
3172
 
 
3173
 
 
3174
 
cat >>confdefs.h <<\_ACEOF
3175
 
#define DISABLE_WTMP
3176
 
_ACEOF
 
3456
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3457
$as_echo "yes" >&6; }
 
3458
 
 
3459
$as_echo "#define DISABLE_UTMP /**/" >>confdefs.h
 
3460
 
 
3461
 
 
3462
$as_echo "#define DISABLE_WTMP /**/" >>confdefs.h
3177
3463
 
3178
3464
        else
3179
 
                { echo "$as_me:$LINENO: result: no" >&5
3180
 
echo "${ECHO_T}no" >&6; }
 
3465
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3466
$as_echo "no" >&6; }
3181
3467
        fi
3182
 
        { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3183
 
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
3184
 
if test "${ac_cv_lib_socket_socket+set}" = set; then
3185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3468
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
 
3469
$as_echo_n "checking for socket in -lsocket... " >&6; }
 
3470
if ${ac_cv_lib_socket_socket+:} false; then :
 
3471
  $as_echo_n "(cached) " >&6
3186
3472
else
3187
3473
  ac_check_lib_save_LIBS=$LIBS
3188
3474
LIBS="-lsocket  $LIBS"
3189
 
cat >conftest.$ac_ext <<_ACEOF
3190
 
/* confdefs.h.  */
3191
 
_ACEOF
3192
 
cat confdefs.h >>conftest.$ac_ext
3193
 
cat >>conftest.$ac_ext <<_ACEOF
 
3475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194
3476
/* end confdefs.h.  */
3195
3477
 
3196
3478
/* Override any GCC internal prototype to avoid an error.
3208
3490
  return 0;
3209
3491
}
3210
3492
_ACEOF
3211
 
rm -f conftest.$ac_objext conftest$ac_exeext
3212
 
if { (ac_try="$ac_link"
3213
 
case "(($ac_try" in
3214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215
 
  *) ac_try_echo=$ac_try;;
3216
 
esac
3217
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218
 
  (eval "$ac_link") 2>conftest.er1
3219
 
  ac_status=$?
3220
 
  grep -v '^ *+' conftest.er1 >conftest.err
3221
 
  rm -f conftest.er1
3222
 
  cat conftest.err >&5
3223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224
 
  (exit $ac_status); } && {
3225
 
         test -z "$ac_c_werror_flag" ||
3226
 
         test ! -s conftest.err
3227
 
       } && test -s conftest$ac_exeext &&
3228
 
       $as_test_x conftest$ac_exeext; then
 
3493
if ac_fn_c_try_link "$LINENO"; then :
3229
3494
  ac_cv_lib_socket_socket=yes
3230
3495
else
3231
 
  echo "$as_me: failed program was:" >&5
3232
 
sed 's/^/| /' conftest.$ac_ext >&5
3233
 
 
3234
 
        ac_cv_lib_socket_socket=no
 
3496
  ac_cv_lib_socket_socket=no
3235
3497
fi
3236
 
 
3237
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3238
 
      conftest$ac_exeext conftest.$ac_ext
 
3498
rm -f core conftest.err conftest.$ac_objext \
 
3499
    conftest$ac_exeext conftest.$ac_ext
3239
3500
LIBS=$ac_check_lib_save_LIBS
3240
3501
fi
3241
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3242
 
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
3243
 
if test $ac_cv_lib_socket_socket = yes; then
 
3502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
 
3503
$as_echo "$ac_cv_lib_socket_socket" >&6; }
 
3504
if test "x$ac_cv_lib_socket_socket" = xyes; then :
3244
3505
  LIBS="$LIBS -lsocket"
3245
3506
fi
3246
3507
 
3247
 
        { echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
3248
 
echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; }
3249
 
if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
3250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3508
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yp_match in -lnsl" >&5
 
3509
$as_echo_n "checking for yp_match in -lnsl... " >&6; }
 
3510
if ${ac_cv_lib_nsl_yp_match+:} false; then :
 
3511
  $as_echo_n "(cached) " >&6
3251
3512
else
3252
3513
  ac_check_lib_save_LIBS=$LIBS
3253
3514
LIBS="-lnsl  $LIBS"
3254
 
cat >conftest.$ac_ext <<_ACEOF
3255
 
/* confdefs.h.  */
3256
 
_ACEOF
3257
 
cat confdefs.h >>conftest.$ac_ext
3258
 
cat >>conftest.$ac_ext <<_ACEOF
 
3515
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259
3516
/* end confdefs.h.  */
3260
3517
 
3261
3518
/* Override any GCC internal prototype to avoid an error.
3273
3530
  return 0;
3274
3531
}
3275
3532
_ACEOF
3276
 
rm -f conftest.$ac_objext conftest$ac_exeext
3277
 
if { (ac_try="$ac_link"
3278
 
case "(($ac_try" in
3279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280
 
  *) ac_try_echo=$ac_try;;
3281
 
esac
3282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283
 
  (eval "$ac_link") 2>conftest.er1
3284
 
  ac_status=$?
3285
 
  grep -v '^ *+' conftest.er1 >conftest.err
3286
 
  rm -f conftest.er1
3287
 
  cat conftest.err >&5
3288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289
 
  (exit $ac_status); } && {
3290
 
         test -z "$ac_c_werror_flag" ||
3291
 
         test ! -s conftest.err
3292
 
       } && test -s conftest$ac_exeext &&
3293
 
       $as_test_x conftest$ac_exeext; then
 
3533
if ac_fn_c_try_link "$LINENO"; then :
3294
3534
  ac_cv_lib_nsl_yp_match=yes
3295
3535
else
3296
 
  echo "$as_me: failed program was:" >&5
3297
 
sed 's/^/| /' conftest.$ac_ext >&5
3298
 
 
3299
 
        ac_cv_lib_nsl_yp_match=no
 
3536
  ac_cv_lib_nsl_yp_match=no
3300
3537
fi
3301
 
 
3302
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3303
 
      conftest$ac_exeext conftest.$ac_ext
 
3538
rm -f core conftest.err conftest.$ac_objext \
 
3539
    conftest$ac_exeext conftest.$ac_ext
3304
3540
LIBS=$ac_check_lib_save_LIBS
3305
3541
fi
3306
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
3307
 
echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; }
3308
 
if test $ac_cv_lib_nsl_yp_match = yes; then
 
3542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_yp_match" >&5
 
3543
$as_echo "$ac_cv_lib_nsl_yp_match" >&6; }
 
3544
if test "x$ac_cv_lib_nsl_yp_match" = xyes; then :
3309
3545
  LIBS="$LIBS -lnsl"
3310
3546
fi
3311
3547
 
3313
3549
 
3314
3550
*-*-aix*)
3315
3551
 
3316
 
cat >>confdefs.h <<\_ACEOF
3317
 
#define AIX
3318
 
_ACEOF
 
3552
$as_echo "#define AIX /**/" >>confdefs.h
3319
3553
 
3320
3554
        # OpenSSH thinks it's broken. If it isn't, let me know.
3321
3555
 
3322
 
cat >>confdefs.h <<\_ACEOF
3323
 
#define BROKEN_GETADDRINFO
3324
 
_ACEOF
 
3556
$as_echo "#define BROKEN_GETADDRINFO /**/" >>confdefs.h
3325
3557
 
3326
3558
        ;;
3327
3559
 
3329
3561
        LIBS="$LIBS -lsec"
3330
3562
        # It's probably broken.
3331
3563
 
3332
 
cat >>confdefs.h <<\_ACEOF
3333
 
#define BROKEN_GETADDRINFO
3334
 
_ACEOF
 
3564
$as_echo "#define BROKEN_GETADDRINFO /**/" >>confdefs.h
3335
3565
 
3336
3566
        ;;
3337
3567
*-dec-osf*)
3338
3568
 
3339
 
cat >>confdefs.h <<\_ACEOF
3340
 
#define BROKEN_GETADDRINFO
3341
 
_ACEOF
 
3569
$as_echo "#define BROKEN_GETADDRINFO /**/" >>confdefs.h
3342
3570
 
3343
3571
        ;;
3344
3572
esac
3346
3574
if test -n "$ac_tool_prefix"; then
3347
3575
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3348
3576
set dummy ${ac_tool_prefix}ar; ac_word=$2
3349
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3350
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3351
 
if test "${ac_cv_prog_AR+set}" = set; then
3352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3578
$as_echo_n "checking for $ac_word... " >&6; }
 
3579
if ${ac_cv_prog_AR+:} false; then :
 
3580
  $as_echo_n "(cached) " >&6
3353
3581
else
3354
3582
  if test -n "$AR"; then
3355
3583
  ac_cv_prog_AR="$AR" # Let the user override the test.
3359
3587
do
3360
3588
  IFS=$as_save_IFS
3361
3589
  test -z "$as_dir" && as_dir=.
3362
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3363
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3590
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3591
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364
3592
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3365
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3593
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366
3594
    break 2
3367
3595
  fi
3368
3596
done
3369
 
done
 
3597
  done
3370
3598
IFS=$as_save_IFS
3371
3599
 
3372
3600
fi
3373
3601
fi
3374
3602
AR=$ac_cv_prog_AR
3375
3603
if test -n "$AR"; then
3376
 
  { echo "$as_me:$LINENO: result: $AR" >&5
3377
 
echo "${ECHO_T}$AR" >&6; }
 
3604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
3605
$as_echo "$AR" >&6; }
3378
3606
else
3379
 
  { echo "$as_me:$LINENO: result: no" >&5
3380
 
echo "${ECHO_T}no" >&6; }
 
3607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3608
$as_echo "no" >&6; }
3381
3609
fi
3382
3610
 
3383
3611
 
3386
3614
  ac_ct_AR=$AR
3387
3615
  # Extract the first word of "ar", so it can be a program name with args.
3388
3616
set dummy ar; ac_word=$2
3389
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3390
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3391
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3618
$as_echo_n "checking for $ac_word... " >&6; }
 
3619
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
3620
  $as_echo_n "(cached) " >&6
3393
3621
else
3394
3622
  if test -n "$ac_ct_AR"; then
3395
3623
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3399
3627
do
3400
3628
  IFS=$as_save_IFS
3401
3629
  test -z "$as_dir" && as_dir=.
3402
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3403
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3630
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3631
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404
3632
    ac_cv_prog_ac_ct_AR="ar"
3405
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406
3634
    break 2
3407
3635
  fi
3408
3636
done
3409
 
done
 
3637
  done
3410
3638
IFS=$as_save_IFS
3411
3639
 
3412
3640
fi
3413
3641
fi
3414
3642
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3415
3643
if test -n "$ac_ct_AR"; then
3416
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3417
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
3644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
3645
$as_echo "$ac_ct_AR" >&6; }
3418
3646
else
3419
 
  { echo "$as_me:$LINENO: result: no" >&5
3420
 
echo "${ECHO_T}no" >&6; }
 
3647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3648
$as_echo "no" >&6; }
3421
3649
fi
3422
3650
 
3423
3651
  if test "x$ac_ct_AR" = x; then
3425
3653
  else
3426
3654
    case $cross_compiling:$ac_tool_warned in
3427
3655
yes:)
3428
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3429
 
whose name does not start with the host triplet.  If you think this
3430
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3431
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3432
 
whose name does not start with the host triplet.  If you think this
3433
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3657
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3434
3658
ac_tool_warned=yes ;;
3435
3659
esac
3436
3660
    AR=$ac_ct_AR
3442
3666
if test -n "$ac_tool_prefix"; then
3443
3667
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3444
3668
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3445
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3446
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3447
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
3448
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3670
$as_echo_n "checking for $ac_word... " >&6; }
 
3671
if ${ac_cv_prog_RANLIB+:} false; then :
 
3672
  $as_echo_n "(cached) " >&6
3449
3673
else
3450
3674
  if test -n "$RANLIB"; then
3451
3675
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3455
3679
do
3456
3680
  IFS=$as_save_IFS
3457
3681
  test -z "$as_dir" && as_dir=.
3458
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3459
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3682
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3683
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460
3684
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3461
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3685
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462
3686
    break 2
3463
3687
  fi
3464
3688
done
3465
 
done
 
3689
  done
3466
3690
IFS=$as_save_IFS
3467
3691
 
3468
3692
fi
3469
3693
fi
3470
3694
RANLIB=$ac_cv_prog_RANLIB
3471
3695
if test -n "$RANLIB"; then
3472
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
3473
 
echo "${ECHO_T}$RANLIB" >&6; }
 
3696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
3697
$as_echo "$RANLIB" >&6; }
3474
3698
else
3475
 
  { echo "$as_me:$LINENO: result: no" >&5
3476
 
echo "${ECHO_T}no" >&6; }
 
3699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3700
$as_echo "no" >&6; }
3477
3701
fi
3478
3702
 
3479
3703
 
3482
3706
  ac_ct_RANLIB=$RANLIB
3483
3707
  # Extract the first word of "ranlib", so it can be a program name with args.
3484
3708
set dummy ranlib; ac_word=$2
3485
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3486
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3487
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3488
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3710
$as_echo_n "checking for $ac_word... " >&6; }
 
3711
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
3712
  $as_echo_n "(cached) " >&6
3489
3713
else
3490
3714
  if test -n "$ac_ct_RANLIB"; then
3491
3715
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3495
3719
do
3496
3720
  IFS=$as_save_IFS
3497
3721
  test -z "$as_dir" && as_dir=.
3498
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3499
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3722
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3723
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500
3724
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3501
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3725
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502
3726
    break 2
3503
3727
  fi
3504
3728
done
3505
 
done
 
3729
  done
3506
3730
IFS=$as_save_IFS
3507
3731
 
3508
3732
fi
3509
3733
fi
3510
3734
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3511
3735
if test -n "$ac_ct_RANLIB"; then
3512
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3513
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
3736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
3737
$as_echo "$ac_ct_RANLIB" >&6; }
3514
3738
else
3515
 
  { echo "$as_me:$LINENO: result: no" >&5
3516
 
echo "${ECHO_T}no" >&6; }
 
3739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3740
$as_echo "no" >&6; }
3517
3741
fi
3518
3742
 
3519
3743
  if test "x$ac_ct_RANLIB" = x; then
3521
3745
  else
3522
3746
    case $cross_compiling:$ac_tool_warned in
3523
3747
yes:)
3524
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3525
 
whose name does not start with the host triplet.  If you think this
3526
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3527
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3528
 
whose name does not start with the host triplet.  If you think this
3529
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3748
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3530
3750
ac_tool_warned=yes ;;
3531
3751
esac
3532
3752
    RANLIB=$ac_ct_RANLIB
3538
3758
if test -n "$ac_tool_prefix"; then
3539
3759
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3540
3760
set dummy ${ac_tool_prefix}strip; ac_word=$2
3541
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3542
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3543
 
if test "${ac_cv_prog_STRIP+set}" = set; then
3544
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3762
$as_echo_n "checking for $ac_word... " >&6; }
 
3763
if ${ac_cv_prog_STRIP+:} false; then :
 
3764
  $as_echo_n "(cached) " >&6
3545
3765
else
3546
3766
  if test -n "$STRIP"; then
3547
3767
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551
3771
do
3552
3772
  IFS=$as_save_IFS
3553
3773
  test -z "$as_dir" && as_dir=.
3554
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3555
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3774
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3775
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556
3776
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3557
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558
3778
    break 2
3559
3779
  fi
3560
3780
done
3561
 
done
 
3781
  done
3562
3782
IFS=$as_save_IFS
3563
3783
 
3564
3784
fi
3565
3785
fi
3566
3786
STRIP=$ac_cv_prog_STRIP
3567
3787
if test -n "$STRIP"; then
3568
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
3569
 
echo "${ECHO_T}$STRIP" >&6; }
 
3788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3789
$as_echo "$STRIP" >&6; }
3570
3790
else
3571
 
  { echo "$as_me:$LINENO: result: no" >&5
3572
 
echo "${ECHO_T}no" >&6; }
 
3791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3792
$as_echo "no" >&6; }
3573
3793
fi
3574
3794
 
3575
3795
 
3578
3798
  ac_ct_STRIP=$STRIP
3579
3799
  # Extract the first word of "strip", so it can be a program name with args.
3580
3800
set dummy strip; ac_word=$2
3581
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3582
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3583
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3584
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3802
$as_echo_n "checking for $ac_word... " >&6; }
 
3803
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
3804
  $as_echo_n "(cached) " >&6
3585
3805
else
3586
3806
  if test -n "$ac_ct_STRIP"; then
3587
3807
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591
3811
do
3592
3812
  IFS=$as_save_IFS
3593
3813
  test -z "$as_dir" && as_dir=.
3594
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3595
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3814
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3815
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3596
3816
    ac_cv_prog_ac_ct_STRIP="strip"
3597
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598
3818
    break 2
3599
3819
  fi
3600
3820
done
3601
 
done
 
3821
  done
3602
3822
IFS=$as_save_IFS
3603
3823
 
3604
3824
fi
3605
3825
fi
3606
3826
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3607
3827
if test -n "$ac_ct_STRIP"; then
3608
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3609
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
3828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3829
$as_echo "$ac_ct_STRIP" >&6; }
3610
3830
else
3611
 
  { echo "$as_me:$LINENO: result: no" >&5
3612
 
echo "${ECHO_T}no" >&6; }
 
3831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3832
$as_echo "no" >&6; }
3613
3833
fi
3614
3834
 
3615
3835
  if test "x$ac_ct_STRIP" = x; then
3617
3837
  else
3618
3838
    case $cross_compiling:$ac_tool_warned in
3619
3839
yes:)
3620
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3621
 
whose name does not start with the host triplet.  If you think this
3622
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3623
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3624
 
whose name does not start with the host triplet.  If you think this
3625
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626
3842
ac_tool_warned=yes ;;
3627
3843
esac
3628
3844
    STRIP=$ac_ct_STRIP
3634
3850
if test -n "$ac_tool_prefix"; then
3635
3851
  # Extract the first word of "${ac_tool_prefix}install", so it can be a program name with args.
3636
3852
set dummy ${ac_tool_prefix}install; ac_word=$2
3637
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3638
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3639
 
if test "${ac_cv_prog_INSTALL+set}" = set; then
3640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3854
$as_echo_n "checking for $ac_word... " >&6; }
 
3855
if ${ac_cv_prog_INSTALL+:} false; then :
 
3856
  $as_echo_n "(cached) " >&6
3641
3857
else
3642
3858
  if test -n "$INSTALL"; then
3643
3859
  ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3647
3863
do
3648
3864
  IFS=$as_save_IFS
3649
3865
  test -z "$as_dir" && as_dir=.
3650
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3651
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3867
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652
3868
    ac_cv_prog_INSTALL="${ac_tool_prefix}install"
3653
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654
3870
    break 2
3655
3871
  fi
3656
3872
done
3657
 
done
 
3873
  done
3658
3874
IFS=$as_save_IFS
3659
3875
 
3660
3876
fi
3661
3877
fi
3662
3878
INSTALL=$ac_cv_prog_INSTALL
3663
3879
if test -n "$INSTALL"; then
3664
 
  { echo "$as_me:$LINENO: result: $INSTALL" >&5
3665
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
3881
$as_echo "$INSTALL" >&6; }
3666
3882
else
3667
 
  { echo "$as_me:$LINENO: result: no" >&5
3668
 
echo "${ECHO_T}no" >&6; }
 
3883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3884
$as_echo "no" >&6; }
3669
3885
fi
3670
3886
 
3671
3887
 
3674
3890
  ac_ct_INSTALL=$INSTALL
3675
3891
  # Extract the first word of "install", so it can be a program name with args.
3676
3892
set dummy install; ac_word=$2
3677
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3678
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3679
 
if test "${ac_cv_prog_ac_ct_INSTALL+set}" = set; then
3680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3894
$as_echo_n "checking for $ac_word... " >&6; }
 
3895
if ${ac_cv_prog_ac_ct_INSTALL+:} false; then :
 
3896
  $as_echo_n "(cached) " >&6
3681
3897
else
3682
3898
  if test -n "$ac_ct_INSTALL"; then
3683
3899
  ac_cv_prog_ac_ct_INSTALL="$ac_ct_INSTALL" # Let the user override the test.
3687
3903
do
3688
3904
  IFS=$as_save_IFS
3689
3905
  test -z "$as_dir" && as_dir=.
3690
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3691
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3906
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3907
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3692
3908
    ac_cv_prog_ac_ct_INSTALL="install"
3693
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3909
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694
3910
    break 2
3695
3911
  fi
3696
3912
done
3697
 
done
 
3913
  done
3698
3914
IFS=$as_save_IFS
3699
3915
 
3700
3916
fi
3701
3917
fi
3702
3918
ac_ct_INSTALL=$ac_cv_prog_ac_ct_INSTALL
3703
3919
if test -n "$ac_ct_INSTALL"; then
3704
 
  { echo "$as_me:$LINENO: result: $ac_ct_INSTALL" >&5
3705
 
echo "${ECHO_T}$ac_ct_INSTALL" >&6; }
 
3920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_INSTALL" >&5
 
3921
$as_echo "$ac_ct_INSTALL" >&6; }
3706
3922
else
3707
 
  { echo "$as_me:$LINENO: result: no" >&5
3708
 
echo "${ECHO_T}no" >&6; }
 
3923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3924
$as_echo "no" >&6; }
3709
3925
fi
3710
3926
 
3711
3927
  if test "x$ac_ct_INSTALL" = x; then
3713
3929
  else
3714
3930
    case $cross_compiling:$ac_tool_warned in
3715
3931
yes:)
3716
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3717
 
whose name does not start with the host triplet.  If you think this
3718
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3719
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3720
 
whose name does not start with the host triplet.  If you think this
3721
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3722
3934
ac_tool_warned=yes ;;
3723
3935
esac
3724
3936
    INSTALL=$ac_ct_INSTALL
3733
3945
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734
3946
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735
3947
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3737
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3949
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3738
3950
# On Suns, sometimes $CPP names a directory.
3739
3951
if test -n "$CPP" && test -d "$CPP"; then
3740
3952
  CPP=
3741
3953
fi
3742
3954
if test -z "$CPP"; then
3743
 
  if test "${ac_cv_prog_CPP+set}" = set; then
3744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3955
  if ${ac_cv_prog_CPP+:} false; then :
 
3956
  $as_echo_n "(cached) " >&6
3745
3957
else
3746
3958
      # Double quotes because CPP needs to be expanded
3747
3959
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3755
3967
  # <limits.h> exists even on freestanding compilers.
3756
3968
  # On the NeXT, cc -E runs the code through the compiler's parser,
3757
3969
  # not just through cpp. "Syntax error" is here to catch this case.
3758
 
  cat >conftest.$ac_ext <<_ACEOF
3759
 
/* confdefs.h.  */
3760
 
_ACEOF
3761
 
cat confdefs.h >>conftest.$ac_ext
3762
 
cat >>conftest.$ac_ext <<_ACEOF
 
3970
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763
3971
/* end confdefs.h.  */
3764
3972
#ifdef __STDC__
3765
3973
# include <limits.h>
3768
3976
#endif
3769
3977
                     Syntax error
3770
3978
_ACEOF
3771
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3772
 
case "(($ac_try" in
3773
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774
 
  *) ac_try_echo=$ac_try;;
3775
 
esac
3776
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778
 
  ac_status=$?
3779
 
  grep -v '^ *+' conftest.er1 >conftest.err
3780
 
  rm -f conftest.er1
3781
 
  cat conftest.err >&5
3782
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783
 
  (exit $ac_status); } >/dev/null && {
3784
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785
 
         test ! -s conftest.err
3786
 
       }; then
3787
 
  :
 
3979
if ac_fn_c_try_cpp "$LINENO"; then :
 
3980
 
3788
3981
else
3789
 
  echo "$as_me: failed program was:" >&5
3790
 
sed 's/^/| /' conftest.$ac_ext >&5
3791
 
 
3792
3982
  # Broken: fails on valid input.
3793
3983
continue
3794
3984
fi
3795
 
 
3796
 
rm -f conftest.err conftest.$ac_ext
 
3985
rm -f conftest.err conftest.i conftest.$ac_ext
3797
3986
 
3798
3987
  # OK, works on sane cases.  Now check whether nonexistent headers
3799
3988
  # can be detected and how.
3800
 
  cat >conftest.$ac_ext <<_ACEOF
3801
 
/* confdefs.h.  */
3802
 
_ACEOF
3803
 
cat confdefs.h >>conftest.$ac_ext
3804
 
cat >>conftest.$ac_ext <<_ACEOF
 
3989
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805
3990
/* end confdefs.h.  */
3806
3991
#include <ac_nonexistent.h>
3807
3992
_ACEOF
3808
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3809
 
case "(($ac_try" in
3810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811
 
  *) ac_try_echo=$ac_try;;
3812
 
esac
3813
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3815
 
  ac_status=$?
3816
 
  grep -v '^ *+' conftest.er1 >conftest.err
3817
 
  rm -f conftest.er1
3818
 
  cat conftest.err >&5
3819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820
 
  (exit $ac_status); } >/dev/null && {
3821
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3822
 
         test ! -s conftest.err
3823
 
       }; then
 
3993
if ac_fn_c_try_cpp "$LINENO"; then :
3824
3994
  # Broken: success on invalid input.
3825
3995
continue
3826
3996
else
3827
 
  echo "$as_me: failed program was:" >&5
3828
 
sed 's/^/| /' conftest.$ac_ext >&5
3829
 
 
3830
3997
  # Passes both tests.
3831
3998
ac_preproc_ok=:
3832
3999
break
3833
4000
fi
3834
 
 
3835
 
rm -f conftest.err conftest.$ac_ext
 
4001
rm -f conftest.err conftest.i conftest.$ac_ext
3836
4002
 
3837
4003
done
3838
4004
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3839
 
rm -f conftest.err conftest.$ac_ext
3840
 
if $ac_preproc_ok; then
 
4005
rm -f conftest.i conftest.err conftest.$ac_ext
 
4006
if $ac_preproc_ok; then :
3841
4007
  break
3842
4008
fi
3843
4009
 
3849
4015
else
3850
4016
  ac_cv_prog_CPP=$CPP
3851
4017
fi
3852
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3853
 
echo "${ECHO_T}$CPP" >&6; }
 
4018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4019
$as_echo "$CPP" >&6; }
3854
4020
ac_preproc_ok=false
3855
4021
for ac_c_preproc_warn_flag in '' yes
3856
4022
do
3860
4026
  # <limits.h> exists even on freestanding compilers.
3861
4027
  # On the NeXT, cc -E runs the code through the compiler's parser,
3862
4028
  # not just through cpp. "Syntax error" is here to catch this case.
3863
 
  cat >conftest.$ac_ext <<_ACEOF
3864
 
/* confdefs.h.  */
3865
 
_ACEOF
3866
 
cat confdefs.h >>conftest.$ac_ext
3867
 
cat >>conftest.$ac_ext <<_ACEOF
 
4029
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868
4030
/* end confdefs.h.  */
3869
4031
#ifdef __STDC__
3870
4032
# include <limits.h>
3873
4035
#endif
3874
4036
                     Syntax error
3875
4037
_ACEOF
3876
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3877
 
case "(($ac_try" in
3878
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879
 
  *) ac_try_echo=$ac_try;;
3880
 
esac
3881
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3883
 
  ac_status=$?
3884
 
  grep -v '^ *+' conftest.er1 >conftest.err
3885
 
  rm -f conftest.er1
3886
 
  cat conftest.err >&5
3887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888
 
  (exit $ac_status); } >/dev/null && {
3889
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890
 
         test ! -s conftest.err
3891
 
       }; then
3892
 
  :
 
4038
if ac_fn_c_try_cpp "$LINENO"; then :
 
4039
 
3893
4040
else
3894
 
  echo "$as_me: failed program was:" >&5
3895
 
sed 's/^/| /' conftest.$ac_ext >&5
3896
 
 
3897
4041
  # Broken: fails on valid input.
3898
4042
continue
3899
4043
fi
3900
 
 
3901
 
rm -f conftest.err conftest.$ac_ext
 
4044
rm -f conftest.err conftest.i conftest.$ac_ext
3902
4045
 
3903
4046
  # OK, works on sane cases.  Now check whether nonexistent headers
3904
4047
  # can be detected and how.
3905
 
  cat >conftest.$ac_ext <<_ACEOF
3906
 
/* confdefs.h.  */
3907
 
_ACEOF
3908
 
cat confdefs.h >>conftest.$ac_ext
3909
 
cat >>conftest.$ac_ext <<_ACEOF
 
4048
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910
4049
/* end confdefs.h.  */
3911
4050
#include <ac_nonexistent.h>
3912
4051
_ACEOF
3913
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
3914
 
case "(($ac_try" in
3915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916
 
  *) ac_try_echo=$ac_try;;
3917
 
esac
3918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3919
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3920
 
  ac_status=$?
3921
 
  grep -v '^ *+' conftest.er1 >conftest.err
3922
 
  rm -f conftest.er1
3923
 
  cat conftest.err >&5
3924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925
 
  (exit $ac_status); } >/dev/null && {
3926
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3927
 
         test ! -s conftest.err
3928
 
       }; then
 
4052
if ac_fn_c_try_cpp "$LINENO"; then :
3929
4053
  # Broken: success on invalid input.
3930
4054
continue
3931
4055
else
3932
 
  echo "$as_me: failed program was:" >&5
3933
 
sed 's/^/| /' conftest.$ac_ext >&5
3934
 
 
3935
4056
  # Passes both tests.
3936
4057
ac_preproc_ok=:
3937
4058
break
3938
4059
fi
3939
 
 
3940
 
rm -f conftest.err conftest.$ac_ext
 
4060
rm -f conftest.err conftest.i conftest.$ac_ext
3941
4061
 
3942
4062
done
3943
4063
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3944
 
rm -f conftest.err conftest.$ac_ext
3945
 
if $ac_preproc_ok; then
3946
 
  :
 
4064
rm -f conftest.i conftest.err conftest.$ac_ext
 
4065
if $ac_preproc_ok; then :
 
4066
 
3947
4067
else
3948
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3949
 
See \`config.log' for more details." >&5
3950
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3951
 
See \`config.log' for more details." >&2;}
3952
 
   { (exit 1); exit 1; }; }
 
4068
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4069
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4070
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4071
See \`config.log' for more details" "$LINENO" 5; }
3953
4072
fi
3954
4073
 
3955
4074
ac_ext=c
3959
4078
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3960
4079
 
3961
4080
 
3962
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3963
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3964
 
if test "${ac_cv_path_GREP+set}" = set; then
3965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3966
 
else
3967
 
  # Extract the first word of "grep ggrep" to use in msg output
3968
 
if test -z "$GREP"; then
3969
 
set dummy grep ggrep; ac_prog_name=$2
3970
 
if test "${ac_cv_path_GREP+set}" = set; then
3971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3972
 
else
 
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4082
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4083
if ${ac_cv_path_GREP+:} false; then :
 
4084
  $as_echo_n "(cached) " >&6
 
4085
else
 
4086
  if test -z "$GREP"; then
3973
4087
  ac_path_GREP_found=false
3974
 
# Loop through the user's path and test for each of PROGNAME-LIST
3975
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4088
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4089
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976
4090
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3977
4091
do
3978
4092
  IFS=$as_save_IFS
3979
4093
  test -z "$as_dir" && as_dir=.
3980
 
  for ac_prog in grep ggrep; do
3981
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3982
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3983
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3984
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4094
    for ac_prog in grep ggrep; do
 
4095
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4096
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4097
      as_fn_executable_p "$ac_path_GREP" || continue
 
4098
# Check for GNU ac_path_GREP and select it if it is found.
3985
4099
  # Check for GNU $ac_path_GREP
3986
4100
case `"$ac_path_GREP" --version 2>&1` in
3987
4101
*GNU*)
3988
4102
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3989
4103
*)
3990
4104
  ac_count=0
3991
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4105
  $as_echo_n 0123456789 >"conftest.in"
3992
4106
  while :
3993
4107
  do
3994
4108
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3995
4109
    mv "conftest.tmp" "conftest.in"
3996
4110
    cp "conftest.in" "conftest.nl"
3997
 
    echo 'GREP' >> "conftest.nl"
 
4111
    $as_echo 'GREP' >> "conftest.nl"
3998
4112
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3999
4113
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4000
 
    ac_count=`expr $ac_count + 1`
 
4114
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4001
4115
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4002
4116
      # Best one so far, save it but keep looking for a better one
4003
4117
      ac_cv_path_GREP="$ac_path_GREP"
4009
4123
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4010
4124
esac
4011
4125
 
4012
 
 
4013
 
    $ac_path_GREP_found && break 3
4014
 
  done
4015
 
done
4016
 
 
4017
 
done
 
4126
      $ac_path_GREP_found && break 3
 
4127
    done
 
4128
  done
 
4129
  done
4018
4130
IFS=$as_save_IFS
4019
 
 
4020
 
 
4021
 
fi
4022
 
 
4023
 
GREP="$ac_cv_path_GREP"
4024
 
if test -z "$GREP"; then
4025
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4026
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4027
 
   { (exit 1); exit 1; }; }
4028
 
fi
4029
 
 
 
4131
  if test -z "$ac_cv_path_GREP"; then
 
4132
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4133
  fi
4030
4134
else
4031
4135
  ac_cv_path_GREP=$GREP
4032
4136
fi
4033
4137
 
4034
 
 
4035
4138
fi
4036
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4037
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4140
$as_echo "$ac_cv_path_GREP" >&6; }
4038
4141
 GREP="$ac_cv_path_GREP"
4039
4142
 
4040
4143
 
4041
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4042
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4043
 
if test "${ac_cv_path_EGREP+set}" = set; then
4044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4145
$as_echo_n "checking for egrep... " >&6; }
 
4146
if ${ac_cv_path_EGREP+:} false; then :
 
4147
  $as_echo_n "(cached) " >&6
4045
4148
else
4046
4149
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4047
4150
   then ac_cv_path_EGREP="$GREP -E"
4048
4151
   else
4049
 
     # Extract the first word of "egrep" to use in msg output
4050
 
if test -z "$EGREP"; then
4051
 
set dummy egrep; ac_prog_name=$2
4052
 
if test "${ac_cv_path_EGREP+set}" = set; then
4053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4054
 
else
 
4152
     if test -z "$EGREP"; then
4055
4153
  ac_path_EGREP_found=false
4056
 
# Loop through the user's path and test for each of PROGNAME-LIST
4057
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4154
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4155
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058
4156
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4059
4157
do
4060
4158
  IFS=$as_save_IFS
4061
4159
  test -z "$as_dir" && as_dir=.
4062
 
  for ac_prog in egrep; do
4063
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4064
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4065
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4066
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4160
    for ac_prog in egrep; do
 
4161
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4162
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4163
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4164
# Check for GNU ac_path_EGREP and select it if it is found.
4067
4165
  # Check for GNU $ac_path_EGREP
4068
4166
case `"$ac_path_EGREP" --version 2>&1` in
4069
4167
*GNU*)
4070
4168
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4071
4169
*)
4072
4170
  ac_count=0
4073
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4171
  $as_echo_n 0123456789 >"conftest.in"
4074
4172
  while :
4075
4173
  do
4076
4174
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4077
4175
    mv "conftest.tmp" "conftest.in"
4078
4176
    cp "conftest.in" "conftest.nl"
4079
 
    echo 'EGREP' >> "conftest.nl"
 
4177
    $as_echo 'EGREP' >> "conftest.nl"
4080
4178
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4081
4179
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4082
 
    ac_count=`expr $ac_count + 1`
 
4180
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4083
4181
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4084
4182
      # Best one so far, save it but keep looking for a better one
4085
4183
      ac_cv_path_EGREP="$ac_path_EGREP"
4091
4189
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092
4190
esac
4093
4191
 
4094
 
 
4095
 
    $ac_path_EGREP_found && break 3
4096
 
  done
4097
 
done
4098
 
 
4099
 
done
 
4192
      $ac_path_EGREP_found && break 3
 
4193
    done
 
4194
  done
 
4195
  done
4100
4196
IFS=$as_save_IFS
4101
 
 
4102
 
 
4103
 
fi
4104
 
 
4105
 
EGREP="$ac_cv_path_EGREP"
4106
 
if test -z "$EGREP"; then
4107
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4108
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4109
 
   { (exit 1); exit 1; }; }
4110
 
fi
4111
 
 
 
4197
  if test -z "$ac_cv_path_EGREP"; then
 
4198
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4199
  fi
4112
4200
else
4113
4201
  ac_cv_path_EGREP=$EGREP
4114
4202
fi
4115
4203
 
4116
 
 
4117
4204
   fi
4118
4205
fi
4119
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4120
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4207
$as_echo "$ac_cv_path_EGREP" >&6; }
4121
4208
 EGREP="$ac_cv_path_EGREP"
4122
4209
 
4123
4210
 
4124
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4125
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4126
 
if test "${ac_cv_header_stdc+set}" = set; then
4127
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4212
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4213
if ${ac_cv_header_stdc+:} false; then :
 
4214
  $as_echo_n "(cached) " >&6
4128
4215
else
4129
 
  cat >conftest.$ac_ext <<_ACEOF
4130
 
/* confdefs.h.  */
4131
 
_ACEOF
4132
 
cat confdefs.h >>conftest.$ac_ext
4133
 
cat >>conftest.$ac_ext <<_ACEOF
 
4216
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134
4217
/* end confdefs.h.  */
4135
4218
#include <stdlib.h>
4136
4219
#include <stdarg.h>
4145
4228
  return 0;
4146
4229
}
4147
4230
_ACEOF
4148
 
rm -f conftest.$ac_objext
4149
 
if { (ac_try="$ac_compile"
4150
 
case "(($ac_try" in
4151
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152
 
  *) ac_try_echo=$ac_try;;
4153
 
esac
4154
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4155
 
  (eval "$ac_compile") 2>conftest.er1
4156
 
  ac_status=$?
4157
 
  grep -v '^ *+' conftest.er1 >conftest.err
4158
 
  rm -f conftest.er1
4159
 
  cat conftest.err >&5
4160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161
 
  (exit $ac_status); } && {
4162
 
         test -z "$ac_c_werror_flag" ||
4163
 
         test ! -s conftest.err
4164
 
       } && test -s conftest.$ac_objext; then
 
4231
if ac_fn_c_try_compile "$LINENO"; then :
4165
4232
  ac_cv_header_stdc=yes
4166
4233
else
4167
 
  echo "$as_me: failed program was:" >&5
4168
 
sed 's/^/| /' conftest.$ac_ext >&5
4169
 
 
4170
 
        ac_cv_header_stdc=no
 
4234
  ac_cv_header_stdc=no
4171
4235
fi
4172
 
 
4173
4236
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174
4237
 
4175
4238
if test $ac_cv_header_stdc = yes; then
4176
4239
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4177
 
  cat >conftest.$ac_ext <<_ACEOF
4178
 
/* confdefs.h.  */
4179
 
_ACEOF
4180
 
cat confdefs.h >>conftest.$ac_ext
4181
 
cat >>conftest.$ac_ext <<_ACEOF
 
4240
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182
4241
/* end confdefs.h.  */
4183
4242
#include <string.h>
4184
4243
 
4185
4244
_ACEOF
4186
4245
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4187
 
  $EGREP "memchr" >/dev/null 2>&1; then
4188
 
  :
 
4246
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4247
 
4189
4248
else
4190
4249
  ac_cv_header_stdc=no
4191
4250
fi
4192
 
rm -f -r conftest*
 
4251
rm -f conftest*
4193
4252
 
4194
4253
fi
4195
4254
 
4196
4255
if test $ac_cv_header_stdc = yes; then
4197
4256
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4198
 
  cat >conftest.$ac_ext <<_ACEOF
4199
 
/* confdefs.h.  */
4200
 
_ACEOF
4201
 
cat confdefs.h >>conftest.$ac_ext
4202
 
cat >>conftest.$ac_ext <<_ACEOF
 
4257
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203
4258
/* end confdefs.h.  */
4204
4259
#include <stdlib.h>
4205
4260
 
4206
4261
_ACEOF
4207
4262
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4208
 
  $EGREP "free" >/dev/null 2>&1; then
4209
 
  :
 
4263
  $EGREP "free" >/dev/null 2>&1; then :
 
4264
 
4210
4265
else
4211
4266
  ac_cv_header_stdc=no
4212
4267
fi
4213
 
rm -f -r conftest*
 
4268
rm -f conftest*
4214
4269
 
4215
4270
fi
4216
4271
 
4217
4272
if test $ac_cv_header_stdc = yes; then
4218
4273
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4219
 
  if test "$cross_compiling" = yes; then
 
4274
  if test "$cross_compiling" = yes; then :
4220
4275
  :
4221
4276
else
4222
 
  cat >conftest.$ac_ext <<_ACEOF
4223
 
/* confdefs.h.  */
4224
 
_ACEOF
4225
 
cat confdefs.h >>conftest.$ac_ext
4226
 
cat >>conftest.$ac_ext <<_ACEOF
 
4277
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227
4278
/* end confdefs.h.  */
4228
4279
#include <ctype.h>
4229
4280
#include <stdlib.h>
4250
4301
  return 0;
4251
4302
}
4252
4303
_ACEOF
4253
 
rm -f conftest$ac_exeext
4254
 
if { (ac_try="$ac_link"
4255
 
case "(($ac_try" in
4256
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257
 
  *) ac_try_echo=$ac_try;;
4258
 
esac
4259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4260
 
  (eval "$ac_link") 2>&5
4261
 
  ac_status=$?
4262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4264
 
  { (case "(($ac_try" in
4265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266
 
  *) ac_try_echo=$ac_try;;
4267
 
esac
4268
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4269
 
  (eval "$ac_try") 2>&5
4270
 
  ac_status=$?
4271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272
 
  (exit $ac_status); }; }; then
4273
 
  :
 
4304
if ac_fn_c_try_run "$LINENO"; then :
 
4305
 
4274
4306
else
4275
 
  echo "$as_me: program exited with status $ac_status" >&5
4276
 
echo "$as_me: failed program was:" >&5
4277
 
sed 's/^/| /' conftest.$ac_ext >&5
4278
 
 
4279
 
( exit $ac_status )
4280
 
ac_cv_header_stdc=no
4281
 
fi
4282
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4283
 
fi
4284
 
 
4285
 
 
4286
 
fi
4287
 
fi
4288
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4289
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4307
  ac_cv_header_stdc=no
 
4308
fi
 
4309
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4310
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4311
fi
 
4312
 
 
4313
fi
 
4314
fi
 
4315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4316
$as_echo "$ac_cv_header_stdc" >&6; }
4290
4317
if test $ac_cv_header_stdc = yes; then
4291
4318
 
4292
 
cat >>confdefs.h <<\_ACEOF
4293
 
#define STDC_HEADERS 1
4294
 
_ACEOF
 
4319
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4295
4320
 
4296
4321
fi
4297
4322
 
4298
4323
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4299
 
 
4300
 
 
4301
 
 
4302
 
 
4303
 
 
4304
 
 
4305
 
 
4306
 
 
4307
 
 
4308
4324
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4309
4325
                  inttypes.h stdint.h unistd.h
4310
 
do
4311
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4312
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4313
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4314
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4315
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4316
 
else
4317
 
  cat >conftest.$ac_ext <<_ACEOF
4318
 
/* confdefs.h.  */
4319
 
_ACEOF
4320
 
cat confdefs.h >>conftest.$ac_ext
4321
 
cat >>conftest.$ac_ext <<_ACEOF
4322
 
/* end confdefs.h.  */
4323
 
$ac_includes_default
4324
 
 
4325
 
#include <$ac_header>
4326
 
_ACEOF
4327
 
rm -f conftest.$ac_objext
4328
 
if { (ac_try="$ac_compile"
4329
 
case "(($ac_try" in
4330
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331
 
  *) ac_try_echo=$ac_try;;
4332
 
esac
4333
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4334
 
  (eval "$ac_compile") 2>conftest.er1
4335
 
  ac_status=$?
4336
 
  grep -v '^ *+' conftest.er1 >conftest.err
4337
 
  rm -f conftest.er1
4338
 
  cat conftest.err >&5
4339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340
 
  (exit $ac_status); } && {
4341
 
         test -z "$ac_c_werror_flag" ||
4342
 
         test ! -s conftest.err
4343
 
       } && test -s conftest.$ac_objext; then
4344
 
  eval "$as_ac_Header=yes"
4345
 
else
4346
 
  echo "$as_me: failed program was:" >&5
4347
 
sed 's/^/| /' conftest.$ac_ext >&5
4348
 
 
4349
 
        eval "$as_ac_Header=no"
4350
 
fi
4351
 
 
4352
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4353
 
fi
4354
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4355
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4356
 
echo "${ECHO_T}$ac_res" >&6; }
4357
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4326
do :
 
4327
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4328
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4329
"
 
4330
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4358
4331
  cat >>confdefs.h <<_ACEOF
4359
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4332
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4360
4333
_ACEOF
4361
4334
 
4362
4335
fi
4364
4337
done
4365
4338
 
4366
4339
 
4367
 
{ echo "$as_me:$LINENO: checking whether __UCLIBC__ is declared" >&5
4368
 
echo $ECHO_N "checking whether __UCLIBC__ is declared... $ECHO_C" >&6; }
4369
 
if test "${ac_cv_have_decl___UCLIBC__+set}" = set; then
4370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4371
 
else
4372
 
  cat >conftest.$ac_ext <<_ACEOF
4373
 
/* confdefs.h.  */
4374
 
_ACEOF
4375
 
cat confdefs.h >>conftest.$ac_ext
4376
 
cat >>conftest.$ac_ext <<_ACEOF
4377
 
/* end confdefs.h.  */
4378
 
$ac_includes_default
4379
 
int
4380
 
main ()
4381
 
{
4382
 
#ifndef __UCLIBC__
4383
 
  (void) __UCLIBC__;
4384
 
#endif
4385
 
 
4386
 
  ;
4387
 
  return 0;
4388
 
}
4389
 
_ACEOF
4390
 
rm -f conftest.$ac_objext
4391
 
if { (ac_try="$ac_compile"
4392
 
case "(($ac_try" in
4393
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394
 
  *) ac_try_echo=$ac_try;;
4395
 
esac
4396
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397
 
  (eval "$ac_compile") 2>conftest.er1
4398
 
  ac_status=$?
4399
 
  grep -v '^ *+' conftest.er1 >conftest.err
4400
 
  rm -f conftest.er1
4401
 
  cat conftest.err >&5
4402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403
 
  (exit $ac_status); } && {
4404
 
         test -z "$ac_c_werror_flag" ||
4405
 
         test ! -s conftest.err
4406
 
       } && test -s conftest.$ac_objext; then
4407
 
  ac_cv_have_decl___UCLIBC__=yes
4408
 
else
4409
 
  echo "$as_me: failed program was:" >&5
4410
 
sed 's/^/| /' conftest.$ac_ext >&5
4411
 
 
4412
 
        ac_cv_have_decl___UCLIBC__=no
4413
 
fi
4414
 
 
4415
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416
 
fi
4417
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl___UCLIBC__" >&5
4418
 
echo "${ECHO_T}$ac_cv_have_decl___UCLIBC__" >&6; }
4419
 
if test $ac_cv_have_decl___UCLIBC__ = yes; then
 
4340
ac_fn_c_check_decl "$LINENO" "__UCLIBC__" "ac_cv_have_decl___UCLIBC__" "$ac_includes_default"
 
4341
if test "x$ac_cv_have_decl___UCLIBC__" = xyes; then :
4420
4342
 
4421
4343
        no_loginfunc_check=1
4422
 
        { echo "$as_me:$LINENO: Using uClibc - login() and logout() probably don't work, so we won't use them." >&5
4423
 
echo "$as_me: Using uClibc - login() and logout() probably don't work, so we won't use them." >&6;}
 
4344
        { $as_echo "$as_me:${as_lineno-$LINENO}: Using uClibc - login() and logout() probably don't work, so we won't use them." >&5
 
4345
$as_echo "$as_me: Using uClibc - login() and logout() probably don't work, so we won't use them." >&6;}
4424
4346
 
4425
4347
fi
4426
4348
 
4427
4349
 
4428
4350
# Checks for libraries.
4429
 
{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
4430
 
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
4431
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
4432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
 
4352
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
 
4353
if ${ac_cv_lib_crypt_crypt+:} false; then :
 
4354
  $as_echo_n "(cached) " >&6
4433
4355
else
4434
4356
  ac_check_lib_save_LIBS=$LIBS
4435
4357
LIBS="-lcrypt  $LIBS"
4436
 
cat >conftest.$ac_ext <<_ACEOF
4437
 
/* confdefs.h.  */
4438
 
_ACEOF
4439
 
cat confdefs.h >>conftest.$ac_ext
4440
 
cat >>conftest.$ac_ext <<_ACEOF
 
4358
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441
4359
/* end confdefs.h.  */
4442
4360
 
4443
4361
/* Override any GCC internal prototype to avoid an error.
4455
4373
  return 0;
4456
4374
}
4457
4375
_ACEOF
4458
 
rm -f conftest.$ac_objext conftest$ac_exeext
4459
 
if { (ac_try="$ac_link"
4460
 
case "(($ac_try" in
4461
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462
 
  *) ac_try_echo=$ac_try;;
4463
 
esac
4464
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465
 
  (eval "$ac_link") 2>conftest.er1
4466
 
  ac_status=$?
4467
 
  grep -v '^ *+' conftest.er1 >conftest.err
4468
 
  rm -f conftest.er1
4469
 
  cat conftest.err >&5
4470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471
 
  (exit $ac_status); } && {
4472
 
         test -z "$ac_c_werror_flag" ||
4473
 
         test ! -s conftest.err
4474
 
       } && test -s conftest$ac_exeext &&
4475
 
       $as_test_x conftest$ac_exeext; then
 
4376
if ac_fn_c_try_link "$LINENO"; then :
4476
4377
  ac_cv_lib_crypt_crypt=yes
4477
4378
else
4478
 
  echo "$as_me: failed program was:" >&5
4479
 
sed 's/^/| /' conftest.$ac_ext >&5
4480
 
 
4481
 
        ac_cv_lib_crypt_crypt=no
 
4379
  ac_cv_lib_crypt_crypt=no
4482
4380
fi
4483
 
 
4484
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4485
 
      conftest$ac_exeext conftest.$ac_ext
 
4381
rm -f core conftest.err conftest.$ac_objext \
 
4382
    conftest$ac_exeext conftest.$ac_ext
4486
4383
LIBS=$ac_check_lib_save_LIBS
4487
4384
fi
4488
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
4489
 
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
4490
 
if test $ac_cv_lib_crypt_crypt = yes; then
 
4385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
 
4386
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
 
4387
if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
4491
4388
  CRYPTLIB="-lcrypt"
4492
4389
fi
4493
4390
 
4496
4393
# Check if zlib is needed
4497
4394
 
4498
4395
# Check whether --with-zlib was given.
4499
 
if test "${with_zlib+set}" = set; then
 
4396
if test "${with_zlib+set}" = set; then :
4500
4397
  withval=$with_zlib;
4501
4398
                # option is given
4502
4399
                if test -d "$withval/lib"; then
4515
4412
 
4516
4413
 
4517
4414
# Check whether --enable-zlib was given.
4518
 
if test "${enable_zlib+set}" = set; then
 
4415
if test "${enable_zlib+set}" = set; then :
4519
4416
  enableval=$enable_zlib;
4520
4417
                if test "x$enableval" = "xno"; then
4521
4418
 
4522
 
cat >>confdefs.h <<\_ACEOF
4523
 
#define DISABLE_ZLIB
4524
 
_ACEOF
 
4419
$as_echo "#define DISABLE_ZLIB /**/" >>confdefs.h
4525
4420
 
4526
 
                        { echo "$as_me:$LINENO: Disabling zlib" >&5
4527
 
echo "$as_me: Disabling zlib" >&6;}
 
4421
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling zlib" >&5
 
4422
$as_echo "$as_me: Disabling zlib" >&6;}
4528
4423
                else
4529
 
 
4530
 
{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4531
 
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4532
 
if test "${ac_cv_lib_z_deflate+set}" = set; then
4533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4424
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
 
4425
$as_echo_n "checking for deflate in -lz... " >&6; }
 
4426
if ${ac_cv_lib_z_deflate+:} false; then :
 
4427
  $as_echo_n "(cached) " >&6
4534
4428
else
4535
4429
  ac_check_lib_save_LIBS=$LIBS
4536
4430
LIBS="-lz  $LIBS"
4537
 
cat >conftest.$ac_ext <<_ACEOF
4538
 
/* confdefs.h.  */
4539
 
_ACEOF
4540
 
cat confdefs.h >>conftest.$ac_ext
4541
 
cat >>conftest.$ac_ext <<_ACEOF
 
4431
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542
4432
/* end confdefs.h.  */
4543
4433
 
4544
4434
/* Override any GCC internal prototype to avoid an error.
4556
4446
  return 0;
4557
4447
}
4558
4448
_ACEOF
4559
 
rm -f conftest.$ac_objext conftest$ac_exeext
4560
 
if { (ac_try="$ac_link"
4561
 
case "(($ac_try" in
4562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563
 
  *) ac_try_echo=$ac_try;;
4564
 
esac
4565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566
 
  (eval "$ac_link") 2>conftest.er1
4567
 
  ac_status=$?
4568
 
  grep -v '^ *+' conftest.er1 >conftest.err
4569
 
  rm -f conftest.er1
4570
 
  cat conftest.err >&5
4571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572
 
  (exit $ac_status); } && {
4573
 
         test -z "$ac_c_werror_flag" ||
4574
 
         test ! -s conftest.err
4575
 
       } && test -s conftest$ac_exeext &&
4576
 
       $as_test_x conftest$ac_exeext; then
 
4449
if ac_fn_c_try_link "$LINENO"; then :
4577
4450
  ac_cv_lib_z_deflate=yes
4578
4451
else
4579
 
  echo "$as_me: failed program was:" >&5
4580
 
sed 's/^/| /' conftest.$ac_ext >&5
4581
 
 
4582
 
        ac_cv_lib_z_deflate=no
 
4452
  ac_cv_lib_z_deflate=no
4583
4453
fi
4584
 
 
4585
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4586
 
      conftest$ac_exeext conftest.$ac_ext
 
4454
rm -f core conftest.err conftest.$ac_objext \
 
4455
    conftest$ac_exeext conftest.$ac_ext
4587
4456
LIBS=$ac_check_lib_save_LIBS
4588
4457
fi
4589
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4590
 
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4591
 
if test $ac_cv_lib_z_deflate = yes; then
 
4458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
 
4459
$as_echo "$ac_cv_lib_z_deflate" >&6; }
 
4460
if test "x$ac_cv_lib_z_deflate" = xyes; then :
4592
4461
  cat >>confdefs.h <<_ACEOF
4593
4462
#define HAVE_LIBZ 1
4594
4463
_ACEOF
4596
4465
  LIBS="-lz $LIBS"
4597
4466
 
4598
4467
else
4599
 
  { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
4600
 
echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
4601
 
   { (exit 1); exit 1; }; }
 
4468
  as_fn_error $? "*** zlib missing - install first or check config.log ***" "$LINENO" 5
4602
4469
fi
4603
4470
 
4604
 
                        { echo "$as_me:$LINENO: Enabling zlib" >&5
4605
 
echo "$as_me: Enabling zlib" >&6;}
 
4471
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling zlib" >&5
 
4472
$as_echo "$as_me: Enabling zlib" >&6;}
4606
4473
                fi
4607
4474
 
4608
4475
else
4609
4476
 
4610
4477
                # if not disabled, check for zlib
4611
 
 
4612
 
{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4613
 
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4614
 
if test "${ac_cv_lib_z_deflate+set}" = set; then
4615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4478
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
 
4479
$as_echo_n "checking for deflate in -lz... " >&6; }
 
4480
if ${ac_cv_lib_z_deflate+:} false; then :
 
4481
  $as_echo_n "(cached) " >&6
4616
4482
else
4617
4483
  ac_check_lib_save_LIBS=$LIBS
4618
4484
LIBS="-lz  $LIBS"
4619
 
cat >conftest.$ac_ext <<_ACEOF
4620
 
/* confdefs.h.  */
4621
 
_ACEOF
4622
 
cat confdefs.h >>conftest.$ac_ext
4623
 
cat >>conftest.$ac_ext <<_ACEOF
 
4485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624
4486
/* end confdefs.h.  */
4625
4487
 
4626
4488
/* Override any GCC internal prototype to avoid an error.
4638
4500
  return 0;
4639
4501
}
4640
4502
_ACEOF
4641
 
rm -f conftest.$ac_objext conftest$ac_exeext
4642
 
if { (ac_try="$ac_link"
4643
 
case "(($ac_try" in
4644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645
 
  *) ac_try_echo=$ac_try;;
4646
 
esac
4647
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648
 
  (eval "$ac_link") 2>conftest.er1
4649
 
  ac_status=$?
4650
 
  grep -v '^ *+' conftest.er1 >conftest.err
4651
 
  rm -f conftest.er1
4652
 
  cat conftest.err >&5
4653
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654
 
  (exit $ac_status); } && {
4655
 
         test -z "$ac_c_werror_flag" ||
4656
 
         test ! -s conftest.err
4657
 
       } && test -s conftest$ac_exeext &&
4658
 
       $as_test_x conftest$ac_exeext; then
 
4503
if ac_fn_c_try_link "$LINENO"; then :
4659
4504
  ac_cv_lib_z_deflate=yes
4660
4505
else
4661
 
  echo "$as_me: failed program was:" >&5
4662
 
sed 's/^/| /' conftest.$ac_ext >&5
4663
 
 
4664
 
        ac_cv_lib_z_deflate=no
 
4506
  ac_cv_lib_z_deflate=no
4665
4507
fi
4666
 
 
4667
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4668
 
      conftest$ac_exeext conftest.$ac_ext
 
4508
rm -f core conftest.err conftest.$ac_objext \
 
4509
    conftest$ac_exeext conftest.$ac_ext
4669
4510
LIBS=$ac_check_lib_save_LIBS
4670
4511
fi
4671
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4672
 
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4673
 
if test $ac_cv_lib_z_deflate = yes; then
 
4512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
 
4513
$as_echo "$ac_cv_lib_z_deflate" >&6; }
 
4514
if test "x$ac_cv_lib_z_deflate" = xyes; then :
4674
4515
  cat >>confdefs.h <<_ACEOF
4675
4516
#define HAVE_LIBZ 1
4676
4517
_ACEOF
4678
4519
  LIBS="-lz $LIBS"
4679
4520
 
4680
4521
else
4681
 
  { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
4682
 
echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
4683
 
   { (exit 1); exit 1; }; }
 
4522
  as_fn_error $? "*** zlib missing - install first or check config.log ***" "$LINENO" 5
4684
4523
fi
4685
4524
 
4686
 
                { echo "$as_me:$LINENO: Enabling zlib" >&5
4687
 
echo "$as_me: Enabling zlib" >&6;}
 
4525
                { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling zlib" >&5
 
4526
$as_echo "$as_me: Enabling zlib" >&6;}
4688
4527
 
4689
4528
 
4690
4529
fi
4693
4532
# Check if pam is needed
4694
4533
 
4695
4534
# Check whether --with-pam was given.
4696
 
if test "${with_pam+set}" = set; then
 
4535
if test "${with_pam+set}" = set; then :
4697
4536
  withval=$with_pam;
4698
4537
                # option is given
4699
4538
                if test -d "$withval/lib"; then
4713
4552
 
4714
4553
 
4715
4554
# Check whether --enable-pam was given.
4716
 
if test "${enable_pam+set}" = set; then
 
4555
if test "${enable_pam+set}" = set; then :
4717
4556
  enableval=$enable_pam;
4718
4557
                if test "x$enableval" = "xyes"; then
4719
 
 
4720
 
{ echo "$as_me:$LINENO: checking for pam_authenticate in -lpam" >&5
4721
 
echo $ECHO_N "checking for pam_authenticate in -lpam... $ECHO_C" >&6; }
4722
 
if test "${ac_cv_lib_pam_pam_authenticate+set}" = set; then
4723
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4558
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_authenticate in -lpam" >&5
 
4559
$as_echo_n "checking for pam_authenticate in -lpam... " >&6; }
 
4560
if ${ac_cv_lib_pam_pam_authenticate+:} false; then :
 
4561
  $as_echo_n "(cached) " >&6
4724
4562
else
4725
4563
  ac_check_lib_save_LIBS=$LIBS
4726
4564
LIBS="-lpam  $LIBS"
4727
 
cat >conftest.$ac_ext <<_ACEOF
4728
 
/* confdefs.h.  */
4729
 
_ACEOF
4730
 
cat confdefs.h >>conftest.$ac_ext
4731
 
cat >>conftest.$ac_ext <<_ACEOF
 
4565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732
4566
/* end confdefs.h.  */
4733
4567
 
4734
4568
/* Override any GCC internal prototype to avoid an error.
4746
4580
  return 0;
4747
4581
}
4748
4582
_ACEOF
4749
 
rm -f conftest.$ac_objext conftest$ac_exeext
4750
 
if { (ac_try="$ac_link"
4751
 
case "(($ac_try" in
4752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753
 
  *) ac_try_echo=$ac_try;;
4754
 
esac
4755
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4756
 
  (eval "$ac_link") 2>conftest.er1
4757
 
  ac_status=$?
4758
 
  grep -v '^ *+' conftest.er1 >conftest.err
4759
 
  rm -f conftest.er1
4760
 
  cat conftest.err >&5
4761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762
 
  (exit $ac_status); } && {
4763
 
         test -z "$ac_c_werror_flag" ||
4764
 
         test ! -s conftest.err
4765
 
       } && test -s conftest$ac_exeext &&
4766
 
       $as_test_x conftest$ac_exeext; then
 
4583
if ac_fn_c_try_link "$LINENO"; then :
4767
4584
  ac_cv_lib_pam_pam_authenticate=yes
4768
4585
else
4769
 
  echo "$as_me: failed program was:" >&5
4770
 
sed 's/^/| /' conftest.$ac_ext >&5
4771
 
 
4772
 
        ac_cv_lib_pam_pam_authenticate=no
 
4586
  ac_cv_lib_pam_pam_authenticate=no
4773
4587
fi
4774
 
 
4775
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4776
 
      conftest$ac_exeext conftest.$ac_ext
 
4588
rm -f core conftest.err conftest.$ac_objext \
 
4589
    conftest$ac_exeext conftest.$ac_ext
4777
4590
LIBS=$ac_check_lib_save_LIBS
4778
4591
fi
4779
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_authenticate" >&5
4780
 
echo "${ECHO_T}$ac_cv_lib_pam_pam_authenticate" >&6; }
4781
 
if test $ac_cv_lib_pam_pam_authenticate = yes; then
 
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_authenticate" >&5
 
4593
$as_echo "$ac_cv_lib_pam_pam_authenticate" >&6; }
 
4594
if test "x$ac_cv_lib_pam_pam_authenticate" = xyes; then :
4782
4595
  cat >>confdefs.h <<_ACEOF
4783
4596
#define HAVE_LIBPAM 1
4784
4597
_ACEOF
4786
4599
  LIBS="-lpam $LIBS"
4787
4600
 
4788
4601
else
4789
 
  { { echo "$as_me:$LINENO: error: *** PAM missing - install first or check config.log ***" >&5
4790
 
echo "$as_me: error: *** PAM missing - install first or check config.log ***" >&2;}
4791
 
   { (exit 1); exit 1; }; }
4792
 
fi
4793
 
 
4794
 
                        { echo "$as_me:$LINENO: Enabling PAM" >&5
4795
 
echo "$as_me: Enabling PAM" >&6;}
4796
 
 
4797
 
for ac_func in pam_fail_delay
4798
 
do
4799
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4800
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4801
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4802
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4804
 
else
4805
 
  cat >conftest.$ac_ext <<_ACEOF
4806
 
/* confdefs.h.  */
4807
 
_ACEOF
4808
 
cat confdefs.h >>conftest.$ac_ext
4809
 
cat >>conftest.$ac_ext <<_ACEOF
4810
 
/* end confdefs.h.  */
4811
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4812
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4813
 
#define $ac_func innocuous_$ac_func
4814
 
 
4815
 
/* System header to define __stub macros and hopefully few prototypes,
4816
 
    which can conflict with char $ac_func (); below.
4817
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4818
 
    <limits.h> exists even on freestanding compilers.  */
4819
 
 
4820
 
#ifdef __STDC__
4821
 
# include <limits.h>
4822
 
#else
4823
 
# include <assert.h>
4824
 
#endif
4825
 
 
4826
 
#undef $ac_func
4827
 
 
4828
 
/* Override any GCC internal prototype to avoid an error.
4829
 
   Use char because int might match the return type of a GCC
4830
 
   builtin and then its argument prototype would still apply.  */
4831
 
#ifdef __cplusplus
4832
 
extern "C"
4833
 
#endif
4834
 
char $ac_func ();
4835
 
/* The GNU C library defines this for functions which it implements
4836
 
    to always fail with ENOSYS.  Some functions are actually named
4837
 
    something starting with __ and the normal name is an alias.  */
4838
 
#if defined __stub_$ac_func || defined __stub___$ac_func
4839
 
choke me
4840
 
#endif
4841
 
 
4842
 
int
4843
 
main ()
4844
 
{
4845
 
return $ac_func ();
4846
 
  ;
4847
 
  return 0;
4848
 
}
4849
 
_ACEOF
4850
 
rm -f conftest.$ac_objext conftest$ac_exeext
4851
 
if { (ac_try="$ac_link"
4852
 
case "(($ac_try" in
4853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854
 
  *) ac_try_echo=$ac_try;;
4855
 
esac
4856
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4857
 
  (eval "$ac_link") 2>conftest.er1
4858
 
  ac_status=$?
4859
 
  grep -v '^ *+' conftest.er1 >conftest.err
4860
 
  rm -f conftest.er1
4861
 
  cat conftest.err >&5
4862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863
 
  (exit $ac_status); } && {
4864
 
         test -z "$ac_c_werror_flag" ||
4865
 
         test ! -s conftest.err
4866
 
       } && test -s conftest$ac_exeext &&
4867
 
       $as_test_x conftest$ac_exeext; then
4868
 
  eval "$as_ac_var=yes"
4869
 
else
4870
 
  echo "$as_me: failed program was:" >&5
4871
 
sed 's/^/| /' conftest.$ac_ext >&5
4872
 
 
4873
 
        eval "$as_ac_var=no"
4874
 
fi
4875
 
 
4876
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4877
 
      conftest$ac_exeext conftest.$ac_ext
4878
 
fi
4879
 
ac_res=`eval echo '${'$as_ac_var'}'`
4880
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4881
 
echo "${ECHO_T}$ac_res" >&6; }
4882
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4602
  as_fn_error $? "*** PAM missing - install first or check config.log ***" "$LINENO" 5
 
4603
fi
 
4604
 
 
4605
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling PAM" >&5
 
4606
$as_echo "$as_me: Enabling PAM" >&6;}
 
4607
                        for ac_func in pam_fail_delay
 
4608
do :
 
4609
  ac_fn_c_check_func "$LINENO" "pam_fail_delay" "ac_cv_func_pam_fail_delay"
 
4610
if test "x$ac_cv_func_pam_fail_delay" = xyes; then :
4883
4611
  cat >>confdefs.h <<_ACEOF
4884
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4612
#define HAVE_PAM_FAIL_DELAY 1
4885
4613
_ACEOF
4886
4614
 
4887
4615
fi
4889
4617
 
4890
4618
                else
4891
4619
 
4892
 
cat >>confdefs.h <<\_ACEOF
4893
 
#define DISABLE_PAM
4894
 
_ACEOF
 
4620
$as_echo "#define DISABLE_PAM /**/" >>confdefs.h
4895
4621
 
4896
 
                        { echo "$as_me:$LINENO: Disabling PAM" >&5
4897
 
echo "$as_me: Disabling PAM" >&6;}
 
4622
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling PAM" >&5
 
4623
$as_echo "$as_me: Disabling PAM" >&6;}
4898
4624
                fi
4899
4625
 
4900
4626
else
4901
4627
 
4902
4628
                # disable it by default
4903
4629
 
4904
 
cat >>confdefs.h <<\_ACEOF
4905
 
#define DISABLE_PAM
4906
 
_ACEOF
 
4630
$as_echo "#define DISABLE_PAM /**/" >>confdefs.h
4907
4631
 
4908
 
                { echo "$as_me:$LINENO: Disabling PAM" >&5
4909
 
echo "$as_me: Disabling PAM" >&6;}
 
4632
                { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling PAM" >&5
 
4633
$as_echo "$as_me: Disabling PAM" >&6;}
4910
4634
 
4911
4635
 
4912
4636
fi
4913
4637
 
4914
4638
 
4915
4639
# Check whether --enable-openpty was given.
4916
 
if test "${enable_openpty+set}" = set; then
 
4640
if test "${enable_openpty+set}" = set; then :
4917
4641
  enableval=$enable_openpty;
4918
4642
                if test "x$enableval" = "xno"; then
4919
 
                        { echo "$as_me:$LINENO: Not using openpty" >&5
4920
 
echo "$as_me: Not using openpty" >&6;}
 
4643
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Not using openpty" >&5
 
4644
$as_echo "$as_me: Not using openpty" >&6;}
4921
4645
                else
4922
 
                        { echo "$as_me:$LINENO: Using openpty if available" >&5
4923
 
echo "$as_me: Using openpty if available" >&6;}
4924
 
                        { echo "$as_me:$LINENO: checking for library containing openpty" >&5
4925
 
echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
4926
 
if test "${ac_cv_search_openpty+set}" = set; then
4927
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4646
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Using openpty if available" >&5
 
4647
$as_echo "$as_me: Using openpty if available" >&6;}
 
4648
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
 
4649
$as_echo_n "checking for library containing openpty... " >&6; }
 
4650
if ${ac_cv_search_openpty+:} false; then :
 
4651
  $as_echo_n "(cached) " >&6
4928
4652
else
4929
4653
  ac_func_search_save_LIBS=$LIBS
4930
 
cat >conftest.$ac_ext <<_ACEOF
4931
 
/* confdefs.h.  */
4932
 
_ACEOF
4933
 
cat confdefs.h >>conftest.$ac_ext
4934
 
cat >>conftest.$ac_ext <<_ACEOF
 
4654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935
4655
/* end confdefs.h.  */
4936
4656
 
4937
4657
/* Override any GCC internal prototype to avoid an error.
4956
4676
    ac_res=-l$ac_lib
4957
4677
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4958
4678
  fi
4959
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4960
 
if { (ac_try="$ac_link"
4961
 
case "(($ac_try" in
4962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963
 
  *) ac_try_echo=$ac_try;;
4964
 
esac
4965
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966
 
  (eval "$ac_link") 2>conftest.er1
4967
 
  ac_status=$?
4968
 
  grep -v '^ *+' conftest.er1 >conftest.err
4969
 
  rm -f conftest.er1
4970
 
  cat conftest.err >&5
4971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972
 
  (exit $ac_status); } && {
4973
 
         test -z "$ac_c_werror_flag" ||
4974
 
         test ! -s conftest.err
4975
 
       } && test -s conftest$ac_exeext &&
4976
 
       $as_test_x conftest$ac_exeext; then
 
4679
  if ac_fn_c_try_link "$LINENO"; then :
4977
4680
  ac_cv_search_openpty=$ac_res
4978
 
else
4979
 
  echo "$as_me: failed program was:" >&5
4980
 
sed 's/^/| /' conftest.$ac_ext >&5
4981
 
 
4982
 
 
4983
4681
fi
4984
 
 
4985
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986
 
      conftest$ac_exeext
4987
 
  if test "${ac_cv_search_openpty+set}" = set; then
 
4682
rm -f core conftest.err conftest.$ac_objext \
 
4683
    conftest$ac_exeext
 
4684
  if ${ac_cv_search_openpty+:} false; then :
4988
4685
  break
4989
4686
fi
4990
4687
done
4991
 
if test "${ac_cv_search_openpty+set}" = set; then
4992
 
  :
 
4688
if ${ac_cv_search_openpty+:} false; then :
 
4689
 
4993
4690
else
4994
4691
  ac_cv_search_openpty=no
4995
4692
fi
4996
4693
rm conftest.$ac_ext
4997
4694
LIBS=$ac_func_search_save_LIBS
4998
4695
fi
4999
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
5000
 
echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
 
4696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5
 
4697
$as_echo "$ac_cv_search_openpty" >&6; }
5001
4698
ac_res=$ac_cv_search_openpty
5002
 
if test "$ac_res" != no; then
 
4699
if test "$ac_res" != no; then :
5003
4700
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5004
4701
 
5005
 
cat >>confdefs.h <<\_ACEOF
5006
 
#define HAVE_OPENPTY
5007
 
_ACEOF
 
4702
$as_echo "#define HAVE_OPENPTY /**/" >>confdefs.h
5008
4703
 
5009
4704
fi
5010
4705
 
5012
4707
 
5013
4708
else
5014
4709
 
5015
 
                { echo "$as_me:$LINENO: Using openpty if available" >&5
5016
 
echo "$as_me: Using openpty if available" >&6;}
5017
 
                { echo "$as_me:$LINENO: checking for library containing openpty" >&5
5018
 
echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
5019
 
if test "${ac_cv_search_openpty+set}" = set; then
5020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4710
                { $as_echo "$as_me:${as_lineno-$LINENO}: Using openpty if available" >&5
 
4711
$as_echo "$as_me: Using openpty if available" >&6;}
 
4712
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
 
4713
$as_echo_n "checking for library containing openpty... " >&6; }
 
4714
if ${ac_cv_search_openpty+:} false; then :
 
4715
  $as_echo_n "(cached) " >&6
5021
4716
else
5022
4717
  ac_func_search_save_LIBS=$LIBS
5023
 
cat >conftest.$ac_ext <<_ACEOF
5024
 
/* confdefs.h.  */
5025
 
_ACEOF
5026
 
cat confdefs.h >>conftest.$ac_ext
5027
 
cat >>conftest.$ac_ext <<_ACEOF
 
4718
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028
4719
/* end confdefs.h.  */
5029
4720
 
5030
4721
/* Override any GCC internal prototype to avoid an error.
5049
4740
    ac_res=-l$ac_lib
5050
4741
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5051
4742
  fi
5052
 
  rm -f conftest.$ac_objext conftest$ac_exeext
5053
 
if { (ac_try="$ac_link"
5054
 
case "(($ac_try" in
5055
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056
 
  *) ac_try_echo=$ac_try;;
5057
 
esac
5058
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059
 
  (eval "$ac_link") 2>conftest.er1
5060
 
  ac_status=$?
5061
 
  grep -v '^ *+' conftest.er1 >conftest.err
5062
 
  rm -f conftest.er1
5063
 
  cat conftest.err >&5
5064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065
 
  (exit $ac_status); } && {
5066
 
         test -z "$ac_c_werror_flag" ||
5067
 
         test ! -s conftest.err
5068
 
       } && test -s conftest$ac_exeext &&
5069
 
       $as_test_x conftest$ac_exeext; then
 
4743
  if ac_fn_c_try_link "$LINENO"; then :
5070
4744
  ac_cv_search_openpty=$ac_res
5071
 
else
5072
 
  echo "$as_me: failed program was:" >&5
5073
 
sed 's/^/| /' conftest.$ac_ext >&5
5074
 
 
5075
 
 
5076
4745
fi
5077
 
 
5078
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079
 
      conftest$ac_exeext
5080
 
  if test "${ac_cv_search_openpty+set}" = set; then
 
4746
rm -f core conftest.err conftest.$ac_objext \
 
4747
    conftest$ac_exeext
 
4748
  if ${ac_cv_search_openpty+:} false; then :
5081
4749
  break
5082
4750
fi
5083
4751
done
5084
 
if test "${ac_cv_search_openpty+set}" = set; then
5085
 
  :
 
4752
if ${ac_cv_search_openpty+:} false; then :
 
4753
 
5086
4754
else
5087
4755
  ac_cv_search_openpty=no
5088
4756
fi
5089
4757
rm conftest.$ac_ext
5090
4758
LIBS=$ac_func_search_save_LIBS
5091
4759
fi
5092
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
5093
 
echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
 
4760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5
 
4761
$as_echo "$ac_cv_search_openpty" >&6; }
5094
4762
ac_res=$ac_cv_search_openpty
5095
 
if test "$ac_res" != no; then
 
4763
if test "$ac_res" != no; then :
5096
4764
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5097
 
  cat >>confdefs.h <<\_ACEOF
5098
 
#define HAVE_OPENPTY 1
5099
 
_ACEOF
 
4765
  $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
5100
4766
 
5101
4767
fi
5102
4768
 
5107
4773
 
5108
4774
 
5109
4775
# Check whether --enable-syslog was given.
5110
 
if test "${enable_syslog+set}" = set; then
 
4776
if test "${enable_syslog+set}" = set; then :
5111
4777
  enableval=$enable_syslog;
5112
4778
                if test "x$enableval" = "xno"; then
5113
4779
 
5114
 
cat >>confdefs.h <<\_ACEOF
5115
 
#define DISABLE_SYSLOG
5116
 
_ACEOF
 
4780
$as_echo "#define DISABLE_SYSLOG /**/" >>confdefs.h
5117
4781
 
5118
 
                        { echo "$as_me:$LINENO: Disabling syslog" >&5
5119
 
echo "$as_me: Disabling syslog" >&6;}
 
4782
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling syslog" >&5
 
4783
$as_echo "$as_me: Disabling syslog" >&6;}
5120
4784
                else
5121
 
                        { echo "$as_me:$LINENO: Enabling syslog" >&5
5122
 
echo "$as_me: Enabling syslog" >&6;}
 
4785
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling syslog" >&5
 
4786
$as_echo "$as_me: Enabling syslog" >&6;}
5123
4787
                fi
5124
4788
 
5125
4789
else
5126
4790
 
5127
 
                { echo "$as_me:$LINENO: Enabling syslog" >&5
5128
 
echo "$as_me: Enabling syslog" >&6;}
 
4791
                { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling syslog" >&5
 
4792
$as_echo "$as_me: Enabling syslog" >&6;}
5129
4793
 
5130
4794
 
5131
4795
fi
5132
4796
 
5133
4797
 
5134
4798
# Check whether --enable-shadow was given.
5135
 
if test "${enable_shadow+set}" = set; then
 
4799
if test "${enable_shadow+set}" = set; then :
5136
4800
  enableval=$enable_shadow;
5137
4801
                if test "x$enableval" = "xno"; then
5138
 
                        { echo "$as_me:$LINENO: Not using shadow passwords" >&5
5139
 
echo "$as_me: Not using shadow passwords" >&6;}
 
4802
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Not using shadow passwords" >&5
 
4803
$as_echo "$as_me: Not using shadow passwords" >&6;}
5140
4804
                else
5141
 
 
5142
 
for ac_header in shadow.h
5143
 
do
5144
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5145
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5146
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5147
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5148
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5149
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5150
 
fi
5151
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5152
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5153
 
echo "${ECHO_T}$ac_res" >&6; }
5154
 
else
5155
 
  # Is the header compilable?
5156
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5157
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5158
 
cat >conftest.$ac_ext <<_ACEOF
5159
 
/* confdefs.h.  */
5160
 
_ACEOF
5161
 
cat confdefs.h >>conftest.$ac_ext
5162
 
cat >>conftest.$ac_ext <<_ACEOF
5163
 
/* end confdefs.h.  */
5164
 
$ac_includes_default
5165
 
#include <$ac_header>
5166
 
_ACEOF
5167
 
rm -f conftest.$ac_objext
5168
 
if { (ac_try="$ac_compile"
5169
 
case "(($ac_try" in
5170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171
 
  *) ac_try_echo=$ac_try;;
5172
 
esac
5173
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174
 
  (eval "$ac_compile") 2>conftest.er1
5175
 
  ac_status=$?
5176
 
  grep -v '^ *+' conftest.er1 >conftest.err
5177
 
  rm -f conftest.er1
5178
 
  cat conftest.err >&5
5179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180
 
  (exit $ac_status); } && {
5181
 
         test -z "$ac_c_werror_flag" ||
5182
 
         test ! -s conftest.err
5183
 
       } && test -s conftest.$ac_objext; then
5184
 
  ac_header_compiler=yes
5185
 
else
5186
 
  echo "$as_me: failed program was:" >&5
5187
 
sed 's/^/| /' conftest.$ac_ext >&5
5188
 
 
5189
 
        ac_header_compiler=no
5190
 
fi
5191
 
 
5192
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5193
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5194
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5195
 
 
5196
 
# Is the header present?
5197
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5198
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5199
 
cat >conftest.$ac_ext <<_ACEOF
5200
 
/* confdefs.h.  */
5201
 
_ACEOF
5202
 
cat confdefs.h >>conftest.$ac_ext
5203
 
cat >>conftest.$ac_ext <<_ACEOF
5204
 
/* end confdefs.h.  */
5205
 
#include <$ac_header>
5206
 
_ACEOF
5207
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5208
 
case "(($ac_try" in
5209
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210
 
  *) ac_try_echo=$ac_try;;
5211
 
esac
5212
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5214
 
  ac_status=$?
5215
 
  grep -v '^ *+' conftest.er1 >conftest.err
5216
 
  rm -f conftest.er1
5217
 
  cat conftest.err >&5
5218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219
 
  (exit $ac_status); } >/dev/null && {
5220
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5221
 
         test ! -s conftest.err
5222
 
       }; then
5223
 
  ac_header_preproc=yes
5224
 
else
5225
 
  echo "$as_me: failed program was:" >&5
5226
 
sed 's/^/| /' conftest.$ac_ext >&5
5227
 
 
5228
 
  ac_header_preproc=no
5229
 
fi
5230
 
 
5231
 
rm -f conftest.err conftest.$ac_ext
5232
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5233
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5234
 
 
5235
 
# So?  What about this header?
5236
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5237
 
  yes:no: )
5238
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5239
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5240
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5241
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5242
 
    ac_header_preproc=yes
5243
 
    ;;
5244
 
  no:yes:* )
5245
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5246
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5247
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5248
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5249
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5250
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5251
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5252
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5253
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5254
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5255
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5256
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5257
 
 
5258
 
    ;;
5259
 
esac
5260
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5261
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5262
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5264
 
else
5265
 
  eval "$as_ac_Header=\$ac_header_preproc"
5266
 
fi
5267
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5268
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5269
 
echo "${ECHO_T}$ac_res" >&6; }
5270
 
 
5271
 
fi
5272
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4805
                        for ac_header in shadow.h
 
4806
do :
 
4807
  ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
 
4808
if test "x$ac_cv_header_shadow_h" = xyes; then :
5273
4809
  cat >>confdefs.h <<_ACEOF
5274
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4810
#define HAVE_SHADOW_H 1
5275
4811
_ACEOF
5276
4812
 
5277
4813
fi
5278
4814
 
5279
4815
done
5280
4816
 
5281
 
                        { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5282
 
echo "$as_me: Using shadow passwords if available" >&6;}
 
4817
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Using shadow passwords if available" >&5
 
4818
$as_echo "$as_me: Using shadow passwords if available" >&6;}
5283
4819
                fi
5284
4820
 
5285
4821
else
5286
4822
 
5287
 
 
5288
 
for ac_header in shadow.h
5289
 
do
5290
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5291
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5292
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5293
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5294
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5295
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5296
 
fi
5297
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5298
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5299
 
echo "${ECHO_T}$ac_res" >&6; }
5300
 
else
5301
 
  # Is the header compilable?
5302
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5303
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5304
 
cat >conftest.$ac_ext <<_ACEOF
5305
 
/* confdefs.h.  */
5306
 
_ACEOF
5307
 
cat confdefs.h >>conftest.$ac_ext
5308
 
cat >>conftest.$ac_ext <<_ACEOF
5309
 
/* end confdefs.h.  */
5310
 
$ac_includes_default
5311
 
#include <$ac_header>
5312
 
_ACEOF
5313
 
rm -f conftest.$ac_objext
5314
 
if { (ac_try="$ac_compile"
5315
 
case "(($ac_try" in
5316
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317
 
  *) ac_try_echo=$ac_try;;
5318
 
esac
5319
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5320
 
  (eval "$ac_compile") 2>conftest.er1
5321
 
  ac_status=$?
5322
 
  grep -v '^ *+' conftest.er1 >conftest.err
5323
 
  rm -f conftest.er1
5324
 
  cat conftest.err >&5
5325
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326
 
  (exit $ac_status); } && {
5327
 
         test -z "$ac_c_werror_flag" ||
5328
 
         test ! -s conftest.err
5329
 
       } && test -s conftest.$ac_objext; then
5330
 
  ac_header_compiler=yes
5331
 
else
5332
 
  echo "$as_me: failed program was:" >&5
5333
 
sed 's/^/| /' conftest.$ac_ext >&5
5334
 
 
5335
 
        ac_header_compiler=no
5336
 
fi
5337
 
 
5338
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5339
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5340
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5341
 
 
5342
 
# Is the header present?
5343
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5344
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5345
 
cat >conftest.$ac_ext <<_ACEOF
5346
 
/* confdefs.h.  */
5347
 
_ACEOF
5348
 
cat confdefs.h >>conftest.$ac_ext
5349
 
cat >>conftest.$ac_ext <<_ACEOF
5350
 
/* end confdefs.h.  */
5351
 
#include <$ac_header>
5352
 
_ACEOF
5353
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5354
 
case "(($ac_try" in
5355
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356
 
  *) ac_try_echo=$ac_try;;
5357
 
esac
5358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5360
 
  ac_status=$?
5361
 
  grep -v '^ *+' conftest.er1 >conftest.err
5362
 
  rm -f conftest.er1
5363
 
  cat conftest.err >&5
5364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
 
  (exit $ac_status); } >/dev/null && {
5366
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5367
 
         test ! -s conftest.err
5368
 
       }; then
5369
 
  ac_header_preproc=yes
5370
 
else
5371
 
  echo "$as_me: failed program was:" >&5
5372
 
sed 's/^/| /' conftest.$ac_ext >&5
5373
 
 
5374
 
  ac_header_preproc=no
5375
 
fi
5376
 
 
5377
 
rm -f conftest.err conftest.$ac_ext
5378
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5379
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5380
 
 
5381
 
# So?  What about this header?
5382
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5383
 
  yes:no: )
5384
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5385
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5386
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5387
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5388
 
    ac_header_preproc=yes
5389
 
    ;;
5390
 
  no:yes:* )
5391
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5392
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5393
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5394
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5395
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5396
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5397
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5398
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5399
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5400
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5401
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5402
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5403
 
 
5404
 
    ;;
5405
 
esac
5406
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5407
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5408
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5410
 
else
5411
 
  eval "$as_ac_Header=\$ac_header_preproc"
5412
 
fi
5413
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5414
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5415
 
echo "${ECHO_T}$ac_res" >&6; }
5416
 
 
5417
 
fi
5418
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4823
                for ac_header in shadow.h
 
4824
do :
 
4825
  ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
 
4826
if test "x$ac_cv_header_shadow_h" = xyes; then :
5419
4827
  cat >>confdefs.h <<_ACEOF
5420
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4828
#define HAVE_SHADOW_H 1
5421
4829
_ACEOF
5422
4830
 
5423
4831
fi
5424
4832
 
5425
4833
done
5426
4834
 
5427
 
                { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5428
 
echo "$as_me: Using shadow passwords if available" >&6;}
 
4835
                { $as_echo "$as_me:${as_lineno-$LINENO}: Using shadow passwords if available" >&5
 
4836
$as_echo "$as_me: Using shadow passwords if available" >&6;}
5429
4837
 
5430
4838
 
5431
4839
fi
5433
4841
 
5434
4842
 
5435
4843
# Checks for header files.
5436
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5438
 
if test "${ac_cv_header_stdc+set}" = set; then
5439
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4845
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4846
if ${ac_cv_header_stdc+:} false; then :
 
4847
  $as_echo_n "(cached) " >&6
5440
4848
else
5441
 
  cat >conftest.$ac_ext <<_ACEOF
5442
 
/* confdefs.h.  */
5443
 
_ACEOF
5444
 
cat confdefs.h >>conftest.$ac_ext
5445
 
cat >>conftest.$ac_ext <<_ACEOF
 
4849
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446
4850
/* end confdefs.h.  */
5447
4851
#include <stdlib.h>
5448
4852
#include <stdarg.h>
5457
4861
  return 0;
5458
4862
}
5459
4863
_ACEOF
5460
 
rm -f conftest.$ac_objext
5461
 
if { (ac_try="$ac_compile"
5462
 
case "(($ac_try" in
5463
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464
 
  *) ac_try_echo=$ac_try;;
5465
 
esac
5466
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467
 
  (eval "$ac_compile") 2>conftest.er1
5468
 
  ac_status=$?
5469
 
  grep -v '^ *+' conftest.er1 >conftest.err
5470
 
  rm -f conftest.er1
5471
 
  cat conftest.err >&5
5472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473
 
  (exit $ac_status); } && {
5474
 
         test -z "$ac_c_werror_flag" ||
5475
 
         test ! -s conftest.err
5476
 
       } && test -s conftest.$ac_objext; then
 
4864
if ac_fn_c_try_compile "$LINENO"; then :
5477
4865
  ac_cv_header_stdc=yes
5478
4866
else
5479
 
  echo "$as_me: failed program was:" >&5
5480
 
sed 's/^/| /' conftest.$ac_ext >&5
5481
 
 
5482
 
        ac_cv_header_stdc=no
 
4867
  ac_cv_header_stdc=no
5483
4868
fi
5484
 
 
5485
4869
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486
4870
 
5487
4871
if test $ac_cv_header_stdc = yes; then
5488
4872
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5489
 
  cat >conftest.$ac_ext <<_ACEOF
5490
 
/* confdefs.h.  */
5491
 
_ACEOF
5492
 
cat confdefs.h >>conftest.$ac_ext
5493
 
cat >>conftest.$ac_ext <<_ACEOF
 
4873
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494
4874
/* end confdefs.h.  */
5495
4875
#include <string.h>
5496
4876
 
5497
4877
_ACEOF
5498
4878
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499
 
  $EGREP "memchr" >/dev/null 2>&1; then
5500
 
  :
 
4879
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4880
 
5501
4881
else
5502
4882
  ac_cv_header_stdc=no
5503
4883
fi
5504
 
rm -f -r conftest*
 
4884
rm -f conftest*
5505
4885
 
5506
4886
fi
5507
4887
 
5508
4888
if test $ac_cv_header_stdc = yes; then
5509
4889
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5510
 
  cat >conftest.$ac_ext <<_ACEOF
5511
 
/* confdefs.h.  */
5512
 
_ACEOF
5513
 
cat confdefs.h >>conftest.$ac_ext
5514
 
cat >>conftest.$ac_ext <<_ACEOF
 
4890
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515
4891
/* end confdefs.h.  */
5516
4892
#include <stdlib.h>
5517
4893
 
5518
4894
_ACEOF
5519
4895
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5520
 
  $EGREP "free" >/dev/null 2>&1; then
5521
 
  :
 
4896
  $EGREP "free" >/dev/null 2>&1; then :
 
4897
 
5522
4898
else
5523
4899
  ac_cv_header_stdc=no
5524
4900
fi
5525
 
rm -f -r conftest*
 
4901
rm -f conftest*
5526
4902
 
5527
4903
fi
5528
4904
 
5529
4905
if test $ac_cv_header_stdc = yes; then
5530
4906
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5531
 
  if test "$cross_compiling" = yes; then
 
4907
  if test "$cross_compiling" = yes; then :
5532
4908
  :
5533
4909
else
5534
 
  cat >conftest.$ac_ext <<_ACEOF
5535
 
/* confdefs.h.  */
5536
 
_ACEOF
5537
 
cat confdefs.h >>conftest.$ac_ext
5538
 
cat >>conftest.$ac_ext <<_ACEOF
 
4910
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539
4911
/* end confdefs.h.  */
5540
4912
#include <ctype.h>
5541
4913
#include <stdlib.h>
5562
4934
  return 0;
5563
4935
}
5564
4936
_ACEOF
5565
 
rm -f conftest$ac_exeext
5566
 
if { (ac_try="$ac_link"
5567
 
case "(($ac_try" in
5568
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5569
 
  *) ac_try_echo=$ac_try;;
5570
 
esac
5571
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572
 
  (eval "$ac_link") 2>&5
5573
 
  ac_status=$?
5574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5576
 
  { (case "(($ac_try" in
5577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5578
 
  *) ac_try_echo=$ac_try;;
5579
 
esac
5580
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5581
 
  (eval "$ac_try") 2>&5
5582
 
  ac_status=$?
5583
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584
 
  (exit $ac_status); }; }; then
5585
 
  :
 
4937
if ac_fn_c_try_run "$LINENO"; then :
 
4938
 
5586
4939
else
5587
 
  echo "$as_me: program exited with status $ac_status" >&5
5588
 
echo "$as_me: failed program was:" >&5
5589
 
sed 's/^/| /' conftest.$ac_ext >&5
5590
 
 
5591
 
( exit $ac_status )
5592
 
ac_cv_header_stdc=no
5593
 
fi
5594
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5595
 
fi
5596
 
 
5597
 
 
5598
 
fi
5599
 
fi
5600
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5601
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4940
  ac_cv_header_stdc=no
 
4941
fi
 
4942
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4943
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4944
fi
 
4945
 
 
4946
fi
 
4947
fi
 
4948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4949
$as_echo "$ac_cv_header_stdc" >&6; }
5602
4950
if test $ac_cv_header_stdc = yes; then
5603
4951
 
5604
 
cat >>confdefs.h <<\_ACEOF
5605
 
#define STDC_HEADERS 1
5606
 
_ACEOF
 
4952
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5607
4953
 
5608
4954
fi
5609
4955
 
5610
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5611
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5612
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then
5613
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
4957
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
 
4958
if ${ac_cv_header_sys_wait_h+:} false; then :
 
4959
  $as_echo_n "(cached) " >&6
5614
4960
else
5615
 
  cat >conftest.$ac_ext <<_ACEOF
5616
 
/* confdefs.h.  */
5617
 
_ACEOF
5618
 
cat confdefs.h >>conftest.$ac_ext
5619
 
cat >>conftest.$ac_ext <<_ACEOF
 
4961
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620
4962
/* end confdefs.h.  */
5621
4963
#include <sys/types.h>
5622
4964
#include <sys/wait.h>
5637
4979
  return 0;
5638
4980
}
5639
4981
_ACEOF
5640
 
rm -f conftest.$ac_objext
5641
 
if { (ac_try="$ac_compile"
5642
 
case "(($ac_try" in
5643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5644
 
  *) ac_try_echo=$ac_try;;
5645
 
esac
5646
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647
 
  (eval "$ac_compile") 2>conftest.er1
5648
 
  ac_status=$?
5649
 
  grep -v '^ *+' conftest.er1 >conftest.err
5650
 
  rm -f conftest.er1
5651
 
  cat conftest.err >&5
5652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653
 
  (exit $ac_status); } && {
5654
 
         test -z "$ac_c_werror_flag" ||
5655
 
         test ! -s conftest.err
5656
 
       } && test -s conftest.$ac_objext; then
 
4982
if ac_fn_c_try_compile "$LINENO"; then :
5657
4983
  ac_cv_header_sys_wait_h=yes
5658
4984
else
5659
 
  echo "$as_me: failed program was:" >&5
5660
 
sed 's/^/| /' conftest.$ac_ext >&5
5661
 
 
5662
 
        ac_cv_header_sys_wait_h=no
 
4985
  ac_cv_header_sys_wait_h=no
5663
4986
fi
5664
 
 
5665
4987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5666
4988
fi
5667
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5668
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
4989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
 
4990
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
5669
4991
if test $ac_cv_header_sys_wait_h = yes; then
5670
4992
 
5671
 
cat >>confdefs.h <<\_ACEOF
5672
 
#define HAVE_SYS_WAIT_H 1
5673
 
_ACEOF
5674
 
 
5675
 
fi
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
 
5683
 
 
5684
 
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
 
5692
 
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
 
 
5701
 
 
5702
 
 
5703
 
for ac_header in fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h
5704
 
do
5705
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5706
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5707
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5708
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5709
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5710
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5711
 
fi
5712
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5713
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5714
 
echo "${ECHO_T}$ac_res" >&6; }
5715
 
else
5716
 
  # Is the header compilable?
5717
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5718
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5719
 
cat >conftest.$ac_ext <<_ACEOF
5720
 
/* confdefs.h.  */
5721
 
_ACEOF
5722
 
cat confdefs.h >>conftest.$ac_ext
5723
 
cat >>conftest.$ac_ext <<_ACEOF
5724
 
/* end confdefs.h.  */
5725
 
$ac_includes_default
5726
 
#include <$ac_header>
5727
 
_ACEOF
5728
 
rm -f conftest.$ac_objext
5729
 
if { (ac_try="$ac_compile"
5730
 
case "(($ac_try" in
5731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732
 
  *) ac_try_echo=$ac_try;;
5733
 
esac
5734
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5735
 
  (eval "$ac_compile") 2>conftest.er1
5736
 
  ac_status=$?
5737
 
  grep -v '^ *+' conftest.er1 >conftest.err
5738
 
  rm -f conftest.er1
5739
 
  cat conftest.err >&5
5740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741
 
  (exit $ac_status); } && {
5742
 
         test -z "$ac_c_werror_flag" ||
5743
 
         test ! -s conftest.err
5744
 
       } && test -s conftest.$ac_objext; then
5745
 
  ac_header_compiler=yes
5746
 
else
5747
 
  echo "$as_me: failed program was:" >&5
5748
 
sed 's/^/| /' conftest.$ac_ext >&5
5749
 
 
5750
 
        ac_header_compiler=no
5751
 
fi
5752
 
 
5753
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5755
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5756
 
 
5757
 
# Is the header present?
5758
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5759
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5760
 
cat >conftest.$ac_ext <<_ACEOF
5761
 
/* confdefs.h.  */
5762
 
_ACEOF
5763
 
cat confdefs.h >>conftest.$ac_ext
5764
 
cat >>conftest.$ac_ext <<_ACEOF
5765
 
/* end confdefs.h.  */
5766
 
#include <$ac_header>
5767
 
_ACEOF
5768
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5769
 
case "(($ac_try" in
5770
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5771
 
  *) ac_try_echo=$ac_try;;
5772
 
esac
5773
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5774
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5775
 
  ac_status=$?
5776
 
  grep -v '^ *+' conftest.er1 >conftest.err
5777
 
  rm -f conftest.er1
5778
 
  cat conftest.err >&5
5779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780
 
  (exit $ac_status); } >/dev/null && {
5781
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5782
 
         test ! -s conftest.err
5783
 
       }; then
5784
 
  ac_header_preproc=yes
5785
 
else
5786
 
  echo "$as_me: failed program was:" >&5
5787
 
sed 's/^/| /' conftest.$ac_ext >&5
5788
 
 
5789
 
  ac_header_preproc=no
5790
 
fi
5791
 
 
5792
 
rm -f conftest.err conftest.$ac_ext
5793
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5794
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5795
 
 
5796
 
# So?  What about this header?
5797
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5798
 
  yes:no: )
5799
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5800
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5801
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5802
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5803
 
    ac_header_preproc=yes
5804
 
    ;;
5805
 
  no:yes:* )
5806
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5807
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5808
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5809
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5810
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5811
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5812
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5813
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5814
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5815
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5816
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5817
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5818
 
 
5819
 
    ;;
5820
 
esac
5821
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5822
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5823
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5824
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5825
 
else
5826
 
  eval "$as_ac_Header=\$ac_header_preproc"
5827
 
fi
5828
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5829
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5830
 
echo "${ECHO_T}$ac_res" >&6; }
5831
 
 
5832
 
fi
5833
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4993
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
 
4994
 
 
4995
fi
 
4996
 
 
4997
for ac_header in fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h sys/uio.h
 
4998
do :
 
4999
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5000
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
5001
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5834
5002
  cat >>confdefs.h <<_ACEOF
5835
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5003
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5836
5004
_ACEOF
5837
5005
 
5838
5006
fi
5841
5009
 
5842
5010
 
5843
5011
# Checks for typedefs, structures, and compiler characteristics.
5844
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5845
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5846
 
if test "${ac_cv_c_const+set}" = set; then
5847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
5013
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
5014
if ${ac_cv_c_const+:} false; then :
 
5015
  $as_echo_n "(cached) " >&6
5848
5016
else
5849
 
  cat >conftest.$ac_ext <<_ACEOF
5850
 
/* confdefs.h.  */
5851
 
_ACEOF
5852
 
cat confdefs.h >>conftest.$ac_ext
5853
 
cat >>conftest.$ac_ext <<_ACEOF
 
5017
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854
5018
/* end confdefs.h.  */
5855
5019
 
5856
5020
int
5857
5021
main ()
5858
5022
{
5859
 
/* FIXME: Include the comments suggested by Paul. */
 
5023
 
5860
5024
#ifndef __cplusplus
5861
 
  /* Ultrix mips cc rejects this.  */
 
5025
  /* Ultrix mips cc rejects this sort of thing.  */
5862
5026
  typedef int charset[2];
5863
 
  const charset cs;
 
5027
  const charset cs = { 0, 0 };
5864
5028
  /* SunOS 4.1.1 cc rejects this.  */
5865
5029
  char const *const *pcpcc;
5866
5030
  char **ppc;
5877
5041
  ++pcpcc;
5878
5042
  ppc = (char**) pcpcc;
5879
5043
  pcpcc = (char const *const *) ppc;
5880
 
  { /* SCO 3.2v4 cc rejects this.  */
5881
 
    char *t;
 
5044
  { /* SCO 3.2v4 cc rejects this sort of thing.  */
 
5045
    char tx;
 
5046
    char *t = &tx;
5882
5047
    char const *s = 0 ? (char *) 0 : (char const *) 0;
5883
5048
 
5884
5049
    *t++ = 0;
5894
5059
    iptr p = 0;
5895
5060
    ++p;
5896
5061
  }
5897
 
  { /* AIX XL C 1.02.0.0 rejects this saying
 
5062
  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5898
5063
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5899
 
    struct s { int j; const int *ap[3]; };
5900
 
    struct s *b; b->j = 5;
 
5064
    struct s { int j; const int *ap[3]; } bx;
 
5065
    struct s *b = &bx; b->j = 5;
5901
5066
  }
5902
5067
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5903
5068
    const int foo = 10;
5910
5075
  return 0;
5911
5076
}
5912
5077
_ACEOF
5913
 
rm -f conftest.$ac_objext
5914
 
if { (ac_try="$ac_compile"
5915
 
case "(($ac_try" in
5916
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5917
 
  *) ac_try_echo=$ac_try;;
5918
 
esac
5919
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5920
 
  (eval "$ac_compile") 2>conftest.er1
5921
 
  ac_status=$?
5922
 
  grep -v '^ *+' conftest.er1 >conftest.err
5923
 
  rm -f conftest.er1
5924
 
  cat conftest.err >&5
5925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926
 
  (exit $ac_status); } && {
5927
 
         test -z "$ac_c_werror_flag" ||
5928
 
         test ! -s conftest.err
5929
 
       } && test -s conftest.$ac_objext; then
 
5078
if ac_fn_c_try_compile "$LINENO"; then :
5930
5079
  ac_cv_c_const=yes
5931
5080
else
5932
 
  echo "$as_me: failed program was:" >&5
5933
 
sed 's/^/| /' conftest.$ac_ext >&5
5934
 
 
5935
 
        ac_cv_c_const=no
 
5081
  ac_cv_c_const=no
5936
5082
fi
5937
 
 
5938
5083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5939
5084
fi
5940
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5941
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
5086
$as_echo "$ac_cv_c_const" >&6; }
5942
5087
if test $ac_cv_c_const = no; then
5943
5088
 
5944
 
cat >>confdefs.h <<\_ACEOF
5945
 
#define const
5946
 
_ACEOF
 
5089
$as_echo "#define const /**/" >>confdefs.h
5947
5090
 
5948
5091
fi
5949
5092
 
5950
 
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5951
 
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
5952
 
if test "${ac_cv_type_uid_t+set}" = set; then
5953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
 
5094
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
 
5095
if ${ac_cv_type_uid_t+:} false; then :
 
5096
  $as_echo_n "(cached) " >&6
5954
5097
else
5955
 
  cat >conftest.$ac_ext <<_ACEOF
5956
 
/* confdefs.h.  */
5957
 
_ACEOF
5958
 
cat confdefs.h >>conftest.$ac_ext
5959
 
cat >>conftest.$ac_ext <<_ACEOF
 
5098
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5960
5099
/* end confdefs.h.  */
5961
5100
#include <sys/types.h>
5962
5101
 
5963
5102
_ACEOF
5964
5103
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5965
 
  $EGREP "uid_t" >/dev/null 2>&1; then
 
5104
  $EGREP "uid_t" >/dev/null 2>&1; then :
5966
5105
  ac_cv_type_uid_t=yes
5967
5106
else
5968
5107
  ac_cv_type_uid_t=no
5969
5108
fi
5970
 
rm -f -r conftest*
 
5109
rm -f conftest*
5971
5110
 
5972
5111
fi
5973
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5974
 
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
 
5112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
 
5113
$as_echo "$ac_cv_type_uid_t" >&6; }
5975
5114
if test $ac_cv_type_uid_t = no; then
5976
5115
 
5977
 
cat >>confdefs.h <<\_ACEOF
5978
 
#define uid_t int
5979
 
_ACEOF
5980
 
 
5981
 
 
5982
 
cat >>confdefs.h <<\_ACEOF
5983
 
#define gid_t int
5984
 
_ACEOF
5985
 
 
5986
 
fi
5987
 
 
5988
 
{ echo "$as_me:$LINENO: checking for mode_t" >&5
5989
 
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5990
 
if test "${ac_cv_type_mode_t+set}" = set; then
5991
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5992
 
else
5993
 
  cat >conftest.$ac_ext <<_ACEOF
5994
 
/* confdefs.h.  */
5995
 
_ACEOF
5996
 
cat confdefs.h >>conftest.$ac_ext
5997
 
cat >>conftest.$ac_ext <<_ACEOF
5998
 
/* end confdefs.h.  */
5999
 
$ac_includes_default
6000
 
typedef mode_t ac__type_new_;
6001
 
int
6002
 
main ()
6003
 
{
6004
 
if ((ac__type_new_ *) 0)
6005
 
  return 0;
6006
 
if (sizeof (ac__type_new_))
6007
 
  return 0;
6008
 
  ;
6009
 
  return 0;
6010
 
}
6011
 
_ACEOF
6012
 
rm -f conftest.$ac_objext
6013
 
if { (ac_try="$ac_compile"
6014
 
case "(($ac_try" in
6015
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016
 
  *) ac_try_echo=$ac_try;;
6017
 
esac
6018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6019
 
  (eval "$ac_compile") 2>conftest.er1
6020
 
  ac_status=$?
6021
 
  grep -v '^ *+' conftest.er1 >conftest.err
6022
 
  rm -f conftest.er1
6023
 
  cat conftest.err >&5
6024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025
 
  (exit $ac_status); } && {
6026
 
         test -z "$ac_c_werror_flag" ||
6027
 
         test ! -s conftest.err
6028
 
       } && test -s conftest.$ac_objext; then
6029
 
  ac_cv_type_mode_t=yes
6030
 
else
6031
 
  echo "$as_me: failed program was:" >&5
6032
 
sed 's/^/| /' conftest.$ac_ext >&5
6033
 
 
6034
 
        ac_cv_type_mode_t=no
6035
 
fi
6036
 
 
6037
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6038
 
fi
6039
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6040
 
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
6041
 
if test $ac_cv_type_mode_t = yes; then
6042
 
  :
 
5116
$as_echo "#define uid_t int" >>confdefs.h
 
5117
 
 
5118
 
 
5119
$as_echo "#define gid_t int" >>confdefs.h
 
5120
 
 
5121
fi
 
5122
 
 
5123
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
 
5124
if test "x$ac_cv_type_mode_t" = xyes; then :
 
5125
 
6043
5126
else
6044
5127
 
6045
5128
cat >>confdefs.h <<_ACEOF
6048
5131
 
6049
5132
fi
6050
5133
 
6051
 
{ echo "$as_me:$LINENO: checking for pid_t" >&5
6052
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6053
 
if test "${ac_cv_type_pid_t+set}" = set; then
6054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6055
 
else
6056
 
  cat >conftest.$ac_ext <<_ACEOF
6057
 
/* confdefs.h.  */
6058
 
_ACEOF
6059
 
cat confdefs.h >>conftest.$ac_ext
6060
 
cat >>conftest.$ac_ext <<_ACEOF
6061
 
/* end confdefs.h.  */
6062
 
$ac_includes_default
6063
 
typedef pid_t ac__type_new_;
6064
 
int
6065
 
main ()
6066
 
{
6067
 
if ((ac__type_new_ *) 0)
6068
 
  return 0;
6069
 
if (sizeof (ac__type_new_))
6070
 
  return 0;
6071
 
  ;
6072
 
  return 0;
6073
 
}
6074
 
_ACEOF
6075
 
rm -f conftest.$ac_objext
6076
 
if { (ac_try="$ac_compile"
6077
 
case "(($ac_try" in
6078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6079
 
  *) ac_try_echo=$ac_try;;
6080
 
esac
6081
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082
 
  (eval "$ac_compile") 2>conftest.er1
6083
 
  ac_status=$?
6084
 
  grep -v '^ *+' conftest.er1 >conftest.err
6085
 
  rm -f conftest.er1
6086
 
  cat conftest.err >&5
6087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088
 
  (exit $ac_status); } && {
6089
 
         test -z "$ac_c_werror_flag" ||
6090
 
         test ! -s conftest.err
6091
 
       } && test -s conftest.$ac_objext; then
6092
 
  ac_cv_type_pid_t=yes
6093
 
else
6094
 
  echo "$as_me: failed program was:" >&5
6095
 
sed 's/^/| /' conftest.$ac_ext >&5
6096
 
 
6097
 
        ac_cv_type_pid_t=no
6098
 
fi
6099
 
 
6100
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6101
 
fi
6102
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6103
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6104
 
if test $ac_cv_type_pid_t = yes; then
6105
 
  :
 
5134
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
 
5135
if test "x$ac_cv_type_pid_t" = xyes; then :
 
5136
 
6106
5137
else
6107
5138
 
6108
5139
cat >>confdefs.h <<_ACEOF
6111
5142
 
6112
5143
fi
6113
5144
 
6114
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
6115
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6116
 
if test "${ac_cv_type_size_t+set}" = set; then
6117
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6118
 
else
6119
 
  cat >conftest.$ac_ext <<_ACEOF
6120
 
/* confdefs.h.  */
6121
 
_ACEOF
6122
 
cat confdefs.h >>conftest.$ac_ext
6123
 
cat >>conftest.$ac_ext <<_ACEOF
6124
 
/* end confdefs.h.  */
6125
 
$ac_includes_default
6126
 
typedef size_t ac__type_new_;
6127
 
int
6128
 
main ()
6129
 
{
6130
 
if ((ac__type_new_ *) 0)
6131
 
  return 0;
6132
 
if (sizeof (ac__type_new_))
6133
 
  return 0;
6134
 
  ;
6135
 
  return 0;
6136
 
}
6137
 
_ACEOF
6138
 
rm -f conftest.$ac_objext
6139
 
if { (ac_try="$ac_compile"
6140
 
case "(($ac_try" in
6141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142
 
  *) ac_try_echo=$ac_try;;
6143
 
esac
6144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145
 
  (eval "$ac_compile") 2>conftest.er1
6146
 
  ac_status=$?
6147
 
  grep -v '^ *+' conftest.er1 >conftest.err
6148
 
  rm -f conftest.er1
6149
 
  cat conftest.err >&5
6150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151
 
  (exit $ac_status); } && {
6152
 
         test -z "$ac_c_werror_flag" ||
6153
 
         test ! -s conftest.err
6154
 
       } && test -s conftest.$ac_objext; then
6155
 
  ac_cv_type_size_t=yes
6156
 
else
6157
 
  echo "$as_me: failed program was:" >&5
6158
 
sed 's/^/| /' conftest.$ac_ext >&5
6159
 
 
6160
 
        ac_cv_type_size_t=no
6161
 
fi
6162
 
 
6163
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164
 
fi
6165
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6166
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6167
 
if test $ac_cv_type_size_t = yes; then
6168
 
  :
 
5145
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
5146
if test "x$ac_cv_type_size_t" = xyes; then :
 
5147
 
6169
5148
else
6170
5149
 
6171
5150
cat >>confdefs.h <<_ACEOF
6174
5153
 
6175
5154
fi
6176
5155
 
6177
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6178
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6179
 
if test "${ac_cv_header_time+set}" = set; then
6180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 
5157
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 
5158
if ${ac_cv_header_time+:} false; then :
 
5159
  $as_echo_n "(cached) " >&6
6181
5160
else
6182
 
  cat >conftest.$ac_ext <<_ACEOF
6183
 
/* confdefs.h.  */
6184
 
_ACEOF
6185
 
cat confdefs.h >>conftest.$ac_ext
6186
 
cat >>conftest.$ac_ext <<_ACEOF
 
5161
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187
5162
/* end confdefs.h.  */
6188
5163
#include <sys/types.h>
6189
5164
#include <sys/time.h>
6198
5173
  return 0;
6199
5174
}
6200
5175
_ACEOF
6201
 
rm -f conftest.$ac_objext
6202
 
if { (ac_try="$ac_compile"
6203
 
case "(($ac_try" in
6204
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205
 
  *) ac_try_echo=$ac_try;;
6206
 
esac
6207
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208
 
  (eval "$ac_compile") 2>conftest.er1
6209
 
  ac_status=$?
6210
 
  grep -v '^ *+' conftest.er1 >conftest.err
6211
 
  rm -f conftest.er1
6212
 
  cat conftest.err >&5
6213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214
 
  (exit $ac_status); } && {
6215
 
         test -z "$ac_c_werror_flag" ||
6216
 
         test ! -s conftest.err
6217
 
       } && test -s conftest.$ac_objext; then
 
5176
if ac_fn_c_try_compile "$LINENO"; then :
6218
5177
  ac_cv_header_time=yes
6219
5178
else
6220
 
  echo "$as_me: failed program was:" >&5
6221
 
sed 's/^/| /' conftest.$ac_ext >&5
6222
 
 
6223
 
        ac_cv_header_time=no
 
5179
  ac_cv_header_time=no
6224
5180
fi
6225
 
 
6226
5181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6227
5182
fi
6228
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6229
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
5183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 
5184
$as_echo "$ac_cv_header_time" >&6; }
6230
5185
if test $ac_cv_header_time = yes; then
6231
5186
 
6232
 
cat >>confdefs.h <<\_ACEOF
6233
 
#define TIME_WITH_SYS_TIME 1
6234
 
_ACEOF
6235
 
 
6236
 
fi
6237
 
 
6238
 
 
6239
 
{ echo "$as_me:$LINENO: checking for uint16_t" >&5
6240
 
echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
6241
 
if test "${ac_cv_type_uint16_t+set}" = set; then
6242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6243
 
else
6244
 
  cat >conftest.$ac_ext <<_ACEOF
6245
 
/* confdefs.h.  */
6246
 
_ACEOF
6247
 
cat confdefs.h >>conftest.$ac_ext
6248
 
cat >>conftest.$ac_ext <<_ACEOF
6249
 
/* end confdefs.h.  */
6250
 
$ac_includes_default
6251
 
typedef uint16_t ac__type_new_;
6252
 
int
6253
 
main ()
6254
 
{
6255
 
if ((ac__type_new_ *) 0)
6256
 
  return 0;
6257
 
if (sizeof (ac__type_new_))
6258
 
  return 0;
6259
 
  ;
6260
 
  return 0;
6261
 
}
6262
 
_ACEOF
6263
 
rm -f conftest.$ac_objext
6264
 
if { (ac_try="$ac_compile"
6265
 
case "(($ac_try" in
6266
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6267
 
  *) ac_try_echo=$ac_try;;
6268
 
esac
6269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270
 
  (eval "$ac_compile") 2>conftest.er1
6271
 
  ac_status=$?
6272
 
  grep -v '^ *+' conftest.er1 >conftest.err
6273
 
  rm -f conftest.er1
6274
 
  cat conftest.err >&5
6275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276
 
  (exit $ac_status); } && {
6277
 
         test -z "$ac_c_werror_flag" ||
6278
 
         test ! -s conftest.err
6279
 
       } && test -s conftest.$ac_objext; then
6280
 
  ac_cv_type_uint16_t=yes
6281
 
else
6282
 
  echo "$as_me: failed program was:" >&5
6283
 
sed 's/^/| /' conftest.$ac_ext >&5
6284
 
 
6285
 
        ac_cv_type_uint16_t=no
6286
 
fi
6287
 
 
6288
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6289
 
fi
6290
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
6291
 
echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; }
6292
 
if test $ac_cv_type_uint16_t = yes; then
 
5187
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 
5188
 
 
5189
fi
 
5190
 
 
5191
 
 
5192
ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
 
5193
if test "x$ac_cv_type_uint16_t" = xyes; then :
6293
5194
 
6294
5195
cat >>confdefs.h <<_ACEOF
6295
5196
#define HAVE_UINT16_T 1
6297
5198
 
6298
5199
 
6299
5200
fi
6300
 
{ echo "$as_me:$LINENO: checking for u_int16_t" >&5
6301
 
echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
6302
 
if test "${ac_cv_type_u_int16_t+set}" = set; then
6303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6304
 
else
6305
 
  cat >conftest.$ac_ext <<_ACEOF
6306
 
/* confdefs.h.  */
6307
 
_ACEOF
6308
 
cat confdefs.h >>conftest.$ac_ext
6309
 
cat >>conftest.$ac_ext <<_ACEOF
6310
 
/* end confdefs.h.  */
6311
 
$ac_includes_default
6312
 
typedef u_int16_t ac__type_new_;
6313
 
int
6314
 
main ()
6315
 
{
6316
 
if ((ac__type_new_ *) 0)
6317
 
  return 0;
6318
 
if (sizeof (ac__type_new_))
6319
 
  return 0;
6320
 
  ;
6321
 
  return 0;
6322
 
}
6323
 
_ACEOF
6324
 
rm -f conftest.$ac_objext
6325
 
if { (ac_try="$ac_compile"
6326
 
case "(($ac_try" in
6327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6328
 
  *) ac_try_echo=$ac_try;;
6329
 
esac
6330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331
 
  (eval "$ac_compile") 2>conftest.er1
6332
 
  ac_status=$?
6333
 
  grep -v '^ *+' conftest.er1 >conftest.err
6334
 
  rm -f conftest.er1
6335
 
  cat conftest.err >&5
6336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337
 
  (exit $ac_status); } && {
6338
 
         test -z "$ac_c_werror_flag" ||
6339
 
         test ! -s conftest.err
6340
 
       } && test -s conftest.$ac_objext; then
6341
 
  ac_cv_type_u_int16_t=yes
6342
 
else
6343
 
  echo "$as_me: failed program was:" >&5
6344
 
sed 's/^/| /' conftest.$ac_ext >&5
6345
 
 
6346
 
        ac_cv_type_u_int16_t=no
6347
 
fi
6348
 
 
6349
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6350
 
fi
6351
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
6352
 
echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
6353
 
if test $ac_cv_type_u_int16_t = yes; then
 
5201
ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
 
5202
if test "x$ac_cv_type_u_int16_t" = xyes; then :
6354
5203
 
6355
5204
cat >>confdefs.h <<_ACEOF
6356
5205
#define HAVE_U_INT16_T 1
6358
5207
 
6359
5208
 
6360
5209
fi
6361
 
{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6362
 
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6363
 
if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
6364
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6365
 
else
6366
 
  cat >conftest.$ac_ext <<_ACEOF
6367
 
/* confdefs.h.  */
6368
 
_ACEOF
6369
 
cat confdefs.h >>conftest.$ac_ext
6370
 
cat >>conftest.$ac_ext <<_ACEOF
6371
 
/* end confdefs.h.  */
6372
 
$ac_includes_default
6373
 
typedef struct sockaddr_storage ac__type_new_;
6374
 
int
6375
 
main ()
6376
 
{
6377
 
if ((ac__type_new_ *) 0)
6378
 
  return 0;
6379
 
if (sizeof (ac__type_new_))
6380
 
  return 0;
6381
 
  ;
6382
 
  return 0;
6383
 
}
6384
 
_ACEOF
6385
 
rm -f conftest.$ac_objext
6386
 
if { (ac_try="$ac_compile"
6387
 
case "(($ac_try" in
6388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6389
 
  *) ac_try_echo=$ac_try;;
6390
 
esac
6391
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6392
 
  (eval "$ac_compile") 2>conftest.er1
6393
 
  ac_status=$?
6394
 
  grep -v '^ *+' conftest.er1 >conftest.err
6395
 
  rm -f conftest.er1
6396
 
  cat conftest.err >&5
6397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398
 
  (exit $ac_status); } && {
6399
 
         test -z "$ac_c_werror_flag" ||
6400
 
         test ! -s conftest.err
6401
 
       } && test -s conftest.$ac_objext; then
6402
 
  ac_cv_type_struct_sockaddr_storage=yes
6403
 
else
6404
 
  echo "$as_me: failed program was:" >&5
6405
 
sed 's/^/| /' conftest.$ac_ext >&5
6406
 
 
6407
 
        ac_cv_type_struct_sockaddr_storage=no
6408
 
fi
6409
 
 
6410
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6411
 
fi
6412
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
6413
 
echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
6414
 
if test $ac_cv_type_struct_sockaddr_storage = yes; then
 
5210
ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "$ac_includes_default"
 
5211
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
6415
5212
 
6416
5213
cat >>confdefs.h <<_ACEOF
6417
5214
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
6420
5217
 
6421
5218
fi
6422
5219
 
6423
 
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
6424
 
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
6425
 
if test "${ac_cv_type_socklen_t+set}" = set; then
6426
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6427
 
else
6428
 
  cat >conftest.$ac_ext <<_ACEOF
6429
 
/* confdefs.h.  */
6430
 
_ACEOF
6431
 
cat confdefs.h >>conftest.$ac_ext
6432
 
cat >>conftest.$ac_ext <<_ACEOF
6433
 
/* end confdefs.h.  */
6434
 
#include <sys/types.h>
 
5220
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
6435
5221
        #include <sys/socket.h>
6436
 
 
6437
 
typedef socklen_t ac__type_new_;
6438
 
int
6439
 
main ()
6440
 
{
6441
 
if ((ac__type_new_ *) 0)
6442
 
  return 0;
6443
 
if (sizeof (ac__type_new_))
6444
 
  return 0;
6445
 
  ;
6446
 
  return 0;
6447
 
}
6448
 
_ACEOF
6449
 
rm -f conftest.$ac_objext
6450
 
if { (ac_try="$ac_compile"
6451
 
case "(($ac_try" in
6452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6453
 
  *) ac_try_echo=$ac_try;;
6454
 
esac
6455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6456
 
  (eval "$ac_compile") 2>conftest.er1
6457
 
  ac_status=$?
6458
 
  grep -v '^ *+' conftest.er1 >conftest.err
6459
 
  rm -f conftest.er1
6460
 
  cat conftest.err >&5
6461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462
 
  (exit $ac_status); } && {
6463
 
         test -z "$ac_c_werror_flag" ||
6464
 
         test ! -s conftest.err
6465
 
       } && test -s conftest.$ac_objext; then
6466
 
  ac_cv_type_socklen_t=yes
6467
 
else
6468
 
  echo "$as_me: failed program was:" >&5
6469
 
sed 's/^/| /' conftest.$ac_ext >&5
6470
 
 
6471
 
        ac_cv_type_socklen_t=no
6472
 
fi
6473
 
 
6474
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475
 
fi
6476
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
6477
 
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
6478
 
if test $ac_cv_type_socklen_t = yes; then
6479
 
  :
6480
 
else
6481
 
 
6482
 
        { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
6483
 
echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
6484
 
        if test "${curl_cv_socklen_t_equiv+set}" = set; then
6485
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5222
"
 
5223
if test "x$ac_cv_type_socklen_t" = xyes; then :
 
5224
 
 
5225
else
 
5226
 
 
5227
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
 
5228
$as_echo_n "checking for socklen_t equivalent... " >&6; }
 
5229
        if ${curl_cv_socklen_t_equiv+:} false; then :
 
5230
  $as_echo_n "(cached) " >&6
6486
5231
else
6487
5232
 
6488
5233
        # Systems have either "struct sockaddr *" or
6490
5235
        curl_cv_socklen_t_equiv=
6491
5236
        for arg2 in "struct sockaddr" void; do
6492
5237
                for t in int size_t unsigned long "unsigned long"; do
6493
 
                cat >conftest.$ac_ext <<_ACEOF
6494
 
/* confdefs.h.  */
6495
 
_ACEOF
6496
 
cat confdefs.h >>conftest.$ac_ext
6497
 
cat >>conftest.$ac_ext <<_ACEOF
 
5238
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498
5239
/* end confdefs.h.  */
6499
5240
 
6500
5241
                        #include <sys/types.h>
6513
5254
  return 0;
6514
5255
}
6515
5256
_ACEOF
6516
 
rm -f conftest.$ac_objext
6517
 
if { (ac_try="$ac_compile"
6518
 
case "(($ac_try" in
6519
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520
 
  *) ac_try_echo=$ac_try;;
6521
 
esac
6522
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523
 
  (eval "$ac_compile") 2>conftest.er1
6524
 
  ac_status=$?
6525
 
  grep -v '^ *+' conftest.er1 >conftest.err
6526
 
  rm -f conftest.er1
6527
 
  cat conftest.err >&5
6528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529
 
  (exit $ac_status); } && {
6530
 
         test -z "$ac_c_werror_flag" ||
6531
 
         test ! -s conftest.err
6532
 
       } && test -s conftest.$ac_objext; then
 
5257
if ac_fn_c_try_compile "$LINENO"; then :
6533
5258
 
6534
5259
                        curl_cv_socklen_t_equiv="$t"
6535
5260
                        break
6536
5261
 
6537
 
else
6538
 
  echo "$as_me: failed program was:" >&5
6539
 
sed 's/^/| /' conftest.$ac_ext >&5
6540
 
 
6541
 
 
6542
5262
fi
6543
 
 
6544
5263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545
5264
                done
6546
5265
        done
6547
5266
 
6548
5267
        if test "x$curl_cv_socklen_t_equiv" = x; then
6549
 
                { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
6550
 
echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
6551
 
   { (exit 1); exit 1; }; }
 
5268
                as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
6552
5269
        fi
6553
5270
 
6554
5271
fi
6555
5272
 
6556
 
        { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
6557
 
echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
 
5273
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_socklen_t_equiv" >&5
 
5274
$as_echo "$curl_cv_socklen_t_equiv" >&6; }
6558
5275
 
6559
5276
cat >>confdefs.h <<_ACEOF
6560
5277
#define socklen_t $curl_cv_socklen_t_equiv
6565
5282
 
6566
5283
# for the fake-rfc2553 stuff - straight from OpenSSH
6567
5284
 
6568
 
{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6569
 
echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6570
 
if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
6571
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
 
5286
$as_echo_n "checking for struct sockaddr_storage... " >&6; }
 
5287
if ${ac_cv_have_struct_sockaddr_storage+:} false; then :
 
5288
  $as_echo_n "(cached) " >&6
6572
5289
else
6573
5290
 
6574
 
        cat >conftest.$ac_ext <<_ACEOF
6575
 
/* confdefs.h.  */
6576
 
_ACEOF
6577
 
cat confdefs.h >>conftest.$ac_ext
6578
 
cat >>conftest.$ac_ext <<_ACEOF
 
5291
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6579
5292
/* end confdefs.h.  */
6580
5293
 
6581
5294
#include <sys/types.h>
6589
5302
  return 0;
6590
5303
}
6591
5304
_ACEOF
6592
 
rm -f conftest.$ac_objext
6593
 
if { (ac_try="$ac_compile"
6594
 
case "(($ac_try" in
6595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6596
 
  *) ac_try_echo=$ac_try;;
6597
 
esac
6598
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6599
 
  (eval "$ac_compile") 2>conftest.er1
6600
 
  ac_status=$?
6601
 
  grep -v '^ *+' conftest.er1 >conftest.err
6602
 
  rm -f conftest.er1
6603
 
  cat conftest.err >&5
6604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605
 
  (exit $ac_status); } && {
6606
 
         test -z "$ac_c_werror_flag" ||
6607
 
         test ! -s conftest.err
6608
 
       } && test -s conftest.$ac_objext; then
 
5305
if ac_fn_c_try_compile "$LINENO"; then :
6609
5306
   ac_cv_have_struct_sockaddr_storage="yes"
6610
5307
else
6611
 
  echo "$as_me: failed program was:" >&5
6612
 
sed 's/^/| /' conftest.$ac_ext >&5
6613
 
 
6614
 
         ac_cv_have_struct_sockaddr_storage="no"
 
5308
   ac_cv_have_struct_sockaddr_storage="no"
6615
5309
 
6616
5310
fi
6617
 
 
6618
5311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619
5312
 
6620
5313
fi
6621
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
6622
 
echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; }
 
5314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_storage" >&5
 
5315
$as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; }
6623
5316
if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
6624
 
        cat >>confdefs.h <<\_ACEOF
6625
 
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
6626
 
_ACEOF
 
5317
        $as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
6627
5318
 
6628
5319
fi
6629
5320
 
6630
 
{ echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
6631
 
echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
6632
 
if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
6633
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_in6" >&5
 
5322
$as_echo_n "checking for struct sockaddr_in6... " >&6; }
 
5323
if ${ac_cv_have_struct_sockaddr_in6+:} false; then :
 
5324
  $as_echo_n "(cached) " >&6
6634
5325
else
6635
5326
 
6636
 
        cat >conftest.$ac_ext <<_ACEOF
6637
 
/* confdefs.h.  */
6638
 
_ACEOF
6639
 
cat confdefs.h >>conftest.$ac_ext
6640
 
cat >>conftest.$ac_ext <<_ACEOF
 
5327
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641
5328
/* end confdefs.h.  */
6642
5329
 
6643
5330
#include <sys/types.h>
6651
5338
  return 0;
6652
5339
}
6653
5340
_ACEOF
6654
 
rm -f conftest.$ac_objext
6655
 
if { (ac_try="$ac_compile"
6656
 
case "(($ac_try" in
6657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6658
 
  *) ac_try_echo=$ac_try;;
6659
 
esac
6660
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661
 
  (eval "$ac_compile") 2>conftest.er1
6662
 
  ac_status=$?
6663
 
  grep -v '^ *+' conftest.er1 >conftest.err
6664
 
  rm -f conftest.er1
6665
 
  cat conftest.err >&5
6666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667
 
  (exit $ac_status); } && {
6668
 
         test -z "$ac_c_werror_flag" ||
6669
 
         test ! -s conftest.err
6670
 
       } && test -s conftest.$ac_objext; then
 
5341
if ac_fn_c_try_compile "$LINENO"; then :
6671
5342
   ac_cv_have_struct_sockaddr_in6="yes"
6672
5343
else
6673
 
  echo "$as_me: failed program was:" >&5
6674
 
sed 's/^/| /' conftest.$ac_ext >&5
6675
 
 
6676
 
         ac_cv_have_struct_sockaddr_in6="no"
 
5344
   ac_cv_have_struct_sockaddr_in6="no"
6677
5345
 
6678
5346
fi
6679
 
 
6680
5347
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681
5348
 
6682
5349
fi
6683
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
6684
 
echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; }
 
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_in6" >&5
 
5351
$as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; }
6685
5352
if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
6686
5353
 
6687
 
cat >>confdefs.h <<\_ACEOF
6688
 
#define HAVE_STRUCT_SOCKADDR_IN6
6689
 
_ACEOF
 
5354
$as_echo "#define HAVE_STRUCT_SOCKADDR_IN6 /**/" >>confdefs.h
6690
5355
 
6691
5356
fi
6692
5357
 
6693
 
{ echo "$as_me:$LINENO: checking for struct in6_addr" >&5
6694
 
echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; }
6695
 
if test "${ac_cv_have_struct_in6_addr+set}" = set; then
6696
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct in6_addr" >&5
 
5359
$as_echo_n "checking for struct in6_addr... " >&6; }
 
5360
if ${ac_cv_have_struct_in6_addr+:} false; then :
 
5361
  $as_echo_n "(cached) " >&6
6697
5362
else
6698
5363
 
6699
 
        cat >conftest.$ac_ext <<_ACEOF
6700
 
/* confdefs.h.  */
6701
 
_ACEOF
6702
 
cat confdefs.h >>conftest.$ac_ext
6703
 
cat >>conftest.$ac_ext <<_ACEOF
 
5364
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704
5365
/* end confdefs.h.  */
6705
5366
 
6706
5367
#include <sys/types.h>
6714
5375
  return 0;
6715
5376
}
6716
5377
_ACEOF
6717
 
rm -f conftest.$ac_objext
6718
 
if { (ac_try="$ac_compile"
6719
 
case "(($ac_try" in
6720
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721
 
  *) ac_try_echo=$ac_try;;
6722
 
esac
6723
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724
 
  (eval "$ac_compile") 2>conftest.er1
6725
 
  ac_status=$?
6726
 
  grep -v '^ *+' conftest.er1 >conftest.err
6727
 
  rm -f conftest.er1
6728
 
  cat conftest.err >&5
6729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730
 
  (exit $ac_status); } && {
6731
 
         test -z "$ac_c_werror_flag" ||
6732
 
         test ! -s conftest.err
6733
 
       } && test -s conftest.$ac_objext; then
 
5378
if ac_fn_c_try_compile "$LINENO"; then :
6734
5379
   ac_cv_have_struct_in6_addr="yes"
6735
5380
else
6736
 
  echo "$as_me: failed program was:" >&5
6737
 
sed 's/^/| /' conftest.$ac_ext >&5
6738
 
 
6739
 
         ac_cv_have_struct_in6_addr="no"
 
5381
   ac_cv_have_struct_in6_addr="no"
6740
5382
 
6741
5383
fi
6742
 
 
6743
5384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744
5385
 
6745
5386
fi
6746
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
6747
 
echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; }
 
5387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_in6_addr" >&5
 
5388
$as_echo "$ac_cv_have_struct_in6_addr" >&6; }
6748
5389
if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
6749
5390
 
6750
 
cat >>confdefs.h <<\_ACEOF
6751
 
#define HAVE_STRUCT_IN6_ADDR
6752
 
_ACEOF
 
5391
$as_echo "#define HAVE_STRUCT_IN6_ADDR /**/" >>confdefs.h
6753
5392
 
6754
5393
fi
6755
5394
 
6756
 
{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5
6757
 
echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
6758
 
if test "${ac_cv_have_struct_addrinfo+set}" = set; then
6759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
 
5396
$as_echo_n "checking for struct addrinfo... " >&6; }
 
5397
if ${ac_cv_have_struct_addrinfo+:} false; then :
 
5398
  $as_echo_n "(cached) " >&6
6760
5399
else
6761
5400
 
6762
 
        cat >conftest.$ac_ext <<_ACEOF
6763
 
/* confdefs.h.  */
6764
 
_ACEOF
6765
 
cat confdefs.h >>conftest.$ac_ext
6766
 
cat >>conftest.$ac_ext <<_ACEOF
 
5401
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6767
5402
/* end confdefs.h.  */
6768
5403
 
6769
5404
#include <sys/types.h>
6778
5413
  return 0;
6779
5414
}
6780
5415
_ACEOF
6781
 
rm -f conftest.$ac_objext
6782
 
if { (ac_try="$ac_compile"
6783
 
case "(($ac_try" in
6784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6785
 
  *) ac_try_echo=$ac_try;;
6786
 
esac
6787
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6788
 
  (eval "$ac_compile") 2>conftest.er1
6789
 
  ac_status=$?
6790
 
  grep -v '^ *+' conftest.er1 >conftest.err
6791
 
  rm -f conftest.er1
6792
 
  cat conftest.err >&5
6793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794
 
  (exit $ac_status); } && {
6795
 
         test -z "$ac_c_werror_flag" ||
6796
 
         test ! -s conftest.err
6797
 
       } && test -s conftest.$ac_objext; then
 
5416
if ac_fn_c_try_compile "$LINENO"; then :
6798
5417
   ac_cv_have_struct_addrinfo="yes"
6799
5418
else
6800
 
  echo "$as_me: failed program was:" >&5
6801
 
sed 's/^/| /' conftest.$ac_ext >&5
6802
 
 
6803
 
         ac_cv_have_struct_addrinfo="no"
 
5419
   ac_cv_have_struct_addrinfo="no"
6804
5420
 
6805
5421
fi
6806
 
 
6807
5422
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6808
5423
 
6809
5424
fi
6810
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
6811
 
echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; }
 
5425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_addrinfo" >&5
 
5426
$as_echo "$ac_cv_have_struct_addrinfo" >&6; }
6812
5427
if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
6813
5428
 
6814
 
cat >>confdefs.h <<\_ACEOF
6815
 
#define HAVE_STRUCT_ADDRINFO
6816
 
_ACEOF
 
5429
$as_echo "#define HAVE_STRUCT_ADDRINFO /**/" >>confdefs.h
6817
5430
 
6818
5431
fi
6819
5432
 
6820
5433
 
6821
5434
# IRIX has a const char return value for gai_strerror()
6822
 
 
6823
5435
for ac_func in gai_strerror
6824
 
do
6825
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6826
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6827
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6828
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6830
 
else
6831
 
  cat >conftest.$ac_ext <<_ACEOF
6832
 
/* confdefs.h.  */
6833
 
_ACEOF
6834
 
cat confdefs.h >>conftest.$ac_ext
6835
 
cat >>conftest.$ac_ext <<_ACEOF
6836
 
/* end confdefs.h.  */
6837
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6838
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6839
 
#define $ac_func innocuous_$ac_func
6840
 
 
6841
 
/* System header to define __stub macros and hopefully few prototypes,
6842
 
    which can conflict with char $ac_func (); below.
6843
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6844
 
    <limits.h> exists even on freestanding compilers.  */
6845
 
 
6846
 
#ifdef __STDC__
6847
 
# include <limits.h>
6848
 
#else
6849
 
# include <assert.h>
6850
 
#endif
6851
 
 
6852
 
#undef $ac_func
6853
 
 
6854
 
/* Override any GCC internal prototype to avoid an error.
6855
 
   Use char because int might match the return type of a GCC
6856
 
   builtin and then its argument prototype would still apply.  */
6857
 
#ifdef __cplusplus
6858
 
extern "C"
6859
 
#endif
6860
 
char $ac_func ();
6861
 
/* The GNU C library defines this for functions which it implements
6862
 
    to always fail with ENOSYS.  Some functions are actually named
6863
 
    something starting with __ and the normal name is an alias.  */
6864
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6865
 
choke me
6866
 
#endif
6867
 
 
6868
 
int
6869
 
main ()
6870
 
{
6871
 
return $ac_func ();
6872
 
  ;
6873
 
  return 0;
6874
 
}
6875
 
_ACEOF
6876
 
rm -f conftest.$ac_objext conftest$ac_exeext
6877
 
if { (ac_try="$ac_link"
6878
 
case "(($ac_try" in
6879
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880
 
  *) ac_try_echo=$ac_try;;
6881
 
esac
6882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883
 
  (eval "$ac_link") 2>conftest.er1
6884
 
  ac_status=$?
6885
 
  grep -v '^ *+' conftest.er1 >conftest.err
6886
 
  rm -f conftest.er1
6887
 
  cat conftest.err >&5
6888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889
 
  (exit $ac_status); } && {
6890
 
         test -z "$ac_c_werror_flag" ||
6891
 
         test ! -s conftest.err
6892
 
       } && test -s conftest$ac_exeext &&
6893
 
       $as_test_x conftest$ac_exeext; then
6894
 
  eval "$as_ac_var=yes"
6895
 
else
6896
 
  echo "$as_me: failed program was:" >&5
6897
 
sed 's/^/| /' conftest.$ac_ext >&5
6898
 
 
6899
 
        eval "$as_ac_var=no"
6900
 
fi
6901
 
 
6902
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6903
 
      conftest$ac_exeext conftest.$ac_ext
6904
 
fi
6905
 
ac_res=`eval echo '${'$as_ac_var'}'`
6906
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6907
 
echo "${ECHO_T}$ac_res" >&6; }
6908
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5436
do :
 
5437
  ac_fn_c_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror"
 
5438
if test "x$ac_cv_func_gai_strerror" = xyes; then :
6909
5439
  cat >>confdefs.h <<_ACEOF
6910
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6911
 
_ACEOF
6912
 
 
6913
 
        cat >>confdefs.h <<\_ACEOF
6914
5440
#define HAVE_GAI_STRERROR 1
6915
5441
_ACEOF
6916
5442
 
6917
 
        cat >conftest.$ac_ext <<_ACEOF
6918
 
/* confdefs.h.  */
6919
 
_ACEOF
6920
 
cat confdefs.h >>conftest.$ac_ext
6921
 
cat >>conftest.$ac_ext <<_ACEOF
 
5443
        $as_echo "#define HAVE_GAI_STRERROR 1" >>confdefs.h
 
5444
 
 
5445
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922
5446
/* end confdefs.h.  */
6923
5447
 
6924
5448
#include <sys/types.h>
6937
5461
  return 0;
6938
5462
}
6939
5463
_ACEOF
6940
 
rm -f conftest.$ac_objext
6941
 
if { (ac_try="$ac_compile"
6942
 
case "(($ac_try" in
6943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6944
 
  *) ac_try_echo=$ac_try;;
6945
 
esac
6946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6947
 
  (eval "$ac_compile") 2>conftest.er1
6948
 
  ac_status=$?
6949
 
  grep -v '^ *+' conftest.er1 >conftest.err
6950
 
  rm -f conftest.er1
6951
 
  cat conftest.err >&5
6952
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953
 
  (exit $ac_status); } && {
6954
 
         test -z "$ac_c_werror_flag" ||
6955
 
         test ! -s conftest.err
6956
 
       } && test -s conftest.$ac_objext; then
6957
 
 
6958
 
 
6959
 
cat >>confdefs.h <<\_ACEOF
6960
 
#define HAVE_CONST_GAI_STRERROR_PROTO 1
6961
 
_ACEOF
6962
 
 
6963
 
else
6964
 
  echo "$as_me: failed program was:" >&5
6965
 
sed 's/^/| /' conftest.$ac_ext >&5
6966
 
 
 
5464
if ac_fn_c_try_compile "$LINENO"; then :
 
5465
 
 
5466
 
 
5467
$as_echo "#define HAVE_CONST_GAI_STRERROR_PROTO 1" >>confdefs.h
6967
5468
 
6968
5469
fi
6969
 
 
6970
5470
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971
5471
fi
6972
5472
done
6974
5474
 
6975
5475
# for loginrec.c
6976
5476
 
6977
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_host" >&5
6978
 
echo $ECHO_N "checking for struct utmp.ut_host... $ECHO_C" >&6; }
6979
 
if test "${ac_cv_member_struct_utmp_ut_host+set}" = set; then
6980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6981
 
else
6982
 
  cat >conftest.$ac_ext <<_ACEOF
6983
 
/* confdefs.h.  */
6984
 
_ACEOF
6985
 
cat confdefs.h >>conftest.$ac_ext
6986
 
cat >>conftest.$ac_ext <<_ACEOF
6987
 
/* end confdefs.h.  */
6988
 
 
6989
 
#include <sys/types.h>
6990
 
#if HAVE_UTMP_H
6991
 
#include <utmp.h>
6992
 
#endif
6993
 
 
6994
 
 
6995
 
int
6996
 
main ()
6997
 
{
6998
 
static struct utmp ac_aggr;
6999
 
if (ac_aggr.ut_host)
7000
 
return 0;
7001
 
  ;
7002
 
  return 0;
7003
 
}
7004
 
_ACEOF
7005
 
rm -f conftest.$ac_objext
7006
 
if { (ac_try="$ac_compile"
7007
 
case "(($ac_try" in
7008
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7009
 
  *) ac_try_echo=$ac_try;;
7010
 
esac
7011
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7012
 
  (eval "$ac_compile") 2>conftest.er1
7013
 
  ac_status=$?
7014
 
  grep -v '^ *+' conftest.er1 >conftest.err
7015
 
  rm -f conftest.er1
7016
 
  cat conftest.err >&5
7017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018
 
  (exit $ac_status); } && {
7019
 
         test -z "$ac_c_werror_flag" ||
7020
 
         test ! -s conftest.err
7021
 
       } && test -s conftest.$ac_objext; then
7022
 
  ac_cv_member_struct_utmp_ut_host=yes
7023
 
else
7024
 
  echo "$as_me: failed program was:" >&5
7025
 
sed 's/^/| /' conftest.$ac_ext >&5
7026
 
 
7027
 
        cat >conftest.$ac_ext <<_ACEOF
7028
 
/* confdefs.h.  */
7029
 
_ACEOF
7030
 
cat confdefs.h >>conftest.$ac_ext
7031
 
cat >>conftest.$ac_ext <<_ACEOF
7032
 
/* end confdefs.h.  */
7033
 
 
7034
 
#include <sys/types.h>
7035
 
#if HAVE_UTMP_H
7036
 
#include <utmp.h>
7037
 
#endif
7038
 
 
7039
 
 
7040
 
int
7041
 
main ()
7042
 
{
7043
 
static struct utmp ac_aggr;
7044
 
if (sizeof ac_aggr.ut_host)
7045
 
return 0;
7046
 
  ;
7047
 
  return 0;
7048
 
}
7049
 
_ACEOF
7050
 
rm -f conftest.$ac_objext
7051
 
if { (ac_try="$ac_compile"
7052
 
case "(($ac_try" in
7053
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7054
 
  *) ac_try_echo=$ac_try;;
7055
 
esac
7056
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7057
 
  (eval "$ac_compile") 2>conftest.er1
7058
 
  ac_status=$?
7059
 
  grep -v '^ *+' conftest.er1 >conftest.err
7060
 
  rm -f conftest.er1
7061
 
  cat conftest.err >&5
7062
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063
 
  (exit $ac_status); } && {
7064
 
         test -z "$ac_c_werror_flag" ||
7065
 
         test ! -s conftest.err
7066
 
       } && test -s conftest.$ac_objext; then
7067
 
  ac_cv_member_struct_utmp_ut_host=yes
7068
 
else
7069
 
  echo "$as_me: failed program was:" >&5
7070
 
sed 's/^/| /' conftest.$ac_ext >&5
7071
 
 
7072
 
        ac_cv_member_struct_utmp_ut_host=no
7073
 
fi
7074
 
 
7075
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076
 
fi
7077
 
 
7078
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079
 
fi
7080
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_host" >&5
7081
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_host" >&6; }
7082
 
if test $ac_cv_member_struct_utmp_ut_host = yes; then
 
5477
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
 
5478
#include <sys/types.h>
 
5479
#if HAVE_UTMP_H
 
5480
#include <utmp.h>
 
5481
#endif
 
5482
 
 
5483
"
 
5484
if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then :
7083
5485
 
7084
5486
cat >>confdefs.h <<_ACEOF
7085
5487
#define HAVE_STRUCT_UTMP_UT_HOST 1
7087
5489
 
7088
5490
 
7089
5491
fi
7090
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_pid" >&5
7091
 
echo $ECHO_N "checking for struct utmp.ut_pid... $ECHO_C" >&6; }
7092
 
if test "${ac_cv_member_struct_utmp_ut_pid+set}" = set; then
7093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7094
 
else
7095
 
  cat >conftest.$ac_ext <<_ACEOF
7096
 
/* confdefs.h.  */
7097
 
_ACEOF
7098
 
cat confdefs.h >>conftest.$ac_ext
7099
 
cat >>conftest.$ac_ext <<_ACEOF
7100
 
/* end confdefs.h.  */
7101
 
 
7102
 
#include <sys/types.h>
7103
 
#if HAVE_UTMP_H
7104
 
#include <utmp.h>
7105
 
#endif
7106
 
 
7107
 
 
7108
 
int
7109
 
main ()
7110
 
{
7111
 
static struct utmp ac_aggr;
7112
 
if (ac_aggr.ut_pid)
7113
 
return 0;
7114
 
  ;
7115
 
  return 0;
7116
 
}
7117
 
_ACEOF
7118
 
rm -f conftest.$ac_objext
7119
 
if { (ac_try="$ac_compile"
7120
 
case "(($ac_try" in
7121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7122
 
  *) ac_try_echo=$ac_try;;
7123
 
esac
7124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7125
 
  (eval "$ac_compile") 2>conftest.er1
7126
 
  ac_status=$?
7127
 
  grep -v '^ *+' conftest.er1 >conftest.err
7128
 
  rm -f conftest.er1
7129
 
  cat conftest.err >&5
7130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131
 
  (exit $ac_status); } && {
7132
 
         test -z "$ac_c_werror_flag" ||
7133
 
         test ! -s conftest.err
7134
 
       } && test -s conftest.$ac_objext; then
7135
 
  ac_cv_member_struct_utmp_ut_pid=yes
7136
 
else
7137
 
  echo "$as_me: failed program was:" >&5
7138
 
sed 's/^/| /' conftest.$ac_ext >&5
7139
 
 
7140
 
        cat >conftest.$ac_ext <<_ACEOF
7141
 
/* confdefs.h.  */
7142
 
_ACEOF
7143
 
cat confdefs.h >>conftest.$ac_ext
7144
 
cat >>conftest.$ac_ext <<_ACEOF
7145
 
/* end confdefs.h.  */
7146
 
 
7147
 
#include <sys/types.h>
7148
 
#if HAVE_UTMP_H
7149
 
#include <utmp.h>
7150
 
#endif
7151
 
 
7152
 
 
7153
 
int
7154
 
main ()
7155
 
{
7156
 
static struct utmp ac_aggr;
7157
 
if (sizeof ac_aggr.ut_pid)
7158
 
return 0;
7159
 
  ;
7160
 
  return 0;
7161
 
}
7162
 
_ACEOF
7163
 
rm -f conftest.$ac_objext
7164
 
if { (ac_try="$ac_compile"
7165
 
case "(($ac_try" in
7166
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7167
 
  *) ac_try_echo=$ac_try;;
7168
 
esac
7169
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7170
 
  (eval "$ac_compile") 2>conftest.er1
7171
 
  ac_status=$?
7172
 
  grep -v '^ *+' conftest.er1 >conftest.err
7173
 
  rm -f conftest.er1
7174
 
  cat conftest.err >&5
7175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176
 
  (exit $ac_status); } && {
7177
 
         test -z "$ac_c_werror_flag" ||
7178
 
         test ! -s conftest.err
7179
 
       } && test -s conftest.$ac_objext; then
7180
 
  ac_cv_member_struct_utmp_ut_pid=yes
7181
 
else
7182
 
  echo "$as_me: failed program was:" >&5
7183
 
sed 's/^/| /' conftest.$ac_ext >&5
7184
 
 
7185
 
        ac_cv_member_struct_utmp_ut_pid=no
7186
 
fi
7187
 
 
7188
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7189
 
fi
7190
 
 
7191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7192
 
fi
7193
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_pid" >&5
7194
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_pid" >&6; }
7195
 
if test $ac_cv_member_struct_utmp_ut_pid = yes; then
 
5492
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
 
5493
#include <sys/types.h>
 
5494
#if HAVE_UTMP_H
 
5495
#include <utmp.h>
 
5496
#endif
 
5497
 
 
5498
"
 
5499
if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
7196
5500
 
7197
5501
cat >>confdefs.h <<_ACEOF
7198
5502
#define HAVE_STRUCT_UTMP_UT_PID 1
7200
5504
 
7201
5505
 
7202
5506
fi
7203
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_type" >&5
7204
 
echo $ECHO_N "checking for struct utmp.ut_type... $ECHO_C" >&6; }
7205
 
if test "${ac_cv_member_struct_utmp_ut_type+set}" = set; then
7206
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7207
 
else
7208
 
  cat >conftest.$ac_ext <<_ACEOF
7209
 
/* confdefs.h.  */
7210
 
_ACEOF
7211
 
cat confdefs.h >>conftest.$ac_ext
7212
 
cat >>conftest.$ac_ext <<_ACEOF
7213
 
/* end confdefs.h.  */
7214
 
 
7215
 
#include <sys/types.h>
7216
 
#if HAVE_UTMP_H
7217
 
#include <utmp.h>
7218
 
#endif
7219
 
 
7220
 
 
7221
 
int
7222
 
main ()
7223
 
{
7224
 
static struct utmp ac_aggr;
7225
 
if (ac_aggr.ut_type)
7226
 
return 0;
7227
 
  ;
7228
 
  return 0;
7229
 
}
7230
 
_ACEOF
7231
 
rm -f conftest.$ac_objext
7232
 
if { (ac_try="$ac_compile"
7233
 
case "(($ac_try" in
7234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235
 
  *) ac_try_echo=$ac_try;;
7236
 
esac
7237
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238
 
  (eval "$ac_compile") 2>conftest.er1
7239
 
  ac_status=$?
7240
 
  grep -v '^ *+' conftest.er1 >conftest.err
7241
 
  rm -f conftest.er1
7242
 
  cat conftest.err >&5
7243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244
 
  (exit $ac_status); } && {
7245
 
         test -z "$ac_c_werror_flag" ||
7246
 
         test ! -s conftest.err
7247
 
       } && test -s conftest.$ac_objext; then
7248
 
  ac_cv_member_struct_utmp_ut_type=yes
7249
 
else
7250
 
  echo "$as_me: failed program was:" >&5
7251
 
sed 's/^/| /' conftest.$ac_ext >&5
7252
 
 
7253
 
        cat >conftest.$ac_ext <<_ACEOF
7254
 
/* confdefs.h.  */
7255
 
_ACEOF
7256
 
cat confdefs.h >>conftest.$ac_ext
7257
 
cat >>conftest.$ac_ext <<_ACEOF
7258
 
/* end confdefs.h.  */
7259
 
 
7260
 
#include <sys/types.h>
7261
 
#if HAVE_UTMP_H
7262
 
#include <utmp.h>
7263
 
#endif
7264
 
 
7265
 
 
7266
 
int
7267
 
main ()
7268
 
{
7269
 
static struct utmp ac_aggr;
7270
 
if (sizeof ac_aggr.ut_type)
7271
 
return 0;
7272
 
  ;
7273
 
  return 0;
7274
 
}
7275
 
_ACEOF
7276
 
rm -f conftest.$ac_objext
7277
 
if { (ac_try="$ac_compile"
7278
 
case "(($ac_try" in
7279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7280
 
  *) ac_try_echo=$ac_try;;
7281
 
esac
7282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7283
 
  (eval "$ac_compile") 2>conftest.er1
7284
 
  ac_status=$?
7285
 
  grep -v '^ *+' conftest.er1 >conftest.err
7286
 
  rm -f conftest.er1
7287
 
  cat conftest.err >&5
7288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289
 
  (exit $ac_status); } && {
7290
 
         test -z "$ac_c_werror_flag" ||
7291
 
         test ! -s conftest.err
7292
 
       } && test -s conftest.$ac_objext; then
7293
 
  ac_cv_member_struct_utmp_ut_type=yes
7294
 
else
7295
 
  echo "$as_me: failed program was:" >&5
7296
 
sed 's/^/| /' conftest.$ac_ext >&5
7297
 
 
7298
 
        ac_cv_member_struct_utmp_ut_type=no
7299
 
fi
7300
 
 
7301
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7302
 
fi
7303
 
 
7304
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7305
 
fi
7306
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_type" >&5
7307
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_type" >&6; }
7308
 
if test $ac_cv_member_struct_utmp_ut_type = yes; then
 
5507
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
 
5508
#include <sys/types.h>
 
5509
#if HAVE_UTMP_H
 
5510
#include <utmp.h>
 
5511
#endif
 
5512
 
 
5513
"
 
5514
if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
7309
5515
 
7310
5516
cat >>confdefs.h <<_ACEOF
7311
5517
#define HAVE_STRUCT_UTMP_UT_TYPE 1
7313
5519
 
7314
5520
 
7315
5521
fi
7316
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_tv" >&5
7317
 
echo $ECHO_N "checking for struct utmp.ut_tv... $ECHO_C" >&6; }
7318
 
if test "${ac_cv_member_struct_utmp_ut_tv+set}" = set; then
7319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7320
 
else
7321
 
  cat >conftest.$ac_ext <<_ACEOF
7322
 
/* confdefs.h.  */
7323
 
_ACEOF
7324
 
cat confdefs.h >>conftest.$ac_ext
7325
 
cat >>conftest.$ac_ext <<_ACEOF
7326
 
/* end confdefs.h.  */
7327
 
 
7328
 
#include <sys/types.h>
7329
 
#if HAVE_UTMP_H
7330
 
#include <utmp.h>
7331
 
#endif
7332
 
 
7333
 
 
7334
 
int
7335
 
main ()
7336
 
{
7337
 
static struct utmp ac_aggr;
7338
 
if (ac_aggr.ut_tv)
7339
 
return 0;
7340
 
  ;
7341
 
  return 0;
7342
 
}
7343
 
_ACEOF
7344
 
rm -f conftest.$ac_objext
7345
 
if { (ac_try="$ac_compile"
7346
 
case "(($ac_try" in
7347
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7348
 
  *) ac_try_echo=$ac_try;;
7349
 
esac
7350
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7351
 
  (eval "$ac_compile") 2>conftest.er1
7352
 
  ac_status=$?
7353
 
  grep -v '^ *+' conftest.er1 >conftest.err
7354
 
  rm -f conftest.er1
7355
 
  cat conftest.err >&5
7356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
 
  (exit $ac_status); } && {
7358
 
         test -z "$ac_c_werror_flag" ||
7359
 
         test ! -s conftest.err
7360
 
       } && test -s conftest.$ac_objext; then
7361
 
  ac_cv_member_struct_utmp_ut_tv=yes
7362
 
else
7363
 
  echo "$as_me: failed program was:" >&5
7364
 
sed 's/^/| /' conftest.$ac_ext >&5
7365
 
 
7366
 
        cat >conftest.$ac_ext <<_ACEOF
7367
 
/* confdefs.h.  */
7368
 
_ACEOF
7369
 
cat confdefs.h >>conftest.$ac_ext
7370
 
cat >>conftest.$ac_ext <<_ACEOF
7371
 
/* end confdefs.h.  */
7372
 
 
7373
 
#include <sys/types.h>
7374
 
#if HAVE_UTMP_H
7375
 
#include <utmp.h>
7376
 
#endif
7377
 
 
7378
 
 
7379
 
int
7380
 
main ()
7381
 
{
7382
 
static struct utmp ac_aggr;
7383
 
if (sizeof ac_aggr.ut_tv)
7384
 
return 0;
7385
 
  ;
7386
 
  return 0;
7387
 
}
7388
 
_ACEOF
7389
 
rm -f conftest.$ac_objext
7390
 
if { (ac_try="$ac_compile"
7391
 
case "(($ac_try" in
7392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7393
 
  *) ac_try_echo=$ac_try;;
7394
 
esac
7395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7396
 
  (eval "$ac_compile") 2>conftest.er1
7397
 
  ac_status=$?
7398
 
  grep -v '^ *+' conftest.er1 >conftest.err
7399
 
  rm -f conftest.er1
7400
 
  cat conftest.err >&5
7401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402
 
  (exit $ac_status); } && {
7403
 
         test -z "$ac_c_werror_flag" ||
7404
 
         test ! -s conftest.err
7405
 
       } && test -s conftest.$ac_objext; then
7406
 
  ac_cv_member_struct_utmp_ut_tv=yes
7407
 
else
7408
 
  echo "$as_me: failed program was:" >&5
7409
 
sed 's/^/| /' conftest.$ac_ext >&5
7410
 
 
7411
 
        ac_cv_member_struct_utmp_ut_tv=no
7412
 
fi
7413
 
 
7414
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7415
 
fi
7416
 
 
7417
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7418
 
fi
7419
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_tv" >&5
7420
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_tv" >&6; }
7421
 
if test $ac_cv_member_struct_utmp_ut_tv = yes; then
 
5522
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_tv" "ac_cv_member_struct_utmp_ut_tv" "
 
5523
#include <sys/types.h>
 
5524
#if HAVE_UTMP_H
 
5525
#include <utmp.h>
 
5526
#endif
 
5527
 
 
5528
"
 
5529
if test "x$ac_cv_member_struct_utmp_ut_tv" = xyes; then :
7422
5530
 
7423
5531
cat >>confdefs.h <<_ACEOF
7424
5532
#define HAVE_STRUCT_UTMP_UT_TV 1
7426
5534
 
7427
5535
 
7428
5536
fi
7429
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5
7430
 
echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6; }
7431
 
if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then
7432
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7433
 
else
7434
 
  cat >conftest.$ac_ext <<_ACEOF
7435
 
/* confdefs.h.  */
7436
 
_ACEOF
7437
 
cat confdefs.h >>conftest.$ac_ext
7438
 
cat >>conftest.$ac_ext <<_ACEOF
7439
 
/* end confdefs.h.  */
7440
 
 
7441
 
#include <sys/types.h>
7442
 
#if HAVE_UTMP_H
7443
 
#include <utmp.h>
7444
 
#endif
7445
 
 
7446
 
 
7447
 
int
7448
 
main ()
7449
 
{
7450
 
static struct utmp ac_aggr;
7451
 
if (ac_aggr.ut_id)
7452
 
return 0;
7453
 
  ;
7454
 
  return 0;
7455
 
}
7456
 
_ACEOF
7457
 
rm -f conftest.$ac_objext
7458
 
if { (ac_try="$ac_compile"
7459
 
case "(($ac_try" in
7460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7461
 
  *) ac_try_echo=$ac_try;;
7462
 
esac
7463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464
 
  (eval "$ac_compile") 2>conftest.er1
7465
 
  ac_status=$?
7466
 
  grep -v '^ *+' conftest.er1 >conftest.err
7467
 
  rm -f conftest.er1
7468
 
  cat conftest.err >&5
7469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470
 
  (exit $ac_status); } && {
7471
 
         test -z "$ac_c_werror_flag" ||
7472
 
         test ! -s conftest.err
7473
 
       } && test -s conftest.$ac_objext; then
7474
 
  ac_cv_member_struct_utmp_ut_id=yes
7475
 
else
7476
 
  echo "$as_me: failed program was:" >&5
7477
 
sed 's/^/| /' conftest.$ac_ext >&5
7478
 
 
7479
 
        cat >conftest.$ac_ext <<_ACEOF
7480
 
/* confdefs.h.  */
7481
 
_ACEOF
7482
 
cat confdefs.h >>conftest.$ac_ext
7483
 
cat >>conftest.$ac_ext <<_ACEOF
7484
 
/* end confdefs.h.  */
7485
 
 
7486
 
#include <sys/types.h>
7487
 
#if HAVE_UTMP_H
7488
 
#include <utmp.h>
7489
 
#endif
7490
 
 
7491
 
 
7492
 
int
7493
 
main ()
7494
 
{
7495
 
static struct utmp ac_aggr;
7496
 
if (sizeof ac_aggr.ut_id)
7497
 
return 0;
7498
 
  ;
7499
 
  return 0;
7500
 
}
7501
 
_ACEOF
7502
 
rm -f conftest.$ac_objext
7503
 
if { (ac_try="$ac_compile"
7504
 
case "(($ac_try" in
7505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7506
 
  *) ac_try_echo=$ac_try;;
7507
 
esac
7508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509
 
  (eval "$ac_compile") 2>conftest.er1
7510
 
  ac_status=$?
7511
 
  grep -v '^ *+' conftest.er1 >conftest.err
7512
 
  rm -f conftest.er1
7513
 
  cat conftest.err >&5
7514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515
 
  (exit $ac_status); } && {
7516
 
         test -z "$ac_c_werror_flag" ||
7517
 
         test ! -s conftest.err
7518
 
       } && test -s conftest.$ac_objext; then
7519
 
  ac_cv_member_struct_utmp_ut_id=yes
7520
 
else
7521
 
  echo "$as_me: failed program was:" >&5
7522
 
sed 's/^/| /' conftest.$ac_ext >&5
7523
 
 
7524
 
        ac_cv_member_struct_utmp_ut_id=no
7525
 
fi
7526
 
 
7527
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528
 
fi
7529
 
 
7530
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531
 
fi
7532
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5
7533
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6; }
7534
 
if test $ac_cv_member_struct_utmp_ut_id = yes; then
 
5537
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
 
5538
#include <sys/types.h>
 
5539
#if HAVE_UTMP_H
 
5540
#include <utmp.h>
 
5541
#endif
 
5542
 
 
5543
"
 
5544
if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
7535
5545
 
7536
5546
cat >>confdefs.h <<_ACEOF
7537
5547
#define HAVE_STRUCT_UTMP_UT_ID 1
7539
5549
 
7540
5550
 
7541
5551
fi
7542
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_addr" >&5
7543
 
echo $ECHO_N "checking for struct utmp.ut_addr... $ECHO_C" >&6; }
7544
 
if test "${ac_cv_member_struct_utmp_ut_addr+set}" = set; then
7545
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7546
 
else
7547
 
  cat >conftest.$ac_ext <<_ACEOF
7548
 
/* confdefs.h.  */
7549
 
_ACEOF
7550
 
cat confdefs.h >>conftest.$ac_ext
7551
 
cat >>conftest.$ac_ext <<_ACEOF
7552
 
/* end confdefs.h.  */
7553
 
 
7554
 
#include <sys/types.h>
7555
 
#if HAVE_UTMP_H
7556
 
#include <utmp.h>
7557
 
#endif
7558
 
 
7559
 
 
7560
 
int
7561
 
main ()
7562
 
{
7563
 
static struct utmp ac_aggr;
7564
 
if (ac_aggr.ut_addr)
7565
 
return 0;
7566
 
  ;
7567
 
  return 0;
7568
 
}
7569
 
_ACEOF
7570
 
rm -f conftest.$ac_objext
7571
 
if { (ac_try="$ac_compile"
7572
 
case "(($ac_try" in
7573
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7574
 
  *) ac_try_echo=$ac_try;;
7575
 
esac
7576
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577
 
  (eval "$ac_compile") 2>conftest.er1
7578
 
  ac_status=$?
7579
 
  grep -v '^ *+' conftest.er1 >conftest.err
7580
 
  rm -f conftest.er1
7581
 
  cat conftest.err >&5
7582
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583
 
  (exit $ac_status); } && {
7584
 
         test -z "$ac_c_werror_flag" ||
7585
 
         test ! -s conftest.err
7586
 
       } && test -s conftest.$ac_objext; then
7587
 
  ac_cv_member_struct_utmp_ut_addr=yes
7588
 
else
7589
 
  echo "$as_me: failed program was:" >&5
7590
 
sed 's/^/| /' conftest.$ac_ext >&5
7591
 
 
7592
 
        cat >conftest.$ac_ext <<_ACEOF
7593
 
/* confdefs.h.  */
7594
 
_ACEOF
7595
 
cat confdefs.h >>conftest.$ac_ext
7596
 
cat >>conftest.$ac_ext <<_ACEOF
7597
 
/* end confdefs.h.  */
7598
 
 
7599
 
#include <sys/types.h>
7600
 
#if HAVE_UTMP_H
7601
 
#include <utmp.h>
7602
 
#endif
7603
 
 
7604
 
 
7605
 
int
7606
 
main ()
7607
 
{
7608
 
static struct utmp ac_aggr;
7609
 
if (sizeof ac_aggr.ut_addr)
7610
 
return 0;
7611
 
  ;
7612
 
  return 0;
7613
 
}
7614
 
_ACEOF
7615
 
rm -f conftest.$ac_objext
7616
 
if { (ac_try="$ac_compile"
7617
 
case "(($ac_try" in
7618
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7619
 
  *) ac_try_echo=$ac_try;;
7620
 
esac
7621
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622
 
  (eval "$ac_compile") 2>conftest.er1
7623
 
  ac_status=$?
7624
 
  grep -v '^ *+' conftest.er1 >conftest.err
7625
 
  rm -f conftest.er1
7626
 
  cat conftest.err >&5
7627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628
 
  (exit $ac_status); } && {
7629
 
         test -z "$ac_c_werror_flag" ||
7630
 
         test ! -s conftest.err
7631
 
       } && test -s conftest.$ac_objext; then
7632
 
  ac_cv_member_struct_utmp_ut_addr=yes
7633
 
else
7634
 
  echo "$as_me: failed program was:" >&5
7635
 
sed 's/^/| /' conftest.$ac_ext >&5
7636
 
 
7637
 
        ac_cv_member_struct_utmp_ut_addr=no
7638
 
fi
7639
 
 
7640
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7641
 
fi
7642
 
 
7643
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7644
 
fi
7645
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr" >&5
7646
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr" >&6; }
7647
 
if test $ac_cv_member_struct_utmp_ut_addr = yes; then
 
5552
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_addr" "ac_cv_member_struct_utmp_ut_addr" "
 
5553
#include <sys/types.h>
 
5554
#if HAVE_UTMP_H
 
5555
#include <utmp.h>
 
5556
#endif
 
5557
 
 
5558
"
 
5559
if test "x$ac_cv_member_struct_utmp_ut_addr" = xyes; then :
7648
5560
 
7649
5561
cat >>confdefs.h <<_ACEOF
7650
5562
#define HAVE_STRUCT_UTMP_UT_ADDR 1
7652
5564
 
7653
5565
 
7654
5566
fi
7655
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_addr_v6" >&5
7656
 
echo $ECHO_N "checking for struct utmp.ut_addr_v6... $ECHO_C" >&6; }
7657
 
if test "${ac_cv_member_struct_utmp_ut_addr_v6+set}" = set; then
7658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7659
 
else
7660
 
  cat >conftest.$ac_ext <<_ACEOF
7661
 
/* confdefs.h.  */
7662
 
_ACEOF
7663
 
cat confdefs.h >>conftest.$ac_ext
7664
 
cat >>conftest.$ac_ext <<_ACEOF
7665
 
/* end confdefs.h.  */
7666
 
 
7667
 
#include <sys/types.h>
7668
 
#if HAVE_UTMP_H
7669
 
#include <utmp.h>
7670
 
#endif
7671
 
 
7672
 
 
7673
 
int
7674
 
main ()
7675
 
{
7676
 
static struct utmp ac_aggr;
7677
 
if (ac_aggr.ut_addr_v6)
7678
 
return 0;
7679
 
  ;
7680
 
  return 0;
7681
 
}
7682
 
_ACEOF
7683
 
rm -f conftest.$ac_objext
7684
 
if { (ac_try="$ac_compile"
7685
 
case "(($ac_try" in
7686
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7687
 
  *) ac_try_echo=$ac_try;;
7688
 
esac
7689
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7690
 
  (eval "$ac_compile") 2>conftest.er1
7691
 
  ac_status=$?
7692
 
  grep -v '^ *+' conftest.er1 >conftest.err
7693
 
  rm -f conftest.er1
7694
 
  cat conftest.err >&5
7695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696
 
  (exit $ac_status); } && {
7697
 
         test -z "$ac_c_werror_flag" ||
7698
 
         test ! -s conftest.err
7699
 
       } && test -s conftest.$ac_objext; then
7700
 
  ac_cv_member_struct_utmp_ut_addr_v6=yes
7701
 
else
7702
 
  echo "$as_me: failed program was:" >&5
7703
 
sed 's/^/| /' conftest.$ac_ext >&5
7704
 
 
7705
 
        cat >conftest.$ac_ext <<_ACEOF
7706
 
/* confdefs.h.  */
7707
 
_ACEOF
7708
 
cat confdefs.h >>conftest.$ac_ext
7709
 
cat >>conftest.$ac_ext <<_ACEOF
7710
 
/* end confdefs.h.  */
7711
 
 
7712
 
#include <sys/types.h>
7713
 
#if HAVE_UTMP_H
7714
 
#include <utmp.h>
7715
 
#endif
7716
 
 
7717
 
 
7718
 
int
7719
 
main ()
7720
 
{
7721
 
static struct utmp ac_aggr;
7722
 
if (sizeof ac_aggr.ut_addr_v6)
7723
 
return 0;
7724
 
  ;
7725
 
  return 0;
7726
 
}
7727
 
_ACEOF
7728
 
rm -f conftest.$ac_objext
7729
 
if { (ac_try="$ac_compile"
7730
 
case "(($ac_try" in
7731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732
 
  *) ac_try_echo=$ac_try;;
7733
 
esac
7734
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735
 
  (eval "$ac_compile") 2>conftest.er1
7736
 
  ac_status=$?
7737
 
  grep -v '^ *+' conftest.er1 >conftest.err
7738
 
  rm -f conftest.er1
7739
 
  cat conftest.err >&5
7740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741
 
  (exit $ac_status); } && {
7742
 
         test -z "$ac_c_werror_flag" ||
7743
 
         test ! -s conftest.err
7744
 
       } && test -s conftest.$ac_objext; then
7745
 
  ac_cv_member_struct_utmp_ut_addr_v6=yes
7746
 
else
7747
 
  echo "$as_me: failed program was:" >&5
7748
 
sed 's/^/| /' conftest.$ac_ext >&5
7749
 
 
7750
 
        ac_cv_member_struct_utmp_ut_addr_v6=no
7751
 
fi
7752
 
 
7753
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754
 
fi
7755
 
 
7756
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7757
 
fi
7758
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr_v6" >&5
7759
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr_v6" >&6; }
7760
 
if test $ac_cv_member_struct_utmp_ut_addr_v6 = yes; then
 
5567
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_addr_v6" "ac_cv_member_struct_utmp_ut_addr_v6" "
 
5568
#include <sys/types.h>
 
5569
#if HAVE_UTMP_H
 
5570
#include <utmp.h>
 
5571
#endif
 
5572
 
 
5573
"
 
5574
if test "x$ac_cv_member_struct_utmp_ut_addr_v6" = xyes; then :
7761
5575
 
7762
5576
cat >>confdefs.h <<_ACEOF
7763
5577
#define HAVE_STRUCT_UTMP_UT_ADDR_V6 1
7765
5579
 
7766
5580
 
7767
5581
fi
7768
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_exit" >&5
7769
 
echo $ECHO_N "checking for struct utmp.ut_exit... $ECHO_C" >&6; }
7770
 
if test "${ac_cv_member_struct_utmp_ut_exit+set}" = set; then
7771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7772
 
else
7773
 
  cat >conftest.$ac_ext <<_ACEOF
7774
 
/* confdefs.h.  */
7775
 
_ACEOF
7776
 
cat confdefs.h >>conftest.$ac_ext
7777
 
cat >>conftest.$ac_ext <<_ACEOF
7778
 
/* end confdefs.h.  */
7779
 
 
7780
 
#include <sys/types.h>
7781
 
#if HAVE_UTMP_H
7782
 
#include <utmp.h>
7783
 
#endif
7784
 
 
7785
 
 
7786
 
int
7787
 
main ()
7788
 
{
7789
 
static struct utmp ac_aggr;
7790
 
if (ac_aggr.ut_exit)
7791
 
return 0;
7792
 
  ;
7793
 
  return 0;
7794
 
}
7795
 
_ACEOF
7796
 
rm -f conftest.$ac_objext
7797
 
if { (ac_try="$ac_compile"
7798
 
case "(($ac_try" in
7799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7800
 
  *) ac_try_echo=$ac_try;;
7801
 
esac
7802
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803
 
  (eval "$ac_compile") 2>conftest.er1
7804
 
  ac_status=$?
7805
 
  grep -v '^ *+' conftest.er1 >conftest.err
7806
 
  rm -f conftest.er1
7807
 
  cat conftest.err >&5
7808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809
 
  (exit $ac_status); } && {
7810
 
         test -z "$ac_c_werror_flag" ||
7811
 
         test ! -s conftest.err
7812
 
       } && test -s conftest.$ac_objext; then
7813
 
  ac_cv_member_struct_utmp_ut_exit=yes
7814
 
else
7815
 
  echo "$as_me: failed program was:" >&5
7816
 
sed 's/^/| /' conftest.$ac_ext >&5
7817
 
 
7818
 
        cat >conftest.$ac_ext <<_ACEOF
7819
 
/* confdefs.h.  */
7820
 
_ACEOF
7821
 
cat confdefs.h >>conftest.$ac_ext
7822
 
cat >>conftest.$ac_ext <<_ACEOF
7823
 
/* end confdefs.h.  */
7824
 
 
7825
 
#include <sys/types.h>
7826
 
#if HAVE_UTMP_H
7827
 
#include <utmp.h>
7828
 
#endif
7829
 
 
7830
 
 
7831
 
int
7832
 
main ()
7833
 
{
7834
 
static struct utmp ac_aggr;
7835
 
if (sizeof ac_aggr.ut_exit)
7836
 
return 0;
7837
 
  ;
7838
 
  return 0;
7839
 
}
7840
 
_ACEOF
7841
 
rm -f conftest.$ac_objext
7842
 
if { (ac_try="$ac_compile"
7843
 
case "(($ac_try" in
7844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7845
 
  *) ac_try_echo=$ac_try;;
7846
 
esac
7847
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7848
 
  (eval "$ac_compile") 2>conftest.er1
7849
 
  ac_status=$?
7850
 
  grep -v '^ *+' conftest.er1 >conftest.err
7851
 
  rm -f conftest.er1
7852
 
  cat conftest.err >&5
7853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854
 
  (exit $ac_status); } && {
7855
 
         test -z "$ac_c_werror_flag" ||
7856
 
         test ! -s conftest.err
7857
 
       } && test -s conftest.$ac_objext; then
7858
 
  ac_cv_member_struct_utmp_ut_exit=yes
7859
 
else
7860
 
  echo "$as_me: failed program was:" >&5
7861
 
sed 's/^/| /' conftest.$ac_ext >&5
7862
 
 
7863
 
        ac_cv_member_struct_utmp_ut_exit=no
7864
 
fi
7865
 
 
7866
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7867
 
fi
7868
 
 
7869
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7870
 
fi
7871
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit" >&5
7872
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit" >&6; }
7873
 
if test $ac_cv_member_struct_utmp_ut_exit = yes; then
 
5582
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit" "ac_cv_member_struct_utmp_ut_exit" "
 
5583
#include <sys/types.h>
 
5584
#if HAVE_UTMP_H
 
5585
#include <utmp.h>
 
5586
#endif
 
5587
 
 
5588
"
 
5589
if test "x$ac_cv_member_struct_utmp_ut_exit" = xyes; then :
7874
5590
 
7875
5591
cat >>confdefs.h <<_ACEOF
7876
5592
#define HAVE_STRUCT_UTMP_UT_EXIT 1
7878
5594
 
7879
5595
 
7880
5596
fi
7881
 
{ echo "$as_me:$LINENO: checking for struct utmp.ut_time" >&5
7882
 
echo $ECHO_N "checking for struct utmp.ut_time... $ECHO_C" >&6; }
7883
 
if test "${ac_cv_member_struct_utmp_ut_time+set}" = set; then
7884
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7885
 
else
7886
 
  cat >conftest.$ac_ext <<_ACEOF
7887
 
/* confdefs.h.  */
7888
 
_ACEOF
7889
 
cat confdefs.h >>conftest.$ac_ext
7890
 
cat >>conftest.$ac_ext <<_ACEOF
7891
 
/* end confdefs.h.  */
7892
 
 
7893
 
#include <sys/types.h>
7894
 
#if HAVE_UTMP_H
7895
 
#include <utmp.h>
7896
 
#endif
7897
 
 
7898
 
 
7899
 
int
7900
 
main ()
7901
 
{
7902
 
static struct utmp ac_aggr;
7903
 
if (ac_aggr.ut_time)
7904
 
return 0;
7905
 
  ;
7906
 
  return 0;
7907
 
}
7908
 
_ACEOF
7909
 
rm -f conftest.$ac_objext
7910
 
if { (ac_try="$ac_compile"
7911
 
case "(($ac_try" in
7912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7913
 
  *) ac_try_echo=$ac_try;;
7914
 
esac
7915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916
 
  (eval "$ac_compile") 2>conftest.er1
7917
 
  ac_status=$?
7918
 
  grep -v '^ *+' conftest.er1 >conftest.err
7919
 
  rm -f conftest.er1
7920
 
  cat conftest.err >&5
7921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922
 
  (exit $ac_status); } && {
7923
 
         test -z "$ac_c_werror_flag" ||
7924
 
         test ! -s conftest.err
7925
 
       } && test -s conftest.$ac_objext; then
7926
 
  ac_cv_member_struct_utmp_ut_time=yes
7927
 
else
7928
 
  echo "$as_me: failed program was:" >&5
7929
 
sed 's/^/| /' conftest.$ac_ext >&5
7930
 
 
7931
 
        cat >conftest.$ac_ext <<_ACEOF
7932
 
/* confdefs.h.  */
7933
 
_ACEOF
7934
 
cat confdefs.h >>conftest.$ac_ext
7935
 
cat >>conftest.$ac_ext <<_ACEOF
7936
 
/* end confdefs.h.  */
7937
 
 
7938
 
#include <sys/types.h>
7939
 
#if HAVE_UTMP_H
7940
 
#include <utmp.h>
7941
 
#endif
7942
 
 
7943
 
 
7944
 
int
7945
 
main ()
7946
 
{
7947
 
static struct utmp ac_aggr;
7948
 
if (sizeof ac_aggr.ut_time)
7949
 
return 0;
7950
 
  ;
7951
 
  return 0;
7952
 
}
7953
 
_ACEOF
7954
 
rm -f conftest.$ac_objext
7955
 
if { (ac_try="$ac_compile"
7956
 
case "(($ac_try" in
7957
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7958
 
  *) ac_try_echo=$ac_try;;
7959
 
esac
7960
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7961
 
  (eval "$ac_compile") 2>conftest.er1
7962
 
  ac_status=$?
7963
 
  grep -v '^ *+' conftest.er1 >conftest.err
7964
 
  rm -f conftest.er1
7965
 
  cat conftest.err >&5
7966
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967
 
  (exit $ac_status); } && {
7968
 
         test -z "$ac_c_werror_flag" ||
7969
 
         test ! -s conftest.err
7970
 
       } && test -s conftest.$ac_objext; then
7971
 
  ac_cv_member_struct_utmp_ut_time=yes
7972
 
else
7973
 
  echo "$as_me: failed program was:" >&5
7974
 
sed 's/^/| /' conftest.$ac_ext >&5
7975
 
 
7976
 
        ac_cv_member_struct_utmp_ut_time=no
7977
 
fi
7978
 
 
7979
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7980
 
fi
7981
 
 
7982
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7983
 
fi
7984
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_time" >&5
7985
 
echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_time" >&6; }
7986
 
if test $ac_cv_member_struct_utmp_ut_time = yes; then
 
5597
ac_fn_c_check_member "$LINENO" "struct utmp" "ut_time" "ac_cv_member_struct_utmp_ut_time" "
 
5598
#include <sys/types.h>
 
5599
#if HAVE_UTMP_H
 
5600
#include <utmp.h>
 
5601
#endif
 
5602
 
 
5603
"
 
5604
if test "x$ac_cv_member_struct_utmp_ut_time" = xyes; then :
7987
5605
 
7988
5606
cat >>confdefs.h <<_ACEOF
7989
5607
#define HAVE_STRUCT_UTMP_UT_TIME 1
7993
5611
fi
7994
5612
 
7995
5613
 
7996
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_host" >&5
7997
 
echo $ECHO_N "checking for struct utmpx.ut_host... $ECHO_C" >&6; }
7998
 
if test "${ac_cv_member_struct_utmpx_ut_host+set}" = set; then
7999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8000
 
else
8001
 
  cat >conftest.$ac_ext <<_ACEOF
8002
 
/* confdefs.h.  */
8003
 
_ACEOF
8004
 
cat confdefs.h >>conftest.$ac_ext
8005
 
cat >>conftest.$ac_ext <<_ACEOF
8006
 
/* end confdefs.h.  */
8007
 
 
8008
 
#include <sys/types.h>
8009
 
#include <sys/socket.h>
8010
 
#if HAVE_UTMPX_H
8011
 
#include <utmpx.h>
8012
 
#endif
8013
 
 
8014
 
 
8015
 
int
8016
 
main ()
8017
 
{
8018
 
static struct utmpx ac_aggr;
8019
 
if (ac_aggr.ut_host)
8020
 
return 0;
8021
 
  ;
8022
 
  return 0;
8023
 
}
8024
 
_ACEOF
8025
 
rm -f conftest.$ac_objext
8026
 
if { (ac_try="$ac_compile"
8027
 
case "(($ac_try" in
8028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8029
 
  *) ac_try_echo=$ac_try;;
8030
 
esac
8031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032
 
  (eval "$ac_compile") 2>conftest.er1
8033
 
  ac_status=$?
8034
 
  grep -v '^ *+' conftest.er1 >conftest.err
8035
 
  rm -f conftest.er1
8036
 
  cat conftest.err >&5
8037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038
 
  (exit $ac_status); } && {
8039
 
         test -z "$ac_c_werror_flag" ||
8040
 
         test ! -s conftest.err
8041
 
       } && test -s conftest.$ac_objext; then
8042
 
  ac_cv_member_struct_utmpx_ut_host=yes
8043
 
else
8044
 
  echo "$as_me: failed program was:" >&5
8045
 
sed 's/^/| /' conftest.$ac_ext >&5
8046
 
 
8047
 
        cat >conftest.$ac_ext <<_ACEOF
8048
 
/* confdefs.h.  */
8049
 
_ACEOF
8050
 
cat confdefs.h >>conftest.$ac_ext
8051
 
cat >>conftest.$ac_ext <<_ACEOF
8052
 
/* end confdefs.h.  */
8053
 
 
8054
 
#include <sys/types.h>
8055
 
#include <sys/socket.h>
8056
 
#if HAVE_UTMPX_H
8057
 
#include <utmpx.h>
8058
 
#endif
8059
 
 
8060
 
 
8061
 
int
8062
 
main ()
8063
 
{
8064
 
static struct utmpx ac_aggr;
8065
 
if (sizeof ac_aggr.ut_host)
8066
 
return 0;
8067
 
  ;
8068
 
  return 0;
8069
 
}
8070
 
_ACEOF
8071
 
rm -f conftest.$ac_objext
8072
 
if { (ac_try="$ac_compile"
8073
 
case "(($ac_try" in
8074
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8075
 
  *) ac_try_echo=$ac_try;;
8076
 
esac
8077
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8078
 
  (eval "$ac_compile") 2>conftest.er1
8079
 
  ac_status=$?
8080
 
  grep -v '^ *+' conftest.er1 >conftest.err
8081
 
  rm -f conftest.er1
8082
 
  cat conftest.err >&5
8083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084
 
  (exit $ac_status); } && {
8085
 
         test -z "$ac_c_werror_flag" ||
8086
 
         test ! -s conftest.err
8087
 
       } && test -s conftest.$ac_objext; then
8088
 
  ac_cv_member_struct_utmpx_ut_host=yes
8089
 
else
8090
 
  echo "$as_me: failed program was:" >&5
8091
 
sed 's/^/| /' conftest.$ac_ext >&5
8092
 
 
8093
 
        ac_cv_member_struct_utmpx_ut_host=no
8094
 
fi
8095
 
 
8096
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8097
 
fi
8098
 
 
8099
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8100
 
fi
8101
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_host" >&5
8102
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_host" >&6; }
8103
 
if test $ac_cv_member_struct_utmpx_ut_host = yes; then
 
5614
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_host" "ac_cv_member_struct_utmpx_ut_host" "
 
5615
#include <sys/types.h>
 
5616
#include <sys/socket.h>
 
5617
#if HAVE_UTMPX_H
 
5618
#include <utmpx.h>
 
5619
#endif
 
5620
 
 
5621
"
 
5622
if test "x$ac_cv_member_struct_utmpx_ut_host" = xyes; then :
8104
5623
 
8105
5624
cat >>confdefs.h <<_ACEOF
8106
5625
#define HAVE_STRUCT_UTMPX_UT_HOST 1
8108
5627
 
8109
5628
 
8110
5629
fi
8111
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_syslen" >&5
8112
 
echo $ECHO_N "checking for struct utmpx.ut_syslen... $ECHO_C" >&6; }
8113
 
if test "${ac_cv_member_struct_utmpx_ut_syslen+set}" = set; then
8114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8115
 
else
8116
 
  cat >conftest.$ac_ext <<_ACEOF
8117
 
/* confdefs.h.  */
8118
 
_ACEOF
8119
 
cat confdefs.h >>conftest.$ac_ext
8120
 
cat >>conftest.$ac_ext <<_ACEOF
8121
 
/* end confdefs.h.  */
8122
 
 
8123
 
#include <sys/types.h>
8124
 
#include <sys/socket.h>
8125
 
#if HAVE_UTMPX_H
8126
 
#include <utmpx.h>
8127
 
#endif
8128
 
 
8129
 
 
8130
 
int
8131
 
main ()
8132
 
{
8133
 
static struct utmpx ac_aggr;
8134
 
if (ac_aggr.ut_syslen)
8135
 
return 0;
8136
 
  ;
8137
 
  return 0;
8138
 
}
8139
 
_ACEOF
8140
 
rm -f conftest.$ac_objext
8141
 
if { (ac_try="$ac_compile"
8142
 
case "(($ac_try" in
8143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8144
 
  *) ac_try_echo=$ac_try;;
8145
 
esac
8146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8147
 
  (eval "$ac_compile") 2>conftest.er1
8148
 
  ac_status=$?
8149
 
  grep -v '^ *+' conftest.er1 >conftest.err
8150
 
  rm -f conftest.er1
8151
 
  cat conftest.err >&5
8152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153
 
  (exit $ac_status); } && {
8154
 
         test -z "$ac_c_werror_flag" ||
8155
 
         test ! -s conftest.err
8156
 
       } && test -s conftest.$ac_objext; then
8157
 
  ac_cv_member_struct_utmpx_ut_syslen=yes
8158
 
else
8159
 
  echo "$as_me: failed program was:" >&5
8160
 
sed 's/^/| /' conftest.$ac_ext >&5
8161
 
 
8162
 
        cat >conftest.$ac_ext <<_ACEOF
8163
 
/* confdefs.h.  */
8164
 
_ACEOF
8165
 
cat confdefs.h >>conftest.$ac_ext
8166
 
cat >>conftest.$ac_ext <<_ACEOF
8167
 
/* end confdefs.h.  */
8168
 
 
8169
 
#include <sys/types.h>
8170
 
#include <sys/socket.h>
8171
 
#if HAVE_UTMPX_H
8172
 
#include <utmpx.h>
8173
 
#endif
8174
 
 
8175
 
 
8176
 
int
8177
 
main ()
8178
 
{
8179
 
static struct utmpx ac_aggr;
8180
 
if (sizeof ac_aggr.ut_syslen)
8181
 
return 0;
8182
 
  ;
8183
 
  return 0;
8184
 
}
8185
 
_ACEOF
8186
 
rm -f conftest.$ac_objext
8187
 
if { (ac_try="$ac_compile"
8188
 
case "(($ac_try" in
8189
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8190
 
  *) ac_try_echo=$ac_try;;
8191
 
esac
8192
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8193
 
  (eval "$ac_compile") 2>conftest.er1
8194
 
  ac_status=$?
8195
 
  grep -v '^ *+' conftest.er1 >conftest.err
8196
 
  rm -f conftest.er1
8197
 
  cat conftest.err >&5
8198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199
 
  (exit $ac_status); } && {
8200
 
         test -z "$ac_c_werror_flag" ||
8201
 
         test ! -s conftest.err
8202
 
       } && test -s conftest.$ac_objext; then
8203
 
  ac_cv_member_struct_utmpx_ut_syslen=yes
8204
 
else
8205
 
  echo "$as_me: failed program was:" >&5
8206
 
sed 's/^/| /' conftest.$ac_ext >&5
8207
 
 
8208
 
        ac_cv_member_struct_utmpx_ut_syslen=no
8209
 
fi
8210
 
 
8211
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8212
 
fi
8213
 
 
8214
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215
 
fi
8216
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_syslen" >&5
8217
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_syslen" >&6; }
8218
 
if test $ac_cv_member_struct_utmpx_ut_syslen = yes; then
 
5630
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_syslen" "ac_cv_member_struct_utmpx_ut_syslen" "
 
5631
#include <sys/types.h>
 
5632
#include <sys/socket.h>
 
5633
#if HAVE_UTMPX_H
 
5634
#include <utmpx.h>
 
5635
#endif
 
5636
 
 
5637
"
 
5638
if test "x$ac_cv_member_struct_utmpx_ut_syslen" = xyes; then :
8219
5639
 
8220
5640
cat >>confdefs.h <<_ACEOF
8221
5641
#define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
8223
5643
 
8224
5644
 
8225
5645
fi
8226
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_type" >&5
8227
 
echo $ECHO_N "checking for struct utmpx.ut_type... $ECHO_C" >&6; }
8228
 
if test "${ac_cv_member_struct_utmpx_ut_type+set}" = set; then
8229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8230
 
else
8231
 
  cat >conftest.$ac_ext <<_ACEOF
8232
 
/* confdefs.h.  */
8233
 
_ACEOF
8234
 
cat confdefs.h >>conftest.$ac_ext
8235
 
cat >>conftest.$ac_ext <<_ACEOF
8236
 
/* end confdefs.h.  */
8237
 
 
8238
 
#include <sys/types.h>
8239
 
#include <sys/socket.h>
8240
 
#if HAVE_UTMPX_H
8241
 
#include <utmpx.h>
8242
 
#endif
8243
 
 
8244
 
 
8245
 
int
8246
 
main ()
8247
 
{
8248
 
static struct utmpx ac_aggr;
8249
 
if (ac_aggr.ut_type)
8250
 
return 0;
8251
 
  ;
8252
 
  return 0;
8253
 
}
8254
 
_ACEOF
8255
 
rm -f conftest.$ac_objext
8256
 
if { (ac_try="$ac_compile"
8257
 
case "(($ac_try" in
8258
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8259
 
  *) ac_try_echo=$ac_try;;
8260
 
esac
8261
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8262
 
  (eval "$ac_compile") 2>conftest.er1
8263
 
  ac_status=$?
8264
 
  grep -v '^ *+' conftest.er1 >conftest.err
8265
 
  rm -f conftest.er1
8266
 
  cat conftest.err >&5
8267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268
 
  (exit $ac_status); } && {
8269
 
         test -z "$ac_c_werror_flag" ||
8270
 
         test ! -s conftest.err
8271
 
       } && test -s conftest.$ac_objext; then
8272
 
  ac_cv_member_struct_utmpx_ut_type=yes
8273
 
else
8274
 
  echo "$as_me: failed program was:" >&5
8275
 
sed 's/^/| /' conftest.$ac_ext >&5
8276
 
 
8277
 
        cat >conftest.$ac_ext <<_ACEOF
8278
 
/* confdefs.h.  */
8279
 
_ACEOF
8280
 
cat confdefs.h >>conftest.$ac_ext
8281
 
cat >>conftest.$ac_ext <<_ACEOF
8282
 
/* end confdefs.h.  */
8283
 
 
8284
 
#include <sys/types.h>
8285
 
#include <sys/socket.h>
8286
 
#if HAVE_UTMPX_H
8287
 
#include <utmpx.h>
8288
 
#endif
8289
 
 
8290
 
 
8291
 
int
8292
 
main ()
8293
 
{
8294
 
static struct utmpx ac_aggr;
8295
 
if (sizeof ac_aggr.ut_type)
8296
 
return 0;
8297
 
  ;
8298
 
  return 0;
8299
 
}
8300
 
_ACEOF
8301
 
rm -f conftest.$ac_objext
8302
 
if { (ac_try="$ac_compile"
8303
 
case "(($ac_try" in
8304
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305
 
  *) ac_try_echo=$ac_try;;
8306
 
esac
8307
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308
 
  (eval "$ac_compile") 2>conftest.er1
8309
 
  ac_status=$?
8310
 
  grep -v '^ *+' conftest.er1 >conftest.err
8311
 
  rm -f conftest.er1
8312
 
  cat conftest.err >&5
8313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314
 
  (exit $ac_status); } && {
8315
 
         test -z "$ac_c_werror_flag" ||
8316
 
         test ! -s conftest.err
8317
 
       } && test -s conftest.$ac_objext; then
8318
 
  ac_cv_member_struct_utmpx_ut_type=yes
8319
 
else
8320
 
  echo "$as_me: failed program was:" >&5
8321
 
sed 's/^/| /' conftest.$ac_ext >&5
8322
 
 
8323
 
        ac_cv_member_struct_utmpx_ut_type=no
8324
 
fi
8325
 
 
8326
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8327
 
fi
8328
 
 
8329
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8330
 
fi
8331
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_type" >&5
8332
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_type" >&6; }
8333
 
if test $ac_cv_member_struct_utmpx_ut_type = yes; then
 
5646
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_type" "ac_cv_member_struct_utmpx_ut_type" "
 
5647
#include <sys/types.h>
 
5648
#include <sys/socket.h>
 
5649
#if HAVE_UTMPX_H
 
5650
#include <utmpx.h>
 
5651
#endif
 
5652
 
 
5653
"
 
5654
if test "x$ac_cv_member_struct_utmpx_ut_type" = xyes; then :
8334
5655
 
8335
5656
cat >>confdefs.h <<_ACEOF
8336
5657
#define HAVE_STRUCT_UTMPX_UT_TYPE 1
8338
5659
 
8339
5660
 
8340
5661
fi
8341
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_id" >&5
8342
 
echo $ECHO_N "checking for struct utmpx.ut_id... $ECHO_C" >&6; }
8343
 
if test "${ac_cv_member_struct_utmpx_ut_id+set}" = set; then
8344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8345
 
else
8346
 
  cat >conftest.$ac_ext <<_ACEOF
8347
 
/* confdefs.h.  */
8348
 
_ACEOF
8349
 
cat confdefs.h >>conftest.$ac_ext
8350
 
cat >>conftest.$ac_ext <<_ACEOF
8351
 
/* end confdefs.h.  */
8352
 
 
8353
 
#include <sys/types.h>
8354
 
#include <sys/socket.h>
8355
 
#if HAVE_UTMPX_H
8356
 
#include <utmpx.h>
8357
 
#endif
8358
 
 
8359
 
 
8360
 
int
8361
 
main ()
8362
 
{
8363
 
static struct utmpx ac_aggr;
8364
 
if (ac_aggr.ut_id)
8365
 
return 0;
8366
 
  ;
8367
 
  return 0;
8368
 
}
8369
 
_ACEOF
8370
 
rm -f conftest.$ac_objext
8371
 
if { (ac_try="$ac_compile"
8372
 
case "(($ac_try" in
8373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8374
 
  *) ac_try_echo=$ac_try;;
8375
 
esac
8376
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377
 
  (eval "$ac_compile") 2>conftest.er1
8378
 
  ac_status=$?
8379
 
  grep -v '^ *+' conftest.er1 >conftest.err
8380
 
  rm -f conftest.er1
8381
 
  cat conftest.err >&5
8382
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383
 
  (exit $ac_status); } && {
8384
 
         test -z "$ac_c_werror_flag" ||
8385
 
         test ! -s conftest.err
8386
 
       } && test -s conftest.$ac_objext; then
8387
 
  ac_cv_member_struct_utmpx_ut_id=yes
8388
 
else
8389
 
  echo "$as_me: failed program was:" >&5
8390
 
sed 's/^/| /' conftest.$ac_ext >&5
8391
 
 
8392
 
        cat >conftest.$ac_ext <<_ACEOF
8393
 
/* confdefs.h.  */
8394
 
_ACEOF
8395
 
cat confdefs.h >>conftest.$ac_ext
8396
 
cat >>conftest.$ac_ext <<_ACEOF
8397
 
/* end confdefs.h.  */
8398
 
 
8399
 
#include <sys/types.h>
8400
 
#include <sys/socket.h>
8401
 
#if HAVE_UTMPX_H
8402
 
#include <utmpx.h>
8403
 
#endif
8404
 
 
8405
 
 
8406
 
int
8407
 
main ()
8408
 
{
8409
 
static struct utmpx ac_aggr;
8410
 
if (sizeof ac_aggr.ut_id)
8411
 
return 0;
8412
 
  ;
8413
 
  return 0;
8414
 
}
8415
 
_ACEOF
8416
 
rm -f conftest.$ac_objext
8417
 
if { (ac_try="$ac_compile"
8418
 
case "(($ac_try" in
8419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8420
 
  *) ac_try_echo=$ac_try;;
8421
 
esac
8422
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8423
 
  (eval "$ac_compile") 2>conftest.er1
8424
 
  ac_status=$?
8425
 
  grep -v '^ *+' conftest.er1 >conftest.err
8426
 
  rm -f conftest.er1
8427
 
  cat conftest.err >&5
8428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429
 
  (exit $ac_status); } && {
8430
 
         test -z "$ac_c_werror_flag" ||
8431
 
         test ! -s conftest.err
8432
 
       } && test -s conftest.$ac_objext; then
8433
 
  ac_cv_member_struct_utmpx_ut_id=yes
8434
 
else
8435
 
  echo "$as_me: failed program was:" >&5
8436
 
sed 's/^/| /' conftest.$ac_ext >&5
8437
 
 
8438
 
        ac_cv_member_struct_utmpx_ut_id=no
8439
 
fi
8440
 
 
8441
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8442
 
fi
8443
 
 
8444
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445
 
fi
8446
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_id" >&5
8447
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_id" >&6; }
8448
 
if test $ac_cv_member_struct_utmpx_ut_id = yes; then
 
5662
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_id" "ac_cv_member_struct_utmpx_ut_id" "
 
5663
#include <sys/types.h>
 
5664
#include <sys/socket.h>
 
5665
#if HAVE_UTMPX_H
 
5666
#include <utmpx.h>
 
5667
#endif
 
5668
 
 
5669
"
 
5670
if test "x$ac_cv_member_struct_utmpx_ut_id" = xyes; then :
8449
5671
 
8450
5672
cat >>confdefs.h <<_ACEOF
8451
5673
#define HAVE_STRUCT_UTMPX_UT_ID 1
8453
5675
 
8454
5676
 
8455
5677
fi
8456
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_addr" >&5
8457
 
echo $ECHO_N "checking for struct utmpx.ut_addr... $ECHO_C" >&6; }
8458
 
if test "${ac_cv_member_struct_utmpx_ut_addr+set}" = set; then
8459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8460
 
else
8461
 
  cat >conftest.$ac_ext <<_ACEOF
8462
 
/* confdefs.h.  */
8463
 
_ACEOF
8464
 
cat confdefs.h >>conftest.$ac_ext
8465
 
cat >>conftest.$ac_ext <<_ACEOF
8466
 
/* end confdefs.h.  */
8467
 
 
8468
 
#include <sys/types.h>
8469
 
#include <sys/socket.h>
8470
 
#if HAVE_UTMPX_H
8471
 
#include <utmpx.h>
8472
 
#endif
8473
 
 
8474
 
 
8475
 
int
8476
 
main ()
8477
 
{
8478
 
static struct utmpx ac_aggr;
8479
 
if (ac_aggr.ut_addr)
8480
 
return 0;
8481
 
  ;
8482
 
  return 0;
8483
 
}
8484
 
_ACEOF
8485
 
rm -f conftest.$ac_objext
8486
 
if { (ac_try="$ac_compile"
8487
 
case "(($ac_try" in
8488
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489
 
  *) ac_try_echo=$ac_try;;
8490
 
esac
8491
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492
 
  (eval "$ac_compile") 2>conftest.er1
8493
 
  ac_status=$?
8494
 
  grep -v '^ *+' conftest.er1 >conftest.err
8495
 
  rm -f conftest.er1
8496
 
  cat conftest.err >&5
8497
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498
 
  (exit $ac_status); } && {
8499
 
         test -z "$ac_c_werror_flag" ||
8500
 
         test ! -s conftest.err
8501
 
       } && test -s conftest.$ac_objext; then
8502
 
  ac_cv_member_struct_utmpx_ut_addr=yes
8503
 
else
8504
 
  echo "$as_me: failed program was:" >&5
8505
 
sed 's/^/| /' conftest.$ac_ext >&5
8506
 
 
8507
 
        cat >conftest.$ac_ext <<_ACEOF
8508
 
/* confdefs.h.  */
8509
 
_ACEOF
8510
 
cat confdefs.h >>conftest.$ac_ext
8511
 
cat >>conftest.$ac_ext <<_ACEOF
8512
 
/* end confdefs.h.  */
8513
 
 
8514
 
#include <sys/types.h>
8515
 
#include <sys/socket.h>
8516
 
#if HAVE_UTMPX_H
8517
 
#include <utmpx.h>
8518
 
#endif
8519
 
 
8520
 
 
8521
 
int
8522
 
main ()
8523
 
{
8524
 
static struct utmpx ac_aggr;
8525
 
if (sizeof ac_aggr.ut_addr)
8526
 
return 0;
8527
 
  ;
8528
 
  return 0;
8529
 
}
8530
 
_ACEOF
8531
 
rm -f conftest.$ac_objext
8532
 
if { (ac_try="$ac_compile"
8533
 
case "(($ac_try" in
8534
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535
 
  *) ac_try_echo=$ac_try;;
8536
 
esac
8537
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538
 
  (eval "$ac_compile") 2>conftest.er1
8539
 
  ac_status=$?
8540
 
  grep -v '^ *+' conftest.er1 >conftest.err
8541
 
  rm -f conftest.er1
8542
 
  cat conftest.err >&5
8543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544
 
  (exit $ac_status); } && {
8545
 
         test -z "$ac_c_werror_flag" ||
8546
 
         test ! -s conftest.err
8547
 
       } && test -s conftest.$ac_objext; then
8548
 
  ac_cv_member_struct_utmpx_ut_addr=yes
8549
 
else
8550
 
  echo "$as_me: failed program was:" >&5
8551
 
sed 's/^/| /' conftest.$ac_ext >&5
8552
 
 
8553
 
        ac_cv_member_struct_utmpx_ut_addr=no
8554
 
fi
8555
 
 
8556
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557
 
fi
8558
 
 
8559
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8560
 
fi
8561
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr" >&5
8562
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr" >&6; }
8563
 
if test $ac_cv_member_struct_utmpx_ut_addr = yes; then
 
5678
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_addr" "ac_cv_member_struct_utmpx_ut_addr" "
 
5679
#include <sys/types.h>
 
5680
#include <sys/socket.h>
 
5681
#if HAVE_UTMPX_H
 
5682
#include <utmpx.h>
 
5683
#endif
 
5684
 
 
5685
"
 
5686
if test "x$ac_cv_member_struct_utmpx_ut_addr" = xyes; then :
8564
5687
 
8565
5688
cat >>confdefs.h <<_ACEOF
8566
5689
#define HAVE_STRUCT_UTMPX_UT_ADDR 1
8568
5691
 
8569
5692
 
8570
5693
fi
8571
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_addr_v6" >&5
8572
 
echo $ECHO_N "checking for struct utmpx.ut_addr_v6... $ECHO_C" >&6; }
8573
 
if test "${ac_cv_member_struct_utmpx_ut_addr_v6+set}" = set; then
8574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8575
 
else
8576
 
  cat >conftest.$ac_ext <<_ACEOF
8577
 
/* confdefs.h.  */
8578
 
_ACEOF
8579
 
cat confdefs.h >>conftest.$ac_ext
8580
 
cat >>conftest.$ac_ext <<_ACEOF
8581
 
/* end confdefs.h.  */
8582
 
 
8583
 
#include <sys/types.h>
8584
 
#include <sys/socket.h>
8585
 
#if HAVE_UTMPX_H
8586
 
#include <utmpx.h>
8587
 
#endif
8588
 
 
8589
 
 
8590
 
int
8591
 
main ()
8592
 
{
8593
 
static struct utmpx ac_aggr;
8594
 
if (ac_aggr.ut_addr_v6)
8595
 
return 0;
8596
 
  ;
8597
 
  return 0;
8598
 
}
8599
 
_ACEOF
8600
 
rm -f conftest.$ac_objext
8601
 
if { (ac_try="$ac_compile"
8602
 
case "(($ac_try" in
8603
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8604
 
  *) ac_try_echo=$ac_try;;
8605
 
esac
8606
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8607
 
  (eval "$ac_compile") 2>conftest.er1
8608
 
  ac_status=$?
8609
 
  grep -v '^ *+' conftest.er1 >conftest.err
8610
 
  rm -f conftest.er1
8611
 
  cat conftest.err >&5
8612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613
 
  (exit $ac_status); } && {
8614
 
         test -z "$ac_c_werror_flag" ||
8615
 
         test ! -s conftest.err
8616
 
       } && test -s conftest.$ac_objext; then
8617
 
  ac_cv_member_struct_utmpx_ut_addr_v6=yes
8618
 
else
8619
 
  echo "$as_me: failed program was:" >&5
8620
 
sed 's/^/| /' conftest.$ac_ext >&5
8621
 
 
8622
 
        cat >conftest.$ac_ext <<_ACEOF
8623
 
/* confdefs.h.  */
8624
 
_ACEOF
8625
 
cat confdefs.h >>conftest.$ac_ext
8626
 
cat >>conftest.$ac_ext <<_ACEOF
8627
 
/* end confdefs.h.  */
8628
 
 
8629
 
#include <sys/types.h>
8630
 
#include <sys/socket.h>
8631
 
#if HAVE_UTMPX_H
8632
 
#include <utmpx.h>
8633
 
#endif
8634
 
 
8635
 
 
8636
 
int
8637
 
main ()
8638
 
{
8639
 
static struct utmpx ac_aggr;
8640
 
if (sizeof ac_aggr.ut_addr_v6)
8641
 
return 0;
8642
 
  ;
8643
 
  return 0;
8644
 
}
8645
 
_ACEOF
8646
 
rm -f conftest.$ac_objext
8647
 
if { (ac_try="$ac_compile"
8648
 
case "(($ac_try" in
8649
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8650
 
  *) ac_try_echo=$ac_try;;
8651
 
esac
8652
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8653
 
  (eval "$ac_compile") 2>conftest.er1
8654
 
  ac_status=$?
8655
 
  grep -v '^ *+' conftest.er1 >conftest.err
8656
 
  rm -f conftest.er1
8657
 
  cat conftest.err >&5
8658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659
 
  (exit $ac_status); } && {
8660
 
         test -z "$ac_c_werror_flag" ||
8661
 
         test ! -s conftest.err
8662
 
       } && test -s conftest.$ac_objext; then
8663
 
  ac_cv_member_struct_utmpx_ut_addr_v6=yes
8664
 
else
8665
 
  echo "$as_me: failed program was:" >&5
8666
 
sed 's/^/| /' conftest.$ac_ext >&5
8667
 
 
8668
 
        ac_cv_member_struct_utmpx_ut_addr_v6=no
8669
 
fi
8670
 
 
8671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8672
 
fi
8673
 
 
8674
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8675
 
fi
8676
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr_v6" >&5
8677
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr_v6" >&6; }
8678
 
if test $ac_cv_member_struct_utmpx_ut_addr_v6 = yes; then
 
5694
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_addr_v6" "ac_cv_member_struct_utmpx_ut_addr_v6" "
 
5695
#include <sys/types.h>
 
5696
#include <sys/socket.h>
 
5697
#if HAVE_UTMPX_H
 
5698
#include <utmpx.h>
 
5699
#endif
 
5700
 
 
5701
"
 
5702
if test "x$ac_cv_member_struct_utmpx_ut_addr_v6" = xyes; then :
8679
5703
 
8680
5704
cat >>confdefs.h <<_ACEOF
8681
5705
#define HAVE_STRUCT_UTMPX_UT_ADDR_V6 1
8683
5707
 
8684
5708
 
8685
5709
fi
8686
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_time" >&5
8687
 
echo $ECHO_N "checking for struct utmpx.ut_time... $ECHO_C" >&6; }
8688
 
if test "${ac_cv_member_struct_utmpx_ut_time+set}" = set; then
8689
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8690
 
else
8691
 
  cat >conftest.$ac_ext <<_ACEOF
8692
 
/* confdefs.h.  */
8693
 
_ACEOF
8694
 
cat confdefs.h >>conftest.$ac_ext
8695
 
cat >>conftest.$ac_ext <<_ACEOF
8696
 
/* end confdefs.h.  */
8697
 
 
8698
 
#include <sys/types.h>
8699
 
#include <sys/socket.h>
8700
 
#if HAVE_UTMPX_H
8701
 
#include <utmpx.h>
8702
 
#endif
8703
 
 
8704
 
 
8705
 
int
8706
 
main ()
8707
 
{
8708
 
static struct utmpx ac_aggr;
8709
 
if (ac_aggr.ut_time)
8710
 
return 0;
8711
 
  ;
8712
 
  return 0;
8713
 
}
8714
 
_ACEOF
8715
 
rm -f conftest.$ac_objext
8716
 
if { (ac_try="$ac_compile"
8717
 
case "(($ac_try" in
8718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8719
 
  *) ac_try_echo=$ac_try;;
8720
 
esac
8721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722
 
  (eval "$ac_compile") 2>conftest.er1
8723
 
  ac_status=$?
8724
 
  grep -v '^ *+' conftest.er1 >conftest.err
8725
 
  rm -f conftest.er1
8726
 
  cat conftest.err >&5
8727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728
 
  (exit $ac_status); } && {
8729
 
         test -z "$ac_c_werror_flag" ||
8730
 
         test ! -s conftest.err
8731
 
       } && test -s conftest.$ac_objext; then
8732
 
  ac_cv_member_struct_utmpx_ut_time=yes
8733
 
else
8734
 
  echo "$as_me: failed program was:" >&5
8735
 
sed 's/^/| /' conftest.$ac_ext >&5
8736
 
 
8737
 
        cat >conftest.$ac_ext <<_ACEOF
8738
 
/* confdefs.h.  */
8739
 
_ACEOF
8740
 
cat confdefs.h >>conftest.$ac_ext
8741
 
cat >>conftest.$ac_ext <<_ACEOF
8742
 
/* end confdefs.h.  */
8743
 
 
8744
 
#include <sys/types.h>
8745
 
#include <sys/socket.h>
8746
 
#if HAVE_UTMPX_H
8747
 
#include <utmpx.h>
8748
 
#endif
8749
 
 
8750
 
 
8751
 
int
8752
 
main ()
8753
 
{
8754
 
static struct utmpx ac_aggr;
8755
 
if (sizeof ac_aggr.ut_time)
8756
 
return 0;
8757
 
  ;
8758
 
  return 0;
8759
 
}
8760
 
_ACEOF
8761
 
rm -f conftest.$ac_objext
8762
 
if { (ac_try="$ac_compile"
8763
 
case "(($ac_try" in
8764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765
 
  *) ac_try_echo=$ac_try;;
8766
 
esac
8767
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768
 
  (eval "$ac_compile") 2>conftest.er1
8769
 
  ac_status=$?
8770
 
  grep -v '^ *+' conftest.er1 >conftest.err
8771
 
  rm -f conftest.er1
8772
 
  cat conftest.err >&5
8773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774
 
  (exit $ac_status); } && {
8775
 
         test -z "$ac_c_werror_flag" ||
8776
 
         test ! -s conftest.err
8777
 
       } && test -s conftest.$ac_objext; then
8778
 
  ac_cv_member_struct_utmpx_ut_time=yes
8779
 
else
8780
 
  echo "$as_me: failed program was:" >&5
8781
 
sed 's/^/| /' conftest.$ac_ext >&5
8782
 
 
8783
 
        ac_cv_member_struct_utmpx_ut_time=no
8784
 
fi
8785
 
 
8786
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8787
 
fi
8788
 
 
8789
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8790
 
fi
8791
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_time" >&5
8792
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_time" >&6; }
8793
 
if test $ac_cv_member_struct_utmpx_ut_time = yes; then
 
5710
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_time" "ac_cv_member_struct_utmpx_ut_time" "
 
5711
#include <sys/types.h>
 
5712
#include <sys/socket.h>
 
5713
#if HAVE_UTMPX_H
 
5714
#include <utmpx.h>
 
5715
#endif
 
5716
 
 
5717
"
 
5718
if test "x$ac_cv_member_struct_utmpx_ut_time" = xyes; then :
8794
5719
 
8795
5720
cat >>confdefs.h <<_ACEOF
8796
5721
#define HAVE_STRUCT_UTMPX_UT_TIME 1
8798
5723
 
8799
5724
 
8800
5725
fi
8801
 
{ echo "$as_me:$LINENO: checking for struct utmpx.ut_tv" >&5
8802
 
echo $ECHO_N "checking for struct utmpx.ut_tv... $ECHO_C" >&6; }
8803
 
if test "${ac_cv_member_struct_utmpx_ut_tv+set}" = set; then
8804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8805
 
else
8806
 
  cat >conftest.$ac_ext <<_ACEOF
8807
 
/* confdefs.h.  */
8808
 
_ACEOF
8809
 
cat confdefs.h >>conftest.$ac_ext
8810
 
cat >>conftest.$ac_ext <<_ACEOF
8811
 
/* end confdefs.h.  */
8812
 
 
8813
 
#include <sys/types.h>
8814
 
#include <sys/socket.h>
8815
 
#if HAVE_UTMPX_H
8816
 
#include <utmpx.h>
8817
 
#endif
8818
 
 
8819
 
 
8820
 
int
8821
 
main ()
8822
 
{
8823
 
static struct utmpx ac_aggr;
8824
 
if (ac_aggr.ut_tv)
8825
 
return 0;
8826
 
  ;
8827
 
  return 0;
8828
 
}
8829
 
_ACEOF
8830
 
rm -f conftest.$ac_objext
8831
 
if { (ac_try="$ac_compile"
8832
 
case "(($ac_try" in
8833
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8834
 
  *) ac_try_echo=$ac_try;;
8835
 
esac
8836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8837
 
  (eval "$ac_compile") 2>conftest.er1
8838
 
  ac_status=$?
8839
 
  grep -v '^ *+' conftest.er1 >conftest.err
8840
 
  rm -f conftest.er1
8841
 
  cat conftest.err >&5
8842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843
 
  (exit $ac_status); } && {
8844
 
         test -z "$ac_c_werror_flag" ||
8845
 
         test ! -s conftest.err
8846
 
       } && test -s conftest.$ac_objext; then
8847
 
  ac_cv_member_struct_utmpx_ut_tv=yes
8848
 
else
8849
 
  echo "$as_me: failed program was:" >&5
8850
 
sed 's/^/| /' conftest.$ac_ext >&5
8851
 
 
8852
 
        cat >conftest.$ac_ext <<_ACEOF
8853
 
/* confdefs.h.  */
8854
 
_ACEOF
8855
 
cat confdefs.h >>conftest.$ac_ext
8856
 
cat >>conftest.$ac_ext <<_ACEOF
8857
 
/* end confdefs.h.  */
8858
 
 
8859
 
#include <sys/types.h>
8860
 
#include <sys/socket.h>
8861
 
#if HAVE_UTMPX_H
8862
 
#include <utmpx.h>
8863
 
#endif
8864
 
 
8865
 
 
8866
 
int
8867
 
main ()
8868
 
{
8869
 
static struct utmpx ac_aggr;
8870
 
if (sizeof ac_aggr.ut_tv)
8871
 
return 0;
8872
 
  ;
8873
 
  return 0;
8874
 
}
8875
 
_ACEOF
8876
 
rm -f conftest.$ac_objext
8877
 
if { (ac_try="$ac_compile"
8878
 
case "(($ac_try" in
8879
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8880
 
  *) ac_try_echo=$ac_try;;
8881
 
esac
8882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8883
 
  (eval "$ac_compile") 2>conftest.er1
8884
 
  ac_status=$?
8885
 
  grep -v '^ *+' conftest.er1 >conftest.err
8886
 
  rm -f conftest.er1
8887
 
  cat conftest.err >&5
8888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889
 
  (exit $ac_status); } && {
8890
 
         test -z "$ac_c_werror_flag" ||
8891
 
         test ! -s conftest.err
8892
 
       } && test -s conftest.$ac_objext; then
8893
 
  ac_cv_member_struct_utmpx_ut_tv=yes
8894
 
else
8895
 
  echo "$as_me: failed program was:" >&5
8896
 
sed 's/^/| /' conftest.$ac_ext >&5
8897
 
 
8898
 
        ac_cv_member_struct_utmpx_ut_tv=no
8899
 
fi
8900
 
 
8901
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8902
 
fi
8903
 
 
8904
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8905
 
fi
8906
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_tv" >&5
8907
 
echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_tv" >&6; }
8908
 
if test $ac_cv_member_struct_utmpx_ut_tv = yes; then
 
5726
ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_tv" "ac_cv_member_struct_utmpx_ut_tv" "
 
5727
#include <sys/types.h>
 
5728
#include <sys/socket.h>
 
5729
#if HAVE_UTMPX_H
 
5730
#include <utmpx.h>
 
5731
#endif
 
5732
 
 
5733
"
 
5734
if test "x$ac_cv_member_struct_utmpx_ut_tv" = xyes; then :
8909
5735
 
8910
5736
cat >>confdefs.h <<_ACEOF
8911
5737
#define HAVE_STRUCT_UTMPX_UT_TV 1
8915
5741
fi
8916
5742
 
8917
5743
 
8918
 
{ echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
8919
 
echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6; }
8920
 
if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
8921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8922
 
else
8923
 
  cat >conftest.$ac_ext <<_ACEOF
8924
 
/* confdefs.h.  */
8925
 
_ACEOF
8926
 
cat confdefs.h >>conftest.$ac_ext
8927
 
cat >>conftest.$ac_ext <<_ACEOF
8928
 
/* end confdefs.h.  */
8929
 
 
8930
 
#include <sys/types.h>
8931
 
#include <sys/socket.h>
8932
 
 
8933
 
 
8934
 
int
8935
 
main ()
8936
 
{
8937
 
static struct sockaddr_storage ac_aggr;
8938
 
if (ac_aggr.ss_family)
8939
 
return 0;
8940
 
  ;
8941
 
  return 0;
8942
 
}
8943
 
_ACEOF
8944
 
rm -f conftest.$ac_objext
8945
 
if { (ac_try="$ac_compile"
8946
 
case "(($ac_try" in
8947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8948
 
  *) ac_try_echo=$ac_try;;
8949
 
esac
8950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8951
 
  (eval "$ac_compile") 2>conftest.er1
8952
 
  ac_status=$?
8953
 
  grep -v '^ *+' conftest.er1 >conftest.err
8954
 
  rm -f conftest.er1
8955
 
  cat conftest.err >&5
8956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957
 
  (exit $ac_status); } && {
8958
 
         test -z "$ac_c_werror_flag" ||
8959
 
         test ! -s conftest.err
8960
 
       } && test -s conftest.$ac_objext; then
8961
 
  ac_cv_member_struct_sockaddr_storage_ss_family=yes
8962
 
else
8963
 
  echo "$as_me: failed program was:" >&5
8964
 
sed 's/^/| /' conftest.$ac_ext >&5
8965
 
 
8966
 
        cat >conftest.$ac_ext <<_ACEOF
8967
 
/* confdefs.h.  */
8968
 
_ACEOF
8969
 
cat confdefs.h >>conftest.$ac_ext
8970
 
cat >>conftest.$ac_ext <<_ACEOF
8971
 
/* end confdefs.h.  */
8972
 
 
8973
 
#include <sys/types.h>
8974
 
#include <sys/socket.h>
8975
 
 
8976
 
 
8977
 
int
8978
 
main ()
8979
 
{
8980
 
static struct sockaddr_storage ac_aggr;
8981
 
if (sizeof ac_aggr.ss_family)
8982
 
return 0;
8983
 
  ;
8984
 
  return 0;
8985
 
}
8986
 
_ACEOF
8987
 
rm -f conftest.$ac_objext
8988
 
if { (ac_try="$ac_compile"
8989
 
case "(($ac_try" in
8990
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8991
 
  *) ac_try_echo=$ac_try;;
8992
 
esac
8993
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8994
 
  (eval "$ac_compile") 2>conftest.er1
8995
 
  ac_status=$?
8996
 
  grep -v '^ *+' conftest.er1 >conftest.err
8997
 
  rm -f conftest.er1
8998
 
  cat conftest.err >&5
8999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000
 
  (exit $ac_status); } && {
9001
 
         test -z "$ac_c_werror_flag" ||
9002
 
         test ! -s conftest.err
9003
 
       } && test -s conftest.$ac_objext; then
9004
 
  ac_cv_member_struct_sockaddr_storage_ss_family=yes
9005
 
else
9006
 
  echo "$as_me: failed program was:" >&5
9007
 
sed 's/^/| /' conftest.$ac_ext >&5
9008
 
 
9009
 
        ac_cv_member_struct_sockaddr_storage_ss_family=no
9010
 
fi
9011
 
 
9012
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9013
 
fi
9014
 
 
9015
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9016
 
fi
9017
 
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
9018
 
echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6; }
9019
 
if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
 
5744
ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "
 
5745
#include <sys/types.h>
 
5746
#include <sys/socket.h>
 
5747
 
 
5748
"
 
5749
if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
9020
5750
 
9021
5751
cat >>confdefs.h <<_ACEOF
9022
5752
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
9026
5756
fi
9027
5757
 
9028
5758
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
5759
for ac_func in endutent getutent getutid getutline pututline setutent
9036
 
do
9037
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9038
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9039
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9040
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9041
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9042
 
else
9043
 
  cat >conftest.$ac_ext <<_ACEOF
9044
 
/* confdefs.h.  */
9045
 
_ACEOF
9046
 
cat confdefs.h >>conftest.$ac_ext
9047
 
cat >>conftest.$ac_ext <<_ACEOF
9048
 
/* end confdefs.h.  */
9049
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9050
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9051
 
#define $ac_func innocuous_$ac_func
9052
 
 
9053
 
/* System header to define __stub macros and hopefully few prototypes,
9054
 
    which can conflict with char $ac_func (); below.
9055
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9056
 
    <limits.h> exists even on freestanding compilers.  */
9057
 
 
9058
 
#ifdef __STDC__
9059
 
# include <limits.h>
9060
 
#else
9061
 
# include <assert.h>
9062
 
#endif
9063
 
 
9064
 
#undef $ac_func
9065
 
 
9066
 
/* Override any GCC internal prototype to avoid an error.
9067
 
   Use char because int might match the return type of a GCC
9068
 
   builtin and then its argument prototype would still apply.  */
9069
 
#ifdef __cplusplus
9070
 
extern "C"
9071
 
#endif
9072
 
char $ac_func ();
9073
 
/* The GNU C library defines this for functions which it implements
9074
 
    to always fail with ENOSYS.  Some functions are actually named
9075
 
    something starting with __ and the normal name is an alias.  */
9076
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9077
 
choke me
9078
 
#endif
9079
 
 
9080
 
int
9081
 
main ()
9082
 
{
9083
 
return $ac_func ();
9084
 
  ;
9085
 
  return 0;
9086
 
}
9087
 
_ACEOF
9088
 
rm -f conftest.$ac_objext conftest$ac_exeext
9089
 
if { (ac_try="$ac_link"
9090
 
case "(($ac_try" in
9091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9092
 
  *) ac_try_echo=$ac_try;;
9093
 
esac
9094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9095
 
  (eval "$ac_link") 2>conftest.er1
9096
 
  ac_status=$?
9097
 
  grep -v '^ *+' conftest.er1 >conftest.err
9098
 
  rm -f conftest.er1
9099
 
  cat conftest.err >&5
9100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101
 
  (exit $ac_status); } && {
9102
 
         test -z "$ac_c_werror_flag" ||
9103
 
         test ! -s conftest.err
9104
 
       } && test -s conftest$ac_exeext &&
9105
 
       $as_test_x conftest$ac_exeext; then
9106
 
  eval "$as_ac_var=yes"
9107
 
else
9108
 
  echo "$as_me: failed program was:" >&5
9109
 
sed 's/^/| /' conftest.$ac_ext >&5
9110
 
 
9111
 
        eval "$as_ac_var=no"
9112
 
fi
9113
 
 
9114
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9115
 
      conftest$ac_exeext conftest.$ac_ext
9116
 
fi
9117
 
ac_res=`eval echo '${'$as_ac_var'}'`
9118
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9119
 
echo "${ECHO_T}$ac_res" >&6; }
9120
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5760
do :
 
5761
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5762
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
5763
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9121
5764
  cat >>confdefs.h <<_ACEOF
9122
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5765
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9123
5766
_ACEOF
9124
5767
 
9125
5768
fi
9126
5769
done
9127
5770
 
9128
 
 
9129
5771
for ac_func in utmpname
9130
 
do
9131
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9132
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9133
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9134
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9136
 
else
9137
 
  cat >conftest.$ac_ext <<_ACEOF
9138
 
/* confdefs.h.  */
9139
 
_ACEOF
9140
 
cat confdefs.h >>conftest.$ac_ext
9141
 
cat >>conftest.$ac_ext <<_ACEOF
9142
 
/* end confdefs.h.  */
9143
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9144
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9145
 
#define $ac_func innocuous_$ac_func
9146
 
 
9147
 
/* System header to define __stub macros and hopefully few prototypes,
9148
 
    which can conflict with char $ac_func (); below.
9149
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9150
 
    <limits.h> exists even on freestanding compilers.  */
9151
 
 
9152
 
#ifdef __STDC__
9153
 
# include <limits.h>
9154
 
#else
9155
 
# include <assert.h>
9156
 
#endif
9157
 
 
9158
 
#undef $ac_func
9159
 
 
9160
 
/* Override any GCC internal prototype to avoid an error.
9161
 
   Use char because int might match the return type of a GCC
9162
 
   builtin and then its argument prototype would still apply.  */
9163
 
#ifdef __cplusplus
9164
 
extern "C"
9165
 
#endif
9166
 
char $ac_func ();
9167
 
/* The GNU C library defines this for functions which it implements
9168
 
    to always fail with ENOSYS.  Some functions are actually named
9169
 
    something starting with __ and the normal name is an alias.  */
9170
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9171
 
choke me
9172
 
#endif
9173
 
 
9174
 
int
9175
 
main ()
9176
 
{
9177
 
return $ac_func ();
9178
 
  ;
9179
 
  return 0;
9180
 
}
9181
 
_ACEOF
9182
 
rm -f conftest.$ac_objext conftest$ac_exeext
9183
 
if { (ac_try="$ac_link"
9184
 
case "(($ac_try" in
9185
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9186
 
  *) ac_try_echo=$ac_try;;
9187
 
esac
9188
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9189
 
  (eval "$ac_link") 2>conftest.er1
9190
 
  ac_status=$?
9191
 
  grep -v '^ *+' conftest.er1 >conftest.err
9192
 
  rm -f conftest.er1
9193
 
  cat conftest.err >&5
9194
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195
 
  (exit $ac_status); } && {
9196
 
         test -z "$ac_c_werror_flag" ||
9197
 
         test ! -s conftest.err
9198
 
       } && test -s conftest$ac_exeext &&
9199
 
       $as_test_x conftest$ac_exeext; then
9200
 
  eval "$as_ac_var=yes"
9201
 
else
9202
 
  echo "$as_me: failed program was:" >&5
9203
 
sed 's/^/| /' conftest.$ac_ext >&5
9204
 
 
9205
 
        eval "$as_ac_var=no"
9206
 
fi
9207
 
 
9208
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9209
 
      conftest$ac_exeext conftest.$ac_ext
9210
 
fi
9211
 
ac_res=`eval echo '${'$as_ac_var'}'`
9212
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9213
 
echo "${ECHO_T}$ac_res" >&6; }
9214
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5772
do :
 
5773
  ac_fn_c_check_func "$LINENO" "utmpname" "ac_cv_func_utmpname"
 
5774
if test "x$ac_cv_func_utmpname" = xyes; then :
9215
5775
  cat >>confdefs.h <<_ACEOF
9216
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5776
#define HAVE_UTMPNAME 1
9217
5777
_ACEOF
9218
5778
 
9219
5779
fi
9220
5780
done
9221
5781
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
5782
for ac_func in endutxent getutxent getutxid getutxline pututxline
9228
 
do
9229
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9230
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9231
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9232
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9234
 
else
9235
 
  cat >conftest.$ac_ext <<_ACEOF
9236
 
/* confdefs.h.  */
9237
 
_ACEOF
9238
 
cat confdefs.h >>conftest.$ac_ext
9239
 
cat >>conftest.$ac_ext <<_ACEOF
9240
 
/* end confdefs.h.  */
9241
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9242
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9243
 
#define $ac_func innocuous_$ac_func
9244
 
 
9245
 
/* System header to define __stub macros and hopefully few prototypes,
9246
 
    which can conflict with char $ac_func (); below.
9247
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9248
 
    <limits.h> exists even on freestanding compilers.  */
9249
 
 
9250
 
#ifdef __STDC__
9251
 
# include <limits.h>
9252
 
#else
9253
 
# include <assert.h>
9254
 
#endif
9255
 
 
9256
 
#undef $ac_func
9257
 
 
9258
 
/* Override any GCC internal prototype to avoid an error.
9259
 
   Use char because int might match the return type of a GCC
9260
 
   builtin and then its argument prototype would still apply.  */
9261
 
#ifdef __cplusplus
9262
 
extern "C"
9263
 
#endif
9264
 
char $ac_func ();
9265
 
/* The GNU C library defines this for functions which it implements
9266
 
    to always fail with ENOSYS.  Some functions are actually named
9267
 
    something starting with __ and the normal name is an alias.  */
9268
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9269
 
choke me
9270
 
#endif
9271
 
 
9272
 
int
9273
 
main ()
9274
 
{
9275
 
return $ac_func ();
9276
 
  ;
9277
 
  return 0;
9278
 
}
9279
 
_ACEOF
9280
 
rm -f conftest.$ac_objext conftest$ac_exeext
9281
 
if { (ac_try="$ac_link"
9282
 
case "(($ac_try" in
9283
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9284
 
  *) ac_try_echo=$ac_try;;
9285
 
esac
9286
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9287
 
  (eval "$ac_link") 2>conftest.er1
9288
 
  ac_status=$?
9289
 
  grep -v '^ *+' conftest.er1 >conftest.err
9290
 
  rm -f conftest.er1
9291
 
  cat conftest.err >&5
9292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293
 
  (exit $ac_status); } && {
9294
 
         test -z "$ac_c_werror_flag" ||
9295
 
         test ! -s conftest.err
9296
 
       } && test -s conftest$ac_exeext &&
9297
 
       $as_test_x conftest$ac_exeext; then
9298
 
  eval "$as_ac_var=yes"
9299
 
else
9300
 
  echo "$as_me: failed program was:" >&5
9301
 
sed 's/^/| /' conftest.$ac_ext >&5
9302
 
 
9303
 
        eval "$as_ac_var=no"
9304
 
fi
9305
 
 
9306
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9307
 
      conftest$ac_exeext conftest.$ac_ext
9308
 
fi
9309
 
ac_res=`eval echo '${'$as_ac_var'}'`
9310
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9311
 
echo "${ECHO_T}$ac_res" >&6; }
9312
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5783
do :
 
5784
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5785
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
5786
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9313
5787
  cat >>confdefs.h <<_ACEOF
9314
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5788
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9315
5789
_ACEOF
9316
5790
 
9317
5791
fi
9318
5792
done
9319
5793
 
9320
 
 
9321
 
 
9322
5794
for ac_func in setutxent utmpxname
9323
 
do
9324
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9325
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9326
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9327
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9328
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9329
 
else
9330
 
  cat >conftest.$ac_ext <<_ACEOF
9331
 
/* confdefs.h.  */
9332
 
_ACEOF
9333
 
cat confdefs.h >>conftest.$ac_ext
9334
 
cat >>conftest.$ac_ext <<_ACEOF
9335
 
/* end confdefs.h.  */
9336
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9337
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9338
 
#define $ac_func innocuous_$ac_func
9339
 
 
9340
 
/* System header to define __stub macros and hopefully few prototypes,
9341
 
    which can conflict with char $ac_func (); below.
9342
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9343
 
    <limits.h> exists even on freestanding compilers.  */
9344
 
 
9345
 
#ifdef __STDC__
9346
 
# include <limits.h>
9347
 
#else
9348
 
# include <assert.h>
9349
 
#endif
9350
 
 
9351
 
#undef $ac_func
9352
 
 
9353
 
/* Override any GCC internal prototype to avoid an error.
9354
 
   Use char because int might match the return type of a GCC
9355
 
   builtin and then its argument prototype would still apply.  */
9356
 
#ifdef __cplusplus
9357
 
extern "C"
9358
 
#endif
9359
 
char $ac_func ();
9360
 
/* The GNU C library defines this for functions which it implements
9361
 
    to always fail with ENOSYS.  Some functions are actually named
9362
 
    something starting with __ and the normal name is an alias.  */
9363
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9364
 
choke me
9365
 
#endif
9366
 
 
9367
 
int
9368
 
main ()
9369
 
{
9370
 
return $ac_func ();
9371
 
  ;
9372
 
  return 0;
9373
 
}
9374
 
_ACEOF
9375
 
rm -f conftest.$ac_objext conftest$ac_exeext
9376
 
if { (ac_try="$ac_link"
9377
 
case "(($ac_try" in
9378
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9379
 
  *) ac_try_echo=$ac_try;;
9380
 
esac
9381
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382
 
  (eval "$ac_link") 2>conftest.er1
9383
 
  ac_status=$?
9384
 
  grep -v '^ *+' conftest.er1 >conftest.err
9385
 
  rm -f conftest.er1
9386
 
  cat conftest.err >&5
9387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388
 
  (exit $ac_status); } && {
9389
 
         test -z "$ac_c_werror_flag" ||
9390
 
         test ! -s conftest.err
9391
 
       } && test -s conftest$ac_exeext &&
9392
 
       $as_test_x conftest$ac_exeext; then
9393
 
  eval "$as_ac_var=yes"
9394
 
else
9395
 
  echo "$as_me: failed program was:" >&5
9396
 
sed 's/^/| /' conftest.$ac_ext >&5
9397
 
 
9398
 
        eval "$as_ac_var=no"
9399
 
fi
9400
 
 
9401
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9402
 
      conftest$ac_exeext conftest.$ac_ext
9403
 
fi
9404
 
ac_res=`eval echo '${'$as_ac_var'}'`
9405
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9406
 
echo "${ECHO_T}$ac_res" >&6; }
9407
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5795
do :
 
5796
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5797
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
5798
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9408
5799
  cat >>confdefs.h <<_ACEOF
9409
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5800
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9410
5801
_ACEOF
9411
5802
 
9412
5803
fi
9413
5804
done
9414
5805
 
9415
 
 
9416
 
 
9417
 
 
9418
5806
for ac_func in logout updwtmp logwtmp
9419
 
do
9420
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9421
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9422
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9423
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9424
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9425
 
else
9426
 
  cat >conftest.$ac_ext <<_ACEOF
9427
 
/* confdefs.h.  */
9428
 
_ACEOF
9429
 
cat confdefs.h >>conftest.$ac_ext
9430
 
cat >>conftest.$ac_ext <<_ACEOF
9431
 
/* end confdefs.h.  */
9432
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9433
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9434
 
#define $ac_func innocuous_$ac_func
9435
 
 
9436
 
/* System header to define __stub macros and hopefully few prototypes,
9437
 
    which can conflict with char $ac_func (); below.
9438
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9439
 
    <limits.h> exists even on freestanding compilers.  */
9440
 
 
9441
 
#ifdef __STDC__
9442
 
# include <limits.h>
9443
 
#else
9444
 
# include <assert.h>
9445
 
#endif
9446
 
 
9447
 
#undef $ac_func
9448
 
 
9449
 
/* Override any GCC internal prototype to avoid an error.
9450
 
   Use char because int might match the return type of a GCC
9451
 
   builtin and then its argument prototype would still apply.  */
9452
 
#ifdef __cplusplus
9453
 
extern "C"
9454
 
#endif
9455
 
char $ac_func ();
9456
 
/* The GNU C library defines this for functions which it implements
9457
 
    to always fail with ENOSYS.  Some functions are actually named
9458
 
    something starting with __ and the normal name is an alias.  */
9459
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9460
 
choke me
9461
 
#endif
9462
 
 
9463
 
int
9464
 
main ()
9465
 
{
9466
 
return $ac_func ();
9467
 
  ;
9468
 
  return 0;
9469
 
}
9470
 
_ACEOF
9471
 
rm -f conftest.$ac_objext conftest$ac_exeext
9472
 
if { (ac_try="$ac_link"
9473
 
case "(($ac_try" in
9474
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475
 
  *) ac_try_echo=$ac_try;;
9476
 
esac
9477
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478
 
  (eval "$ac_link") 2>conftest.er1
9479
 
  ac_status=$?
9480
 
  grep -v '^ *+' conftest.er1 >conftest.err
9481
 
  rm -f conftest.er1
9482
 
  cat conftest.err >&5
9483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484
 
  (exit $ac_status); } && {
9485
 
         test -z "$ac_c_werror_flag" ||
9486
 
         test ! -s conftest.err
9487
 
       } && test -s conftest$ac_exeext &&
9488
 
       $as_test_x conftest$ac_exeext; then
9489
 
  eval "$as_ac_var=yes"
9490
 
else
9491
 
  echo "$as_me: failed program was:" >&5
9492
 
sed 's/^/| /' conftest.$ac_ext >&5
9493
 
 
9494
 
        eval "$as_ac_var=no"
9495
 
fi
9496
 
 
9497
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9498
 
      conftest$ac_exeext conftest.$ac_ext
9499
 
fi
9500
 
ac_res=`eval echo '${'$as_ac_var'}'`
9501
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9502
 
echo "${ECHO_T}$ac_res" >&6; }
9503
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5807
do :
 
5808
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
5809
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
5810
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9504
5811
  cat >>confdefs.h <<_ACEOF
9505
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5812
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9506
5813
_ACEOF
9507
5814
 
9508
5815
fi
9510
5817
 
9511
5818
 
9512
5819
# Check whether --enable-bundled-libtom was given.
9513
 
if test "${enable_bundled_libtom+set}" = set; then
 
5820
if test "${enable_bundled_libtom+set}" = set; then :
9514
5821
  enableval=$enable_bundled_libtom;
9515
 
                BUNDLED_LIBTOM=1
9516
 
                { echo "$as_me:$LINENO: Forcing bundled libtom*" >&5
9517
 
echo "$as_me: Forcing bundled libtom*" >&6;}
 
5822
                if test "x$enableval" = "xyes"; then
 
5823
                        BUNDLED_LIBTOM=1
 
5824
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Forcing bundled libtom*" >&5
 
5825
$as_echo "$as_me: Forcing bundled libtom*" >&6;}
 
5826
                else
 
5827
                        BUNDLED_LIBTOM=0
 
5828
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
 
5829
$as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
 
5830
if ${ac_cv_lib_tomcrypt_register_cipher+:} false; then :
 
5831
  $as_echo_n "(cached) " >&6
 
5832
else
 
5833
  ac_check_lib_save_LIBS=$LIBS
 
5834
LIBS="-ltomcrypt  $LIBS"
 
5835
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5836
/* end confdefs.h.  */
 
5837
 
 
5838
/* Override any GCC internal prototype to avoid an error.
 
5839
   Use char because int might match the return type of a GCC
 
5840
   builtin and then its argument prototype would still apply.  */
 
5841
#ifdef __cplusplus
 
5842
extern "C"
 
5843
#endif
 
5844
char register_cipher ();
 
5845
int
 
5846
main ()
 
5847
{
 
5848
return register_cipher ();
 
5849
  ;
 
5850
  return 0;
 
5851
}
 
5852
_ACEOF
 
5853
if ac_fn_c_try_link "$LINENO"; then :
 
5854
  ac_cv_lib_tomcrypt_register_cipher=yes
 
5855
else
 
5856
  ac_cv_lib_tomcrypt_register_cipher=no
 
5857
fi
 
5858
rm -f core conftest.err conftest.$ac_objext \
 
5859
    conftest$ac_exeext conftest.$ac_ext
 
5860
LIBS=$ac_check_lib_save_LIBS
 
5861
fi
 
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
 
5863
$as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
 
5864
if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes; then :
 
5865
  cat >>confdefs.h <<_ACEOF
 
5866
#define HAVE_LIBTOMCRYPT 1
 
5867
_ACEOF
 
5868
 
 
5869
  LIBS="-ltomcrypt $LIBS"
 
5870
 
 
5871
else
 
5872
  as_fn_error $? "Missing system libtomcrypt and --disable-bundled-libtom was specified" "$LINENO" 5
 
5873
fi
 
5874
 
 
5875
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_exptmod in -ltommath" >&5
 
5876
$as_echo_n "checking for mp_exptmod in -ltommath... " >&6; }
 
5877
if ${ac_cv_lib_tommath_mp_exptmod+:} false; then :
 
5878
  $as_echo_n "(cached) " >&6
 
5879
else
 
5880
  ac_check_lib_save_LIBS=$LIBS
 
5881
LIBS="-ltommath  $LIBS"
 
5882
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5883
/* end confdefs.h.  */
 
5884
 
 
5885
/* Override any GCC internal prototype to avoid an error.
 
5886
   Use char because int might match the return type of a GCC
 
5887
   builtin and then its argument prototype would still apply.  */
 
5888
#ifdef __cplusplus
 
5889
extern "C"
 
5890
#endif
 
5891
char mp_exptmod ();
 
5892
int
 
5893
main ()
 
5894
{
 
5895
return mp_exptmod ();
 
5896
  ;
 
5897
  return 0;
 
5898
}
 
5899
_ACEOF
 
5900
if ac_fn_c_try_link "$LINENO"; then :
 
5901
  ac_cv_lib_tommath_mp_exptmod=yes
 
5902
else
 
5903
  ac_cv_lib_tommath_mp_exptmod=no
 
5904
fi
 
5905
rm -f core conftest.err conftest.$ac_objext \
 
5906
    conftest$ac_exeext conftest.$ac_ext
 
5907
LIBS=$ac_check_lib_save_LIBS
 
5908
fi
 
5909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tommath_mp_exptmod" >&5
 
5910
$as_echo "$ac_cv_lib_tommath_mp_exptmod" >&6; }
 
5911
if test "x$ac_cv_lib_tommath_mp_exptmod" = xyes; then :
 
5912
  cat >>confdefs.h <<_ACEOF
 
5913
#define HAVE_LIBTOMMATH 1
 
5914
_ACEOF
 
5915
 
 
5916
  LIBS="-ltommath $LIBS"
 
5917
 
 
5918
else
 
5919
  as_fn_error $? "Missing system libtomcrypt and --disable-bundled-libtom was specified" "$LINENO" 5
 
5920
fi
 
5921
 
 
5922
                fi
9518
5923
 
9519
5924
else
9520
5925
 
9521
5926
                BUNDLED_LIBTOM=0
9522
 
 
9523
 
{ echo "$as_me:$LINENO: checking for register_cipher in -ltomcrypt" >&5
9524
 
echo $ECHO_N "checking for register_cipher in -ltomcrypt... $ECHO_C" >&6; }
9525
 
if test "${ac_cv_lib_tomcrypt_register_cipher+set}" = set; then
9526
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5927
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for register_cipher in -ltomcrypt" >&5
 
5928
$as_echo_n "checking for register_cipher in -ltomcrypt... " >&6; }
 
5929
if ${ac_cv_lib_tomcrypt_register_cipher+:} false; then :
 
5930
  $as_echo_n "(cached) " >&6
9527
5931
else
9528
5932
  ac_check_lib_save_LIBS=$LIBS
9529
5933
LIBS="-ltomcrypt  $LIBS"
9530
 
cat >conftest.$ac_ext <<_ACEOF
9531
 
/* confdefs.h.  */
9532
 
_ACEOF
9533
 
cat confdefs.h >>conftest.$ac_ext
9534
 
cat >>conftest.$ac_ext <<_ACEOF
 
5934
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535
5935
/* end confdefs.h.  */
9536
5936
 
9537
5937
/* Override any GCC internal prototype to avoid an error.
9549
5949
  return 0;
9550
5950
}
9551
5951
_ACEOF
9552
 
rm -f conftest.$ac_objext conftest$ac_exeext
9553
 
if { (ac_try="$ac_link"
9554
 
case "(($ac_try" in
9555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9556
 
  *) ac_try_echo=$ac_try;;
9557
 
esac
9558
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9559
 
  (eval "$ac_link") 2>conftest.er1
9560
 
  ac_status=$?
9561
 
  grep -v '^ *+' conftest.er1 >conftest.err
9562
 
  rm -f conftest.er1
9563
 
  cat conftest.err >&5
9564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565
 
  (exit $ac_status); } && {
9566
 
         test -z "$ac_c_werror_flag" ||
9567
 
         test ! -s conftest.err
9568
 
       } && test -s conftest$ac_exeext &&
9569
 
       $as_test_x conftest$ac_exeext; then
 
5952
if ac_fn_c_try_link "$LINENO"; then :
9570
5953
  ac_cv_lib_tomcrypt_register_cipher=yes
9571
5954
else
9572
 
  echo "$as_me: failed program was:" >&5
9573
 
sed 's/^/| /' conftest.$ac_ext >&5
9574
 
 
9575
 
        ac_cv_lib_tomcrypt_register_cipher=no
 
5955
  ac_cv_lib_tomcrypt_register_cipher=no
9576
5956
fi
9577
 
 
9578
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9579
 
      conftest$ac_exeext conftest.$ac_ext
 
5957
rm -f core conftest.err conftest.$ac_objext \
 
5958
    conftest$ac_exeext conftest.$ac_ext
9580
5959
LIBS=$ac_check_lib_save_LIBS
9581
5960
fi
9582
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
9583
 
echo "${ECHO_T}$ac_cv_lib_tomcrypt_register_cipher" >&6; }
9584
 
if test $ac_cv_lib_tomcrypt_register_cipher = yes; then
 
5961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
 
5962
$as_echo "$ac_cv_lib_tomcrypt_register_cipher" >&6; }
 
5963
if test "x$ac_cv_lib_tomcrypt_register_cipher" = xyes; then :
9585
5964
  cat >>confdefs.h <<_ACEOF
9586
5965
#define HAVE_LIBTOMCRYPT 1
9587
5966
_ACEOF
9592
5971
  BUNDLED_LIBTOM=1
9593
5972
fi
9594
5973
 
9595
 
 
9596
 
{ echo "$as_me:$LINENO: checking for mp_exptmod in -ltommath" >&5
9597
 
echo $ECHO_N "checking for mp_exptmod in -ltommath... $ECHO_C" >&6; }
9598
 
if test "${ac_cv_lib_tommath_mp_exptmod+set}" = set; then
9599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5974
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_exptmod in -ltommath" >&5
 
5975
$as_echo_n "checking for mp_exptmod in -ltommath... " >&6; }
 
5976
if ${ac_cv_lib_tommath_mp_exptmod+:} false; then :
 
5977
  $as_echo_n "(cached) " >&6
9600
5978
else
9601
5979
  ac_check_lib_save_LIBS=$LIBS
9602
5980
LIBS="-ltommath  $LIBS"
9603
 
cat >conftest.$ac_ext <<_ACEOF
9604
 
/* confdefs.h.  */
9605
 
_ACEOF
9606
 
cat confdefs.h >>conftest.$ac_ext
9607
 
cat >>conftest.$ac_ext <<_ACEOF
 
5981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9608
5982
/* end confdefs.h.  */
9609
5983
 
9610
5984
/* Override any GCC internal prototype to avoid an error.
9622
5996
  return 0;
9623
5997
}
9624
5998
_ACEOF
9625
 
rm -f conftest.$ac_objext conftest$ac_exeext
9626
 
if { (ac_try="$ac_link"
9627
 
case "(($ac_try" in
9628
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9629
 
  *) ac_try_echo=$ac_try;;
9630
 
esac
9631
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632
 
  (eval "$ac_link") 2>conftest.er1
9633
 
  ac_status=$?
9634
 
  grep -v '^ *+' conftest.er1 >conftest.err
9635
 
  rm -f conftest.er1
9636
 
  cat conftest.err >&5
9637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638
 
  (exit $ac_status); } && {
9639
 
         test -z "$ac_c_werror_flag" ||
9640
 
         test ! -s conftest.err
9641
 
       } && test -s conftest$ac_exeext &&
9642
 
       $as_test_x conftest$ac_exeext; then
 
5999
if ac_fn_c_try_link "$LINENO"; then :
9643
6000
  ac_cv_lib_tommath_mp_exptmod=yes
9644
6001
else
9645
 
  echo "$as_me: failed program was:" >&5
9646
 
sed 's/^/| /' conftest.$ac_ext >&5
9647
 
 
9648
 
        ac_cv_lib_tommath_mp_exptmod=no
 
6002
  ac_cv_lib_tommath_mp_exptmod=no
9649
6003
fi
9650
 
 
9651
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9652
 
      conftest$ac_exeext conftest.$ac_ext
 
6004
rm -f core conftest.err conftest.$ac_objext \
 
6005
    conftest$ac_exeext conftest.$ac_ext
9653
6006
LIBS=$ac_check_lib_save_LIBS
9654
6007
fi
9655
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_tommath_mp_exptmod" >&5
9656
 
echo "${ECHO_T}$ac_cv_lib_tommath_mp_exptmod" >&6; }
9657
 
if test $ac_cv_lib_tommath_mp_exptmod = yes; then
 
6008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tommath_mp_exptmod" >&5
 
6009
$as_echo "$ac_cv_lib_tommath_mp_exptmod" >&6; }
 
6010
if test "x$ac_cv_lib_tommath_mp_exptmod" = xyes; then :
9658
6011
  cat >>confdefs.h <<_ACEOF
9659
6012
#define HAVE_LIBTOMMATH 1
9660
6013
_ACEOF
9672
6025
 
9673
6026
if test $BUNDLED_LIBTOM = 1 ; then
9674
6027
 
9675
 
cat >>confdefs.h <<\_ACEOF
9676
 
#define BUNDLED_LIBTOM
9677
 
_ACEOF
 
6028
$as_echo "#define BUNDLED_LIBTOM /**/" >>confdefs.h
9678
6029
 
9679
6030
fi
9680
6031
 
9682
6033
 
9683
6034
 
9684
6035
# Check whether --enable-lastlog was given.
9685
 
if test "${enable_lastlog+set}" = set; then
 
6036
if test "${enable_lastlog+set}" = set; then :
9686
6037
  enableval=$enable_lastlog;
9687
 
cat >>confdefs.h <<\_ACEOF
9688
 
#define DISABLE_LASTLOG
9689
 
_ACEOF
 
6038
$as_echo "#define DISABLE_LASTLOG /**/" >>confdefs.h
9690
6039
 
9691
6040
 
9692
6041
fi
9693
6042
 
9694
6043
# Check whether --enable-utmp was given.
9695
 
if test "${enable_utmp+set}" = set; then
 
6044
if test "${enable_utmp+set}" = set; then :
9696
6045
  enableval=$enable_utmp;
9697
 
cat >>confdefs.h <<\_ACEOF
9698
 
#define DISABLE_UTMP
9699
 
_ACEOF
 
6046
$as_echo "#define DISABLE_UTMP /**/" >>confdefs.h
9700
6047
 
9701
6048
 
9702
6049
fi
9703
6050
 
9704
6051
# Check whether --enable-utmpx was given.
9705
 
if test "${enable_utmpx+set}" = set; then
 
6052
if test "${enable_utmpx+set}" = set; then :
9706
6053
  enableval=$enable_utmpx;
9707
 
cat >>confdefs.h <<\_ACEOF
9708
 
#define DISABLE_UTMPX
9709
 
_ACEOF
 
6054
$as_echo "#define DISABLE_UTMPX /**/" >>confdefs.h
9710
6055
 
9711
6056
 
9712
6057
fi
9713
6058
 
9714
6059
# Check whether --enable-wtmp was given.
9715
 
if test "${enable_wtmp+set}" = set; then
 
6060
if test "${enable_wtmp+set}" = set; then :
9716
6061
  enableval=$enable_wtmp;
9717
 
cat >>confdefs.h <<\_ACEOF
9718
 
#define DISABLE_WTMP
9719
 
_ACEOF
 
6062
$as_echo "#define DISABLE_WTMP /**/" >>confdefs.h
9720
6063
 
9721
6064
 
9722
6065
fi
9723
6066
 
9724
6067
# Check whether --enable-wtmpx was given.
9725
 
if test "${enable_wtmpx+set}" = set; then
 
6068
if test "${enable_wtmpx+set}" = set; then :
9726
6069
  enableval=$enable_wtmpx;
9727
 
cat >>confdefs.h <<\_ACEOF
9728
 
#define DISABLE_WTMPX
9729
 
_ACEOF
 
6070
$as_echo "#define DISABLE_WTMPX /**/" >>confdefs.h
9730
6071
 
9731
6072
 
9732
6073
fi
9733
6074
 
9734
6075
# Check whether --enable-loginfunc was given.
9735
 
if test "${enable_loginfunc+set}" = set; then
 
6076
if test "${enable_loginfunc+set}" = set; then :
9736
6077
  enableval=$enable_loginfunc;  no_loginfunc_check=1
9737
 
        { echo "$as_me:$LINENO: Not using login() etc" >&5
9738
 
echo "$as_me: Not using login() etc" >&6;}
 
6078
        { $as_echo "$as_me:${as_lineno-$LINENO}: Not using login() etc" >&5
 
6079
$as_echo "$as_me: Not using login() etc" >&6;}
9739
6080
 
9740
6081
fi
9741
6082
 
9742
6083
# Check whether --enable-pututline was given.
9743
 
if test "${enable_pututline+set}" = set; then
 
6084
if test "${enable_pututline+set}" = set; then :
9744
6085
  enableval=$enable_pututline;
9745
 
cat >>confdefs.h <<\_ACEOF
9746
 
#define DISABLE_PUTUTLINE
9747
 
_ACEOF
 
6086
$as_echo "#define DISABLE_PUTUTLINE /**/" >>confdefs.h
9748
6087
 
9749
6088
 
9750
6089
fi
9751
6090
 
9752
6091
# Check whether --enable-pututxline was given.
9753
 
if test "${enable_pututxline+set}" = set; then
 
6092
if test "${enable_pututxline+set}" = set; then :
9754
6093
  enableval=$enable_pututxline;
9755
 
cat >>confdefs.h <<\_ACEOF
9756
 
#define DISABLE_PUTUTXLINE
9757
 
_ACEOF
 
6094
$as_echo "#define DISABLE_PUTUTXLINE /**/" >>confdefs.h
9758
6095
 
9759
6096
 
9760
6097
fi
9761
6098
 
9762
6099
 
9763
6100
# Check whether --with-lastlog was given.
9764
 
if test "${with_lastlog+set}" = set; then
 
6101
if test "${with_lastlog+set}" = set; then :
9765
6102
  withval=$with_lastlog;
9766
6103
                if test "x$withval" = "xno" ; then
9767
 
                        cat >>confdefs.h <<\_ACEOF
9768
 
#define DISABLE_LASTLOG 1
9769
 
_ACEOF
 
6104
                        $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h
9770
6105
 
9771
6106
                else
9772
6107
                        conf_lastlog_location=$withval
9777
6112
 
9778
6113
 
9779
6114
if test -z "$no_loginfunc_check"; then
9780
 
                { echo "$as_me:$LINENO: checking for library containing login" >&5
9781
 
echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; }
9782
 
if test "${ac_cv_search_login+set}" = set; then
9783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6115
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing login" >&5
 
6116
$as_echo_n "checking for library containing login... " >&6; }
 
6117
if ${ac_cv_search_login+:} false; then :
 
6118
  $as_echo_n "(cached) " >&6
9784
6119
else
9785
6120
  ac_func_search_save_LIBS=$LIBS
9786
 
cat >conftest.$ac_ext <<_ACEOF
9787
 
/* confdefs.h.  */
9788
 
_ACEOF
9789
 
cat confdefs.h >>conftest.$ac_ext
9790
 
cat >>conftest.$ac_ext <<_ACEOF
 
6121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791
6122
/* end confdefs.h.  */
9792
6123
 
9793
6124
/* Override any GCC internal prototype to avoid an error.
9812
6143
    ac_res=-l$ac_lib
9813
6144
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
9814
6145
  fi
9815
 
  rm -f conftest.$ac_objext conftest$ac_exeext
9816
 
if { (ac_try="$ac_link"
9817
 
case "(($ac_try" in
9818
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9819
 
  *) ac_try_echo=$ac_try;;
9820
 
esac
9821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9822
 
  (eval "$ac_link") 2>conftest.er1
9823
 
  ac_status=$?
9824
 
  grep -v '^ *+' conftest.er1 >conftest.err
9825
 
  rm -f conftest.er1
9826
 
  cat conftest.err >&5
9827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828
 
  (exit $ac_status); } && {
9829
 
         test -z "$ac_c_werror_flag" ||
9830
 
         test ! -s conftest.err
9831
 
       } && test -s conftest$ac_exeext &&
9832
 
       $as_test_x conftest$ac_exeext; then
 
6146
  if ac_fn_c_try_link "$LINENO"; then :
9833
6147
  ac_cv_search_login=$ac_res
9834
 
else
9835
 
  echo "$as_me: failed program was:" >&5
9836
 
sed 's/^/| /' conftest.$ac_ext >&5
9837
 
 
9838
 
 
9839
6148
fi
9840
 
 
9841
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9842
 
      conftest$ac_exeext
9843
 
  if test "${ac_cv_search_login+set}" = set; then
 
6149
rm -f core conftest.err conftest.$ac_objext \
 
6150
    conftest$ac_exeext
 
6151
  if ${ac_cv_search_login+:} false; then :
9844
6152
  break
9845
6153
fi
9846
6154
done
9847
 
if test "${ac_cv_search_login+set}" = set; then
9848
 
  :
 
6155
if ${ac_cv_search_login+:} false; then :
 
6156
 
9849
6157
else
9850
6158
  ac_cv_search_login=no
9851
6159
fi
9852
6160
rm conftest.$ac_ext
9853
6161
LIBS=$ac_func_search_save_LIBS
9854
6162
fi
9855
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9856
 
echo "${ECHO_T}$ac_cv_search_login" >&6; }
 
6163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login" >&5
 
6164
$as_echo "$ac_cv_search_login" >&6; }
9857
6165
ac_res=$ac_cv_search_login
9858
 
if test "$ac_res" != no; then
 
6166
if test "$ac_res" != no; then :
9859
6167
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9860
6168
 
9861
 
cat >>confdefs.h <<\_ACEOF
9862
 
#define HAVE_LOGIN
9863
 
_ACEOF
9864
 
 
9865
 
fi
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
for ac_func in logout updwtmp logwtmp
9871
 
do
9872
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9873
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9874
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9875
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9877
 
else
9878
 
  cat >conftest.$ac_ext <<_ACEOF
9879
 
/* confdefs.h.  */
9880
 
_ACEOF
9881
 
cat confdefs.h >>conftest.$ac_ext
9882
 
cat >>conftest.$ac_ext <<_ACEOF
9883
 
/* end confdefs.h.  */
9884
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9885
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9886
 
#define $ac_func innocuous_$ac_func
9887
 
 
9888
 
/* System header to define __stub macros and hopefully few prototypes,
9889
 
    which can conflict with char $ac_func (); below.
9890
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9891
 
    <limits.h> exists even on freestanding compilers.  */
9892
 
 
9893
 
#ifdef __STDC__
9894
 
# include <limits.h>
9895
 
#else
9896
 
# include <assert.h>
9897
 
#endif
9898
 
 
9899
 
#undef $ac_func
9900
 
 
9901
 
/* Override any GCC internal prototype to avoid an error.
9902
 
   Use char because int might match the return type of a GCC
9903
 
   builtin and then its argument prototype would still apply.  */
9904
 
#ifdef __cplusplus
9905
 
extern "C"
9906
 
#endif
9907
 
char $ac_func ();
9908
 
/* The GNU C library defines this for functions which it implements
9909
 
    to always fail with ENOSYS.  Some functions are actually named
9910
 
    something starting with __ and the normal name is an alias.  */
9911
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9912
 
choke me
9913
 
#endif
9914
 
 
9915
 
int
9916
 
main ()
9917
 
{
9918
 
return $ac_func ();
9919
 
  ;
9920
 
  return 0;
9921
 
}
9922
 
_ACEOF
9923
 
rm -f conftest.$ac_objext conftest$ac_exeext
9924
 
if { (ac_try="$ac_link"
9925
 
case "(($ac_try" in
9926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9927
 
  *) ac_try_echo=$ac_try;;
9928
 
esac
9929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930
 
  (eval "$ac_link") 2>conftest.er1
9931
 
  ac_status=$?
9932
 
  grep -v '^ *+' conftest.er1 >conftest.err
9933
 
  rm -f conftest.er1
9934
 
  cat conftest.err >&5
9935
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936
 
  (exit $ac_status); } && {
9937
 
         test -z "$ac_c_werror_flag" ||
9938
 
         test ! -s conftest.err
9939
 
       } && test -s conftest$ac_exeext &&
9940
 
       $as_test_x conftest$ac_exeext; then
9941
 
  eval "$as_ac_var=yes"
9942
 
else
9943
 
  echo "$as_me: failed program was:" >&5
9944
 
sed 's/^/| /' conftest.$ac_ext >&5
9945
 
 
9946
 
        eval "$as_ac_var=no"
9947
 
fi
9948
 
 
9949
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9950
 
      conftest$ac_exeext conftest.$ac_ext
9951
 
fi
9952
 
ac_res=`eval echo '${'$as_ac_var'}'`
9953
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
9954
 
echo "${ECHO_T}$ac_res" >&6; }
9955
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6169
$as_echo "#define HAVE_LOGIN /**/" >>confdefs.h
 
6170
 
 
6171
fi
 
6172
 
 
6173
        for ac_func in logout updwtmp logwtmp
 
6174
do :
 
6175
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6176
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
6177
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9956
6178
  cat >>confdefs.h <<_ACEOF
9957
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6179
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9958
6180
_ACEOF
9959
6181
 
9960
6182
fi
9963
6185
fi
9964
6186
 
9965
6187
 
9966
 
{ echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
9967
 
echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; }
9968
 
cat >conftest.$ac_ext <<_ACEOF
9969
 
/* confdefs.h.  */
9970
 
_ACEOF
9971
 
cat confdefs.h >>conftest.$ac_ext
9972
 
cat >>conftest.$ac_ext <<_ACEOF
 
6188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines LASTLOG_FILE" >&5
 
6189
$as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; }
 
6190
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973
6191
/* end confdefs.h.  */
9974
6192
 
9975
6193
#include <sys/types.h>
9992
6210
  return 0;
9993
6211
}
9994
6212
_ACEOF
9995
 
rm -f conftest.$ac_objext
9996
 
if { (ac_try="$ac_compile"
9997
 
case "(($ac_try" in
9998
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999
 
  *) ac_try_echo=$ac_try;;
10000
 
esac
10001
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002
 
  (eval "$ac_compile") 2>conftest.er1
10003
 
  ac_status=$?
10004
 
  grep -v '^ *+' conftest.er1 >conftest.err
10005
 
  rm -f conftest.er1
10006
 
  cat conftest.err >&5
10007
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008
 
  (exit $ac_status); } && {
10009
 
         test -z "$ac_c_werror_flag" ||
10010
 
         test ! -s conftest.err
10011
 
       } && test -s conftest.$ac_objext; then
10012
 
   { echo "$as_me:$LINENO: result: yes" >&5
10013
 
echo "${ECHO_T}yes" >&6; }
 
6213
if ac_fn_c_try_compile "$LINENO"; then :
 
6214
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6215
$as_echo "yes" >&6; }
10014
6216
else
10015
 
  echo "$as_me: failed program was:" >&5
10016
 
sed 's/^/| /' conftest.$ac_ext >&5
10017
 
 
10018
 
 
10019
 
                { echo "$as_me:$LINENO: result: no" >&5
10020
 
echo "${ECHO_T}no" >&6; }
10021
 
                { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
10022
 
echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; }
10023
 
                cat >conftest.$ac_ext <<_ACEOF
10024
 
/* confdefs.h.  */
10025
 
_ACEOF
10026
 
cat confdefs.h >>conftest.$ac_ext
10027
 
cat >>conftest.$ac_ext <<_ACEOF
 
6217
 
 
6218
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6219
$as_echo "no" >&6; }
 
6220
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines _PATH_LASTLOG" >&5
 
6221
$as_echo_n "checking if your system defines _PATH_LASTLOG... " >&6; }
 
6222
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028
6223
/* end confdefs.h.  */
10029
6224
 
10030
6225
#include <sys/types.h>
10044
6239
  return 0;
10045
6240
}
10046
6241
_ACEOF
10047
 
rm -f conftest.$ac_objext
10048
 
if { (ac_try="$ac_compile"
10049
 
case "(($ac_try" in
10050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10051
 
  *) ac_try_echo=$ac_try;;
10052
 
esac
10053
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10054
 
  (eval "$ac_compile") 2>conftest.er1
10055
 
  ac_status=$?
10056
 
  grep -v '^ *+' conftest.er1 >conftest.err
10057
 
  rm -f conftest.er1
10058
 
  cat conftest.err >&5
10059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060
 
  (exit $ac_status); } && {
10061
 
         test -z "$ac_c_werror_flag" ||
10062
 
         test ! -s conftest.err
10063
 
       } && test -s conftest.$ac_objext; then
10064
 
   { echo "$as_me:$LINENO: result: yes" >&5
10065
 
echo "${ECHO_T}yes" >&6; }
 
6242
if ac_fn_c_try_compile "$LINENO"; then :
 
6243
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6244
$as_echo "yes" >&6; }
10066
6245
else
10067
 
  echo "$as_me: failed program was:" >&5
10068
 
sed 's/^/| /' conftest.$ac_ext >&5
10069
 
 
10070
 
 
10071
 
                        { echo "$as_me:$LINENO: result: no" >&5
10072
 
echo "${ECHO_T}no" >&6; }
 
6246
 
 
6247
                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6248
$as_echo "no" >&6; }
10073
6249
                        system_lastlog_path=no
10074
6250
 
10075
6251
fi
10076
 
 
10077
6252
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10078
6253
 
10079
6254
 
10080
6255
fi
10081
 
 
10082
6256
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10083
6257
 
10084
6258
if test -z "$conf_lastlog_location"; then
10089
6263
                                fi
10090
6264
                done
10091
6265
                if test -z "$conf_lastlog_location"; then
10092
 
                        { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
10093
 
echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
 
6266
                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Cannot find lastlog **" >&5
 
6267
$as_echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
10094
6268
                                        fi
10095
6269
        fi
10096
6270
fi
10103
6277
 
10104
6278
fi
10105
6279
 
10106
 
{ echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
10107
 
echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; }
10108
 
cat >conftest.$ac_ext <<_ACEOF
10109
 
/* confdefs.h.  */
10110
 
_ACEOF
10111
 
cat confdefs.h >>conftest.$ac_ext
10112
 
cat >>conftest.$ac_ext <<_ACEOF
 
6280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines UTMP_FILE" >&5
 
6281
$as_echo_n "checking if your system defines UTMP_FILE... " >&6; }
 
6282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113
6283
/* end confdefs.h.  */
10114
6284
 
10115
6285
#include <sys/types.h>
10126
6296
  return 0;
10127
6297
}
10128
6298
_ACEOF
10129
 
rm -f conftest.$ac_objext
10130
 
if { (ac_try="$ac_compile"
10131
 
case "(($ac_try" in
10132
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10133
 
  *) ac_try_echo=$ac_try;;
10134
 
esac
10135
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136
 
  (eval "$ac_compile") 2>conftest.er1
10137
 
  ac_status=$?
10138
 
  grep -v '^ *+' conftest.er1 >conftest.err
10139
 
  rm -f conftest.er1
10140
 
  cat conftest.err >&5
10141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142
 
  (exit $ac_status); } && {
10143
 
         test -z "$ac_c_werror_flag" ||
10144
 
         test ! -s conftest.err
10145
 
       } && test -s conftest.$ac_objext; then
10146
 
   { echo "$as_me:$LINENO: result: yes" >&5
10147
 
echo "${ECHO_T}yes" >&6; }
 
6299
if ac_fn_c_try_compile "$LINENO"; then :
 
6300
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6301
$as_echo "yes" >&6; }
10148
6302
else
10149
 
  echo "$as_me: failed program was:" >&5
10150
 
sed 's/^/| /' conftest.$ac_ext >&5
10151
 
 
10152
 
         { echo "$as_me:$LINENO: result: no" >&5
10153
 
echo "${ECHO_T}no" >&6; }
 
6303
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6304
$as_echo "no" >&6; }
10154
6305
          system_utmp_path=no
10155
6306
 
10156
6307
fi
10157
 
 
10158
6308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10159
6309
if test -z "$conf_utmp_location"; then
10160
6310
        if test x"$system_utmp_path" = x"no" ; then
10164
6314
                        fi
10165
6315
                done
10166
6316
                if test -z "$conf_utmp_location"; then
10167
 
                        cat >>confdefs.h <<\_ACEOF
10168
 
#define DISABLE_UTMP 1
10169
 
_ACEOF
 
6317
                        $as_echo "#define DISABLE_UTMP 1" >>confdefs.h
10170
6318
 
10171
6319
                fi
10172
6320
        fi
10179
6327
 
10180
6328
fi
10181
6329
 
10182
 
{ echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
10183
 
echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; }
10184
 
cat >conftest.$ac_ext <<_ACEOF
10185
 
/* confdefs.h.  */
10186
 
_ACEOF
10187
 
cat confdefs.h >>conftest.$ac_ext
10188
 
cat >>conftest.$ac_ext <<_ACEOF
 
6330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMP_FILE" >&5
 
6331
$as_echo_n "checking if your system defines WTMP_FILE... " >&6; }
 
6332
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189
6333
/* end confdefs.h.  */
10190
6334
 
10191
6335
#include <sys/types.h>
10202
6346
  return 0;
10203
6347
}
10204
6348
_ACEOF
10205
 
rm -f conftest.$ac_objext
10206
 
if { (ac_try="$ac_compile"
10207
 
case "(($ac_try" in
10208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10209
 
  *) ac_try_echo=$ac_try;;
10210
 
esac
10211
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10212
 
  (eval "$ac_compile") 2>conftest.er1
10213
 
  ac_status=$?
10214
 
  grep -v '^ *+' conftest.er1 >conftest.err
10215
 
  rm -f conftest.er1
10216
 
  cat conftest.err >&5
10217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218
 
  (exit $ac_status); } && {
10219
 
         test -z "$ac_c_werror_flag" ||
10220
 
         test ! -s conftest.err
10221
 
       } && test -s conftest.$ac_objext; then
10222
 
   { echo "$as_me:$LINENO: result: yes" >&5
10223
 
echo "${ECHO_T}yes" >&6; }
 
6349
if ac_fn_c_try_compile "$LINENO"; then :
 
6350
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6351
$as_echo "yes" >&6; }
10224
6352
else
10225
 
  echo "$as_me: failed program was:" >&5
10226
 
sed 's/^/| /' conftest.$ac_ext >&5
10227
 
 
10228
 
         { echo "$as_me:$LINENO: result: no" >&5
10229
 
echo "${ECHO_T}no" >&6; }
 
6353
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6354
$as_echo "no" >&6; }
10230
6355
          system_wtmp_path=no
10231
6356
 
10232
6357
fi
10233
 
 
10234
6358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10235
6359
if test -z "$conf_wtmp_location"; then
10236
6360
        if test x"$system_wtmp_path" = x"no" ; then
10240
6364
                        fi
10241
6365
                done
10242
6366
                if test -z "$conf_wtmp_location"; then
10243
 
                        cat >>confdefs.h <<\_ACEOF
10244
 
#define DISABLE_WTMP 1
10245
 
_ACEOF
 
6367
                        $as_echo "#define DISABLE_WTMP 1" >>confdefs.h
10246
6368
 
10247
6369
                fi
10248
6370
        fi
10256
6378
fi
10257
6379
 
10258
6380
 
10259
 
{ echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
10260
 
echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; }
10261
 
cat >conftest.$ac_ext <<_ACEOF
10262
 
/* confdefs.h.  */
10263
 
_ACEOF
10264
 
cat confdefs.h >>conftest.$ac_ext
10265
 
cat >>conftest.$ac_ext <<_ACEOF
 
6381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines UTMPX_FILE" >&5
 
6382
$as_echo_n "checking if your system defines UTMPX_FILE... " >&6; }
 
6383
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266
6384
/* end confdefs.h.  */
10267
6385
 
10268
6386
#include <sys/types.h>
10282
6400
  return 0;
10283
6401
}
10284
6402
_ACEOF
10285
 
rm -f conftest.$ac_objext
10286
 
if { (ac_try="$ac_compile"
10287
 
case "(($ac_try" in
10288
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289
 
  *) ac_try_echo=$ac_try;;
10290
 
esac
10291
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10292
 
  (eval "$ac_compile") 2>conftest.er1
10293
 
  ac_status=$?
10294
 
  grep -v '^ *+' conftest.er1 >conftest.err
10295
 
  rm -f conftest.er1
10296
 
  cat conftest.err >&5
10297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298
 
  (exit $ac_status); } && {
10299
 
         test -z "$ac_c_werror_flag" ||
10300
 
         test ! -s conftest.err
10301
 
       } && test -s conftest.$ac_objext; then
10302
 
   { echo "$as_me:$LINENO: result: yes" >&5
10303
 
echo "${ECHO_T}yes" >&6; }
 
6403
if ac_fn_c_try_compile "$LINENO"; then :
 
6404
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6405
$as_echo "yes" >&6; }
10304
6406
else
10305
 
  echo "$as_me: failed program was:" >&5
10306
 
sed 's/^/| /' conftest.$ac_ext >&5
10307
 
 
10308
 
         { echo "$as_me:$LINENO: result: no" >&5
10309
 
echo "${ECHO_T}no" >&6; }
 
6407
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6408
$as_echo "no" >&6; }
10310
6409
          system_utmpx_path=no
10311
6410
 
10312
6411
fi
10313
 
 
10314
6412
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10315
6413
if test -z "$conf_utmpx_location"; then
10316
6414
        if test x"$system_utmpx_path" = x"no" ; then
10317
 
                cat >>confdefs.h <<\_ACEOF
10318
 
#define DISABLE_UTMPX 1
10319
 
_ACEOF
 
6415
                $as_echo "#define DISABLE_UTMPX 1" >>confdefs.h
10320
6416
 
10321
6417
        fi
10322
6418
else
10327
6423
 
10328
6424
fi
10329
6425
 
10330
 
{ echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
10331
 
echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; }
10332
 
cat >conftest.$ac_ext <<_ACEOF
10333
 
/* confdefs.h.  */
10334
 
_ACEOF
10335
 
cat confdefs.h >>conftest.$ac_ext
10336
 
cat >>conftest.$ac_ext <<_ACEOF
 
6426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMPX_FILE" >&5
 
6427
$as_echo_n "checking if your system defines WTMPX_FILE... " >&6; }
 
6428
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337
6429
/* end confdefs.h.  */
10338
6430
 
10339
6431
#include <sys/types.h>
10353
6445
  return 0;
10354
6446
}
10355
6447
_ACEOF
10356
 
rm -f conftest.$ac_objext
10357
 
if { (ac_try="$ac_compile"
10358
 
case "(($ac_try" in
10359
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10360
 
  *) ac_try_echo=$ac_try;;
10361
 
esac
10362
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10363
 
  (eval "$ac_compile") 2>conftest.er1
10364
 
  ac_status=$?
10365
 
  grep -v '^ *+' conftest.er1 >conftest.err
10366
 
  rm -f conftest.er1
10367
 
  cat conftest.err >&5
10368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369
 
  (exit $ac_status); } && {
10370
 
         test -z "$ac_c_werror_flag" ||
10371
 
         test ! -s conftest.err
10372
 
       } && test -s conftest.$ac_objext; then
10373
 
   { echo "$as_me:$LINENO: result: yes" >&5
10374
 
echo "${ECHO_T}yes" >&6; }
 
6448
if ac_fn_c_try_compile "$LINENO"; then :
 
6449
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6450
$as_echo "yes" >&6; }
10375
6451
else
10376
 
  echo "$as_me: failed program was:" >&5
10377
 
sed 's/^/| /' conftest.$ac_ext >&5
10378
 
 
10379
 
         { echo "$as_me:$LINENO: result: no" >&5
10380
 
echo "${ECHO_T}no" >&6; }
 
6452
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6453
$as_echo "no" >&6; }
10381
6454
          system_wtmpx_path=no
10382
6455
 
10383
6456
fi
10384
 
 
10385
6457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10386
6458
if test -z "$conf_wtmpx_location"; then
10387
6459
        if test x"$system_wtmpx_path" = x"no" ; then
10388
 
                cat >>confdefs.h <<\_ACEOF
10389
 
#define DISABLE_WTMPX 1
10390
 
_ACEOF
 
6460
                $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h
10391
6461
 
10392
6462
        fi
10393
6463
else
10400
6470
 
10401
6471
# Checks for library functions.
10402
6472
if test $ac_cv_c_compiler_gnu = yes; then
10403
 
    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10404
 
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
10405
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10406
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6473
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
 
6474
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
 
6475
if ${ac_cv_prog_gcc_traditional+:} false; then :
 
6476
  $as_echo_n "(cached) " >&6
10407
6477
else
10408
6478
    ac_pattern="Autoconf.*'x'"
10409
 
  cat >conftest.$ac_ext <<_ACEOF
10410
 
/* confdefs.h.  */
10411
 
_ACEOF
10412
 
cat confdefs.h >>conftest.$ac_ext
10413
 
cat >>conftest.$ac_ext <<_ACEOF
 
6479
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414
6480
/* end confdefs.h.  */
10415
6481
#include <sgtty.h>
10416
6482
Autoconf TIOCGETP
10417
6483
_ACEOF
10418
6484
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10419
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
6485
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
10420
6486
  ac_cv_prog_gcc_traditional=yes
10421
6487
else
10422
6488
  ac_cv_prog_gcc_traditional=no
10423
6489
fi
10424
 
rm -f -r conftest*
 
6490
rm -f conftest*
10425
6491
 
10426
6492
 
10427
6493
  if test $ac_cv_prog_gcc_traditional = no; then
10428
 
    cat >conftest.$ac_ext <<_ACEOF
10429
 
/* confdefs.h.  */
10430
 
_ACEOF
10431
 
cat confdefs.h >>conftest.$ac_ext
10432
 
cat >>conftest.$ac_ext <<_ACEOF
 
6494
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433
6495
/* end confdefs.h.  */
10434
6496
#include <termio.h>
10435
6497
Autoconf TCGETA
10436
6498
_ACEOF
10437
6499
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10438
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
 
6500
  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
10439
6501
  ac_cv_prog_gcc_traditional=yes
10440
6502
fi
10441
 
rm -f -r conftest*
 
6503
rm -f conftest*
10442
6504
 
10443
6505
  fi
10444
6506
fi
10445
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10446
 
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
 
6507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
 
6508
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10447
6509
  if test $ac_cv_prog_gcc_traditional = yes; then
10448
6510
    CC="$CC -traditional"
10449
6511
  fi
10450
6512
fi
10451
6513
 
10452
 
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
10453
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
10454
 
if test "${ac_cv_func_memcmp_working+set}" = set; then
10455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
 
6515
$as_echo_n "checking for working memcmp... " >&6; }
 
6516
if ${ac_cv_func_memcmp_working+:} false; then :
 
6517
  $as_echo_n "(cached) " >&6
10456
6518
else
10457
 
  if test "$cross_compiling" = yes; then
 
6519
  if test "$cross_compiling" = yes; then :
10458
6520
  ac_cv_func_memcmp_working=no
10459
6521
else
10460
 
  cat >conftest.$ac_ext <<_ACEOF
10461
 
/* confdefs.h.  */
10462
 
_ACEOF
10463
 
cat confdefs.h >>conftest.$ac_ext
10464
 
cat >>conftest.$ac_ext <<_ACEOF
 
6522
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465
6523
/* end confdefs.h.  */
10466
6524
$ac_includes_default
10467
6525
int
10496
6554
  return 0;
10497
6555
}
10498
6556
_ACEOF
10499
 
rm -f conftest$ac_exeext
10500
 
if { (ac_try="$ac_link"
10501
 
case "(($ac_try" in
10502
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10503
 
  *) ac_try_echo=$ac_try;;
10504
 
esac
10505
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506
 
  (eval "$ac_link") 2>&5
10507
 
  ac_status=$?
10508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10510
 
  { (case "(($ac_try" in
10511
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10512
 
  *) ac_try_echo=$ac_try;;
10513
 
esac
10514
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10515
 
  (eval "$ac_try") 2>&5
10516
 
  ac_status=$?
10517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518
 
  (exit $ac_status); }; }; then
 
6557
if ac_fn_c_try_run "$LINENO"; then :
10519
6558
  ac_cv_func_memcmp_working=yes
10520
6559
else
10521
 
  echo "$as_me: program exited with status $ac_status" >&5
10522
 
echo "$as_me: failed program was:" >&5
10523
 
sed 's/^/| /' conftest.$ac_ext >&5
10524
 
 
10525
 
( exit $ac_status )
10526
 
ac_cv_func_memcmp_working=no
10527
 
fi
10528
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10529
 
fi
10530
 
 
10531
 
 
10532
 
fi
10533
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10534
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
 
6560
  ac_cv_func_memcmp_working=no
 
6561
fi
 
6562
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6563
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6564
fi
 
6565
 
 
6566
fi
 
6567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
 
6568
$as_echo "$ac_cv_func_memcmp_working" >&6; }
10535
6569
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
10536
6570
  *" memcmp.$ac_objext "* ) ;;
10537
6571
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
10539
6573
esac
10540
6574
 
10541
6575
 
10542
 
 
10543
 
 
10544
6576
for ac_header in sys/select.h sys/socket.h
10545
 
do
10546
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10547
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10548
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
10549
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10550
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10552
 
fi
10553
 
ac_res=`eval echo '${'$as_ac_Header'}'`
10554
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
10555
 
echo "${ECHO_T}$ac_res" >&6; }
10556
 
else
10557
 
  # Is the header compilable?
10558
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10559
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10560
 
cat >conftest.$ac_ext <<_ACEOF
10561
 
/* confdefs.h.  */
10562
 
_ACEOF
10563
 
cat confdefs.h >>conftest.$ac_ext
10564
 
cat >>conftest.$ac_ext <<_ACEOF
10565
 
/* end confdefs.h.  */
10566
 
$ac_includes_default
10567
 
#include <$ac_header>
10568
 
_ACEOF
10569
 
rm -f conftest.$ac_objext
10570
 
if { (ac_try="$ac_compile"
10571
 
case "(($ac_try" in
10572
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10573
 
  *) ac_try_echo=$ac_try;;
10574
 
esac
10575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576
 
  (eval "$ac_compile") 2>conftest.er1
10577
 
  ac_status=$?
10578
 
  grep -v '^ *+' conftest.er1 >conftest.err
10579
 
  rm -f conftest.er1
10580
 
  cat conftest.err >&5
10581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582
 
  (exit $ac_status); } && {
10583
 
         test -z "$ac_c_werror_flag" ||
10584
 
         test ! -s conftest.err
10585
 
       } && test -s conftest.$ac_objext; then
10586
 
  ac_header_compiler=yes
10587
 
else
10588
 
  echo "$as_me: failed program was:" >&5
10589
 
sed 's/^/| /' conftest.$ac_ext >&5
10590
 
 
10591
 
        ac_header_compiler=no
10592
 
fi
10593
 
 
10594
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10595
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10596
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
10597
 
 
10598
 
# Is the header present?
10599
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10600
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10601
 
cat >conftest.$ac_ext <<_ACEOF
10602
 
/* confdefs.h.  */
10603
 
_ACEOF
10604
 
cat confdefs.h >>conftest.$ac_ext
10605
 
cat >>conftest.$ac_ext <<_ACEOF
10606
 
/* end confdefs.h.  */
10607
 
#include <$ac_header>
10608
 
_ACEOF
10609
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
10610
 
case "(($ac_try" in
10611
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612
 
  *) ac_try_echo=$ac_try;;
10613
 
esac
10614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10616
 
  ac_status=$?
10617
 
  grep -v '^ *+' conftest.er1 >conftest.err
10618
 
  rm -f conftest.er1
10619
 
  cat conftest.err >&5
10620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621
 
  (exit $ac_status); } >/dev/null && {
10622
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10623
 
         test ! -s conftest.err
10624
 
       }; then
10625
 
  ac_header_preproc=yes
10626
 
else
10627
 
  echo "$as_me: failed program was:" >&5
10628
 
sed 's/^/| /' conftest.$ac_ext >&5
10629
 
 
10630
 
  ac_header_preproc=no
10631
 
fi
10632
 
 
10633
 
rm -f conftest.err conftest.$ac_ext
10634
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10635
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
10636
 
 
10637
 
# So?  What about this header?
10638
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10639
 
  yes:no: )
10640
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10641
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10642
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10643
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10644
 
    ac_header_preproc=yes
10645
 
    ;;
10646
 
  no:yes:* )
10647
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10648
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10649
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10650
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10651
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10652
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10653
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10654
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10655
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10656
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10657
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10658
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10659
 
 
10660
 
    ;;
10661
 
esac
10662
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10663
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10664
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10666
 
else
10667
 
  eval "$as_ac_Header=\$ac_header_preproc"
10668
 
fi
10669
 
ac_res=`eval echo '${'$as_ac_Header'}'`
10670
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
10671
 
echo "${ECHO_T}$ac_res" >&6; }
10672
 
 
10673
 
fi
10674
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6577
do :
 
6578
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6579
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
6580
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10675
6581
  cat >>confdefs.h <<_ACEOF
10676
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6582
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10677
6583
_ACEOF
10678
6584
 
10679
6585
fi
10680
6586
 
10681
6587
done
10682
6588
 
10683
 
{ echo "$as_me:$LINENO: checking types of arguments for select" >&5
10684
 
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10685
 
if test "${ac_cv_func_select_args+set}" = set; then
10686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
 
6590
$as_echo_n "checking types of arguments for select... " >&6; }
 
6591
if ${ac_cv_func_select_args+:} false; then :
 
6592
  $as_echo_n "(cached) " >&6
10687
6593
else
10688
6594
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10689
6595
 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10690
6596
  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10691
 
   cat >conftest.$ac_ext <<_ACEOF
10692
 
/* confdefs.h.  */
10693
 
_ACEOF
10694
 
cat confdefs.h >>conftest.$ac_ext
10695
 
cat >>conftest.$ac_ext <<_ACEOF
 
6597
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696
6598
/* end confdefs.h.  */
10697
6599
$ac_includes_default
10698
6600
#ifdef HAVE_SYS_SELECT_H
10712
6614
  return 0;
10713
6615
}
10714
6616
_ACEOF
10715
 
rm -f conftest.$ac_objext
10716
 
if { (ac_try="$ac_compile"
10717
 
case "(($ac_try" in
10718
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10719
 
  *) ac_try_echo=$ac_try;;
10720
 
esac
10721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10722
 
  (eval "$ac_compile") 2>conftest.er1
10723
 
  ac_status=$?
10724
 
  grep -v '^ *+' conftest.er1 >conftest.err
10725
 
  rm -f conftest.er1
10726
 
  cat conftest.err >&5
10727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728
 
  (exit $ac_status); } && {
10729
 
         test -z "$ac_c_werror_flag" ||
10730
 
         test ! -s conftest.err
10731
 
       } && test -s conftest.$ac_objext; then
 
6617
if ac_fn_c_try_compile "$LINENO"; then :
10732
6618
  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10733
 
else
10734
 
  echo "$as_me: failed program was:" >&5
10735
 
sed 's/^/| /' conftest.$ac_ext >&5
10736
 
 
10737
 
 
10738
6619
fi
10739
 
 
10740
6620
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10741
6621
  done
10742
6622
 done
10743
6623
done
10744
6624
# Provide a safe default value.
10745
 
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
 
6625
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
10746
6626
 
10747
6627
fi
10748
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10749
 
echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
 
6628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
 
6629
$as_echo "$ac_cv_func_select_args" >&6; }
10750
6630
ac_save_IFS=$IFS; IFS=','
10751
6631
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10752
6632
IFS=$ac_save_IFS
10766
6646
#define SELECT_TYPE_ARG5 ($3)
10767
6647
_ACEOF
10768
6648
 
10769
 
rm -f -r conftest*
 
6649
rm -f conftest*
10770
6650
 
10771
 
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10772
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10773
 
if test "${ac_cv_type_signal+set}" = set; then
10774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
 
6652
$as_echo_n "checking return type of signal handlers... " >&6; }
 
6653
if ${ac_cv_type_signal+:} false; then :
 
6654
  $as_echo_n "(cached) " >&6
10775
6655
else
10776
 
  cat >conftest.$ac_ext <<_ACEOF
10777
 
/* confdefs.h.  */
10778
 
_ACEOF
10779
 
cat confdefs.h >>conftest.$ac_ext
10780
 
cat >>conftest.$ac_ext <<_ACEOF
 
6656
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781
6657
/* end confdefs.h.  */
10782
6658
#include <sys/types.h>
10783
6659
#include <signal.h>
10790
6666
  return 0;
10791
6667
}
10792
6668
_ACEOF
10793
 
rm -f conftest.$ac_objext
10794
 
if { (ac_try="$ac_compile"
10795
 
case "(($ac_try" in
10796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10797
 
  *) ac_try_echo=$ac_try;;
10798
 
esac
10799
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10800
 
  (eval "$ac_compile") 2>conftest.er1
10801
 
  ac_status=$?
10802
 
  grep -v '^ *+' conftest.er1 >conftest.err
10803
 
  rm -f conftest.er1
10804
 
  cat conftest.err >&5
10805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806
 
  (exit $ac_status); } && {
10807
 
         test -z "$ac_c_werror_flag" ||
10808
 
         test ! -s conftest.err
10809
 
       } && test -s conftest.$ac_objext; then
 
6669
if ac_fn_c_try_compile "$LINENO"; then :
10810
6670
  ac_cv_type_signal=int
10811
6671
else
10812
 
  echo "$as_me: failed program was:" >&5
10813
 
sed 's/^/| /' conftest.$ac_ext >&5
10814
 
 
10815
 
        ac_cv_type_signal=void
 
6672
  ac_cv_type_signal=void
10816
6673
fi
10817
 
 
10818
6674
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819
6675
fi
10820
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10821
 
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
 
6676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
 
6677
$as_echo "$ac_cv_type_signal" >&6; }
10822
6678
 
10823
6679
cat >>confdefs.h <<_ACEOF
10824
6680
#define RETSIGTYPE $ac_cv_type_signal
10825
6681
_ACEOF
10826
6682
 
10827
6683
 
10828
 
 
10829
 
 
10830
 
 
10831
 
 
10832
 
 
10833
 
 
10834
 
 
10835
 
 
10836
 
 
10837
 
 
10838
 
 
10839
 
 
10840
 
 
10841
 
 
10842
 
 
10843
 
 
10844
 
 
10845
 
for ac_func in dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo
10846
 
do
10847
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10848
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10849
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10850
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10851
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10852
 
else
10853
 
  cat >conftest.$ac_ext <<_ACEOF
10854
 
/* confdefs.h.  */
10855
 
_ACEOF
10856
 
cat confdefs.h >>conftest.$ac_ext
10857
 
cat >>conftest.$ac_ext <<_ACEOF
10858
 
/* end confdefs.h.  */
10859
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10860
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10861
 
#define $ac_func innocuous_$ac_func
10862
 
 
10863
 
/* System header to define __stub macros and hopefully few prototypes,
10864
 
    which can conflict with char $ac_func (); below.
10865
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10866
 
    <limits.h> exists even on freestanding compilers.  */
10867
 
 
10868
 
#ifdef __STDC__
10869
 
# include <limits.h>
10870
 
#else
10871
 
# include <assert.h>
10872
 
#endif
10873
 
 
10874
 
#undef $ac_func
10875
 
 
10876
 
/* Override any GCC internal prototype to avoid an error.
10877
 
   Use char because int might match the return type of a GCC
10878
 
   builtin and then its argument prototype would still apply.  */
10879
 
#ifdef __cplusplus
10880
 
extern "C"
10881
 
#endif
10882
 
char $ac_func ();
10883
 
/* The GNU C library defines this for functions which it implements
10884
 
    to always fail with ENOSYS.  Some functions are actually named
10885
 
    something starting with __ and the normal name is an alias.  */
10886
 
#if defined __stub_$ac_func || defined __stub___$ac_func
10887
 
choke me
10888
 
#endif
10889
 
 
10890
 
int
10891
 
main ()
10892
 
{
10893
 
return $ac_func ();
10894
 
  ;
10895
 
  return 0;
10896
 
}
10897
 
_ACEOF
10898
 
rm -f conftest.$ac_objext conftest$ac_exeext
10899
 
if { (ac_try="$ac_link"
10900
 
case "(($ac_try" in
10901
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10902
 
  *) ac_try_echo=$ac_try;;
10903
 
esac
10904
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10905
 
  (eval "$ac_link") 2>conftest.er1
10906
 
  ac_status=$?
10907
 
  grep -v '^ *+' conftest.er1 >conftest.err
10908
 
  rm -f conftest.er1
10909
 
  cat conftest.err >&5
10910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911
 
  (exit $ac_status); } && {
10912
 
         test -z "$ac_c_werror_flag" ||
10913
 
         test ! -s conftest.err
10914
 
       } && test -s conftest$ac_exeext &&
10915
 
       $as_test_x conftest$ac_exeext; then
10916
 
  eval "$as_ac_var=yes"
10917
 
else
10918
 
  echo "$as_me: failed program was:" >&5
10919
 
sed 's/^/| /' conftest.$ac_ext >&5
10920
 
 
10921
 
        eval "$as_ac_var=no"
10922
 
fi
10923
 
 
10924
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10925
 
      conftest$ac_exeext conftest.$ac_ext
10926
 
fi
10927
 
ac_res=`eval echo '${'$as_ac_var'}'`
10928
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
10929
 
echo "${ECHO_T}$ac_res" >&6; }
10930
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
6684
for ac_func in dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo fork writev
 
6685
do :
 
6686
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6687
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
6688
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10931
6689
  cat >>confdefs.h <<_ACEOF
10932
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6690
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10933
6691
_ACEOF
10934
6692
 
10935
6693
fi
10936
6694
done
10937
6695
 
10938
6696
 
10939
 
{ echo "$as_me:$LINENO: checking for library containing basename" >&5
10940
 
echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; }
10941
 
if test "${ac_cv_search_basename+set}" = set; then
10942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing basename" >&5
 
6698
$as_echo_n "checking for library containing basename... " >&6; }
 
6699
if ${ac_cv_search_basename+:} false; then :
 
6700
  $as_echo_n "(cached) " >&6
10943
6701
else
10944
6702
  ac_func_search_save_LIBS=$LIBS
10945
 
cat >conftest.$ac_ext <<_ACEOF
10946
 
/* confdefs.h.  */
10947
 
_ACEOF
10948
 
cat confdefs.h >>conftest.$ac_ext
10949
 
cat >>conftest.$ac_ext <<_ACEOF
 
6703
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950
6704
/* end confdefs.h.  */
10951
6705
 
10952
6706
/* Override any GCC internal prototype to avoid an error.
10971
6725
    ac_res=-l$ac_lib
10972
6726
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10973
6727
  fi
10974
 
  rm -f conftest.$ac_objext conftest$ac_exeext
10975
 
if { (ac_try="$ac_link"
10976
 
case "(($ac_try" in
10977
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10978
 
  *) ac_try_echo=$ac_try;;
10979
 
esac
10980
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10981
 
  (eval "$ac_link") 2>conftest.er1
10982
 
  ac_status=$?
10983
 
  grep -v '^ *+' conftest.er1 >conftest.err
10984
 
  rm -f conftest.er1
10985
 
  cat conftest.err >&5
10986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987
 
  (exit $ac_status); } && {
10988
 
         test -z "$ac_c_werror_flag" ||
10989
 
         test ! -s conftest.err
10990
 
       } && test -s conftest$ac_exeext &&
10991
 
       $as_test_x conftest$ac_exeext; then
 
6728
  if ac_fn_c_try_link "$LINENO"; then :
10992
6729
  ac_cv_search_basename=$ac_res
10993
 
else
10994
 
  echo "$as_me: failed program was:" >&5
10995
 
sed 's/^/| /' conftest.$ac_ext >&5
10996
 
 
10997
 
 
10998
6730
fi
10999
 
 
11000
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11001
 
      conftest$ac_exeext
11002
 
  if test "${ac_cv_search_basename+set}" = set; then
 
6731
rm -f core conftest.err conftest.$ac_objext \
 
6732
    conftest$ac_exeext
 
6733
  if ${ac_cv_search_basename+:} false; then :
11003
6734
  break
11004
6735
fi
11005
6736
done
11006
 
if test "${ac_cv_search_basename+set}" = set; then
11007
 
  :
 
6737
if ${ac_cv_search_basename+:} false; then :
 
6738
 
11008
6739
else
11009
6740
  ac_cv_search_basename=no
11010
6741
fi
11011
6742
rm conftest.$ac_ext
11012
6743
LIBS=$ac_func_search_save_LIBS
11013
6744
fi
11014
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
11015
 
echo "${ECHO_T}$ac_cv_search_basename" >&6; }
 
6745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_basename" >&5
 
6746
$as_echo "$ac_cv_search_basename" >&6; }
11016
6747
ac_res=$ac_cv_search_basename
11017
 
if test "$ac_res" != no; then
 
6748
if test "$ac_res" != no; then :
11018
6749
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11019
 
  cat >>confdefs.h <<\_ACEOF
11020
 
#define HAVE_BASENAME 1
11021
 
_ACEOF
 
6750
  $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
11022
6751
 
11023
6752
fi
11024
6753
 
11026
6755
# Solaris needs ptmx
11027
6756
if test -z "$no_ptmx_check" ; then
11028
6757
        if test x"$cross_compiling" = x"no" ; then
11029
 
                { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
11030
 
echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; }
11031
 
if test "${ac_cv_file___dev_ptmx_+set}" = set; then
11032
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6758
                as_ac_File=`$as_echo "ac_cv_file_"/dev/ptmx"" | $as_tr_sh`
 
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptmx\"" >&5
 
6760
$as_echo_n "checking for \"/dev/ptmx\"... " >&6; }
 
6761
if eval \${$as_ac_File+:} false; then :
 
6762
  $as_echo_n "(cached) " >&6
11033
6763
else
11034
6764
  test "$cross_compiling" = yes &&
11035
 
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11036
 
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11037
 
   { (exit 1); exit 1; }; }
 
6765
  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
11038
6766
if test -r ""/dev/ptmx""; then
11039
 
  ac_cv_file___dev_ptmx_=yes
 
6767
  eval "$as_ac_File=yes"
11040
6768
else
11041
 
  ac_cv_file___dev_ptmx_=no
11042
 
fi
11043
 
fi
11044
 
{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
11045
 
echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; }
11046
 
if test $ac_cv_file___dev_ptmx_ = yes; then
 
6769
  eval "$as_ac_File=no"
 
6770
fi
 
6771
fi
 
6772
eval ac_res=\$$as_ac_File
 
6773
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
6774
$as_echo "$ac_res" >&6; }
 
6775
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
11047
6776
 
11048
 
cat >>confdefs.h <<\_ACEOF
11049
 
#define USE_DEV_PTMX
11050
 
_ACEOF
 
6777
$as_echo "#define USE_DEV_PTMX /**/" >>confdefs.h
11051
6778
 
11052
6779
fi
11053
6780
 
11054
6781
        else
11055
 
                { echo "$as_me:$LINENO: Not checking for /dev/ptmx, we're cross-compiling" >&5
11056
 
echo "$as_me: Not checking for /dev/ptmx, we're cross-compiling" >&6;}
 
6782
                { $as_echo "$as_me:${as_lineno-$LINENO}: Not checking for /dev/ptmx, we're cross-compiling" >&5
 
6783
$as_echo "$as_me: Not checking for /dev/ptmx, we're cross-compiling" >&6;}
11057
6784
        fi
11058
6785
fi
11059
6786
 
11060
6787
if test -z "$no_ptc_check" ; then
11061
6788
        if test x"$cross_compiling" = x"no" ; then
11062
 
                { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
11063
 
echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; }
11064
 
if test "${ac_cv_file___dev_ptc_+set}" = set; then
11065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6789
                as_ac_File=`$as_echo "ac_cv_file_"/dev/ptc"" | $as_tr_sh`
 
6790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptc\"" >&5
 
6791
$as_echo_n "checking for \"/dev/ptc\"... " >&6; }
 
6792
if eval \${$as_ac_File+:} false; then :
 
6793
  $as_echo_n "(cached) " >&6
11066
6794
else
11067
6795
  test "$cross_compiling" = yes &&
11068
 
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11069
 
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11070
 
   { (exit 1); exit 1; }; }
 
6796
  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
11071
6797
if test -r ""/dev/ptc""; then
11072
 
  ac_cv_file___dev_ptc_=yes
 
6798
  eval "$as_ac_File=yes"
11073
6799
else
11074
 
  ac_cv_file___dev_ptc_=no
11075
 
fi
11076
 
fi
11077
 
{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
11078
 
echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; }
11079
 
if test $ac_cv_file___dev_ptc_ = yes; then
 
6800
  eval "$as_ac_File=no"
 
6801
fi
 
6802
fi
 
6803
eval ac_res=\$$as_ac_File
 
6804
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
6805
$as_echo "$ac_res" >&6; }
 
6806
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
11080
6807
 
11081
 
cat >>confdefs.h <<\_ACEOF
11082
 
#define HAVE_DEV_PTS_AND_PTC
11083
 
_ACEOF
 
6808
$as_echo "#define HAVE_DEV_PTS_AND_PTC /**/" >>confdefs.h
11084
6809
 
11085
6810
fi
11086
6811
 
11087
6812
        else
11088
 
                { echo "$as_me:$LINENO: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&5
11089
 
echo "$as_me: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&6;}
 
6813
                { $as_echo "$as_me:${as_lineno-$LINENO}: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&5
 
6814
$as_echo "$as_me: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&6;}
11090
6815
        fi
11091
6816
fi
11092
6817
 
11093
6818
 
11094
6819
 
11095
6820
# XXX there must be a nicer way to do this
11096
 
{ as_dir=libtomcrypt/src/ciphers/aes
11097
 
  case $as_dir in #(
11098
 
  -*) as_dir=./$as_dir;;
11099
 
  esac
11100
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11101
 
    as_dirs=
11102
 
    while :; do
11103
 
      case $as_dir in #(
11104
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11105
 
      *) as_qdir=$as_dir;;
11106
 
      esac
11107
 
      as_dirs="'$as_qdir' $as_dirs"
11108
 
      as_dir=`$as_dirname -- "$as_dir" ||
11109
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11110
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11111
 
         X"$as_dir" : 'X\(//\)$' \| \
11112
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11113
 
echo X"$as_dir" |
11114
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11115
 
            s//\1/
11116
 
            q
11117
 
          }
11118
 
          /^X\(\/\/\)[^/].*/{
11119
 
            s//\1/
11120
 
            q
11121
 
          }
11122
 
          /^X\(\/\/\)$/{
11123
 
            s//\1/
11124
 
            q
11125
 
          }
11126
 
          /^X\(\/\).*/{
11127
 
            s//\1/
11128
 
            q
11129
 
          }
11130
 
          s/.*/./; q'`
11131
 
      test -d "$as_dir" && break
11132
 
    done
11133
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11134
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11135
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11136
 
   { (exit 1); exit 1; }; }; }
11137
 
{ as_dir=libtomcrypt/src/ciphers/safer
11138
 
  case $as_dir in #(
11139
 
  -*) as_dir=./$as_dir;;
11140
 
  esac
11141
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11142
 
    as_dirs=
11143
 
    while :; do
11144
 
      case $as_dir in #(
11145
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11146
 
      *) as_qdir=$as_dir;;
11147
 
      esac
11148
 
      as_dirs="'$as_qdir' $as_dirs"
11149
 
      as_dir=`$as_dirname -- "$as_dir" ||
11150
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11151
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11152
 
         X"$as_dir" : 'X\(//\)$' \| \
11153
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11154
 
echo X"$as_dir" |
11155
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11156
 
            s//\1/
11157
 
            q
11158
 
          }
11159
 
          /^X\(\/\/\)[^/].*/{
11160
 
            s//\1/
11161
 
            q
11162
 
          }
11163
 
          /^X\(\/\/\)$/{
11164
 
            s//\1/
11165
 
            q
11166
 
          }
11167
 
          /^X\(\/\).*/{
11168
 
            s//\1/
11169
 
            q
11170
 
          }
11171
 
          s/.*/./; q'`
11172
 
      test -d "$as_dir" && break
11173
 
    done
11174
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11175
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11176
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11177
 
   { (exit 1); exit 1; }; }; }
11178
 
{ as_dir=libtomcrypt/src/ciphers/twofish
11179
 
  case $as_dir in #(
11180
 
  -*) as_dir=./$as_dir;;
11181
 
  esac
11182
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11183
 
    as_dirs=
11184
 
    while :; do
11185
 
      case $as_dir in #(
11186
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11187
 
      *) as_qdir=$as_dir;;
11188
 
      esac
11189
 
      as_dirs="'$as_qdir' $as_dirs"
11190
 
      as_dir=`$as_dirname -- "$as_dir" ||
11191
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11192
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11193
 
         X"$as_dir" : 'X\(//\)$' \| \
11194
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11195
 
echo X"$as_dir" |
11196
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11197
 
            s//\1/
11198
 
            q
11199
 
          }
11200
 
          /^X\(\/\/\)[^/].*/{
11201
 
            s//\1/
11202
 
            q
11203
 
          }
11204
 
          /^X\(\/\/\)$/{
11205
 
            s//\1/
11206
 
            q
11207
 
          }
11208
 
          /^X\(\/\).*/{
11209
 
            s//\1/
11210
 
            q
11211
 
          }
11212
 
          s/.*/./; q'`
11213
 
      test -d "$as_dir" && break
11214
 
    done
11215
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11216
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11217
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11218
 
   { (exit 1); exit 1; }; }; }
11219
 
{ as_dir=libtomcrypt/src/encauth/ccm
11220
 
  case $as_dir in #(
11221
 
  -*) as_dir=./$as_dir;;
11222
 
  esac
11223
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11224
 
    as_dirs=
11225
 
    while :; do
11226
 
      case $as_dir in #(
11227
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11228
 
      *) as_qdir=$as_dir;;
11229
 
      esac
11230
 
      as_dirs="'$as_qdir' $as_dirs"
11231
 
      as_dir=`$as_dirname -- "$as_dir" ||
11232
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11233
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11234
 
         X"$as_dir" : 'X\(//\)$' \| \
11235
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11236
 
echo X"$as_dir" |
11237
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11238
 
            s//\1/
11239
 
            q
11240
 
          }
11241
 
          /^X\(\/\/\)[^/].*/{
11242
 
            s//\1/
11243
 
            q
11244
 
          }
11245
 
          /^X\(\/\/\)$/{
11246
 
            s//\1/
11247
 
            q
11248
 
          }
11249
 
          /^X\(\/\).*/{
11250
 
            s//\1/
11251
 
            q
11252
 
          }
11253
 
          s/.*/./; q'`
11254
 
      test -d "$as_dir" && break
11255
 
    done
11256
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11257
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11258
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11259
 
   { (exit 1); exit 1; }; }; }
11260
 
{ as_dir=libtomcrypt/src/encauth/eax
11261
 
  case $as_dir in #(
11262
 
  -*) as_dir=./$as_dir;;
11263
 
  esac
11264
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11265
 
    as_dirs=
11266
 
    while :; do
11267
 
      case $as_dir in #(
11268
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11269
 
      *) as_qdir=$as_dir;;
11270
 
      esac
11271
 
      as_dirs="'$as_qdir' $as_dirs"
11272
 
      as_dir=`$as_dirname -- "$as_dir" ||
11273
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11274
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11275
 
         X"$as_dir" : 'X\(//\)$' \| \
11276
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11277
 
echo X"$as_dir" |
11278
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11279
 
            s//\1/
11280
 
            q
11281
 
          }
11282
 
          /^X\(\/\/\)[^/].*/{
11283
 
            s//\1/
11284
 
            q
11285
 
          }
11286
 
          /^X\(\/\/\)$/{
11287
 
            s//\1/
11288
 
            q
11289
 
          }
11290
 
          /^X\(\/\).*/{
11291
 
            s//\1/
11292
 
            q
11293
 
          }
11294
 
          s/.*/./; q'`
11295
 
      test -d "$as_dir" && break
11296
 
    done
11297
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11298
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11299
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11300
 
   { (exit 1); exit 1; }; }; }
11301
 
{ as_dir=libtomcrypt/src/encauth/gcm
11302
 
  case $as_dir in #(
11303
 
  -*) as_dir=./$as_dir;;
11304
 
  esac
11305
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11306
 
    as_dirs=
11307
 
    while :; do
11308
 
      case $as_dir in #(
11309
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11310
 
      *) as_qdir=$as_dir;;
11311
 
      esac
11312
 
      as_dirs="'$as_qdir' $as_dirs"
11313
 
      as_dir=`$as_dirname -- "$as_dir" ||
11314
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11315
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11316
 
         X"$as_dir" : 'X\(//\)$' \| \
11317
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11318
 
echo X"$as_dir" |
11319
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11320
 
            s//\1/
11321
 
            q
11322
 
          }
11323
 
          /^X\(\/\/\)[^/].*/{
11324
 
            s//\1/
11325
 
            q
11326
 
          }
11327
 
          /^X\(\/\/\)$/{
11328
 
            s//\1/
11329
 
            q
11330
 
          }
11331
 
          /^X\(\/\).*/{
11332
 
            s//\1/
11333
 
            q
11334
 
          }
11335
 
          s/.*/./; q'`
11336
 
      test -d "$as_dir" && break
11337
 
    done
11338
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11339
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11340
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11341
 
   { (exit 1); exit 1; }; }; }
11342
 
{ as_dir=libtomcrypt/src/encauth/ocb
11343
 
  case $as_dir in #(
11344
 
  -*) as_dir=./$as_dir;;
11345
 
  esac
11346
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11347
 
    as_dirs=
11348
 
    while :; do
11349
 
      case $as_dir in #(
11350
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11351
 
      *) as_qdir=$as_dir;;
11352
 
      esac
11353
 
      as_dirs="'$as_qdir' $as_dirs"
11354
 
      as_dir=`$as_dirname -- "$as_dir" ||
11355
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11356
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11357
 
         X"$as_dir" : 'X\(//\)$' \| \
11358
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11359
 
echo X"$as_dir" |
11360
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11361
 
            s//\1/
11362
 
            q
11363
 
          }
11364
 
          /^X\(\/\/\)[^/].*/{
11365
 
            s//\1/
11366
 
            q
11367
 
          }
11368
 
          /^X\(\/\/\)$/{
11369
 
            s//\1/
11370
 
            q
11371
 
          }
11372
 
          /^X\(\/\).*/{
11373
 
            s//\1/
11374
 
            q
11375
 
          }
11376
 
          s/.*/./; q'`
11377
 
      test -d "$as_dir" && break
11378
 
    done
11379
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11380
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11381
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11382
 
   { (exit 1); exit 1; }; }; }
11383
 
{ as_dir=libtomcrypt/src/hashes
11384
 
  case $as_dir in #(
11385
 
  -*) as_dir=./$as_dir;;
11386
 
  esac
11387
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11388
 
    as_dirs=
11389
 
    while :; do
11390
 
      case $as_dir in #(
11391
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11392
 
      *) as_qdir=$as_dir;;
11393
 
      esac
11394
 
      as_dirs="'$as_qdir' $as_dirs"
11395
 
      as_dir=`$as_dirname -- "$as_dir" ||
11396
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11397
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11398
 
         X"$as_dir" : 'X\(//\)$' \| \
11399
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11400
 
echo X"$as_dir" |
11401
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11402
 
            s//\1/
11403
 
            q
11404
 
          }
11405
 
          /^X\(\/\/\)[^/].*/{
11406
 
            s//\1/
11407
 
            q
11408
 
          }
11409
 
          /^X\(\/\/\)$/{
11410
 
            s//\1/
11411
 
            q
11412
 
          }
11413
 
          /^X\(\/\).*/{
11414
 
            s//\1/
11415
 
            q
11416
 
          }
11417
 
          s/.*/./; q'`
11418
 
      test -d "$as_dir" && break
11419
 
    done
11420
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11421
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11422
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11423
 
   { (exit 1); exit 1; }; }; }
11424
 
{ as_dir=libtomcrypt/src/hashes/chc
11425
 
  case $as_dir in #(
11426
 
  -*) as_dir=./$as_dir;;
11427
 
  esac
11428
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11429
 
    as_dirs=
11430
 
    while :; do
11431
 
      case $as_dir in #(
11432
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11433
 
      *) as_qdir=$as_dir;;
11434
 
      esac
11435
 
      as_dirs="'$as_qdir' $as_dirs"
11436
 
      as_dir=`$as_dirname -- "$as_dir" ||
11437
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11438
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11439
 
         X"$as_dir" : 'X\(//\)$' \| \
11440
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11441
 
echo X"$as_dir" |
11442
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11443
 
            s//\1/
11444
 
            q
11445
 
          }
11446
 
          /^X\(\/\/\)[^/].*/{
11447
 
            s//\1/
11448
 
            q
11449
 
          }
11450
 
          /^X\(\/\/\)$/{
11451
 
            s//\1/
11452
 
            q
11453
 
          }
11454
 
          /^X\(\/\).*/{
11455
 
            s//\1/
11456
 
            q
11457
 
          }
11458
 
          s/.*/./; q'`
11459
 
      test -d "$as_dir" && break
11460
 
    done
11461
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11462
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11463
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11464
 
   { (exit 1); exit 1; }; }; }
11465
 
{ as_dir=libtomcrypt/src/hashes/helper
11466
 
  case $as_dir in #(
11467
 
  -*) as_dir=./$as_dir;;
11468
 
  esac
11469
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11470
 
    as_dirs=
11471
 
    while :; do
11472
 
      case $as_dir in #(
11473
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11474
 
      *) as_qdir=$as_dir;;
11475
 
      esac
11476
 
      as_dirs="'$as_qdir' $as_dirs"
11477
 
      as_dir=`$as_dirname -- "$as_dir" ||
11478
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11479
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11480
 
         X"$as_dir" : 'X\(//\)$' \| \
11481
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11482
 
echo X"$as_dir" |
11483
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11484
 
            s//\1/
11485
 
            q
11486
 
          }
11487
 
          /^X\(\/\/\)[^/].*/{
11488
 
            s//\1/
11489
 
            q
11490
 
          }
11491
 
          /^X\(\/\/\)$/{
11492
 
            s//\1/
11493
 
            q
11494
 
          }
11495
 
          /^X\(\/\).*/{
11496
 
            s//\1/
11497
 
            q
11498
 
          }
11499
 
          s/.*/./; q'`
11500
 
      test -d "$as_dir" && break
11501
 
    done
11502
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11503
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11504
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11505
 
   { (exit 1); exit 1; }; }; }
11506
 
{ as_dir=libtomcrypt/src/hashes/sha2
11507
 
  case $as_dir in #(
11508
 
  -*) as_dir=./$as_dir;;
11509
 
  esac
11510
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11511
 
    as_dirs=
11512
 
    while :; do
11513
 
      case $as_dir in #(
11514
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11515
 
      *) as_qdir=$as_dir;;
11516
 
      esac
11517
 
      as_dirs="'$as_qdir' $as_dirs"
11518
 
      as_dir=`$as_dirname -- "$as_dir" ||
11519
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11520
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11521
 
         X"$as_dir" : 'X\(//\)$' \| \
11522
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11523
 
echo X"$as_dir" |
11524
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11525
 
            s//\1/
11526
 
            q
11527
 
          }
11528
 
          /^X\(\/\/\)[^/].*/{
11529
 
            s//\1/
11530
 
            q
11531
 
          }
11532
 
          /^X\(\/\/\)$/{
11533
 
            s//\1/
11534
 
            q
11535
 
          }
11536
 
          /^X\(\/\).*/{
11537
 
            s//\1/
11538
 
            q
11539
 
          }
11540
 
          s/.*/./; q'`
11541
 
      test -d "$as_dir" && break
11542
 
    done
11543
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11544
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11545
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11546
 
   { (exit 1); exit 1; }; }; }
11547
 
{ as_dir=libtomcrypt/src/hashes/whirl
11548
 
  case $as_dir in #(
11549
 
  -*) as_dir=./$as_dir;;
11550
 
  esac
11551
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11552
 
    as_dirs=
11553
 
    while :; do
11554
 
      case $as_dir in #(
11555
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11556
 
      *) as_qdir=$as_dir;;
11557
 
      esac
11558
 
      as_dirs="'$as_qdir' $as_dirs"
11559
 
      as_dir=`$as_dirname -- "$as_dir" ||
11560
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11561
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11562
 
         X"$as_dir" : 'X\(//\)$' \| \
11563
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11564
 
echo X"$as_dir" |
11565
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11566
 
            s//\1/
11567
 
            q
11568
 
          }
11569
 
          /^X\(\/\/\)[^/].*/{
11570
 
            s//\1/
11571
 
            q
11572
 
          }
11573
 
          /^X\(\/\/\)$/{
11574
 
            s//\1/
11575
 
            q
11576
 
          }
11577
 
          /^X\(\/\).*/{
11578
 
            s//\1/
11579
 
            q
11580
 
          }
11581
 
          s/.*/./; q'`
11582
 
      test -d "$as_dir" && break
11583
 
    done
11584
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11585
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11586
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11587
 
   { (exit 1); exit 1; }; }; }
11588
 
{ as_dir=libtomcrypt/src/mac/hmac
11589
 
  case $as_dir in #(
11590
 
  -*) as_dir=./$as_dir;;
11591
 
  esac
11592
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11593
 
    as_dirs=
11594
 
    while :; do
11595
 
      case $as_dir in #(
11596
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11597
 
      *) as_qdir=$as_dir;;
11598
 
      esac
11599
 
      as_dirs="'$as_qdir' $as_dirs"
11600
 
      as_dir=`$as_dirname -- "$as_dir" ||
11601
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11602
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11603
 
         X"$as_dir" : 'X\(//\)$' \| \
11604
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11605
 
echo X"$as_dir" |
11606
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11607
 
            s//\1/
11608
 
            q
11609
 
          }
11610
 
          /^X\(\/\/\)[^/].*/{
11611
 
            s//\1/
11612
 
            q
11613
 
          }
11614
 
          /^X\(\/\/\)$/{
11615
 
            s//\1/
11616
 
            q
11617
 
          }
11618
 
          /^X\(\/\).*/{
11619
 
            s//\1/
11620
 
            q
11621
 
          }
11622
 
          s/.*/./; q'`
11623
 
      test -d "$as_dir" && break
11624
 
    done
11625
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11626
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11627
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11628
 
   { (exit 1); exit 1; }; }; }
11629
 
{ as_dir=libtomcrypt/src/mac/omac
11630
 
  case $as_dir in #(
11631
 
  -*) as_dir=./$as_dir;;
11632
 
  esac
11633
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11634
 
    as_dirs=
11635
 
    while :; do
11636
 
      case $as_dir in #(
11637
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11638
 
      *) as_qdir=$as_dir;;
11639
 
      esac
11640
 
      as_dirs="'$as_qdir' $as_dirs"
11641
 
      as_dir=`$as_dirname -- "$as_dir" ||
11642
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11643
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11644
 
         X"$as_dir" : 'X\(//\)$' \| \
11645
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11646
 
echo X"$as_dir" |
11647
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11648
 
            s//\1/
11649
 
            q
11650
 
          }
11651
 
          /^X\(\/\/\)[^/].*/{
11652
 
            s//\1/
11653
 
            q
11654
 
          }
11655
 
          /^X\(\/\/\)$/{
11656
 
            s//\1/
11657
 
            q
11658
 
          }
11659
 
          /^X\(\/\).*/{
11660
 
            s//\1/
11661
 
            q
11662
 
          }
11663
 
          s/.*/./; q'`
11664
 
      test -d "$as_dir" && break
11665
 
    done
11666
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11667
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11668
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11669
 
   { (exit 1); exit 1; }; }; }
11670
 
{ as_dir=libtomcrypt/src/mac/pelican
11671
 
  case $as_dir in #(
11672
 
  -*) as_dir=./$as_dir;;
11673
 
  esac
11674
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11675
 
    as_dirs=
11676
 
    while :; do
11677
 
      case $as_dir in #(
11678
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11679
 
      *) as_qdir=$as_dir;;
11680
 
      esac
11681
 
      as_dirs="'$as_qdir' $as_dirs"
11682
 
      as_dir=`$as_dirname -- "$as_dir" ||
11683
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11684
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11685
 
         X"$as_dir" : 'X\(//\)$' \| \
11686
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11687
 
echo X"$as_dir" |
11688
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11689
 
            s//\1/
11690
 
            q
11691
 
          }
11692
 
          /^X\(\/\/\)[^/].*/{
11693
 
            s//\1/
11694
 
            q
11695
 
          }
11696
 
          /^X\(\/\/\)$/{
11697
 
            s//\1/
11698
 
            q
11699
 
          }
11700
 
          /^X\(\/\).*/{
11701
 
            s//\1/
11702
 
            q
11703
 
          }
11704
 
          s/.*/./; q'`
11705
 
      test -d "$as_dir" && break
11706
 
    done
11707
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11708
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11709
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11710
 
   { (exit 1); exit 1; }; }; }
11711
 
{ as_dir=libtomcrypt/src/mac/pmac
11712
 
  case $as_dir in #(
11713
 
  -*) as_dir=./$as_dir;;
11714
 
  esac
11715
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11716
 
    as_dirs=
11717
 
    while :; do
11718
 
      case $as_dir in #(
11719
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11720
 
      *) as_qdir=$as_dir;;
11721
 
      esac
11722
 
      as_dirs="'$as_qdir' $as_dirs"
11723
 
      as_dir=`$as_dirname -- "$as_dir" ||
11724
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11725
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11726
 
         X"$as_dir" : 'X\(//\)$' \| \
11727
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11728
 
echo X"$as_dir" |
11729
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11730
 
            s//\1/
11731
 
            q
11732
 
          }
11733
 
          /^X\(\/\/\)[^/].*/{
11734
 
            s//\1/
11735
 
            q
11736
 
          }
11737
 
          /^X\(\/\/\)$/{
11738
 
            s//\1/
11739
 
            q
11740
 
          }
11741
 
          /^X\(\/\).*/{
11742
 
            s//\1/
11743
 
            q
11744
 
          }
11745
 
          s/.*/./; q'`
11746
 
      test -d "$as_dir" && break
11747
 
    done
11748
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11749
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11750
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11751
 
   { (exit 1); exit 1; }; }; }
11752
 
{ as_dir=libtomcrypt/src/mac/f9
11753
 
  case $as_dir in #(
11754
 
  -*) as_dir=./$as_dir;;
11755
 
  esac
11756
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11757
 
    as_dirs=
11758
 
    while :; do
11759
 
      case $as_dir in #(
11760
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11761
 
      *) as_qdir=$as_dir;;
11762
 
      esac
11763
 
      as_dirs="'$as_qdir' $as_dirs"
11764
 
      as_dir=`$as_dirname -- "$as_dir" ||
11765
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11766
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11767
 
         X"$as_dir" : 'X\(//\)$' \| \
11768
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11769
 
echo X"$as_dir" |
11770
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11771
 
            s//\1/
11772
 
            q
11773
 
          }
11774
 
          /^X\(\/\/\)[^/].*/{
11775
 
            s//\1/
11776
 
            q
11777
 
          }
11778
 
          /^X\(\/\/\)$/{
11779
 
            s//\1/
11780
 
            q
11781
 
          }
11782
 
          /^X\(\/\).*/{
11783
 
            s//\1/
11784
 
            q
11785
 
          }
11786
 
          s/.*/./; q'`
11787
 
      test -d "$as_dir" && break
11788
 
    done
11789
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11790
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11791
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11792
 
   { (exit 1); exit 1; }; }; }
11793
 
{ as_dir=libtomcrypt/src/mac/xcbc
11794
 
  case $as_dir in #(
11795
 
  -*) as_dir=./$as_dir;;
11796
 
  esac
11797
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11798
 
    as_dirs=
11799
 
    while :; do
11800
 
      case $as_dir in #(
11801
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11802
 
      *) as_qdir=$as_dir;;
11803
 
      esac
11804
 
      as_dirs="'$as_qdir' $as_dirs"
11805
 
      as_dir=`$as_dirname -- "$as_dir" ||
11806
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11807
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11808
 
         X"$as_dir" : 'X\(//\)$' \| \
11809
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11810
 
echo X"$as_dir" |
11811
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11812
 
            s//\1/
11813
 
            q
11814
 
          }
11815
 
          /^X\(\/\/\)[^/].*/{
11816
 
            s//\1/
11817
 
            q
11818
 
          }
11819
 
          /^X\(\/\/\)$/{
11820
 
            s//\1/
11821
 
            q
11822
 
          }
11823
 
          /^X\(\/\).*/{
11824
 
            s//\1/
11825
 
            q
11826
 
          }
11827
 
          s/.*/./; q'`
11828
 
      test -d "$as_dir" && break
11829
 
    done
11830
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11831
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11832
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11833
 
   { (exit 1); exit 1; }; }; }
11834
 
{ as_dir=libtomcrypt/src/math/fp
11835
 
  case $as_dir in #(
11836
 
  -*) as_dir=./$as_dir;;
11837
 
  esac
11838
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11839
 
    as_dirs=
11840
 
    while :; do
11841
 
      case $as_dir in #(
11842
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11843
 
      *) as_qdir=$as_dir;;
11844
 
      esac
11845
 
      as_dirs="'$as_qdir' $as_dirs"
11846
 
      as_dir=`$as_dirname -- "$as_dir" ||
11847
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11848
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11849
 
         X"$as_dir" : 'X\(//\)$' \| \
11850
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11851
 
echo X"$as_dir" |
11852
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11853
 
            s//\1/
11854
 
            q
11855
 
          }
11856
 
          /^X\(\/\/\)[^/].*/{
11857
 
            s//\1/
11858
 
            q
11859
 
          }
11860
 
          /^X\(\/\/\)$/{
11861
 
            s//\1/
11862
 
            q
11863
 
          }
11864
 
          /^X\(\/\).*/{
11865
 
            s//\1/
11866
 
            q
11867
 
          }
11868
 
          s/.*/./; q'`
11869
 
      test -d "$as_dir" && break
11870
 
    done
11871
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11872
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11873
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11874
 
   { (exit 1); exit 1; }; }; }
11875
 
{ as_dir=libtomcrypt/src/misc/base64
11876
 
  case $as_dir in #(
11877
 
  -*) as_dir=./$as_dir;;
11878
 
  esac
11879
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11880
 
    as_dirs=
11881
 
    while :; do
11882
 
      case $as_dir in #(
11883
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11884
 
      *) as_qdir=$as_dir;;
11885
 
      esac
11886
 
      as_dirs="'$as_qdir' $as_dirs"
11887
 
      as_dir=`$as_dirname -- "$as_dir" ||
11888
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11889
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11890
 
         X"$as_dir" : 'X\(//\)$' \| \
11891
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11892
 
echo X"$as_dir" |
11893
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11894
 
            s//\1/
11895
 
            q
11896
 
          }
11897
 
          /^X\(\/\/\)[^/].*/{
11898
 
            s//\1/
11899
 
            q
11900
 
          }
11901
 
          /^X\(\/\/\)$/{
11902
 
            s//\1/
11903
 
            q
11904
 
          }
11905
 
          /^X\(\/\).*/{
11906
 
            s//\1/
11907
 
            q
11908
 
          }
11909
 
          s/.*/./; q'`
11910
 
      test -d "$as_dir" && break
11911
 
    done
11912
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11913
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11914
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11915
 
   { (exit 1); exit 1; }; }; }
11916
 
{ as_dir=libtomcrypt/src/misc/crypt
11917
 
  case $as_dir in #(
11918
 
  -*) as_dir=./$as_dir;;
11919
 
  esac
11920
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11921
 
    as_dirs=
11922
 
    while :; do
11923
 
      case $as_dir in #(
11924
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11925
 
      *) as_qdir=$as_dir;;
11926
 
      esac
11927
 
      as_dirs="'$as_qdir' $as_dirs"
11928
 
      as_dir=`$as_dirname -- "$as_dir" ||
11929
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11930
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11931
 
         X"$as_dir" : 'X\(//\)$' \| \
11932
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11933
 
echo X"$as_dir" |
11934
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11935
 
            s//\1/
11936
 
            q
11937
 
          }
11938
 
          /^X\(\/\/\)[^/].*/{
11939
 
            s//\1/
11940
 
            q
11941
 
          }
11942
 
          /^X\(\/\/\)$/{
11943
 
            s//\1/
11944
 
            q
11945
 
          }
11946
 
          /^X\(\/\).*/{
11947
 
            s//\1/
11948
 
            q
11949
 
          }
11950
 
          s/.*/./; q'`
11951
 
      test -d "$as_dir" && break
11952
 
    done
11953
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11954
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11955
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11956
 
   { (exit 1); exit 1; }; }; }
11957
 
{ as_dir=libtomcrypt/src/misc/mpi
11958
 
  case $as_dir in #(
11959
 
  -*) as_dir=./$as_dir;;
11960
 
  esac
11961
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11962
 
    as_dirs=
11963
 
    while :; do
11964
 
      case $as_dir in #(
11965
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11966
 
      *) as_qdir=$as_dir;;
11967
 
      esac
11968
 
      as_dirs="'$as_qdir' $as_dirs"
11969
 
      as_dir=`$as_dirname -- "$as_dir" ||
11970
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11971
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
11972
 
         X"$as_dir" : 'X\(//\)$' \| \
11973
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11974
 
echo X"$as_dir" |
11975
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11976
 
            s//\1/
11977
 
            q
11978
 
          }
11979
 
          /^X\(\/\/\)[^/].*/{
11980
 
            s//\1/
11981
 
            q
11982
 
          }
11983
 
          /^X\(\/\/\)$/{
11984
 
            s//\1/
11985
 
            q
11986
 
          }
11987
 
          /^X\(\/\).*/{
11988
 
            s//\1/
11989
 
            q
11990
 
          }
11991
 
          s/.*/./; q'`
11992
 
      test -d "$as_dir" && break
11993
 
    done
11994
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
11995
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11996
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
11997
 
   { (exit 1); exit 1; }; }; }
11998
 
{ as_dir=libtomcrypt/src/misc/pkcs5
11999
 
  case $as_dir in #(
12000
 
  -*) as_dir=./$as_dir;;
12001
 
  esac
12002
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12003
 
    as_dirs=
12004
 
    while :; do
12005
 
      case $as_dir in #(
12006
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12007
 
      *) as_qdir=$as_dir;;
12008
 
      esac
12009
 
      as_dirs="'$as_qdir' $as_dirs"
12010
 
      as_dir=`$as_dirname -- "$as_dir" ||
12011
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12012
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12013
 
         X"$as_dir" : 'X\(//\)$' \| \
12014
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12015
 
echo X"$as_dir" |
12016
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12017
 
            s//\1/
12018
 
            q
12019
 
          }
12020
 
          /^X\(\/\/\)[^/].*/{
12021
 
            s//\1/
12022
 
            q
12023
 
          }
12024
 
          /^X\(\/\/\)$/{
12025
 
            s//\1/
12026
 
            q
12027
 
          }
12028
 
          /^X\(\/\).*/{
12029
 
            s//\1/
12030
 
            q
12031
 
          }
12032
 
          s/.*/./; q'`
12033
 
      test -d "$as_dir" && break
12034
 
    done
12035
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12036
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12037
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12038
 
   { (exit 1); exit 1; }; }; }
12039
 
{ as_dir=libtomcrypt/src/modes/cbc
12040
 
  case $as_dir in #(
12041
 
  -*) as_dir=./$as_dir;;
12042
 
  esac
12043
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12044
 
    as_dirs=
12045
 
    while :; do
12046
 
      case $as_dir in #(
12047
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12048
 
      *) as_qdir=$as_dir;;
12049
 
      esac
12050
 
      as_dirs="'$as_qdir' $as_dirs"
12051
 
      as_dir=`$as_dirname -- "$as_dir" ||
12052
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12053
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12054
 
         X"$as_dir" : 'X\(//\)$' \| \
12055
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12056
 
echo X"$as_dir" |
12057
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12058
 
            s//\1/
12059
 
            q
12060
 
          }
12061
 
          /^X\(\/\/\)[^/].*/{
12062
 
            s//\1/
12063
 
            q
12064
 
          }
12065
 
          /^X\(\/\/\)$/{
12066
 
            s//\1/
12067
 
            q
12068
 
          }
12069
 
          /^X\(\/\).*/{
12070
 
            s//\1/
12071
 
            q
12072
 
          }
12073
 
          s/.*/./; q'`
12074
 
      test -d "$as_dir" && break
12075
 
    done
12076
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12077
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12078
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12079
 
   { (exit 1); exit 1; }; }; }
12080
 
{ as_dir=libtomcrypt/src/modes/cfb
12081
 
  case $as_dir in #(
12082
 
  -*) as_dir=./$as_dir;;
12083
 
  esac
12084
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12085
 
    as_dirs=
12086
 
    while :; do
12087
 
      case $as_dir in #(
12088
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12089
 
      *) as_qdir=$as_dir;;
12090
 
      esac
12091
 
      as_dirs="'$as_qdir' $as_dirs"
12092
 
      as_dir=`$as_dirname -- "$as_dir" ||
12093
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12094
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12095
 
         X"$as_dir" : 'X\(//\)$' \| \
12096
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12097
 
echo X"$as_dir" |
12098
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12099
 
            s//\1/
12100
 
            q
12101
 
          }
12102
 
          /^X\(\/\/\)[^/].*/{
12103
 
            s//\1/
12104
 
            q
12105
 
          }
12106
 
          /^X\(\/\/\)$/{
12107
 
            s//\1/
12108
 
            q
12109
 
          }
12110
 
          /^X\(\/\).*/{
12111
 
            s//\1/
12112
 
            q
12113
 
          }
12114
 
          s/.*/./; q'`
12115
 
      test -d "$as_dir" && break
12116
 
    done
12117
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12118
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12119
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12120
 
   { (exit 1); exit 1; }; }; }
12121
 
{ as_dir=libtomcrypt/src/modes/ctr
12122
 
  case $as_dir in #(
12123
 
  -*) as_dir=./$as_dir;;
12124
 
  esac
12125
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12126
 
    as_dirs=
12127
 
    while :; do
12128
 
      case $as_dir in #(
12129
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12130
 
      *) as_qdir=$as_dir;;
12131
 
      esac
12132
 
      as_dirs="'$as_qdir' $as_dirs"
12133
 
      as_dir=`$as_dirname -- "$as_dir" ||
12134
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12135
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12136
 
         X"$as_dir" : 'X\(//\)$' \| \
12137
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12138
 
echo X"$as_dir" |
12139
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12140
 
            s//\1/
12141
 
            q
12142
 
          }
12143
 
          /^X\(\/\/\)[^/].*/{
12144
 
            s//\1/
12145
 
            q
12146
 
          }
12147
 
          /^X\(\/\/\)$/{
12148
 
            s//\1/
12149
 
            q
12150
 
          }
12151
 
          /^X\(\/\).*/{
12152
 
            s//\1/
12153
 
            q
12154
 
          }
12155
 
          s/.*/./; q'`
12156
 
      test -d "$as_dir" && break
12157
 
    done
12158
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12159
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12160
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12161
 
   { (exit 1); exit 1; }; }; }
12162
 
{ as_dir=libtomcrypt/src/modes/ecb
12163
 
  case $as_dir in #(
12164
 
  -*) as_dir=./$as_dir;;
12165
 
  esac
12166
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12167
 
    as_dirs=
12168
 
    while :; do
12169
 
      case $as_dir in #(
12170
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12171
 
      *) as_qdir=$as_dir;;
12172
 
      esac
12173
 
      as_dirs="'$as_qdir' $as_dirs"
12174
 
      as_dir=`$as_dirname -- "$as_dir" ||
12175
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12176
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12177
 
         X"$as_dir" : 'X\(//\)$' \| \
12178
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12179
 
echo X"$as_dir" |
12180
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12181
 
            s//\1/
12182
 
            q
12183
 
          }
12184
 
          /^X\(\/\/\)[^/].*/{
12185
 
            s//\1/
12186
 
            q
12187
 
          }
12188
 
          /^X\(\/\/\)$/{
12189
 
            s//\1/
12190
 
            q
12191
 
          }
12192
 
          /^X\(\/\).*/{
12193
 
            s//\1/
12194
 
            q
12195
 
          }
12196
 
          s/.*/./; q'`
12197
 
      test -d "$as_dir" && break
12198
 
    done
12199
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12200
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12201
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12202
 
   { (exit 1); exit 1; }; }; }
12203
 
{ as_dir=libtomcrypt/src/modes/ofb
12204
 
  case $as_dir in #(
12205
 
  -*) as_dir=./$as_dir;;
12206
 
  esac
12207
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12208
 
    as_dirs=
12209
 
    while :; do
12210
 
      case $as_dir in #(
12211
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12212
 
      *) as_qdir=$as_dir;;
12213
 
      esac
12214
 
      as_dirs="'$as_qdir' $as_dirs"
12215
 
      as_dir=`$as_dirname -- "$as_dir" ||
12216
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12217
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12218
 
         X"$as_dir" : 'X\(//\)$' \| \
12219
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12220
 
echo X"$as_dir" |
12221
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12222
 
            s//\1/
12223
 
            q
12224
 
          }
12225
 
          /^X\(\/\/\)[^/].*/{
12226
 
            s//\1/
12227
 
            q
12228
 
          }
12229
 
          /^X\(\/\/\)$/{
12230
 
            s//\1/
12231
 
            q
12232
 
          }
12233
 
          /^X\(\/\).*/{
12234
 
            s//\1/
12235
 
            q
12236
 
          }
12237
 
          s/.*/./; q'`
12238
 
      test -d "$as_dir" && break
12239
 
    done
12240
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12241
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12242
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12243
 
   { (exit 1); exit 1; }; }; }
12244
 
{ as_dir=libtomcrypt/src/modes/f8
12245
 
  case $as_dir in #(
12246
 
  -*) as_dir=./$as_dir;;
12247
 
  esac
12248
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12249
 
    as_dirs=
12250
 
    while :; do
12251
 
      case $as_dir in #(
12252
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12253
 
      *) as_qdir=$as_dir;;
12254
 
      esac
12255
 
      as_dirs="'$as_qdir' $as_dirs"
12256
 
      as_dir=`$as_dirname -- "$as_dir" ||
12257
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12258
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12259
 
         X"$as_dir" : 'X\(//\)$' \| \
12260
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12261
 
echo X"$as_dir" |
12262
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12263
 
            s//\1/
12264
 
            q
12265
 
          }
12266
 
          /^X\(\/\/\)[^/].*/{
12267
 
            s//\1/
12268
 
            q
12269
 
          }
12270
 
          /^X\(\/\/\)$/{
12271
 
            s//\1/
12272
 
            q
12273
 
          }
12274
 
          /^X\(\/\).*/{
12275
 
            s//\1/
12276
 
            q
12277
 
          }
12278
 
          s/.*/./; q'`
12279
 
      test -d "$as_dir" && break
12280
 
    done
12281
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12282
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12283
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12284
 
   { (exit 1); exit 1; }; }; }
12285
 
{ as_dir=libtomcrypt/src/modes/lrw
12286
 
  case $as_dir in #(
12287
 
  -*) as_dir=./$as_dir;;
12288
 
  esac
12289
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12290
 
    as_dirs=
12291
 
    while :; do
12292
 
      case $as_dir in #(
12293
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12294
 
      *) as_qdir=$as_dir;;
12295
 
      esac
12296
 
      as_dirs="'$as_qdir' $as_dirs"
12297
 
      as_dir=`$as_dirname -- "$as_dir" ||
12298
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12299
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12300
 
         X"$as_dir" : 'X\(//\)$' \| \
12301
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12302
 
echo X"$as_dir" |
12303
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12304
 
            s//\1/
12305
 
            q
12306
 
          }
12307
 
          /^X\(\/\/\)[^/].*/{
12308
 
            s//\1/
12309
 
            q
12310
 
          }
12311
 
          /^X\(\/\/\)$/{
12312
 
            s//\1/
12313
 
            q
12314
 
          }
12315
 
          /^X\(\/\).*/{
12316
 
            s//\1/
12317
 
            q
12318
 
          }
12319
 
          s/.*/./; q'`
12320
 
      test -d "$as_dir" && break
12321
 
    done
12322
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12323
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12324
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12325
 
   { (exit 1); exit 1; }; }; }
12326
 
{ as_dir=libtomcrypt/src/pk/asn1/der/bit
12327
 
  case $as_dir in #(
12328
 
  -*) as_dir=./$as_dir;;
12329
 
  esac
12330
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12331
 
    as_dirs=
12332
 
    while :; do
12333
 
      case $as_dir in #(
12334
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12335
 
      *) as_qdir=$as_dir;;
12336
 
      esac
12337
 
      as_dirs="'$as_qdir' $as_dirs"
12338
 
      as_dir=`$as_dirname -- "$as_dir" ||
12339
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12340
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12341
 
         X"$as_dir" : 'X\(//\)$' \| \
12342
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12343
 
echo X"$as_dir" |
12344
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12345
 
            s//\1/
12346
 
            q
12347
 
          }
12348
 
          /^X\(\/\/\)[^/].*/{
12349
 
            s//\1/
12350
 
            q
12351
 
          }
12352
 
          /^X\(\/\/\)$/{
12353
 
            s//\1/
12354
 
            q
12355
 
          }
12356
 
          /^X\(\/\).*/{
12357
 
            s//\1/
12358
 
            q
12359
 
          }
12360
 
          s/.*/./; q'`
12361
 
      test -d "$as_dir" && break
12362
 
    done
12363
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12364
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12365
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12366
 
   { (exit 1); exit 1; }; }; }
12367
 
{ as_dir=libtomcrypt/src/pk/asn1/der/choice
12368
 
  case $as_dir in #(
12369
 
  -*) as_dir=./$as_dir;;
12370
 
  esac
12371
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12372
 
    as_dirs=
12373
 
    while :; do
12374
 
      case $as_dir in #(
12375
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12376
 
      *) as_qdir=$as_dir;;
12377
 
      esac
12378
 
      as_dirs="'$as_qdir' $as_dirs"
12379
 
      as_dir=`$as_dirname -- "$as_dir" ||
12380
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12381
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12382
 
         X"$as_dir" : 'X\(//\)$' \| \
12383
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12384
 
echo X"$as_dir" |
12385
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12386
 
            s//\1/
12387
 
            q
12388
 
          }
12389
 
          /^X\(\/\/\)[^/].*/{
12390
 
            s//\1/
12391
 
            q
12392
 
          }
12393
 
          /^X\(\/\/\)$/{
12394
 
            s//\1/
12395
 
            q
12396
 
          }
12397
 
          /^X\(\/\).*/{
12398
 
            s//\1/
12399
 
            q
12400
 
          }
12401
 
          s/.*/./; q'`
12402
 
      test -d "$as_dir" && break
12403
 
    done
12404
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12405
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12406
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12407
 
   { (exit 1); exit 1; }; }; }
12408
 
{ as_dir=libtomcrypt/src/pk/asn1/der/ia5
12409
 
  case $as_dir in #(
12410
 
  -*) as_dir=./$as_dir;;
12411
 
  esac
12412
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12413
 
    as_dirs=
12414
 
    while :; do
12415
 
      case $as_dir in #(
12416
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12417
 
      *) as_qdir=$as_dir;;
12418
 
      esac
12419
 
      as_dirs="'$as_qdir' $as_dirs"
12420
 
      as_dir=`$as_dirname -- "$as_dir" ||
12421
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12422
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12423
 
         X"$as_dir" : 'X\(//\)$' \| \
12424
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12425
 
echo X"$as_dir" |
12426
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12427
 
            s//\1/
12428
 
            q
12429
 
          }
12430
 
          /^X\(\/\/\)[^/].*/{
12431
 
            s//\1/
12432
 
            q
12433
 
          }
12434
 
          /^X\(\/\/\)$/{
12435
 
            s//\1/
12436
 
            q
12437
 
          }
12438
 
          /^X\(\/\).*/{
12439
 
            s//\1/
12440
 
            q
12441
 
          }
12442
 
          s/.*/./; q'`
12443
 
      test -d "$as_dir" && break
12444
 
    done
12445
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12446
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12447
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12448
 
   { (exit 1); exit 1; }; }; }
12449
 
{ as_dir=libtomcrypt/src/pk/asn1/der/integer
12450
 
  case $as_dir in #(
12451
 
  -*) as_dir=./$as_dir;;
12452
 
  esac
12453
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12454
 
    as_dirs=
12455
 
    while :; do
12456
 
      case $as_dir in #(
12457
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12458
 
      *) as_qdir=$as_dir;;
12459
 
      esac
12460
 
      as_dirs="'$as_qdir' $as_dirs"
12461
 
      as_dir=`$as_dirname -- "$as_dir" ||
12462
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12463
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12464
 
         X"$as_dir" : 'X\(//\)$' \| \
12465
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12466
 
echo X"$as_dir" |
12467
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12468
 
            s//\1/
12469
 
            q
12470
 
          }
12471
 
          /^X\(\/\/\)[^/].*/{
12472
 
            s//\1/
12473
 
            q
12474
 
          }
12475
 
          /^X\(\/\/\)$/{
12476
 
            s//\1/
12477
 
            q
12478
 
          }
12479
 
          /^X\(\/\).*/{
12480
 
            s//\1/
12481
 
            q
12482
 
          }
12483
 
          s/.*/./; q'`
12484
 
      test -d "$as_dir" && break
12485
 
    done
12486
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12487
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12488
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12489
 
   { (exit 1); exit 1; }; }; }
12490
 
{ as_dir=libtomcrypt/src/pk/asn1/der/object_identifier
12491
 
  case $as_dir in #(
12492
 
  -*) as_dir=./$as_dir;;
12493
 
  esac
12494
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12495
 
    as_dirs=
12496
 
    while :; do
12497
 
      case $as_dir in #(
12498
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12499
 
      *) as_qdir=$as_dir;;
12500
 
      esac
12501
 
      as_dirs="'$as_qdir' $as_dirs"
12502
 
      as_dir=`$as_dirname -- "$as_dir" ||
12503
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12504
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12505
 
         X"$as_dir" : 'X\(//\)$' \| \
12506
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12507
 
echo X"$as_dir" |
12508
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12509
 
            s//\1/
12510
 
            q
12511
 
          }
12512
 
          /^X\(\/\/\)[^/].*/{
12513
 
            s//\1/
12514
 
            q
12515
 
          }
12516
 
          /^X\(\/\/\)$/{
12517
 
            s//\1/
12518
 
            q
12519
 
          }
12520
 
          /^X\(\/\).*/{
12521
 
            s//\1/
12522
 
            q
12523
 
          }
12524
 
          s/.*/./; q'`
12525
 
      test -d "$as_dir" && break
12526
 
    done
12527
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12528
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12529
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12530
 
   { (exit 1); exit 1; }; }; }
12531
 
{ as_dir=libtomcrypt/src/pk/asn1/der/octet
12532
 
  case $as_dir in #(
12533
 
  -*) as_dir=./$as_dir;;
12534
 
  esac
12535
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12536
 
    as_dirs=
12537
 
    while :; do
12538
 
      case $as_dir in #(
12539
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12540
 
      *) as_qdir=$as_dir;;
12541
 
      esac
12542
 
      as_dirs="'$as_qdir' $as_dirs"
12543
 
      as_dir=`$as_dirname -- "$as_dir" ||
12544
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12545
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12546
 
         X"$as_dir" : 'X\(//\)$' \| \
12547
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12548
 
echo X"$as_dir" |
12549
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12550
 
            s//\1/
12551
 
            q
12552
 
          }
12553
 
          /^X\(\/\/\)[^/].*/{
12554
 
            s//\1/
12555
 
            q
12556
 
          }
12557
 
          /^X\(\/\/\)$/{
12558
 
            s//\1/
12559
 
            q
12560
 
          }
12561
 
          /^X\(\/\).*/{
12562
 
            s//\1/
12563
 
            q
12564
 
          }
12565
 
          s/.*/./; q'`
12566
 
      test -d "$as_dir" && break
12567
 
    done
12568
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12569
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12570
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12571
 
   { (exit 1); exit 1; }; }; }
12572
 
{ as_dir=libtomcrypt/src/pk/asn1/der/printable_string
12573
 
  case $as_dir in #(
12574
 
  -*) as_dir=./$as_dir;;
12575
 
  esac
12576
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12577
 
    as_dirs=
12578
 
    while :; do
12579
 
      case $as_dir in #(
12580
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12581
 
      *) as_qdir=$as_dir;;
12582
 
      esac
12583
 
      as_dirs="'$as_qdir' $as_dirs"
12584
 
      as_dir=`$as_dirname -- "$as_dir" ||
12585
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12586
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12587
 
         X"$as_dir" : 'X\(//\)$' \| \
12588
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12589
 
echo X"$as_dir" |
12590
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12591
 
            s//\1/
12592
 
            q
12593
 
          }
12594
 
          /^X\(\/\/\)[^/].*/{
12595
 
            s//\1/
12596
 
            q
12597
 
          }
12598
 
          /^X\(\/\/\)$/{
12599
 
            s//\1/
12600
 
            q
12601
 
          }
12602
 
          /^X\(\/\).*/{
12603
 
            s//\1/
12604
 
            q
12605
 
          }
12606
 
          s/.*/./; q'`
12607
 
      test -d "$as_dir" && break
12608
 
    done
12609
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12610
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12611
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12612
 
   { (exit 1); exit 1; }; }; }
12613
 
{ as_dir=libtomcrypt/src/pk/asn1/der/sequence
12614
 
  case $as_dir in #(
12615
 
  -*) as_dir=./$as_dir;;
12616
 
  esac
12617
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12618
 
    as_dirs=
12619
 
    while :; do
12620
 
      case $as_dir in #(
12621
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12622
 
      *) as_qdir=$as_dir;;
12623
 
      esac
12624
 
      as_dirs="'$as_qdir' $as_dirs"
12625
 
      as_dir=`$as_dirname -- "$as_dir" ||
12626
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12627
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12628
 
         X"$as_dir" : 'X\(//\)$' \| \
12629
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12630
 
echo X"$as_dir" |
12631
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12632
 
            s//\1/
12633
 
            q
12634
 
          }
12635
 
          /^X\(\/\/\)[^/].*/{
12636
 
            s//\1/
12637
 
            q
12638
 
          }
12639
 
          /^X\(\/\/\)$/{
12640
 
            s//\1/
12641
 
            q
12642
 
          }
12643
 
          /^X\(\/\).*/{
12644
 
            s//\1/
12645
 
            q
12646
 
          }
12647
 
          s/.*/./; q'`
12648
 
      test -d "$as_dir" && break
12649
 
    done
12650
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12651
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12652
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12653
 
   { (exit 1); exit 1; }; }; }
12654
 
{ as_dir=libtomcrypt/src/pk/asn1/der/short_integer
12655
 
  case $as_dir in #(
12656
 
  -*) as_dir=./$as_dir;;
12657
 
  esac
12658
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12659
 
    as_dirs=
12660
 
    while :; do
12661
 
      case $as_dir in #(
12662
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12663
 
      *) as_qdir=$as_dir;;
12664
 
      esac
12665
 
      as_dirs="'$as_qdir' $as_dirs"
12666
 
      as_dir=`$as_dirname -- "$as_dir" ||
12667
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12668
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12669
 
         X"$as_dir" : 'X\(//\)$' \| \
12670
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12671
 
echo X"$as_dir" |
12672
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12673
 
            s//\1/
12674
 
            q
12675
 
          }
12676
 
          /^X\(\/\/\)[^/].*/{
12677
 
            s//\1/
12678
 
            q
12679
 
          }
12680
 
          /^X\(\/\/\)$/{
12681
 
            s//\1/
12682
 
            q
12683
 
          }
12684
 
          /^X\(\/\).*/{
12685
 
            s//\1/
12686
 
            q
12687
 
          }
12688
 
          s/.*/./; q'`
12689
 
      test -d "$as_dir" && break
12690
 
    done
12691
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12692
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12693
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12694
 
   { (exit 1); exit 1; }; }; }
12695
 
{ as_dir=libtomcrypt/src/pk/asn1/der/utctime
12696
 
  case $as_dir in #(
12697
 
  -*) as_dir=./$as_dir;;
12698
 
  esac
12699
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12700
 
    as_dirs=
12701
 
    while :; do
12702
 
      case $as_dir in #(
12703
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12704
 
      *) as_qdir=$as_dir;;
12705
 
      esac
12706
 
      as_dirs="'$as_qdir' $as_dirs"
12707
 
      as_dir=`$as_dirname -- "$as_dir" ||
12708
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12709
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12710
 
         X"$as_dir" : 'X\(//\)$' \| \
12711
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12712
 
echo X"$as_dir" |
12713
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12714
 
            s//\1/
12715
 
            q
12716
 
          }
12717
 
          /^X\(\/\/\)[^/].*/{
12718
 
            s//\1/
12719
 
            q
12720
 
          }
12721
 
          /^X\(\/\/\)$/{
12722
 
            s//\1/
12723
 
            q
12724
 
          }
12725
 
          /^X\(\/\).*/{
12726
 
            s//\1/
12727
 
            q
12728
 
          }
12729
 
          s/.*/./; q'`
12730
 
      test -d "$as_dir" && break
12731
 
    done
12732
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12733
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12734
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12735
 
   { (exit 1); exit 1; }; }; }
12736
 
{ as_dir=libtomcrypt/src/pk/dh
12737
 
  case $as_dir in #(
12738
 
  -*) as_dir=./$as_dir;;
12739
 
  esac
12740
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12741
 
    as_dirs=
12742
 
    while :; do
12743
 
      case $as_dir in #(
12744
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12745
 
      *) as_qdir=$as_dir;;
12746
 
      esac
12747
 
      as_dirs="'$as_qdir' $as_dirs"
12748
 
      as_dir=`$as_dirname -- "$as_dir" ||
12749
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12750
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12751
 
         X"$as_dir" : 'X\(//\)$' \| \
12752
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12753
 
echo X"$as_dir" |
12754
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12755
 
            s//\1/
12756
 
            q
12757
 
          }
12758
 
          /^X\(\/\/\)[^/].*/{
12759
 
            s//\1/
12760
 
            q
12761
 
          }
12762
 
          /^X\(\/\/\)$/{
12763
 
            s//\1/
12764
 
            q
12765
 
          }
12766
 
          /^X\(\/\).*/{
12767
 
            s//\1/
12768
 
            q
12769
 
          }
12770
 
          s/.*/./; q'`
12771
 
      test -d "$as_dir" && break
12772
 
    done
12773
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12774
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12775
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12776
 
   { (exit 1); exit 1; }; }; }
12777
 
{ as_dir=libtomcrypt/src/pk/dsa
12778
 
  case $as_dir in #(
12779
 
  -*) as_dir=./$as_dir;;
12780
 
  esac
12781
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12782
 
    as_dirs=
12783
 
    while :; do
12784
 
      case $as_dir in #(
12785
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12786
 
      *) as_qdir=$as_dir;;
12787
 
      esac
12788
 
      as_dirs="'$as_qdir' $as_dirs"
12789
 
      as_dir=`$as_dirname -- "$as_dir" ||
12790
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12791
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12792
 
         X"$as_dir" : 'X\(//\)$' \| \
12793
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12794
 
echo X"$as_dir" |
12795
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12796
 
            s//\1/
12797
 
            q
12798
 
          }
12799
 
          /^X\(\/\/\)[^/].*/{
12800
 
            s//\1/
12801
 
            q
12802
 
          }
12803
 
          /^X\(\/\/\)$/{
12804
 
            s//\1/
12805
 
            q
12806
 
          }
12807
 
          /^X\(\/\).*/{
12808
 
            s//\1/
12809
 
            q
12810
 
          }
12811
 
          s/.*/./; q'`
12812
 
      test -d "$as_dir" && break
12813
 
    done
12814
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12815
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12816
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12817
 
   { (exit 1); exit 1; }; }; }
12818
 
{ as_dir=libtomcrypt/src/pk/ecc
12819
 
  case $as_dir in #(
12820
 
  -*) as_dir=./$as_dir;;
12821
 
  esac
12822
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12823
 
    as_dirs=
12824
 
    while :; do
12825
 
      case $as_dir in #(
12826
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12827
 
      *) as_qdir=$as_dir;;
12828
 
      esac
12829
 
      as_dirs="'$as_qdir' $as_dirs"
12830
 
      as_dir=`$as_dirname -- "$as_dir" ||
12831
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12832
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12833
 
         X"$as_dir" : 'X\(//\)$' \| \
12834
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12835
 
echo X"$as_dir" |
12836
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12837
 
            s//\1/
12838
 
            q
12839
 
          }
12840
 
          /^X\(\/\/\)[^/].*/{
12841
 
            s//\1/
12842
 
            q
12843
 
          }
12844
 
          /^X\(\/\/\)$/{
12845
 
            s//\1/
12846
 
            q
12847
 
          }
12848
 
          /^X\(\/\).*/{
12849
 
            s//\1/
12850
 
            q
12851
 
          }
12852
 
          s/.*/./; q'`
12853
 
      test -d "$as_dir" && break
12854
 
    done
12855
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12856
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12857
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12858
 
   { (exit 1); exit 1; }; }; }
12859
 
{ as_dir=libtomcrypt/src/pk/pkcs1
12860
 
  case $as_dir in #(
12861
 
  -*) as_dir=./$as_dir;;
12862
 
  esac
12863
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12864
 
    as_dirs=
12865
 
    while :; do
12866
 
      case $as_dir in #(
12867
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12868
 
      *) as_qdir=$as_dir;;
12869
 
      esac
12870
 
      as_dirs="'$as_qdir' $as_dirs"
12871
 
      as_dir=`$as_dirname -- "$as_dir" ||
12872
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12873
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12874
 
         X"$as_dir" : 'X\(//\)$' \| \
12875
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12876
 
echo X"$as_dir" |
12877
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12878
 
            s//\1/
12879
 
            q
12880
 
          }
12881
 
          /^X\(\/\/\)[^/].*/{
12882
 
            s//\1/
12883
 
            q
12884
 
          }
12885
 
          /^X\(\/\/\)$/{
12886
 
            s//\1/
12887
 
            q
12888
 
          }
12889
 
          /^X\(\/\).*/{
12890
 
            s//\1/
12891
 
            q
12892
 
          }
12893
 
          s/.*/./; q'`
12894
 
      test -d "$as_dir" && break
12895
 
    done
12896
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12897
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12898
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12899
 
   { (exit 1); exit 1; }; }; }
12900
 
{ as_dir=libtomcrypt/src/pk/rsa
12901
 
  case $as_dir in #(
12902
 
  -*) as_dir=./$as_dir;;
12903
 
  esac
12904
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12905
 
    as_dirs=
12906
 
    while :; do
12907
 
      case $as_dir in #(
12908
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12909
 
      *) as_qdir=$as_dir;;
12910
 
      esac
12911
 
      as_dirs="'$as_qdir' $as_dirs"
12912
 
      as_dir=`$as_dirname -- "$as_dir" ||
12913
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12914
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12915
 
         X"$as_dir" : 'X\(//\)$' \| \
12916
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12917
 
echo X"$as_dir" |
12918
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12919
 
            s//\1/
12920
 
            q
12921
 
          }
12922
 
          /^X\(\/\/\)[^/].*/{
12923
 
            s//\1/
12924
 
            q
12925
 
          }
12926
 
          /^X\(\/\/\)$/{
12927
 
            s//\1/
12928
 
            q
12929
 
          }
12930
 
          /^X\(\/\).*/{
12931
 
            s//\1/
12932
 
            q
12933
 
          }
12934
 
          s/.*/./; q'`
12935
 
      test -d "$as_dir" && break
12936
 
    done
12937
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12938
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12939
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12940
 
   { (exit 1); exit 1; }; }; }
12941
 
{ as_dir=libtomcrypt/src/prng
12942
 
  case $as_dir in #(
12943
 
  -*) as_dir=./$as_dir;;
12944
 
  esac
12945
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12946
 
    as_dirs=
12947
 
    while :; do
12948
 
      case $as_dir in #(
12949
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12950
 
      *) as_qdir=$as_dir;;
12951
 
      esac
12952
 
      as_dirs="'$as_qdir' $as_dirs"
12953
 
      as_dir=`$as_dirname -- "$as_dir" ||
12954
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12955
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
12956
 
         X"$as_dir" : 'X\(//\)$' \| \
12957
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12958
 
echo X"$as_dir" |
12959
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12960
 
            s//\1/
12961
 
            q
12962
 
          }
12963
 
          /^X\(\/\/\)[^/].*/{
12964
 
            s//\1/
12965
 
            q
12966
 
          }
12967
 
          /^X\(\/\/\)$/{
12968
 
            s//\1/
12969
 
            q
12970
 
          }
12971
 
          /^X\(\/\).*/{
12972
 
            s//\1/
12973
 
            q
12974
 
          }
12975
 
          s/.*/./; q'`
12976
 
      test -d "$as_dir" && break
12977
 
    done
12978
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12979
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12980
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
12981
 
   { (exit 1); exit 1; }; }; }
 
6821
as_dir=libtomcrypt/src/ciphers/aes; as_fn_mkdir_p
 
6822
as_dir=libtomcrypt/src/ciphers/safer; as_fn_mkdir_p
 
6823
as_dir=libtomcrypt/src/ciphers/twofish; as_fn_mkdir_p
 
6824
as_dir=libtomcrypt/src/encauth/ccm; as_fn_mkdir_p
 
6825
as_dir=libtomcrypt/src/encauth/eax; as_fn_mkdir_p
 
6826
as_dir=libtomcrypt/src/encauth/gcm; as_fn_mkdir_p
 
6827
as_dir=libtomcrypt/src/encauth/ocb; as_fn_mkdir_p
 
6828
as_dir=libtomcrypt/src/hashes; as_fn_mkdir_p
 
6829
as_dir=libtomcrypt/src/hashes/chc; as_fn_mkdir_p
 
6830
as_dir=libtomcrypt/src/hashes/helper; as_fn_mkdir_p
 
6831
as_dir=libtomcrypt/src/hashes/sha2; as_fn_mkdir_p
 
6832
as_dir=libtomcrypt/src/hashes/whirl; as_fn_mkdir_p
 
6833
as_dir=libtomcrypt/src/mac/hmac; as_fn_mkdir_p
 
6834
as_dir=libtomcrypt/src/mac/omac; as_fn_mkdir_p
 
6835
as_dir=libtomcrypt/src/mac/pelican; as_fn_mkdir_p
 
6836
as_dir=libtomcrypt/src/mac/pmac; as_fn_mkdir_p
 
6837
as_dir=libtomcrypt/src/mac/f9; as_fn_mkdir_p
 
6838
as_dir=libtomcrypt/src/mac/xcbc; as_fn_mkdir_p
 
6839
as_dir=libtomcrypt/src/math/fp; as_fn_mkdir_p
 
6840
as_dir=libtomcrypt/src/misc/base64; as_fn_mkdir_p
 
6841
as_dir=libtomcrypt/src/misc/crypt; as_fn_mkdir_p
 
6842
as_dir=libtomcrypt/src/misc/mpi; as_fn_mkdir_p
 
6843
as_dir=libtomcrypt/src/misc/pkcs5; as_fn_mkdir_p
 
6844
as_dir=libtomcrypt/src/modes/cbc; as_fn_mkdir_p
 
6845
as_dir=libtomcrypt/src/modes/cfb; as_fn_mkdir_p
 
6846
as_dir=libtomcrypt/src/modes/ctr; as_fn_mkdir_p
 
6847
as_dir=libtomcrypt/src/modes/ecb; as_fn_mkdir_p
 
6848
as_dir=libtomcrypt/src/modes/ofb; as_fn_mkdir_p
 
6849
as_dir=libtomcrypt/src/modes/f8; as_fn_mkdir_p
 
6850
as_dir=libtomcrypt/src/modes/lrw; as_fn_mkdir_p
 
6851
as_dir=libtomcrypt/src/pk/asn1/der/bit; as_fn_mkdir_p
 
6852
as_dir=libtomcrypt/src/pk/asn1/der/choice; as_fn_mkdir_p
 
6853
as_dir=libtomcrypt/src/pk/asn1/der/ia5; as_fn_mkdir_p
 
6854
as_dir=libtomcrypt/src/pk/asn1/der/integer; as_fn_mkdir_p
 
6855
as_dir=libtomcrypt/src/pk/asn1/der/object_identifier; as_fn_mkdir_p
 
6856
as_dir=libtomcrypt/src/pk/asn1/der/octet; as_fn_mkdir_p
 
6857
as_dir=libtomcrypt/src/pk/asn1/der/printable_string; as_fn_mkdir_p
 
6858
as_dir=libtomcrypt/src/pk/asn1/der/sequence; as_fn_mkdir_p
 
6859
as_dir=libtomcrypt/src/pk/asn1/der/short_integer; as_fn_mkdir_p
 
6860
as_dir=libtomcrypt/src/pk/asn1/der/utctime; as_fn_mkdir_p
 
6861
as_dir=libtomcrypt/src/pk/dh; as_fn_mkdir_p
 
6862
as_dir=libtomcrypt/src/pk/dsa; as_fn_mkdir_p
 
6863
as_dir=libtomcrypt/src/pk/ecc; as_fn_mkdir_p
 
6864
as_dir=libtomcrypt/src/pk/pkcs1; as_fn_mkdir_p
 
6865
as_dir=libtomcrypt/src/pk/rsa; as_fn_mkdir_p
 
6866
as_dir=libtomcrypt/src/prng; as_fn_mkdir_p
12982
6867
ac_config_headers="$ac_config_headers config.h"
12983
6868
 
12984
6869
ac_config_files="$ac_config_files Makefile"
13010
6895
    case $ac_val in #(
13011
6896
    *${as_nl}*)
13012
6897
      case $ac_var in #(
13013
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13014
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
6898
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
6899
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13015
6900
      esac
13016
6901
      case $ac_var in #(
13017
6902
      _ | IFS | as_nl) ;; #(
13018
 
      *) $as_unset $ac_var ;;
 
6903
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
6904
      *) { eval $ac_var=; unset $ac_var;} ;;
13019
6905
      esac ;;
13020
6906
    esac
13021
6907
  done
13023
6909
  (set) 2>&1 |
13024
6910
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13025
6911
    *${as_nl}ac_space=\ *)
13026
 
      # `set' does not quote correctly, so add quotes (double-quote
13027
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
6912
      # `set' does not quote correctly, so add quotes: double-quote
 
6913
      # substitution turns \\\\ into \\, and sed turns \\ into \.
13028
6914
      sed -n \
13029
6915
        "s/'/'\\\\''/g;
13030
6916
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13046
6932
     :end' >>confcache
13047
6933
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13048
6934
  if test -w "$cache_file"; then
13049
 
    test "x$cache_file" != "x/dev/null" &&
13050
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13051
 
echo "$as_me: updating cache $cache_file" >&6;}
13052
 
    cat confcache >$cache_file
 
6935
    if test "x$cache_file" != "x/dev/null"; then
 
6936
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
6937
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
6938
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
6939
        cat confcache >"$cache_file"
 
6940
      else
 
6941
        case $cache_file in #(
 
6942
        */* | ?:*)
 
6943
          mv -f confcache "$cache_file"$$ &&
 
6944
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
6945
        *)
 
6946
          mv -f confcache "$cache_file" ;;
 
6947
        esac
 
6948
      fi
 
6949
    fi
13053
6950
  else
13054
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13055
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
6951
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
6952
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13056
6953
  fi
13057
6954
fi
13058
6955
rm -f confcache
13065
6962
 
13066
6963
ac_libobjs=
13067
6964
ac_ltlibobjs=
 
6965
U=
13068
6966
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13069
6967
  # 1. Remove the extension, and $U if already installed.
13070
6968
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13071
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
6969
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13072
6970
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13073
6971
  #    will be set to the directory where LIBOBJS objects are built.
13074
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13075
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
6972
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
6973
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13076
6974
done
13077
6975
LIBOBJS=$ac_libobjs
13078
6976
 
13080
6978
 
13081
6979
 
13082
6980
 
13083
 
: ${CONFIG_STATUS=./config.status}
 
6981
: "${CONFIG_STATUS=./config.status}"
 
6982
ac_write_fail=0
13084
6983
ac_clean_files_save=$ac_clean_files
13085
6984
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13086
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13087
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
13088
 
cat >$CONFIG_STATUS <<_ACEOF
 
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
6986
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
6987
as_write_fail=0
 
6988
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13089
6989
#! $SHELL
13090
6990
# Generated by $as_me.
13091
6991
# Run this file to recreate the current configuration.
13095
6995
debug=false
13096
6996
ac_cs_recheck=false
13097
6997
ac_cs_silent=false
 
6998
 
13098
6999
SHELL=\${CONFIG_SHELL-$SHELL}
13099
 
_ACEOF
13100
 
 
13101
 
cat >>$CONFIG_STATUS <<\_ACEOF
13102
 
## --------------------- ##
13103
 
## M4sh Initialization.  ##
13104
 
## --------------------- ##
 
7000
export SHELL
 
7001
_ASEOF
 
7002
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
7003
## -------------------- ##
 
7004
## M4sh Initialization. ##
 
7005
## -------------------- ##
13105
7006
 
13106
7007
# Be more Bourne compatible
13107
7008
DUALCASE=1; export DUALCASE # for MKS sh
13108
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
7009
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13109
7010
  emulate sh
13110
7011
  NULLCMD=:
13111
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
7012
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13112
7013
  # is contrary to our usage.  Disable this feature.
13113
7014
  alias -g '${1+"$@"}'='"$@"'
13114
7015
  setopt NO_GLOB_SUBST
13115
7016
else
13116
 
  case `(set -o) 2>/dev/null` in
13117
 
  *posix*) set -o posix ;;
 
7017
  case `(set -o) 2>/dev/null` in #(
 
7018
  *posix*) :
 
7019
    set -o posix ;; #(
 
7020
  *) :
 
7021
     ;;
13118
7022
esac
13119
 
 
13120
 
fi
13121
 
 
13122
 
 
13123
 
 
13124
 
 
13125
 
# PATH needs CR
13126
 
# Avoid depending upon Character Ranges.
13127
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13128
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13129
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13130
 
as_cr_digits='0123456789'
13131
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
7023
fi
 
7024
 
 
7025
 
 
7026
as_nl='
 
7027
'
 
7028
export as_nl
 
7029
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
7030
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
7031
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
7032
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
7033
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
7034
# but without wasting forks for bash or zsh.
 
7035
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
7036
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
7037
  as_echo='print -r --'
 
7038
  as_echo_n='print -rn --'
 
7039
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
7040
  as_echo='printf %s\n'
 
7041
  as_echo_n='printf %s'
 
7042
else
 
7043
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
7044
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
7045
    as_echo_n='/usr/ucb/echo -n'
 
7046
  else
 
7047
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
7048
    as_echo_n_body='eval
 
7049
      arg=$1;
 
7050
      case $arg in #(
 
7051
      *"$as_nl"*)
 
7052
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
7053
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
7054
      esac;
 
7055
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
7056
    '
 
7057
    export as_echo_n_body
 
7058
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
7059
  fi
 
7060
  export as_echo_body
 
7061
  as_echo='sh -c $as_echo_body as_echo'
 
7062
fi
13132
7063
 
13133
7064
# The user is always right.
13134
7065
if test "${PATH_SEPARATOR+set}" != set; then
13135
 
  echo "#! /bin/sh" >conf$$.sh
13136
 
  echo  "exit 0"   >>conf$$.sh
13137
 
  chmod +x conf$$.sh
13138
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13139
 
    PATH_SEPARATOR=';'
13140
 
  else
13141
 
    PATH_SEPARATOR=:
13142
 
  fi
13143
 
  rm -f conf$$.sh
13144
 
fi
13145
 
 
13146
 
# Support unset when possible.
13147
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13148
 
  as_unset=unset
13149
 
else
13150
 
  as_unset=false
 
7066
  PATH_SEPARATOR=:
 
7067
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
7068
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
7069
      PATH_SEPARATOR=';'
 
7070
  }
13151
7071
fi
13152
7072
 
13153
7073
 
13156
7076
# there to prevent editors from complaining about space-tab.
13157
7077
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13158
7078
# splitting by setting IFS to empty value.)
13159
 
as_nl='
13160
 
'
13161
7079
IFS=" ""        $as_nl"
13162
7080
 
13163
7081
# Find who we are.  Look in the path if we contain no directory separator.
13164
 
case $0 in
 
7082
as_myself=
 
7083
case $0 in #((
13165
7084
  *[\\/]* ) as_myself=$0 ;;
13166
7085
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167
7086
for as_dir in $PATH
13168
7087
do
13169
7088
  IFS=$as_save_IFS
13170
7089
  test -z "$as_dir" && as_dir=.
13171
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13172
 
done
 
7090
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
7091
  done
13173
7092
IFS=$as_save_IFS
13174
7093
 
13175
7094
     ;;
13180
7099
  as_myself=$0
13181
7100
fi
13182
7101
if test ! -f "$as_myself"; then
13183
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13184
 
  { (exit 1); exit 1; }
 
7102
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
7103
  exit 1
13185
7104
fi
13186
7105
 
13187
 
# Work around bugs in pre-3.0 UWIN ksh.
13188
 
for as_var in ENV MAIL MAILPATH
13189
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
7106
# Unset variables that we do not need and which cause bugs (e.g. in
 
7107
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
7108
# suppresses any "Segmentation fault" message there.  '((' could
 
7109
# trigger a bug in pdksh 5.2.14.
 
7110
for as_var in BASH_ENV ENV MAIL MAILPATH
 
7111
do eval test x\${$as_var+set} = xset \
 
7112
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13190
7113
done
13191
7114
PS1='$ '
13192
7115
PS2='> '
13193
7116
PS4='+ '
13194
7117
 
13195
7118
# NLS nuisances.
13196
 
for as_var in \
13197
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13198
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13199
 
  LC_TELEPHONE LC_TIME
13200
 
do
13201
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13202
 
    eval $as_var=C; export $as_var
13203
 
  else
13204
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
7119
LC_ALL=C
 
7120
export LC_ALL
 
7121
LANGUAGE=C
 
7122
export LANGUAGE
 
7123
 
 
7124
# CDPATH.
 
7125
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
7126
 
 
7127
 
 
7128
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
7129
# ----------------------------------------
 
7130
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
7131
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
7132
# script with STATUS, using 1 if that was 0.
 
7133
as_fn_error ()
 
7134
{
 
7135
  as_status=$1; test $as_status -eq 0 && as_status=1
 
7136
  if test "$4"; then
 
7137
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
7138
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13205
7139
  fi
13206
 
done
13207
 
 
13208
 
# Required to use basename.
 
7140
  $as_echo "$as_me: error: $2" >&2
 
7141
  as_fn_exit $as_status
 
7142
} # as_fn_error
 
7143
 
 
7144
 
 
7145
# as_fn_set_status STATUS
 
7146
# -----------------------
 
7147
# Set $? to STATUS, without forking.
 
7148
as_fn_set_status ()
 
7149
{
 
7150
  return $1
 
7151
} # as_fn_set_status
 
7152
 
 
7153
# as_fn_exit STATUS
 
7154
# -----------------
 
7155
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
7156
as_fn_exit ()
 
7157
{
 
7158
  set +e
 
7159
  as_fn_set_status $1
 
7160
  exit $1
 
7161
} # as_fn_exit
 
7162
 
 
7163
# as_fn_unset VAR
 
7164
# ---------------
 
7165
# Portably unset VAR.
 
7166
as_fn_unset ()
 
7167
{
 
7168
  { eval $1=; unset $1;}
 
7169
}
 
7170
as_unset=as_fn_unset
 
7171
# as_fn_append VAR VALUE
 
7172
# ----------------------
 
7173
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
7174
# advantage of any shell optimizations that allow amortized linear growth over
 
7175
# repeated appends, instead of the typical quadratic growth present in naive
 
7176
# implementations.
 
7177
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
7178
  eval 'as_fn_append ()
 
7179
  {
 
7180
    eval $1+=\$2
 
7181
  }'
 
7182
else
 
7183
  as_fn_append ()
 
7184
  {
 
7185
    eval $1=\$$1\$2
 
7186
  }
 
7187
fi # as_fn_append
 
7188
 
 
7189
# as_fn_arith ARG...
 
7190
# ------------------
 
7191
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
7192
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
7193
# must be portable across $(()) and expr.
 
7194
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
7195
  eval 'as_fn_arith ()
 
7196
  {
 
7197
    as_val=$(( $* ))
 
7198
  }'
 
7199
else
 
7200
  as_fn_arith ()
 
7201
  {
 
7202
    as_val=`expr "$@" || test $? -eq 1`
 
7203
  }
 
7204
fi # as_fn_arith
 
7205
 
 
7206
 
13209
7207
if expr a : '\(a\)' >/dev/null 2>&1 &&
13210
7208
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13211
7209
  as_expr=expr
13219
7217
  as_basename=false
13220
7218
fi
13221
7219
 
 
7220
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
7221
  as_dirname=dirname
 
7222
else
 
7223
  as_dirname=false
 
7224
fi
13222
7225
 
13223
 
# Name of the executable.
13224
7226
as_me=`$as_basename -- "$0" ||
13225
7227
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13226
7228
         X"$0" : 'X\(//\)$' \| \
13227
7229
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13228
 
echo X/"$0" |
 
7230
$as_echo X/"$0" |
13229
7231
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13230
7232
            s//\1/
13231
7233
            q
13240
7242
          }
13241
7243
          s/.*/./; q'`
13242
7244
 
13243
 
# CDPATH.
13244
 
$as_unset CDPATH
13245
 
 
13246
 
 
13247
 
 
13248
 
  as_lineno_1=$LINENO
13249
 
  as_lineno_2=$LINENO
13250
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
13251
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13252
 
 
13253
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13254
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
13255
 
  # line-number line after each line using $LINENO; the second 'sed'
13256
 
  # does the real work.  The second script uses 'N' to pair each
13257
 
  # line-number line with the line containing $LINENO, and appends
13258
 
  # trailing '-' during substitution so that $LINENO is not a special
13259
 
  # case at line end.
13260
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13261
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13262
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
13263
 
  sed -n '
13264
 
    p
13265
 
    /[$]LINENO/=
13266
 
  ' <$as_myself |
13267
 
    sed '
13268
 
      s/[$]LINENO.*/&-/
13269
 
      t lineno
13270
 
      b
13271
 
      :lineno
13272
 
      N
13273
 
      :loop
13274
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13275
 
      t loop
13276
 
      s/-\n.*//
13277
 
    ' >$as_me.lineno &&
13278
 
  chmod +x "$as_me.lineno" ||
13279
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13280
 
   { (exit 1); exit 1; }; }
13281
 
 
13282
 
  # Don't try to exec as it changes $[0], causing all sort of problems
13283
 
  # (the dirname of $[0] is not the place where we might find the
13284
 
  # original and so on.  Autoconf is especially sensitive to this).
13285
 
  . "./$as_me.lineno"
13286
 
  # Exit status is that of the last command.
13287
 
  exit
13288
 
}
13289
 
 
13290
 
 
13291
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13292
 
  as_dirname=dirname
13293
 
else
13294
 
  as_dirname=false
13295
 
fi
 
7245
# Avoid depending upon Character Ranges.
 
7246
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
7247
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
7248
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
7249
as_cr_digits='0123456789'
 
7250
as_cr_alnum=$as_cr_Letters$as_cr_digits
13296
7251
 
13297
7252
ECHO_C= ECHO_N= ECHO_T=
13298
 
case `echo -n x` in
 
7253
case `echo -n x` in #(((((
13299
7254
-n*)
13300
 
  case `echo 'x\c'` in
 
7255
  case `echo 'xy\c'` in
13301
7256
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13302
 
  *)   ECHO_C='\c';;
 
7257
  xy)  ECHO_C='\c';;
 
7258
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
7259
       ECHO_T=' ';;
13303
7260
  esac;;
13304
7261
*)
13305
7262
  ECHO_N='-n';;
13306
7263
esac
13307
7264
 
13308
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
13309
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13310
 
  as_expr=expr
13311
 
else
13312
 
  as_expr=false
13313
 
fi
13314
 
 
13315
7265
rm -f conf$$ conf$$.exe conf$$.file
13316
7266
if test -d conf$$.dir; then
13317
7267
  rm -f conf$$.dir/conf$$.file
13318
7268
else
13319
7269
  rm -f conf$$.dir
13320
 
  mkdir conf$$.dir
 
7270
  mkdir conf$$.dir 2>/dev/null
13321
7271
fi
13322
 
echo >conf$$.file
13323
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
13324
 
  as_ln_s='ln -s'
13325
 
  # ... but there are two gotchas:
13326
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13327
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13328
 
  # In both cases, we have to default to `cp -p'.
13329
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13330
 
    as_ln_s='cp -p'
13331
 
elif ln conf$$.file conf$$ 2>/dev/null; then
13332
 
  as_ln_s=ln
 
7272
if (echo >conf$$.file) 2>/dev/null; then
 
7273
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
7274
    as_ln_s='ln -s'
 
7275
    # ... but there are two gotchas:
 
7276
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
7277
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
7278
    # In both cases, we have to default to `cp -pR'.
 
7279
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
7280
      as_ln_s='cp -pR'
 
7281
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
7282
    as_ln_s=ln
 
7283
  else
 
7284
    as_ln_s='cp -pR'
 
7285
  fi
13333
7286
else
13334
 
  as_ln_s='cp -p'
 
7287
  as_ln_s='cp -pR'
13335
7288
fi
13336
7289
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13337
7290
rmdir conf$$.dir 2>/dev/null
13338
7291
 
 
7292
 
 
7293
# as_fn_mkdir_p
 
7294
# -------------
 
7295
# Create "$as_dir" as a directory, including parents if necessary.
 
7296
as_fn_mkdir_p ()
 
7297
{
 
7298
 
 
7299
  case $as_dir in #(
 
7300
  -*) as_dir=./$as_dir;;
 
7301
  esac
 
7302
  test -d "$as_dir" || eval $as_mkdir_p || {
 
7303
    as_dirs=
 
7304
    while :; do
 
7305
      case $as_dir in #(
 
7306
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
7307
      *) as_qdir=$as_dir;;
 
7308
      esac
 
7309
      as_dirs="'$as_qdir' $as_dirs"
 
7310
      as_dir=`$as_dirname -- "$as_dir" ||
 
7311
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7312
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
7313
         X"$as_dir" : 'X\(//\)$' \| \
 
7314
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
7315
$as_echo X"$as_dir" |
 
7316
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7317
            s//\1/
 
7318
            q
 
7319
          }
 
7320
          /^X\(\/\/\)[^/].*/{
 
7321
            s//\1/
 
7322
            q
 
7323
          }
 
7324
          /^X\(\/\/\)$/{
 
7325
            s//\1/
 
7326
            q
 
7327
          }
 
7328
          /^X\(\/\).*/{
 
7329
            s//\1/
 
7330
            q
 
7331
          }
 
7332
          s/.*/./; q'`
 
7333
      test -d "$as_dir" && break
 
7334
    done
 
7335
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
7336
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
7337
 
 
7338
 
 
7339
} # as_fn_mkdir_p
13339
7340
if mkdir -p . 2>/dev/null; then
13340
 
  as_mkdir_p=:
 
7341
  as_mkdir_p='mkdir -p "$as_dir"'
13341
7342
else
13342
7343
  test -d ./-p && rmdir ./-p
13343
7344
  as_mkdir_p=false
13344
7345
fi
13345
7346
 
13346
 
if test -x / >/dev/null 2>&1; then
13347
 
  as_test_x='test -x'
13348
 
else
13349
 
  if ls -dL / >/dev/null 2>&1; then
13350
 
    as_ls_L_option=L
13351
 
  else
13352
 
    as_ls_L_option=
13353
 
  fi
13354
 
  as_test_x='
13355
 
    eval sh -c '\''
13356
 
      if test -d "$1"; then
13357
 
        test -d "$1/.";
13358
 
      else
13359
 
        case $1 in
13360
 
        -*)set "./$1";;
13361
 
        esac;
13362
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13363
 
        ???[sx]*):;;*)false;;esac;fi
13364
 
    '\'' sh
13365
 
  '
13366
 
fi
13367
 
as_executable_p=$as_test_x
 
7347
 
 
7348
# as_fn_executable_p FILE
 
7349
# -----------------------
 
7350
# Test if FILE is an executable regular file.
 
7351
as_fn_executable_p ()
 
7352
{
 
7353
  test -f "$1" && test -x "$1"
 
7354
} # as_fn_executable_p
 
7355
as_test_x='test -x'
 
7356
as_executable_p=as_fn_executable_p
13368
7357
 
13369
7358
# Sed expression to map a string onto a valid CPP name.
13370
7359
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13374
7363
 
13375
7364
 
13376
7365
exec 6>&1
 
7366
## ----------------------------------- ##
 
7367
## Main body of $CONFIG_STATUS script. ##
 
7368
## ----------------------------------- ##
 
7369
_ASEOF
 
7370
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13377
7371
 
13378
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
7372
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7373
# Save the log message, to keep $0 and so on meaningful, and to
13379
7374
# report actual input values of CONFIG_FILES etc. instead of their
13380
7375
# values after options handling.
13381
7376
ac_log="
13382
7377
This file was extended by $as_me, which was
13383
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
7378
generated by GNU Autoconf 2.69.  Invocation command line was
13384
7379
 
13385
7380
  CONFIG_FILES    = $CONFIG_FILES
13386
7381
  CONFIG_HEADERS  = $CONFIG_HEADERS
13393
7388
 
13394
7389
_ACEOF
13395
7390
 
13396
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7391
case $ac_config_files in *"
 
7392
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
7393
esac
 
7394
 
 
7395
case $ac_config_headers in *"
 
7396
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
7397
esac
 
7398
 
 
7399
 
 
7400
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13397
7401
# Files that config.status was made for.
13398
7402
config_files="$ac_config_files"
13399
7403
config_headers="$ac_config_headers"
13400
7404
 
13401
7405
_ACEOF
13402
7406
 
13403
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7407
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13404
7408
ac_cs_usage="\
13405
 
\`$as_me' instantiates files from templates according to the
13406
 
current configuration.
 
7409
\`$as_me' instantiates files and other configuration actions
 
7410
from templates according to the current configuration.  Unless the files
 
7411
and actions are specified as TAGs, all are instantiated by default.
13407
7412
 
13408
 
Usage: $0 [OPTIONS] [FILE]...
 
7413
Usage: $0 [OPTION]... [TAG]...
13409
7414
 
13410
7415
  -h, --help       print this help, then exit
13411
7416
  -V, --version    print version number and configuration settings, then exit
13412
 
  -q, --quiet      do not print progress messages
 
7417
      --config     print configuration, then exit
 
7418
  -q, --quiet, --silent
 
7419
                   do not print progress messages
13413
7420
  -d, --debug      don't remove temporary files
13414
7421
      --recheck    update $as_me by reconfiguring in the same conditions
13415
 
  --file=FILE[:TEMPLATE]
13416
 
                   instantiate the configuration file FILE
13417
 
  --header=FILE[:TEMPLATE]
13418
 
                   instantiate the configuration header FILE
 
7422
      --file=FILE[:TEMPLATE]
 
7423
                   instantiate the configuration file FILE
 
7424
      --header=FILE[:TEMPLATE]
 
7425
                   instantiate the configuration header FILE
13419
7426
 
13420
7427
Configuration files:
13421
7428
$config_files
13423
7430
Configuration headers:
13424
7431
$config_headers
13425
7432
 
13426
 
Report bugs to <bug-autoconf@gnu.org>."
 
7433
Report bugs to the package provider."
13427
7434
 
13428
7435
_ACEOF
13429
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7436
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7437
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13430
7438
ac_cs_version="\\
13431
7439
config.status
13432
 
configured by $0, generated by GNU Autoconf 2.61,
13433
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
7440
configured by $0, generated by GNU Autoconf 2.69,
 
7441
  with options \\"\$ac_cs_config\\"
13434
7442
 
13435
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
7443
Copyright (C) 2012 Free Software Foundation, Inc.
13436
7444
This config.status script is free software; the Free Software Foundation
13437
7445
gives unlimited permission to copy, distribute and modify it."
13438
7446
 
13439
7447
ac_pwd='$ac_pwd'
13440
7448
srcdir='$srcdir'
 
7449
test -n "\$AWK" || AWK=awk
13441
7450
_ACEOF
13442
7451
 
13443
 
cat >>$CONFIG_STATUS <<\_ACEOF
13444
 
# If no file are specified by the user, then we need to provide default
13445
 
# value.  By we need to know if files were specified by the user.
 
7452
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7453
# The default lists apply if the user does not specify any file.
13446
7454
ac_need_defaults=:
13447
7455
while test $# != 0
13448
7456
do
13449
7457
  case $1 in
13450
 
  --*=*)
 
7458
  --*=?*)
13451
7459
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13452
7460
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13453
7461
    ac_shift=:
13454
7462
    ;;
 
7463
  --*=)
 
7464
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
7465
    ac_optarg=
 
7466
    ac_shift=:
 
7467
    ;;
13455
7468
  *)
13456
7469
    ac_option=$1
13457
7470
    ac_optarg=$2
13464
7477
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13465
7478
    ac_cs_recheck=: ;;
13466
7479
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13467
 
    echo "$ac_cs_version"; exit ;;
 
7480
    $as_echo "$ac_cs_version"; exit ;;
 
7481
  --config | --confi | --conf | --con | --co | --c )
 
7482
    $as_echo "$ac_cs_config"; exit ;;
13468
7483
  --debug | --debu | --deb | --de | --d | -d )
13469
7484
    debug=: ;;
13470
7485
  --file | --fil | --fi | --f )
13471
7486
    $ac_shift
13472
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
7487
    case $ac_optarg in
 
7488
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
7489
    '') as_fn_error $? "missing file argument" ;;
 
7490
    esac
 
7491
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13473
7492
    ac_need_defaults=false;;
13474
7493
  --header | --heade | --head | --hea )
13475
7494
    $ac_shift
13476
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
7495
    case $ac_optarg in
 
7496
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
7497
    esac
 
7498
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13477
7499
    ac_need_defaults=false;;
13478
7500
  --he | --h)
13479
7501
    # Conflict between --help and --header
13480
 
    { echo "$as_me: error: ambiguous option: $1
13481
 
Try \`$0 --help' for more information." >&2
13482
 
   { (exit 1); exit 1; }; };;
 
7502
    as_fn_error $? "ambiguous option: \`$1'
 
7503
Try \`$0 --help' for more information.";;
13483
7504
  --help | --hel | -h )
13484
 
    echo "$ac_cs_usage"; exit ;;
 
7505
    $as_echo "$ac_cs_usage"; exit ;;
13485
7506
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13486
7507
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13487
7508
    ac_cs_silent=: ;;
13488
7509
 
13489
7510
  # This is an error.
13490
 
  -*) { echo "$as_me: error: unrecognized option: $1
13491
 
Try \`$0 --help' for more information." >&2
13492
 
   { (exit 1); exit 1; }; } ;;
 
7511
  -*) as_fn_error $? "unrecognized option: \`$1'
 
7512
Try \`$0 --help' for more information." ;;
13493
7513
 
13494
 
  *) ac_config_targets="$ac_config_targets $1"
 
7514
  *) as_fn_append ac_config_targets " $1"
13495
7515
     ac_need_defaults=false ;;
13496
7516
 
13497
7517
  esac
13506
7526
fi
13507
7527
 
13508
7528
_ACEOF
13509
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7529
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13510
7530
if \$ac_cs_recheck; then
13511
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13512
 
  CONFIG_SHELL=$SHELL
 
7531
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7532
  shift
 
7533
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
7534
  CONFIG_SHELL='$SHELL'
13513
7535
  export CONFIG_SHELL
13514
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7536
  exec "\$@"
13515
7537
fi
13516
7538
 
13517
7539
_ACEOF
13518
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7540
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13519
7541
exec 5>>config.log
13520
7542
{
13521
7543
  echo
13522
7544
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13523
7545
## Running $as_me. ##
13524
7546
_ASBOX
13525
 
  echo "$ac_log"
 
7547
  $as_echo "$ac_log"
13526
7548
} >&5
13527
7549
 
13528
7550
_ACEOF
13529
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7551
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13530
7552
_ACEOF
13531
7553
 
13532
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7554
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13533
7555
 
13534
7556
# Handling of arguments.
13535
7557
for ac_config_target in $ac_config_targets
13538
7560
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13539
7561
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13540
7562
 
13541
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13542
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13543
 
   { (exit 1); exit 1; }; };;
 
7563
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13544
7564
  esac
13545
7565
done
13546
7566
 
13562
7582
# after its creation but before its name has been assigned to `$tmp'.
13563
7583
$debug ||
13564
7584
{
13565
 
  tmp=
 
7585
  tmp= ac_tmp=
13566
7586
  trap 'exit_status=$?
13567
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
7587
  : "${ac_tmp:=$tmp}"
 
7588
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13568
7589
' 0
13569
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
7590
  trap 'as_fn_exit 1' 1 2 13 15
13570
7591
}
13571
7592
# Create a (secure) tmp directory for tmp files.
13572
7593
 
13573
7594
{
13574
7595
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13575
 
  test -n "$tmp" && test -d "$tmp"
 
7596
  test -d "$tmp"
13576
7597
}  ||
13577
7598
{
13578
7599
  tmp=./conf$$-$RANDOM
13579
7600
  (umask 077 && mkdir "$tmp")
13580
 
} ||
13581
 
{
13582
 
   echo "$me: cannot create a temporary directory in ." >&2
13583
 
   { (exit 1); exit 1; }
13584
 
}
13585
 
 
13586
 
#
13587
 
# Set up the sed scripts for CONFIG_FILES section.
13588
 
#
13589
 
 
13590
 
# No need to generate the scripts if there are no CONFIG_FILES.
13591
 
# This happens for instance when ./config.status config.h
 
7601
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
7602
ac_tmp=$tmp
 
7603
 
 
7604
# Set up the scripts for CONFIG_FILES section.
 
7605
# No need to generate them if there are no CONFIG_FILES.
 
7606
# This happens for instance with `./config.status config.h'.
13592
7607
if test -n "$CONFIG_FILES"; then
13593
7608
 
 
7609
 
 
7610
ac_cr=`echo X | tr X '\015'`
 
7611
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
7612
# But we know of no other shell where ac_cr would be empty at this
 
7613
# point, so we can use a bashism as a fallback.
 
7614
if test "x$ac_cr" = x; then
 
7615
  eval ac_cr=\$\'\\r\'
 
7616
fi
 
7617
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
7618
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
7619
  ac_cs_awk_cr='\\r'
 
7620
else
 
7621
  ac_cs_awk_cr=$ac_cr
 
7622
fi
 
7623
 
 
7624
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13594
7625
_ACEOF
13595
7626
 
13596
7627
 
13597
 
 
 
7628
{
 
7629
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
7630
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
7631
  echo "_ACEOF"
 
7632
} >conf$$subs.sh ||
 
7633
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
7634
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13598
7635
ac_delim='%!_!# '
13599
7636
for ac_last_try in false false false false false :; do
13600
 
  cat >conf$$subs.sed <<_ACEOF
13601
 
SHELL!$SHELL$ac_delim
13602
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13603
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13604
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13605
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13606
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13607
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13608
 
exec_prefix!$exec_prefix$ac_delim
13609
 
prefix!$prefix$ac_delim
13610
 
program_transform_name!$program_transform_name$ac_delim
13611
 
bindir!$bindir$ac_delim
13612
 
sbindir!$sbindir$ac_delim
13613
 
libexecdir!$libexecdir$ac_delim
13614
 
datarootdir!$datarootdir$ac_delim
13615
 
datadir!$datadir$ac_delim
13616
 
sysconfdir!$sysconfdir$ac_delim
13617
 
sharedstatedir!$sharedstatedir$ac_delim
13618
 
localstatedir!$localstatedir$ac_delim
13619
 
includedir!$includedir$ac_delim
13620
 
oldincludedir!$oldincludedir$ac_delim
13621
 
docdir!$docdir$ac_delim
13622
 
infodir!$infodir$ac_delim
13623
 
htmldir!$htmldir$ac_delim
13624
 
dvidir!$dvidir$ac_delim
13625
 
pdfdir!$pdfdir$ac_delim
13626
 
psdir!$psdir$ac_delim
13627
 
libdir!$libdir$ac_delim
13628
 
localedir!$localedir$ac_delim
13629
 
mandir!$mandir$ac_delim
13630
 
DEFS!$DEFS$ac_delim
13631
 
ECHO_C!$ECHO_C$ac_delim
13632
 
ECHO_N!$ECHO_N$ac_delim
13633
 
ECHO_T!$ECHO_T$ac_delim
13634
 
LIBS!$LIBS$ac_delim
13635
 
build_alias!$build_alias$ac_delim
13636
 
host_alias!$host_alias$ac_delim
13637
 
target_alias!$target_alias$ac_delim
13638
 
CC!$CC$ac_delim
13639
 
CFLAGS!$CFLAGS$ac_delim
13640
 
LDFLAGS!$LDFLAGS$ac_delim
13641
 
CPPFLAGS!$CPPFLAGS$ac_delim
13642
 
ac_ct_CC!$ac_ct_CC$ac_delim
13643
 
EXEEXT!$EXEEXT$ac_delim
13644
 
OBJEXT!$OBJEXT$ac_delim
13645
 
SET_MAKE!$SET_MAKE$ac_delim
13646
 
LD!$LD$ac_delim
13647
 
build!$build$ac_delim
13648
 
build_cpu!$build_cpu$ac_delim
13649
 
build_vendor!$build_vendor$ac_delim
13650
 
build_os!$build_os$ac_delim
13651
 
host!$host$ac_delim
13652
 
host_cpu!$host_cpu$ac_delim
13653
 
host_vendor!$host_vendor$ac_delim
13654
 
host_os!$host_os$ac_delim
13655
 
AR!$AR$ac_delim
13656
 
RANLIB!$RANLIB$ac_delim
13657
 
STRIP!$STRIP$ac_delim
13658
 
INSTALL!$INSTALL$ac_delim
13659
 
CPP!$CPP$ac_delim
13660
 
GREP!$GREP$ac_delim
13661
 
EGREP!$EGREP$ac_delim
13662
 
CRYPTLIB!$CRYPTLIB$ac_delim
13663
 
BUNDLED_LIBTOM!$BUNDLED_LIBTOM$ac_delim
13664
 
LIBOBJS!$LIBOBJS$ac_delim
13665
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
13666
 
_ACEOF
 
7637
  . ./conf$$subs.sh ||
 
7638
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13667
7639
 
13668
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
 
7640
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
7641
  if test $ac_delim_n = $ac_delim_num; then
13669
7642
    break
13670
7643
  elif $ac_last_try; then
13671
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13672
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13673
 
   { (exit 1); exit 1; }; }
 
7644
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13674
7645
  else
13675
7646
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13676
7647
  fi
13677
7648
done
13678
 
 
13679
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13680
 
if test -n "$ac_eof"; then
13681
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13682
 
  ac_eof=`expr $ac_eof + 1`
13683
 
fi
13684
 
 
13685
 
cat >>$CONFIG_STATUS <<_ACEOF
13686
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13687
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13688
 
_ACEOF
13689
 
sed '
13690
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13691
 
s/^/s,@/; s/!/@,|#_!!_#|/
13692
 
:n
13693
 
t n
13694
 
s/'"$ac_delim"'$/,g/; t
13695
 
s/$/\\/; p
13696
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13697
 
' >>$CONFIG_STATUS <conf$$subs.sed
13698
 
rm -f conf$$subs.sed
13699
 
cat >>$CONFIG_STATUS <<_ACEOF
13700
 
:end
13701
 
s/|#_!!_#|//g
13702
 
CEOF$ac_eof
13703
 
_ACEOF
13704
 
 
13705
 
 
13706
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13707
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
7649
rm -f conf$$subs.sh
 
7650
 
 
7651
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7652
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
7653
_ACEOF
 
7654
sed -n '
 
7655
h
 
7656
s/^/S["/; s/!.*/"]=/
 
7657
p
 
7658
g
 
7659
s/^[^!]*!//
 
7660
:repl
 
7661
t repl
 
7662
s/'"$ac_delim"'$//
 
7663
t delim
 
7664
:nl
 
7665
h
 
7666
s/\(.\{148\}\)..*/\1/
 
7667
t more1
 
7668
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
7669
p
 
7670
n
 
7671
b repl
 
7672
:more1
 
7673
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7674
p
 
7675
g
 
7676
s/.\{148\}//
 
7677
t nl
 
7678
:delim
 
7679
h
 
7680
s/\(.\{148\}\)..*/\1/
 
7681
t more2
 
7682
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
7683
p
 
7684
b
 
7685
:more2
 
7686
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7687
p
 
7688
g
 
7689
s/.\{148\}//
 
7690
t delim
 
7691
' <conf$$subs.awk | sed '
 
7692
/^[^""]/{
 
7693
  N
 
7694
  s/\n//
 
7695
}
 
7696
' >>$CONFIG_STATUS || ac_write_fail=1
 
7697
rm -f conf$$subs.awk
 
7698
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7699
_ACAWK
 
7700
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
7701
  for (key in S) S_is_set[key] = 1
 
7702
  FS = ""
 
7703
 
 
7704
}
 
7705
{
 
7706
  line = $ 0
 
7707
  nfields = split(line, field, "@")
 
7708
  substed = 0
 
7709
  len = length(field[1])
 
7710
  for (i = 2; i < nfields; i++) {
 
7711
    key = field[i]
 
7712
    keylen = length(key)
 
7713
    if (S_is_set[key]) {
 
7714
      value = S[key]
 
7715
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
7716
      len += length(value) + length(field[++i])
 
7717
      substed = 1
 
7718
    } else
 
7719
      len += 1 + keylen
 
7720
  }
 
7721
 
 
7722
  print line
 
7723
}
 
7724
 
 
7725
_ACAWK
 
7726
_ACEOF
 
7727
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7728
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
7729
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
7730
else
 
7731
  cat
 
7732
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
7733
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
7734
_ACEOF
 
7735
 
 
7736
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
7737
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13708
7738
# trailing colons and then remove the whole line if VPATH becomes empty
13709
7739
# (actually we leave an empty line to preserve line numbers).
13710
7740
if test "x$srcdir" = x.; then
13711
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13712
 
s/:*\$(srcdir):*/:/
13713
 
s/:*\${srcdir}:*/:/
13714
 
s/:*@srcdir@:*/:/
13715
 
s/^\([^=]*=[     ]*\):*/\1/
 
7741
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
7742
h
 
7743
s///
 
7744
s/^/:/
 
7745
s/[      ]*$/:/
 
7746
s/:\$(srcdir):/:/g
 
7747
s/:\${srcdir}:/:/g
 
7748
s/:@srcdir@:/:/g
 
7749
s/^:*//
13716
7750
s/:*$//
 
7751
x
 
7752
s/\(=[   ]*\).*/\1/
 
7753
G
 
7754
s/\n//
13717
7755
s/^[^=]*=[       ]*$//
13718
7756
}'
13719
7757
fi
13720
7758
 
13721
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7759
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13722
7760
fi # test -n "$CONFIG_FILES"
13723
7761
 
13724
 
 
13725
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
7762
# Set up the scripts for CONFIG_HEADERS section.
 
7763
# No need to generate them if there are no CONFIG_HEADERS.
 
7764
# This happens for instance with `./config.status Makefile'.
 
7765
if test -n "$CONFIG_HEADERS"; then
 
7766
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
7767
BEGIN {
 
7768
_ACEOF
 
7769
 
 
7770
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
7771
# here-document in config.status, that substitutes the proper values into
 
7772
# config.h.in to produce config.h.
 
7773
 
 
7774
# Create a delimiter string that does not exist in confdefs.h, to ease
 
7775
# handling of long lines.
 
7776
ac_delim='%!_!# '
 
7777
for ac_last_try in false false :; do
 
7778
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
7779
  if test -z "$ac_tt"; then
 
7780
    break
 
7781
  elif $ac_last_try; then
 
7782
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
7783
  else
 
7784
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
7785
  fi
 
7786
done
 
7787
 
 
7788
# For the awk script, D is an array of macro values keyed by name,
 
7789
# likewise P contains macro parameters if any.  Preserve backslash
 
7790
# newline sequences.
 
7791
 
 
7792
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
7793
sed -n '
 
7794
s/.\{148\}/&'"$ac_delim"'/g
 
7795
t rset
 
7796
:rset
 
7797
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
7798
t def
 
7799
d
 
7800
:def
 
7801
s/\\$//
 
7802
t bsnl
 
7803
s/["\\]/\\&/g
 
7804
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7805
D["\1"]=" \3"/p
 
7806
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
7807
d
 
7808
:bsnl
 
7809
s/["\\]/\\&/g
 
7810
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7811
D["\1"]=" \3\\\\\\n"\\/p
 
7812
t cont
 
7813
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
7814
t cont
 
7815
d
 
7816
:cont
 
7817
n
 
7818
s/.\{148\}/&'"$ac_delim"'/g
 
7819
t clear
 
7820
:clear
 
7821
s/\\$//
 
7822
t bsnlc
 
7823
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
7824
d
 
7825
:bsnlc
 
7826
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
7827
b cont
 
7828
' <confdefs.h | sed '
 
7829
s/'"$ac_delim"'/"\\\
 
7830
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
7831
 
 
7832
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7833
  for (key in D) D_is_set[key] = 1
 
7834
  FS = ""
 
7835
}
 
7836
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
7837
  line = \$ 0
 
7838
  split(line, arg, " ")
 
7839
  if (arg[1] == "#") {
 
7840
    defundef = arg[2]
 
7841
    mac1 = arg[3]
 
7842
  } else {
 
7843
    defundef = substr(arg[1], 2)
 
7844
    mac1 = arg[2]
 
7845
  }
 
7846
  split(mac1, mac2, "(") #)
 
7847
  macro = mac2[1]
 
7848
  prefix = substr(line, 1, index(line, defundef) - 1)
 
7849
  if (D_is_set[macro]) {
 
7850
    # Preserve the white space surrounding the "#".
 
7851
    print prefix "define", macro P[macro] D[macro]
 
7852
    next
 
7853
  } else {
 
7854
    # Replace #undef with comments.  This is necessary, for example,
 
7855
    # in the case of _POSIX_SOURCE, which is predefined and required
 
7856
    # on some systems where configure will not decide to define it.
 
7857
    if (defundef == "undef") {
 
7858
      print "/*", prefix defundef, macro, "*/"
 
7859
      next
 
7860
    }
 
7861
  }
 
7862
}
 
7863
{ print }
 
7864
_ACAWK
 
7865
_ACEOF
 
7866
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7867
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
7868
fi # test -n "$CONFIG_HEADERS"
 
7869
 
 
7870
 
 
7871
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 
7872
shift
 
7873
for ac_tag
13726
7874
do
13727
7875
  case $ac_tag in
13728
7876
  :[FHLC]) ac_mode=$ac_tag; continue;;
13729
7877
  esac
13730
7878
  case $ac_mode$ac_tag in
13731
7879
  :[FHL]*:*);;
13732
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13733
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13734
 
   { (exit 1); exit 1; }; };;
 
7880
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13735
7881
  :[FH]-) ac_tag=-:-;;
13736
7882
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13737
7883
  esac
13750
7896
    for ac_f
13751
7897
    do
13752
7898
      case $ac_f in
13753
 
      -) ac_f="$tmp/stdin";;
 
7899
      -) ac_f="$ac_tmp/stdin";;
13754
7900
      *) # Look for the file first in the build tree, then in the source tree
13755
7901
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13756
7902
         # because $ac_f cannot contain `:'.
13759
7905
           [\\/$]*) false;;
13760
7906
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13761
7907
           esac ||
13762
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13763
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13764
 
   { (exit 1); exit 1; }; };;
 
7908
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13765
7909
      esac
13766
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
7910
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
7911
      as_fn_append ac_file_inputs " '$ac_f'"
13767
7912
    done
13768
7913
 
13769
7914
    # Let's still pretend it is `configure' which instantiates (i.e., don't
13770
7915
    # use $as_me), people would be surprised to read:
13771
7916
    #    /* config.h.  Generated by config.status.  */
13772
 
    configure_input="Generated from "`IFS=:
13773
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
7917
    configure_input='Generated from '`
 
7918
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
7919
        `' by configure.'
13774
7920
    if test x"$ac_file" != x-; then
13775
7921
      configure_input="$ac_file.  $configure_input"
13776
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
13777
 
echo "$as_me: creating $ac_file" >&6;}
 
7922
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
7923
$as_echo "$as_me: creating $ac_file" >&6;}
13778
7924
    fi
 
7925
    # Neutralize special characters interpreted by sed in replacement strings.
 
7926
    case $configure_input in #(
 
7927
    *\&* | *\|* | *\\* )
 
7928
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
7929
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
7930
    *) ac_sed_conf_input=$configure_input;;
 
7931
    esac
13779
7932
 
13780
7933
    case $ac_tag in
13781
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
7934
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
7935
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13782
7936
    esac
13783
7937
    ;;
13784
7938
  esac
13788
7942
         X"$ac_file" : 'X\(//\)[^/]' \| \
13789
7943
         X"$ac_file" : 'X\(//\)$' \| \
13790
7944
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13791
 
echo X"$ac_file" |
13792
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13793
 
            s//\1/
13794
 
            q
13795
 
          }
13796
 
          /^X\(\/\/\)[^/].*/{
13797
 
            s//\1/
13798
 
            q
13799
 
          }
13800
 
          /^X\(\/\/\)$/{
13801
 
            s//\1/
13802
 
            q
13803
 
          }
13804
 
          /^X\(\/\).*/{
13805
 
            s//\1/
13806
 
            q
13807
 
          }
13808
 
          s/.*/./; q'`
13809
 
  { as_dir="$ac_dir"
13810
 
  case $as_dir in #(
13811
 
  -*) as_dir=./$as_dir;;
13812
 
  esac
13813
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13814
 
    as_dirs=
13815
 
    while :; do
13816
 
      case $as_dir in #(
13817
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13818
 
      *) as_qdir=$as_dir;;
13819
 
      esac
13820
 
      as_dirs="'$as_qdir' $as_dirs"
13821
 
      as_dir=`$as_dirname -- "$as_dir" ||
13822
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13823
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13824
 
         X"$as_dir" : 'X\(//\)$' \| \
13825
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13826
 
echo X"$as_dir" |
13827
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13828
 
            s//\1/
13829
 
            q
13830
 
          }
13831
 
          /^X\(\/\/\)[^/].*/{
13832
 
            s//\1/
13833
 
            q
13834
 
          }
13835
 
          /^X\(\/\/\)$/{
13836
 
            s//\1/
13837
 
            q
13838
 
          }
13839
 
          /^X\(\/\).*/{
13840
 
            s//\1/
13841
 
            q
13842
 
          }
13843
 
          s/.*/./; q'`
13844
 
      test -d "$as_dir" && break
13845
 
    done
13846
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13847
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13848
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
13849
 
   { (exit 1); exit 1; }; }; }
 
7945
$as_echo X"$ac_file" |
 
7946
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
7947
            s//\1/
 
7948
            q
 
7949
          }
 
7950
          /^X\(\/\/\)[^/].*/{
 
7951
            s//\1/
 
7952
            q
 
7953
          }
 
7954
          /^X\(\/\/\)$/{
 
7955
            s//\1/
 
7956
            q
 
7957
          }
 
7958
          /^X\(\/\).*/{
 
7959
            s//\1/
 
7960
            q
 
7961
          }
 
7962
          s/.*/./; q'`
 
7963
  as_dir="$ac_dir"; as_fn_mkdir_p
13850
7964
  ac_builddir=.
13851
7965
 
13852
7966
case "$ac_dir" in
13853
7967
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13854
7968
*)
13855
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
7969
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13856
7970
  # A ".." for each directory in $ac_dir_suffix.
13857
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
7971
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13858
7972
  case $ac_top_builddir_sub in
13859
7973
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13860
7974
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13890
8004
 
13891
8005
_ACEOF
13892
8006
 
13893
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
8007
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13894
8008
# If the template does not know about datarootdir, expand it.
13895
8009
# FIXME: This hack should be removed a few years after 2.60.
13896
8010
ac_datarootdir_hack=; ac_datarootdir_seen=
13897
 
 
13898
 
case `sed -n '/datarootdir/ {
 
8011
ac_sed_dataroot='
 
8012
/datarootdir/ {
13899
8013
  p
13900
8014
  q
13901
8015
}
13903
8017
/@docdir@/p
13904
8018
/@infodir@/p
13905
8019
/@localedir@/p
13906
 
/@mandir@/p
13907
 
' $ac_file_inputs` in
 
8020
/@mandir@/p'
 
8021
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13908
8022
*datarootdir*) ac_datarootdir_seen=yes;;
13909
8023
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13910
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13911
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
8024
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
8025
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13912
8026
_ACEOF
13913
 
cat >>$CONFIG_STATUS <<_ACEOF
 
8027
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13914
8028
  ac_datarootdir_hack='
13915
8029
  s&@datadir@&$datadir&g
13916
8030
  s&@docdir@&$docdir&g
13917
8031
  s&@infodir@&$infodir&g
13918
8032
  s&@localedir@&$localedir&g
13919
8033
  s&@mandir@&$mandir&g
13920
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
8034
  s&\\\${datarootdir}&$datarootdir&g' ;;
13921
8035
esac
13922
8036
_ACEOF
13923
8037
 
13924
8038
# Neutralize VPATH when `$srcdir' = `.'.
13925
8039
# Shell code in configure.ac might set extrasub.
13926
8040
# FIXME: do we really want to maintain this feature?
13927
 
cat >>$CONFIG_STATUS <<_ACEOF
13928
 
  sed "$ac_vpsub
 
8041
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8042
ac_sed_extra="$ac_vpsub
13929
8043
$extrasub
13930
8044
_ACEOF
13931
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
8045
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13932
8046
:t
13933
8047
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13934
 
s&@configure_input@&$configure_input&;t t
 
8048
s|@configure_input@|$ac_sed_conf_input|;t t
13935
8049
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
8050
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13936
8051
s&@srcdir@&$ac_srcdir&;t t
13937
8052
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13938
8053
s&@top_srcdir@&$ac_top_srcdir&;t t
13941
8056
s&@abs_builddir@&$ac_abs_builddir&;t t
13942
8057
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13943
8058
$ac_datarootdir_hack
13944
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
8059
"
 
8060
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
8061
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13945
8062
 
13946
8063
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13947
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13948
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13949
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13950
 
which seems to be undefined.  Please make sure it is defined." >&5
13951
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13952
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
8064
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
8065
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
8066
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
8067
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
8068
which seems to be undefined.  Please make sure it is defined" >&5
 
8069
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
8070
which seems to be undefined.  Please make sure it is defined" >&2;}
13953
8071
 
13954
 
  rm -f "$tmp/stdin"
 
8072
  rm -f "$ac_tmp/stdin"
13955
8073
  case $ac_file in
13956
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
13957
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13958
 
  esac
 
8074
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
8075
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
8076
  esac \
 
8077
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13959
8078
 ;;
13960
8079
  :H)
13961
8080
  #
13962
8081
  # CONFIG_HEADER
13963
8082
  #
13964
 
_ACEOF
13965
 
 
13966
 
# Transform confdefs.h into a sed script `conftest.defines', that
13967
 
# substitutes the proper values into config.h.in to produce config.h.
13968
 
rm -f conftest.defines conftest.tail
13969
 
# First, append a space to every undef/define line, to ease matching.
13970
 
echo 's/$/ /' >conftest.defines
13971
 
# Then, protect against being on the right side of a sed subst, or in
13972
 
# an unquoted here document, in config.status.  If some macros were
13973
 
# called several times there might be several #defines for the same
13974
 
# symbol, which is useless.  But do not sort them, since the last
13975
 
# AC_DEFINE must be honored.
13976
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13977
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13978
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
13979
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
13980
 
# just an empty string.
13981
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
13982
 
ac_dB='\\)[      (].*,\\1define\\2'
13983
 
ac_dC=' '
13984
 
ac_dD=' ,'
13985
 
 
13986
 
uniq confdefs.h |
13987
 
  sed -n '
13988
 
        t rset
13989
 
        :rset
13990
 
        s/^[     ]*#[    ]*define[       ][      ]*//
13991
 
        t ok
13992
 
        d
13993
 
        :ok
13994
 
        s/[\\&,]/\\&/g
13995
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13996
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13997
 
  ' >>conftest.defines
13998
 
 
13999
 
# Remove the space that was appended to ease matching.
14000
 
# Then replace #undef with comments.  This is necessary, for
14001
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
14002
 
# on some systems where configure will not decide to define it.
14003
 
# (The regexp can be short, since the line contains either #define or #undef.)
14004
 
echo 's/ $//
14005
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
14006
 
 
14007
 
# Break up conftest.defines:
14008
 
ac_max_sed_lines=50
14009
 
 
14010
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14011
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14012
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14013
 
# et cetera.
14014
 
ac_in='$ac_file_inputs'
14015
 
ac_out='"$tmp/out1"'
14016
 
ac_nxt='"$tmp/out2"'
14017
 
 
14018
 
while :
14019
 
do
14020
 
  # Write a here document:
14021
 
    cat >>$CONFIG_STATUS <<_ACEOF
14022
 
    # First, check the format of the line:
14023
 
    cat >"\$tmp/defines.sed" <<\\CEOF
14024
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
14025
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
14026
 
b
14027
 
:def
14028
 
_ACEOF
14029
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14030
 
  echo 'CEOF
14031
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14032
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14033
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14034
 
  grep . conftest.tail >/dev/null || break
14035
 
  rm -f conftest.defines
14036
 
  mv conftest.tail conftest.defines
14037
 
done
14038
 
rm -f conftest.defines conftest.tail
14039
 
 
14040
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
14041
 
cat >>$CONFIG_STATUS <<\_ACEOF
14042
8083
  if test x"$ac_file" != x-; then
14043
 
    echo "/* $configure_input  */" >"$tmp/config.h"
14044
 
    cat "$ac_result" >>"$tmp/config.h"
14045
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14046
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14047
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
8084
    {
 
8085
      $as_echo "/* $configure_input  */" \
 
8086
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
8087
    } >"$ac_tmp/config.h" \
 
8088
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
8089
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
8090
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
8091
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14048
8092
    else
14049
 
      rm -f $ac_file
14050
 
      mv "$tmp/config.h" $ac_file
 
8093
      rm -f "$ac_file"
 
8094
      mv "$ac_tmp/config.h" "$ac_file" \
 
8095
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14051
8096
    fi
14052
8097
  else
14053
 
    echo "/* $configure_input  */"
14054
 
    cat "$ac_result"
 
8098
    $as_echo "/* $configure_input  */" \
 
8099
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
8100
      || as_fn_error $? "could not create -" "$LINENO" 5
14055
8101
  fi
14056
 
  rm -f "$tmp/out12"
14057
8102
 ;;
14058
8103
 
14059
8104
 
14062
8107
done # for ac_tag
14063
8108
 
14064
8109
 
14065
 
{ (exit 0); exit 0; }
 
8110
as_fn_exit 0
14066
8111
_ACEOF
14067
 
chmod +x $CONFIG_STATUS
14068
8112
ac_clean_files=$ac_clean_files_save
14069
8113
 
 
8114
test $ac_write_fail = 0 ||
 
8115
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
8116
 
14070
8117
 
14071
8118
# configure is writing to config.log, and then calls config.status.
14072
8119
# config.status does its own redirection, appending to config.log.
14086
8133
  exec 5>>config.log
14087
8134
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14088
8135
  # would make configure fail if this is the last instruction.
14089
 
  $ac_cs_success || { (exit 1); exit 1; }
 
8136
  $ac_cs_success || as_fn_exit 1
 
8137
fi
 
8138
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
8139
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
8140
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14090
8141
fi
14091
8142
 
14092
8143
ac_config_files="$ac_config_files libtomcrypt/Makefile"
14118
8169
    case $ac_val in #(
14119
8170
    *${as_nl}*)
14120
8171
      case $ac_var in #(
14121
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14122
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
8172
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
8173
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14123
8174
      esac
14124
8175
      case $ac_var in #(
14125
8176
      _ | IFS | as_nl) ;; #(
14126
 
      *) $as_unset $ac_var ;;
 
8177
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
8178
      *) { eval $ac_var=; unset $ac_var;} ;;
14127
8179
      esac ;;
14128
8180
    esac
14129
8181
  done
14131
8183
  (set) 2>&1 |
14132
8184
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14133
8185
    *${as_nl}ac_space=\ *)
14134
 
      # `set' does not quote correctly, so add quotes (double-quote
14135
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
8186
      # `set' does not quote correctly, so add quotes: double-quote
 
8187
      # substitution turns \\\\ into \\, and sed turns \\ into \.
14136
8188
      sed -n \
14137
8189
        "s/'/'\\\\''/g;
14138
8190
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14154
8206
     :end' >>confcache
14155
8207
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14156
8208
  if test -w "$cache_file"; then
14157
 
    test "x$cache_file" != "x/dev/null" &&
14158
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14159
 
echo "$as_me: updating cache $cache_file" >&6;}
14160
 
    cat confcache >$cache_file
 
8209
    if test "x$cache_file" != "x/dev/null"; then
 
8210
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
8211
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
8212
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
8213
        cat confcache >"$cache_file"
 
8214
      else
 
8215
        case $cache_file in #(
 
8216
        */* | ?:*)
 
8217
          mv -f confcache "$cache_file"$$ &&
 
8218
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
8219
        *)
 
8220
          mv -f confcache "$cache_file" ;;
 
8221
        esac
 
8222
      fi
 
8223
    fi
14161
8224
  else
14162
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14163
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
8225
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
8226
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14164
8227
  fi
14165
8228
fi
14166
8229
rm -f confcache
14173
8236
 
14174
8237
ac_libobjs=
14175
8238
ac_ltlibobjs=
 
8239
U=
14176
8240
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14177
8241
  # 1. Remove the extension, and $U if already installed.
14178
8242
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14179
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
8243
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14180
8244
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14181
8245
  #    will be set to the directory where LIBOBJS objects are built.
14182
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14183
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
8246
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
8247
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14184
8248
done
14185
8249
LIBOBJS=$ac_libobjs
14186
8250
 
14188
8252
 
14189
8253
 
14190
8254
 
14191
 
: ${CONFIG_STATUS=./config.status}
 
8255
: "${CONFIG_STATUS=./config.status}"
 
8256
ac_write_fail=0
14192
8257
ac_clean_files_save=$ac_clean_files
14193
8258
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14194
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14195
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
14196
 
cat >$CONFIG_STATUS <<_ACEOF
 
8259
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
8260
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
8261
as_write_fail=0
 
8262
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14197
8263
#! $SHELL
14198
8264
# Generated by $as_me.
14199
8265
# Run this file to recreate the current configuration.
14203
8269
debug=false
14204
8270
ac_cs_recheck=false
14205
8271
ac_cs_silent=false
 
8272
 
14206
8273
SHELL=\${CONFIG_SHELL-$SHELL}
14207
 
_ACEOF
14208
 
 
14209
 
cat >>$CONFIG_STATUS <<\_ACEOF
14210
 
## --------------------- ##
14211
 
## M4sh Initialization.  ##
14212
 
## --------------------- ##
 
8274
export SHELL
 
8275
_ASEOF
 
8276
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
8277
## -------------------- ##
 
8278
## M4sh Initialization. ##
 
8279
## -------------------- ##
14213
8280
 
14214
8281
# Be more Bourne compatible
14215
8282
DUALCASE=1; export DUALCASE # for MKS sh
14216
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
8283
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14217
8284
  emulate sh
14218
8285
  NULLCMD=:
14219
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
8286
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14220
8287
  # is contrary to our usage.  Disable this feature.
14221
8288
  alias -g '${1+"$@"}'='"$@"'
14222
8289
  setopt NO_GLOB_SUBST
14223
8290
else
14224
 
  case `(set -o) 2>/dev/null` in
14225
 
  *posix*) set -o posix ;;
 
8291
  case `(set -o) 2>/dev/null` in #(
 
8292
  *posix*) :
 
8293
    set -o posix ;; #(
 
8294
  *) :
 
8295
     ;;
14226
8296
esac
14227
 
 
14228
 
fi
14229
 
 
14230
 
 
14231
 
 
14232
 
 
14233
 
# PATH needs CR
14234
 
# Avoid depending upon Character Ranges.
14235
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14236
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14237
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14238
 
as_cr_digits='0123456789'
14239
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
8297
fi
 
8298
 
 
8299
 
 
8300
as_nl='
 
8301
'
 
8302
export as_nl
 
8303
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
8304
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
8305
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
8306
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
8307
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
8308
# but without wasting forks for bash or zsh.
 
8309
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
8310
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
8311
  as_echo='print -r --'
 
8312
  as_echo_n='print -rn --'
 
8313
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
8314
  as_echo='printf %s\n'
 
8315
  as_echo_n='printf %s'
 
8316
else
 
8317
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
8318
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
8319
    as_echo_n='/usr/ucb/echo -n'
 
8320
  else
 
8321
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
8322
    as_echo_n_body='eval
 
8323
      arg=$1;
 
8324
      case $arg in #(
 
8325
      *"$as_nl"*)
 
8326
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
8327
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
8328
      esac;
 
8329
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
8330
    '
 
8331
    export as_echo_n_body
 
8332
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
8333
  fi
 
8334
  export as_echo_body
 
8335
  as_echo='sh -c $as_echo_body as_echo'
 
8336
fi
14240
8337
 
14241
8338
# The user is always right.
14242
8339
if test "${PATH_SEPARATOR+set}" != set; then
14243
 
  echo "#! /bin/sh" >conf$$.sh
14244
 
  echo  "exit 0"   >>conf$$.sh
14245
 
  chmod +x conf$$.sh
14246
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14247
 
    PATH_SEPARATOR=';'
14248
 
  else
14249
 
    PATH_SEPARATOR=:
14250
 
  fi
14251
 
  rm -f conf$$.sh
14252
 
fi
14253
 
 
14254
 
# Support unset when possible.
14255
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14256
 
  as_unset=unset
14257
 
else
14258
 
  as_unset=false
 
8340
  PATH_SEPARATOR=:
 
8341
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
8342
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
8343
      PATH_SEPARATOR=';'
 
8344
  }
14259
8345
fi
14260
8346
 
14261
8347
 
14264
8350
# there to prevent editors from complaining about space-tab.
14265
8351
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14266
8352
# splitting by setting IFS to empty value.)
14267
 
as_nl='
14268
 
'
14269
8353
IFS=" ""        $as_nl"
14270
8354
 
14271
8355
# Find who we are.  Look in the path if we contain no directory separator.
14272
 
case $0 in
 
8356
as_myself=
 
8357
case $0 in #((
14273
8358
  *[\\/]* ) as_myself=$0 ;;
14274
8359
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14275
8360
for as_dir in $PATH
14276
8361
do
14277
8362
  IFS=$as_save_IFS
14278
8363
  test -z "$as_dir" && as_dir=.
14279
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14280
 
done
 
8364
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
8365
  done
14281
8366
IFS=$as_save_IFS
14282
8367
 
14283
8368
     ;;
14288
8373
  as_myself=$0
14289
8374
fi
14290
8375
if test ! -f "$as_myself"; then
14291
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14292
 
  { (exit 1); exit 1; }
 
8376
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
8377
  exit 1
14293
8378
fi
14294
8379
 
14295
 
# Work around bugs in pre-3.0 UWIN ksh.
14296
 
for as_var in ENV MAIL MAILPATH
14297
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8380
# Unset variables that we do not need and which cause bugs (e.g. in
 
8381
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
8382
# suppresses any "Segmentation fault" message there.  '((' could
 
8383
# trigger a bug in pdksh 5.2.14.
 
8384
for as_var in BASH_ENV ENV MAIL MAILPATH
 
8385
do eval test x\${$as_var+set} = xset \
 
8386
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14298
8387
done
14299
8388
PS1='$ '
14300
8389
PS2='> '
14301
8390
PS4='+ '
14302
8391
 
14303
8392
# NLS nuisances.
14304
 
for as_var in \
14305
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14306
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14307
 
  LC_TELEPHONE LC_TIME
14308
 
do
14309
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14310
 
    eval $as_var=C; export $as_var
14311
 
  else
14312
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
8393
LC_ALL=C
 
8394
export LC_ALL
 
8395
LANGUAGE=C
 
8396
export LANGUAGE
 
8397
 
 
8398
# CDPATH.
 
8399
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
8400
 
 
8401
 
 
8402
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
8403
# ----------------------------------------
 
8404
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
8405
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
8406
# script with STATUS, using 1 if that was 0.
 
8407
as_fn_error ()
 
8408
{
 
8409
  as_status=$1; test $as_status -eq 0 && as_status=1
 
8410
  if test "$4"; then
 
8411
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
8412
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14313
8413
  fi
14314
 
done
14315
 
 
14316
 
# Required to use basename.
 
8414
  $as_echo "$as_me: error: $2" >&2
 
8415
  as_fn_exit $as_status
 
8416
} # as_fn_error
 
8417
 
 
8418
 
 
8419
# as_fn_set_status STATUS
 
8420
# -----------------------
 
8421
# Set $? to STATUS, without forking.
 
8422
as_fn_set_status ()
 
8423
{
 
8424
  return $1
 
8425
} # as_fn_set_status
 
8426
 
 
8427
# as_fn_exit STATUS
 
8428
# -----------------
 
8429
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
8430
as_fn_exit ()
 
8431
{
 
8432
  set +e
 
8433
  as_fn_set_status $1
 
8434
  exit $1
 
8435
} # as_fn_exit
 
8436
 
 
8437
# as_fn_unset VAR
 
8438
# ---------------
 
8439
# Portably unset VAR.
 
8440
as_fn_unset ()
 
8441
{
 
8442
  { eval $1=; unset $1;}
 
8443
}
 
8444
as_unset=as_fn_unset
 
8445
# as_fn_append VAR VALUE
 
8446
# ----------------------
 
8447
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
8448
# advantage of any shell optimizations that allow amortized linear growth over
 
8449
# repeated appends, instead of the typical quadratic growth present in naive
 
8450
# implementations.
 
8451
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
8452
  eval 'as_fn_append ()
 
8453
  {
 
8454
    eval $1+=\$2
 
8455
  }'
 
8456
else
 
8457
  as_fn_append ()
 
8458
  {
 
8459
    eval $1=\$$1\$2
 
8460
  }
 
8461
fi # as_fn_append
 
8462
 
 
8463
# as_fn_arith ARG...
 
8464
# ------------------
 
8465
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
8466
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
8467
# must be portable across $(()) and expr.
 
8468
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
8469
  eval 'as_fn_arith ()
 
8470
  {
 
8471
    as_val=$(( $* ))
 
8472
  }'
 
8473
else
 
8474
  as_fn_arith ()
 
8475
  {
 
8476
    as_val=`expr "$@" || test $? -eq 1`
 
8477
  }
 
8478
fi # as_fn_arith
 
8479
 
 
8480
 
14317
8481
if expr a : '\(a\)' >/dev/null 2>&1 &&
14318
8482
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14319
8483
  as_expr=expr
14327
8491
  as_basename=false
14328
8492
fi
14329
8493
 
 
8494
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
8495
  as_dirname=dirname
 
8496
else
 
8497
  as_dirname=false
 
8498
fi
14330
8499
 
14331
 
# Name of the executable.
14332
8500
as_me=`$as_basename -- "$0" ||
14333
8501
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14334
8502
         X"$0" : 'X\(//\)$' \| \
14335
8503
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14336
 
echo X/"$0" |
 
8504
$as_echo X/"$0" |
14337
8505
    sed '/^.*\/\([^/][^/]*\)\/*$/{
14338
8506
            s//\1/
14339
8507
            q
14348
8516
          }
14349
8517
          s/.*/./; q'`
14350
8518
 
14351
 
# CDPATH.
14352
 
$as_unset CDPATH
14353
 
 
14354
 
 
14355
 
 
14356
 
  as_lineno_1=$LINENO
14357
 
  as_lineno_2=$LINENO
14358
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
14359
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14360
 
 
14361
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14362
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
14363
 
  # line-number line after each line using $LINENO; the second 'sed'
14364
 
  # does the real work.  The second script uses 'N' to pair each
14365
 
  # line-number line with the line containing $LINENO, and appends
14366
 
  # trailing '-' during substitution so that $LINENO is not a special
14367
 
  # case at line end.
14368
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14369
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
14370
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
14371
 
  sed -n '
14372
 
    p
14373
 
    /[$]LINENO/=
14374
 
  ' <$as_myself |
14375
 
    sed '
14376
 
      s/[$]LINENO.*/&-/
14377
 
      t lineno
14378
 
      b
14379
 
      :lineno
14380
 
      N
14381
 
      :loop
14382
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14383
 
      t loop
14384
 
      s/-\n.*//
14385
 
    ' >$as_me.lineno &&
14386
 
  chmod +x "$as_me.lineno" ||
14387
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14388
 
   { (exit 1); exit 1; }; }
14389
 
 
14390
 
  # Don't try to exec as it changes $[0], causing all sort of problems
14391
 
  # (the dirname of $[0] is not the place where we might find the
14392
 
  # original and so on.  Autoconf is especially sensitive to this).
14393
 
  . "./$as_me.lineno"
14394
 
  # Exit status is that of the last command.
14395
 
  exit
14396
 
}
14397
 
 
14398
 
 
14399
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14400
 
  as_dirname=dirname
14401
 
else
14402
 
  as_dirname=false
14403
 
fi
 
8519
# Avoid depending upon Character Ranges.
 
8520
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
8521
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
8522
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
8523
as_cr_digits='0123456789'
 
8524
as_cr_alnum=$as_cr_Letters$as_cr_digits
14404
8525
 
14405
8526
ECHO_C= ECHO_N= ECHO_T=
14406
 
case `echo -n x` in
 
8527
case `echo -n x` in #(((((
14407
8528
-n*)
14408
 
  case `echo 'x\c'` in
 
8529
  case `echo 'xy\c'` in
14409
8530
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14410
 
  *)   ECHO_C='\c';;
 
8531
  xy)  ECHO_C='\c';;
 
8532
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
8533
       ECHO_T=' ';;
14411
8534
  esac;;
14412
8535
*)
14413
8536
  ECHO_N='-n';;
14414
8537
esac
14415
8538
 
14416
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
14417
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14418
 
  as_expr=expr
14419
 
else
14420
 
  as_expr=false
14421
 
fi
14422
 
 
14423
8539
rm -f conf$$ conf$$.exe conf$$.file
14424
8540
if test -d conf$$.dir; then
14425
8541
  rm -f conf$$.dir/conf$$.file
14426
8542
else
14427
8543
  rm -f conf$$.dir
14428
 
  mkdir conf$$.dir
 
8544
  mkdir conf$$.dir 2>/dev/null
14429
8545
fi
14430
 
echo >conf$$.file
14431
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
14432
 
  as_ln_s='ln -s'
14433
 
  # ... but there are two gotchas:
14434
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14435
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14436
 
  # In both cases, we have to default to `cp -p'.
14437
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14438
 
    as_ln_s='cp -p'
14439
 
elif ln conf$$.file conf$$ 2>/dev/null; then
14440
 
  as_ln_s=ln
 
8546
if (echo >conf$$.file) 2>/dev/null; then
 
8547
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
8548
    as_ln_s='ln -s'
 
8549
    # ... but there are two gotchas:
 
8550
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
8551
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
8552
    # In both cases, we have to default to `cp -pR'.
 
8553
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
8554
      as_ln_s='cp -pR'
 
8555
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
8556
    as_ln_s=ln
 
8557
  else
 
8558
    as_ln_s='cp -pR'
 
8559
  fi
14441
8560
else
14442
 
  as_ln_s='cp -p'
 
8561
  as_ln_s='cp -pR'
14443
8562
fi
14444
8563
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14445
8564
rmdir conf$$.dir 2>/dev/null
14446
8565
 
 
8566
 
 
8567
# as_fn_mkdir_p
 
8568
# -------------
 
8569
# Create "$as_dir" as a directory, including parents if necessary.
 
8570
as_fn_mkdir_p ()
 
8571
{
 
8572
 
 
8573
  case $as_dir in #(
 
8574
  -*) as_dir=./$as_dir;;
 
8575
  esac
 
8576
  test -d "$as_dir" || eval $as_mkdir_p || {
 
8577
    as_dirs=
 
8578
    while :; do
 
8579
      case $as_dir in #(
 
8580
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
8581
      *) as_qdir=$as_dir;;
 
8582
      esac
 
8583
      as_dirs="'$as_qdir' $as_dirs"
 
8584
      as_dir=`$as_dirname -- "$as_dir" ||
 
8585
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
8586
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
8587
         X"$as_dir" : 'X\(//\)$' \| \
 
8588
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
8589
$as_echo X"$as_dir" |
 
8590
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
8591
            s//\1/
 
8592
            q
 
8593
          }
 
8594
          /^X\(\/\/\)[^/].*/{
 
8595
            s//\1/
 
8596
            q
 
8597
          }
 
8598
          /^X\(\/\/\)$/{
 
8599
            s//\1/
 
8600
            q
 
8601
          }
 
8602
          /^X\(\/\).*/{
 
8603
            s//\1/
 
8604
            q
 
8605
          }
 
8606
          s/.*/./; q'`
 
8607
      test -d "$as_dir" && break
 
8608
    done
 
8609
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
8610
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
8611
 
 
8612
 
 
8613
} # as_fn_mkdir_p
14447
8614
if mkdir -p . 2>/dev/null; then
14448
 
  as_mkdir_p=:
 
8615
  as_mkdir_p='mkdir -p "$as_dir"'
14449
8616
else
14450
8617
  test -d ./-p && rmdir ./-p
14451
8618
  as_mkdir_p=false
14452
8619
fi
14453
8620
 
14454
 
if test -x / >/dev/null 2>&1; then
14455
 
  as_test_x='test -x'
14456
 
else
14457
 
  if ls -dL / >/dev/null 2>&1; then
14458
 
    as_ls_L_option=L
14459
 
  else
14460
 
    as_ls_L_option=
14461
 
  fi
14462
 
  as_test_x='
14463
 
    eval sh -c '\''
14464
 
      if test -d "$1"; then
14465
 
        test -d "$1/.";
14466
 
      else
14467
 
        case $1 in
14468
 
        -*)set "./$1";;
14469
 
        esac;
14470
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14471
 
        ???[sx]*):;;*)false;;esac;fi
14472
 
    '\'' sh
14473
 
  '
14474
 
fi
14475
 
as_executable_p=$as_test_x
 
8621
 
 
8622
# as_fn_executable_p FILE
 
8623
# -----------------------
 
8624
# Test if FILE is an executable regular file.
 
8625
as_fn_executable_p ()
 
8626
{
 
8627
  test -f "$1" && test -x "$1"
 
8628
} # as_fn_executable_p
 
8629
as_test_x='test -x'
 
8630
as_executable_p=as_fn_executable_p
14476
8631
 
14477
8632
# Sed expression to map a string onto a valid CPP name.
14478
8633
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14482
8637
 
14483
8638
 
14484
8639
exec 6>&1
 
8640
## ----------------------------------- ##
 
8641
## Main body of $CONFIG_STATUS script. ##
 
8642
## ----------------------------------- ##
 
8643
_ASEOF
 
8644
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14485
8645
 
14486
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
8646
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8647
# Save the log message, to keep $0 and so on meaningful, and to
14487
8648
# report actual input values of CONFIG_FILES etc. instead of their
14488
8649
# values after options handling.
14489
8650
ac_log="
14490
8651
This file was extended by $as_me, which was
14491
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
8652
generated by GNU Autoconf 2.69.  Invocation command line was
14492
8653
 
14493
8654
  CONFIG_FILES    = $CONFIG_FILES
14494
8655
  CONFIG_HEADERS  = $CONFIG_HEADERS
14501
8662
 
14502
8663
_ACEOF
14503
8664
 
14504
 
cat >>$CONFIG_STATUS <<_ACEOF
 
8665
case $ac_config_files in *"
 
8666
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
8667
esac
 
8668
 
 
8669
case $ac_config_headers in *"
 
8670
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
8671
esac
 
8672
 
 
8673
 
 
8674
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14505
8675
# Files that config.status was made for.
14506
8676
config_files="$ac_config_files"
14507
8677
config_headers="$ac_config_headers"
14508
8678
 
14509
8679
_ACEOF
14510
8680
 
14511
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
8681
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14512
8682
ac_cs_usage="\
14513
 
\`$as_me' instantiates files from templates according to the
14514
 
current configuration.
 
8683
\`$as_me' instantiates files and other configuration actions
 
8684
from templates according to the current configuration.  Unless the files
 
8685
and actions are specified as TAGs, all are instantiated by default.
14515
8686
 
14516
 
Usage: $0 [OPTIONS] [FILE]...
 
8687
Usage: $0 [OPTION]... [TAG]...
14517
8688
 
14518
8689
  -h, --help       print this help, then exit
14519
8690
  -V, --version    print version number and configuration settings, then exit
14520
 
  -q, --quiet      do not print progress messages
 
8691
      --config     print configuration, then exit
 
8692
  -q, --quiet, --silent
 
8693
                   do not print progress messages
14521
8694
  -d, --debug      don't remove temporary files
14522
8695
      --recheck    update $as_me by reconfiguring in the same conditions
14523
 
  --file=FILE[:TEMPLATE]
14524
 
                   instantiate the configuration file FILE
14525
 
  --header=FILE[:TEMPLATE]
14526
 
                   instantiate the configuration header FILE
 
8696
      --file=FILE[:TEMPLATE]
 
8697
                   instantiate the configuration file FILE
 
8698
      --header=FILE[:TEMPLATE]
 
8699
                   instantiate the configuration header FILE
14527
8700
 
14528
8701
Configuration files:
14529
8702
$config_files
14531
8704
Configuration headers:
14532
8705
$config_headers
14533
8706
 
14534
 
Report bugs to <bug-autoconf@gnu.org>."
 
8707
Report bugs to the package provider."
14535
8708
 
14536
8709
_ACEOF
14537
 
cat >>$CONFIG_STATUS <<_ACEOF
 
8710
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8711
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14538
8712
ac_cs_version="\\
14539
8713
config.status
14540
 
configured by $0, generated by GNU Autoconf 2.61,
14541
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
8714
configured by $0, generated by GNU Autoconf 2.69,
 
8715
  with options \\"\$ac_cs_config\\"
14542
8716
 
14543
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
8717
Copyright (C) 2012 Free Software Foundation, Inc.
14544
8718
This config.status script is free software; the Free Software Foundation
14545
8719
gives unlimited permission to copy, distribute and modify it."
14546
8720
 
14547
8721
ac_pwd='$ac_pwd'
14548
8722
srcdir='$srcdir'
 
8723
test -n "\$AWK" || AWK=awk
14549
8724
_ACEOF
14550
8725
 
14551
 
cat >>$CONFIG_STATUS <<\_ACEOF
14552
 
# If no file are specified by the user, then we need to provide default
14553
 
# value.  By we need to know if files were specified by the user.
 
8726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
8727
# The default lists apply if the user does not specify any file.
14554
8728
ac_need_defaults=:
14555
8729
while test $# != 0
14556
8730
do
14557
8731
  case $1 in
14558
 
  --*=*)
 
8732
  --*=?*)
14559
8733
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14560
8734
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14561
8735
    ac_shift=:
14562
8736
    ;;
 
8737
  --*=)
 
8738
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
8739
    ac_optarg=
 
8740
    ac_shift=:
 
8741
    ;;
14563
8742
  *)
14564
8743
    ac_option=$1
14565
8744
    ac_optarg=$2
14572
8751
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14573
8752
    ac_cs_recheck=: ;;
14574
8753
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14575
 
    echo "$ac_cs_version"; exit ;;
 
8754
    $as_echo "$ac_cs_version"; exit ;;
 
8755
  --config | --confi | --conf | --con | --co | --c )
 
8756
    $as_echo "$ac_cs_config"; exit ;;
14576
8757
  --debug | --debu | --deb | --de | --d | -d )
14577
8758
    debug=: ;;
14578
8759
  --file | --fil | --fi | --f )
14579
8760
    $ac_shift
14580
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
8761
    case $ac_optarg in
 
8762
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
8763
    '') as_fn_error $? "missing file argument" ;;
 
8764
    esac
 
8765
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14581
8766
    ac_need_defaults=false;;
14582
8767
  --header | --heade | --head | --hea )
14583
8768
    $ac_shift
14584
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
8769
    case $ac_optarg in
 
8770
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
8771
    esac
 
8772
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14585
8773
    ac_need_defaults=false;;
14586
8774
  --he | --h)
14587
8775
    # Conflict between --help and --header
14588
 
    { echo "$as_me: error: ambiguous option: $1
14589
 
Try \`$0 --help' for more information." >&2
14590
 
   { (exit 1); exit 1; }; };;
 
8776
    as_fn_error $? "ambiguous option: \`$1'
 
8777
Try \`$0 --help' for more information.";;
14591
8778
  --help | --hel | -h )
14592
 
    echo "$ac_cs_usage"; exit ;;
 
8779
    $as_echo "$ac_cs_usage"; exit ;;
14593
8780
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14594
8781
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14595
8782
    ac_cs_silent=: ;;
14596
8783
 
14597
8784
  # This is an error.
14598
 
  -*) { echo "$as_me: error: unrecognized option: $1
14599
 
Try \`$0 --help' for more information." >&2
14600
 
   { (exit 1); exit 1; }; } ;;
 
8785
  -*) as_fn_error $? "unrecognized option: \`$1'
 
8786
Try \`$0 --help' for more information." ;;
14601
8787
 
14602
 
  *) ac_config_targets="$ac_config_targets $1"
 
8788
  *) as_fn_append ac_config_targets " $1"
14603
8789
     ac_need_defaults=false ;;
14604
8790
 
14605
8791
  esac
14614
8800
fi
14615
8801
 
14616
8802
_ACEOF
14617
 
cat >>$CONFIG_STATUS <<_ACEOF
 
8803
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14618
8804
if \$ac_cs_recheck; then
14619
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14620
 
  CONFIG_SHELL=$SHELL
 
8805
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
8806
  shift
 
8807
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
8808
  CONFIG_SHELL='$SHELL'
14621
8809
  export CONFIG_SHELL
14622
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
8810
  exec "\$@"
14623
8811
fi
14624
8812
 
14625
8813
_ACEOF
14626
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
8814
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14627
8815
exec 5>>config.log
14628
8816
{
14629
8817
  echo
14630
8818
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14631
8819
## Running $as_me. ##
14632
8820
_ASBOX
14633
 
  echo "$ac_log"
 
8821
  $as_echo "$ac_log"
14634
8822
} >&5
14635
8823
 
14636
8824
_ACEOF
14637
 
cat >>$CONFIG_STATUS <<_ACEOF
 
8825
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14638
8826
_ACEOF
14639
8827
 
14640
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
8828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14641
8829
 
14642
8830
# Handling of arguments.
14643
8831
for ac_config_target in $ac_config_targets
14647
8835
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14648
8836
    "libtomcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES libtomcrypt/Makefile" ;;
14649
8837
 
14650
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14651
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14652
 
   { (exit 1); exit 1; }; };;
 
8838
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14653
8839
  esac
14654
8840
done
14655
8841
 
14671
8857
# after its creation but before its name has been assigned to `$tmp'.
14672
8858
$debug ||
14673
8859
{
14674
 
  tmp=
 
8860
  tmp= ac_tmp=
14675
8861
  trap 'exit_status=$?
14676
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
8862
  : "${ac_tmp:=$tmp}"
 
8863
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14677
8864
' 0
14678
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
8865
  trap 'as_fn_exit 1' 1 2 13 15
14679
8866
}
14680
8867
# Create a (secure) tmp directory for tmp files.
14681
8868
 
14682
8869
{
14683
8870
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14684
 
  test -n "$tmp" && test -d "$tmp"
 
8871
  test -d "$tmp"
14685
8872
}  ||
14686
8873
{
14687
8874
  tmp=./conf$$-$RANDOM
14688
8875
  (umask 077 && mkdir "$tmp")
14689
 
} ||
14690
 
{
14691
 
   echo "$me: cannot create a temporary directory in ." >&2
14692
 
   { (exit 1); exit 1; }
14693
 
}
14694
 
 
14695
 
#
14696
 
# Set up the sed scripts for CONFIG_FILES section.
14697
 
#
14698
 
 
14699
 
# No need to generate the scripts if there are no CONFIG_FILES.
14700
 
# This happens for instance when ./config.status config.h
 
8876
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
8877
ac_tmp=$tmp
 
8878
 
 
8879
# Set up the scripts for CONFIG_FILES section.
 
8880
# No need to generate them if there are no CONFIG_FILES.
 
8881
# This happens for instance with `./config.status config.h'.
14701
8882
if test -n "$CONFIG_FILES"; then
14702
8883
 
 
8884
 
 
8885
ac_cr=`echo X | tr X '\015'`
 
8886
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
8887
# But we know of no other shell where ac_cr would be empty at this
 
8888
# point, so we can use a bashism as a fallback.
 
8889
if test "x$ac_cr" = x; then
 
8890
  eval ac_cr=\$\'\\r\'
 
8891
fi
 
8892
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
8893
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
8894
  ac_cs_awk_cr='\\r'
 
8895
else
 
8896
  ac_cs_awk_cr=$ac_cr
 
8897
fi
 
8898
 
 
8899
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14703
8900
_ACEOF
14704
8901
 
14705
8902
 
14706
 
 
 
8903
{
 
8904
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
8905
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
8906
  echo "_ACEOF"
 
8907
} >conf$$subs.sh ||
 
8908
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
8909
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14707
8910
ac_delim='%!_!# '
14708
8911
for ac_last_try in false false false false false :; do
14709
 
  cat >conf$$subs.sed <<_ACEOF
14710
 
SHELL!$SHELL$ac_delim
14711
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14712
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14713
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14714
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14715
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14716
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14717
 
exec_prefix!$exec_prefix$ac_delim
14718
 
prefix!$prefix$ac_delim
14719
 
program_transform_name!$program_transform_name$ac_delim
14720
 
bindir!$bindir$ac_delim
14721
 
sbindir!$sbindir$ac_delim
14722
 
libexecdir!$libexecdir$ac_delim
14723
 
datarootdir!$datarootdir$ac_delim
14724
 
datadir!$datadir$ac_delim
14725
 
sysconfdir!$sysconfdir$ac_delim
14726
 
sharedstatedir!$sharedstatedir$ac_delim
14727
 
localstatedir!$localstatedir$ac_delim
14728
 
includedir!$includedir$ac_delim
14729
 
oldincludedir!$oldincludedir$ac_delim
14730
 
docdir!$docdir$ac_delim
14731
 
infodir!$infodir$ac_delim
14732
 
htmldir!$htmldir$ac_delim
14733
 
dvidir!$dvidir$ac_delim
14734
 
pdfdir!$pdfdir$ac_delim
14735
 
psdir!$psdir$ac_delim
14736
 
libdir!$libdir$ac_delim
14737
 
localedir!$localedir$ac_delim
14738
 
mandir!$mandir$ac_delim
14739
 
DEFS!$DEFS$ac_delim
14740
 
ECHO_C!$ECHO_C$ac_delim
14741
 
ECHO_N!$ECHO_N$ac_delim
14742
 
ECHO_T!$ECHO_T$ac_delim
14743
 
LIBS!$LIBS$ac_delim
14744
 
build_alias!$build_alias$ac_delim
14745
 
host_alias!$host_alias$ac_delim
14746
 
target_alias!$target_alias$ac_delim
14747
 
CC!$CC$ac_delim
14748
 
CFLAGS!$CFLAGS$ac_delim
14749
 
LDFLAGS!$LDFLAGS$ac_delim
14750
 
CPPFLAGS!$CPPFLAGS$ac_delim
14751
 
ac_ct_CC!$ac_ct_CC$ac_delim
14752
 
EXEEXT!$EXEEXT$ac_delim
14753
 
OBJEXT!$OBJEXT$ac_delim
14754
 
SET_MAKE!$SET_MAKE$ac_delim
14755
 
LD!$LD$ac_delim
14756
 
build!$build$ac_delim
14757
 
build_cpu!$build_cpu$ac_delim
14758
 
build_vendor!$build_vendor$ac_delim
14759
 
build_os!$build_os$ac_delim
14760
 
host!$host$ac_delim
14761
 
host_cpu!$host_cpu$ac_delim
14762
 
host_vendor!$host_vendor$ac_delim
14763
 
host_os!$host_os$ac_delim
14764
 
AR!$AR$ac_delim
14765
 
RANLIB!$RANLIB$ac_delim
14766
 
STRIP!$STRIP$ac_delim
14767
 
INSTALL!$INSTALL$ac_delim
14768
 
CPP!$CPP$ac_delim
14769
 
GREP!$GREP$ac_delim
14770
 
EGREP!$EGREP$ac_delim
14771
 
CRYPTLIB!$CRYPTLIB$ac_delim
14772
 
BUNDLED_LIBTOM!$BUNDLED_LIBTOM$ac_delim
14773
 
LIBOBJS!$LIBOBJS$ac_delim
14774
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
14775
 
_ACEOF
 
8912
  . ./conf$$subs.sh ||
 
8913
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14776
8914
 
14777
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
 
8915
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
8916
  if test $ac_delim_n = $ac_delim_num; then
14778
8917
    break
14779
8918
  elif $ac_last_try; then
14780
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14781
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14782
 
   { (exit 1); exit 1; }; }
 
8919
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14783
8920
  else
14784
8921
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14785
8922
  fi
14786
8923
done
14787
 
 
14788
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14789
 
if test -n "$ac_eof"; then
14790
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14791
 
  ac_eof=`expr $ac_eof + 1`
14792
 
fi
14793
 
 
14794
 
cat >>$CONFIG_STATUS <<_ACEOF
14795
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14796
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14797
 
_ACEOF
14798
 
sed '
14799
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14800
 
s/^/s,@/; s/!/@,|#_!!_#|/
14801
 
:n
14802
 
t n
14803
 
s/'"$ac_delim"'$/,g/; t
14804
 
s/$/\\/; p
14805
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14806
 
' >>$CONFIG_STATUS <conf$$subs.sed
14807
 
rm -f conf$$subs.sed
14808
 
cat >>$CONFIG_STATUS <<_ACEOF
14809
 
:end
14810
 
s/|#_!!_#|//g
14811
 
CEOF$ac_eof
14812
 
_ACEOF
14813
 
 
14814
 
 
14815
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14816
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
8924
rm -f conf$$subs.sh
 
8925
 
 
8926
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8927
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
8928
_ACEOF
 
8929
sed -n '
 
8930
h
 
8931
s/^/S["/; s/!.*/"]=/
 
8932
p
 
8933
g
 
8934
s/^[^!]*!//
 
8935
:repl
 
8936
t repl
 
8937
s/'"$ac_delim"'$//
 
8938
t delim
 
8939
:nl
 
8940
h
 
8941
s/\(.\{148\}\)..*/\1/
 
8942
t more1
 
8943
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
8944
p
 
8945
n
 
8946
b repl
 
8947
:more1
 
8948
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
8949
p
 
8950
g
 
8951
s/.\{148\}//
 
8952
t nl
 
8953
:delim
 
8954
h
 
8955
s/\(.\{148\}\)..*/\1/
 
8956
t more2
 
8957
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
8958
p
 
8959
b
 
8960
:more2
 
8961
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
8962
p
 
8963
g
 
8964
s/.\{148\}//
 
8965
t delim
 
8966
' <conf$$subs.awk | sed '
 
8967
/^[^""]/{
 
8968
  N
 
8969
  s/\n//
 
8970
}
 
8971
' >>$CONFIG_STATUS || ac_write_fail=1
 
8972
rm -f conf$$subs.awk
 
8973
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
8974
_ACAWK
 
8975
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
8976
  for (key in S) S_is_set[key] = 1
 
8977
  FS = ""
 
8978
 
 
8979
}
 
8980
{
 
8981
  line = $ 0
 
8982
  nfields = split(line, field, "@")
 
8983
  substed = 0
 
8984
  len = length(field[1])
 
8985
  for (i = 2; i < nfields; i++) {
 
8986
    key = field[i]
 
8987
    keylen = length(key)
 
8988
    if (S_is_set[key]) {
 
8989
      value = S[key]
 
8990
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
8991
      len += length(value) + length(field[++i])
 
8992
      substed = 1
 
8993
    } else
 
8994
      len += 1 + keylen
 
8995
  }
 
8996
 
 
8997
  print line
 
8998
}
 
8999
 
 
9000
_ACAWK
 
9001
_ACEOF
 
9002
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9003
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
9004
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
9005
else
 
9006
  cat
 
9007
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
9008
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
9009
_ACEOF
 
9010
 
 
9011
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
9012
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14817
9013
# trailing colons and then remove the whole line if VPATH becomes empty
14818
9014
# (actually we leave an empty line to preserve line numbers).
14819
9015
if test "x$srcdir" = x.; then
14820
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
14821
 
s/:*\$(srcdir):*/:/
14822
 
s/:*\${srcdir}:*/:/
14823
 
s/:*@srcdir@:*/:/
14824
 
s/^\([^=]*=[     ]*\):*/\1/
 
9016
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
9017
h
 
9018
s///
 
9019
s/^/:/
 
9020
s/[      ]*$/:/
 
9021
s/:\$(srcdir):/:/g
 
9022
s/:\${srcdir}:/:/g
 
9023
s/:@srcdir@:/:/g
 
9024
s/^:*//
14825
9025
s/:*$//
 
9026
x
 
9027
s/\(=[   ]*\).*/\1/
 
9028
G
 
9029
s/\n//
14826
9030
s/^[^=]*=[       ]*$//
14827
9031
}'
14828
9032
fi
14829
9033
 
14830
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9034
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14831
9035
fi # test -n "$CONFIG_FILES"
14832
9036
 
14833
 
 
14834
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
9037
# Set up the scripts for CONFIG_HEADERS section.
 
9038
# No need to generate them if there are no CONFIG_HEADERS.
 
9039
# This happens for instance with `./config.status Makefile'.
 
9040
if test -n "$CONFIG_HEADERS"; then
 
9041
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
9042
BEGIN {
 
9043
_ACEOF
 
9044
 
 
9045
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
9046
# here-document in config.status, that substitutes the proper values into
 
9047
# config.h.in to produce config.h.
 
9048
 
 
9049
# Create a delimiter string that does not exist in confdefs.h, to ease
 
9050
# handling of long lines.
 
9051
ac_delim='%!_!# '
 
9052
for ac_last_try in false false :; do
 
9053
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
9054
  if test -z "$ac_tt"; then
 
9055
    break
 
9056
  elif $ac_last_try; then
 
9057
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
9058
  else
 
9059
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
9060
  fi
 
9061
done
 
9062
 
 
9063
# For the awk script, D is an array of macro values keyed by name,
 
9064
# likewise P contains macro parameters if any.  Preserve backslash
 
9065
# newline sequences.
 
9066
 
 
9067
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
9068
sed -n '
 
9069
s/.\{148\}/&'"$ac_delim"'/g
 
9070
t rset
 
9071
:rset
 
9072
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
9073
t def
 
9074
d
 
9075
:def
 
9076
s/\\$//
 
9077
t bsnl
 
9078
s/["\\]/\\&/g
 
9079
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
9080
D["\1"]=" \3"/p
 
9081
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
9082
d
 
9083
:bsnl
 
9084
s/["\\]/\\&/g
 
9085
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
9086
D["\1"]=" \3\\\\\\n"\\/p
 
9087
t cont
 
9088
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
9089
t cont
 
9090
d
 
9091
:cont
 
9092
n
 
9093
s/.\{148\}/&'"$ac_delim"'/g
 
9094
t clear
 
9095
:clear
 
9096
s/\\$//
 
9097
t bsnlc
 
9098
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
9099
d
 
9100
:bsnlc
 
9101
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
9102
b cont
 
9103
' <confdefs.h | sed '
 
9104
s/'"$ac_delim"'/"\\\
 
9105
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
9106
 
 
9107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9108
  for (key in D) D_is_set[key] = 1
 
9109
  FS = ""
 
9110
}
 
9111
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
9112
  line = \$ 0
 
9113
  split(line, arg, " ")
 
9114
  if (arg[1] == "#") {
 
9115
    defundef = arg[2]
 
9116
    mac1 = arg[3]
 
9117
  } else {
 
9118
    defundef = substr(arg[1], 2)
 
9119
    mac1 = arg[2]
 
9120
  }
 
9121
  split(mac1, mac2, "(") #)
 
9122
  macro = mac2[1]
 
9123
  prefix = substr(line, 1, index(line, defundef) - 1)
 
9124
  if (D_is_set[macro]) {
 
9125
    # Preserve the white space surrounding the "#".
 
9126
    print prefix "define", macro P[macro] D[macro]
 
9127
    next
 
9128
  } else {
 
9129
    # Replace #undef with comments.  This is necessary, for example,
 
9130
    # in the case of _POSIX_SOURCE, which is predefined and required
 
9131
    # on some systems where configure will not decide to define it.
 
9132
    if (defundef == "undef") {
 
9133
      print "/*", prefix defundef, macro, "*/"
 
9134
      next
 
9135
    }
 
9136
  }
 
9137
}
 
9138
{ print }
 
9139
_ACAWK
 
9140
_ACEOF
 
9141
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9142
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
9143
fi # test -n "$CONFIG_HEADERS"
 
9144
 
 
9145
 
 
9146
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 
9147
shift
 
9148
for ac_tag
14835
9149
do
14836
9150
  case $ac_tag in
14837
9151
  :[FHLC]) ac_mode=$ac_tag; continue;;
14838
9152
  esac
14839
9153
  case $ac_mode$ac_tag in
14840
9154
  :[FHL]*:*);;
14841
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14842
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14843
 
   { (exit 1); exit 1; }; };;
 
9155
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14844
9156
  :[FH]-) ac_tag=-:-;;
14845
9157
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14846
9158
  esac
14859
9171
    for ac_f
14860
9172
    do
14861
9173
      case $ac_f in
14862
 
      -) ac_f="$tmp/stdin";;
 
9174
      -) ac_f="$ac_tmp/stdin";;
14863
9175
      *) # Look for the file first in the build tree, then in the source tree
14864
9176
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14865
9177
         # because $ac_f cannot contain `:'.
14868
9180
           [\\/$]*) false;;
14869
9181
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14870
9182
           esac ||
14871
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14872
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14873
 
   { (exit 1); exit 1; }; };;
 
9183
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14874
9184
      esac
14875
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
9185
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
9186
      as_fn_append ac_file_inputs " '$ac_f'"
14876
9187
    done
14877
9188
 
14878
9189
    # Let's still pretend it is `configure' which instantiates (i.e., don't
14879
9190
    # use $as_me), people would be surprised to read:
14880
9191
    #    /* config.h.  Generated by config.status.  */
14881
 
    configure_input="Generated from "`IFS=:
14882
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
9192
    configure_input='Generated from '`
 
9193
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
9194
        `' by configure.'
14883
9195
    if test x"$ac_file" != x-; then
14884
9196
      configure_input="$ac_file.  $configure_input"
14885
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
14886
 
echo "$as_me: creating $ac_file" >&6;}
 
9197
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
9198
$as_echo "$as_me: creating $ac_file" >&6;}
14887
9199
    fi
 
9200
    # Neutralize special characters interpreted by sed in replacement strings.
 
9201
    case $configure_input in #(
 
9202
    *\&* | *\|* | *\\* )
 
9203
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
9204
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
9205
    *) ac_sed_conf_input=$configure_input;;
 
9206
    esac
14888
9207
 
14889
9208
    case $ac_tag in
14890
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
9209
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
9210
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14891
9211
    esac
14892
9212
    ;;
14893
9213
  esac
14897
9217
         X"$ac_file" : 'X\(//\)[^/]' \| \
14898
9218
         X"$ac_file" : 'X\(//\)$' \| \
14899
9219
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14900
 
echo X"$ac_file" |
14901
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14902
 
            s//\1/
14903
 
            q
14904
 
          }
14905
 
          /^X\(\/\/\)[^/].*/{
14906
 
            s//\1/
14907
 
            q
14908
 
          }
14909
 
          /^X\(\/\/\)$/{
14910
 
            s//\1/
14911
 
            q
14912
 
          }
14913
 
          /^X\(\/\).*/{
14914
 
            s//\1/
14915
 
            q
14916
 
          }
14917
 
          s/.*/./; q'`
14918
 
  { as_dir="$ac_dir"
14919
 
  case $as_dir in #(
14920
 
  -*) as_dir=./$as_dir;;
14921
 
  esac
14922
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14923
 
    as_dirs=
14924
 
    while :; do
14925
 
      case $as_dir in #(
14926
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14927
 
      *) as_qdir=$as_dir;;
14928
 
      esac
14929
 
      as_dirs="'$as_qdir' $as_dirs"
14930
 
      as_dir=`$as_dirname -- "$as_dir" ||
14931
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14932
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
14933
 
         X"$as_dir" : 'X\(//\)$' \| \
14934
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14935
 
echo X"$as_dir" |
14936
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14937
 
            s//\1/
14938
 
            q
14939
 
          }
14940
 
          /^X\(\/\/\)[^/].*/{
14941
 
            s//\1/
14942
 
            q
14943
 
          }
14944
 
          /^X\(\/\/\)$/{
14945
 
            s//\1/
14946
 
            q
14947
 
          }
14948
 
          /^X\(\/\).*/{
14949
 
            s//\1/
14950
 
            q
14951
 
          }
14952
 
          s/.*/./; q'`
14953
 
      test -d "$as_dir" && break
14954
 
    done
14955
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14956
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14957
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
14958
 
   { (exit 1); exit 1; }; }; }
 
9220
$as_echo X"$ac_file" |
 
9221
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9222
            s//\1/
 
9223
            q
 
9224
          }
 
9225
          /^X\(\/\/\)[^/].*/{
 
9226
            s//\1/
 
9227
            q
 
9228
          }
 
9229
          /^X\(\/\/\)$/{
 
9230
            s//\1/
 
9231
            q
 
9232
          }
 
9233
          /^X\(\/\).*/{
 
9234
            s//\1/
 
9235
            q
 
9236
          }
 
9237
          s/.*/./; q'`
 
9238
  as_dir="$ac_dir"; as_fn_mkdir_p
14959
9239
  ac_builddir=.
14960
9240
 
14961
9241
case "$ac_dir" in
14962
9242
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14963
9243
*)
14964
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
9244
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14965
9245
  # A ".." for each directory in $ac_dir_suffix.
14966
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
9246
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14967
9247
  case $ac_top_builddir_sub in
14968
9248
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14969
9249
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14999
9279
 
15000
9280
_ACEOF
15001
9281
 
15002
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9282
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15003
9283
# If the template does not know about datarootdir, expand it.
15004
9284
# FIXME: This hack should be removed a few years after 2.60.
15005
9285
ac_datarootdir_hack=; ac_datarootdir_seen=
15006
 
 
15007
 
case `sed -n '/datarootdir/ {
 
9286
ac_sed_dataroot='
 
9287
/datarootdir/ {
15008
9288
  p
15009
9289
  q
15010
9290
}
15012
9292
/@docdir@/p
15013
9293
/@infodir@/p
15014
9294
/@localedir@/p
15015
 
/@mandir@/p
15016
 
' $ac_file_inputs` in
 
9295
/@mandir@/p'
 
9296
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15017
9297
*datarootdir*) ac_datarootdir_seen=yes;;
15018
9298
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15019
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15020
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
9299
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
9300
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15021
9301
_ACEOF
15022
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9302
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15023
9303
  ac_datarootdir_hack='
15024
9304
  s&@datadir@&$datadir&g
15025
9305
  s&@docdir@&$docdir&g
15026
9306
  s&@infodir@&$infodir&g
15027
9307
  s&@localedir@&$localedir&g
15028
9308
  s&@mandir@&$mandir&g
15029
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
9309
  s&\\\${datarootdir}&$datarootdir&g' ;;
15030
9310
esac
15031
9311
_ACEOF
15032
9312
 
15033
9313
# Neutralize VPATH when `$srcdir' = `.'.
15034
9314
# Shell code in configure.ac might set extrasub.
15035
9315
# FIXME: do we really want to maintain this feature?
15036
 
cat >>$CONFIG_STATUS <<_ACEOF
15037
 
  sed "$ac_vpsub
 
9316
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9317
ac_sed_extra="$ac_vpsub
15038
9318
$extrasub
15039
9319
_ACEOF
15040
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9320
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15041
9321
:t
15042
9322
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15043
 
s&@configure_input@&$configure_input&;t t
 
9323
s|@configure_input@|$ac_sed_conf_input|;t t
15044
9324
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
9325
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15045
9326
s&@srcdir@&$ac_srcdir&;t t
15046
9327
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15047
9328
s&@top_srcdir@&$ac_top_srcdir&;t t
15050
9331
s&@abs_builddir@&$ac_abs_builddir&;t t
15051
9332
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15052
9333
$ac_datarootdir_hack
15053
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
9334
"
 
9335
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
9336
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15054
9337
 
15055
9338
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15056
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15057
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15058
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15059
 
which seems to be undefined.  Please make sure it is defined." >&5
15060
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15061
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
9339
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
9340
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
9341
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
9342
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9343
which seems to be undefined.  Please make sure it is defined" >&5
 
9344
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
9345
which seems to be undefined.  Please make sure it is defined" >&2;}
15062
9346
 
15063
 
  rm -f "$tmp/stdin"
 
9347
  rm -f "$ac_tmp/stdin"
15064
9348
  case $ac_file in
15065
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
15066
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15067
 
  esac
 
9349
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
9350
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
9351
  esac \
 
9352
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15068
9353
 ;;
15069
9354
  :H)
15070
9355
  #
15071
9356
  # CONFIG_HEADER
15072
9357
  #
15073
 
_ACEOF
15074
 
 
15075
 
# Transform confdefs.h into a sed script `conftest.defines', that
15076
 
# substitutes the proper values into config.h.in to produce config.h.
15077
 
rm -f conftest.defines conftest.tail
15078
 
# First, append a space to every undef/define line, to ease matching.
15079
 
echo 's/$/ /' >conftest.defines
15080
 
# Then, protect against being on the right side of a sed subst, or in
15081
 
# an unquoted here document, in config.status.  If some macros were
15082
 
# called several times there might be several #defines for the same
15083
 
# symbol, which is useless.  But do not sort them, since the last
15084
 
# AC_DEFINE must be honored.
15085
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15086
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15087
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
15088
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
15089
 
# just an empty string.
15090
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
15091
 
ac_dB='\\)[      (].*,\\1define\\2'
15092
 
ac_dC=' '
15093
 
ac_dD=' ,'
15094
 
 
15095
 
uniq confdefs.h |
15096
 
  sed -n '
15097
 
        t rset
15098
 
        :rset
15099
 
        s/^[     ]*#[    ]*define[       ][      ]*//
15100
 
        t ok
15101
 
        d
15102
 
        :ok
15103
 
        s/[\\&,]/\\&/g
15104
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15105
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15106
 
  ' >>conftest.defines
15107
 
 
15108
 
# Remove the space that was appended to ease matching.
15109
 
# Then replace #undef with comments.  This is necessary, for
15110
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
15111
 
# on some systems where configure will not decide to define it.
15112
 
# (The regexp can be short, since the line contains either #define or #undef.)
15113
 
echo 's/ $//
15114
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
15115
 
 
15116
 
# Break up conftest.defines:
15117
 
ac_max_sed_lines=50
15118
 
 
15119
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15120
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15121
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15122
 
# et cetera.
15123
 
ac_in='$ac_file_inputs'
15124
 
ac_out='"$tmp/out1"'
15125
 
ac_nxt='"$tmp/out2"'
15126
 
 
15127
 
while :
15128
 
do
15129
 
  # Write a here document:
15130
 
    cat >>$CONFIG_STATUS <<_ACEOF
15131
 
    # First, check the format of the line:
15132
 
    cat >"\$tmp/defines.sed" <<\\CEOF
15133
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
15134
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
15135
 
b
15136
 
:def
15137
 
_ACEOF
15138
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15139
 
  echo 'CEOF
15140
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15141
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15142
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15143
 
  grep . conftest.tail >/dev/null || break
15144
 
  rm -f conftest.defines
15145
 
  mv conftest.tail conftest.defines
15146
 
done
15147
 
rm -f conftest.defines conftest.tail
15148
 
 
15149
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
15150
 
cat >>$CONFIG_STATUS <<\_ACEOF
15151
9358
  if test x"$ac_file" != x-; then
15152
 
    echo "/* $configure_input  */" >"$tmp/config.h"
15153
 
    cat "$ac_result" >>"$tmp/config.h"
15154
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15155
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15156
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
9359
    {
 
9360
      $as_echo "/* $configure_input  */" \
 
9361
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
9362
    } >"$ac_tmp/config.h" \
 
9363
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
9364
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
9365
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
9366
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15157
9367
    else
15158
 
      rm -f $ac_file
15159
 
      mv "$tmp/config.h" $ac_file
 
9368
      rm -f "$ac_file"
 
9369
      mv "$ac_tmp/config.h" "$ac_file" \
 
9370
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15160
9371
    fi
15161
9372
  else
15162
 
    echo "/* $configure_input  */"
15163
 
    cat "$ac_result"
 
9373
    $as_echo "/* $configure_input  */" \
 
9374
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
9375
      || as_fn_error $? "could not create -" "$LINENO" 5
15164
9376
  fi
15165
 
  rm -f "$tmp/out12"
15166
9377
 ;;
15167
9378
 
15168
9379
 
15171
9382
done # for ac_tag
15172
9383
 
15173
9384
 
15174
 
{ (exit 0); exit 0; }
 
9385
as_fn_exit 0
15175
9386
_ACEOF
15176
 
chmod +x $CONFIG_STATUS
15177
9387
ac_clean_files=$ac_clean_files_save
15178
9388
 
 
9389
test $ac_write_fail = 0 ||
 
9390
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
9391
 
15179
9392
 
15180
9393
# configure is writing to config.log, and then calls config.status.
15181
9394
# config.status does its own redirection, appending to config.log.
15195
9408
  exec 5>>config.log
15196
9409
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15197
9410
  # would make configure fail if this is the last instruction.
15198
 
  $ac_cs_success || { (exit 1); exit 1; }
 
9411
  $ac_cs_success || as_fn_exit 1
 
9412
fi
 
9413
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
9414
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
9415
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15199
9416
fi
15200
9417
 
15201
9418
ac_config_files="$ac_config_files libtommath/Makefile"
15227
9444
    case $ac_val in #(
15228
9445
    *${as_nl}*)
15229
9446
      case $ac_var in #(
15230
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15231
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
9447
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
9448
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15232
9449
      esac
15233
9450
      case $ac_var in #(
15234
9451
      _ | IFS | as_nl) ;; #(
15235
 
      *) $as_unset $ac_var ;;
 
9452
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
9453
      *) { eval $ac_var=; unset $ac_var;} ;;
15236
9454
      esac ;;
15237
9455
    esac
15238
9456
  done
15240
9458
  (set) 2>&1 |
15241
9459
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15242
9460
    *${as_nl}ac_space=\ *)
15243
 
      # `set' does not quote correctly, so add quotes (double-quote
15244
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
9461
      # `set' does not quote correctly, so add quotes: double-quote
 
9462
      # substitution turns \\\\ into \\, and sed turns \\ into \.
15245
9463
      sed -n \
15246
9464
        "s/'/'\\\\''/g;
15247
9465
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15263
9481
     :end' >>confcache
15264
9482
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15265
9483
  if test -w "$cache_file"; then
15266
 
    test "x$cache_file" != "x/dev/null" &&
15267
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15268
 
echo "$as_me: updating cache $cache_file" >&6;}
15269
 
    cat confcache >$cache_file
 
9484
    if test "x$cache_file" != "x/dev/null"; then
 
9485
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
9486
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
9487
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
9488
        cat confcache >"$cache_file"
 
9489
      else
 
9490
        case $cache_file in #(
 
9491
        */* | ?:*)
 
9492
          mv -f confcache "$cache_file"$$ &&
 
9493
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
9494
        *)
 
9495
          mv -f confcache "$cache_file" ;;
 
9496
        esac
 
9497
      fi
 
9498
    fi
15270
9499
  else
15271
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15272
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
9500
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
9501
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15273
9502
  fi
15274
9503
fi
15275
9504
rm -f confcache
15282
9511
 
15283
9512
ac_libobjs=
15284
9513
ac_ltlibobjs=
 
9514
U=
15285
9515
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15286
9516
  # 1. Remove the extension, and $U if already installed.
15287
9517
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15288
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
9518
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15289
9519
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15290
9520
  #    will be set to the directory where LIBOBJS objects are built.
15291
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15292
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
9521
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
9522
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15293
9523
done
15294
9524
LIBOBJS=$ac_libobjs
15295
9525
 
15297
9527
 
15298
9528
 
15299
9529
 
15300
 
: ${CONFIG_STATUS=./config.status}
 
9530
: "${CONFIG_STATUS=./config.status}"
 
9531
ac_write_fail=0
15301
9532
ac_clean_files_save=$ac_clean_files
15302
9533
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15303
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15304
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
15305
 
cat >$CONFIG_STATUS <<_ACEOF
 
9534
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
9535
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
9536
as_write_fail=0
 
9537
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15306
9538
#! $SHELL
15307
9539
# Generated by $as_me.
15308
9540
# Run this file to recreate the current configuration.
15312
9544
debug=false
15313
9545
ac_cs_recheck=false
15314
9546
ac_cs_silent=false
 
9547
 
15315
9548
SHELL=\${CONFIG_SHELL-$SHELL}
15316
 
_ACEOF
15317
 
 
15318
 
cat >>$CONFIG_STATUS <<\_ACEOF
15319
 
## --------------------- ##
15320
 
## M4sh Initialization.  ##
15321
 
## --------------------- ##
 
9549
export SHELL
 
9550
_ASEOF
 
9551
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
9552
## -------------------- ##
 
9553
## M4sh Initialization. ##
 
9554
## -------------------- ##
15322
9555
 
15323
9556
# Be more Bourne compatible
15324
9557
DUALCASE=1; export DUALCASE # for MKS sh
15325
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
9558
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15326
9559
  emulate sh
15327
9560
  NULLCMD=:
15328
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
9561
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15329
9562
  # is contrary to our usage.  Disable this feature.
15330
9563
  alias -g '${1+"$@"}'='"$@"'
15331
9564
  setopt NO_GLOB_SUBST
15332
9565
else
15333
 
  case `(set -o) 2>/dev/null` in
15334
 
  *posix*) set -o posix ;;
 
9566
  case `(set -o) 2>/dev/null` in #(
 
9567
  *posix*) :
 
9568
    set -o posix ;; #(
 
9569
  *) :
 
9570
     ;;
15335
9571
esac
15336
 
 
15337
 
fi
15338
 
 
15339
 
 
15340
 
 
15341
 
 
15342
 
# PATH needs CR
15343
 
# Avoid depending upon Character Ranges.
15344
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15345
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15346
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15347
 
as_cr_digits='0123456789'
15348
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
9572
fi
 
9573
 
 
9574
 
 
9575
as_nl='
 
9576
'
 
9577
export as_nl
 
9578
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
9579
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
9580
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
9581
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
9582
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
9583
# but without wasting forks for bash or zsh.
 
9584
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
9585
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
9586
  as_echo='print -r --'
 
9587
  as_echo_n='print -rn --'
 
9588
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
9589
  as_echo='printf %s\n'
 
9590
  as_echo_n='printf %s'
 
9591
else
 
9592
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
9593
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
9594
    as_echo_n='/usr/ucb/echo -n'
 
9595
  else
 
9596
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
9597
    as_echo_n_body='eval
 
9598
      arg=$1;
 
9599
      case $arg in #(
 
9600
      *"$as_nl"*)
 
9601
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
9602
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
9603
      esac;
 
9604
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
9605
    '
 
9606
    export as_echo_n_body
 
9607
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
9608
  fi
 
9609
  export as_echo_body
 
9610
  as_echo='sh -c $as_echo_body as_echo'
 
9611
fi
15349
9612
 
15350
9613
# The user is always right.
15351
9614
if test "${PATH_SEPARATOR+set}" != set; then
15352
 
  echo "#! /bin/sh" >conf$$.sh
15353
 
  echo  "exit 0"   >>conf$$.sh
15354
 
  chmod +x conf$$.sh
15355
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15356
 
    PATH_SEPARATOR=';'
15357
 
  else
15358
 
    PATH_SEPARATOR=:
15359
 
  fi
15360
 
  rm -f conf$$.sh
15361
 
fi
15362
 
 
15363
 
# Support unset when possible.
15364
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15365
 
  as_unset=unset
15366
 
else
15367
 
  as_unset=false
 
9615
  PATH_SEPARATOR=:
 
9616
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
9617
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
9618
      PATH_SEPARATOR=';'
 
9619
  }
15368
9620
fi
15369
9621
 
15370
9622
 
15373
9625
# there to prevent editors from complaining about space-tab.
15374
9626
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15375
9627
# splitting by setting IFS to empty value.)
15376
 
as_nl='
15377
 
'
15378
9628
IFS=" ""        $as_nl"
15379
9629
 
15380
9630
# Find who we are.  Look in the path if we contain no directory separator.
15381
 
case $0 in
 
9631
as_myself=
 
9632
case $0 in #((
15382
9633
  *[\\/]* ) as_myself=$0 ;;
15383
9634
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15384
9635
for as_dir in $PATH
15385
9636
do
15386
9637
  IFS=$as_save_IFS
15387
9638
  test -z "$as_dir" && as_dir=.
15388
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15389
 
done
 
9639
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
9640
  done
15390
9641
IFS=$as_save_IFS
15391
9642
 
15392
9643
     ;;
15397
9648
  as_myself=$0
15398
9649
fi
15399
9650
if test ! -f "$as_myself"; then
15400
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15401
 
  { (exit 1); exit 1; }
 
9651
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
9652
  exit 1
15402
9653
fi
15403
9654
 
15404
 
# Work around bugs in pre-3.0 UWIN ksh.
15405
 
for as_var in ENV MAIL MAILPATH
15406
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
9655
# Unset variables that we do not need and which cause bugs (e.g. in
 
9656
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
9657
# suppresses any "Segmentation fault" message there.  '((' could
 
9658
# trigger a bug in pdksh 5.2.14.
 
9659
for as_var in BASH_ENV ENV MAIL MAILPATH
 
9660
do eval test x\${$as_var+set} = xset \
 
9661
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15407
9662
done
15408
9663
PS1='$ '
15409
9664
PS2='> '
15410
9665
PS4='+ '
15411
9666
 
15412
9667
# NLS nuisances.
15413
 
for as_var in \
15414
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15415
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15416
 
  LC_TELEPHONE LC_TIME
15417
 
do
15418
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15419
 
    eval $as_var=C; export $as_var
15420
 
  else
15421
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
9668
LC_ALL=C
 
9669
export LC_ALL
 
9670
LANGUAGE=C
 
9671
export LANGUAGE
 
9672
 
 
9673
# CDPATH.
 
9674
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
9675
 
 
9676
 
 
9677
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
9678
# ----------------------------------------
 
9679
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
9680
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
9681
# script with STATUS, using 1 if that was 0.
 
9682
as_fn_error ()
 
9683
{
 
9684
  as_status=$1; test $as_status -eq 0 && as_status=1
 
9685
  if test "$4"; then
 
9686
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
9687
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15422
9688
  fi
15423
 
done
15424
 
 
15425
 
# Required to use basename.
 
9689
  $as_echo "$as_me: error: $2" >&2
 
9690
  as_fn_exit $as_status
 
9691
} # as_fn_error
 
9692
 
 
9693
 
 
9694
# as_fn_set_status STATUS
 
9695
# -----------------------
 
9696
# Set $? to STATUS, without forking.
 
9697
as_fn_set_status ()
 
9698
{
 
9699
  return $1
 
9700
} # as_fn_set_status
 
9701
 
 
9702
# as_fn_exit STATUS
 
9703
# -----------------
 
9704
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
9705
as_fn_exit ()
 
9706
{
 
9707
  set +e
 
9708
  as_fn_set_status $1
 
9709
  exit $1
 
9710
} # as_fn_exit
 
9711
 
 
9712
# as_fn_unset VAR
 
9713
# ---------------
 
9714
# Portably unset VAR.
 
9715
as_fn_unset ()
 
9716
{
 
9717
  { eval $1=; unset $1;}
 
9718
}
 
9719
as_unset=as_fn_unset
 
9720
# as_fn_append VAR VALUE
 
9721
# ----------------------
 
9722
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
9723
# advantage of any shell optimizations that allow amortized linear growth over
 
9724
# repeated appends, instead of the typical quadratic growth present in naive
 
9725
# implementations.
 
9726
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
9727
  eval 'as_fn_append ()
 
9728
  {
 
9729
    eval $1+=\$2
 
9730
  }'
 
9731
else
 
9732
  as_fn_append ()
 
9733
  {
 
9734
    eval $1=\$$1\$2
 
9735
  }
 
9736
fi # as_fn_append
 
9737
 
 
9738
# as_fn_arith ARG...
 
9739
# ------------------
 
9740
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
9741
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
9742
# must be portable across $(()) and expr.
 
9743
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
9744
  eval 'as_fn_arith ()
 
9745
  {
 
9746
    as_val=$(( $* ))
 
9747
  }'
 
9748
else
 
9749
  as_fn_arith ()
 
9750
  {
 
9751
    as_val=`expr "$@" || test $? -eq 1`
 
9752
  }
 
9753
fi # as_fn_arith
 
9754
 
 
9755
 
15426
9756
if expr a : '\(a\)' >/dev/null 2>&1 &&
15427
9757
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15428
9758
  as_expr=expr
15436
9766
  as_basename=false
15437
9767
fi
15438
9768
 
 
9769
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
9770
  as_dirname=dirname
 
9771
else
 
9772
  as_dirname=false
 
9773
fi
15439
9774
 
15440
 
# Name of the executable.
15441
9775
as_me=`$as_basename -- "$0" ||
15442
9776
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15443
9777
         X"$0" : 'X\(//\)$' \| \
15444
9778
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15445
 
echo X/"$0" |
 
9779
$as_echo X/"$0" |
15446
9780
    sed '/^.*\/\([^/][^/]*\)\/*$/{
15447
9781
            s//\1/
15448
9782
            q
15457
9791
          }
15458
9792
          s/.*/./; q'`
15459
9793
 
15460
 
# CDPATH.
15461
 
$as_unset CDPATH
15462
 
 
15463
 
 
15464
 
 
15465
 
  as_lineno_1=$LINENO
15466
 
  as_lineno_2=$LINENO
15467
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
15468
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15469
 
 
15470
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15471
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
15472
 
  # line-number line after each line using $LINENO; the second 'sed'
15473
 
  # does the real work.  The second script uses 'N' to pair each
15474
 
  # line-number line with the line containing $LINENO, and appends
15475
 
  # trailing '-' during substitution so that $LINENO is not a special
15476
 
  # case at line end.
15477
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15478
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
15479
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
15480
 
  sed -n '
15481
 
    p
15482
 
    /[$]LINENO/=
15483
 
  ' <$as_myself |
15484
 
    sed '
15485
 
      s/[$]LINENO.*/&-/
15486
 
      t lineno
15487
 
      b
15488
 
      :lineno
15489
 
      N
15490
 
      :loop
15491
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15492
 
      t loop
15493
 
      s/-\n.*//
15494
 
    ' >$as_me.lineno &&
15495
 
  chmod +x "$as_me.lineno" ||
15496
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15497
 
   { (exit 1); exit 1; }; }
15498
 
 
15499
 
  # Don't try to exec as it changes $[0], causing all sort of problems
15500
 
  # (the dirname of $[0] is not the place where we might find the
15501
 
  # original and so on.  Autoconf is especially sensitive to this).
15502
 
  . "./$as_me.lineno"
15503
 
  # Exit status is that of the last command.
15504
 
  exit
15505
 
}
15506
 
 
15507
 
 
15508
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15509
 
  as_dirname=dirname
15510
 
else
15511
 
  as_dirname=false
15512
 
fi
 
9794
# Avoid depending upon Character Ranges.
 
9795
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
9796
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
9797
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
9798
as_cr_digits='0123456789'
 
9799
as_cr_alnum=$as_cr_Letters$as_cr_digits
15513
9800
 
15514
9801
ECHO_C= ECHO_N= ECHO_T=
15515
 
case `echo -n x` in
 
9802
case `echo -n x` in #(((((
15516
9803
-n*)
15517
 
  case `echo 'x\c'` in
 
9804
  case `echo 'xy\c'` in
15518
9805
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15519
 
  *)   ECHO_C='\c';;
 
9806
  xy)  ECHO_C='\c';;
 
9807
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
9808
       ECHO_T=' ';;
15520
9809
  esac;;
15521
9810
*)
15522
9811
  ECHO_N='-n';;
15523
9812
esac
15524
9813
 
15525
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15526
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15527
 
  as_expr=expr
15528
 
else
15529
 
  as_expr=false
15530
 
fi
15531
 
 
15532
9814
rm -f conf$$ conf$$.exe conf$$.file
15533
9815
if test -d conf$$.dir; then
15534
9816
  rm -f conf$$.dir/conf$$.file
15535
9817
else
15536
9818
  rm -f conf$$.dir
15537
 
  mkdir conf$$.dir
 
9819
  mkdir conf$$.dir 2>/dev/null
15538
9820
fi
15539
 
echo >conf$$.file
15540
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
15541
 
  as_ln_s='ln -s'
15542
 
  # ... but there are two gotchas:
15543
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15544
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15545
 
  # In both cases, we have to default to `cp -p'.
15546
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15547
 
    as_ln_s='cp -p'
15548
 
elif ln conf$$.file conf$$ 2>/dev/null; then
15549
 
  as_ln_s=ln
 
9821
if (echo >conf$$.file) 2>/dev/null; then
 
9822
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
9823
    as_ln_s='ln -s'
 
9824
    # ... but there are two gotchas:
 
9825
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
9826
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
9827
    # In both cases, we have to default to `cp -pR'.
 
9828
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
9829
      as_ln_s='cp -pR'
 
9830
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
9831
    as_ln_s=ln
 
9832
  else
 
9833
    as_ln_s='cp -pR'
 
9834
  fi
15550
9835
else
15551
 
  as_ln_s='cp -p'
 
9836
  as_ln_s='cp -pR'
15552
9837
fi
15553
9838
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15554
9839
rmdir conf$$.dir 2>/dev/null
15555
9840
 
 
9841
 
 
9842
# as_fn_mkdir_p
 
9843
# -------------
 
9844
# Create "$as_dir" as a directory, including parents if necessary.
 
9845
as_fn_mkdir_p ()
 
9846
{
 
9847
 
 
9848
  case $as_dir in #(
 
9849
  -*) as_dir=./$as_dir;;
 
9850
  esac
 
9851
  test -d "$as_dir" || eval $as_mkdir_p || {
 
9852
    as_dirs=
 
9853
    while :; do
 
9854
      case $as_dir in #(
 
9855
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
9856
      *) as_qdir=$as_dir;;
 
9857
      esac
 
9858
      as_dirs="'$as_qdir' $as_dirs"
 
9859
      as_dir=`$as_dirname -- "$as_dir" ||
 
9860
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
9861
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
9862
         X"$as_dir" : 'X\(//\)$' \| \
 
9863
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
9864
$as_echo X"$as_dir" |
 
9865
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
9866
            s//\1/
 
9867
            q
 
9868
          }
 
9869
          /^X\(\/\/\)[^/].*/{
 
9870
            s//\1/
 
9871
            q
 
9872
          }
 
9873
          /^X\(\/\/\)$/{
 
9874
            s//\1/
 
9875
            q
 
9876
          }
 
9877
          /^X\(\/\).*/{
 
9878
            s//\1/
 
9879
            q
 
9880
          }
 
9881
          s/.*/./; q'`
 
9882
      test -d "$as_dir" && break
 
9883
    done
 
9884
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
9885
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
9886
 
 
9887
 
 
9888
} # as_fn_mkdir_p
15556
9889
if mkdir -p . 2>/dev/null; then
15557
 
  as_mkdir_p=:
 
9890
  as_mkdir_p='mkdir -p "$as_dir"'
15558
9891
else
15559
9892
  test -d ./-p && rmdir ./-p
15560
9893
  as_mkdir_p=false
15561
9894
fi
15562
9895
 
15563
 
if test -x / >/dev/null 2>&1; then
15564
 
  as_test_x='test -x'
15565
 
else
15566
 
  if ls -dL / >/dev/null 2>&1; then
15567
 
    as_ls_L_option=L
15568
 
  else
15569
 
    as_ls_L_option=
15570
 
  fi
15571
 
  as_test_x='
15572
 
    eval sh -c '\''
15573
 
      if test -d "$1"; then
15574
 
        test -d "$1/.";
15575
 
      else
15576
 
        case $1 in
15577
 
        -*)set "./$1";;
15578
 
        esac;
15579
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15580
 
        ???[sx]*):;;*)false;;esac;fi
15581
 
    '\'' sh
15582
 
  '
15583
 
fi
15584
 
as_executable_p=$as_test_x
 
9896
 
 
9897
# as_fn_executable_p FILE
 
9898
# -----------------------
 
9899
# Test if FILE is an executable regular file.
 
9900
as_fn_executable_p ()
 
9901
{
 
9902
  test -f "$1" && test -x "$1"
 
9903
} # as_fn_executable_p
 
9904
as_test_x='test -x'
 
9905
as_executable_p=as_fn_executable_p
15585
9906
 
15586
9907
# Sed expression to map a string onto a valid CPP name.
15587
9908
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15591
9912
 
15592
9913
 
15593
9914
exec 6>&1
 
9915
## ----------------------------------- ##
 
9916
## Main body of $CONFIG_STATUS script. ##
 
9917
## ----------------------------------- ##
 
9918
_ASEOF
 
9919
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15594
9920
 
15595
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
9921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9922
# Save the log message, to keep $0 and so on meaningful, and to
15596
9923
# report actual input values of CONFIG_FILES etc. instead of their
15597
9924
# values after options handling.
15598
9925
ac_log="
15599
9926
This file was extended by $as_me, which was
15600
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
9927
generated by GNU Autoconf 2.69.  Invocation command line was
15601
9928
 
15602
9929
  CONFIG_FILES    = $CONFIG_FILES
15603
9930
  CONFIG_HEADERS  = $CONFIG_HEADERS
15610
9937
 
15611
9938
_ACEOF
15612
9939
 
15613
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9940
case $ac_config_files in *"
 
9941
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
9942
esac
 
9943
 
 
9944
case $ac_config_headers in *"
 
9945
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
9946
esac
 
9947
 
 
9948
 
 
9949
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15614
9950
# Files that config.status was made for.
15615
9951
config_files="$ac_config_files"
15616
9952
config_headers="$ac_config_headers"
15617
9953
 
15618
9954
_ACEOF
15619
9955
 
15620
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9956
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15621
9957
ac_cs_usage="\
15622
 
\`$as_me' instantiates files from templates according to the
15623
 
current configuration.
 
9958
\`$as_me' instantiates files and other configuration actions
 
9959
from templates according to the current configuration.  Unless the files
 
9960
and actions are specified as TAGs, all are instantiated by default.
15624
9961
 
15625
 
Usage: $0 [OPTIONS] [FILE]...
 
9962
Usage: $0 [OPTION]... [TAG]...
15626
9963
 
15627
9964
  -h, --help       print this help, then exit
15628
9965
  -V, --version    print version number and configuration settings, then exit
15629
 
  -q, --quiet      do not print progress messages
 
9966
      --config     print configuration, then exit
 
9967
  -q, --quiet, --silent
 
9968
                   do not print progress messages
15630
9969
  -d, --debug      don't remove temporary files
15631
9970
      --recheck    update $as_me by reconfiguring in the same conditions
15632
 
  --file=FILE[:TEMPLATE]
15633
 
                   instantiate the configuration file FILE
15634
 
  --header=FILE[:TEMPLATE]
15635
 
                   instantiate the configuration header FILE
 
9971
      --file=FILE[:TEMPLATE]
 
9972
                   instantiate the configuration file FILE
 
9973
      --header=FILE[:TEMPLATE]
 
9974
                   instantiate the configuration header FILE
15636
9975
 
15637
9976
Configuration files:
15638
9977
$config_files
15640
9979
Configuration headers:
15641
9980
$config_headers
15642
9981
 
15643
 
Report bugs to <bug-autoconf@gnu.org>."
 
9982
Report bugs to the package provider."
15644
9983
 
15645
9984
_ACEOF
15646
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9985
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9986
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15647
9987
ac_cs_version="\\
15648
9988
config.status
15649
 
configured by $0, generated by GNU Autoconf 2.61,
15650
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
9989
configured by $0, generated by GNU Autoconf 2.69,
 
9990
  with options \\"\$ac_cs_config\\"
15651
9991
 
15652
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
9992
Copyright (C) 2012 Free Software Foundation, Inc.
15653
9993
This config.status script is free software; the Free Software Foundation
15654
9994
gives unlimited permission to copy, distribute and modify it."
15655
9995
 
15656
9996
ac_pwd='$ac_pwd'
15657
9997
srcdir='$srcdir'
 
9998
test -n "\$AWK" || AWK=awk
15658
9999
_ACEOF
15659
10000
 
15660
 
cat >>$CONFIG_STATUS <<\_ACEOF
15661
 
# If no file are specified by the user, then we need to provide default
15662
 
# value.  By we need to know if files were specified by the user.
 
10001
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
10002
# The default lists apply if the user does not specify any file.
15663
10003
ac_need_defaults=:
15664
10004
while test $# != 0
15665
10005
do
15666
10006
  case $1 in
15667
 
  --*=*)
 
10007
  --*=?*)
15668
10008
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15669
10009
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15670
10010
    ac_shift=:
15671
10011
    ;;
 
10012
  --*=)
 
10013
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
10014
    ac_optarg=
 
10015
    ac_shift=:
 
10016
    ;;
15672
10017
  *)
15673
10018
    ac_option=$1
15674
10019
    ac_optarg=$2
15681
10026
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15682
10027
    ac_cs_recheck=: ;;
15683
10028
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15684
 
    echo "$ac_cs_version"; exit ;;
 
10029
    $as_echo "$ac_cs_version"; exit ;;
 
10030
  --config | --confi | --conf | --con | --co | --c )
 
10031
    $as_echo "$ac_cs_config"; exit ;;
15685
10032
  --debug | --debu | --deb | --de | --d | -d )
15686
10033
    debug=: ;;
15687
10034
  --file | --fil | --fi | --f )
15688
10035
    $ac_shift
15689
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
10036
    case $ac_optarg in
 
10037
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
10038
    '') as_fn_error $? "missing file argument" ;;
 
10039
    esac
 
10040
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15690
10041
    ac_need_defaults=false;;
15691
10042
  --header | --heade | --head | --hea )
15692
10043
    $ac_shift
15693
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
10044
    case $ac_optarg in
 
10045
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
10046
    esac
 
10047
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15694
10048
    ac_need_defaults=false;;
15695
10049
  --he | --h)
15696
10050
    # Conflict between --help and --header
15697
 
    { echo "$as_me: error: ambiguous option: $1
15698
 
Try \`$0 --help' for more information." >&2
15699
 
   { (exit 1); exit 1; }; };;
 
10051
    as_fn_error $? "ambiguous option: \`$1'
 
10052
Try \`$0 --help' for more information.";;
15700
10053
  --help | --hel | -h )
15701
 
    echo "$ac_cs_usage"; exit ;;
 
10054
    $as_echo "$ac_cs_usage"; exit ;;
15702
10055
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15703
10056
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15704
10057
    ac_cs_silent=: ;;
15705
10058
 
15706
10059
  # This is an error.
15707
 
  -*) { echo "$as_me: error: unrecognized option: $1
15708
 
Try \`$0 --help' for more information." >&2
15709
 
   { (exit 1); exit 1; }; } ;;
 
10060
  -*) as_fn_error $? "unrecognized option: \`$1'
 
10061
Try \`$0 --help' for more information." ;;
15710
10062
 
15711
 
  *) ac_config_targets="$ac_config_targets $1"
 
10063
  *) as_fn_append ac_config_targets " $1"
15712
10064
     ac_need_defaults=false ;;
15713
10065
 
15714
10066
  esac
15723
10075
fi
15724
10076
 
15725
10077
_ACEOF
15726
 
cat >>$CONFIG_STATUS <<_ACEOF
 
10078
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15727
10079
if \$ac_cs_recheck; then
15728
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15729
 
  CONFIG_SHELL=$SHELL
 
10080
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
10081
  shift
 
10082
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
10083
  CONFIG_SHELL='$SHELL'
15730
10084
  export CONFIG_SHELL
15731
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
10085
  exec "\$@"
15732
10086
fi
15733
10087
 
15734
10088
_ACEOF
15735
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10089
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15736
10090
exec 5>>config.log
15737
10091
{
15738
10092
  echo
15739
10093
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15740
10094
## Running $as_me. ##
15741
10095
_ASBOX
15742
 
  echo "$ac_log"
 
10096
  $as_echo "$ac_log"
15743
10097
} >&5
15744
10098
 
15745
10099
_ACEOF
15746
 
cat >>$CONFIG_STATUS <<_ACEOF
 
10100
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747
10101
_ACEOF
15748
10102
 
15749
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10103
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15750
10104
 
15751
10105
# Handling of arguments.
15752
10106
for ac_config_target in $ac_config_targets
15757
10111
    "libtomcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES libtomcrypt/Makefile" ;;
15758
10112
    "libtommath/Makefile") CONFIG_FILES="$CONFIG_FILES libtommath/Makefile" ;;
15759
10113
 
15760
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15761
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15762
 
   { (exit 1); exit 1; }; };;
 
10114
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15763
10115
  esac
15764
10116
done
15765
10117
 
15781
10133
# after its creation but before its name has been assigned to `$tmp'.
15782
10134
$debug ||
15783
10135
{
15784
 
  tmp=
 
10136
  tmp= ac_tmp=
15785
10137
  trap 'exit_status=$?
15786
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
10138
  : "${ac_tmp:=$tmp}"
 
10139
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15787
10140
' 0
15788
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
10141
  trap 'as_fn_exit 1' 1 2 13 15
15789
10142
}
15790
10143
# Create a (secure) tmp directory for tmp files.
15791
10144
 
15792
10145
{
15793
10146
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15794
 
  test -n "$tmp" && test -d "$tmp"
 
10147
  test -d "$tmp"
15795
10148
}  ||
15796
10149
{
15797
10150
  tmp=./conf$$-$RANDOM
15798
10151
  (umask 077 && mkdir "$tmp")
15799
 
} ||
15800
 
{
15801
 
   echo "$me: cannot create a temporary directory in ." >&2
15802
 
   { (exit 1); exit 1; }
15803
 
}
15804
 
 
15805
 
#
15806
 
# Set up the sed scripts for CONFIG_FILES section.
15807
 
#
15808
 
 
15809
 
# No need to generate the scripts if there are no CONFIG_FILES.
15810
 
# This happens for instance when ./config.status config.h
 
10152
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
10153
ac_tmp=$tmp
 
10154
 
 
10155
# Set up the scripts for CONFIG_FILES section.
 
10156
# No need to generate them if there are no CONFIG_FILES.
 
10157
# This happens for instance with `./config.status config.h'.
15811
10158
if test -n "$CONFIG_FILES"; then
15812
10159
 
 
10160
 
 
10161
ac_cr=`echo X | tr X '\015'`
 
10162
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
10163
# But we know of no other shell where ac_cr would be empty at this
 
10164
# point, so we can use a bashism as a fallback.
 
10165
if test "x$ac_cr" = x; then
 
10166
  eval ac_cr=\$\'\\r\'
 
10167
fi
 
10168
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
10169
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
10170
  ac_cs_awk_cr='\\r'
 
10171
else
 
10172
  ac_cs_awk_cr=$ac_cr
 
10173
fi
 
10174
 
 
10175
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15813
10176
_ACEOF
15814
10177
 
15815
10178
 
15816
 
 
 
10179
{
 
10180
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
10181
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
10182
  echo "_ACEOF"
 
10183
} >conf$$subs.sh ||
 
10184
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
10185
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15817
10186
ac_delim='%!_!# '
15818
10187
for ac_last_try in false false false false false :; do
15819
 
  cat >conf$$subs.sed <<_ACEOF
15820
 
SHELL!$SHELL$ac_delim
15821
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15822
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15823
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15824
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15825
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15826
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15827
 
exec_prefix!$exec_prefix$ac_delim
15828
 
prefix!$prefix$ac_delim
15829
 
program_transform_name!$program_transform_name$ac_delim
15830
 
bindir!$bindir$ac_delim
15831
 
sbindir!$sbindir$ac_delim
15832
 
libexecdir!$libexecdir$ac_delim
15833
 
datarootdir!$datarootdir$ac_delim
15834
 
datadir!$datadir$ac_delim
15835
 
sysconfdir!$sysconfdir$ac_delim
15836
 
sharedstatedir!$sharedstatedir$ac_delim
15837
 
localstatedir!$localstatedir$ac_delim
15838
 
includedir!$includedir$ac_delim
15839
 
oldincludedir!$oldincludedir$ac_delim
15840
 
docdir!$docdir$ac_delim
15841
 
infodir!$infodir$ac_delim
15842
 
htmldir!$htmldir$ac_delim
15843
 
dvidir!$dvidir$ac_delim
15844
 
pdfdir!$pdfdir$ac_delim
15845
 
psdir!$psdir$ac_delim
15846
 
libdir!$libdir$ac_delim
15847
 
localedir!$localedir$ac_delim
15848
 
mandir!$mandir$ac_delim
15849
 
DEFS!$DEFS$ac_delim
15850
 
ECHO_C!$ECHO_C$ac_delim
15851
 
ECHO_N!$ECHO_N$ac_delim
15852
 
ECHO_T!$ECHO_T$ac_delim
15853
 
LIBS!$LIBS$ac_delim
15854
 
build_alias!$build_alias$ac_delim
15855
 
host_alias!$host_alias$ac_delim
15856
 
target_alias!$target_alias$ac_delim
15857
 
CC!$CC$ac_delim
15858
 
CFLAGS!$CFLAGS$ac_delim
15859
 
LDFLAGS!$LDFLAGS$ac_delim
15860
 
CPPFLAGS!$CPPFLAGS$ac_delim
15861
 
ac_ct_CC!$ac_ct_CC$ac_delim
15862
 
EXEEXT!$EXEEXT$ac_delim
15863
 
OBJEXT!$OBJEXT$ac_delim
15864
 
SET_MAKE!$SET_MAKE$ac_delim
15865
 
LD!$LD$ac_delim
15866
 
build!$build$ac_delim
15867
 
build_cpu!$build_cpu$ac_delim
15868
 
build_vendor!$build_vendor$ac_delim
15869
 
build_os!$build_os$ac_delim
15870
 
host!$host$ac_delim
15871
 
host_cpu!$host_cpu$ac_delim
15872
 
host_vendor!$host_vendor$ac_delim
15873
 
host_os!$host_os$ac_delim
15874
 
AR!$AR$ac_delim
15875
 
RANLIB!$RANLIB$ac_delim
15876
 
STRIP!$STRIP$ac_delim
15877
 
INSTALL!$INSTALL$ac_delim
15878
 
CPP!$CPP$ac_delim
15879
 
GREP!$GREP$ac_delim
15880
 
EGREP!$EGREP$ac_delim
15881
 
CRYPTLIB!$CRYPTLIB$ac_delim
15882
 
BUNDLED_LIBTOM!$BUNDLED_LIBTOM$ac_delim
15883
 
LIBOBJS!$LIBOBJS$ac_delim
15884
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
15885
 
_ACEOF
 
10188
  . ./conf$$subs.sh ||
 
10189
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15886
10190
 
15887
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
 
10191
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
10192
  if test $ac_delim_n = $ac_delim_num; then
15888
10193
    break
15889
10194
  elif $ac_last_try; then
15890
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15891
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15892
 
   { (exit 1); exit 1; }; }
 
10195
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15893
10196
  else
15894
10197
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15895
10198
  fi
15896
10199
done
15897
 
 
15898
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15899
 
if test -n "$ac_eof"; then
15900
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15901
 
  ac_eof=`expr $ac_eof + 1`
15902
 
fi
15903
 
 
15904
 
cat >>$CONFIG_STATUS <<_ACEOF
15905
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15906
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15907
 
_ACEOF
15908
 
sed '
15909
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15910
 
s/^/s,@/; s/!/@,|#_!!_#|/
15911
 
:n
15912
 
t n
15913
 
s/'"$ac_delim"'$/,g/; t
15914
 
s/$/\\/; p
15915
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15916
 
' >>$CONFIG_STATUS <conf$$subs.sed
15917
 
rm -f conf$$subs.sed
15918
 
cat >>$CONFIG_STATUS <<_ACEOF
15919
 
:end
15920
 
s/|#_!!_#|//g
15921
 
CEOF$ac_eof
15922
 
_ACEOF
15923
 
 
15924
 
 
15925
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15926
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
10200
rm -f conf$$subs.sh
 
10201
 
 
10202
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10203
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
10204
_ACEOF
 
10205
sed -n '
 
10206
h
 
10207
s/^/S["/; s/!.*/"]=/
 
10208
p
 
10209
g
 
10210
s/^[^!]*!//
 
10211
:repl
 
10212
t repl
 
10213
s/'"$ac_delim"'$//
 
10214
t delim
 
10215
:nl
 
10216
h
 
10217
s/\(.\{148\}\)..*/\1/
 
10218
t more1
 
10219
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
10220
p
 
10221
n
 
10222
b repl
 
10223
:more1
 
10224
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
10225
p
 
10226
g
 
10227
s/.\{148\}//
 
10228
t nl
 
10229
:delim
 
10230
h
 
10231
s/\(.\{148\}\)..*/\1/
 
10232
t more2
 
10233
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
10234
p
 
10235
b
 
10236
:more2
 
10237
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
10238
p
 
10239
g
 
10240
s/.\{148\}//
 
10241
t delim
 
10242
' <conf$$subs.awk | sed '
 
10243
/^[^""]/{
 
10244
  N
 
10245
  s/\n//
 
10246
}
 
10247
' >>$CONFIG_STATUS || ac_write_fail=1
 
10248
rm -f conf$$subs.awk
 
10249
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10250
_ACAWK
 
10251
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
10252
  for (key in S) S_is_set[key] = 1
 
10253
  FS = ""
 
10254
 
 
10255
}
 
10256
{
 
10257
  line = $ 0
 
10258
  nfields = split(line, field, "@")
 
10259
  substed = 0
 
10260
  len = length(field[1])
 
10261
  for (i = 2; i < nfields; i++) {
 
10262
    key = field[i]
 
10263
    keylen = length(key)
 
10264
    if (S_is_set[key]) {
 
10265
      value = S[key]
 
10266
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
10267
      len += length(value) + length(field[++i])
 
10268
      substed = 1
 
10269
    } else
 
10270
      len += 1 + keylen
 
10271
  }
 
10272
 
 
10273
  print line
 
10274
}
 
10275
 
 
10276
_ACAWK
 
10277
_ACEOF
 
10278
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
10279
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
10280
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
10281
else
 
10282
  cat
 
10283
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
10284
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
10285
_ACEOF
 
10286
 
 
10287
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
10288
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15927
10289
# trailing colons and then remove the whole line if VPATH becomes empty
15928
10290
# (actually we leave an empty line to preserve line numbers).
15929
10291
if test "x$srcdir" = x.; then
15930
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15931
 
s/:*\$(srcdir):*/:/
15932
 
s/:*\${srcdir}:*/:/
15933
 
s/:*@srcdir@:*/:/
15934
 
s/^\([^=]*=[     ]*\):*/\1/
 
10292
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
10293
h
 
10294
s///
 
10295
s/^/:/
 
10296
s/[      ]*$/:/
 
10297
s/:\$(srcdir):/:/g
 
10298
s/:\${srcdir}:/:/g
 
10299
s/:@srcdir@:/:/g
 
10300
s/^:*//
15935
10301
s/:*$//
 
10302
x
 
10303
s/\(=[   ]*\).*/\1/
 
10304
G
 
10305
s/\n//
15936
10306
s/^[^=]*=[       ]*$//
15937
10307
}'
15938
10308
fi
15939
10309
 
15940
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10310
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15941
10311
fi # test -n "$CONFIG_FILES"
15942
10312
 
15943
 
 
15944
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
10313
# Set up the scripts for CONFIG_HEADERS section.
 
10314
# No need to generate them if there are no CONFIG_HEADERS.
 
10315
# This happens for instance with `./config.status Makefile'.
 
10316
if test -n "$CONFIG_HEADERS"; then
 
10317
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
10318
BEGIN {
 
10319
_ACEOF
 
10320
 
 
10321
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
10322
# here-document in config.status, that substitutes the proper values into
 
10323
# config.h.in to produce config.h.
 
10324
 
 
10325
# Create a delimiter string that does not exist in confdefs.h, to ease
 
10326
# handling of long lines.
 
10327
ac_delim='%!_!# '
 
10328
for ac_last_try in false false :; do
 
10329
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
10330
  if test -z "$ac_tt"; then
 
10331
    break
 
10332
  elif $ac_last_try; then
 
10333
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
10334
  else
 
10335
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
10336
  fi
 
10337
done
 
10338
 
 
10339
# For the awk script, D is an array of macro values keyed by name,
 
10340
# likewise P contains macro parameters if any.  Preserve backslash
 
10341
# newline sequences.
 
10342
 
 
10343
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
10344
sed -n '
 
10345
s/.\{148\}/&'"$ac_delim"'/g
 
10346
t rset
 
10347
:rset
 
10348
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
10349
t def
 
10350
d
 
10351
:def
 
10352
s/\\$//
 
10353
t bsnl
 
10354
s/["\\]/\\&/g
 
10355
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
10356
D["\1"]=" \3"/p
 
10357
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
10358
d
 
10359
:bsnl
 
10360
s/["\\]/\\&/g
 
10361
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
10362
D["\1"]=" \3\\\\\\n"\\/p
 
10363
t cont
 
10364
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
10365
t cont
 
10366
d
 
10367
:cont
 
10368
n
 
10369
s/.\{148\}/&'"$ac_delim"'/g
 
10370
t clear
 
10371
:clear
 
10372
s/\\$//
 
10373
t bsnlc
 
10374
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
10375
d
 
10376
:bsnlc
 
10377
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
10378
b cont
 
10379
' <confdefs.h | sed '
 
10380
s/'"$ac_delim"'/"\\\
 
10381
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
10382
 
 
10383
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10384
  for (key in D) D_is_set[key] = 1
 
10385
  FS = ""
 
10386
}
 
10387
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
10388
  line = \$ 0
 
10389
  split(line, arg, " ")
 
10390
  if (arg[1] == "#") {
 
10391
    defundef = arg[2]
 
10392
    mac1 = arg[3]
 
10393
  } else {
 
10394
    defundef = substr(arg[1], 2)
 
10395
    mac1 = arg[2]
 
10396
  }
 
10397
  split(mac1, mac2, "(") #)
 
10398
  macro = mac2[1]
 
10399
  prefix = substr(line, 1, index(line, defundef) - 1)
 
10400
  if (D_is_set[macro]) {
 
10401
    # Preserve the white space surrounding the "#".
 
10402
    print prefix "define", macro P[macro] D[macro]
 
10403
    next
 
10404
  } else {
 
10405
    # Replace #undef with comments.  This is necessary, for example,
 
10406
    # in the case of _POSIX_SOURCE, which is predefined and required
 
10407
    # on some systems where configure will not decide to define it.
 
10408
    if (defundef == "undef") {
 
10409
      print "/*", prefix defundef, macro, "*/"
 
10410
      next
 
10411
    }
 
10412
  }
 
10413
}
 
10414
{ print }
 
10415
_ACAWK
 
10416
_ACEOF
 
10417
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
10418
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
10419
fi # test -n "$CONFIG_HEADERS"
 
10420
 
 
10421
 
 
10422
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 
10423
shift
 
10424
for ac_tag
15945
10425
do
15946
10426
  case $ac_tag in
15947
10427
  :[FHLC]) ac_mode=$ac_tag; continue;;
15948
10428
  esac
15949
10429
  case $ac_mode$ac_tag in
15950
10430
  :[FHL]*:*);;
15951
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15952
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15953
 
   { (exit 1); exit 1; }; };;
 
10431
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15954
10432
  :[FH]-) ac_tag=-:-;;
15955
10433
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15956
10434
  esac
15969
10447
    for ac_f
15970
10448
    do
15971
10449
      case $ac_f in
15972
 
      -) ac_f="$tmp/stdin";;
 
10450
      -) ac_f="$ac_tmp/stdin";;
15973
10451
      *) # Look for the file first in the build tree, then in the source tree
15974
10452
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15975
10453
         # because $ac_f cannot contain `:'.
15978
10456
           [\\/$]*) false;;
15979
10457
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15980
10458
           esac ||
15981
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15982
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15983
 
   { (exit 1); exit 1; }; };;
 
10459
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15984
10460
      esac
15985
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
10461
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
10462
      as_fn_append ac_file_inputs " '$ac_f'"
15986
10463
    done
15987
10464
 
15988
10465
    # Let's still pretend it is `configure' which instantiates (i.e., don't
15989
10466
    # use $as_me), people would be surprised to read:
15990
10467
    #    /* config.h.  Generated by config.status.  */
15991
 
    configure_input="Generated from "`IFS=:
15992
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
10468
    configure_input='Generated from '`
 
10469
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
10470
        `' by configure.'
15993
10471
    if test x"$ac_file" != x-; then
15994
10472
      configure_input="$ac_file.  $configure_input"
15995
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
15996
 
echo "$as_me: creating $ac_file" >&6;}
 
10473
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
10474
$as_echo "$as_me: creating $ac_file" >&6;}
15997
10475
    fi
 
10476
    # Neutralize special characters interpreted by sed in replacement strings.
 
10477
    case $configure_input in #(
 
10478
    *\&* | *\|* | *\\* )
 
10479
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
10480
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
10481
    *) ac_sed_conf_input=$configure_input;;
 
10482
    esac
15998
10483
 
15999
10484
    case $ac_tag in
16000
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
10485
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
10486
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16001
10487
    esac
16002
10488
    ;;
16003
10489
  esac
16007
10493
         X"$ac_file" : 'X\(//\)[^/]' \| \
16008
10494
         X"$ac_file" : 'X\(//\)$' \| \
16009
10495
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16010
 
echo X"$ac_file" |
16011
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16012
 
            s//\1/
16013
 
            q
16014
 
          }
16015
 
          /^X\(\/\/\)[^/].*/{
16016
 
            s//\1/
16017
 
            q
16018
 
          }
16019
 
          /^X\(\/\/\)$/{
16020
 
            s//\1/
16021
 
            q
16022
 
          }
16023
 
          /^X\(\/\).*/{
16024
 
            s//\1/
16025
 
            q
16026
 
          }
16027
 
          s/.*/./; q'`
16028
 
  { as_dir="$ac_dir"
16029
 
  case $as_dir in #(
16030
 
  -*) as_dir=./$as_dir;;
16031
 
  esac
16032
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16033
 
    as_dirs=
16034
 
    while :; do
16035
 
      case $as_dir in #(
16036
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16037
 
      *) as_qdir=$as_dir;;
16038
 
      esac
16039
 
      as_dirs="'$as_qdir' $as_dirs"
16040
 
      as_dir=`$as_dirname -- "$as_dir" ||
16041
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16042
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16043
 
         X"$as_dir" : 'X\(//\)$' \| \
16044
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16045
 
echo X"$as_dir" |
16046
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16047
 
            s//\1/
16048
 
            q
16049
 
          }
16050
 
          /^X\(\/\/\)[^/].*/{
16051
 
            s//\1/
16052
 
            q
16053
 
          }
16054
 
          /^X\(\/\/\)$/{
16055
 
            s//\1/
16056
 
            q
16057
 
          }
16058
 
          /^X\(\/\).*/{
16059
 
            s//\1/
16060
 
            q
16061
 
          }
16062
 
          s/.*/./; q'`
16063
 
      test -d "$as_dir" && break
16064
 
    done
16065
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16066
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16067
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
16068
 
   { (exit 1); exit 1; }; }; }
 
10496
$as_echo X"$ac_file" |
 
10497
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
10498
            s//\1/
 
10499
            q
 
10500
          }
 
10501
          /^X\(\/\/\)[^/].*/{
 
10502
            s//\1/
 
10503
            q
 
10504
          }
 
10505
          /^X\(\/\/\)$/{
 
10506
            s//\1/
 
10507
            q
 
10508
          }
 
10509
          /^X\(\/\).*/{
 
10510
            s//\1/
 
10511
            q
 
10512
          }
 
10513
          s/.*/./; q'`
 
10514
  as_dir="$ac_dir"; as_fn_mkdir_p
16069
10515
  ac_builddir=.
16070
10516
 
16071
10517
case "$ac_dir" in
16072
10518
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16073
10519
*)
16074
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
10520
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16075
10521
  # A ".." for each directory in $ac_dir_suffix.
16076
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
10522
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16077
10523
  case $ac_top_builddir_sub in
16078
10524
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16079
10525
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16109
10555
 
16110
10556
_ACEOF
16111
10557
 
16112
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10558
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16113
10559
# If the template does not know about datarootdir, expand it.
16114
10560
# FIXME: This hack should be removed a few years after 2.60.
16115
10561
ac_datarootdir_hack=; ac_datarootdir_seen=
16116
 
 
16117
 
case `sed -n '/datarootdir/ {
 
10562
ac_sed_dataroot='
 
10563
/datarootdir/ {
16118
10564
  p
16119
10565
  q
16120
10566
}
16122
10568
/@docdir@/p
16123
10569
/@infodir@/p
16124
10570
/@localedir@/p
16125
 
/@mandir@/p
16126
 
' $ac_file_inputs` in
 
10571
/@mandir@/p'
 
10572
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16127
10573
*datarootdir*) ac_datarootdir_seen=yes;;
16128
10574
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16129
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16130
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
10575
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
10576
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16131
10577
_ACEOF
16132
 
cat >>$CONFIG_STATUS <<_ACEOF
 
10578
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16133
10579
  ac_datarootdir_hack='
16134
10580
  s&@datadir@&$datadir&g
16135
10581
  s&@docdir@&$docdir&g
16136
10582
  s&@infodir@&$infodir&g
16137
10583
  s&@localedir@&$localedir&g
16138
10584
  s&@mandir@&$mandir&g
16139
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
10585
  s&\\\${datarootdir}&$datarootdir&g' ;;
16140
10586
esac
16141
10587
_ACEOF
16142
10588
 
16143
10589
# Neutralize VPATH when `$srcdir' = `.'.
16144
10590
# Shell code in configure.ac might set extrasub.
16145
10591
# FIXME: do we really want to maintain this feature?
16146
 
cat >>$CONFIG_STATUS <<_ACEOF
16147
 
  sed "$ac_vpsub
 
10592
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10593
ac_sed_extra="$ac_vpsub
16148
10594
$extrasub
16149
10595
_ACEOF
16150
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10596
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16151
10597
:t
16152
10598
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16153
 
s&@configure_input@&$configure_input&;t t
 
10599
s|@configure_input@|$ac_sed_conf_input|;t t
16154
10600
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
10601
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16155
10602
s&@srcdir@&$ac_srcdir&;t t
16156
10603
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16157
10604
s&@top_srcdir@&$ac_top_srcdir&;t t
16160
10607
s&@abs_builddir@&$ac_abs_builddir&;t t
16161
10608
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16162
10609
$ac_datarootdir_hack
16163
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
10610
"
 
10611
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
10612
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16164
10613
 
16165
10614
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16166
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16167
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16168
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16169
 
which seems to be undefined.  Please make sure it is defined." >&5
16170
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16171
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
10615
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
10616
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
10617
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
10618
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
10619
which seems to be undefined.  Please make sure it is defined" >&5
 
10620
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
10621
which seems to be undefined.  Please make sure it is defined" >&2;}
16172
10622
 
16173
 
  rm -f "$tmp/stdin"
 
10623
  rm -f "$ac_tmp/stdin"
16174
10624
  case $ac_file in
16175
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
16176
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16177
 
  esac
 
10625
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
10626
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
10627
  esac \
 
10628
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16178
10629
 ;;
16179
10630
  :H)
16180
10631
  #
16181
10632
  # CONFIG_HEADER
16182
10633
  #
16183
 
_ACEOF
16184
 
 
16185
 
# Transform confdefs.h into a sed script `conftest.defines', that
16186
 
# substitutes the proper values into config.h.in to produce config.h.
16187
 
rm -f conftest.defines conftest.tail
16188
 
# First, append a space to every undef/define line, to ease matching.
16189
 
echo 's/$/ /' >conftest.defines
16190
 
# Then, protect against being on the right side of a sed subst, or in
16191
 
# an unquoted here document, in config.status.  If some macros were
16192
 
# called several times there might be several #defines for the same
16193
 
# symbol, which is useless.  But do not sort them, since the last
16194
 
# AC_DEFINE must be honored.
16195
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16196
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16197
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
16198
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
16199
 
# just an empty string.
16200
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
16201
 
ac_dB='\\)[      (].*,\\1define\\2'
16202
 
ac_dC=' '
16203
 
ac_dD=' ,'
16204
 
 
16205
 
uniq confdefs.h |
16206
 
  sed -n '
16207
 
        t rset
16208
 
        :rset
16209
 
        s/^[     ]*#[    ]*define[       ][      ]*//
16210
 
        t ok
16211
 
        d
16212
 
        :ok
16213
 
        s/[\\&,]/\\&/g
16214
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16215
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16216
 
  ' >>conftest.defines
16217
 
 
16218
 
# Remove the space that was appended to ease matching.
16219
 
# Then replace #undef with comments.  This is necessary, for
16220
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
16221
 
# on some systems where configure will not decide to define it.
16222
 
# (The regexp can be short, since the line contains either #define or #undef.)
16223
 
echo 's/ $//
16224
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
16225
 
 
16226
 
# Break up conftest.defines:
16227
 
ac_max_sed_lines=50
16228
 
 
16229
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16230
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16231
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16232
 
# et cetera.
16233
 
ac_in='$ac_file_inputs'
16234
 
ac_out='"$tmp/out1"'
16235
 
ac_nxt='"$tmp/out2"'
16236
 
 
16237
 
while :
16238
 
do
16239
 
  # Write a here document:
16240
 
    cat >>$CONFIG_STATUS <<_ACEOF
16241
 
    # First, check the format of the line:
16242
 
    cat >"\$tmp/defines.sed" <<\\CEOF
16243
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
16244
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
16245
 
b
16246
 
:def
16247
 
_ACEOF
16248
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16249
 
  echo 'CEOF
16250
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16251
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16252
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16253
 
  grep . conftest.tail >/dev/null || break
16254
 
  rm -f conftest.defines
16255
 
  mv conftest.tail conftest.defines
16256
 
done
16257
 
rm -f conftest.defines conftest.tail
16258
 
 
16259
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
16260
 
cat >>$CONFIG_STATUS <<\_ACEOF
16261
10634
  if test x"$ac_file" != x-; then
16262
 
    echo "/* $configure_input  */" >"$tmp/config.h"
16263
 
    cat "$ac_result" >>"$tmp/config.h"
16264
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16265
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16266
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
10635
    {
 
10636
      $as_echo "/* $configure_input  */" \
 
10637
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
10638
    } >"$ac_tmp/config.h" \
 
10639
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
10640
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
10641
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
10642
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16267
10643
    else
16268
 
      rm -f $ac_file
16269
 
      mv "$tmp/config.h" $ac_file
 
10644
      rm -f "$ac_file"
 
10645
      mv "$ac_tmp/config.h" "$ac_file" \
 
10646
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16270
10647
    fi
16271
10648
  else
16272
 
    echo "/* $configure_input  */"
16273
 
    cat "$ac_result"
 
10649
    $as_echo "/* $configure_input  */" \
 
10650
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
10651
      || as_fn_error $? "could not create -" "$LINENO" 5
16274
10652
  fi
16275
 
  rm -f "$tmp/out12"
16276
10653
 ;;
16277
10654
 
16278
10655
 
16281
10658
done # for ac_tag
16282
10659
 
16283
10660
 
16284
 
{ (exit 0); exit 0; }
 
10661
as_fn_exit 0
16285
10662
_ACEOF
16286
 
chmod +x $CONFIG_STATUS
16287
10663
ac_clean_files=$ac_clean_files_save
16288
10664
 
 
10665
test $ac_write_fail = 0 ||
 
10666
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
10667
 
16289
10668
 
16290
10669
# configure is writing to config.log, and then calls config.status.
16291
10670
# config.status does its own redirection, appending to config.log.
16305
10684
  exec 5>>config.log
16306
10685
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16307
10686
  # would make configure fail if this is the last instruction.
16308
 
  $ac_cs_success || { (exit 1); exit 1; }
16309
 
fi
16310
 
 
16311
 
 
16312
 
{ echo "$as_me:$LINENO: " >&5
16313
 
echo "$as_me: " >&6;}
 
10687
  $ac_cs_success || as_fn_exit 1
 
10688
fi
 
10689
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
10690
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
10691
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
10692
fi
 
10693
 
 
10694
 
 
10695
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
 
10696
$as_echo "$as_me: " >&6;}
16314
10697
if test $BUNDLED_LIBTOM = 1 ; then
16315
 
{ echo "$as_me:$LINENO: Using bundled libtomcrypt and libtommath" >&5
16316
 
echo "$as_me: Using bundled libtomcrypt and libtommath" >&6;}
 
10698
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using bundled libtomcrypt and libtommath" >&5
 
10699
$as_echo "$as_me: Using bundled libtomcrypt and libtommath" >&6;}
16317
10700
else
16318
 
{ echo "$as_me:$LINENO: Using system libtomcrypt and libtommath" >&5
16319
 
echo "$as_me: Using system libtomcrypt and libtommath" >&6;}
 
10701
{ $as_echo "$as_me:${as_lineno-$LINENO}: Using system libtomcrypt and libtommath" >&5
 
10702
$as_echo "$as_me: Using system libtomcrypt and libtommath" >&6;}
16320
10703
fi
16321
10704
 
16322
 
{ echo "$as_me:$LINENO: " >&5
16323
 
echo "$as_me: " >&6;}
16324
 
{ echo "$as_me:$LINENO: Now edit options.h to choose features." >&5
16325
 
echo "$as_me: Now edit options.h to choose features." >&6;}
 
10705
{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
 
10706
$as_echo "$as_me: " >&6;}
 
10707
{ $as_echo "$as_me:${as_lineno-$LINENO}: Now edit options.h to choose features." >&5
 
10708
$as_echo "$as_me: Now edit options.h to choose features." >&6;}