~ubuntu-branches/ubuntu/hardy/gnupg/hardy-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2006-12-12 15:56:56 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20061212155656-kk00wp4x0uq4tm1y
Tags: upstream-1.4.6
ImportĀ upstreamĀ versionĀ 1.4.6

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.59 for gnupg 1.4.5.
 
3
# Generated by GNU Autoconf 2.60a for gnupg 1.4.6.
4
4
#
5
5
# Report bugs to <bug-gnupg@gnu.org>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
18
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
20
  # is contrary to our usage.  Disable this feature.
20
21
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
 
22
  setopt NO_GLOB_SUBST
 
23
else
 
24
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
25
fi
 
26
BIN_SH=xpg4; export BIN_SH # for Tru64
24
27
DUALCASE=1; export DUALCASE # for MKS sh
25
28
 
 
29
 
 
30
# PATH needs CR
 
31
# Avoid depending upon Character Ranges.
 
32
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
33
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
34
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
35
as_cr_digits='0123456789'
 
36
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
37
 
 
38
# The user is always right.
 
39
if test "${PATH_SEPARATOR+set}" != set; then
 
40
  echo "#! /bin/sh" >conf$$.sh
 
41
  echo  "exit 0"   >>conf$$.sh
 
42
  chmod +x conf$$.sh
 
43
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
44
    PATH_SEPARATOR=';'
 
45
  else
 
46
    PATH_SEPARATOR=:
 
47
  fi
 
48
  rm -f conf$$.sh
 
49
fi
 
50
 
26
51
# Support unset when possible.
27
52
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
53
  as_unset=unset
31
56
fi
32
57
 
33
58
 
 
59
# IFS
 
60
# We need space, tab and new line, in precisely that order.  Quoting is
 
61
# there to prevent editors from complaining about space-tab.
 
62
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
63
# splitting by setting IFS to empty value.)
 
64
as_nl='
 
65
'
 
66
IFS=" ""        $as_nl"
 
67
 
 
68
# Find who we are.  Look in the path if we contain no directory separator.
 
69
case $0 in
 
70
  *[\\/]* ) as_myself=$0 ;;
 
71
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
72
for as_dir in $PATH
 
73
do
 
74
  IFS=$as_save_IFS
 
75
  test -z "$as_dir" && as_dir=.
 
76
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
77
done
 
78
IFS=$as_save_IFS
 
79
 
 
80
     ;;
 
81
esac
 
82
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
83
# in which case we are not to be found in the path.
 
84
if test "x$as_myself" = x; then
 
85
  as_myself=$0
 
86
fi
 
87
if test ! -f "$as_myself"; then
 
88
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
89
  { (exit 1); exit 1; }
 
90
fi
 
91
 
34
92
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
93
for as_var in ENV MAIL MAILPATH
 
94
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
95
done
36
96
PS1='$ '
37
97
PS2='> '
38
98
PS4='+ '
46
106
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
107
    eval $as_var=C; export $as_var
48
108
  else
49
 
    $as_unset $as_var
 
109
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
110
  fi
51
111
done
52
112
 
53
113
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
114
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
115
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
116
  as_expr=expr
56
117
else
57
118
  as_expr=false
58
119
fi
59
120
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
121
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
122
  as_basename=basename
62
123
else
63
124
  as_basename=false
65
126
 
66
127
 
67
128
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
132
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
133
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
134
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
135
            s//\1/
 
136
            q
 
137
          }
 
138
          /^X\/\(\/\/\)$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\).*/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          s/.*/./; q'`
 
147
 
 
148
# CDPATH.
 
149
$as_unset CDPATH
 
150
 
 
151
 
 
152
if test "x$CONFIG_SHELL" = x; then
 
153
  if (eval ":") 2>/dev/null; then
 
154
  as_have_required=yes
 
155
else
 
156
  as_have_required=no
 
157
fi
 
158
 
 
159
  if test $as_have_required = yes &&     (eval ":
 
160
(as_func_return () {
 
161
  (exit \$1)
 
162
}
 
163
as_func_success () {
 
164
  as_func_return 0
 
165
}
 
166
as_func_failure () {
 
167
  as_func_return 1
 
168
}
 
169
as_func_ret_success () {
 
170
  return 0
 
171
}
 
172
as_func_ret_failure () {
 
173
  return 1
 
174
}
 
175
 
 
176
exitcode=0
 
177
if as_func_success; then
 
178
  :
 
179
else
 
180
  exitcode=1
 
181
  echo as_func_success failed.
 
182
fi
 
183
 
 
184
if as_func_failure; then
 
185
  exitcode=1
 
186
  echo as_func_failure succeeded.
 
187
fi
 
188
 
 
189
if as_func_ret_success; then
 
190
  :
 
191
else
 
192
  exitcode=1
 
193
  echo as_func_ret_success failed.
 
194
fi
 
195
 
 
196
if as_func_ret_failure; then
 
197
  exitcode=1
 
198
  echo as_func_ret_failure succeeded.
 
199
fi
 
200
 
 
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
202
  :
 
203
else
 
204
  exitcode=1
 
205
  echo positional parameters were not saved.
 
206
fi
 
207
 
 
208
test \$exitcode = 0) || { (exit 1); exit 1; }
 
209
 
 
210
(
 
211
  as_lineno_1=\$LINENO
 
212
  as_lineno_2=\$LINENO
 
213
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
214
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
215
") 2> /dev/null; then
 
216
  :
 
217
else
 
218
  as_candidate_shells=
132
219
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
do
135
222
  IFS=$as_save_IFS
136
223
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
224
  case $as_dir in
139
225
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
226
           for as_base in sh bash ksh sh5; do
 
227
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
228
           done;;
 
229
       esac
154
230
done
155
 
;;
156
 
  esac
 
231
IFS=$as_save_IFS
 
232
 
 
233
 
 
234
      for as_shell in $as_candidate_shells $SHELL; do
 
235
         # Try only shells that exist, to save several forks.
 
236
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
237
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
238
# Be Bourne compatible
 
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
240
  emulate sh
 
241
  NULLCMD=:
 
242
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
243
  # is contrary to our usage.  Disable this feature.
 
244
  alias -g '${1+"$@"}'='"$@"'
 
245
  setopt NO_GLOB_SUBST
 
246
else
 
247
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
248
fi
 
249
BIN_SH=xpg4; export BIN_SH # for Tru64
 
250
DUALCASE=1; export DUALCASE # for MKS sh
 
251
 
 
252
:
 
253
_ASEOF
 
254
}; then
 
255
  CONFIG_SHELL=$as_shell
 
256
               as_have_required=yes
 
257
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
258
# Be Bourne compatible
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
260
  emulate sh
 
261
  NULLCMD=:
 
262
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
263
  # is contrary to our usage.  Disable this feature.
 
264
  alias -g '${1+"$@"}'='"$@"'
 
265
  setopt NO_GLOB_SUBST
 
266
else
 
267
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
268
fi
 
269
BIN_SH=xpg4; export BIN_SH # for Tru64
 
270
DUALCASE=1; export DUALCASE # for MKS sh
 
271
 
 
272
:
 
273
(as_func_return () {
 
274
  (exit $1)
 
275
}
 
276
as_func_success () {
 
277
  as_func_return 0
 
278
}
 
279
as_func_failure () {
 
280
  as_func_return 1
 
281
}
 
282
as_func_ret_success () {
 
283
  return 0
 
284
}
 
285
as_func_ret_failure () {
 
286
  return 1
 
287
}
 
288
 
 
289
exitcode=0
 
290
if as_func_success; then
 
291
  :
 
292
else
 
293
  exitcode=1
 
294
  echo as_func_success failed.
 
295
fi
 
296
 
 
297
if as_func_failure; then
 
298
  exitcode=1
 
299
  echo as_func_failure succeeded.
 
300
fi
 
301
 
 
302
if as_func_ret_success; then
 
303
  :
 
304
else
 
305
  exitcode=1
 
306
  echo as_func_ret_success failed.
 
307
fi
 
308
 
 
309
if as_func_ret_failure; then
 
310
  exitcode=1
 
311
  echo as_func_ret_failure succeeded.
 
312
fi
 
313
 
 
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
315
  :
 
316
else
 
317
  exitcode=1
 
318
  echo positional parameters were not saved.
 
319
fi
 
320
 
 
321
test $exitcode = 0) || { (exit 1); exit 1; }
 
322
 
 
323
(
 
324
  as_lineno_1=$LINENO
 
325
  as_lineno_2=$LINENO
 
326
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
327
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
328
 
 
329
_ASEOF
 
330
}; then
 
331
  break
 
332
fi
 
333
 
 
334
fi
 
335
 
 
336
      done
 
337
 
 
338
      if test "x$CONFIG_SHELL" != x; then
 
339
  for as_var in BASH_ENV ENV
 
340
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
341
        done
 
342
        export CONFIG_SHELL
 
343
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
344
fi
 
345
 
 
346
 
 
347
    if test $as_have_required = no; then
 
348
  echo This script requires a shell more modern than all the
 
349
      echo shells that I found on your system.  Please install a
 
350
      echo modern shell, or manually run the script under such a
 
351
      echo shell if you do have one.
 
352
      { (exit 1); exit 1; }
 
353
fi
 
354
 
 
355
 
 
356
fi
 
357
 
 
358
fi
 
359
 
 
360
 
 
361
 
 
362
(eval "as_func_return () {
 
363
  (exit \$1)
 
364
}
 
365
as_func_success () {
 
366
  as_func_return 0
 
367
}
 
368
as_func_failure () {
 
369
  as_func_return 1
 
370
}
 
371
as_func_ret_success () {
 
372
  return 0
 
373
}
 
374
as_func_ret_failure () {
 
375
  return 1
 
376
}
 
377
 
 
378
exitcode=0
 
379
if as_func_success; then
 
380
  :
 
381
else
 
382
  exitcode=1
 
383
  echo as_func_success failed.
 
384
fi
 
385
 
 
386
if as_func_failure; then
 
387
  exitcode=1
 
388
  echo as_func_failure succeeded.
 
389
fi
 
390
 
 
391
if as_func_ret_success; then
 
392
  :
 
393
else
 
394
  exitcode=1
 
395
  echo as_func_ret_success failed.
 
396
fi
 
397
 
 
398
if as_func_ret_failure; then
 
399
  exitcode=1
 
400
  echo as_func_ret_failure succeeded.
 
401
fi
 
402
 
 
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
404
  :
 
405
else
 
406
  exitcode=1
 
407
  echo positional parameters were not saved.
 
408
fi
 
409
 
 
410
test \$exitcode = 0") || {
 
411
  echo No shell found that supports shell functions.
 
412
  echo Please tell autoconf@gnu.org about your system,
 
413
  echo including any error possibly output before this
 
414
  echo message
 
415
}
 
416
 
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO
 
420
  as_lineno_2=$LINENO
 
421
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
422
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
423
 
158
424
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
426
  # line-number line after each line using $LINENO; the second 'sed'
 
427
  # does the real work.  The second script uses 'N' to pair each
 
428
  # line-number line with the line containing $LINENO, and appends
 
429
  # trailing '-' during substitution so that $LINENO is not a special
 
430
  # case at line end.
164
431
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
432
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
433
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
434
  sed -n '
 
435
    p
 
436
    /[$]LINENO/=
 
437
  ' <$as_myself |
167
438
    sed '
 
439
      s/[$]LINENO.*/&-/
 
440
      t lineno
 
441
      b
 
442
      :lineno
168
443
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
444
      :loop
 
445
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
446
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
447
      s/-\n.*//
175
448
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
449
  chmod +x "$as_me.lineno" ||
177
450
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
   { (exit 1); exit 1; }; }
179
452
 
180
453
  # Don't try to exec as it changes $[0], causing all sort of problems
181
454
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
455
  # original and so on.  Autoconf is especially sensitive to this).
 
456
  . "./$as_me.lineno"
184
457
  # Exit status is that of the last command.
185
458
  exit
186
459
}
187
460
 
188
461
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
463
  as_dirname=dirname
 
464
else
 
465
  as_dirname=false
 
466
fi
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in
 
470
-n*)
 
471
  case `echo 'x\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  *)   ECHO_C='\c';;
 
474
  esac;;
 
475
*)
 
476
  ECHO_N='-n';;
194
477
esac
195
478
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
480
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
481
  as_expr=expr
198
482
else
199
483
  as_expr=false
200
484
fi
201
485
 
202
486
rm -f conf$$ conf$$.exe conf$$.file
 
487
if test -d conf$$.dir; then
 
488
  rm -f conf$$.dir/conf$$.file
 
489
else
 
490
  rm -f conf$$.dir
 
491
  mkdir conf$$.dir
 
492
fi
203
493
echo >conf$$.file
204
494
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
495
  as_ln_s='ln -s'
 
496
  # ... but there are two gotchas:
 
497
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
498
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
499
  # In both cases, we have to default to `cp -p'.
 
500
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
501
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
214
503
  as_ln_s=ln
215
504
else
216
505
  as_ln_s='cp -p'
217
506
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
508
rmdir conf$$.dir 2>/dev/null
219
509
 
220
510
if mkdir -p . 2>/dev/null; then
221
511
  as_mkdir_p=:
224
514
  as_mkdir_p=false
225
515
fi
226
516
 
227
 
as_executable_p="test -f"
 
517
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
518
# systems may use methods other than mode bits to determine executability.
 
519
cat >conf$$.file <<_ASEOF
 
520
#! /bin/sh
 
521
exit 0
 
522
_ASEOF
 
523
chmod +x conf$$.file
 
524
if test -x conf$$.file >/dev/null 2>&1; then
 
525
  as_executable_p="test -x"
 
526
else
 
527
  as_executable_p=:
 
528
fi
 
529
rm -f conf$$.file
228
530
 
229
531
# Sed expression to map a string onto a valid CPP name.
230
532
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
535
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
536
 
235
537
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
 
538
 
 
539
exec 7<&0 </dev/null 6>&1
245
540
 
246
541
# Name of the host.
247
542
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
543
# so uname gets run too.
249
544
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
545
 
251
 
exec 6>&1
252
 
 
253
546
#
254
547
# Initializations.
255
548
#
256
549
ac_default_prefix=/usr/local
 
550
ac_clean_files=
257
551
ac_config_libobj_dir=.
 
552
LIBOBJS=
258
553
cross_compiling=no
259
554
subdirs=
260
555
MFLAGS=
261
556
MAKEFLAGS=
262
557
SHELL=${CONFIG_SHELL-/bin/sh}
263
558
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
 
 
269
559
# Identity of this package.
270
560
PACKAGE_NAME='gnupg'
271
561
PACKAGE_TARNAME='gnupg'
272
 
PACKAGE_VERSION='1.4.5'
273
 
PACKAGE_STRING='gnupg 1.4.5'
 
562
PACKAGE_VERSION='1.4.6'
 
563
PACKAGE_STRING='gnupg 1.4.6'
274
564
PACKAGE_BUGREPORT='bug-gnupg@gnu.org'
275
565
 
276
566
ac_unique_file="g10/gpg.c"
277
567
# Factoring default headers for most tests.
278
568
ac_includes_default="\
279
569
#include <stdio.h>
280
 
#if HAVE_SYS_TYPES_H
 
570
#ifdef HAVE_SYS_TYPES_H
281
571
# include <sys/types.h>
282
572
#endif
283
 
#if HAVE_SYS_STAT_H
 
573
#ifdef HAVE_SYS_STAT_H
284
574
# include <sys/stat.h>
285
575
#endif
286
 
#if STDC_HEADERS
 
576
#ifdef STDC_HEADERS
287
577
# include <stdlib.h>
288
578
# include <stddef.h>
289
579
#else
290
 
# if HAVE_STDLIB_H
 
580
# ifdef HAVE_STDLIB_H
291
581
#  include <stdlib.h>
292
582
# endif
293
583
#endif
294
 
#if HAVE_STRING_H
295
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
584
#ifdef HAVE_STRING_H
 
585
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
296
586
#  include <memory.h>
297
587
# endif
298
588
# include <string.h>
299
589
#endif
300
 
#if HAVE_STRINGS_H
 
590
#ifdef HAVE_STRINGS_H
301
591
# include <strings.h>
302
592
#endif
303
 
#if HAVE_INTTYPES_H
 
593
#ifdef HAVE_INTTYPES_H
304
594
# include <inttypes.h>
305
 
#else
306
 
# if HAVE_STDINT_H
307
 
#  include <stdint.h>
308
 
# endif
309
 
#endif
310
 
#if HAVE_UNISTD_H
 
595
#endif
 
596
#ifdef HAVE_STDINT_H
 
597
# include <stdint.h>
 
598
#endif
 
599
#ifdef HAVE_UNISTD_H
311
600
# include <unistd.h>
312
601
#endif"
313
602
 
314
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar IDEA_O MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP RANLIB ac_ct_RANLIB AR ac_ct_AR PERL DOCBOOK_TO_MAN HAVE_DOCBOOK_TO_MAN_TRUE HAVE_DOCBOOK_TO_MAN_FALSE FAQPROG WORKING_FAQPROG_TRUE WORKING_FAQPROG_FALSE DOCBOOK_TO_TEXI HAVE_DOCBOOK_TO_TEXI_TRUE HAVE_DOCBOOK_TO_TEXI_FALSE TAR HAVE_USTAR_TRUE HAVE_USTAR_FALSE HAVE_DOSISH_SYSTEM_TRUE HAVE_DOSISH_SYSTEM_FALSE USE_SIMPLE_GETTEXT_TRUE USE_SIMPLE_GETTEXT_FALSE HAVE_W32_SYSTEM_TRUE HAVE_W32_SYSTEM_FALSE MPI_OPT_FLAGS NM GPGKEYS_HKP GPGKEYS_FINGER DNSLIBS USE_DNS_SRV_TRUE USE_DNS_SRV_FALSE GPGKEYS_LDAP LDAPLIBS LDAP_CPPFLAGS _libcurl_config LIBCURL_CPPFLAGS LIBCURL FAKE_CURL_TRUE FAKE_CURL_FALSE GPGKEYS_CURL SENDMAIL GPGKEYS_MAILTO MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE EGREP ALLOCA GLIBC21 HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB DLLIBS ENABLE_CARD_SUPPORT_TRUE ENABLE_CARD_SUPPORT_FALSE ENABLE_AGENT_SUPPORT_TRUE ENABLE_AGENT_SUPPORT_FALSE USE_SHA512_TRUE USE_SHA512_FALSE LIBOBJS GETOPT CAPLIBS USE_RNDLINUX_TRUE USE_RNDLINUX_FALSE USE_RNDUNIX_TRUE USE_RNDUNIX_FALSE USE_RNDEGD_TRUE USE_RNDEGD_FALSE USE_RNDW32_TRUE USE_RNDW32_FALSE MPI_EXTRA_ASM_OBJS MPI_SFLAGS USE_INTERNAL_REGEX_TRUE USE_INTERNAL_REGEX_FALSE ENABLE_LOCAL_ZLIB_TRUE ENABLE_LOCAL_ZLIB_FALSE ENABLE_BZIP2_SUPPORT_TRUE ENABLE_BZIP2_SUPPORT_FALSE ZLIBS _usb_config LIBUSB_CPPFLAGS LIBUSB LIBREADLINE CROSS_COMPILING_TRUE CROSS_COMPILING_FALSE NETLIBS W32LIBS CCAS CCASFLAGS NOEXECSTACK_FLAGS LTLIBOBJS'
 
603
ac_subst_vars='SHELL
 
604
PATH_SEPARATOR
 
605
PACKAGE_NAME
 
606
PACKAGE_TARNAME
 
607
PACKAGE_VERSION
 
608
PACKAGE_STRING
 
609
PACKAGE_BUGREPORT
 
610
exec_prefix
 
611
prefix
 
612
program_transform_name
 
613
bindir
 
614
sbindir
 
615
libexecdir
 
616
datarootdir
 
617
datadir
 
618
sysconfdir
 
619
sharedstatedir
 
620
localstatedir
 
621
includedir
 
622
oldincludedir
 
623
docdir
 
624
infodir
 
625
htmldir
 
626
dvidir
 
627
pdfdir
 
628
psdir
 
629
libdir
 
630
localedir
 
631
mandir
 
632
DEFS
 
633
ECHO_C
 
634
ECHO_N
 
635
ECHO_T
 
636
LIBS
 
637
build_alias
 
638
host_alias
 
639
target_alias
 
640
build
 
641
build_cpu
 
642
build_vendor
 
643
build_os
 
644
host
 
645
host_cpu
 
646
host_vendor
 
647
host_os
 
648
INSTALL_PROGRAM
 
649
INSTALL_SCRIPT
 
650
INSTALL_DATA
 
651
CYGPATH_W
 
652
PACKAGE
 
653
VERSION
 
654
ACLOCAL
 
655
AUTOCONF
 
656
AUTOMAKE
 
657
AUTOHEADER
 
658
MAKEINFO
 
659
install_sh
 
660
STRIP
 
661
INSTALL_STRIP_PROGRAM
 
662
mkdir_p
 
663
AWK
 
664
SET_MAKE
 
665
am__leading_dot
 
666
AMTAR
 
667
am__tar
 
668
am__untar
 
669
IDEA_O
 
670
MAINTAINER_MODE_TRUE
 
671
MAINTAINER_MODE_FALSE
 
672
MAINT
 
673
CC
 
674
CFLAGS
 
675
LDFLAGS
 
676
CPPFLAGS
 
677
ac_ct_CC
 
678
EXEEXT
 
679
OBJEXT
 
680
DEPDIR
 
681
am__include
 
682
am__quote
 
683
AMDEP_TRUE
 
684
AMDEP_FALSE
 
685
AMDEPBACKSLASH
 
686
CCDEPMODE
 
687
am__fastdepCC_TRUE
 
688
am__fastdepCC_FALSE
 
689
CPP
 
690
RANLIB
 
691
AR
 
692
PERL
 
693
DOCBOOK_TO_MAN
 
694
HAVE_DOCBOOK_TO_MAN_TRUE
 
695
HAVE_DOCBOOK_TO_MAN_FALSE
 
696
FAQPROG
 
697
WORKING_FAQPROG_TRUE
 
698
WORKING_FAQPROG_FALSE
 
699
DOCBOOK_TO_TEXI
 
700
HAVE_DOCBOOK_TO_TEXI_TRUE
 
701
HAVE_DOCBOOK_TO_TEXI_FALSE
 
702
TAR
 
703
HAVE_USTAR_TRUE
 
704
HAVE_USTAR_FALSE
 
705
CC_FOR_BUILD
 
706
HAVE_DOSISH_SYSTEM_TRUE
 
707
HAVE_DOSISH_SYSTEM_FALSE
 
708
USE_SIMPLE_GETTEXT_TRUE
 
709
USE_SIMPLE_GETTEXT_FALSE
 
710
HAVE_W32_SYSTEM_TRUE
 
711
HAVE_W32_SYSTEM_FALSE
 
712
MPI_OPT_FLAGS
 
713
NM
 
714
GPGKEYS_HKP
 
715
GPGKEYS_FINGER
 
716
DNSLIBS
 
717
USE_DNS_SRV_TRUE
 
718
USE_DNS_SRV_FALSE
 
719
GPGKEYS_LDAP
 
720
LDAPLIBS
 
721
LDAP_CPPFLAGS
 
722
_libcurl_config
 
723
LIBCURL_CPPFLAGS
 
724
LIBCURL
 
725
FAKE_CURL_TRUE
 
726
FAKE_CURL_FALSE
 
727
GPGKEYS_CURL
 
728
SENDMAIL
 
729
GPGKEYS_MAILTO
 
730
MKINSTALLDIRS
 
731
USE_NLS
 
732
MSGFMT
 
733
GMSGFMT
 
734
XGETTEXT
 
735
MSGMERGE
 
736
GREP
 
737
EGREP
 
738
ALLOCA
 
739
GLIBC21
 
740
HAVE_POSIX_PRINTF
 
741
HAVE_ASPRINTF
 
742
HAVE_SNPRINTF
 
743
HAVE_WPRINTF
 
744
LIBICONV
 
745
LTLIBICONV
 
746
INTLBISON
 
747
BUILD_INCLUDED_LIBINTL
 
748
USE_INCLUDED_LIBINTL
 
749
CATOBJEXT
 
750
DATADIRNAME
 
751
INSTOBJEXT
 
752
GENCAT
 
753
INTLOBJS
 
754
INTL_LIBTOOL_SUFFIX_PREFIX
 
755
INTLLIBS
 
756
LIBINTL
 
757
LTLIBINTL
 
758
POSUB
 
759
DLLIBS
 
760
ENABLE_CARD_SUPPORT_TRUE
 
761
ENABLE_CARD_SUPPORT_FALSE
 
762
ENABLE_AGENT_SUPPORT_TRUE
 
763
ENABLE_AGENT_SUPPORT_FALSE
 
764
USE_SHA512_TRUE
 
765
USE_SHA512_FALSE
 
766
LIBOBJS
 
767
GETOPT
 
768
CAPLIBS
 
769
USE_RNDLINUX_TRUE
 
770
USE_RNDLINUX_FALSE
 
771
USE_RNDUNIX_TRUE
 
772
USE_RNDUNIX_FALSE
 
773
USE_RNDEGD_TRUE
 
774
USE_RNDEGD_FALSE
 
775
USE_RNDW32_TRUE
 
776
USE_RNDW32_FALSE
 
777
MPI_EXTRA_ASM_OBJS
 
778
MPI_SFLAGS
 
779
USE_INTERNAL_REGEX_TRUE
 
780
USE_INTERNAL_REGEX_FALSE
 
781
ENABLE_LOCAL_ZLIB_TRUE
 
782
ENABLE_LOCAL_ZLIB_FALSE
 
783
ENABLE_BZIP2_SUPPORT_TRUE
 
784
ENABLE_BZIP2_SUPPORT_FALSE
 
785
ZLIBS
 
786
_usb_config
 
787
LIBUSB_CPPFLAGS
 
788
LIBUSB
 
789
LIBREADLINE
 
790
CROSS_COMPILING_TRUE
 
791
CROSS_COMPILING_FALSE
 
792
NETLIBS
 
793
W32LIBS
 
794
CCAS
 
795
CCASFLAGS
 
796
NOEXECSTACK_FLAGS
 
797
LTLIBOBJS'
315
798
ac_subst_files=''
 
799
      ac_precious_vars='build_alias
 
800
host_alias
 
801
target_alias
 
802
CC
 
803
CFLAGS
 
804
LDFLAGS
 
805
CPPFLAGS
 
806
CPP
 
807
CC_FOR_BUILD
 
808
CCAS
 
809
CCASFLAGS'
 
810
 
316
811
 
317
812
# Initialize some variables set by options.
318
813
ac_init_help=
339
834
# and all the variables that are supposed to be based on exec_prefix
340
835
# by default will actually change.
341
836
# Use braces instead of parens because sh, perl, etc. also accept them.
 
837
# (The list follows the same order as the GNU Coding Standards.)
342
838
bindir='${exec_prefix}/bin'
343
839
sbindir='${exec_prefix}/sbin'
344
840
libexecdir='${exec_prefix}/libexec'
345
 
datadir='${prefix}/share'
 
841
datarootdir='${prefix}/share'
 
842
datadir='${datarootdir}'
346
843
sysconfdir='${prefix}/etc'
347
844
sharedstatedir='${prefix}/com'
348
845
localstatedir='${prefix}/var'
349
 
libdir='${exec_prefix}/lib'
350
846
includedir='${prefix}/include'
351
847
oldincludedir='/usr/include'
352
 
infodir='${prefix}/info'
353
 
mandir='${prefix}/man'
 
848
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
849
infodir='${datarootdir}/info'
 
850
htmldir='${docdir}'
 
851
dvidir='${docdir}'
 
852
pdfdir='${docdir}'
 
853
psdir='${docdir}'
 
854
libdir='${exec_prefix}/lib'
 
855
localedir='${datarootdir}/locale'
 
856
mandir='${datarootdir}/man'
354
857
 
355
858
ac_prev=
 
859
ac_dashdash=
356
860
for ac_option
357
861
do
358
862
  # If the previous option needs an argument, assign it.
359
863
  if test -n "$ac_prev"; then
360
 
    eval "$ac_prev=\$ac_option"
 
864
    eval $ac_prev=\$ac_option
361
865
    ac_prev=
362
866
    continue
363
867
  fi
364
868
 
365
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
869
  case $ac_option in
 
870
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
871
  *)    ac_optarg=yes ;;
 
872
  esac
366
873
 
367
874
  # Accept the important Cygnus configure options, so we can diagnose typos.
368
875
 
369
 
  case $ac_option in
 
876
  case $ac_dashdash$ac_option in
 
877
  --)
 
878
    ac_dashdash=yes ;;
370
879
 
371
880
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
372
881
    ac_prev=bindir ;;
388
897
  --config-cache | -C)
389
898
    cache_file=config.cache ;;
390
899
 
391
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
900
  -datadir | --datadir | --datadi | --datad)
392
901
    ac_prev=datadir ;;
393
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
 
  | --da=*)
 
902
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
395
903
    datadir=$ac_optarg ;;
396
904
 
 
905
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
906
  | --dataroo | --dataro | --datar)
 
907
    ac_prev=datarootdir ;;
 
908
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
909
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
910
    datarootdir=$ac_optarg ;;
 
911
 
397
912
  -disable-* | --disable-*)
398
913
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399
914
    # Reject names that are not valid shell variable names.
401
916
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402
917
   { (exit 1); exit 1; }; }
403
918
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
 
    eval "enable_$ac_feature=no" ;;
 
919
    eval enable_$ac_feature=no ;;
 
920
 
 
921
  -docdir | --docdir | --docdi | --doc | --do)
 
922
    ac_prev=docdir ;;
 
923
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
924
    docdir=$ac_optarg ;;
 
925
 
 
926
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
927
    ac_prev=dvidir ;;
 
928
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
929
    dvidir=$ac_optarg ;;
405
930
 
406
931
  -enable-* | --enable-*)
407
932
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410
935
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411
936
   { (exit 1); exit 1; }; }
412
937
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
 
    case $ac_option in
414
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
 
      *) ac_optarg=yes ;;
416
 
    esac
417
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
938
    eval enable_$ac_feature=\$ac_optarg ;;
418
939
 
419
940
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420
941
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
441
962
  -host=* | --host=* | --hos=* | --ho=*)
442
963
    host_alias=$ac_optarg ;;
443
964
 
 
965
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
966
    ac_prev=htmldir ;;
 
967
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
968
  | --ht=*)
 
969
    htmldir=$ac_optarg ;;
 
970
 
444
971
  -includedir | --includedir | --includedi | --included | --include \
445
972
  | --includ | --inclu | --incl | --inc)
446
973
    ac_prev=includedir ;;
465
992
  | --libexe=* | --libex=* | --libe=*)
466
993
    libexecdir=$ac_optarg ;;
467
994
 
 
995
  -localedir | --localedir | --localedi | --localed | --locale)
 
996
    ac_prev=localedir ;;
 
997
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
998
    localedir=$ac_optarg ;;
 
999
 
468
1000
  -localstatedir | --localstatedir | --localstatedi | --localstated \
469
 
  | --localstate | --localstat | --localsta | --localst \
470
 
  | --locals | --local | --loca | --loc | --lo)
 
1001
  | --localstate | --localstat | --localsta | --localst | --locals)
471
1002
    ac_prev=localstatedir ;;
472
1003
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1004
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
475
1005
    localstatedir=$ac_optarg ;;
476
1006
 
477
1007
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
536
1066
  | --progr-tra=* | --program-tr=* | --program-t=*)
537
1067
    program_transform_name=$ac_optarg ;;
538
1068
 
 
1069
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1070
    ac_prev=pdfdir ;;
 
1071
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1072
    pdfdir=$ac_optarg ;;
 
1073
 
 
1074
  -psdir | --psdir | --psdi | --psd | --ps)
 
1075
    ac_prev=psdir ;;
 
1076
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1077
    psdir=$ac_optarg ;;
 
1078
 
539
1079
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
1080
  | -silent | --silent | --silen | --sile | --sil)
541
1081
    silent=yes ;;
592
1132
      { echo "$as_me: error: invalid package name: $ac_package" >&2
593
1133
   { (exit 1); exit 1; }; }
594
1134
    ac_package=`echo $ac_package| sed 's/-/_/g'`
595
 
    case $ac_option in
596
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
 
      *) ac_optarg=yes ;;
598
 
    esac
599
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1135
    eval with_$ac_package=\$ac_optarg ;;
600
1136
 
601
1137
  -without-* | --without-*)
602
1138
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605
1141
      { echo "$as_me: error: invalid package name: $ac_package" >&2
606
1142
   { (exit 1); exit 1; }; }
607
1143
    ac_package=`echo $ac_package | sed 's/-/_/g'`
608
 
    eval "with_$ac_package=no" ;;
 
1144
    eval with_$ac_package=no ;;
609
1145
 
610
1146
  --x)
611
1147
    # Obsolete; use --with-x.
636
1172
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637
1173
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638
1174
   { (exit 1); exit 1; }; }
639
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640
 
    eval "$ac_envvar='$ac_optarg'"
 
1175
    eval $ac_envvar=\$ac_optarg
641
1176
    export $ac_envvar ;;
642
1177
 
643
1178
  *)
657
1192
   { (exit 1); exit 1; }; }
658
1193
fi
659
1194
 
660
 
# Be sure to have absolute paths.
661
 
for ac_var in exec_prefix prefix
662
 
do
663
 
  eval ac_val=$`echo $ac_var`
664
 
  case $ac_val in
665
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
 
   { (exit 1); exit 1; }; };;
668
 
  esac
669
 
done
670
 
 
671
 
# Be sure to have absolute paths.
672
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673
 
              localstatedir libdir includedir oldincludedir infodir mandir
674
 
do
675
 
  eval ac_val=$`echo $ac_var`
676
 
  case $ac_val in
677
 
    [\\/$]* | ?:[\\/]* ) ;;
678
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
 
   { (exit 1); exit 1; }; };;
680
 
  esac
 
1195
# Be sure to have absolute directory names.
 
1196
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1197
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1198
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1199
                libdir localedir mandir
 
1200
do
 
1201
  eval ac_val=\$$ac_var
 
1202
  case $ac_val in
 
1203
    [\\/$]* | ?:[\\/]* )  continue;;
 
1204
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1205
  esac
 
1206
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1207
   { (exit 1); exit 1; }; }
681
1208
done
682
1209
 
683
1210
# There might be people who depend on the old broken behavior: `$host'
704
1231
test "$silent" = yes && exec 6>/dev/null
705
1232
 
706
1233
 
 
1234
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1235
ac_ls_di=`ls -di .` &&
 
1236
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1237
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1238
   { (exit 1); exit 1; }; }
 
1239
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1240
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1241
   { (exit 1); exit 1; }; }
 
1242
 
 
1243
 
707
1244
# Find the source files, if location was not specified.
708
1245
if test -z "$srcdir"; then
709
1246
  ac_srcdir_defaulted=yes
710
 
  # Try the directory containing this script, then its parent.
711
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1247
  # Try the directory containing this script, then the parent directory.
 
1248
  ac_confdir=`$as_dirname -- "$0" ||
712
1249
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713
1250
         X"$0" : 'X\(//\)[^/]' \| \
714
1251
         X"$0" : 'X\(//\)$' \| \
715
 
         X"$0" : 'X\(/\)' \| \
716
 
         .     : '\(.\)' 2>/dev/null ||
 
1252
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
717
1253
echo X"$0" |
718
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
 
          /^X\(\/\/\)$/{ s//\1/; q; }
721
 
          /^X\(\/\).*/{ s//\1/; q; }
722
 
          s/.*/./; q'`
 
1254
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1255
            s//\1/
 
1256
            q
 
1257
          }
 
1258
          /^X\(\/\/\)[^/].*/{
 
1259
            s//\1/
 
1260
            q
 
1261
          }
 
1262
          /^X\(\/\/\)$/{
 
1263
            s//\1/
 
1264
            q
 
1265
          }
 
1266
          /^X\(\/\).*/{
 
1267
            s//\1/
 
1268
            q
 
1269
          }
 
1270
          s/.*/./; q'`
723
1271
  srcdir=$ac_confdir
724
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1272
  if test ! -r "$srcdir/$ac_unique_file"; then
725
1273
    srcdir=..
726
1274
  fi
727
1275
else
728
1276
  ac_srcdir_defaulted=no
729
1277
fi
730
 
if test ! -r $srcdir/$ac_unique_file; then
731
 
  if test "$ac_srcdir_defaulted" = yes; then
732
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733
 
   { (exit 1); exit 1; }; }
734
 
  else
735
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
 
   { (exit 1); exit 1; }; }
737
 
  fi
738
 
fi
739
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741
 
   { (exit 1); exit 1; }; }
742
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743
 
ac_env_build_alias_set=${build_alias+set}
744
 
ac_env_build_alias_value=$build_alias
745
 
ac_cv_env_build_alias_set=${build_alias+set}
746
 
ac_cv_env_build_alias_value=$build_alias
747
 
ac_env_host_alias_set=${host_alias+set}
748
 
ac_env_host_alias_value=$host_alias
749
 
ac_cv_env_host_alias_set=${host_alias+set}
750
 
ac_cv_env_host_alias_value=$host_alias
751
 
ac_env_target_alias_set=${target_alias+set}
752
 
ac_env_target_alias_value=$target_alias
753
 
ac_cv_env_target_alias_set=${target_alias+set}
754
 
ac_cv_env_target_alias_value=$target_alias
755
 
ac_env_CC_set=${CC+set}
756
 
ac_env_CC_value=$CC
757
 
ac_cv_env_CC_set=${CC+set}
758
 
ac_cv_env_CC_value=$CC
759
 
ac_env_CFLAGS_set=${CFLAGS+set}
760
 
ac_env_CFLAGS_value=$CFLAGS
761
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
762
 
ac_cv_env_CFLAGS_value=$CFLAGS
763
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
764
 
ac_env_LDFLAGS_value=$LDFLAGS
765
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
767
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768
 
ac_env_CPPFLAGS_value=$CPPFLAGS
769
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771
 
ac_env_CPP_set=${CPP+set}
772
 
ac_env_CPP_value=$CPP
773
 
ac_cv_env_CPP_set=${CPP+set}
774
 
ac_cv_env_CPP_value=$CPP
775
 
ac_env_CCAS_set=${CCAS+set}
776
 
ac_env_CCAS_value=$CCAS
777
 
ac_cv_env_CCAS_set=${CCAS+set}
778
 
ac_cv_env_CCAS_value=$CCAS
779
 
ac_env_CCASFLAGS_set=${CCASFLAGS+set}
780
 
ac_env_CCASFLAGS_value=$CCASFLAGS
781
 
ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
782
 
ac_cv_env_CCASFLAGS_value=$CCASFLAGS
 
1278
if test ! -r "$srcdir/$ac_unique_file"; then
 
1279
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1280
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1281
   { (exit 1); exit 1; }; }
 
1282
fi
 
1283
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1284
ac_abs_confdir=`(
 
1285
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1286
   { (exit 1); exit 1; }; }
 
1287
        pwd)`
 
1288
# When building in place, set srcdir=.
 
1289
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1290
  srcdir=.
 
1291
fi
 
1292
# Remove unnecessary trailing slashes from srcdir.
 
1293
# Double slashes in file names in object file debugging info
 
1294
# mess up M-x gdb in Emacs.
 
1295
case $srcdir in
 
1296
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1297
esac
 
1298
for ac_var in $ac_precious_vars; do
 
1299
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1300
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1301
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1302
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1303
done
783
1304
 
784
1305
#
785
1306
# Report the --help message.
788
1309
  # Omit some internal or obsolete options to make the list less imposing.
789
1310
  # This message is too long to be a string in the A/UX 3.1 sh.
790
1311
  cat <<_ACEOF
791
 
\`configure' configures gnupg 1.4.5 to adapt to many kinds of systems.
 
1312
\`configure' configures gnupg 1.4.6 to adapt to many kinds of systems.
792
1313
 
793
1314
Usage: $0 [OPTION]... [VAR=VALUE]...
794
1315
 
808
1329
  -n, --no-create         do not create output files
809
1330
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
810
1331
 
811
 
_ACEOF
812
 
 
813
 
  cat <<_ACEOF
814
1332
Installation directories:
815
1333
  --prefix=PREFIX         install architecture-independent files in PREFIX
816
1334
                          [$ac_default_prefix]
828
1346
  --bindir=DIR           user executables [EPREFIX/bin]
829
1347
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
830
1348
  --libexecdir=DIR       program executables [EPREFIX/libexec]
831
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
832
1349
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
833
1350
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
834
1351
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
835
1352
  --libdir=DIR           object code libraries [EPREFIX/lib]
836
1353
  --includedir=DIR       C header files [PREFIX/include]
837
1354
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
838
 
  --infodir=DIR          info documentation [PREFIX/info]
839
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1355
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1356
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1357
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1358
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1359
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1360
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gnupg]
 
1361
  --htmldir=DIR          html documentation [DOCDIR]
 
1362
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1363
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1364
  --psdir=DIR            ps documentation [DOCDIR]
840
1365
_ACEOF
841
1366
 
842
1367
  cat <<\_ACEOF
854
1379
 
855
1380
if test -n "$ac_init_help"; then
856
1381
  case $ac_init_help in
857
 
     short | recursive ) echo "Configuration of gnupg 1.4.5:";;
 
1382
     short | recursive ) echo "Configuration of gnupg 1.4.6:";;
858
1383
   esac
859
1384
  cat <<\_ACEOF
860
1385
 
935
1460
  CFLAGS      C compiler flags
936
1461
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
937
1462
              nonstandard directory <lib dir>
938
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
939
 
              headers in a nonstandard directory <include dir>
 
1463
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1464
              you have headers in a nonstandard directory <include dir>
940
1465
  CPP         C preprocessor
 
1466
  CC_FOR_BUILD
 
1467
              build system C compiler
941
1468
  CCAS        assembler compiler command (defaults to CC)
942
1469
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
943
1470
 
946
1473
 
947
1474
Report bugs to <bug-gnupg@gnu.org>.
948
1475
_ACEOF
 
1476
ac_status=$?
949
1477
fi
950
1478
 
951
1479
if test "$ac_init_help" = "recursive"; then
952
1480
  # If there are subdirs, report their specific --help.
953
 
  ac_popdir=`pwd`
954
1481
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
955
 
    test -d $ac_dir || continue
 
1482
    test -d "$ac_dir" || continue
956
1483
    ac_builddir=.
957
1484
 
958
 
if test "$ac_dir" != .; then
 
1485
case "$ac_dir" in
 
1486
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1487
*)
959
1488
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
960
 
  # A "../" for each directory in $ac_dir_suffix.
961
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
962
 
else
963
 
  ac_dir_suffix= ac_top_builddir=
964
 
fi
 
1489
  # A ".." for each directory in $ac_dir_suffix.
 
1490
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1491
  case $ac_top_builddir_sub in
 
1492
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1493
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1494
  esac ;;
 
1495
esac
 
1496
ac_abs_top_builddir=$ac_pwd
 
1497
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1498
# for backward compatibility:
 
1499
ac_top_builddir=$ac_top_build_prefix
965
1500
 
966
1501
case $srcdir in
967
 
  .)  # No --srcdir option.  We are building in place.
 
1502
  .)  # We are building in place.
968
1503
    ac_srcdir=.
969
 
    if test -z "$ac_top_builddir"; then
970
 
       ac_top_srcdir=.
971
 
    else
972
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
973
 
    fi ;;
974
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1504
    ac_top_srcdir=$ac_top_builddir_sub
 
1505
    ac_abs_top_srcdir=$ac_pwd ;;
 
1506
  [\\/]* | ?:[\\/]* )  # Absolute name.
975
1507
    ac_srcdir=$srcdir$ac_dir_suffix;
976
 
    ac_top_srcdir=$srcdir ;;
977
 
  *) # Relative path.
978
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
979
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
980
 
esac
981
 
 
982
 
# Do not use `cd foo && pwd` to compute absolute paths, because
983
 
# the directories may not exist.
984
 
case `pwd` in
985
 
.) ac_abs_builddir="$ac_dir";;
986
 
*)
987
 
  case "$ac_dir" in
988
 
  .) ac_abs_builddir=`pwd`;;
989
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
990
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
991
 
  esac;;
992
 
esac
993
 
case $ac_abs_builddir in
994
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
995
 
*)
996
 
  case ${ac_top_builddir}. in
997
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
998
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
999
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1000
 
  esac;;
1001
 
esac
1002
 
case $ac_abs_builddir in
1003
 
.) ac_abs_srcdir=$ac_srcdir;;
1004
 
*)
1005
 
  case $ac_srcdir in
1006
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1007
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1008
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1009
 
  esac;;
1010
 
esac
1011
 
case $ac_abs_builddir in
1012
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1013
 
*)
1014
 
  case $ac_top_srcdir in
1015
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1016
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1017
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1018
 
  esac;;
1019
 
esac
1020
 
 
1021
 
    cd $ac_dir
1022
 
    # Check for guested configure; otherwise get Cygnus style configure.
1023
 
    if test -f $ac_srcdir/configure.gnu; then
1024
 
      echo
1025
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1026
 
    elif test -f $ac_srcdir/configure; then
1027
 
      echo
1028
 
      $SHELL $ac_srcdir/configure  --help=recursive
1029
 
    elif test -f $ac_srcdir/configure.ac ||
1030
 
           test -f $ac_srcdir/configure.in; then
1031
 
      echo
1032
 
      $ac_configure --help
 
1508
    ac_top_srcdir=$srcdir
 
1509
    ac_abs_top_srcdir=$srcdir ;;
 
1510
  *) # Relative name.
 
1511
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1512
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1513
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1514
esac
 
1515
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1516
 
 
1517
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1518
    # Check for guested configure.
 
1519
    if test -f "$ac_srcdir/configure.gnu"; then
 
1520
      echo &&
 
1521
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1522
    elif test -f "$ac_srcdir/configure"; then
 
1523
      echo &&
 
1524
      $SHELL "$ac_srcdir/configure" --help=recursive
1033
1525
    else
1034
1526
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1035
 
    fi
1036
 
    cd "$ac_popdir"
 
1527
    fi || ac_status=$?
 
1528
    cd "$ac_pwd" || { ac_status=$?; break; }
1037
1529
  done
1038
1530
fi
1039
1531
 
1040
 
test -n "$ac_init_help" && exit 0
 
1532
test -n "$ac_init_help" && exit $ac_status
1041
1533
if $ac_init_version; then
1042
1534
  cat <<\_ACEOF
1043
 
gnupg configure 1.4.5
1044
 
generated by GNU Autoconf 2.59
 
1535
gnupg configure 1.4.6
 
1536
generated by GNU Autoconf 2.60a
1045
1537
 
1046
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1538
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1539
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1047
1540
This configure script is free software; the Free Software Foundation
1048
1541
gives unlimited permission to copy, distribute and modify it.
1049
1542
_ACEOF
1050
 
  exit 0
 
1543
  exit
1051
1544
fi
1052
 
exec 5>config.log
1053
 
cat >&5 <<_ACEOF
 
1545
cat >config.log <<_ACEOF
1054
1546
This file contains any messages produced by compilers while
1055
1547
running configure, to aid debugging if configure makes a mistake.
1056
1548
 
1057
 
It was created by gnupg $as_me 1.4.5, which was
1058
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1549
It was created by gnupg $as_me 1.4.6, which was
 
1550
generated by GNU Autoconf 2.60a.  Invocation command line was
1059
1551
 
1060
1552
  $ $0 $@
1061
1553
 
1062
1554
_ACEOF
 
1555
exec 5>>config.log
1063
1556
{
1064
1557
cat <<_ASUNAME
1065
1558
## --------- ##
1078
1571
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1079
1572
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1080
1573
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1081
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1574
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1082
1575
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1083
1576
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1084
1577
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1092
1585
  test -z "$as_dir" && as_dir=.
1093
1586
  echo "PATH: $as_dir"
1094
1587
done
 
1588
IFS=$as_save_IFS
1095
1589
 
1096
1590
} >&5
1097
1591
 
1113
1607
ac_configure_args=
1114
1608
ac_configure_args0=
1115
1609
ac_configure_args1=
1116
 
ac_sep=
1117
1610
ac_must_keep_next=false
1118
1611
for ac_pass in 1 2
1119
1612
do
1124
1617
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1125
1618
    | -silent | --silent | --silen | --sile | --sil)
1126
1619
      continue ;;
1127
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1620
    *\'*)
1128
1621
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1129
1622
    esac
1130
1623
    case $ac_pass in
1146
1639
          -* ) ac_must_keep_next=true ;;
1147
1640
        esac
1148
1641
      fi
1149
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1150
 
      # Get rid of the leading space.
1151
 
      ac_sep=" "
 
1642
      ac_configure_args="$ac_configure_args '$ac_arg'"
1152
1643
      ;;
1153
1644
    esac
1154
1645
  done
1159
1650
# When interrupted or exit'd, cleanup temporary files, and complete
1160
1651
# config.log.  We remove comments because anyway the quotes in there
1161
1652
# would cause problems or look ugly.
1162
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1163
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1653
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1654
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1164
1655
trap 'exit_status=$?
1165
1656
  # Save into config.log some information that might help in debugging.
1166
1657
  {
1173
1664
_ASBOX
1174
1665
    echo
1175
1666
    # The following way of writing the cache mishandles newlines in values,
1176
 
{
 
1667
(
 
1668
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1669
    eval ac_val=\$$ac_var
 
1670
    case $ac_val in #(
 
1671
    *${as_nl}*)
 
1672
      case $ac_var in #(
 
1673
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1674
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1675
      esac
 
1676
      case $ac_var in #(
 
1677
      _ | IFS | as_nl) ;; #(
 
1678
      *) $as_unset $ac_var ;;
 
1679
      esac ;;
 
1680
    esac
 
1681
  done
1177
1682
  (set) 2>&1 |
1178
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1179
 
    *ac_space=\ *)
 
1683
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1684
    *${as_nl}ac_space=\ *)
1180
1685
      sed -n \
1181
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1182
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1183
 
      ;;
 
1686
        "s/'\''/'\''\\\\'\'''\''/g;
 
1687
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1688
      ;; #(
1184
1689
    *)
1185
 
      sed -n \
1186
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1690
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1187
1691
      ;;
1188
 
    esac;
1189
 
}
 
1692
    esac |
 
1693
    sort
 
1694
)
1190
1695
    echo
1191
1696
 
1192
1697
    cat <<\_ASBOX
1197
1702
    echo
1198
1703
    for ac_var in $ac_subst_vars
1199
1704
    do
1200
 
      eval ac_val=$`echo $ac_var`
1201
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1705
      eval ac_val=\$$ac_var
 
1706
      case $ac_val in
 
1707
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1708
      esac
 
1709
      echo "$ac_var='\''$ac_val'\''"
1202
1710
    done | sort
1203
1711
    echo
1204
1712
 
1205
1713
    if test -n "$ac_subst_files"; then
1206
1714
      cat <<\_ASBOX
1207
 
## ------------- ##
1208
 
## Output files. ##
1209
 
## ------------- ##
 
1715
## ------------------- ##
 
1716
## File substitutions. ##
 
1717
## ------------------- ##
1210
1718
_ASBOX
1211
1719
      echo
1212
1720
      for ac_var in $ac_subst_files
1213
1721
      do
1214
 
        eval ac_val=$`echo $ac_var`
1215
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1722
        eval ac_val=\$$ac_var
 
1723
        case $ac_val in
 
1724
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1725
        esac
 
1726
        echo "$ac_var='\''$ac_val'\''"
1216
1727
      done | sort
1217
1728
      echo
1218
1729
    fi
1224
1735
## ----------- ##
1225
1736
_ASBOX
1226
1737
      echo
1227
 
      sed "/^$/d" confdefs.h | sort
 
1738
      cat confdefs.h
1228
1739
      echo
1229
1740
    fi
1230
1741
    test "$ac_signal" != 0 &&
1231
1742
      echo "$as_me: caught signal $ac_signal"
1232
1743
    echo "$as_me: exit $exit_status"
1233
1744
  } >&5
1234
 
  rm -f core *.core &&
1235
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1745
  rm -f core *.core core.conftest.* &&
 
1746
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1236
1747
    exit $exit_status
1237
 
     ' 0
 
1748
' 0
1238
1749
for ac_signal in 1 2 13 15; do
1239
1750
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1240
1751
done
1241
1752
ac_signal=0
1242
1753
 
1243
1754
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1244
 
rm -rf conftest* confdefs.h
1245
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1246
 
echo >confdefs.h
 
1755
rm -f -r conftest* confdefs.h
1247
1756
 
1248
1757
# Predefined preprocessor variables.
1249
1758
 
1274
1783
 
1275
1784
# Let the site file select an alternate cache file if it wants to.
1276
1785
# Prefer explicitly selected file to automatically selected ones.
1277
 
if test -z "$CONFIG_SITE"; then
1278
 
  if test "x$prefix" != xNONE; then
1279
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1280
 
  else
1281
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1282
 
  fi
 
1786
if test -n "$CONFIG_SITE"; then
 
1787
  set x "$CONFIG_SITE"
 
1788
elif test "x$prefix" != xNONE; then
 
1789
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1790
else
 
1791
  set x "$ac_default_prefix/share/config.site" \
 
1792
        "$ac_default_prefix/etc/config.site"
1283
1793
fi
1284
 
for ac_site_file in $CONFIG_SITE; do
 
1794
shift
 
1795
for ac_site_file
 
1796
do
1285
1797
  if test -r "$ac_site_file"; then
1286
1798
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1287
1799
echo "$as_me: loading site script $ac_site_file" >&6;}
1297
1809
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1298
1810
echo "$as_me: loading cache $cache_file" >&6;}
1299
1811
    case $cache_file in
1300
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1301
 
      *)                      . ./$cache_file;;
 
1812
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1813
      *)                      . "./$cache_file";;
1302
1814
    esac
1303
1815
  fi
1304
1816
else
1310
1822
# Check that the precious variables saved in the cache have kept the same
1311
1823
# value.
1312
1824
ac_cache_corrupted=false
1313
 
for ac_var in `(set) 2>&1 |
1314
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1825
for ac_var in $ac_precious_vars; do
1315
1826
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1316
1827
  eval ac_new_set=\$ac_env_${ac_var}_set
1317
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1318
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1828
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1829
  eval ac_new_val=\$ac_env_${ac_var}_value
1319
1830
  case $ac_old_set,$ac_new_set in
1320
1831
    set,)
1321
1832
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1340
1851
  # Pass precious variables to config.status.
1341
1852
  if test "$ac_new_set" = set; then
1342
1853
    case $ac_new_val in
1343
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1344
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1854
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1345
1855
    *) ac_arg=$ac_var=$ac_new_val ;;
1346
1856
    esac
1347
1857
    case " $ac_configure_args " in
1358
1868
   { (exit 1); exit 1; }; }
1359
1869
fi
1360
1870
 
 
1871
 
 
1872
 
 
1873
 
 
1874
 
 
1875
 
 
1876
 
 
1877
 
 
1878
 
 
1879
 
 
1880
 
 
1881
 
 
1882
 
 
1883
 
 
1884
 
 
1885
 
 
1886
 
 
1887
 
 
1888
 
 
1889
 
 
1890
 
 
1891
 
 
1892
 
 
1893
 
 
1894
 
1361
1895
ac_ext=c
1362
1896
ac_cpp='$CPP $CPPFLAGS'
1363
1897
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1365
1899
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1366
1900
 
1367
1901
 
1368
 
 
1369
 
 
1370
 
 
1371
 
 
1372
 
 
1373
 
 
1374
 
 
1375
 
 
1376
 
 
1377
 
 
1378
 
 
1379
 
 
1380
 
 
1381
 
 
1382
 
 
1383
 
 
1384
 
 
1385
 
 
1386
 
 
1387
 
 
1388
 
 
1389
 
 
1390
 
 
1391
 
 
1392
 
 
1393
1902
# Set development_version to yes if the minor number is odd or you
1394
1903
# feel that the default check for a development version is not
1395
1904
# sufficient.
1396
1905
development_version=no
1397
1906
 
1398
1907
ac_aux_dir=
1399
 
for ac_dir in scripts $srcdir/scripts; do
1400
 
  if test -f $ac_dir/install-sh; then
 
1908
for ac_dir in scripts "$srcdir"/scripts; do
 
1909
  if test -f "$ac_dir/install-sh"; then
1401
1910
    ac_aux_dir=$ac_dir
1402
1911
    ac_install_sh="$ac_aux_dir/install-sh -c"
1403
1912
    break
1404
 
  elif test -f $ac_dir/install.sh; then
 
1913
  elif test -f "$ac_dir/install.sh"; then
1405
1914
    ac_aux_dir=$ac_dir
1406
1915
    ac_install_sh="$ac_aux_dir/install.sh -c"
1407
1916
    break
1408
 
  elif test -f $ac_dir/shtool; then
 
1917
  elif test -f "$ac_dir/shtool"; then
1409
1918
    ac_aux_dir=$ac_dir
1410
1919
    ac_install_sh="$ac_aux_dir/shtool install -c"
1411
1920
    break
1412
1921
  fi
1413
1922
done
1414
1923
if test -z "$ac_aux_dir"; then
1415
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&5
1416
 
echo "$as_me: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&2;}
 
1924
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
 
1925
echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
1417
1926
   { (exit 1); exit 1; }; }
1418
1927
fi
1419
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1420
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1421
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1928
 
 
1929
# These three variables are undocumented and unsupported,
 
1930
# and are intended to be withdrawn in a future Autoconf release.
 
1931
# They can cause serious problems if a builder's source tree is in a directory
 
1932
# whose full name contains unusual characters.
 
1933
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1934
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1935
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1936
 
1422
1937
 
1423
1938
 
1424
1939
# Make sure we can run config.sub.
1425
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1426
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1427
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
1940
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
1941
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
1942
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1428
1943
   { (exit 1); exit 1; }; }
1429
1944
 
1430
 
echo "$as_me:$LINENO: checking build system type" >&5
1431
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
1945
{ echo "$as_me:$LINENO: checking build system type" >&5
 
1946
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1432
1947
if test "${ac_cv_build+set}" = set; then
1433
1948
  echo $ECHO_N "(cached) $ECHO_C" >&6
1434
1949
else
1435
 
  ac_cv_build_alias=$build_alias
1436
 
test -z "$ac_cv_build_alias" &&
1437
 
  ac_cv_build_alias=`$ac_config_guess`
1438
 
test -z "$ac_cv_build_alias" &&
 
1950
  ac_build_alias=$build_alias
 
1951
test "x$ac_build_alias" = x &&
 
1952
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
1953
test "x$ac_build_alias" = x &&
1439
1954
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1440
1955
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1441
1956
   { (exit 1); exit 1; }; }
1442
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1443
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1444
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
1957
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
1958
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
1959
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1445
1960
   { (exit 1); exit 1; }; }
1446
1961
 
1447
1962
fi
1448
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1449
 
echo "${ECHO_T}$ac_cv_build" >&6
 
1963
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1964
echo "${ECHO_T}$ac_cv_build" >&6; }
 
1965
case $ac_cv_build in
 
1966
*-*-*) ;;
 
1967
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
1968
echo "$as_me: error: invalid value of canonical build" >&2;}
 
1969
   { (exit 1); exit 1; }; };;
 
1970
esac
1450
1971
build=$ac_cv_build
1451
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1452
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1453
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1454
 
 
1455
 
 
1456
 
echo "$as_me:$LINENO: checking host system type" >&5
1457
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
1972
ac_save_IFS=$IFS; IFS='-'
 
1973
set x $ac_cv_build
 
1974
shift
 
1975
build_cpu=$1
 
1976
build_vendor=$2
 
1977
shift; shift
 
1978
# Remember, the first character of IFS is used to create $*,
 
1979
# except with old shells:
 
1980
build_os=$*
 
1981
IFS=$ac_save_IFS
 
1982
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
1983
 
 
1984
 
 
1985
{ echo "$as_me:$LINENO: checking host system type" >&5
 
1986
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1458
1987
if test "${ac_cv_host+set}" = set; then
1459
1988
  echo $ECHO_N "(cached) $ECHO_C" >&6
1460
1989
else
1461
 
  ac_cv_host_alias=$host_alias
1462
 
test -z "$ac_cv_host_alias" &&
1463
 
  ac_cv_host_alias=$ac_cv_build_alias
1464
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1465
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1466
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
1990
  if test "x$host_alias" = x; then
 
1991
  ac_cv_host=$ac_cv_build
 
1992
else
 
1993
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
1994
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
1995
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1467
1996
   { (exit 1); exit 1; }; }
 
1997
fi
1468
1998
 
1469
1999
fi
1470
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1471
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2000
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2001
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2002
case $ac_cv_host in
 
2003
*-*-*) ;;
 
2004
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2005
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2006
   { (exit 1); exit 1; }; };;
 
2007
esac
1472
2008
host=$ac_cv_host
1473
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1474
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1475
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2009
ac_save_IFS=$IFS; IFS='-'
 
2010
set x $ac_cv_host
 
2011
shift
 
2012
host_cpu=$1
 
2013
host_vendor=$2
 
2014
shift; shift
 
2015
# Remember, the first character of IFS is used to create $*,
 
2016
# except with old shells:
 
2017
host_os=$*
 
2018
IFS=$ac_save_IFS
 
2019
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1476
2020
 
1477
2021
 
1478
2022
am__api_version="1.9"
1489
2033
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1490
2034
# OS/2's system install, which has a completely different semantic
1491
2035
# ./install, which can be erroneously created by make from ./install.sh.
1492
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1493
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2036
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2037
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1494
2038
if test -z "$INSTALL"; then
1495
2039
if test "${ac_cv_path_install+set}" = set; then
1496
2040
  echo $ECHO_N "(cached) $ECHO_C" >&6
1512
2056
    # by default.
1513
2057
    for ac_prog in ginstall scoinst install; do
1514
2058
      for ac_exec_ext in '' $ac_executable_extensions; do
1515
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2059
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1516
2060
          if test $ac_prog = install &&
1517
2061
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1518
2062
            # AIX install.  It has an incompatible calling convention.
1531
2075
    ;;
1532
2076
esac
1533
2077
done
 
2078
IFS=$as_save_IFS
1534
2079
 
1535
2080
 
1536
2081
fi
1537
2082
  if test "${ac_cv_path_install+set}" = set; then
1538
2083
    INSTALL=$ac_cv_path_install
1539
2084
  else
1540
 
    # As a last resort, use the slow shell script.  We don't cache a
1541
 
    # path for INSTALL within a source directory, because that will
 
2085
    # As a last resort, use the slow shell script.  Don't cache a
 
2086
    # value for INSTALL within a source directory, because that will
1542
2087
    # break other packages using the cache if that directory is
1543
 
    # removed, or if the path is relative.
 
2088
    # removed, or if the value is a relative name.
1544
2089
    INSTALL=$ac_install_sh
1545
2090
  fi
1546
2091
fi
1547
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1548
 
echo "${ECHO_T}$INSTALL" >&6
 
2092
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2093
echo "${ECHO_T}$INSTALL" >&6; }
1549
2094
 
1550
2095
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1551
2096
# It thinks the first close brace ends the variable substitution.
1555
2100
 
1556
2101
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1557
2102
 
1558
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1559
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2103
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2104
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1560
2105
# Just in case
1561
2106
sleep 1
1562
2107
echo timestamp > conftest.file
1598
2143
Check your system clock" >&2;}
1599
2144
   { (exit 1); exit 1; }; }
1600
2145
fi
1601
 
echo "$as_me:$LINENO: result: yes" >&5
1602
 
echo "${ECHO_T}yes" >&6
 
2146
{ echo "$as_me:$LINENO: result: yes" >&5
 
2147
echo "${ECHO_T}yes" >&6; }
1603
2148
test "$program_prefix" != NONE &&
1604
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2149
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1605
2150
# Use a double $ so make ignores it.
1606
2151
test "$program_suffix" != NONE &&
1607
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2152
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1608
2153
# Double any \ or $.  echo might interpret backslashes.
1609
2154
# By default was `s,x,x', remove it if useless.
1610
2155
cat <<\_ACEOF >conftest.sed
1611
2156
s/[\\$]/&&/g;s/;s,x,x,$//
1612
2157
_ACEOF
1613
2158
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1614
 
rm conftest.sed
 
2159
rm -f conftest.sed
1615
2160
 
1616
2161
# expand $ac_aux_dir to an absolute path
1617
2162
am_aux_dir=`cd $ac_aux_dir && pwd`
1663
2208
do
1664
2209
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1665
2210
set dummy $ac_prog; ac_word=$2
1666
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1667
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2211
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2212
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1668
2213
if test "${ac_cv_prog_AWK+set}" = set; then
1669
2214
  echo $ECHO_N "(cached) $ECHO_C" >&6
1670
2215
else
1677
2222
  IFS=$as_save_IFS
1678
2223
  test -z "$as_dir" && as_dir=.
1679
2224
  for ac_exec_ext in '' $ac_executable_extensions; do
1680
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2225
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1681
2226
    ac_cv_prog_AWK="$ac_prog"
1682
2227
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683
2228
    break 2
1684
2229
  fi
1685
2230
done
1686
2231
done
 
2232
IFS=$as_save_IFS
1687
2233
 
1688
2234
fi
1689
2235
fi
1690
2236
AWK=$ac_cv_prog_AWK
1691
2237
if test -n "$AWK"; then
1692
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1693
 
echo "${ECHO_T}$AWK" >&6
 
2238
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2239
echo "${ECHO_T}$AWK" >&6; }
1694
2240
else
1695
 
  echo "$as_me:$LINENO: result: no" >&5
1696
 
echo "${ECHO_T}no" >&6
 
2241
  { echo "$as_me:$LINENO: result: no" >&5
 
2242
echo "${ECHO_T}no" >&6; }
1697
2243
fi
1698
2244
 
 
2245
 
1699
2246
  test -n "$AWK" && break
1700
2247
done
1701
2248
 
1702
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1703
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1704
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1705
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2249
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2250
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2251
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2252
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1706
2253
  echo $ECHO_N "(cached) $ECHO_C" >&6
1707
2254
else
1708
2255
  cat >conftest.make <<\_ACEOF
 
2256
SHELL = /bin/sh
1709
2257
all:
1710
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2258
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1711
2259
_ACEOF
1712
2260
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1713
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1714
 
if test -n "$ac_maketemp"; then
1715
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1716
 
else
1717
 
  eval ac_cv_prog_make_${ac_make}_set=no
1718
 
fi
 
2261
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2262
  *@@@%%%=?*=@@@%%%*)
 
2263
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2264
  *)
 
2265
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2266
esac
1719
2267
rm -f conftest.make
1720
2268
fi
1721
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1722
 
  echo "$as_me:$LINENO: result: yes" >&5
1723
 
echo "${ECHO_T}yes" >&6
 
2269
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2270
  { echo "$as_me:$LINENO: result: yes" >&5
 
2271
echo "${ECHO_T}yes" >&6; }
1724
2272
  SET_MAKE=
1725
2273
else
1726
 
  echo "$as_me:$LINENO: result: no" >&5
1727
 
echo "${ECHO_T}no" >&6
 
2274
  { echo "$as_me:$LINENO: result: no" >&5
 
2275
echo "${ECHO_T}no" >&6; }
1728
2276
  SET_MAKE="MAKE=${MAKE-make}"
1729
2277
fi
1730
2278
 
1757
2305
 
1758
2306
# Define the identity of the package.
1759
2307
 PACKAGE='gnupg'
1760
 
 VERSION='1.4.5'
 
2308
 VERSION='1.4.6'
1761
2309
 
1762
2310
 
1763
2311
cat >>confdefs.h <<_ACEOF
1795
2343
  if test -n "$ac_tool_prefix"; then
1796
2344
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1797
2345
set dummy ${ac_tool_prefix}strip; ac_word=$2
1798
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1799
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2346
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2347
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1800
2348
if test "${ac_cv_prog_STRIP+set}" = set; then
1801
2349
  echo $ECHO_N "(cached) $ECHO_C" >&6
1802
2350
else
1809
2357
  IFS=$as_save_IFS
1810
2358
  test -z "$as_dir" && as_dir=.
1811
2359
  for ac_exec_ext in '' $ac_executable_extensions; do
1812
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2360
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1813
2361
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1814
2362
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815
2363
    break 2
1816
2364
  fi
1817
2365
done
1818
2366
done
 
2367
IFS=$as_save_IFS
1819
2368
 
1820
2369
fi
1821
2370
fi
1822
2371
STRIP=$ac_cv_prog_STRIP
1823
2372
if test -n "$STRIP"; then
1824
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1825
 
echo "${ECHO_T}$STRIP" >&6
 
2373
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2374
echo "${ECHO_T}$STRIP" >&6; }
1826
2375
else
1827
 
  echo "$as_me:$LINENO: result: no" >&5
1828
 
echo "${ECHO_T}no" >&6
 
2376
  { echo "$as_me:$LINENO: result: no" >&5
 
2377
echo "${ECHO_T}no" >&6; }
1829
2378
fi
 
2379
 
1830
2380
 
1831
2381
fi
1832
2382
if test -z "$ac_cv_prog_STRIP"; then
1833
2383
  ac_ct_STRIP=$STRIP
1834
2384
  # Extract the first word of "strip", so it can be a program name with args.
1835
2385
set dummy strip; ac_word=$2
1836
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1837
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2386
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2387
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1838
2388
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1839
2389
  echo $ECHO_N "(cached) $ECHO_C" >&6
1840
2390
else
1847
2397
  IFS=$as_save_IFS
1848
2398
  test -z "$as_dir" && as_dir=.
1849
2399
  for ac_exec_ext in '' $ac_executable_extensions; do
1850
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2400
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1851
2401
    ac_cv_prog_ac_ct_STRIP="strip"
1852
2402
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853
2403
    break 2
1854
2404
  fi
1855
2405
done
1856
2406
done
 
2407
IFS=$as_save_IFS
1857
2408
 
1858
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1859
2409
fi
1860
2410
fi
1861
2411
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1862
2412
if test -n "$ac_ct_STRIP"; then
1863
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1864
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2413
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2414
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1865
2415
else
1866
 
  echo "$as_me:$LINENO: result: no" >&5
1867
 
echo "${ECHO_T}no" >&6
 
2416
  { echo "$as_me:$LINENO: result: no" >&5
 
2417
echo "${ECHO_T}no" >&6; }
1868
2418
fi
1869
2419
 
1870
 
  STRIP=$ac_ct_STRIP
 
2420
  if test "x$ac_ct_STRIP" = x; then
 
2421
    STRIP=":"
 
2422
  else
 
2423
    case $cross_compiling:$ac_tool_warned in
 
2424
yes:)
 
2425
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2426
whose name does not start with the host triplet.  If you think this
 
2427
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2428
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2429
whose name does not start with the host triplet.  If you think this
 
2430
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2431
ac_tool_warned=yes ;;
 
2432
esac
 
2433
    STRIP=$ac_ct_STRIP
 
2434
  fi
1871
2435
else
1872
2436
  STRIP="$ac_cv_prog_STRIP"
1873
2437
fi
1887
2451
 
1888
2452
 
1889
2453
 
1890
 
          ac_config_headers="$ac_config_headers config.h"
 
2454
 
 
2455
 
 
2456
 
 
2457
 
 
2458
        { echo "$as_me:$LINENO: autobuild project... ${PACKAGE_NAME:-$PACKAGE}" >&5
 
2459
echo "$as_me: autobuild project... ${PACKAGE_NAME:-$PACKAGE}" >&6;}
 
2460
        { echo "$as_me:$LINENO: autobuild revision... ${PACKAGE_VERSION:-$VERSION}" >&5
 
2461
echo "$as_me: autobuild revision... ${PACKAGE_VERSION:-$VERSION}" >&6;}
 
2462
        hostname=`hostname`
 
2463
        if test "$hostname"; then
 
2464
           { echo "$as_me:$LINENO: autobuild hostname... $hostname" >&5
 
2465
echo "$as_me: autobuild hostname... $hostname" >&6;}
 
2466
        fi
 
2467
 
 
2468
        date=`date +%Y%m%d-%H%M%S`
 
2469
        if test "$?" != 0; then
 
2470
           date=`date`
 
2471
        fi
 
2472
        if test "$date"; then
 
2473
           { echo "$as_me:$LINENO: autobuild timestamp... $date" >&5
 
2474
echo "$as_me: autobuild timestamp... $date" >&6;}
 
2475
        fi
 
2476
 
 
2477
ac_config_headers="$ac_config_headers config.h"
1891
2478
 
1892
2479
 
1893
2480
 
1897
2484
 
1898
2485
 
1899
2486
 
1900
 
echo "$as_me:$LINENO: checking which random module to use" >&5
1901
 
echo $ECHO_N "checking which random module to use... $ECHO_C" >&6
1902
 
# Check whether --enable-static-rnd or --disable-static-rnd was given.
 
2487
{ echo "$as_me:$LINENO: checking which random module to use" >&5
 
2488
echo $ECHO_N "checking which random module to use... $ECHO_C" >&6; }
 
2489
# Check whether --enable-static-rnd was given.
1903
2490
if test "${enable_static_rnd+set}" = set; then
1904
 
  enableval="$enable_static_rnd"
1905
 
  use_static_rnd=$enableval
 
2491
  enableval=$enable_static_rnd; use_static_rnd=$enableval
1906
2492
else
1907
2493
  use_static_rnd=default
1908
 
fi;
 
2494
fi
 
2495
 
1909
2496
 
1910
2497
if test "$use_static_rnd" = no; then
1911
2498
    use_static_rnd=default
1913
2500
 
1914
2501
case "$use_static_rnd" in
1915
2502
    egd | linux | unix | default )
1916
 
      echo "$as_me:$LINENO: result: $use_static_rnd" >&5
1917
 
echo "${ECHO_T}$use_static_rnd" >&6
 
2503
      { echo "$as_me:$LINENO: result: $use_static_rnd" >&5
 
2504
echo "${ECHO_T}$use_static_rnd" >&6; }
1918
2505
      ;;
1919
2506
    auto )
1920
 
      echo "$as_me:$LINENO: result: automagically selected at runtime" >&5
1921
 
echo "${ECHO_T}automagically selected at runtime" >&6
 
2507
      { echo "$as_me:$LINENO: result: automagically selected at runtime" >&5
 
2508
echo "${ECHO_T}automagically selected at runtime" >&6; }
1922
2509
      ;;
1923
2510
    * )
1924
 
      echo "$as_me:$LINENO: result: invalid argument" >&5
1925
 
echo "${ECHO_T}invalid argument" >&6
 
2511
      { echo "$as_me:$LINENO: result: invalid argument" >&5
 
2512
echo "${ECHO_T}invalid argument" >&6; }
1926
2513
      { { echo "$as_me:$LINENO: error: there is no random module rnd$use_static_rnd" >&5
1927
2514
echo "$as_me: error: there is no random module rnd$use_static_rnd" >&2;}
1928
2515
   { (exit 1); exit 1; }; }
1930
2517
esac
1931
2518
 
1932
2519
 
1933
 
# Check whether --with-egd-socket or --without-egd-socket was given.
 
2520
# Check whether --with-egd-socket was given.
1934
2521
if test "${with_egd_socket+set}" = set; then
1935
 
  withval="$with_egd_socket"
1936
 
  egd_socket_name="$withval"
 
2522
  withval=$with_egd_socket; egd_socket_name="$withval"
1937
2523
else
1938
2524
  egd_socket_name=""
1939
 
fi;
 
2525
fi
 
2526
 
1940
2527
 
1941
2528
cat >>confdefs.h <<_ACEOF
1942
2529
#define EGD_SOCKET_NAME "$egd_socket_name"
1945
2532
 
1946
2533
 
1947
2534
 
1948
 
echo "$as_me:$LINENO: checking whether use of /dev/random is requested" >&5
1949
 
echo $ECHO_N "checking whether use of /dev/random is requested... $ECHO_C" >&6
1950
 
# Check whether --enable-dev-random or --disable-dev-random was given.
 
2535
{ echo "$as_me:$LINENO: checking whether use of /dev/random is requested" >&5
 
2536
echo $ECHO_N "checking whether use of /dev/random is requested... $ECHO_C" >&6; }
 
2537
# Check whether --enable-dev-random was given.
1951
2538
if test "${enable_dev_random+set}" = set; then
1952
 
  enableval="$enable_dev_random"
1953
 
  try_dev_random=$enableval
 
2539
  enableval=$enable_dev_random; try_dev_random=$enableval
1954
2540
else
1955
2541
  try_dev_random=yes
1956
 
fi;
1957
 
echo "$as_me:$LINENO: result: $try_dev_random" >&5
1958
 
echo "${ECHO_T}$try_dev_random" >&6
1959
 
 
1960
 
 
1961
 
 
1962
 
echo "$as_me:$LINENO: checking whether assembler modules are requested" >&5
1963
 
echo $ECHO_N "checking whether assembler modules are requested... $ECHO_C" >&6
1964
 
# Check whether --enable-asm or --disable-asm was given.
 
2542
fi
 
2543
 
 
2544
{ echo "$as_me:$LINENO: result: $try_dev_random" >&5
 
2545
echo "${ECHO_T}$try_dev_random" >&6; }
 
2546
 
 
2547
 
 
2548
 
 
2549
{ echo "$as_me:$LINENO: checking whether assembler modules are requested" >&5
 
2550
echo $ECHO_N "checking whether assembler modules are requested... $ECHO_C" >&6; }
 
2551
# Check whether --enable-asm was given.
1965
2552
if test "${enable_asm+set}" = set; then
1966
 
  enableval="$enable_asm"
1967
 
  try_asm_modules=$enableval
 
2553
  enableval=$enable_asm; try_asm_modules=$enableval
1968
2554
else
1969
2555
  try_asm_modules=yes
1970
 
fi;
1971
 
echo "$as_me:$LINENO: result: $try_asm_modules" >&5
1972
 
echo "${ECHO_T}$try_asm_modules" >&6
 
2556
fi
 
2557
 
 
2558
{ echo "$as_me:$LINENO: result: $try_asm_modules" >&5
 
2559
echo "${ECHO_T}$try_asm_modules" >&6; }
1973
2560
 
1974
2561
 
1975
2562
# SELinux support includes tracking of sensitive files to avoid
1976
2563
# leaking their contents through processing these files by gpg itself
1977
 
echo "$as_me:$LINENO: checking whether SELinux support is requested" >&5
1978
 
echo $ECHO_N "checking whether SELinux support is requested... $ECHO_C" >&6
1979
 
# Check whether --enable-selinux-support or --disable-selinux-support was given.
 
2564
{ echo "$as_me:$LINENO: checking whether SELinux support is requested" >&5
 
2565
echo $ECHO_N "checking whether SELinux support is requested... $ECHO_C" >&6; }
 
2566
# Check whether --enable-selinux-support was given.
1980
2567
if test "${enable_selinux_support+set}" = set; then
1981
 
  enableval="$enable_selinux_support"
1982
 
  selinux_support=$enableval
 
2568
  enableval=$enable_selinux_support; selinux_support=$enableval
1983
2569
else
1984
2570
  selinux_support=no
1985
 
fi;
1986
 
echo "$as_me:$LINENO: result: $selinux_support" >&5
1987
 
echo "${ECHO_T}$selinux_support" >&6
1988
 
 
1989
 
 
1990
 
echo "$as_me:$LINENO: checking whether the new iconv based code is requested" >&5
1991
 
echo $ECHO_N "checking whether the new iconv based code is requested... $ECHO_C" >&6
1992
 
# Check whether --enable-gnupg-iconv or --disable-gnupg-iconv was given.
 
2571
fi
 
2572
 
 
2573
{ echo "$as_me:$LINENO: result: $selinux_support" >&5
 
2574
echo "${ECHO_T}$selinux_support" >&6; }
 
2575
 
 
2576
 
 
2577
{ echo "$as_me:$LINENO: checking whether the new iconv based code is requested" >&5
 
2578
echo $ECHO_N "checking whether the new iconv based code is requested... $ECHO_C" >&6; }
 
2579
# Check whether --enable-gnupg-iconv was given.
1993
2580
if test "${enable_gnupg_iconv+set}" = set; then
1994
 
  enableval="$enable_gnupg_iconv"
1995
 
  gnupg_use_iconv=$enableval
 
2581
  enableval=$enable_gnupg_iconv; gnupg_use_iconv=$enableval
1996
2582
else
1997
2583
  gnupg_use_iconv=yes
1998
 
fi;
1999
 
echo "$as_me:$LINENO: result: $gnupg_use_iconv" >&5
2000
 
echo "${ECHO_T}$gnupg_use_iconv" >&6
 
2584
fi
 
2585
 
 
2586
{ echo "$as_me:$LINENO: result: $gnupg_use_iconv" >&5
 
2587
echo "${ECHO_T}$gnupg_use_iconv" >&6; }
2001
2588
 
2002
2589
 
2003
2590
try_extensions=no
2004
2591
 
 
2592
try_gettext=yes
 
2593
try_dns=yes
2005
2594
use_rsa=yes
2006
2595
use_idea=yes
2007
2596
use_cast5=yes
2016
2605
agent_support=yes
2017
2606
disable_keyserver_path=no
2018
2607
 
2019
 
# Check whether --enable-minimal or --disable-minimal was given.
 
2608
# Check whether --enable-minimal was given.
2020
2609
if test "${enable_minimal+set}" = set; then
2021
 
  enableval="$enable_minimal"
2022
 
  use_rsa=no
 
2610
  enableval=$enable_minimal; try_gettext=no
 
2611
   try_dns=no
 
2612
   use_rsa=no
2023
2613
   use_idea=no
2024
2614
   use_cast5=no
2025
2615
   use_blowfish=no
2031
2621
   use_exec=no
2032
2622
   card_support=no
2033
2623
   agent_support=no
2034
 
fi;
2035
 
 
2036
 
 
2037
 
echo "$as_me:$LINENO: checking whether OpenPGP card support is requested" >&5
2038
 
echo $ECHO_N "checking whether OpenPGP card support is requested... $ECHO_C" >&6
2039
 
# Check whether --enable-card-support or --disable-card-support was given.
 
2624
fi
 
2625
 
 
2626
 
 
2627
 
 
2628
{ echo "$as_me:$LINENO: checking whether OpenPGP card support is requested" >&5
 
2629
echo $ECHO_N "checking whether OpenPGP card support is requested... $ECHO_C" >&6; }
 
2630
# Check whether --enable-card-support was given.
2040
2631
if test "${enable_card_support+set}" = set; then
2041
 
  enableval="$enable_card_support"
2042
 
  card_support=$enableval
2043
 
fi;
2044
 
echo "$as_me:$LINENO: result: $card_support" >&5
2045
 
echo "${ECHO_T}$card_support" >&6
 
2632
  enableval=$enable_card_support; card_support=$enableval
 
2633
fi
 
2634
 
 
2635
{ echo "$as_me:$LINENO: result: $card_support" >&5
 
2636
echo "${ECHO_T}$card_support" >&6; }
2046
2637
 
2047
2638
 
2048
2639
# Note that we may later disable the agent support based on the platform.
2049
 
echo "$as_me:$LINENO: checking whether gpg-agent support is requested" >&5
2050
 
echo $ECHO_N "checking whether gpg-agent support is requested... $ECHO_C" >&6
2051
 
# Check whether --enable-agent-support or --disable-agent-support was given.
 
2640
{ echo "$as_me:$LINENO: checking whether gpg-agent support is requested" >&5
 
2641
echo $ECHO_N "checking whether gpg-agent support is requested... $ECHO_C" >&6; }
 
2642
# Check whether --enable-agent-support was given.
2052
2643
if test "${enable_agent_support+set}" = set; then
2053
 
  enableval="$enable_agent_support"
2054
 
  agent_support=$enableval
2055
 
fi;
2056
 
echo "$as_me:$LINENO: result: $agent_support" >&5
2057
 
echo "${ECHO_T}$agent_support" >&6
2058
 
 
2059
 
 
2060
 
echo "$as_me:$LINENO: checking whether to enable the RSA public key algorithm" >&5
2061
 
echo $ECHO_N "checking whether to enable the RSA public key algorithm... $ECHO_C" >&6
2062
 
# Check whether --enable-rsa or --disable-rsa was given.
 
2644
  enableval=$enable_agent_support; agent_support=$enableval
 
2645
fi
 
2646
 
 
2647
{ echo "$as_me:$LINENO: result: $agent_support" >&5
 
2648
echo "${ECHO_T}$agent_support" >&6; }
 
2649
 
 
2650
 
 
2651
{ echo "$as_me:$LINENO: checking whether to enable the RSA public key algorithm" >&5
 
2652
echo $ECHO_N "checking whether to enable the RSA public key algorithm... $ECHO_C" >&6; }
 
2653
# Check whether --enable-rsa was given.
2063
2654
if test "${enable_rsa+set}" = set; then
2064
 
  enableval="$enable_rsa"
2065
 
  use_rsa=$enableval
2066
 
fi;
2067
 
echo "$as_me:$LINENO: result: $use_rsa" >&5
2068
 
echo "${ECHO_T}$use_rsa" >&6
 
2655
  enableval=$enable_rsa; use_rsa=$enableval
 
2656
fi
 
2657
 
 
2658
{ echo "$as_me:$LINENO: result: $use_rsa" >&5
 
2659
echo "${ECHO_T}$use_rsa" >&6; }
2069
2660
if test x"$use_rsa" = xyes ; then
2070
2661
 
2071
2662
cat >>confdefs.h <<\_ACEOF
2074
2665
 
2075
2666
fi
2076
2667
 
2077
 
echo "$as_me:$LINENO: checking whether to enable the IDEA cipher" >&5
2078
 
echo $ECHO_N "checking whether to enable the IDEA cipher... $ECHO_C" >&6
2079
 
# Check whether --enable-idea or --disable-idea was given.
 
2668
{ echo "$as_me:$LINENO: checking whether to enable the IDEA cipher" >&5
 
2669
echo $ECHO_N "checking whether to enable the IDEA cipher... $ECHO_C" >&6; }
 
2670
# Check whether --enable-idea was given.
2080
2671
if test "${enable_idea+set}" = set; then
2081
 
  enableval="$enable_idea"
2082
 
  use_idea=$enableval
2083
 
fi;
2084
 
echo "$as_me:$LINENO: result: $use_idea" >&5
2085
 
echo "${ECHO_T}$use_idea" >&6
 
2672
  enableval=$enable_idea; use_idea=$enableval
 
2673
fi
 
2674
 
 
2675
{ echo "$as_me:$LINENO: result: $use_idea" >&5
 
2676
echo "${ECHO_T}$use_idea" >&6; }
2086
2677
if test x"$use_idea" = xyes ; then
2087
2678
 
2088
2679
cat >>confdefs.h <<\_ACEOF
2095
2686
# cipher directory and statically link it if available, otherwise we
2096
2687
# link to a stub.  We don't use AC_CHECK_FILE to avoid caching.
2097
2688
 
2098
 
   echo "$as_me:$LINENO: checking for idea cipher module" >&5
2099
 
echo $ECHO_N "checking for idea cipher module... $ECHO_C" >&6
 
2689
   { echo "$as_me:$LINENO: checking for idea cipher module" >&5
 
2690
echo $ECHO_N "checking for idea cipher module... $ECHO_C" >&6; }
2100
2691
   tmp=""
2101
2692
   if test -f $srcdir/cipher/idea.c; then
2102
2693
      IDEA_O=idea.o
2107
2698
      try_extensions=yes
2108
2699
   fi
2109
2700
 
2110
 
   echo "$as_me:$LINENO: result: $tmp" >&5
2111
 
echo "${ECHO_T}$tmp" >&6
 
2701
   { echo "$as_me:$LINENO: result: $tmp" >&5
 
2702
echo "${ECHO_T}$tmp" >&6; }
2112
2703
fi
2113
2704
 
2114
 
echo "$as_me:$LINENO: checking whether to enable the CAST5 cipher" >&5
2115
 
echo $ECHO_N "checking whether to enable the CAST5 cipher... $ECHO_C" >&6
2116
 
# Check whether --enable-cast5 or --disable-cast5 was given.
 
2705
{ echo "$as_me:$LINENO: checking whether to enable the CAST5 cipher" >&5
 
2706
echo $ECHO_N "checking whether to enable the CAST5 cipher... $ECHO_C" >&6; }
 
2707
# Check whether --enable-cast5 was given.
2117
2708
if test "${enable_cast5+set}" = set; then
2118
 
  enableval="$enable_cast5"
2119
 
  use_cast5=$enableval
2120
 
fi;
2121
 
echo "$as_me:$LINENO: result: $use_cast5" >&5
2122
 
echo "${ECHO_T}$use_cast5" >&6
 
2709
  enableval=$enable_cast5; use_cast5=$enableval
 
2710
fi
 
2711
 
 
2712
{ echo "$as_me:$LINENO: result: $use_cast5" >&5
 
2713
echo "${ECHO_T}$use_cast5" >&6; }
2123
2714
if test x"$use_cast5" = xyes ; then
2124
2715
 
2125
2716
cat >>confdefs.h <<\_ACEOF
2128
2719
 
2129
2720
fi
2130
2721
 
2131
 
echo "$as_me:$LINENO: checking whether to enable the BLOWFISH cipher" >&5
2132
 
echo $ECHO_N "checking whether to enable the BLOWFISH cipher... $ECHO_C" >&6
2133
 
# Check whether --enable-blowfish or --disable-blowfish was given.
 
2722
{ echo "$as_me:$LINENO: checking whether to enable the BLOWFISH cipher" >&5
 
2723
echo $ECHO_N "checking whether to enable the BLOWFISH cipher... $ECHO_C" >&6; }
 
2724
# Check whether --enable-blowfish was given.
2134
2725
if test "${enable_blowfish+set}" = set; then
2135
 
  enableval="$enable_blowfish"
2136
 
  use_blowfish=$enableval
2137
 
fi;
2138
 
echo "$as_me:$LINENO: result: $use_blowfish" >&5
2139
 
echo "${ECHO_T}$use_blowfish" >&6
 
2726
  enableval=$enable_blowfish; use_blowfish=$enableval
 
2727
fi
 
2728
 
 
2729
{ echo "$as_me:$LINENO: result: $use_blowfish" >&5
 
2730
echo "${ECHO_T}$use_blowfish" >&6; }
2140
2731
if test x"$use_blowfish" = xyes ; then
2141
2732
 
2142
2733
cat >>confdefs.h <<\_ACEOF
2145
2736
 
2146
2737
fi
2147
2738
 
2148
 
echo "$as_me:$LINENO: checking whether to enable the AES ciphers" >&5
2149
 
echo $ECHO_N "checking whether to enable the AES ciphers... $ECHO_C" >&6
2150
 
# Check whether --enable-aes or --disable-aes was given.
 
2739
{ echo "$as_me:$LINENO: checking whether to enable the AES ciphers" >&5
 
2740
echo $ECHO_N "checking whether to enable the AES ciphers... $ECHO_C" >&6; }
 
2741
# Check whether --enable-aes was given.
2151
2742
if test "${enable_aes+set}" = set; then
2152
 
  enableval="$enable_aes"
2153
 
  use_aes=$enableval
2154
 
fi;
2155
 
echo "$as_me:$LINENO: result: $use_aes" >&5
2156
 
echo "${ECHO_T}$use_aes" >&6
 
2743
  enableval=$enable_aes; use_aes=$enableval
 
2744
fi
 
2745
 
 
2746
{ echo "$as_me:$LINENO: result: $use_aes" >&5
 
2747
echo "${ECHO_T}$use_aes" >&6; }
2157
2748
if test x"$use_aes" = xyes ; then
2158
2749
 
2159
2750
cat >>confdefs.h <<\_ACEOF
2162
2753
 
2163
2754
fi
2164
2755
 
2165
 
echo "$as_me:$LINENO: checking whether to enable the TWOFISH cipher" >&5
2166
 
echo $ECHO_N "checking whether to enable the TWOFISH cipher... $ECHO_C" >&6
2167
 
# Check whether --enable-twofish or --disable-twofish was given.
 
2756
{ echo "$as_me:$LINENO: checking whether to enable the TWOFISH cipher" >&5
 
2757
echo $ECHO_N "checking whether to enable the TWOFISH cipher... $ECHO_C" >&6; }
 
2758
# Check whether --enable-twofish was given.
2168
2759
if test "${enable_twofish+set}" = set; then
2169
 
  enableval="$enable_twofish"
2170
 
  use_twofish=$enableval
2171
 
fi;
2172
 
echo "$as_me:$LINENO: result: $use_twofish" >&5
2173
 
echo "${ECHO_T}$use_twofish" >&6
 
2760
  enableval=$enable_twofish; use_twofish=$enableval
 
2761
fi
 
2762
 
 
2763
{ echo "$as_me:$LINENO: result: $use_twofish" >&5
 
2764
echo "${ECHO_T}$use_twofish" >&6; }
2174
2765
if test x"$use_twofish" = xyes ; then
2175
2766
 
2176
2767
cat >>confdefs.h <<\_ACEOF
2179
2770
 
2180
2771
fi
2181
2772
 
2182
 
echo "$as_me:$LINENO: checking whether to enable the SHA-256 digest" >&5
2183
 
echo $ECHO_N "checking whether to enable the SHA-256 digest... $ECHO_C" >&6
2184
 
# Check whether --enable-sha256 or --disable-sha256 was given.
 
2773
{ echo "$as_me:$LINENO: checking whether to enable the SHA-256 digest" >&5
 
2774
echo $ECHO_N "checking whether to enable the SHA-256 digest... $ECHO_C" >&6; }
 
2775
# Check whether --enable-sha256 was given.
2185
2776
if test "${enable_sha256+set}" = set; then
2186
 
  enableval="$enable_sha256"
2187
 
  use_sha256=$enableval
2188
 
fi;
2189
 
echo "$as_me:$LINENO: result: $use_sha256" >&5
2190
 
echo "${ECHO_T}$use_sha256" >&6
 
2777
  enableval=$enable_sha256; use_sha256=$enableval
 
2778
fi
 
2779
 
 
2780
{ echo "$as_me:$LINENO: result: $use_sha256" >&5
 
2781
echo "${ECHO_T}$use_sha256" >&6; }
2191
2782
if test x"$use_sha256" = xyes ; then
2192
2783
 
2193
2784
cat >>confdefs.h <<\_ACEOF
2196
2787
 
2197
2788
fi
2198
2789
 
2199
 
echo "$as_me:$LINENO: checking whether to enable the SHA-384 and SHA-512 digests" >&5
2200
 
echo $ECHO_N "checking whether to enable the SHA-384 and SHA-512 digests... $ECHO_C" >&6
2201
 
# Check whether --enable-sha512 or --disable-sha512 was given.
 
2790
{ echo "$as_me:$LINENO: checking whether to enable the SHA-384 and SHA-512 digests" >&5
 
2791
echo $ECHO_N "checking whether to enable the SHA-384 and SHA-512 digests... $ECHO_C" >&6; }
 
2792
# Check whether --enable-sha512 was given.
2202
2793
if test "${enable_sha512+set}" = set; then
2203
 
  enableval="$enable_sha512"
2204
 
  use_sha512=$enableval
2205
 
fi;
2206
 
echo "$as_me:$LINENO: result: $use_sha512" >&5
2207
 
echo "${ECHO_T}$use_sha512" >&6
2208
 
 
2209
 
echo "$as_me:$LINENO: checking whether to enable the BZIP2 compression algorithm" >&5
2210
 
echo $ECHO_N "checking whether to enable the BZIP2 compression algorithm... $ECHO_C" >&6
2211
 
# Check whether --enable-bzip2 or --disable-bzip2 was given.
 
2794
  enableval=$enable_sha512; use_sha512=$enableval
 
2795
fi
 
2796
 
 
2797
{ echo "$as_me:$LINENO: result: $use_sha512" >&5
 
2798
echo "${ECHO_T}$use_sha512" >&6; }
 
2799
 
 
2800
{ echo "$as_me:$LINENO: checking whether to enable the BZIP2 compression algorithm" >&5
 
2801
echo $ECHO_N "checking whether to enable the BZIP2 compression algorithm... $ECHO_C" >&6; }
 
2802
# Check whether --enable-bzip2 was given.
2212
2803
if test "${enable_bzip2+set}" = set; then
2213
 
  enableval="$enable_bzip2"
2214
 
  use_bzip2=$enableval
2215
 
fi;
2216
 
echo "$as_me:$LINENO: result: $use_bzip2" >&5
2217
 
echo "${ECHO_T}$use_bzip2" >&6
2218
 
 
2219
 
echo "$as_me:$LINENO: checking whether to enable external program execution" >&5
2220
 
echo $ECHO_N "checking whether to enable external program execution... $ECHO_C" >&6
2221
 
# Check whether --enable-exec or --disable-exec was given.
 
2804
  enableval=$enable_bzip2; use_bzip2=$enableval
 
2805
fi
 
2806
 
 
2807
{ echo "$as_me:$LINENO: result: $use_bzip2" >&5
 
2808
echo "${ECHO_T}$use_bzip2" >&6; }
 
2809
 
 
2810
{ echo "$as_me:$LINENO: checking whether to enable external program execution" >&5
 
2811
echo $ECHO_N "checking whether to enable external program execution... $ECHO_C" >&6; }
 
2812
# Check whether --enable-exec was given.
2222
2813
if test "${enable_exec+set}" = set; then
2223
 
  enableval="$enable_exec"
2224
 
  use_exec=$enableval
2225
 
fi;
2226
 
echo "$as_me:$LINENO: result: $use_exec" >&5
2227
 
echo "${ECHO_T}$use_exec" >&6
 
2814
  enableval=$enable_exec; use_exec=$enableval
 
2815
fi
 
2816
 
 
2817
{ echo "$as_me:$LINENO: result: $use_exec" >&5
 
2818
echo "${ECHO_T}$use_exec" >&6; }
2228
2819
if test "$use_exec" = no ; then
2229
2820
 
2230
2821
cat >>confdefs.h <<\_ACEOF
2234
2825
fi
2235
2826
 
2236
2827
if test "$use_exec" = yes ; then
2237
 
  echo "$as_me:$LINENO: checking whether to enable photo ID viewing" >&5
2238
 
echo $ECHO_N "checking whether to enable photo ID viewing... $ECHO_C" >&6
2239
 
  # Check whether --enable-photo-viewers or --disable-photo-viewers was given.
 
2828
  { echo "$as_me:$LINENO: checking whether to enable photo ID viewing" >&5
 
2829
echo $ECHO_N "checking whether to enable photo ID viewing... $ECHO_C" >&6; }
 
2830
  # Check whether --enable-photo-viewers was given.
2240
2831
if test "${enable_photo_viewers+set}" = set; then
2241
 
  enableval="$enable_photo_viewers"
2242
 
  if test "$enableval" = no ; then
 
2832
  enableval=$enable_photo_viewers; if test "$enableval" = no ; then
2243
2833
 
2244
2834
cat >>confdefs.h <<\_ACEOF
2245
2835
#define DISABLE_PHOTO_VIEWER 1
2248
2838
      fi
2249
2839
else
2250
2840
  enableval=yes
2251
 
fi;
 
2841
fi
 
2842
 
2252
2843
  gnupg_cv_enable_photo_viewers=$enableval
2253
 
  echo "$as_me:$LINENO: result: $enableval" >&5
2254
 
echo "${ECHO_T}$enableval" >&6
 
2844
  { echo "$as_me:$LINENO: result: $enableval" >&5
 
2845
echo "${ECHO_T}$enableval" >&6; }
2255
2846
 
2256
2847
  if test "$gnupg_cv_enable_photo_viewers" = yes ; then
2257
 
    echo "$as_me:$LINENO: checking whether to use a fixed photo ID viewer" >&5
2258
 
echo $ECHO_N "checking whether to use a fixed photo ID viewer... $ECHO_C" >&6
 
2848
    { echo "$as_me:$LINENO: checking whether to use a fixed photo ID viewer" >&5
 
2849
echo $ECHO_N "checking whether to use a fixed photo ID viewer... $ECHO_C" >&6; }
2259
2850
 
2260
 
# Check whether --with-photo-viewer or --without-photo-viewer was given.
 
2851
# Check whether --with-photo-viewer was given.
2261
2852
if test "${with_photo_viewer+set}" = set; then
2262
 
  withval="$with_photo_viewer"
2263
 
  if test "$withval" = yes ; then
 
2853
  withval=$with_photo_viewer; if test "$withval" = yes ; then
2264
2854
           withval=no
2265
2855
        elif test "$withval" != no ; then
2266
2856
 
2271
2861
        fi
2272
2862
else
2273
2863
  withval=no
2274
 
fi;
2275
 
    echo "$as_me:$LINENO: result: $withval" >&5
2276
 
echo "${ECHO_T}$withval" >&6
 
2864
fi
 
2865
 
 
2866
    { echo "$as_me:$LINENO: result: $withval" >&5
 
2867
echo "${ECHO_T}$withval" >&6; }
2277
2868
  fi
2278
2869
 
2279
 
  echo "$as_me:$LINENO: checking whether to enable external keyserver helpers" >&5
2280
 
echo $ECHO_N "checking whether to enable external keyserver helpers... $ECHO_C" >&6
2281
 
  # Check whether --enable-keyserver-helpers or --disable-keyserver-helpers was given.
 
2870
  { echo "$as_me:$LINENO: checking whether to enable external keyserver helpers" >&5
 
2871
echo $ECHO_N "checking whether to enable external keyserver helpers... $ECHO_C" >&6; }
 
2872
  # Check whether --enable-keyserver-helpers was given.
2282
2873
if test "${enable_keyserver_helpers+set}" = set; then
2283
 
  enableval="$enable_keyserver_helpers"
2284
 
  if test "$enableval" = no ; then
 
2874
  enableval=$enable_keyserver_helpers; if test "$enableval" = no ; then
2285
2875
 
2286
2876
cat >>confdefs.h <<\_ACEOF
2287
2877
#define DISABLE_KEYSERVER_HELPERS 1
2290
2880
      fi
2291
2881
else
2292
2882
  enableval=yes
2293
 
fi;
 
2883
fi
 
2884
 
2294
2885
  gnupg_cv_enable_keyserver_helpers=$enableval
2295
 
  echo "$as_me:$LINENO: result: $enableval" >&5
2296
 
echo "${ECHO_T}$enableval" >&6
 
2886
  { echo "$as_me:$LINENO: result: $enableval" >&5
 
2887
echo "${ECHO_T}$enableval" >&6; }
2297
2888
 
2298
2889
  if test "$gnupg_cv_enable_keyserver_helpers" = yes ; then
2299
 
    echo "$as_me:$LINENO: checking whether LDAP keyserver support is requested" >&5
2300
 
echo $ECHO_N "checking whether LDAP keyserver support is requested... $ECHO_C" >&6
2301
 
    # Check whether --enable-ldap or --disable-ldap was given.
 
2890
    { echo "$as_me:$LINENO: checking whether LDAP keyserver support is requested" >&5
 
2891
echo $ECHO_N "checking whether LDAP keyserver support is requested... $ECHO_C" >&6; }
 
2892
    # Check whether --enable-ldap was given.
2302
2893
if test "${enable_ldap+set}" = set; then
2303
 
  enableval="$enable_ldap"
2304
 
  try_ldap=$enableval
 
2894
  enableval=$enable_ldap; try_ldap=$enableval
2305
2895
else
2306
2896
  try_ldap=yes
2307
 
fi;
2308
 
    echo "$as_me:$LINENO: result: $try_ldap" >&5
2309
 
echo "${ECHO_T}$try_ldap" >&6
2310
 
 
2311
 
    echo "$as_me:$LINENO: checking whether HKP keyserver support is requested" >&5
2312
 
echo $ECHO_N "checking whether HKP keyserver support is requested... $ECHO_C" >&6
2313
 
    # Check whether --enable-hkp or --disable-hkp was given.
 
2897
fi
 
2898
 
 
2899
    { echo "$as_me:$LINENO: result: $try_ldap" >&5
 
2900
echo "${ECHO_T}$try_ldap" >&6; }
 
2901
 
 
2902
    { echo "$as_me:$LINENO: checking whether HKP keyserver support is requested" >&5
 
2903
echo $ECHO_N "checking whether HKP keyserver support is requested... $ECHO_C" >&6; }
 
2904
    # Check whether --enable-hkp was given.
2314
2905
if test "${enable_hkp+set}" = set; then
2315
 
  enableval="$enable_hkp"
2316
 
  try_hkp=$enableval
 
2906
  enableval=$enable_hkp; try_hkp=$enableval
2317
2907
else
2318
2908
  try_hkp=yes
2319
 
fi;
2320
 
    echo "$as_me:$LINENO: result: $try_hkp" >&5
2321
 
echo "${ECHO_T}$try_hkp" >&6
2322
 
 
2323
 
    echo "$as_me:$LINENO: checking whether finger key fetching support is requested" >&5
2324
 
echo $ECHO_N "checking whether finger key fetching support is requested... $ECHO_C" >&6
2325
 
    # Check whether --enable-finger or --disable-finger was given.
 
2909
fi
 
2910
 
 
2911
    { echo "$as_me:$LINENO: result: $try_hkp" >&5
 
2912
echo "${ECHO_T}$try_hkp" >&6; }
 
2913
 
 
2914
    { echo "$as_me:$LINENO: checking whether finger key fetching support is requested" >&5
 
2915
echo $ECHO_N "checking whether finger key fetching support is requested... $ECHO_C" >&6; }
 
2916
    # Check whether --enable-finger was given.
2326
2917
if test "${enable_finger+set}" = set; then
2327
 
  enableval="$enable_finger"
2328
 
  try_finger=$enableval
 
2918
  enableval=$enable_finger; try_finger=$enableval
2329
2919
else
2330
2920
  try_finger=yes
2331
 
fi;
2332
 
    echo "$as_me:$LINENO: result: $try_finger" >&5
2333
 
echo "${ECHO_T}$try_finger" >&6
2334
 
 
2335
 
    echo "$as_me:$LINENO: checking whether generic object key fetching support is requested" >&5
2336
 
echo $ECHO_N "checking whether generic object key fetching support is requested... $ECHO_C" >&6
2337
 
    # Check whether --enable-generic or --disable-generic was given.
 
2921
fi
 
2922
 
 
2923
    { echo "$as_me:$LINENO: result: $try_finger" >&5
 
2924
echo "${ECHO_T}$try_finger" >&6; }
 
2925
 
 
2926
    { echo "$as_me:$LINENO: checking whether generic object key fetching support is requested" >&5
 
2927
echo $ECHO_N "checking whether generic object key fetching support is requested... $ECHO_C" >&6; }
 
2928
    # Check whether --enable-generic was given.
2338
2929
if test "${enable_generic+set}" = set; then
2339
 
  enableval="$enable_generic"
2340
 
  try_generic=$enableval
 
2930
  enableval=$enable_generic; try_generic=$enableval
2341
2931
else
2342
2932
  try_generic=yes
2343
 
fi;
2344
 
    echo "$as_me:$LINENO: result: $try_generic" >&5
2345
 
echo "${ECHO_T}$try_generic" >&6
2346
 
 
2347
 
    echo "$as_me:$LINENO: checking whether email keyserver support is requested" >&5
2348
 
echo $ECHO_N "checking whether email keyserver support is requested... $ECHO_C" >&6
2349
 
    # Check whether --enable-mailto or --disable-mailto was given.
 
2933
fi
 
2934
 
 
2935
    { echo "$as_me:$LINENO: result: $try_generic" >&5
 
2936
echo "${ECHO_T}$try_generic" >&6; }
 
2937
 
 
2938
    { echo "$as_me:$LINENO: checking whether email keyserver support is requested" >&5
 
2939
echo $ECHO_N "checking whether email keyserver support is requested... $ECHO_C" >&6; }
 
2940
    # Check whether --enable-mailto was given.
2350
2941
if test "${enable_mailto+set}" = set; then
2351
 
  enableval="$enable_mailto"
2352
 
  try_mailto=$enableval
 
2942
  enableval=$enable_mailto; try_mailto=$enableval
2353
2943
else
2354
2944
  try_mailto=no
2355
 
fi;
2356
 
    echo "$as_me:$LINENO: result: $try_mailto" >&5
2357
 
echo "${ECHO_T}$try_mailto" >&6
 
2945
fi
 
2946
 
 
2947
    { echo "$as_me:$LINENO: result: $try_mailto" >&5
 
2948
echo "${ECHO_T}$try_mailto" >&6; }
2358
2949
    fi
2359
2950
 
2360
 
    echo "$as_me:$LINENO: checking whether keyserver exec-path is enabled" >&5
2361
 
echo $ECHO_N "checking whether keyserver exec-path is enabled... $ECHO_C" >&6
2362
 
    # Check whether --enable-keyserver-path or --disable-keyserver-path was given.
 
2951
    { echo "$as_me:$LINENO: checking whether keyserver exec-path is enabled" >&5
 
2952
echo $ECHO_N "checking whether keyserver exec-path is enabled... $ECHO_C" >&6; }
 
2953
    # Check whether --enable-keyserver-path was given.
2363
2954
if test "${enable_keyserver_path+set}" = set; then
2364
 
  enableval="$enable_keyserver_path"
2365
 
  if test "$enableval" = no ; then
 
2955
  enableval=$enable_keyserver_path; if test "$enableval" = no ; then
2366
2956
         disable_keyserver_path=yes
2367
2957
      fi
2368
2958
else
2369
2959
  enableval=yes
2370
 
fi;
2371
 
    echo "$as_me:$LINENO: result: $enableval" >&5
2372
 
echo "${ECHO_T}$enableval" >&6
 
2960
fi
 
2961
 
 
2962
    { echo "$as_me:$LINENO: result: $enableval" >&5
 
2963
echo "${ECHO_T}$enableval" >&6; }
2373
2964
  fi
2374
2965
 
2375
 
echo "$as_me:$LINENO: checking whether the included zlib is requested" >&5
2376
 
echo $ECHO_N "checking whether the included zlib is requested... $ECHO_C" >&6
 
2966
{ echo "$as_me:$LINENO: checking whether the included zlib is requested" >&5
 
2967
echo $ECHO_N "checking whether the included zlib is requested... $ECHO_C" >&6; }
2377
2968
 
2378
 
# Check whether --with-included-zlib or --without-included-zlib was given.
 
2969
# Check whether --with-included-zlib was given.
2379
2970
if test "${with_included_zlib+set}" = set; then
2380
 
  withval="$with_included_zlib"
2381
 
  g10_force_zlib="$withval"
 
2971
  withval=$with_included_zlib; g10_force_zlib="$withval"
2382
2972
else
2383
2973
  g10_force_zlib=no
2384
 
fi;
2385
 
echo "$as_me:$LINENO: result: $g10_force_zlib" >&5
2386
 
echo "${ECHO_T}$g10_force_zlib" >&6
2387
 
 
2388
 
echo "$as_me:$LINENO: checking for the size of the key and uid cache" >&5
2389
 
echo $ECHO_N "checking for the size of the key and uid cache... $ECHO_C" >&6
2390
 
# Check whether --enable-key-cache or --disable-key-cache was given.
 
2974
fi
 
2975
 
 
2976
{ echo "$as_me:$LINENO: result: $g10_force_zlib" >&5
 
2977
echo "${ECHO_T}$g10_force_zlib" >&6; }
 
2978
 
 
2979
{ echo "$as_me:$LINENO: checking for the size of the key and uid cache" >&5
 
2980
echo $ECHO_N "checking for the size of the key and uid cache... $ECHO_C" >&6; }
 
2981
# Check whether --enable-key-cache was given.
2391
2982
if test "${enable_key_cache+set}" = set; then
2392
 
  enableval="$enable_key_cache"
2393
 
 
 
2983
  enableval=$enable_key_cache;
2394
2984
else
2395
2985
  enableval=4096
2396
 
fi;
 
2986
fi
 
2987
 
2397
2988
 
2398
2989
if test "$enableval" = "no"; then
2399
2990
   enableval=5
2409
3000
   { (exit 1); exit 1; }; }
2410
3001
fi
2411
3002
 
2412
 
echo "$as_me:$LINENO: result: $key_cache_size" >&5
2413
 
echo "${ECHO_T}$key_cache_size" >&6
 
3003
{ echo "$as_me:$LINENO: result: $key_cache_size" >&5
 
3004
echo "${ECHO_T}$key_cache_size" >&6; }
2414
3005
 
2415
3006
cat >>confdefs.h <<_ACEOF
2416
3007
#define PK_UID_CACHE_SIZE $key_cache_size
2417
3008
_ACEOF
2418
3009
 
2419
3010
 
2420
 
echo "$as_me:$LINENO: checking whether use of capabilities is requested" >&5
2421
 
echo $ECHO_N "checking whether use of capabilities is requested... $ECHO_C" >&6
 
3011
{ echo "$as_me:$LINENO: checking whether use of capabilities is requested" >&5
 
3012
echo $ECHO_N "checking whether use of capabilities is requested... $ECHO_C" >&6; }
2422
3013
 
2423
 
# Check whether --with-capabilities or --without-capabilities was given.
 
3014
# Check whether --with-capabilities was given.
2424
3015
if test "${with_capabilities+set}" = set; then
2425
 
  withval="$with_capabilities"
2426
 
  use_capabilities="$withval"
 
3016
  withval=$with_capabilities; use_capabilities="$withval"
2427
3017
else
2428
3018
  use_capabilities=no
2429
 
fi;
2430
 
echo "$as_me:$LINENO: result: $use_capabilities" >&5
2431
 
echo "${ECHO_T}$use_capabilities" >&6
 
3019
fi
 
3020
 
 
3021
{ echo "$as_me:$LINENO: result: $use_capabilities" >&5
 
3022
echo "${ECHO_T}$use_capabilities" >&6; }
2432
3023
 
2433
3024
# To avoid double inclusion of config.h which might happen at some
2434
3025
# places, we add the usual double inclusion protection.
2438
3029
 
2439
3030
 
2440
3031
 
2441
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2442
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2443
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
3032
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3033
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
3034
    # Check whether --enable-maintainer-mode was given.
2444
3035
if test "${enable_maintainer_mode+set}" = set; then
2445
 
  enableval="$enable_maintainer_mode"
2446
 
  USE_MAINTAINER_MODE=$enableval
 
3036
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2447
3037
else
2448
3038
  USE_MAINTAINER_MODE=no
2449
 
fi;
2450
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2451
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
3039
fi
 
3040
 
 
3041
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3042
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2452
3043
 
2453
3044
 
2454
3045
if test $USE_MAINTAINER_MODE = yes; then
2464
3055
 
2465
3056
 
2466
3057
 
2467
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2468
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2469
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2470
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
3058
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3059
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
3060
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3061
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2471
3062
  echo $ECHO_N "(cached) $ECHO_C" >&6
2472
3063
else
2473
3064
  cat >conftest.make <<\_ACEOF
 
3065
SHELL = /bin/sh
2474
3066
all:
2475
 
        @echo 'ac_maketemp="$(MAKE)"'
 
3067
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2476
3068
_ACEOF
2477
3069
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2478
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2479
 
if test -n "$ac_maketemp"; then
2480
 
  eval ac_cv_prog_make_${ac_make}_set=yes
2481
 
else
2482
 
  eval ac_cv_prog_make_${ac_make}_set=no
2483
 
fi
 
3070
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3071
  *@@@%%%=?*=@@@%%%*)
 
3072
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3073
  *)
 
3074
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3075
esac
2484
3076
rm -f conftest.make
2485
3077
fi
2486
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2487
 
  echo "$as_me:$LINENO: result: yes" >&5
2488
 
echo "${ECHO_T}yes" >&6
 
3078
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3079
  { echo "$as_me:$LINENO: result: yes" >&5
 
3080
echo "${ECHO_T}yes" >&6; }
2489
3081
  SET_MAKE=
2490
3082
else
2491
 
  echo "$as_me:$LINENO: result: no" >&5
2492
 
echo "${ECHO_T}no" >&6
 
3083
  { echo "$as_me:$LINENO: result: no" >&5
 
3084
echo "${ECHO_T}no" >&6; }
2493
3085
  SET_MAKE="MAKE=${MAKE-make}"
2494
3086
fi
2495
3087
 
2496
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2497
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
3088
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
3089
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2498
3090
# Just in case
2499
3091
sleep 1
2500
3092
echo timestamp > conftest.file
2536
3128
Check your system clock" >&2;}
2537
3129
   { (exit 1); exit 1; }; }
2538
3130
fi
2539
 
echo "$as_me:$LINENO: result: yes" >&5
2540
 
echo "${ECHO_T}yes" >&6
 
3131
{ echo "$as_me:$LINENO: result: yes" >&5
 
3132
echo "${ECHO_T}yes" >&6; }
2541
3133
missing_dir=`cd $ac_aux_dir && pwd`
2542
3134
 
2543
3135
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
2562
3154
if test -n "$ac_tool_prefix"; then
2563
3155
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2564
3156
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2565
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2566
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3157
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3158
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2567
3159
if test "${ac_cv_prog_CC+set}" = set; then
2568
3160
  echo $ECHO_N "(cached) $ECHO_C" >&6
2569
3161
else
2576
3168
  IFS=$as_save_IFS
2577
3169
  test -z "$as_dir" && as_dir=.
2578
3170
  for ac_exec_ext in '' $ac_executable_extensions; do
2579
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2580
3172
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2581
3173
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582
3174
    break 2
2583
3175
  fi
2584
3176
done
2585
3177
done
 
3178
IFS=$as_save_IFS
2586
3179
 
2587
3180
fi
2588
3181
fi
2589
3182
CC=$ac_cv_prog_CC
2590
3183
if test -n "$CC"; then
2591
 
  echo "$as_me:$LINENO: result: $CC" >&5
2592
 
echo "${ECHO_T}$CC" >&6
 
3184
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3185
echo "${ECHO_T}$CC" >&6; }
2593
3186
else
2594
 
  echo "$as_me:$LINENO: result: no" >&5
2595
 
echo "${ECHO_T}no" >&6
 
3187
  { echo "$as_me:$LINENO: result: no" >&5
 
3188
echo "${ECHO_T}no" >&6; }
2596
3189
fi
 
3190
 
2597
3191
 
2598
3192
fi
2599
3193
if test -z "$ac_cv_prog_CC"; then
2600
3194
  ac_ct_CC=$CC
2601
3195
  # Extract the first word of "gcc", so it can be a program name with args.
2602
3196
set dummy gcc; ac_word=$2
2603
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2604
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2605
3199
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2606
3200
  echo $ECHO_N "(cached) $ECHO_C" >&6
2607
3201
else
2614
3208
  IFS=$as_save_IFS
2615
3209
  test -z "$as_dir" && as_dir=.
2616
3210
  for ac_exec_ext in '' $ac_executable_extensions; do
2617
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2618
3212
    ac_cv_prog_ac_ct_CC="gcc"
2619
3213
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620
3214
    break 2
2621
3215
  fi
2622
3216
done
2623
3217
done
 
3218
IFS=$as_save_IFS
2624
3219
 
2625
3220
fi
2626
3221
fi
2627
3222
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2628
3223
if test -n "$ac_ct_CC"; then
2629
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2630
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3224
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3225
echo "${ECHO_T}$ac_ct_CC" >&6; }
2631
3226
else
2632
 
  echo "$as_me:$LINENO: result: no" >&5
2633
 
echo "${ECHO_T}no" >&6
 
3227
  { echo "$as_me:$LINENO: result: no" >&5
 
3228
echo "${ECHO_T}no" >&6; }
2634
3229
fi
2635
3230
 
2636
 
  CC=$ac_ct_CC
 
3231
  if test "x$ac_ct_CC" = x; then
 
3232
    CC=""
 
3233
  else
 
3234
    case $cross_compiling:$ac_tool_warned in
 
3235
yes:)
 
3236
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3237
whose name does not start with the host triplet.  If you think this
 
3238
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3239
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3240
whose name does not start with the host triplet.  If you think this
 
3241
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3242
ac_tool_warned=yes ;;
 
3243
esac
 
3244
    CC=$ac_ct_CC
 
3245
  fi
2637
3246
else
2638
3247
  CC="$ac_cv_prog_CC"
2639
3248
fi
2640
3249
 
2641
3250
if test -z "$CC"; then
2642
 
  if test -n "$ac_tool_prefix"; then
2643
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3251
          if test -n "$ac_tool_prefix"; then
 
3252
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2644
3253
set dummy ${ac_tool_prefix}cc; ac_word=$2
2645
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2646
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3254
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3255
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2647
3256
if test "${ac_cv_prog_CC+set}" = set; then
2648
3257
  echo $ECHO_N "(cached) $ECHO_C" >&6
2649
3258
else
2656
3265
  IFS=$as_save_IFS
2657
3266
  test -z "$as_dir" && as_dir=.
2658
3267
  for ac_exec_ext in '' $ac_executable_extensions; do
2659
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3268
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2660
3269
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2661
3270
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662
3271
    break 2
2663
3272
  fi
2664
3273
done
2665
3274
done
 
3275
IFS=$as_save_IFS
2666
3276
 
2667
3277
fi
2668
3278
fi
2669
3279
CC=$ac_cv_prog_CC
2670
3280
if test -n "$CC"; then
2671
 
  echo "$as_me:$LINENO: result: $CC" >&5
2672
 
echo "${ECHO_T}$CC" >&6
2673
 
else
2674
 
  echo "$as_me:$LINENO: result: no" >&5
2675
 
echo "${ECHO_T}no" >&6
2676
 
fi
2677
 
 
2678
 
fi
2679
 
if test -z "$ac_cv_prog_CC"; then
2680
 
  ac_ct_CC=$CC
2681
 
  # Extract the first word of "cc", so it can be a program name with args.
2682
 
set dummy cc; ac_word=$2
2683
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2684
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2685
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2687
 
else
2688
 
  if test -n "$ac_ct_CC"; then
2689
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2690
 
else
2691
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692
 
for as_dir in $PATH
2693
 
do
2694
 
  IFS=$as_save_IFS
2695
 
  test -z "$as_dir" && as_dir=.
2696
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2697
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698
 
    ac_cv_prog_ac_ct_CC="cc"
2699
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700
 
    break 2
 
3281
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3282
echo "${ECHO_T}$CC" >&6; }
 
3283
else
 
3284
  { echo "$as_me:$LINENO: result: no" >&5
 
3285
echo "${ECHO_T}no" >&6; }
 
3286
fi
 
3287
 
 
3288
 
2701
3289
  fi
2702
 
done
2703
 
done
2704
 
 
2705
 
fi
2706
 
fi
2707
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2708
 
if test -n "$ac_ct_CC"; then
2709
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2710
 
echo "${ECHO_T}$ac_ct_CC" >&6
2711
 
else
2712
 
  echo "$as_me:$LINENO: result: no" >&5
2713
 
echo "${ECHO_T}no" >&6
2714
 
fi
2715
 
 
2716
 
  CC=$ac_ct_CC
2717
 
else
2718
 
  CC="$ac_cv_prog_CC"
2719
 
fi
2720
 
 
2721
3290
fi
2722
3291
if test -z "$CC"; then
2723
3292
  # Extract the first word of "cc", so it can be a program name with args.
2724
3293
set dummy cc; ac_word=$2
2725
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2726
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3294
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3295
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2727
3296
if test "${ac_cv_prog_CC+set}" = set; then
2728
3297
  echo $ECHO_N "(cached) $ECHO_C" >&6
2729
3298
else
2737
3306
  IFS=$as_save_IFS
2738
3307
  test -z "$as_dir" && as_dir=.
2739
3308
  for ac_exec_ext in '' $ac_executable_extensions; do
2740
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2741
3310
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2742
3311
       ac_prog_rejected=yes
2743
3312
       continue
2748
3317
  fi
2749
3318
done
2750
3319
done
 
3320
IFS=$as_save_IFS
2751
3321
 
2752
3322
if test $ac_prog_rejected = yes; then
2753
3323
  # We found a bogon in the path, so make sure we never use it.
2765
3335
fi
2766
3336
CC=$ac_cv_prog_CC
2767
3337
if test -n "$CC"; then
2768
 
  echo "$as_me:$LINENO: result: $CC" >&5
2769
 
echo "${ECHO_T}$CC" >&6
 
3338
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3339
echo "${ECHO_T}$CC" >&6; }
2770
3340
else
2771
 
  echo "$as_me:$LINENO: result: no" >&5
2772
 
echo "${ECHO_T}no" >&6
 
3341
  { echo "$as_me:$LINENO: result: no" >&5
 
3342
echo "${ECHO_T}no" >&6; }
2773
3343
fi
 
3344
 
2774
3345
 
2775
3346
fi
2776
3347
if test -z "$CC"; then
2777
3348
  if test -n "$ac_tool_prefix"; then
2778
 
  for ac_prog in cl
 
3349
  for ac_prog in cl.exe
2779
3350
  do
2780
3351
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2781
3352
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2782
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2783
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3353
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3354
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2784
3355
if test "${ac_cv_prog_CC+set}" = set; then
2785
3356
  echo $ECHO_N "(cached) $ECHO_C" >&6
2786
3357
else
2793
3364
  IFS=$as_save_IFS
2794
3365
  test -z "$as_dir" && as_dir=.
2795
3366
  for ac_exec_ext in '' $ac_executable_extensions; do
2796
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3367
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2797
3368
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2798
3369
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799
3370
    break 2
2800
3371
  fi
2801
3372
done
2802
3373
done
 
3374
IFS=$as_save_IFS
2803
3375
 
2804
3376
fi
2805
3377
fi
2806
3378
CC=$ac_cv_prog_CC
2807
3379
if test -n "$CC"; then
2808
 
  echo "$as_me:$LINENO: result: $CC" >&5
2809
 
echo "${ECHO_T}$CC" >&6
 
3380
  { echo "$as_me:$LINENO: result: $CC" >&5
 
3381
echo "${ECHO_T}$CC" >&6; }
2810
3382
else
2811
 
  echo "$as_me:$LINENO: result: no" >&5
2812
 
echo "${ECHO_T}no" >&6
 
3383
  { echo "$as_me:$LINENO: result: no" >&5
 
3384
echo "${ECHO_T}no" >&6; }
2813
3385
fi
2814
3386
 
 
3387
 
2815
3388
    test -n "$CC" && break
2816
3389
  done
2817
3390
fi
2818
3391
if test -z "$CC"; then
2819
3392
  ac_ct_CC=$CC
2820
 
  for ac_prog in cl
 
3393
  for ac_prog in cl.exe
2821
3394
do
2822
3395
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2823
3396
set dummy $ac_prog; ac_word=$2
2824
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2825
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3397
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3398
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2826
3399
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2827
3400
  echo $ECHO_N "(cached) $ECHO_C" >&6
2828
3401
else
2835
3408
  IFS=$as_save_IFS
2836
3409
  test -z "$as_dir" && as_dir=.
2837
3410
  for ac_exec_ext in '' $ac_executable_extensions; do
2838
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3411
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2839
3412
    ac_cv_prog_ac_ct_CC="$ac_prog"
2840
3413
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841
3414
    break 2
2842
3415
  fi
2843
3416
done
2844
3417
done
 
3418
IFS=$as_save_IFS
2845
3419
 
2846
3420
fi
2847
3421
fi
2848
3422
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2849
3423
if test -n "$ac_ct_CC"; then
2850
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2851
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3424
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3425
echo "${ECHO_T}$ac_ct_CC" >&6; }
2852
3426
else
2853
 
  echo "$as_me:$LINENO: result: no" >&5
2854
 
echo "${ECHO_T}no" >&6
 
3427
  { echo "$as_me:$LINENO: result: no" >&5
 
3428
echo "${ECHO_T}no" >&6; }
2855
3429
fi
2856
3430
 
 
3431
 
2857
3432
  test -n "$ac_ct_CC" && break
2858
3433
done
2859
3434
 
2860
 
  CC=$ac_ct_CC
 
3435
  if test "x$ac_ct_CC" = x; then
 
3436
    CC=""
 
3437
  else
 
3438
    case $cross_compiling:$ac_tool_warned in
 
3439
yes:)
 
3440
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3441
whose name does not start with the host triplet.  If you think this
 
3442
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3443
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3444
whose name does not start with the host triplet.  If you think this
 
3445
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3446
ac_tool_warned=yes ;;
 
3447
esac
 
3448
    CC=$ac_ct_CC
 
3449
  fi
2861
3450
fi
2862
3451
 
2863
3452
fi
2870
3459
   { (exit 1); exit 1; }; }
2871
3460
 
2872
3461
# Provide some information about the compiler.
2873
 
echo "$as_me:$LINENO:" \
2874
 
     "checking for C compiler version" >&5
 
3462
echo "$as_me:$LINENO: checking for C compiler version" >&5
2875
3463
ac_compiler=`set X $ac_compile; echo $2`
2876
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2877
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2878
 
  ac_status=$?
2879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
 
  (exit $ac_status); }
2881
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2882
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2883
 
  ac_status=$?
2884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885
 
  (exit $ac_status); }
2886
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2887
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
3464
{ (ac_try="$ac_compiler --version >&5"
 
3465
case "(($ac_try" in
 
3466
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3467
  *) ac_try_echo=$ac_try;;
 
3468
esac
 
3469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3470
  (eval "$ac_compiler --version >&5") 2>&5
 
3471
  ac_status=$?
 
3472
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3473
  (exit $ac_status); }
 
3474
{ (ac_try="$ac_compiler -v >&5"
 
3475
case "(($ac_try" in
 
3476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3477
  *) ac_try_echo=$ac_try;;
 
3478
esac
 
3479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3480
  (eval "$ac_compiler -v >&5") 2>&5
 
3481
  ac_status=$?
 
3482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3483
  (exit $ac_status); }
 
3484
{ (ac_try="$ac_compiler -V >&5"
 
3485
case "(($ac_try" in
 
3486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3487
  *) ac_try_echo=$ac_try;;
 
3488
esac
 
3489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3490
  (eval "$ac_compiler -V >&5") 2>&5
2888
3491
  ac_status=$?
2889
3492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890
3493
  (exit $ac_status); }
2909
3512
# Try to create an executable without -o first, disregard a.out.
2910
3513
# It will help us diagnose broken compilers, and finding out an intuition
2911
3514
# of exeext.
2912
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2913
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3515
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3516
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2914
3517
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2915
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2916
 
  (eval $ac_link_default) 2>&5
 
3518
#
 
3519
# List of possible output files, starting from the most likely.
 
3520
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3521
# only as a last resort.  b.out is created by i960 compilers.
 
3522
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3523
#
 
3524
# The IRIX 6 linker writes into existing files which may not be
 
3525
# executable, retaining their permissions.  Remove them first so a
 
3526
# subsequent execution test works.
 
3527
ac_rmfiles=
 
3528
for ac_file in $ac_files
 
3529
do
 
3530
  case $ac_file in
 
3531
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3532
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3533
  esac
 
3534
done
 
3535
rm -f $ac_rmfiles
 
3536
 
 
3537
if { (ac_try="$ac_link_default"
 
3538
case "(($ac_try" in
 
3539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3540
  *) ac_try_echo=$ac_try;;
 
3541
esac
 
3542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3543
  (eval "$ac_link_default") 2>&5
2917
3544
  ac_status=$?
2918
3545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
3546
  (exit $ac_status); }; then
2920
 
  # Find the output, starting from the most likely.  This scheme is
2921
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2922
 
# resort.
2923
 
 
2924
 
# Be careful to initialize this variable, since it used to be cached.
2925
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2926
 
ac_cv_exeext=
2927
 
# b.out is created by i960 compilers.
2928
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3547
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3548
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3549
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3550
# so that the user can short-circuit this test for compilers unknown to
 
3551
# Autoconf.
 
3552
for ac_file in $ac_files ''
2929
3553
do
2930
3554
  test -f "$ac_file" || continue
2931
3555
  case $ac_file in
2932
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2933
 
        ;;
2934
 
    conftest.$ac_ext )
2935
 
        # This is the source file.
 
3556
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2936
3557
        ;;
2937
3558
    [ab].out )
2938
3559
        # We found the default executable, but exeext='' is most
2939
3560
        # certainly right.
2940
3561
        break;;
2941
3562
    *.* )
2942
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2943
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2944
 
        # but it would be cool to find out if it's true.  Does anybody
2945
 
        # maintain Libtool? --akim.
2946
 
        export ac_cv_exeext
 
3563
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3564
        then :; else
 
3565
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3566
        fi
 
3567
        # We set ac_cv_exeext here because the later test for it is not
 
3568
        # safe: cross compilers may not add the suffix if given an `-o'
 
3569
        # argument, so we may need to know it at that point already.
 
3570
        # Even if this section looks crufty: it has the advantage of
 
3571
        # actually working.
2947
3572
        break;;
2948
3573
    * )
2949
3574
        break;;
2950
3575
  esac
2951
3576
done
 
3577
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3578
 
2952
3579
else
 
3580
  ac_file=''
 
3581
fi
 
3582
 
 
3583
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3584
echo "${ECHO_T}$ac_file" >&6; }
 
3585
if test -z "$ac_file"; then
2953
3586
  echo "$as_me: failed program was:" >&5
2954
3587
sed 's/^/| /' conftest.$ac_ext >&5
2955
3588
 
2961
3594
fi
2962
3595
 
2963
3596
ac_exeext=$ac_cv_exeext
2964
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2965
 
echo "${ECHO_T}$ac_file" >&6
2966
3597
 
2967
 
# Check the compiler produces executables we can run.  If not, either
 
3598
# Check that the compiler produces executables we can run.  If not, either
2968
3599
# the compiler is broken, or we cross compile.
2969
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2970
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3600
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3601
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2971
3602
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2972
3603
# If not cross compiling, check that we can run a simple program.
2973
3604
if test "$cross_compiling" != yes; then
2974
3605
  if { ac_try='./$ac_file'
2975
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976
 
  (eval $ac_try) 2>&5
 
3606
  { (case "(($ac_try" in
 
3607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3608
  *) ac_try_echo=$ac_try;;
 
3609
esac
 
3610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3611
  (eval "$ac_try") 2>&5
2977
3612
  ac_status=$?
2978
3613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979
3614
  (exit $ac_status); }; }; then
2992
3627
    fi
2993
3628
  fi
2994
3629
fi
2995
 
echo "$as_me:$LINENO: result: yes" >&5
2996
 
echo "${ECHO_T}yes" >&6
 
3630
{ echo "$as_me:$LINENO: result: yes" >&5
 
3631
echo "${ECHO_T}yes" >&6; }
2997
3632
 
2998
3633
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2999
3634
ac_clean_files=$ac_clean_files_save
3000
 
# Check the compiler produces executables we can run.  If not, either
 
3635
# Check that the compiler produces executables we can run.  If not, either
3001
3636
# the compiler is broken, or we cross compile.
3002
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3003
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3004
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3005
 
echo "${ECHO_T}$cross_compiling" >&6
 
3637
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3638
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3639
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3640
echo "${ECHO_T}$cross_compiling" >&6; }
3006
3641
 
3007
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
3008
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3009
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3010
 
  (eval $ac_link) 2>&5
 
3642
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3643
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3644
if { (ac_try="$ac_link"
 
3645
case "(($ac_try" in
 
3646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3647
  *) ac_try_echo=$ac_try;;
 
3648
esac
 
3649
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3650
  (eval "$ac_link") 2>&5
3011
3651
  ac_status=$?
3012
3652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013
3653
  (exit $ac_status); }; then
3018
3658
for ac_file in conftest.exe conftest conftest.*; do
3019
3659
  test -f "$ac_file" || continue
3020
3660
  case $ac_file in
3021
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3661
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3022
3662
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3023
 
          export ac_cv_exeext
3024
3663
          break;;
3025
3664
    * ) break;;
3026
3665
  esac
3034
3673
fi
3035
3674
 
3036
3675
rm -f conftest$ac_cv_exeext
3037
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3676
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3677
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3039
3678
 
3040
3679
rm -f conftest.$ac_ext
3041
3680
EXEEXT=$ac_cv_exeext
3042
3681
ac_exeext=$EXEEXT
3043
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
3044
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3682
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3683
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3045
3684
if test "${ac_cv_objext+set}" = set; then
3046
3685
  echo $ECHO_N "(cached) $ECHO_C" >&6
3047
3686
else
3061
3700
}
3062
3701
_ACEOF
3063
3702
rm -f conftest.o conftest.obj
3064
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065
 
  (eval $ac_compile) 2>&5
 
3703
if { (ac_try="$ac_compile"
 
3704
case "(($ac_try" in
 
3705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3706
  *) ac_try_echo=$ac_try;;
 
3707
esac
 
3708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3709
  (eval "$ac_compile") 2>&5
3066
3710
  ac_status=$?
3067
3711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068
3712
  (exit $ac_status); }; then
3069
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3713
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3714
  test -f "$ac_file" || continue;
3070
3715
  case $ac_file in
3071
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3716
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3072
3717
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3073
3718
       break;;
3074
3719
  esac
3086
3731
 
3087
3732
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3088
3733
fi
3089
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3090
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3734
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3735
echo "${ECHO_T}$ac_cv_objext" >&6; }
3091
3736
OBJEXT=$ac_cv_objext
3092
3737
ac_objext=$OBJEXT
3093
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3094
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3738
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3739
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3095
3740
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3096
3741
  echo $ECHO_N "(cached) $ECHO_C" >&6
3097
3742
else
3114
3759
}
3115
3760
_ACEOF
3116
3761
rm -f conftest.$ac_objext
3117
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118
 
  (eval $ac_compile) 2>conftest.er1
 
3762
if { (ac_try="$ac_compile"
 
3763
case "(($ac_try" in
 
3764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3765
  *) ac_try_echo=$ac_try;;
 
3766
esac
 
3767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3768
  (eval "$ac_compile") 2>conftest.er1
3119
3769
  ac_status=$?
3120
3770
  grep -v '^ *+' conftest.er1 >conftest.err
3121
3771
  rm -f conftest.er1
3122
3772
  cat conftest.err >&5
3123
3773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
3774
  (exit $ac_status); } &&
3125
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127
 
  (eval $ac_try) 2>&5
 
3775
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3776
  { (case "(($ac_try" in
 
3777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3778
  *) ac_try_echo=$ac_try;;
 
3779
esac
 
3780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3781
  (eval "$ac_try") 2>&5
3128
3782
  ac_status=$?
3129
3783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130
3784
  (exit $ac_status); }; } &&
3131
3785
         { ac_try='test -s conftest.$ac_objext'
3132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133
 
  (eval $ac_try) 2>&5
 
3786
  { (case "(($ac_try" in
 
3787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3788
  *) ac_try_echo=$ac_try;;
 
3789
esac
 
3790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3791
  (eval "$ac_try") 2>&5
3134
3792
  ac_status=$?
3135
3793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
3794
  (exit $ac_status); }; }; then
3139
3797
  echo "$as_me: failed program was:" >&5
3140
3798
sed 's/^/| /' conftest.$ac_ext >&5
3141
3799
 
3142
 
ac_compiler_gnu=no
 
3800
        ac_compiler_gnu=no
3143
3801
fi
3144
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3802
 
 
3803
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145
3804
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3146
3805
 
3147
3806
fi
3148
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3149
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3807
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3808
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3150
3809
GCC=`test $ac_compiler_gnu = yes && echo yes`
3151
3810
ac_test_CFLAGS=${CFLAGS+set}
3152
3811
ac_save_CFLAGS=$CFLAGS
3153
 
CFLAGS="-g"
3154
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3155
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3812
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3813
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3156
3814
if test "${ac_cv_prog_cc_g+set}" = set; then
3157
3815
  echo $ECHO_N "(cached) $ECHO_C" >&6
3158
3816
else
3159
 
  cat >conftest.$ac_ext <<_ACEOF
3160
 
/* confdefs.h.  */
3161
 
_ACEOF
3162
 
cat confdefs.h >>conftest.$ac_ext
3163
 
cat >>conftest.$ac_ext <<_ACEOF
3164
 
/* end confdefs.h.  */
3165
 
 
3166
 
int
3167
 
main ()
3168
 
{
3169
 
 
3170
 
  ;
3171
 
  return 0;
3172
 
}
3173
 
_ACEOF
3174
 
rm -f conftest.$ac_objext
3175
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3176
 
  (eval $ac_compile) 2>conftest.er1
3177
 
  ac_status=$?
3178
 
  grep -v '^ *+' conftest.er1 >conftest.err
3179
 
  rm -f conftest.er1
3180
 
  cat conftest.err >&5
3181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182
 
  (exit $ac_status); } &&
3183
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3184
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185
 
  (eval $ac_try) 2>&5
3186
 
  ac_status=$?
3187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188
 
  (exit $ac_status); }; } &&
3189
 
         { ac_try='test -s conftest.$ac_objext'
3190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191
 
  (eval $ac_try) 2>&5
3192
 
  ac_status=$?
3193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
 
  (exit $ac_status); }; }; then
3195
 
  ac_cv_prog_cc_g=yes
3196
 
else
3197
 
  echo "$as_me: failed program was:" >&5
3198
 
sed 's/^/| /' conftest.$ac_ext >&5
3199
 
 
3200
 
ac_cv_prog_cc_g=no
3201
 
fi
3202
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3203
 
fi
3204
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3205
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3817
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3818
   ac_c_werror_flag=yes
 
3819
   ac_cv_prog_cc_g=no
 
3820
   CFLAGS="-g"
 
3821
   cat >conftest.$ac_ext <<_ACEOF
 
3822
/* confdefs.h.  */
 
3823
_ACEOF
 
3824
cat confdefs.h >>conftest.$ac_ext
 
3825
cat >>conftest.$ac_ext <<_ACEOF
 
3826
/* end confdefs.h.  */
 
3827
 
 
3828
int
 
3829
main ()
 
3830
{
 
3831
 
 
3832
  ;
 
3833
  return 0;
 
3834
}
 
3835
_ACEOF
 
3836
rm -f conftest.$ac_objext
 
3837
if { (ac_try="$ac_compile"
 
3838
case "(($ac_try" in
 
3839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3840
  *) ac_try_echo=$ac_try;;
 
3841
esac
 
3842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3843
  (eval "$ac_compile") 2>conftest.er1
 
3844
  ac_status=$?
 
3845
  grep -v '^ *+' conftest.er1 >conftest.err
 
3846
  rm -f conftest.er1
 
3847
  cat conftest.err >&5
 
3848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3849
  (exit $ac_status); } &&
 
3850
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3851
  { (case "(($ac_try" in
 
3852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3853
  *) ac_try_echo=$ac_try;;
 
3854
esac
 
3855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3856
  (eval "$ac_try") 2>&5
 
3857
  ac_status=$?
 
3858
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3859
  (exit $ac_status); }; } &&
 
3860
         { ac_try='test -s conftest.$ac_objext'
 
3861
  { (case "(($ac_try" in
 
3862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3863
  *) ac_try_echo=$ac_try;;
 
3864
esac
 
3865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3866
  (eval "$ac_try") 2>&5
 
3867
  ac_status=$?
 
3868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3869
  (exit $ac_status); }; }; then
 
3870
  ac_cv_prog_cc_g=yes
 
3871
else
 
3872
  echo "$as_me: failed program was:" >&5
 
3873
sed 's/^/| /' conftest.$ac_ext >&5
 
3874
 
 
3875
        CFLAGS=""
 
3876
      cat >conftest.$ac_ext <<_ACEOF
 
3877
/* confdefs.h.  */
 
3878
_ACEOF
 
3879
cat confdefs.h >>conftest.$ac_ext
 
3880
cat >>conftest.$ac_ext <<_ACEOF
 
3881
/* end confdefs.h.  */
 
3882
 
 
3883
int
 
3884
main ()
 
3885
{
 
3886
 
 
3887
  ;
 
3888
  return 0;
 
3889
}
 
3890
_ACEOF
 
3891
rm -f conftest.$ac_objext
 
3892
if { (ac_try="$ac_compile"
 
3893
case "(($ac_try" in
 
3894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3895
  *) ac_try_echo=$ac_try;;
 
3896
esac
 
3897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3898
  (eval "$ac_compile") 2>conftest.er1
 
3899
  ac_status=$?
 
3900
  grep -v '^ *+' conftest.er1 >conftest.err
 
3901
  rm -f conftest.er1
 
3902
  cat conftest.err >&5
 
3903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3904
  (exit $ac_status); } &&
 
3905
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3906
  { (case "(($ac_try" in
 
3907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3908
  *) ac_try_echo=$ac_try;;
 
3909
esac
 
3910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3911
  (eval "$ac_try") 2>&5
 
3912
  ac_status=$?
 
3913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3914
  (exit $ac_status); }; } &&
 
3915
         { ac_try='test -s conftest.$ac_objext'
 
3916
  { (case "(($ac_try" in
 
3917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3918
  *) ac_try_echo=$ac_try;;
 
3919
esac
 
3920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3921
  (eval "$ac_try") 2>&5
 
3922
  ac_status=$?
 
3923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3924
  (exit $ac_status); }; }; then
 
3925
  :
 
3926
else
 
3927
  echo "$as_me: failed program was:" >&5
 
3928
sed 's/^/| /' conftest.$ac_ext >&5
 
3929
 
 
3930
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3931
         CFLAGS="-g"
 
3932
         cat >conftest.$ac_ext <<_ACEOF
 
3933
/* confdefs.h.  */
 
3934
_ACEOF
 
3935
cat confdefs.h >>conftest.$ac_ext
 
3936
cat >>conftest.$ac_ext <<_ACEOF
 
3937
/* end confdefs.h.  */
 
3938
 
 
3939
int
 
3940
main ()
 
3941
{
 
3942
 
 
3943
  ;
 
3944
  return 0;
 
3945
}
 
3946
_ACEOF
 
3947
rm -f conftest.$ac_objext
 
3948
if { (ac_try="$ac_compile"
 
3949
case "(($ac_try" in
 
3950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3951
  *) ac_try_echo=$ac_try;;
 
3952
esac
 
3953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3954
  (eval "$ac_compile") 2>conftest.er1
 
3955
  ac_status=$?
 
3956
  grep -v '^ *+' conftest.er1 >conftest.err
 
3957
  rm -f conftest.er1
 
3958
  cat conftest.err >&5
 
3959
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3960
  (exit $ac_status); } &&
 
3961
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
3962
  { (case "(($ac_try" in
 
3963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3964
  *) ac_try_echo=$ac_try;;
 
3965
esac
 
3966
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3967
  (eval "$ac_try") 2>&5
 
3968
  ac_status=$?
 
3969
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3970
  (exit $ac_status); }; } &&
 
3971
         { ac_try='test -s conftest.$ac_objext'
 
3972
  { (case "(($ac_try" in
 
3973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3974
  *) ac_try_echo=$ac_try;;
 
3975
esac
 
3976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3977
  (eval "$ac_try") 2>&5
 
3978
  ac_status=$?
 
3979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3980
  (exit $ac_status); }; }; then
 
3981
  ac_cv_prog_cc_g=yes
 
3982
else
 
3983
  echo "$as_me: failed program was:" >&5
 
3984
sed 's/^/| /' conftest.$ac_ext >&5
 
3985
 
 
3986
 
 
3987
fi
 
3988
 
 
3989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3990
fi
 
3991
 
 
3992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3993
fi
 
3994
 
 
3995
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3996
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3997
fi
 
3998
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3999
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3206
4000
if test "$ac_test_CFLAGS" = set; then
3207
4001
  CFLAGS=$ac_save_CFLAGS
3208
4002
elif test $ac_cv_prog_cc_g = yes; then
3218
4012
    CFLAGS=
3219
4013
  fi
3220
4014
fi
3221
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3222
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3223
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
4015
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4016
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
4017
if test "${ac_cv_prog_cc_c89+set}" = set; then
3224
4018
  echo $ECHO_N "(cached) $ECHO_C" >&6
3225
4019
else
3226
 
  ac_cv_prog_cc_stdc=no
 
4020
  ac_cv_prog_cc_c89=no
3227
4021
ac_save_CC=$CC
3228
4022
cat >conftest.$ac_ext <<_ACEOF
3229
4023
/* confdefs.h.  */
3257
4051
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3258
4052
   function prototypes and stuff, but not '\xHH' hex character constants.
3259
4053
   These don't provoke an error unfortunately, instead are silently treated
3260
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
4054
   as 'x'.  The following induces an error, until -std is added to get
3261
4055
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3262
4056
   array size at least.  It's necessary to write '\x00'==0 to get something
3263
 
   that's true only with -std1.  */
 
4057
   that's true only with -std.  */
3264
4058
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3265
4059
 
 
4060
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4061
   inside strings and character constants.  */
 
4062
#define FOO(x) 'x'
 
4063
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4064
 
3266
4065
int test (int i, double x);
3267
4066
struct s1 {int (*f) (int a);};
3268
4067
struct s2 {int (*f) (double a);};
3277
4076
  return 0;
3278
4077
}
3279
4078
_ACEOF
3280
 
# Don't try gcc -ansi; that turns off useful extensions and
3281
 
# breaks some systems' header files.
3282
 
# AIX                   -qlanglvl=ansi
3283
 
# Ultrix and OSF/1      -std1
3284
 
# HP-UX 10.20 and later -Ae
3285
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3286
 
# SVR4                  -Xc -D__EXTENSIONS__
3287
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4079
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4080
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3288
4081
do
3289
4082
  CC="$ac_save_CC $ac_arg"
3290
4083
  rm -f conftest.$ac_objext
3291
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3292
 
  (eval $ac_compile) 2>conftest.er1
 
4084
if { (ac_try="$ac_compile"
 
4085
case "(($ac_try" in
 
4086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4087
  *) ac_try_echo=$ac_try;;
 
4088
esac
 
4089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4090
  (eval "$ac_compile") 2>conftest.er1
3293
4091
  ac_status=$?
3294
4092
  grep -v '^ *+' conftest.er1 >conftest.err
3295
4093
  rm -f conftest.er1
3296
4094
  cat conftest.err >&5
3297
4095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298
4096
  (exit $ac_status); } &&
3299
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3300
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301
 
  (eval $ac_try) 2>&5
 
4097
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4098
  { (case "(($ac_try" in
 
4099
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4100
  *) ac_try_echo=$ac_try;;
 
4101
esac
 
4102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4103
  (eval "$ac_try") 2>&5
3302
4104
  ac_status=$?
3303
4105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
4106
  (exit $ac_status); }; } &&
3305
4107
         { ac_try='test -s conftest.$ac_objext'
3306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307
 
  (eval $ac_try) 2>&5
 
4108
  { (case "(($ac_try" in
 
4109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4110
  *) ac_try_echo=$ac_try;;
 
4111
esac
 
4112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4113
  (eval "$ac_try") 2>&5
3308
4114
  ac_status=$?
3309
4115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310
4116
  (exit $ac_status); }; }; then
3311
 
  ac_cv_prog_cc_stdc=$ac_arg
3312
 
break
 
4117
  ac_cv_prog_cc_c89=$ac_arg
3313
4118
else
3314
4119
  echo "$as_me: failed program was:" >&5
3315
4120
sed 's/^/| /' conftest.$ac_ext >&5
3316
4121
 
 
4122
 
3317
4123
fi
3318
 
rm -f conftest.err conftest.$ac_objext
 
4124
 
 
4125
rm -f core conftest.err conftest.$ac_objext
 
4126
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3319
4127
done
3320
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4128
rm -f conftest.$ac_ext
3321
4129
CC=$ac_save_CC
3322
4130
 
3323
4131
fi
3324
 
 
3325
 
case "x$ac_cv_prog_cc_stdc" in
3326
 
  x|xno)
3327
 
    echo "$as_me:$LINENO: result: none needed" >&5
3328
 
echo "${ECHO_T}none needed" >&6 ;;
 
4132
# AC_CACHE_VAL
 
4133
case "x$ac_cv_prog_cc_c89" in
 
4134
  x)
 
4135
    { echo "$as_me:$LINENO: result: none needed" >&5
 
4136
echo "${ECHO_T}none needed" >&6; } ;;
 
4137
  xno)
 
4138
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
4139
echo "${ECHO_T}unsupported" >&6; } ;;
3329
4140
  *)
3330
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3331
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3332
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4141
    CC="$CC $ac_cv_prog_cc_c89"
 
4142
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4143
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3333
4144
esac
3334
4145
 
3335
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3336
 
# in C++ we need to declare it.  In case someone uses the same compiler
3337
 
# for both compiling C and C++ we need to have the C++ compiler decide
3338
 
# the declaration of exit, since it's the most demanding environment.
3339
 
cat >conftest.$ac_ext <<_ACEOF
3340
 
#ifndef __cplusplus
3341
 
  choke me
3342
 
#endif
3343
 
_ACEOF
3344
 
rm -f conftest.$ac_objext
3345
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3346
 
  (eval $ac_compile) 2>conftest.er1
3347
 
  ac_status=$?
3348
 
  grep -v '^ *+' conftest.er1 >conftest.err
3349
 
  rm -f conftest.er1
3350
 
  cat conftest.err >&5
3351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
 
  (exit $ac_status); } &&
3353
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355
 
  (eval $ac_try) 2>&5
3356
 
  ac_status=$?
3357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358
 
  (exit $ac_status); }; } &&
3359
 
         { ac_try='test -s conftest.$ac_objext'
3360
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361
 
  (eval $ac_try) 2>&5
3362
 
  ac_status=$?
3363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364
 
  (exit $ac_status); }; }; then
3365
 
  for ac_declaration in \
3366
 
   '' \
3367
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3368
 
   'extern "C" void std::exit (int); using std::exit;' \
3369
 
   'extern "C" void exit (int) throw ();' \
3370
 
   'extern "C" void exit (int);' \
3371
 
   'void exit (int);'
3372
 
do
3373
 
  cat >conftest.$ac_ext <<_ACEOF
3374
 
/* confdefs.h.  */
3375
 
_ACEOF
3376
 
cat confdefs.h >>conftest.$ac_ext
3377
 
cat >>conftest.$ac_ext <<_ACEOF
3378
 
/* end confdefs.h.  */
3379
 
$ac_declaration
3380
 
#include <stdlib.h>
3381
 
int
3382
 
main ()
3383
 
{
3384
 
exit (42);
3385
 
  ;
3386
 
  return 0;
3387
 
}
3388
 
_ACEOF
3389
 
rm -f conftest.$ac_objext
3390
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391
 
  (eval $ac_compile) 2>conftest.er1
3392
 
  ac_status=$?
3393
 
  grep -v '^ *+' conftest.er1 >conftest.err
3394
 
  rm -f conftest.er1
3395
 
  cat conftest.err >&5
3396
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397
 
  (exit $ac_status); } &&
3398
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400
 
  (eval $ac_try) 2>&5
3401
 
  ac_status=$?
3402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403
 
  (exit $ac_status); }; } &&
3404
 
         { ac_try='test -s conftest.$ac_objext'
3405
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406
 
  (eval $ac_try) 2>&5
3407
 
  ac_status=$?
3408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409
 
  (exit $ac_status); }; }; then
3410
 
  :
3411
 
else
3412
 
  echo "$as_me: failed program was:" >&5
3413
 
sed 's/^/| /' conftest.$ac_ext >&5
3414
 
 
3415
 
continue
3416
 
fi
3417
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3418
 
  cat >conftest.$ac_ext <<_ACEOF
3419
 
/* confdefs.h.  */
3420
 
_ACEOF
3421
 
cat confdefs.h >>conftest.$ac_ext
3422
 
cat >>conftest.$ac_ext <<_ACEOF
3423
 
/* end confdefs.h.  */
3424
 
$ac_declaration
3425
 
int
3426
 
main ()
3427
 
{
3428
 
exit (42);
3429
 
  ;
3430
 
  return 0;
3431
 
}
3432
 
_ACEOF
3433
 
rm -f conftest.$ac_objext
3434
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3435
 
  (eval $ac_compile) 2>conftest.er1
3436
 
  ac_status=$?
3437
 
  grep -v '^ *+' conftest.er1 >conftest.err
3438
 
  rm -f conftest.er1
3439
 
  cat conftest.err >&5
3440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441
 
  (exit $ac_status); } &&
3442
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444
 
  (eval $ac_try) 2>&5
3445
 
  ac_status=$?
3446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447
 
  (exit $ac_status); }; } &&
3448
 
         { ac_try='test -s conftest.$ac_objext'
3449
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450
 
  (eval $ac_try) 2>&5
3451
 
  ac_status=$?
3452
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453
 
  (exit $ac_status); }; }; then
3454
 
  break
3455
 
else
3456
 
  echo "$as_me: failed program was:" >&5
3457
 
sed 's/^/| /' conftest.$ac_ext >&5
3458
 
 
3459
 
fi
3460
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3461
 
done
3462
 
rm -f conftest*
3463
 
if test -n "$ac_declaration"; then
3464
 
  echo '#ifdef __cplusplus' >>confdefs.h
3465
 
  echo $ac_declaration      >>confdefs.h
3466
 
  echo '#endif'             >>confdefs.h
3467
 
fi
3468
 
 
3469
 
else
3470
 
  echo "$as_me: failed program was:" >&5
3471
 
sed 's/^/| /' conftest.$ac_ext >&5
3472
 
 
3473
 
fi
3474
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4146
 
3475
4147
ac_ext=c
3476
4148
ac_cpp='$CPP $CPPFLAGS'
3477
4149
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3479
4151
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3480
4152
DEPDIR="${am__leading_dot}deps"
3481
4153
 
3482
 
          ac_config_commands="$ac_config_commands depfiles"
 
4154
ac_config_commands="$ac_config_commands depfiles"
3483
4155
 
3484
4156
 
3485
4157
am_make=${MAKE-make}
3489
4161
.PHONY: am__doit
3490
4162
END
3491
4163
# If we don't find an include directive, just comment out the code.
3492
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3493
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
4164
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
4165
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3494
4166
am__include="#"
3495
4167
am__quote=
3496
4168
_am_result=none
3517
4189
fi
3518
4190
 
3519
4191
 
3520
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3521
 
echo "${ECHO_T}$_am_result" >&6
 
4192
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
4193
echo "${ECHO_T}$_am_result" >&6; }
3522
4194
rm -f confinc confmf
3523
4195
 
3524
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
4196
# Check whether --enable-dependency-tracking was given.
3525
4197
if test "${enable_dependency_tracking+set}" = set; then
3526
 
  enableval="$enable_dependency_tracking"
 
4198
  enableval=$enable_dependency_tracking;
 
4199
fi
3527
4200
 
3528
 
fi;
3529
4201
if test "x$enable_dependency_tracking" != xno; then
3530
4202
  am_depcomp="$ac_aux_dir/depcomp"
3531
4203
  AMDEPBACKSLASH='\'
3545
4217
 
3546
4218
depcc="$CC"   am_compiler_list=
3547
4219
 
3548
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3549
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4220
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4221
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3550
4222
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3551
4223
  echo $ECHO_N "(cached) $ECHO_C" >&6
3552
4224
else
3635
4307
fi
3636
4308
 
3637
4309
fi
3638
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3639
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4310
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4311
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3640
4312
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3641
4313
 
3642
4314
 
3657
4329
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658
4330
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659
4331
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3661
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4332
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4333
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3662
4334
# On Suns, sometimes $CPP names a directory.
3663
4335
if test -n "$CPP" && test -d "$CPP"; then
3664
4336
  CPP=
3692
4364
#endif
3693
4365
                     Syntax error
3694
4366
_ACEOF
3695
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3696
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4367
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4368
case "(($ac_try" in
 
4369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4370
  *) ac_try_echo=$ac_try;;
 
4371
esac
 
4372
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4373
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697
4374
  ac_status=$?
3698
4375
  grep -v '^ *+' conftest.er1 >conftest.err
3699
4376
  rm -f conftest.er1
3718
4395
  # Broken: fails on valid input.
3719
4396
continue
3720
4397
fi
 
4398
 
3721
4399
rm -f conftest.err conftest.$ac_ext
3722
4400
 
3723
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4401
  # OK, works on sane cases.  Now check whether nonexistent headers
3724
4402
  # can be detected and how.
3725
4403
  cat >conftest.$ac_ext <<_ACEOF
3726
4404
/* confdefs.h.  */
3730
4408
/* end confdefs.h.  */
3731
4409
#include <ac_nonexistent.h>
3732
4410
_ACEOF
3733
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3734
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4411
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4412
case "(($ac_try" in
 
4413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4414
  *) ac_try_echo=$ac_try;;
 
4415
esac
 
4416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4417
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3735
4418
  ac_status=$?
3736
4419
  grep -v '^ *+' conftest.er1 >conftest.err
3737
4420
  rm -f conftest.er1
3758
4441
ac_preproc_ok=:
3759
4442
break
3760
4443
fi
 
4444
 
3761
4445
rm -f conftest.err conftest.$ac_ext
3762
4446
 
3763
4447
done
3775
4459
else
3776
4460
  ac_cv_prog_CPP=$CPP
3777
4461
fi
3778
 
echo "$as_me:$LINENO: result: $CPP" >&5
3779
 
echo "${ECHO_T}$CPP" >&6
 
4462
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4463
echo "${ECHO_T}$CPP" >&6; }
3780
4464
ac_preproc_ok=false
3781
4465
for ac_c_preproc_warn_flag in '' yes
3782
4466
do
3799
4483
#endif
3800
4484
                     Syntax error
3801
4485
_ACEOF
3802
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3803
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4486
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4487
case "(($ac_try" in
 
4488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4489
  *) ac_try_echo=$ac_try;;
 
4490
esac
 
4491
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4492
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3804
4493
  ac_status=$?
3805
4494
  grep -v '^ *+' conftest.er1 >conftest.err
3806
4495
  rm -f conftest.er1
3825
4514
  # Broken: fails on valid input.
3826
4515
continue
3827
4516
fi
 
4517
 
3828
4518
rm -f conftest.err conftest.$ac_ext
3829
4519
 
3830
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4520
  # OK, works on sane cases.  Now check whether nonexistent headers
3831
4521
  # can be detected and how.
3832
4522
  cat >conftest.$ac_ext <<_ACEOF
3833
4523
/* confdefs.h.  */
3837
4527
/* end confdefs.h.  */
3838
4528
#include <ac_nonexistent.h>
3839
4529
_ACEOF
3840
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3841
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4530
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4531
case "(($ac_try" in
 
4532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4533
  *) ac_try_echo=$ac_try;;
 
4534
esac
 
4535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4536
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3842
4537
  ac_status=$?
3843
4538
  grep -v '^ *+' conftest.er1 >conftest.err
3844
4539
  rm -f conftest.er1
3865
4560
ac_preproc_ok=:
3866
4561
break
3867
4562
fi
 
4563
 
3868
4564
rm -f conftest.err conftest.$ac_ext
3869
4565
 
3870
4566
done
3889
4585
if test -n "$ac_tool_prefix"; then
3890
4586
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3891
4587
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3892
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3893
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4588
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4589
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3894
4590
if test "${ac_cv_prog_RANLIB+set}" = set; then
3895
4591
  echo $ECHO_N "(cached) $ECHO_C" >&6
3896
4592
else
3903
4599
  IFS=$as_save_IFS
3904
4600
  test -z "$as_dir" && as_dir=.
3905
4601
  for ac_exec_ext in '' $ac_executable_extensions; do
3906
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4602
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3907
4603
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3908
4604
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3909
4605
    break 2
3910
4606
  fi
3911
4607
done
3912
4608
done
 
4609
IFS=$as_save_IFS
3913
4610
 
3914
4611
fi
3915
4612
fi
3916
4613
RANLIB=$ac_cv_prog_RANLIB
3917
4614
if test -n "$RANLIB"; then
3918
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
3919
 
echo "${ECHO_T}$RANLIB" >&6
 
4615
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
4616
echo "${ECHO_T}$RANLIB" >&6; }
3920
4617
else
3921
 
  echo "$as_me:$LINENO: result: no" >&5
3922
 
echo "${ECHO_T}no" >&6
 
4618
  { echo "$as_me:$LINENO: result: no" >&5
 
4619
echo "${ECHO_T}no" >&6; }
3923
4620
fi
 
4621
 
3924
4622
 
3925
4623
fi
3926
4624
if test -z "$ac_cv_prog_RANLIB"; then
3927
4625
  ac_ct_RANLIB=$RANLIB
3928
4626
  # Extract the first word of "ranlib", so it can be a program name with args.
3929
4627
set dummy ranlib; ac_word=$2
3930
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3931
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4628
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4629
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3932
4630
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3933
4631
  echo $ECHO_N "(cached) $ECHO_C" >&6
3934
4632
else
3941
4639
  IFS=$as_save_IFS
3942
4640
  test -z "$as_dir" && as_dir=.
3943
4641
  for ac_exec_ext in '' $ac_executable_extensions; do
3944
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3945
4643
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3946
4644
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947
4645
    break 2
3948
4646
  fi
3949
4647
done
3950
4648
done
 
4649
IFS=$as_save_IFS
3951
4650
 
3952
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3953
4651
fi
3954
4652
fi
3955
4653
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3956
4654
if test -n "$ac_ct_RANLIB"; then
3957
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3958
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
4655
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
4656
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3959
4657
else
3960
 
  echo "$as_me:$LINENO: result: no" >&5
3961
 
echo "${ECHO_T}no" >&6
 
4658
  { echo "$as_me:$LINENO: result: no" >&5
 
4659
echo "${ECHO_T}no" >&6; }
3962
4660
fi
3963
4661
 
3964
 
  RANLIB=$ac_ct_RANLIB
 
4662
  if test "x$ac_ct_RANLIB" = x; then
 
4663
    RANLIB=":"
 
4664
  else
 
4665
    case $cross_compiling:$ac_tool_warned in
 
4666
yes:)
 
4667
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4668
whose name does not start with the host triplet.  If you think this
 
4669
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4670
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4671
whose name does not start with the host triplet.  If you think this
 
4672
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4673
ac_tool_warned=yes ;;
 
4674
esac
 
4675
    RANLIB=$ac_ct_RANLIB
 
4676
  fi
3965
4677
else
3966
4678
  RANLIB="$ac_cv_prog_RANLIB"
3967
4679
fi
3969
4681
if test -n "$ac_tool_prefix"; then
3970
4682
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3971
4683
set dummy ${ac_tool_prefix}ar; ac_word=$2
3972
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3973
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4684
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4685
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3974
4686
if test "${ac_cv_prog_AR+set}" = set; then
3975
4687
  echo $ECHO_N "(cached) $ECHO_C" >&6
3976
4688
else
3983
4695
  IFS=$as_save_IFS
3984
4696
  test -z "$as_dir" && as_dir=.
3985
4697
  for ac_exec_ext in '' $ac_executable_extensions; do
3986
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4698
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3987
4699
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3988
4700
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989
4701
    break 2
3990
4702
  fi
3991
4703
done
3992
4704
done
 
4705
IFS=$as_save_IFS
3993
4706
 
3994
4707
fi
3995
4708
fi
3996
4709
AR=$ac_cv_prog_AR
3997
4710
if test -n "$AR"; then
3998
 
  echo "$as_me:$LINENO: result: $AR" >&5
3999
 
echo "${ECHO_T}$AR" >&6
 
4711
  { echo "$as_me:$LINENO: result: $AR" >&5
 
4712
echo "${ECHO_T}$AR" >&6; }
4000
4713
else
4001
 
  echo "$as_me:$LINENO: result: no" >&5
4002
 
echo "${ECHO_T}no" >&6
 
4714
  { echo "$as_me:$LINENO: result: no" >&5
 
4715
echo "${ECHO_T}no" >&6; }
4003
4716
fi
 
4717
 
4004
4718
 
4005
4719
fi
4006
4720
if test -z "$ac_cv_prog_AR"; then
4007
4721
  ac_ct_AR=$AR
4008
4722
  # Extract the first word of "ar", so it can be a program name with args.
4009
4723
set dummy ar; ac_word=$2
4010
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4011
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4724
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4725
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4012
4726
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4013
4727
  echo $ECHO_N "(cached) $ECHO_C" >&6
4014
4728
else
4021
4735
  IFS=$as_save_IFS
4022
4736
  test -z "$as_dir" && as_dir=.
4023
4737
  for ac_exec_ext in '' $ac_executable_extensions; do
4024
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4738
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4025
4739
    ac_cv_prog_ac_ct_AR="ar"
4026
4740
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4027
4741
    break 2
4028
4742
  fi
4029
4743
done
4030
4744
done
 
4745
IFS=$as_save_IFS
4031
4746
 
4032
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":"
4033
4747
fi
4034
4748
fi
4035
4749
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4036
4750
if test -n "$ac_ct_AR"; then
4037
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4038
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
4751
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
4752
echo "${ECHO_T}$ac_ct_AR" >&6; }
4039
4753
else
4040
 
  echo "$as_me:$LINENO: result: no" >&5
4041
 
echo "${ECHO_T}no" >&6
 
4754
  { echo "$as_me:$LINENO: result: no" >&5
 
4755
echo "${ECHO_T}no" >&6; }
4042
4756
fi
4043
4757
 
4044
 
  AR=$ac_ct_AR
 
4758
  if test "x$ac_ct_AR" = x; then
 
4759
    AR=":"
 
4760
  else
 
4761
    case $cross_compiling:$ac_tool_warned in
 
4762
yes:)
 
4763
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4764
whose name does not start with the host triplet.  If you think this
 
4765
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4766
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4767
whose name does not start with the host triplet.  If you think this
 
4768
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4769
ac_tool_warned=yes ;;
 
4770
esac
 
4771
    AR=$ac_ct_AR
 
4772
  fi
4045
4773
else
4046
4774
  AR="$ac_cv_prog_AR"
4047
4775
fi
4048
4776
 
4049
4777
# Extract the first word of ""perl"", so it can be a program name with args.
4050
4778
set dummy "perl"; ac_word=$2
4051
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4052
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4779
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4780
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4053
4781
if test "${ac_cv_path_PERL+set}" = set; then
4054
4782
  echo $ECHO_N "(cached) $ECHO_C" >&6
4055
4783
else
4064
4792
  IFS=$as_save_IFS
4065
4793
  test -z "$as_dir" && as_dir=.
4066
4794
  for ac_exec_ext in '' $ac_executable_extensions; do
4067
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4795
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4068
4796
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4069
4797
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4070
4798
    break 2
4071
4799
  fi
4072
4800
done
4073
4801
done
 
4802
IFS=$as_save_IFS
4074
4803
 
4075
4804
  ;;
4076
4805
esac
4077
4806
fi
4078
4807
PERL=$ac_cv_path_PERL
4079
 
 
4080
4808
if test -n "$PERL"; then
4081
 
  echo "$as_me:$LINENO: result: $PERL" >&5
4082
 
echo "${ECHO_T}$PERL" >&6
 
4809
  { echo "$as_me:$LINENO: result: $PERL" >&5
 
4810
echo "${ECHO_T}$PERL" >&6; }
4083
4811
else
4084
 
  echo "$as_me:$LINENO: result: no" >&5
4085
 
echo "${ECHO_T}no" >&6
 
4812
  { echo "$as_me:$LINENO: result: no" >&5
 
4813
echo "${ECHO_T}no" >&6; }
4086
4814
fi
4087
4815
 
4088
4816
 
4089
 
echo "$as_me:$LINENO: checking for library containing strerror" >&5
4090
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
4091
 
if test "${ac_cv_search_strerror+set}" = set; then
 
4817
 
 
4818
 
 
4819
        { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
 
4820
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
 
4821
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
4092
4822
  echo $ECHO_N "(cached) $ECHO_C" >&6
4093
4823
else
4094
 
  ac_func_search_save_LIBS=$LIBS
4095
 
ac_cv_search_strerror=no
 
4824
  ac_check_lib_save_LIBS=$LIBS
 
4825
LIBS="-lcposix  $LIBS"
4096
4826
cat >conftest.$ac_ext <<_ACEOF
4097
4827
/* confdefs.h.  */
4098
4828
_ACEOF
4100
4830
cat >>conftest.$ac_ext <<_ACEOF
4101
4831
/* end confdefs.h.  */
4102
4832
 
4103
 
/* Override any gcc2 internal prototype to avoid an error.  */
4104
 
#ifdef __cplusplus
4105
 
extern "C"
4106
 
#endif
4107
 
/* We use char because int might match the return type of a gcc2
4108
 
   builtin and then its argument prototype would still apply.  */
4109
 
char strerror ();
4110
 
int
4111
 
main ()
4112
 
{
4113
 
strerror ();
4114
 
  ;
4115
 
  return 0;
4116
 
}
4117
 
_ACEOF
4118
 
rm -f conftest.$ac_objext conftest$ac_exeext
4119
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4120
 
  (eval $ac_link) 2>conftest.er1
4121
 
  ac_status=$?
4122
 
  grep -v '^ *+' conftest.er1 >conftest.err
4123
 
  rm -f conftest.er1
4124
 
  cat conftest.err >&5
4125
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
 
  (exit $ac_status); } &&
4127
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4128
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129
 
  (eval $ac_try) 2>&5
4130
 
  ac_status=$?
4131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132
 
  (exit $ac_status); }; } &&
4133
 
         { ac_try='test -s conftest$ac_exeext'
4134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135
 
  (eval $ac_try) 2>&5
4136
 
  ac_status=$?
4137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138
 
  (exit $ac_status); }; }; then
4139
 
  ac_cv_search_strerror="none required"
4140
 
else
4141
 
  echo "$as_me: failed program was:" >&5
4142
 
sed 's/^/| /' conftest.$ac_ext >&5
4143
 
 
4144
 
fi
4145
 
rm -f conftest.err conftest.$ac_objext \
4146
 
      conftest$ac_exeext conftest.$ac_ext
4147
 
if test "$ac_cv_search_strerror" = no; then
4148
 
  for ac_lib in cposix; do
4149
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4150
 
    cat >conftest.$ac_ext <<_ACEOF
4151
 
/* confdefs.h.  */
4152
 
_ACEOF
4153
 
cat confdefs.h >>conftest.$ac_ext
4154
 
cat >>conftest.$ac_ext <<_ACEOF
4155
 
/* end confdefs.h.  */
4156
 
 
4157
 
/* Override any gcc2 internal prototype to avoid an error.  */
4158
 
#ifdef __cplusplus
4159
 
extern "C"
4160
 
#endif
4161
 
/* We use char because int might match the return type of a gcc2
4162
 
   builtin and then its argument prototype would still apply.  */
4163
 
char strerror ();
4164
 
int
4165
 
main ()
4166
 
{
4167
 
strerror ();
4168
 
  ;
4169
 
  return 0;
4170
 
}
4171
 
_ACEOF
4172
 
rm -f conftest.$ac_objext conftest$ac_exeext
4173
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4174
 
  (eval $ac_link) 2>conftest.er1
4175
 
  ac_status=$?
4176
 
  grep -v '^ *+' conftest.er1 >conftest.err
4177
 
  rm -f conftest.er1
4178
 
  cat conftest.err >&5
4179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
 
  (exit $ac_status); } &&
4181
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183
 
  (eval $ac_try) 2>&5
4184
 
  ac_status=$?
4185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
 
  (exit $ac_status); }; } &&
4187
 
         { ac_try='test -s conftest$ac_exeext'
4188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189
 
  (eval $ac_try) 2>&5
4190
 
  ac_status=$?
4191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); }; }; then
4193
 
  ac_cv_search_strerror="-l$ac_lib"
4194
 
break
4195
 
else
4196
 
  echo "$as_me: failed program was:" >&5
4197
 
sed 's/^/| /' conftest.$ac_ext >&5
4198
 
 
4199
 
fi
4200
 
rm -f conftest.err conftest.$ac_objext \
4201
 
      conftest$ac_exeext conftest.$ac_ext
4202
 
  done
4203
 
fi
4204
 
LIBS=$ac_func_search_save_LIBS
4205
 
fi
4206
 
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4207
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6
4208
 
if test "$ac_cv_search_strerror" != no; then
4209
 
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
4210
 
 
4211
 
fi
4212
 
 
4213
 
# Check whether --enable-largefile or --disable-largefile was given.
 
4833
/* Override any GCC internal prototype to avoid an error.
 
4834
   Use char because int might match the return type of a GCC
 
4835
   builtin and then its argument prototype would still apply.  */
 
4836
#ifdef __cplusplus
 
4837
extern "C"
 
4838
#endif
 
4839
char strerror ();
 
4840
int
 
4841
main ()
 
4842
{
 
4843
return strerror ();
 
4844
  ;
 
4845
  return 0;
 
4846
}
 
4847
_ACEOF
 
4848
rm -f conftest.$ac_objext conftest$ac_exeext
 
4849
if { (ac_try="$ac_link"
 
4850
case "(($ac_try" in
 
4851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4852
  *) ac_try_echo=$ac_try;;
 
4853
esac
 
4854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4855
  (eval "$ac_link") 2>conftest.er1
 
4856
  ac_status=$?
 
4857
  grep -v '^ *+' conftest.er1 >conftest.err
 
4858
  rm -f conftest.er1
 
4859
  cat conftest.err >&5
 
4860
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4861
  (exit $ac_status); } &&
 
4862
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4863
  { (case "(($ac_try" in
 
4864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4865
  *) ac_try_echo=$ac_try;;
 
4866
esac
 
4867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4868
  (eval "$ac_try") 2>&5
 
4869
  ac_status=$?
 
4870
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4871
  (exit $ac_status); }; } &&
 
4872
         { ac_try='test -s conftest$ac_exeext'
 
4873
  { (case "(($ac_try" in
 
4874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4875
  *) ac_try_echo=$ac_try;;
 
4876
esac
 
4877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4878
  (eval "$ac_try") 2>&5
 
4879
  ac_status=$?
 
4880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4881
  (exit $ac_status); }; }; then
 
4882
  ac_cv_lib_cposix_strerror=yes
 
4883
else
 
4884
  echo "$as_me: failed program was:" >&5
 
4885
sed 's/^/| /' conftest.$ac_ext >&5
 
4886
 
 
4887
        ac_cv_lib_cposix_strerror=no
 
4888
fi
 
4889
 
 
4890
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
4891
      conftest$ac_exeext conftest.$ac_ext
 
4892
LIBS=$ac_check_lib_save_LIBS
 
4893
fi
 
4894
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
 
4895
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
 
4896
if test $ac_cv_lib_cposix_strerror = yes; then
 
4897
  LIBS="$LIBS -lcposix"
 
4898
fi
 
4899
 
 
4900
 
 
4901
 
 
4902
# Check whether --enable-largefile was given.
4214
4903
if test "${enable_largefile+set}" = set; then
4215
 
  enableval="$enable_largefile"
 
4904
  enableval=$enable_largefile;
 
4905
fi
4216
4906
 
4217
 
fi;
4218
4907
if test "$enable_largefile" != no; then
4219
4908
 
4220
 
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4221
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
 
4909
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
4910
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
4222
4911
if test "${ac_cv_sys_largefile_CC+set}" = set; then
4223
4912
  echo $ECHO_N "(cached) $ECHO_C" >&6
4224
4913
else
4226
4915
     if test "$GCC" != yes; then
4227
4916
       ac_save_CC=$CC
4228
4917
       while :; do
4229
 
         # IRIX 6.2 and later do not support large files by default,
4230
 
         # so use the C compiler's -n32 option if that helps.
 
4918
         # IRIX 6.2 and later do not support large files by default,
 
4919
         # so use the C compiler's -n32 option if that helps.
4231
4920
         cat >conftest.$ac_ext <<_ACEOF
4232
4921
/* confdefs.h.  */
4233
4922
_ACEOF
4251
4940
  return 0;
4252
4941
}
4253
4942
_ACEOF
4254
 
         rm -f conftest.$ac_objext
4255
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4256
 
  (eval $ac_compile) 2>conftest.er1
 
4943
         rm -f conftest.$ac_objext
 
4944
if { (ac_try="$ac_compile"
 
4945
case "(($ac_try" in
 
4946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4947
  *) ac_try_echo=$ac_try;;
 
4948
esac
 
4949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4950
  (eval "$ac_compile") 2>conftest.er1
4257
4951
  ac_status=$?
4258
4952
  grep -v '^ *+' conftest.er1 >conftest.err
4259
4953
  rm -f conftest.er1
4260
4954
  cat conftest.err >&5
4261
4955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
4956
  (exit $ac_status); } &&
4263
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265
 
  (eval $ac_try) 2>&5
 
4957
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
4958
  { (case "(($ac_try" in
 
4959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4960
  *) ac_try_echo=$ac_try;;
 
4961
esac
 
4962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4963
  (eval "$ac_try") 2>&5
4266
4964
  ac_status=$?
4267
4965
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268
4966
  (exit $ac_status); }; } &&
4269
4967
         { ac_try='test -s conftest.$ac_objext'
4270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271
 
  (eval $ac_try) 2>&5
 
4968
  { (case "(($ac_try" in
 
4969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4970
  *) ac_try_echo=$ac_try;;
 
4971
esac
 
4972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4973
  (eval "$ac_try") 2>&5
4272
4974
  ac_status=$?
4273
4975
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274
4976
  (exit $ac_status); }; }; then
4277
4979
  echo "$as_me: failed program was:" >&5
4278
4980
sed 's/^/| /' conftest.$ac_ext >&5
4279
4981
 
 
4982
 
4280
4983
fi
4281
 
rm -f conftest.err conftest.$ac_objext
4282
 
         CC="$CC -n32"
4283
 
         rm -f conftest.$ac_objext
4284
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4285
 
  (eval $ac_compile) 2>conftest.er1
 
4984
 
 
4985
rm -f core conftest.err conftest.$ac_objext
 
4986
         CC="$CC -n32"
 
4987
         rm -f conftest.$ac_objext
 
4988
if { (ac_try="$ac_compile"
 
4989
case "(($ac_try" in
 
4990
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4991
  *) ac_try_echo=$ac_try;;
 
4992
esac
 
4993
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4994
  (eval "$ac_compile") 2>conftest.er1
4286
4995
  ac_status=$?
4287
4996
  grep -v '^ *+' conftest.er1 >conftest.err
4288
4997
  rm -f conftest.er1
4289
4998
  cat conftest.err >&5
4290
4999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
5000
  (exit $ac_status); } &&
4292
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4294
 
  (eval $ac_try) 2>&5
 
5001
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5002
  { (case "(($ac_try" in
 
5003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5004
  *) ac_try_echo=$ac_try;;
 
5005
esac
 
5006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5007
  (eval "$ac_try") 2>&5
4295
5008
  ac_status=$?
4296
5009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297
5010
  (exit $ac_status); }; } &&
4298
5011
         { ac_try='test -s conftest.$ac_objext'
4299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4300
 
  (eval $ac_try) 2>&5
 
5012
  { (case "(($ac_try" in
 
5013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5014
  *) ac_try_echo=$ac_try;;
 
5015
esac
 
5016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5017
  (eval "$ac_try") 2>&5
4301
5018
  ac_status=$?
4302
5019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303
5020
  (exit $ac_status); }; }; then
4306
5023
  echo "$as_me: failed program was:" >&5
4307
5024
sed 's/^/| /' conftest.$ac_ext >&5
4308
5025
 
 
5026
 
4309
5027
fi
4310
 
rm -f conftest.err conftest.$ac_objext
 
5028
 
 
5029
rm -f core conftest.err conftest.$ac_objext
4311
5030
         break
4312
5031
       done
4313
5032
       CC=$ac_save_CC
4314
5033
       rm -f conftest.$ac_ext
4315
5034
    fi
4316
5035
fi
4317
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4318
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
 
5036
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
5037
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
4319
5038
  if test "$ac_cv_sys_largefile_CC" != no; then
4320
5039
    CC=$CC$ac_cv_sys_largefile_CC
4321
5040
  fi
4322
5041
 
4323
 
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4324
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
 
5042
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
5043
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
4325
5044
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4326
5045
  echo $ECHO_N "(cached) $ECHO_C" >&6
4327
5046
else
4351
5070
}
4352
5071
_ACEOF
4353
5072
rm -f conftest.$ac_objext
4354
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355
 
  (eval $ac_compile) 2>conftest.er1
 
5073
if { (ac_try="$ac_compile"
 
5074
case "(($ac_try" in
 
5075
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5076
  *) ac_try_echo=$ac_try;;
 
5077
esac
 
5078
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5079
  (eval "$ac_compile") 2>conftest.er1
4356
5080
  ac_status=$?
4357
5081
  grep -v '^ *+' conftest.er1 >conftest.err
4358
5082
  rm -f conftest.er1
4359
5083
  cat conftest.err >&5
4360
5084
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361
5085
  (exit $ac_status); } &&
4362
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364
 
  (eval $ac_try) 2>&5
 
5086
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5087
  { (case "(($ac_try" in
 
5088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5089
  *) ac_try_echo=$ac_try;;
 
5090
esac
 
5091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5092
  (eval "$ac_try") 2>&5
4365
5093
  ac_status=$?
4366
5094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367
5095
  (exit $ac_status); }; } &&
4368
5096
         { ac_try='test -s conftest.$ac_objext'
4369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370
 
  (eval $ac_try) 2>&5
 
5097
  { (case "(($ac_try" in
 
5098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5099
  *) ac_try_echo=$ac_try;;
 
5100
esac
 
5101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5102
  (eval "$ac_try") 2>&5
4371
5103
  ac_status=$?
4372
5104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373
5105
  (exit $ac_status); }; }; then
4376
5108
  echo "$as_me: failed program was:" >&5
4377
5109
sed 's/^/| /' conftest.$ac_ext >&5
4378
5110
 
 
5111
 
4379
5112
fi
4380
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5113
 
 
5114
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381
5115
  cat >conftest.$ac_ext <<_ACEOF
4382
5116
/* confdefs.h.  */
4383
5117
_ACEOF
4403
5137
}
4404
5138
_ACEOF
4405
5139
rm -f conftest.$ac_objext
4406
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4407
 
  (eval $ac_compile) 2>conftest.er1
 
5140
if { (ac_try="$ac_compile"
 
5141
case "(($ac_try" in
 
5142
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5143
  *) ac_try_echo=$ac_try;;
 
5144
esac
 
5145
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5146
  (eval "$ac_compile") 2>conftest.er1
4408
5147
  ac_status=$?
4409
5148
  grep -v '^ *+' conftest.er1 >conftest.err
4410
5149
  rm -f conftest.er1
4411
5150
  cat conftest.err >&5
4412
5151
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413
5152
  (exit $ac_status); } &&
4414
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416
 
  (eval $ac_try) 2>&5
 
5153
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5154
  { (case "(($ac_try" in
 
5155
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5156
  *) ac_try_echo=$ac_try;;
 
5157
esac
 
5158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5159
  (eval "$ac_try") 2>&5
4417
5160
  ac_status=$?
4418
5161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419
5162
  (exit $ac_status); }; } &&
4420
5163
         { ac_try='test -s conftest.$ac_objext'
4421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422
 
  (eval $ac_try) 2>&5
 
5164
  { (case "(($ac_try" in
 
5165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5166
  *) ac_try_echo=$ac_try;;
 
5167
esac
 
5168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5169
  (eval "$ac_try") 2>&5
4423
5170
  ac_status=$?
4424
5171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
5172
  (exit $ac_status); }; }; then
4428
5175
  echo "$as_me: failed program was:" >&5
4429
5176
sed 's/^/| /' conftest.$ac_ext >&5
4430
5177
 
 
5178
 
4431
5179
fi
4432
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5180
 
 
5181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433
5182
  break
4434
5183
done
4435
5184
fi
4436
 
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4437
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
 
5185
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
5186
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
4438
5187
if test "$ac_cv_sys_file_offset_bits" != no; then
4439
5188
 
4440
5189
cat >>confdefs.h <<_ACEOF
4443
5192
 
4444
5193
fi
4445
5194
rm -f conftest*
4446
 
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4447
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
 
5195
  { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
5196
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
4448
5197
if test "${ac_cv_sys_large_files+set}" = set; then
4449
5198
  echo $ECHO_N "(cached) $ECHO_C" >&6
4450
5199
else
4474
5223
}
4475
5224
_ACEOF
4476
5225
rm -f conftest.$ac_objext
4477
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4478
 
  (eval $ac_compile) 2>conftest.er1
 
5226
if { (ac_try="$ac_compile"
 
5227
case "(($ac_try" in
 
5228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5229
  *) ac_try_echo=$ac_try;;
 
5230
esac
 
5231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5232
  (eval "$ac_compile") 2>conftest.er1
4479
5233
  ac_status=$?
4480
5234
  grep -v '^ *+' conftest.er1 >conftest.err
4481
5235
  rm -f conftest.er1
4482
5236
  cat conftest.err >&5
4483
5237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484
5238
  (exit $ac_status); } &&
4485
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4486
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487
 
  (eval $ac_try) 2>&5
 
5239
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5240
  { (case "(($ac_try" in
 
5241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5242
  *) ac_try_echo=$ac_try;;
 
5243
esac
 
5244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5245
  (eval "$ac_try") 2>&5
4488
5246
  ac_status=$?
4489
5247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490
5248
  (exit $ac_status); }; } &&
4491
5249
         { ac_try='test -s conftest.$ac_objext'
4492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493
 
  (eval $ac_try) 2>&5
 
5250
  { (case "(($ac_try" in
 
5251
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5252
  *) ac_try_echo=$ac_try;;
 
5253
esac
 
5254
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5255
  (eval "$ac_try") 2>&5
4494
5256
  ac_status=$?
4495
5257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496
5258
  (exit $ac_status); }; }; then
4499
5261
  echo "$as_me: failed program was:" >&5
4500
5262
sed 's/^/| /' conftest.$ac_ext >&5
4501
5263
 
 
5264
 
4502
5265
fi
4503
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5266
 
 
5267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504
5268
  cat >conftest.$ac_ext <<_ACEOF
4505
5269
/* confdefs.h.  */
4506
5270
_ACEOF
4526
5290
}
4527
5291
_ACEOF
4528
5292
rm -f conftest.$ac_objext
4529
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530
 
  (eval $ac_compile) 2>conftest.er1
 
5293
if { (ac_try="$ac_compile"
 
5294
case "(($ac_try" in
 
5295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5296
  *) ac_try_echo=$ac_try;;
 
5297
esac
 
5298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5299
  (eval "$ac_compile") 2>conftest.er1
4531
5300
  ac_status=$?
4532
5301
  grep -v '^ *+' conftest.er1 >conftest.err
4533
5302
  rm -f conftest.er1
4534
5303
  cat conftest.err >&5
4535
5304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536
5305
  (exit $ac_status); } &&
4537
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539
 
  (eval $ac_try) 2>&5
 
5306
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
5307
  { (case "(($ac_try" in
 
5308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5309
  *) ac_try_echo=$ac_try;;
 
5310
esac
 
5311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5312
  (eval "$ac_try") 2>&5
4540
5313
  ac_status=$?
4541
5314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542
5315
  (exit $ac_status); }; } &&
4543
5316
         { ac_try='test -s conftest.$ac_objext'
4544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545
 
  (eval $ac_try) 2>&5
 
5317
  { (case "(($ac_try" in
 
5318
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5319
  *) ac_try_echo=$ac_try;;
 
5320
esac
 
5321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5322
  (eval "$ac_try") 2>&5
4546
5323
  ac_status=$?
4547
5324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548
5325
  (exit $ac_status); }; }; then
4551
5328
  echo "$as_me: failed program was:" >&5
4552
5329
sed 's/^/| /' conftest.$ac_ext >&5
4553
5330
 
 
5331
 
4554
5332
fi
4555
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5333
 
 
5334
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556
5335
  break
4557
5336
done
4558
5337
fi
4559
 
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4560
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
 
5338
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
5339
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
4561
5340
if test "$ac_cv_sys_large_files" != no; then
4562
5341
 
4563
5342
cat >>confdefs.h <<_ACEOF
4581
5360
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4582
5361
# OS/2's system install, which has a completely different semantic
4583
5362
# ./install, which can be erroneously created by make from ./install.sh.
4584
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4585
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
5363
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
5364
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4586
5365
if test -z "$INSTALL"; then
4587
5366
if test "${ac_cv_path_install+set}" = set; then
4588
5367
  echo $ECHO_N "(cached) $ECHO_C" >&6
4604
5383
    # by default.
4605
5384
    for ac_prog in ginstall scoinst install; do
4606
5385
      for ac_exec_ext in '' $ac_executable_extensions; do
4607
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
5386
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4608
5387
          if test $ac_prog = install &&
4609
5388
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4610
5389
            # AIX install.  It has an incompatible calling convention.
4623
5402
    ;;
4624
5403
esac
4625
5404
done
 
5405
IFS=$as_save_IFS
4626
5406
 
4627
5407
 
4628
5408
fi
4629
5409
  if test "${ac_cv_path_install+set}" = set; then
4630
5410
    INSTALL=$ac_cv_path_install
4631
5411
  else
4632
 
    # As a last resort, use the slow shell script.  We don't cache a
4633
 
    # path for INSTALL within a source directory, because that will
 
5412
    # As a last resort, use the slow shell script.  Don't cache a
 
5413
    # value for INSTALL within a source directory, because that will
4634
5414
    # break other packages using the cache if that directory is
4635
 
    # removed, or if the path is relative.
 
5415
    # removed, or if the value is a relative name.
4636
5416
    INSTALL=$ac_install_sh
4637
5417
  fi
4638
5418
fi
4639
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
4640
 
echo "${ECHO_T}$INSTALL" >&6
 
5419
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
5420
echo "${ECHO_T}$INSTALL" >&6; }
4641
5421
 
4642
5422
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4643
5423
# It thinks the first close brace ends the variable substitution.
4651
5431
do
4652
5432
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4653
5433
set dummy $ac_prog; ac_word=$2
4654
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4655
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5434
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5435
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4656
5436
if test "${ac_cv_prog_AWK+set}" = set; then
4657
5437
  echo $ECHO_N "(cached) $ECHO_C" >&6
4658
5438
else
4665
5445
  IFS=$as_save_IFS
4666
5446
  test -z "$as_dir" && as_dir=.
4667
5447
  for ac_exec_ext in '' $ac_executable_extensions; do
4668
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4669
5449
    ac_cv_prog_AWK="$ac_prog"
4670
5450
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4671
5451
    break 2
4672
5452
  fi
4673
5453
done
4674
5454
done
 
5455
IFS=$as_save_IFS
4675
5456
 
4676
5457
fi
4677
5458
fi
4678
5459
AWK=$ac_cv_prog_AWK
4679
5460
if test -n "$AWK"; then
4680
 
  echo "$as_me:$LINENO: result: $AWK" >&5
4681
 
echo "${ECHO_T}$AWK" >&6
 
5461
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
5462
echo "${ECHO_T}$AWK" >&6; }
4682
5463
else
4683
 
  echo "$as_me:$LINENO: result: no" >&5
4684
 
echo "${ECHO_T}no" >&6
 
5464
  { echo "$as_me:$LINENO: result: no" >&5
 
5465
echo "${ECHO_T}no" >&6; }
4685
5466
fi
4686
5467
 
 
5468
 
4687
5469
  test -n "$AWK" && break
4688
5470
done
4689
5471
 
4690
5472
# Extract the first word of "docbook-to-man", so it can be a program name with args.
4691
5473
set dummy docbook-to-man; ac_word=$2
4692
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4693
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5474
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5475
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4694
5476
if test "${ac_cv_prog_DOCBOOK_TO_MAN+set}" = set; then
4695
5477
  echo $ECHO_N "(cached) $ECHO_C" >&6
4696
5478
else
4703
5485
  IFS=$as_save_IFS
4704
5486
  test -z "$as_dir" && as_dir=.
4705
5487
  for ac_exec_ext in '' $ac_executable_extensions; do
4706
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5488
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4707
5489
    ac_cv_prog_DOCBOOK_TO_MAN="yes"
4708
5490
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709
5491
    break 2
4710
5492
  fi
4711
5493
done
4712
5494
done
 
5495
IFS=$as_save_IFS
4713
5496
 
4714
5497
  test -z "$ac_cv_prog_DOCBOOK_TO_MAN" && ac_cv_prog_DOCBOOK_TO_MAN="no"
4715
5498
fi
4716
5499
fi
4717
5500
DOCBOOK_TO_MAN=$ac_cv_prog_DOCBOOK_TO_MAN
4718
5501
if test -n "$DOCBOOK_TO_MAN"; then
4719
 
  echo "$as_me:$LINENO: result: $DOCBOOK_TO_MAN" >&5
4720
 
echo "${ECHO_T}$DOCBOOK_TO_MAN" >&6
 
5502
  { echo "$as_me:$LINENO: result: $DOCBOOK_TO_MAN" >&5
 
5503
echo "${ECHO_T}$DOCBOOK_TO_MAN" >&6; }
4721
5504
else
4722
 
  echo "$as_me:$LINENO: result: no" >&5
4723
 
echo "${ECHO_T}no" >&6
 
5505
  { echo "$as_me:$LINENO: result: no" >&5
 
5506
echo "${ECHO_T}no" >&6; }
4724
5507
fi
4725
5508
 
4726
5509
 
4727
5510
 
 
5511
 
4728
5512
if test "$ac_cv_prog_DOCBOOK_TO_MAN" = yes; then
4729
5513
  HAVE_DOCBOOK_TO_MAN_TRUE=
4730
5514
  HAVE_DOCBOOK_TO_MAN_FALSE='#'
4733
5517
  HAVE_DOCBOOK_TO_MAN_FALSE=
4734
5518
fi
4735
5519
 
4736
 
 echo "$as_me:$LINENO: checking for faqprog.pl" >&5
4737
 
echo $ECHO_N "checking for faqprog.pl... $ECHO_C" >&6
 
5520
 { echo "$as_me:$LINENO: checking for faqprog.pl" >&5
 
5521
echo $ECHO_N "checking for faqprog.pl... $ECHO_C" >&6; }
4738
5522
    if faqprog.pl -V 2>/dev/null | grep '^faqprog.pl ' >/dev/null 2>&1; then
4739
5523
        working_faqprog=yes
4740
5524
        FAQPROG="faqprog.pl"
4742
5526
        working_faqprog=no
4743
5527
        FAQPROG=": "
4744
5528
    fi
4745
 
    echo "$as_me:$LINENO: result: $working_faqprog" >&5
4746
 
echo "${ECHO_T}$working_faqprog" >&6
 
5529
    { echo "$as_me:$LINENO: result: $working_faqprog" >&5
 
5530
echo "${ECHO_T}$working_faqprog" >&6; }
4747
5531
 
4748
5532
 
4749
5533
 
4760
5544
 
4761
5545
    # Extract the first word of "docbook2texi", so it can be a program name with args.
4762
5546
set dummy docbook2texi; ac_word=$2
4763
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5547
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5548
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4765
5549
if test "${ac_cv_prog_DOCBOOK_TO_TEXI+set}" = set; then
4766
5550
  echo $ECHO_N "(cached) $ECHO_C" >&6
4767
5551
else
4774
5558
  IFS=$as_save_IFS
4775
5559
  test -z "$as_dir" && as_dir=.
4776
5560
  for ac_exec_ext in '' $ac_executable_extensions; do
4777
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4778
5562
    ac_cv_prog_DOCBOOK_TO_TEXI="yes"
4779
5563
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4780
5564
    break 2
4781
5565
  fi
4782
5566
done
4783
5567
done
 
5568
IFS=$as_save_IFS
4784
5569
 
4785
5570
  test -z "$ac_cv_prog_DOCBOOK_TO_TEXI" && ac_cv_prog_DOCBOOK_TO_TEXI="no"
4786
5571
fi
4787
5572
fi
4788
5573
DOCBOOK_TO_TEXI=$ac_cv_prog_DOCBOOK_TO_TEXI
4789
5574
if test -n "$DOCBOOK_TO_TEXI"; then
4790
 
  echo "$as_me:$LINENO: result: $DOCBOOK_TO_TEXI" >&5
4791
 
echo "${ECHO_T}$DOCBOOK_TO_TEXI" >&6
 
5575
  { echo "$as_me:$LINENO: result: $DOCBOOK_TO_TEXI" >&5
 
5576
echo "${ECHO_T}$DOCBOOK_TO_TEXI" >&6; }
4792
5577
else
4793
 
  echo "$as_me:$LINENO: result: no" >&5
4794
 
echo "${ECHO_T}no" >&6
 
5578
  { echo "$as_me:$LINENO: result: no" >&5
 
5579
echo "${ECHO_T}no" >&6; }
4795
5580
fi
4796
5581
 
4797
 
    echo "$as_me:$LINENO: checking for sgml to texi tools" >&5
4798
 
echo $ECHO_N "checking for sgml to texi tools... $ECHO_C" >&6
 
5582
 
 
5583
    { echo "$as_me:$LINENO: checking for sgml to texi tools" >&5
 
5584
echo $ECHO_N "checking for sgml to texi tools... $ECHO_C" >&6; }
4799
5585
    working_sgmltotexi=no
4800
5586
    if test "$ac_cv_prog_DOCBOOK_TO_TEXI" = yes; then
4801
5587
      if sgml2xml -v /dev/null 2>&1 | grep 'SP version' >/dev/null 2>&1 ; then
4802
5588
            working_sgmltotexi=yes
4803
5589
      fi
4804
5590
    fi
4805
 
    echo "$as_me:$LINENO: result: $working_sgmltotexi" >&5
4806
 
echo "${ECHO_T}$working_sgmltotexi" >&6
 
5591
    { echo "$as_me:$LINENO: result: $working_sgmltotexi" >&5
 
5592
echo "${ECHO_T}$working_sgmltotexi" >&6; }
4807
5593
 
4808
5594
 
4809
5595
if test "$working_sgmltotexi" = "yes" ; then
4817
5603
 
4818
5604
 
4819
5605
 
4820
 
# Check whether --with-tar or --without-tar was given.
 
5606
# Check whether --with-tar was given.
4821
5607
if test "${with_tar+set}" = set; then
4822
 
  withval="$with_tar"
4823
 
  _do_tar=$withval
4824
 
fi;
 
5608
  withval=$with_tar; _do_tar=$withval
 
5609
fi
 
5610
 
4825
5611
 
4826
5612
  if test x$_do_tar != xno ; then
4827
5613
 
4828
5614
     if test x$_do_tar = x ; then
4829
5615
        # Extract the first word of ""tar"", so it can be a program name with args.
4830
5616
set dummy "tar"; ac_word=$2
4831
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4832
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5617
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5618
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4833
5619
if test "${ac_cv_path_TAR+set}" = set; then
4834
5620
  echo $ECHO_N "(cached) $ECHO_C" >&6
4835
5621
else
4844
5630
  IFS=$as_save_IFS
4845
5631
  test -z "$as_dir" && as_dir=.
4846
5632
  for ac_exec_ext in '' $ac_executable_extensions; do
4847
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5633
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4848
5634
    ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4849
5635
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4850
5636
    break 2
4851
5637
  fi
4852
5638
done
4853
5639
done
 
5640
IFS=$as_save_IFS
4854
5641
 
4855
5642
  ;;
4856
5643
esac
4857
5644
fi
4858
5645
TAR=$ac_cv_path_TAR
4859
 
 
4860
5646
if test -n "$TAR"; then
4861
 
  echo "$as_me:$LINENO: result: $TAR" >&5
4862
 
echo "${ECHO_T}$TAR" >&6
 
5647
  { echo "$as_me:$LINENO: result: $TAR" >&5
 
5648
echo "${ECHO_T}$TAR" >&6; }
4863
5649
else
4864
 
  echo "$as_me:$LINENO: result: no" >&5
4865
 
echo "${ECHO_T}no" >&6
 
5650
  { echo "$as_me:$LINENO: result: no" >&5
 
5651
echo "${ECHO_T}no" >&6; }
4866
5652
fi
4867
5653
 
 
5654
 
4868
5655
        _mytar=$ac_cv_path_TAR
4869
5656
     fi
4870
5657
 
4873
5660
     # format.
4874
5661
 
4875
5662
     if test x$_mytar != x ; then
4876
 
        echo "$as_me:$LINENO: checking whether $_mytar speaks USTAR" >&5
4877
 
echo $ECHO_N "checking whether $_mytar speaks USTAR... $ECHO_C" >&6
 
5663
        { echo "$as_me:$LINENO: checking whether $_mytar speaks USTAR" >&5
 
5664
echo $ECHO_N "checking whether $_mytar speaks USTAR... $ECHO_C" >&6; }
4878
5665
        echo hithere > conftest.txt
4879
5666
        $_mytar -cf - conftest.txt | (dd skip=257 bs=1 count=5 2>/dev/null || cat) | grep ustar > /dev/null
4880
5667
        _tar_bad=$?
4881
5668
        rm conftest.txt
4882
5669
 
4883
5670
        if test x$_tar_bad = x0 ; then
4884
 
           echo "$as_me:$LINENO: result: yes" >&5
4885
 
echo "${ECHO_T}yes" >&6
 
5671
           { echo "$as_me:$LINENO: result: yes" >&5
 
5672
echo "${ECHO_T}yes" >&6; }
4886
5673
        else
4887
 
           echo "$as_me:$LINENO: result: no" >&5
4888
 
echo "${ECHO_T}no" >&6
 
5674
           { echo "$as_me:$LINENO: result: no" >&5
 
5675
echo "${ECHO_T}no" >&6; }
4889
5676
        fi
4890
5677
     fi
4891
5678
  fi
4902
5689
 
4903
5690
 
4904
5691
 
 
5692
 
 
5693
# According to a comment by Marcus Brinkman in libgpg-error, the
 
5694
# AC_PROG_CC_FOR_BUILD macro in the AC archive is broken for autoconf
 
5695
# 2.57.  Thus we use a simply use "cc" if we are cross-compiling.
 
5696
{ echo "$as_me:$LINENO: checking for cc for build" >&5
 
5697
echo $ECHO_N "checking for cc for build... $ECHO_C" >&6; }
 
5698
if test "$cross_compiling" = "yes"; then
 
5699
  CC_FOR_BUILD="${CC_FOR_BUILD-cc}"
 
5700
else
 
5701
  CC_FOR_BUILD="${CC_FOR_BUILD-$CC}"
 
5702
fi
 
5703
{ echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
 
5704
echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
 
5705
 
 
5706
 
 
5707
 
 
5708
 
4905
5709
MPI_OPT_FLAGS=""
4906
5710
 
4907
 
try_gettext=yes
4908
5711
have_dosish_system=no
4909
5712
need_dlopen=yes
4910
5713
case "${host}" in
5038
5841
fi
5039
5842
 
5040
5843
 
5041
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5042
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
5844
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
5845
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5043
5846
if test "${ac_cv_path_NM+set}" = set; then
5044
5847
  echo $ECHO_N "(cached) $ECHO_C" >&6
5045
5848
else
5070
5873
fi
5071
5874
 
5072
5875
NM="$ac_cv_path_NM"
5073
 
echo "$as_me:$LINENO: result: $NM" >&5
5074
 
echo "${ECHO_T}$NM" >&6
 
5876
{ echo "$as_me:$LINENO: result: $NM" >&5
 
5877
echo "${ECHO_T}$NM" >&6; }
5075
5878
 
5076
5879
 
5077
5880
# Check for command to grab the raw symbol name followed by C symbol from nm.
5078
 
echo "$as_me:$LINENO: checking command to parse $NM output" >&5
5079
 
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
 
5881
{ echo "$as_me:$LINENO: checking command to parse $NM output" >&5
 
5882
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6; }
5080
5883
if test "${ac_cv_sys_global_symbol_pipe+set}" = set; then
5081
5884
  echo $ECHO_N "(cached) $ECHO_C" >&6
5082
5885
else
5245
6048
if test -z "$ac_cv_sys_global_symbol_pipe"; then
5246
6049
   ac_result=no
5247
6050
fi
5248
 
echo "$as_me:$LINENO: result: $ac_result" >&5
5249
 
echo "${ECHO_T}$ac_result" >&6
 
6051
{ echo "$as_me:$LINENO: result: $ac_result" >&5
 
6052
echo "${ECHO_T}$ac_result" >&6; }
5250
6053
 
5251
6054
tmp_do_check="no"
5252
 
case "${target}" in
 
6055
case "${host}" in
 
6056
    *-mingw32msvc*)
 
6057
        ac_cv_sys_symbol_underscore=yes
 
6058
        ;;
5253
6059
    i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp)
5254
6060
        ac_cv_sys_symbol_underscore=yes
5255
6061
        ;;
5256
6062
    *)
5257
6063
      if test "$cross_compiling" = yes; then
5258
 
         ac_cv_sys_symbol_underscore=yes
 
6064
         if test "x$ac_cv_sys_symbol_underscore" = x; then
 
6065
            ac_cv_sys_symbol_underscore=yes
 
6066
         fi
5259
6067
      else
5260
6068
         tmp_do_check="yes"
5261
6069
      fi
5263
6071
esac
5264
6072
 
5265
6073
if test "$tmp_do_check" = "yes"; then
5266
 
echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
5267
 
echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
 
6074
{ echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
 
6075
echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
5268
6076
if test "${ac_cv_sys_symbol_underscore+set}" = set; then
5269
6077
  echo $ECHO_N "(cached) $ECHO_C" >&6
5270
6078
else
5307
6115
fi
5308
6116
 
5309
6117
else
5310
 
echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
5311
 
echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
 
6118
{ echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
 
6119
echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
5312
6120
fi
5313
 
echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
5314
 
echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
 
6121
{ echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
 
6122
echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
5315
6123
if test x$ac_cv_sys_symbol_underscore = xyes; then
5316
6124
 
5317
6125
cat >>confdefs.h <<\_ACEOF
5339
6147
fi
5340
6148
 
5341
6149
 
5342
 
echo "$as_me:$LINENO: checking for gethostbyname" >&5
5343
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
6150
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
6151
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
5344
6152
if test "${ac_cv_func_gethostbyname+set}" = set; then
5345
6153
  echo $ECHO_N "(cached) $ECHO_C" >&6
5346
6154
else
5367
6175
 
5368
6176
#undef gethostbyname
5369
6177
 
5370
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6178
/* Override any GCC internal prototype to avoid an error.
 
6179
   Use char because int might match the return type of a GCC
 
6180
   builtin and then its argument prototype would still apply.  */
5371
6181
#ifdef __cplusplus
5372
6182
extern "C"
5373
 
{
5374
6183
#endif
5375
 
/* We use char because int might match the return type of a gcc2
5376
 
   builtin and then its argument prototype would still apply.  */
5377
6184
char gethostbyname ();
5378
6185
/* The GNU C library defines this for functions which it implements
5379
6186
    to always fail with ENOSYS.  Some functions are actually named
5380
6187
    something starting with __ and the normal name is an alias.  */
5381
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
6188
#if defined __stub_gethostbyname || defined __stub___gethostbyname
5382
6189
choke me
5383
 
#else
5384
 
char (*f) () = gethostbyname;
5385
 
#endif
5386
 
#ifdef __cplusplus
5387
 
}
5388
6190
#endif
5389
6191
 
5390
6192
int
5391
6193
main ()
5392
6194
{
5393
 
return f != gethostbyname;
 
6195
return gethostbyname ();
5394
6196
  ;
5395
6197
  return 0;
5396
6198
}
5397
6199
_ACEOF
5398
6200
rm -f conftest.$ac_objext conftest$ac_exeext
5399
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5400
 
  (eval $ac_link) 2>conftest.er1
 
6201
if { (ac_try="$ac_link"
 
6202
case "(($ac_try" in
 
6203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6204
  *) ac_try_echo=$ac_try;;
 
6205
esac
 
6206
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6207
  (eval "$ac_link") 2>conftest.er1
5401
6208
  ac_status=$?
5402
6209
  grep -v '^ *+' conftest.er1 >conftest.err
5403
6210
  rm -f conftest.er1
5404
6211
  cat conftest.err >&5
5405
6212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406
6213
  (exit $ac_status); } &&
5407
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5408
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409
 
  (eval $ac_try) 2>&5
 
6214
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6215
  { (case "(($ac_try" in
 
6216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6217
  *) ac_try_echo=$ac_try;;
 
6218
esac
 
6219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6220
  (eval "$ac_try") 2>&5
5410
6221
  ac_status=$?
5411
6222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412
6223
  (exit $ac_status); }; } &&
5413
6224
         { ac_try='test -s conftest$ac_exeext'
5414
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415
 
  (eval $ac_try) 2>&5
 
6225
  { (case "(($ac_try" in
 
6226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6227
  *) ac_try_echo=$ac_try;;
 
6228
esac
 
6229
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6230
  (eval "$ac_try") 2>&5
5416
6231
  ac_status=$?
5417
6232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418
6233
  (exit $ac_status); }; }; then
5421
6236
  echo "$as_me: failed program was:" >&5
5422
6237
sed 's/^/| /' conftest.$ac_ext >&5
5423
6238
 
5424
 
ac_cv_func_gethostbyname=no
 
6239
        ac_cv_func_gethostbyname=no
5425
6240
fi
5426
 
rm -f conftest.err conftest.$ac_objext \
 
6241
 
 
6242
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5427
6243
      conftest$ac_exeext conftest.$ac_ext
5428
6244
fi
5429
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5430
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
6245
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
6246
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
5431
6247
if test $ac_cv_func_gethostbyname = yes; then
5432
6248
  :
5433
6249
else
5434
 
  echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5435
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
6250
  { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
6251
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5436
6252
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5437
6253
  echo $ECHO_N "(cached) $ECHO_C" >&6
5438
6254
else
5445
6261
cat >>conftest.$ac_ext <<_ACEOF
5446
6262
/* end confdefs.h.  */
5447
6263
 
5448
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6264
/* Override any GCC internal prototype to avoid an error.
 
6265
   Use char because int might match the return type of a GCC
 
6266
   builtin and then its argument prototype would still apply.  */
5449
6267
#ifdef __cplusplus
5450
6268
extern "C"
5451
6269
#endif
5452
 
/* We use char because int might match the return type of a gcc2
5453
 
   builtin and then its argument prototype would still apply.  */
5454
6270
char gethostbyname ();
5455
6271
int
5456
6272
main ()
5457
6273
{
5458
 
gethostbyname ();
 
6274
return gethostbyname ();
5459
6275
  ;
5460
6276
  return 0;
5461
6277
}
5462
6278
_ACEOF
5463
6279
rm -f conftest.$ac_objext conftest$ac_exeext
5464
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5465
 
  (eval $ac_link) 2>conftest.er1
 
6280
if { (ac_try="$ac_link"
 
6281
case "(($ac_try" in
 
6282
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6283
  *) ac_try_echo=$ac_try;;
 
6284
esac
 
6285
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6286
  (eval "$ac_link") 2>conftest.er1
5466
6287
  ac_status=$?
5467
6288
  grep -v '^ *+' conftest.er1 >conftest.err
5468
6289
  rm -f conftest.er1
5469
6290
  cat conftest.err >&5
5470
6291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471
6292
  (exit $ac_status); } &&
5472
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5473
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474
 
  (eval $ac_try) 2>&5
 
6293
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6294
  { (case "(($ac_try" in
 
6295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6296
  *) ac_try_echo=$ac_try;;
 
6297
esac
 
6298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6299
  (eval "$ac_try") 2>&5
5475
6300
  ac_status=$?
5476
6301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477
6302
  (exit $ac_status); }; } &&
5478
6303
         { ac_try='test -s conftest$ac_exeext'
5479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480
 
  (eval $ac_try) 2>&5
 
6304
  { (case "(($ac_try" in
 
6305
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6306
  *) ac_try_echo=$ac_try;;
 
6307
esac
 
6308
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6309
  (eval "$ac_try") 2>&5
5481
6310
  ac_status=$?
5482
6311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483
6312
  (exit $ac_status); }; }; then
5486
6315
  echo "$as_me: failed program was:" >&5
5487
6316
sed 's/^/| /' conftest.$ac_ext >&5
5488
6317
 
5489
 
ac_cv_lib_nsl_gethostbyname=no
 
6318
        ac_cv_lib_nsl_gethostbyname=no
5490
6319
fi
5491
 
rm -f conftest.err conftest.$ac_objext \
 
6320
 
 
6321
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5492
6322
      conftest$ac_exeext conftest.$ac_ext
5493
6323
LIBS=$ac_check_lib_save_LIBS
5494
6324
fi
5495
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5496
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
6325
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
6326
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5497
6327
if test $ac_cv_lib_nsl_gethostbyname = yes; then
5498
6328
  NETLIBS="-lnsl $NETLIBS"
5499
6329
fi
5500
6330
 
5501
6331
fi
5502
6332
 
5503
 
echo "$as_me:$LINENO: checking for setsockopt" >&5
5504
 
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
 
6333
{ echo "$as_me:$LINENO: checking for setsockopt" >&5
 
6334
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; }
5505
6335
if test "${ac_cv_func_setsockopt+set}" = set; then
5506
6336
  echo $ECHO_N "(cached) $ECHO_C" >&6
5507
6337
else
5528
6358
 
5529
6359
#undef setsockopt
5530
6360
 
5531
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6361
/* Override any GCC internal prototype to avoid an error.
 
6362
   Use char because int might match the return type of a GCC
 
6363
   builtin and then its argument prototype would still apply.  */
5532
6364
#ifdef __cplusplus
5533
6365
extern "C"
5534
 
{
5535
6366
#endif
5536
 
/* We use char because int might match the return type of a gcc2
5537
 
   builtin and then its argument prototype would still apply.  */
5538
6367
char setsockopt ();
5539
6368
/* The GNU C library defines this for functions which it implements
5540
6369
    to always fail with ENOSYS.  Some functions are actually named
5541
6370
    something starting with __ and the normal name is an alias.  */
5542
 
#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
 
6371
#if defined __stub_setsockopt || defined __stub___setsockopt
5543
6372
choke me
5544
 
#else
5545
 
char (*f) () = setsockopt;
5546
 
#endif
5547
 
#ifdef __cplusplus
5548
 
}
5549
6373
#endif
5550
6374
 
5551
6375
int
5552
6376
main ()
5553
6377
{
5554
 
return f != setsockopt;
 
6378
return setsockopt ();
5555
6379
  ;
5556
6380
  return 0;
5557
6381
}
5558
6382
_ACEOF
5559
6383
rm -f conftest.$ac_objext conftest$ac_exeext
5560
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5561
 
  (eval $ac_link) 2>conftest.er1
 
6384
if { (ac_try="$ac_link"
 
6385
case "(($ac_try" in
 
6386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6387
  *) ac_try_echo=$ac_try;;
 
6388
esac
 
6389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6390
  (eval "$ac_link") 2>conftest.er1
5562
6391
  ac_status=$?
5563
6392
  grep -v '^ *+' conftest.er1 >conftest.err
5564
6393
  rm -f conftest.er1
5565
6394
  cat conftest.err >&5
5566
6395
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567
6396
  (exit $ac_status); } &&
5568
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570
 
  (eval $ac_try) 2>&5
 
6397
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6398
  { (case "(($ac_try" in
 
6399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6400
  *) ac_try_echo=$ac_try;;
 
6401
esac
 
6402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6403
  (eval "$ac_try") 2>&5
5571
6404
  ac_status=$?
5572
6405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573
6406
  (exit $ac_status); }; } &&
5574
6407
         { ac_try='test -s conftest$ac_exeext'
5575
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576
 
  (eval $ac_try) 2>&5
 
6408
  { (case "(($ac_try" in
 
6409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6410
  *) ac_try_echo=$ac_try;;
 
6411
esac
 
6412
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6413
  (eval "$ac_try") 2>&5
5577
6414
  ac_status=$?
5578
6415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579
6416
  (exit $ac_status); }; }; then
5582
6419
  echo "$as_me: failed program was:" >&5
5583
6420
sed 's/^/| /' conftest.$ac_ext >&5
5584
6421
 
5585
 
ac_cv_func_setsockopt=no
 
6422
        ac_cv_func_setsockopt=no
5586
6423
fi
5587
 
rm -f conftest.err conftest.$ac_objext \
 
6424
 
 
6425
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5588
6426
      conftest$ac_exeext conftest.$ac_ext
5589
6427
fi
5590
 
echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
5591
 
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
 
6428
{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
 
6429
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; }
5592
6430
if test $ac_cv_func_setsockopt = yes; then
5593
6431
  :
5594
6432
else
5595
 
  echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
5596
 
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
 
6433
  { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
 
6434
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
5597
6435
if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
5598
6436
  echo $ECHO_N "(cached) $ECHO_C" >&6
5599
6437
else
5606
6444
cat >>conftest.$ac_ext <<_ACEOF
5607
6445
/* end confdefs.h.  */
5608
6446
 
5609
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
6447
/* Override any GCC internal prototype to avoid an error.
 
6448
   Use char because int might match the return type of a GCC
 
6449
   builtin and then its argument prototype would still apply.  */
5610
6450
#ifdef __cplusplus
5611
6451
extern "C"
5612
6452
#endif
5613
 
/* We use char because int might match the return type of a gcc2
5614
 
   builtin and then its argument prototype would still apply.  */
5615
6453
char setsockopt ();
5616
6454
int
5617
6455
main ()
5618
6456
{
5619
 
setsockopt ();
 
6457
return setsockopt ();
5620
6458
  ;
5621
6459
  return 0;
5622
6460
}
5623
6461
_ACEOF
5624
6462
rm -f conftest.$ac_objext conftest$ac_exeext
5625
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5626
 
  (eval $ac_link) 2>conftest.er1
 
6463
if { (ac_try="$ac_link"
 
6464
case "(($ac_try" in
 
6465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6466
  *) ac_try_echo=$ac_try;;
 
6467
esac
 
6468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6469
  (eval "$ac_link") 2>conftest.er1
5627
6470
  ac_status=$?
5628
6471
  grep -v '^ *+' conftest.er1 >conftest.err
5629
6472
  rm -f conftest.er1
5630
6473
  cat conftest.err >&5
5631
6474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632
6475
  (exit $ac_status); } &&
5633
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5634
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635
 
  (eval $ac_try) 2>&5
 
6476
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6477
  { (case "(($ac_try" in
 
6478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6479
  *) ac_try_echo=$ac_try;;
 
6480
esac
 
6481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6482
  (eval "$ac_try") 2>&5
5636
6483
  ac_status=$?
5637
6484
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638
6485
  (exit $ac_status); }; } &&
5639
6486
         { ac_try='test -s conftest$ac_exeext'
5640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641
 
  (eval $ac_try) 2>&5
 
6487
  { (case "(($ac_try" in
 
6488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6489
  *) ac_try_echo=$ac_try;;
 
6490
esac
 
6491
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6492
  (eval "$ac_try") 2>&5
5642
6493
  ac_status=$?
5643
6494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644
6495
  (exit $ac_status); }; }; then
5647
6498
  echo "$as_me: failed program was:" >&5
5648
6499
sed 's/^/| /' conftest.$ac_ext >&5
5649
6500
 
5650
 
ac_cv_lib_socket_setsockopt=no
 
6501
        ac_cv_lib_socket_setsockopt=no
5651
6502
fi
5652
 
rm -f conftest.err conftest.$ac_objext \
 
6503
 
 
6504
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5653
6505
      conftest$ac_exeext conftest.$ac_ext
5654
6506
LIBS=$ac_check_lib_save_LIBS
5655
6507
fi
5656
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
5657
 
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
 
6508
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
 
6509
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
5658
6510
if test $ac_cv_lib_socket_setsockopt = yes; then
5659
6511
  NETLIBS="-lsocket $NETLIBS"
5660
6512
fi
5663
6515
 
5664
6516
 
5665
6517
 
5666
 
if test x"$try_hkp" = xyes || test x"$try_http" = xyes ; then
5667
 
   # Check whether --enable-dns-srv or --disable-dns-srv was given.
 
6518
if test x"$try_dns" = xyes ; then
 
6519
   if test x"$try_hkp" = xyes || test x"$try_http" = xyes ; then
 
6520
      # Check whether --enable-dns-srv was given.
5668
6521
if test "${enable_dns_srv+set}" = set; then
5669
 
  enableval="$enable_dns_srv"
5670
 
  use_dns_srv=$enableval
 
6522
  enableval=$enable_dns_srv; use_dns_srv=$enableval
5671
6523
else
5672
6524
  use_dns_srv=yes
5673
 
fi;
5674
6525
fi
5675
6526
 
5676
 
# Check whether --enable-dns-pka or --disable-dns-pka was given.
 
6527
   fi
 
6528
 
 
6529
   # Check whether --enable-dns-pka was given.
5677
6530
if test "${enable_dns_pka+set}" = set; then
5678
 
  enableval="$enable_dns_pka"
5679
 
  use_dns_pka=$enableval
 
6531
  enableval=$enable_dns_pka; use_dns_pka=$enableval
5680
6532
else
5681
6533
  use_dns_pka=yes
5682
 
fi;
5683
 
 
5684
 
# Check whether --enable-dns-cert or --disable-dns-cert was given.
 
6534
fi
 
6535
 
 
6536
 
 
6537
   # Check whether --enable-dns-cert was given.
5685
6538
if test "${enable_dns_cert+set}" = set; then
5686
 
  enableval="$enable_dns_cert"
5687
 
  use_dns_cert=$enableval
 
6539
  enableval=$enable_dns_cert; use_dns_cert=$enableval
5688
6540
else
5689
6541
  use_dns_cert=yes
5690
 
fi;
 
6542
fi
 
6543
 
 
6544
fi
5691
6545
 
5692
6546
if test x"$use_dns_pka" = xyes || test x"$use_dns_srv" = xyes || test x"$use_dns_cert" = xyes; then
5693
6547
  _dns_save_libs=$LIBS
5694
6548
  LIBS=""
5695
6549
  # the double underscore thing is a glibc-ism?
5696
 
  echo "$as_me:$LINENO: checking for library containing res_query" >&5
5697
 
echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6
5698
 
if test "${ac_cv_search_res_query+set}" = set; then
5699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5700
 
else
5701
 
  ac_func_search_save_LIBS=$LIBS
5702
 
ac_cv_search_res_query=no
5703
 
cat >conftest.$ac_ext <<_ACEOF
5704
 
/* confdefs.h.  */
5705
 
_ACEOF
5706
 
cat confdefs.h >>conftest.$ac_ext
5707
 
cat >>conftest.$ac_ext <<_ACEOF
5708
 
/* end confdefs.h.  */
5709
 
 
5710
 
/* Override any gcc2 internal prototype to avoid an error.  */
5711
 
#ifdef __cplusplus
5712
 
extern "C"
5713
 
#endif
5714
 
/* We use char because int might match the return type of a gcc2
5715
 
   builtin and then its argument prototype would still apply.  */
5716
 
char res_query ();
5717
 
int
5718
 
main ()
5719
 
{
5720
 
res_query ();
5721
 
  ;
5722
 
  return 0;
5723
 
}
5724
 
_ACEOF
5725
 
rm -f conftest.$ac_objext conftest$ac_exeext
5726
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5727
 
  (eval $ac_link) 2>conftest.er1
5728
 
  ac_status=$?
5729
 
  grep -v '^ *+' conftest.er1 >conftest.err
5730
 
  rm -f conftest.er1
5731
 
  cat conftest.err >&5
5732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733
 
  (exit $ac_status); } &&
5734
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5735
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5736
 
  (eval $ac_try) 2>&5
5737
 
  ac_status=$?
5738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739
 
  (exit $ac_status); }; } &&
5740
 
         { ac_try='test -s conftest$ac_exeext'
5741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742
 
  (eval $ac_try) 2>&5
5743
 
  ac_status=$?
5744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745
 
  (exit $ac_status); }; }; then
5746
 
  ac_cv_search_res_query="none required"
5747
 
else
5748
 
  echo "$as_me: failed program was:" >&5
5749
 
sed 's/^/| /' conftest.$ac_ext >&5
5750
 
 
5751
 
fi
5752
 
rm -f conftest.err conftest.$ac_objext \
5753
 
      conftest$ac_exeext conftest.$ac_ext
5754
 
if test "$ac_cv_search_res_query" = no; then
5755
 
  for ac_lib in resolv bind; do
5756
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5757
 
    cat >conftest.$ac_ext <<_ACEOF
5758
 
/* confdefs.h.  */
5759
 
_ACEOF
5760
 
cat confdefs.h >>conftest.$ac_ext
5761
 
cat >>conftest.$ac_ext <<_ACEOF
5762
 
/* end confdefs.h.  */
5763
 
 
5764
 
/* Override any gcc2 internal prototype to avoid an error.  */
5765
 
#ifdef __cplusplus
5766
 
extern "C"
5767
 
#endif
5768
 
/* We use char because int might match the return type of a gcc2
5769
 
   builtin and then its argument prototype would still apply.  */
5770
 
char res_query ();
5771
 
int
5772
 
main ()
5773
 
{
5774
 
res_query ();
5775
 
  ;
5776
 
  return 0;
5777
 
}
5778
 
_ACEOF
5779
 
rm -f conftest.$ac_objext conftest$ac_exeext
5780
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5781
 
  (eval $ac_link) 2>conftest.er1
5782
 
  ac_status=$?
5783
 
  grep -v '^ *+' conftest.er1 >conftest.err
5784
 
  rm -f conftest.er1
5785
 
  cat conftest.err >&5
5786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787
 
  (exit $ac_status); } &&
5788
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5789
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790
 
  (eval $ac_try) 2>&5
5791
 
  ac_status=$?
5792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793
 
  (exit $ac_status); }; } &&
5794
 
         { ac_try='test -s conftest$ac_exeext'
5795
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796
 
  (eval $ac_try) 2>&5
5797
 
  ac_status=$?
5798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799
 
  (exit $ac_status); }; }; then
5800
 
  ac_cv_search_res_query="-l$ac_lib"
5801
 
break
5802
 
else
5803
 
  echo "$as_me: failed program was:" >&5
5804
 
sed 's/^/| /' conftest.$ac_ext >&5
5805
 
 
5806
 
fi
5807
 
rm -f conftest.err conftest.$ac_objext \
5808
 
      conftest$ac_exeext conftest.$ac_ext
5809
 
  done
5810
 
fi
5811
 
LIBS=$ac_func_search_save_LIBS
5812
 
fi
5813
 
echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
5814
 
echo "${ECHO_T}$ac_cv_search_res_query" >&6
5815
 
if test "$ac_cv_search_res_query" != no; then
5816
 
  test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS"
5817
 
 
5818
 
else
5819
 
  echo "$as_me:$LINENO: checking for library containing __res_query" >&5
5820
 
echo $ECHO_N "checking for library containing __res_query... $ECHO_C" >&6
5821
 
if test "${ac_cv_search___res_query+set}" = set; then
5822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5823
 
else
5824
 
  ac_func_search_save_LIBS=$LIBS
5825
 
ac_cv_search___res_query=no
5826
 
cat >conftest.$ac_ext <<_ACEOF
5827
 
/* confdefs.h.  */
5828
 
_ACEOF
5829
 
cat confdefs.h >>conftest.$ac_ext
5830
 
cat >>conftest.$ac_ext <<_ACEOF
5831
 
/* end confdefs.h.  */
5832
 
 
5833
 
/* Override any gcc2 internal prototype to avoid an error.  */
5834
 
#ifdef __cplusplus
5835
 
extern "C"
5836
 
#endif
5837
 
/* We use char because int might match the return type of a gcc2
5838
 
   builtin and then its argument prototype would still apply.  */
5839
 
char __res_query ();
5840
 
int
5841
 
main ()
5842
 
{
5843
 
__res_query ();
5844
 
  ;
5845
 
  return 0;
5846
 
}
5847
 
_ACEOF
5848
 
rm -f conftest.$ac_objext conftest$ac_exeext
5849
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5850
 
  (eval $ac_link) 2>conftest.er1
5851
 
  ac_status=$?
5852
 
  grep -v '^ *+' conftest.er1 >conftest.err
5853
 
  rm -f conftest.er1
5854
 
  cat conftest.err >&5
5855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856
 
  (exit $ac_status); } &&
5857
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859
 
  (eval $ac_try) 2>&5
5860
 
  ac_status=$?
5861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862
 
  (exit $ac_status); }; } &&
5863
 
         { ac_try='test -s conftest$ac_exeext'
5864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865
 
  (eval $ac_try) 2>&5
5866
 
  ac_status=$?
5867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868
 
  (exit $ac_status); }; }; then
5869
 
  ac_cv_search___res_query="none required"
5870
 
else
5871
 
  echo "$as_me: failed program was:" >&5
5872
 
sed 's/^/| /' conftest.$ac_ext >&5
5873
 
 
5874
 
fi
5875
 
rm -f conftest.err conftest.$ac_objext \
5876
 
      conftest$ac_exeext conftest.$ac_ext
5877
 
if test "$ac_cv_search___res_query" = no; then
5878
 
  for ac_lib in resolv bind; do
5879
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5880
 
    cat >conftest.$ac_ext <<_ACEOF
5881
 
/* confdefs.h.  */
5882
 
_ACEOF
5883
 
cat confdefs.h >>conftest.$ac_ext
5884
 
cat >>conftest.$ac_ext <<_ACEOF
5885
 
/* end confdefs.h.  */
5886
 
 
5887
 
/* Override any gcc2 internal prototype to avoid an error.  */
5888
 
#ifdef __cplusplus
5889
 
extern "C"
5890
 
#endif
5891
 
/* We use char because int might match the return type of a gcc2
5892
 
   builtin and then its argument prototype would still apply.  */
5893
 
char __res_query ();
5894
 
int
5895
 
main ()
5896
 
{
5897
 
__res_query ();
5898
 
  ;
5899
 
  return 0;
5900
 
}
5901
 
_ACEOF
5902
 
rm -f conftest.$ac_objext conftest$ac_exeext
5903
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904
 
  (eval $ac_link) 2>conftest.er1
5905
 
  ac_status=$?
5906
 
  grep -v '^ *+' conftest.er1 >conftest.err
5907
 
  rm -f conftest.er1
5908
 
  cat conftest.err >&5
5909
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910
 
  (exit $ac_status); } &&
5911
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5913
 
  (eval $ac_try) 2>&5
5914
 
  ac_status=$?
5915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916
 
  (exit $ac_status); }; } &&
5917
 
         { ac_try='test -s conftest$ac_exeext'
5918
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5919
 
  (eval $ac_try) 2>&5
5920
 
  ac_status=$?
5921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922
 
  (exit $ac_status); }; }; then
5923
 
  ac_cv_search___res_query="-l$ac_lib"
5924
 
break
5925
 
else
5926
 
  echo "$as_me: failed program was:" >&5
5927
 
sed 's/^/| /' conftest.$ac_ext >&5
5928
 
 
5929
 
fi
5930
 
rm -f conftest.err conftest.$ac_objext \
5931
 
      conftest$ac_exeext conftest.$ac_ext
5932
 
  done
5933
 
fi
5934
 
LIBS=$ac_func_search_save_LIBS
5935
 
fi
5936
 
echo "$as_me:$LINENO: result: $ac_cv_search___res_query" >&5
5937
 
echo "${ECHO_T}$ac_cv_search___res_query" >&6
5938
 
if test "$ac_cv_search___res_query" != no; then
5939
 
  test "$ac_cv_search___res_query" = "none required" || LIBS="$ac_cv_search___res_query $LIBS"
5940
 
 
5941
 
else
5942
 
  have_resolver=no
5943
 
fi
5944
 
 
5945
 
fi
5946
 
 
5947
 
  echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
5948
 
echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
5949
 
if test "${ac_cv_search_dn_expand+set}" = set; then
5950
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5951
 
else
5952
 
  ac_func_search_save_LIBS=$LIBS
5953
 
ac_cv_search_dn_expand=no
5954
 
cat >conftest.$ac_ext <<_ACEOF
5955
 
/* confdefs.h.  */
5956
 
_ACEOF
5957
 
cat confdefs.h >>conftest.$ac_ext
5958
 
cat >>conftest.$ac_ext <<_ACEOF
5959
 
/* end confdefs.h.  */
5960
 
 
5961
 
/* Override any gcc2 internal prototype to avoid an error.  */
5962
 
#ifdef __cplusplus
5963
 
extern "C"
5964
 
#endif
5965
 
/* We use char because int might match the return type of a gcc2
5966
 
   builtin and then its argument prototype would still apply.  */
5967
 
char dn_expand ();
5968
 
int
5969
 
main ()
5970
 
{
5971
 
dn_expand ();
5972
 
  ;
5973
 
  return 0;
5974
 
}
5975
 
_ACEOF
5976
 
rm -f conftest.$ac_objext conftest$ac_exeext
5977
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5978
 
  (eval $ac_link) 2>conftest.er1
5979
 
  ac_status=$?
5980
 
  grep -v '^ *+' conftest.er1 >conftest.err
5981
 
  rm -f conftest.er1
5982
 
  cat conftest.err >&5
5983
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984
 
  (exit $ac_status); } &&
5985
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987
 
  (eval $ac_try) 2>&5
5988
 
  ac_status=$?
5989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990
 
  (exit $ac_status); }; } &&
5991
 
         { ac_try='test -s conftest$ac_exeext'
5992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993
 
  (eval $ac_try) 2>&5
5994
 
  ac_status=$?
5995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996
 
  (exit $ac_status); }; }; then
5997
 
  ac_cv_search_dn_expand="none required"
5998
 
else
5999
 
  echo "$as_me: failed program was:" >&5
6000
 
sed 's/^/| /' conftest.$ac_ext >&5
6001
 
 
6002
 
fi
6003
 
rm -f conftest.err conftest.$ac_objext \
6004
 
      conftest$ac_exeext conftest.$ac_ext
6005
 
if test "$ac_cv_search_dn_expand" = no; then
6006
 
  for ac_lib in resolv bind; do
6007
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6008
 
    cat >conftest.$ac_ext <<_ACEOF
6009
 
/* confdefs.h.  */
6010
 
_ACEOF
6011
 
cat confdefs.h >>conftest.$ac_ext
6012
 
cat >>conftest.$ac_ext <<_ACEOF
6013
 
/* end confdefs.h.  */
6014
 
 
6015
 
/* Override any gcc2 internal prototype to avoid an error.  */
6016
 
#ifdef __cplusplus
6017
 
extern "C"
6018
 
#endif
6019
 
/* We use char because int might match the return type of a gcc2
6020
 
   builtin and then its argument prototype would still apply.  */
6021
 
char dn_expand ();
6022
 
int
6023
 
main ()
6024
 
{
6025
 
dn_expand ();
6026
 
  ;
6027
 
  return 0;
6028
 
}
6029
 
_ACEOF
6030
 
rm -f conftest.$ac_objext conftest$ac_exeext
6031
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6032
 
  (eval $ac_link) 2>conftest.er1
6033
 
  ac_status=$?
6034
 
  grep -v '^ *+' conftest.er1 >conftest.err
6035
 
  rm -f conftest.er1
6036
 
  cat conftest.err >&5
6037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038
 
  (exit $ac_status); } &&
6039
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6041
 
  (eval $ac_try) 2>&5
6042
 
  ac_status=$?
6043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044
 
  (exit $ac_status); }; } &&
6045
 
         { ac_try='test -s conftest$ac_exeext'
6046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6047
 
  (eval $ac_try) 2>&5
6048
 
  ac_status=$?
6049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050
 
  (exit $ac_status); }; }; then
6051
 
  ac_cv_search_dn_expand="-l$ac_lib"
6052
 
break
6053
 
else
6054
 
  echo "$as_me: failed program was:" >&5
6055
 
sed 's/^/| /' conftest.$ac_ext >&5
6056
 
 
6057
 
fi
6058
 
rm -f conftest.err conftest.$ac_objext \
6059
 
      conftest$ac_exeext conftest.$ac_ext
6060
 
  done
6061
 
fi
6062
 
LIBS=$ac_func_search_save_LIBS
6063
 
fi
6064
 
echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
6065
 
echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
6066
 
if test "$ac_cv_search_dn_expand" != no; then
6067
 
  test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
6068
 
 
6069
 
else
6070
 
  echo "$as_me:$LINENO: checking for library containing __dn_expand" >&5
6071
 
echo $ECHO_N "checking for library containing __dn_expand... $ECHO_C" >&6
6072
 
if test "${ac_cv_search___dn_expand+set}" = set; then
6073
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6074
 
else
6075
 
  ac_func_search_save_LIBS=$LIBS
6076
 
ac_cv_search___dn_expand=no
6077
 
cat >conftest.$ac_ext <<_ACEOF
6078
 
/* confdefs.h.  */
6079
 
_ACEOF
6080
 
cat confdefs.h >>conftest.$ac_ext
6081
 
cat >>conftest.$ac_ext <<_ACEOF
6082
 
/* end confdefs.h.  */
6083
 
 
6084
 
/* Override any gcc2 internal prototype to avoid an error.  */
6085
 
#ifdef __cplusplus
6086
 
extern "C"
6087
 
#endif
6088
 
/* We use char because int might match the return type of a gcc2
6089
 
   builtin and then its argument prototype would still apply.  */
6090
 
char __dn_expand ();
6091
 
int
6092
 
main ()
6093
 
{
6094
 
__dn_expand ();
6095
 
  ;
6096
 
  return 0;
6097
 
}
6098
 
_ACEOF
6099
 
rm -f conftest.$ac_objext conftest$ac_exeext
6100
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6101
 
  (eval $ac_link) 2>conftest.er1
6102
 
  ac_status=$?
6103
 
  grep -v '^ *+' conftest.er1 >conftest.err
6104
 
  rm -f conftest.er1
6105
 
  cat conftest.err >&5
6106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107
 
  (exit $ac_status); } &&
6108
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6109
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110
 
  (eval $ac_try) 2>&5
6111
 
  ac_status=$?
6112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113
 
  (exit $ac_status); }; } &&
6114
 
         { ac_try='test -s conftest$ac_exeext'
6115
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116
 
  (eval $ac_try) 2>&5
6117
 
  ac_status=$?
6118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119
 
  (exit $ac_status); }; }; then
6120
 
  ac_cv_search___dn_expand="none required"
6121
 
else
6122
 
  echo "$as_me: failed program was:" >&5
6123
 
sed 's/^/| /' conftest.$ac_ext >&5
6124
 
 
6125
 
fi
6126
 
rm -f conftest.err conftest.$ac_objext \
6127
 
      conftest$ac_exeext conftest.$ac_ext
6128
 
if test "$ac_cv_search___dn_expand" = no; then
6129
 
  for ac_lib in resolv bind; do
6130
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6131
 
    cat >conftest.$ac_ext <<_ACEOF
6132
 
/* confdefs.h.  */
6133
 
_ACEOF
6134
 
cat confdefs.h >>conftest.$ac_ext
6135
 
cat >>conftest.$ac_ext <<_ACEOF
6136
 
/* end confdefs.h.  */
6137
 
 
6138
 
/* Override any gcc2 internal prototype to avoid an error.  */
6139
 
#ifdef __cplusplus
6140
 
extern "C"
6141
 
#endif
6142
 
/* We use char because int might match the return type of a gcc2
6143
 
   builtin and then its argument prototype would still apply.  */
6144
 
char __dn_expand ();
6145
 
int
6146
 
main ()
6147
 
{
6148
 
__dn_expand ();
6149
 
  ;
6150
 
  return 0;
6151
 
}
6152
 
_ACEOF
6153
 
rm -f conftest.$ac_objext conftest$ac_exeext
6154
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6155
 
  (eval $ac_link) 2>conftest.er1
6156
 
  ac_status=$?
6157
 
  grep -v '^ *+' conftest.er1 >conftest.err
6158
 
  rm -f conftest.er1
6159
 
  cat conftest.err >&5
6160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161
 
  (exit $ac_status); } &&
6162
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6163
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164
 
  (eval $ac_try) 2>&5
6165
 
  ac_status=$?
6166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167
 
  (exit $ac_status); }; } &&
6168
 
         { ac_try='test -s conftest$ac_exeext'
6169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170
 
  (eval $ac_try) 2>&5
6171
 
  ac_status=$?
6172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173
 
  (exit $ac_status); }; }; then
6174
 
  ac_cv_search___dn_expand="-l$ac_lib"
6175
 
break
6176
 
else
6177
 
  echo "$as_me: failed program was:" >&5
6178
 
sed 's/^/| /' conftest.$ac_ext >&5
6179
 
 
6180
 
fi
6181
 
rm -f conftest.err conftest.$ac_objext \
6182
 
      conftest$ac_exeext conftest.$ac_ext
6183
 
  done
6184
 
fi
6185
 
LIBS=$ac_func_search_save_LIBS
6186
 
fi
6187
 
echo "$as_me:$LINENO: result: $ac_cv_search___dn_expand" >&5
6188
 
echo "${ECHO_T}$ac_cv_search___dn_expand" >&6
6189
 
if test "$ac_cv_search___dn_expand" != no; then
6190
 
  test "$ac_cv_search___dn_expand" = "none required" || LIBS="$ac_cv_search___dn_expand $LIBS"
6191
 
 
6192
 
else
6193
 
  have_resolver=no
6194
 
fi
6195
 
 
6196
 
fi
6197
 
 
6198
 
  echo "$as_me:$LINENO: checking for library containing dn_skipname" >&5
6199
 
echo $ECHO_N "checking for library containing dn_skipname... $ECHO_C" >&6
6200
 
if test "${ac_cv_search_dn_skipname+set}" = set; then
6201
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6202
 
else
6203
 
  ac_func_search_save_LIBS=$LIBS
6204
 
ac_cv_search_dn_skipname=no
6205
 
cat >conftest.$ac_ext <<_ACEOF
6206
 
/* confdefs.h.  */
6207
 
_ACEOF
6208
 
cat confdefs.h >>conftest.$ac_ext
6209
 
cat >>conftest.$ac_ext <<_ACEOF
6210
 
/* end confdefs.h.  */
6211
 
 
6212
 
/* Override any gcc2 internal prototype to avoid an error.  */
6213
 
#ifdef __cplusplus
6214
 
extern "C"
6215
 
#endif
6216
 
/* We use char because int might match the return type of a gcc2
6217
 
   builtin and then its argument prototype would still apply.  */
6218
 
char dn_skipname ();
6219
 
int
6220
 
main ()
6221
 
{
6222
 
dn_skipname ();
6223
 
  ;
6224
 
  return 0;
6225
 
}
6226
 
_ACEOF
6227
 
rm -f conftest.$ac_objext conftest$ac_exeext
6228
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6229
 
  (eval $ac_link) 2>conftest.er1
6230
 
  ac_status=$?
6231
 
  grep -v '^ *+' conftest.er1 >conftest.err
6232
 
  rm -f conftest.er1
6233
 
  cat conftest.err >&5
6234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235
 
  (exit $ac_status); } &&
6236
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6237
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6238
 
  (eval $ac_try) 2>&5
6239
 
  ac_status=$?
6240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241
 
  (exit $ac_status); }; } &&
6242
 
         { ac_try='test -s conftest$ac_exeext'
6243
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244
 
  (eval $ac_try) 2>&5
6245
 
  ac_status=$?
6246
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247
 
  (exit $ac_status); }; }; then
6248
 
  ac_cv_search_dn_skipname="none required"
6249
 
else
6250
 
  echo "$as_me: failed program was:" >&5
6251
 
sed 's/^/| /' conftest.$ac_ext >&5
6252
 
 
6253
 
fi
6254
 
rm -f conftest.err conftest.$ac_objext \
6255
 
      conftest$ac_exeext conftest.$ac_ext
6256
 
if test "$ac_cv_search_dn_skipname" = no; then
6257
 
  for ac_lib in resolv bind; do
6258
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6259
 
    cat >conftest.$ac_ext <<_ACEOF
6260
 
/* confdefs.h.  */
6261
 
_ACEOF
6262
 
cat confdefs.h >>conftest.$ac_ext
6263
 
cat >>conftest.$ac_ext <<_ACEOF
6264
 
/* end confdefs.h.  */
6265
 
 
6266
 
/* Override any gcc2 internal prototype to avoid an error.  */
6267
 
#ifdef __cplusplus
6268
 
extern "C"
6269
 
#endif
6270
 
/* We use char because int might match the return type of a gcc2
6271
 
   builtin and then its argument prototype would still apply.  */
6272
 
char dn_skipname ();
6273
 
int
6274
 
main ()
6275
 
{
6276
 
dn_skipname ();
6277
 
  ;
6278
 
  return 0;
6279
 
}
6280
 
_ACEOF
6281
 
rm -f conftest.$ac_objext conftest$ac_exeext
6282
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6283
 
  (eval $ac_link) 2>conftest.er1
6284
 
  ac_status=$?
6285
 
  grep -v '^ *+' conftest.er1 >conftest.err
6286
 
  rm -f conftest.er1
6287
 
  cat conftest.err >&5
6288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289
 
  (exit $ac_status); } &&
6290
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6291
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6292
 
  (eval $ac_try) 2>&5
6293
 
  ac_status=$?
6294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295
 
  (exit $ac_status); }; } &&
6296
 
         { ac_try='test -s conftest$ac_exeext'
6297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298
 
  (eval $ac_try) 2>&5
6299
 
  ac_status=$?
6300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301
 
  (exit $ac_status); }; }; then
6302
 
  ac_cv_search_dn_skipname="-l$ac_lib"
6303
 
break
6304
 
else
6305
 
  echo "$as_me: failed program was:" >&5
6306
 
sed 's/^/| /' conftest.$ac_ext >&5
6307
 
 
6308
 
fi
6309
 
rm -f conftest.err conftest.$ac_objext \
6310
 
      conftest$ac_exeext conftest.$ac_ext
6311
 
  done
6312
 
fi
6313
 
LIBS=$ac_func_search_save_LIBS
6314
 
fi
6315
 
echo "$as_me:$LINENO: result: $ac_cv_search_dn_skipname" >&5
6316
 
echo "${ECHO_T}$ac_cv_search_dn_skipname" >&6
6317
 
if test "$ac_cv_search_dn_skipname" != no; then
6318
 
  test "$ac_cv_search_dn_skipname" = "none required" || LIBS="$ac_cv_search_dn_skipname $LIBS"
6319
 
 
6320
 
else
6321
 
  echo "$as_me:$LINENO: checking for library containing __dn_skipname" >&5
6322
 
echo $ECHO_N "checking for library containing __dn_skipname... $ECHO_C" >&6
6323
 
if test "${ac_cv_search___dn_skipname+set}" = set; then
6324
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6325
 
else
6326
 
  ac_func_search_save_LIBS=$LIBS
6327
 
ac_cv_search___dn_skipname=no
6328
 
cat >conftest.$ac_ext <<_ACEOF
6329
 
/* confdefs.h.  */
6330
 
_ACEOF
6331
 
cat confdefs.h >>conftest.$ac_ext
6332
 
cat >>conftest.$ac_ext <<_ACEOF
6333
 
/* end confdefs.h.  */
6334
 
 
6335
 
/* Override any gcc2 internal prototype to avoid an error.  */
6336
 
#ifdef __cplusplus
6337
 
extern "C"
6338
 
#endif
6339
 
/* We use char because int might match the return type of a gcc2
6340
 
   builtin and then its argument prototype would still apply.  */
6341
 
char __dn_skipname ();
6342
 
int
6343
 
main ()
6344
 
{
6345
 
__dn_skipname ();
6346
 
  ;
6347
 
  return 0;
6348
 
}
6349
 
_ACEOF
6350
 
rm -f conftest.$ac_objext conftest$ac_exeext
6351
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6352
 
  (eval $ac_link) 2>conftest.er1
6353
 
  ac_status=$?
6354
 
  grep -v '^ *+' conftest.er1 >conftest.err
6355
 
  rm -f conftest.er1
6356
 
  cat conftest.err >&5
6357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358
 
  (exit $ac_status); } &&
6359
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6360
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361
 
  (eval $ac_try) 2>&5
6362
 
  ac_status=$?
6363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364
 
  (exit $ac_status); }; } &&
6365
 
         { ac_try='test -s conftest$ac_exeext'
6366
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367
 
  (eval $ac_try) 2>&5
6368
 
  ac_status=$?
6369
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
 
  (exit $ac_status); }; }; then
6371
 
  ac_cv_search___dn_skipname="none required"
6372
 
else
6373
 
  echo "$as_me: failed program was:" >&5
6374
 
sed 's/^/| /' conftest.$ac_ext >&5
6375
 
 
6376
 
fi
6377
 
rm -f conftest.err conftest.$ac_objext \
6378
 
      conftest$ac_exeext conftest.$ac_ext
6379
 
if test "$ac_cv_search___dn_skipname" = no; then
6380
 
  for ac_lib in resolv bind; do
6381
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6382
 
    cat >conftest.$ac_ext <<_ACEOF
6383
 
/* confdefs.h.  */
6384
 
_ACEOF
6385
 
cat confdefs.h >>conftest.$ac_ext
6386
 
cat >>conftest.$ac_ext <<_ACEOF
6387
 
/* end confdefs.h.  */
6388
 
 
6389
 
/* Override any gcc2 internal prototype to avoid an error.  */
6390
 
#ifdef __cplusplus
6391
 
extern "C"
6392
 
#endif
6393
 
/* We use char because int might match the return type of a gcc2
6394
 
   builtin and then its argument prototype would still apply.  */
6395
 
char __dn_skipname ();
6396
 
int
6397
 
main ()
6398
 
{
6399
 
__dn_skipname ();
6400
 
  ;
6401
 
  return 0;
6402
 
}
6403
 
_ACEOF
6404
 
rm -f conftest.$ac_objext conftest$ac_exeext
6405
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6406
 
  (eval $ac_link) 2>conftest.er1
6407
 
  ac_status=$?
6408
 
  grep -v '^ *+' conftest.er1 >conftest.err
6409
 
  rm -f conftest.er1
6410
 
  cat conftest.err >&5
6411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412
 
  (exit $ac_status); } &&
6413
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6414
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415
 
  (eval $ac_try) 2>&5
6416
 
  ac_status=$?
6417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418
 
  (exit $ac_status); }; } &&
6419
 
         { ac_try='test -s conftest$ac_exeext'
6420
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421
 
  (eval $ac_try) 2>&5
6422
 
  ac_status=$?
6423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424
 
  (exit $ac_status); }; }; then
6425
 
  ac_cv_search___dn_skipname="-l$ac_lib"
6426
 
break
6427
 
else
6428
 
  echo "$as_me: failed program was:" >&5
6429
 
sed 's/^/| /' conftest.$ac_ext >&5
6430
 
 
6431
 
fi
6432
 
rm -f conftest.err conftest.$ac_objext \
6433
 
      conftest$ac_exeext conftest.$ac_ext
6434
 
  done
6435
 
fi
6436
 
LIBS=$ac_func_search_save_LIBS
6437
 
fi
6438
 
echo "$as_me:$LINENO: result: $ac_cv_search___dn_skipname" >&5
6439
 
echo "${ECHO_T}$ac_cv_search___dn_skipname" >&6
6440
 
if test "$ac_cv_search___dn_skipname" != no; then
6441
 
  test "$ac_cv_search___dn_skipname" = "none required" || LIBS="$ac_cv_search___dn_skipname $LIBS"
 
6550
  { echo "$as_me:$LINENO: checking for library containing res_query" >&5
 
6551
echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; }
 
6552
if test "${ac_cv_search_res_query+set}" = set; then
 
6553
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6554
else
 
6555
  ac_func_search_save_LIBS=$LIBS
 
6556
cat >conftest.$ac_ext <<_ACEOF
 
6557
/* confdefs.h.  */
 
6558
_ACEOF
 
6559
cat confdefs.h >>conftest.$ac_ext
 
6560
cat >>conftest.$ac_ext <<_ACEOF
 
6561
/* end confdefs.h.  */
 
6562
 
 
6563
/* Override any GCC internal prototype to avoid an error.
 
6564
   Use char because int might match the return type of a GCC
 
6565
   builtin and then its argument prototype would still apply.  */
 
6566
#ifdef __cplusplus
 
6567
extern "C"
 
6568
#endif
 
6569
char res_query ();
 
6570
int
 
6571
main ()
 
6572
{
 
6573
return res_query ();
 
6574
  ;
 
6575
  return 0;
 
6576
}
 
6577
_ACEOF
 
6578
for ac_lib in '' resolv bind; do
 
6579
  if test -z "$ac_lib"; then
 
6580
    ac_res="none required"
 
6581
  else
 
6582
    ac_res=-l$ac_lib
 
6583
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
6584
  fi
 
6585
  rm -f conftest.$ac_objext conftest$ac_exeext
 
6586
if { (ac_try="$ac_link"
 
6587
case "(($ac_try" in
 
6588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6589
  *) ac_try_echo=$ac_try;;
 
6590
esac
 
6591
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6592
  (eval "$ac_link") 2>conftest.er1
 
6593
  ac_status=$?
 
6594
  grep -v '^ *+' conftest.er1 >conftest.err
 
6595
  rm -f conftest.er1
 
6596
  cat conftest.err >&5
 
6597
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6598
  (exit $ac_status); } &&
 
6599
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6600
  { (case "(($ac_try" in
 
6601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6602
  *) ac_try_echo=$ac_try;;
 
6603
esac
 
6604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6605
  (eval "$ac_try") 2>&5
 
6606
  ac_status=$?
 
6607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6608
  (exit $ac_status); }; } &&
 
6609
         { ac_try='test -s conftest$ac_exeext'
 
6610
  { (case "(($ac_try" in
 
6611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6612
  *) ac_try_echo=$ac_try;;
 
6613
esac
 
6614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6615
  (eval "$ac_try") 2>&5
 
6616
  ac_status=$?
 
6617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6618
  (exit $ac_status); }; }; then
 
6619
  ac_cv_search_res_query=$ac_res
 
6620
else
 
6621
  echo "$as_me: failed program was:" >&5
 
6622
sed 's/^/| /' conftest.$ac_ext >&5
 
6623
 
 
6624
 
 
6625
fi
 
6626
 
 
6627
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6628
      conftest$ac_exeext
 
6629
  if test "${ac_cv_search_res_query+set}" = set; then
 
6630
  break
 
6631
fi
 
6632
done
 
6633
if test "${ac_cv_search_res_query+set}" = set; then
 
6634
  :
 
6635
else
 
6636
  ac_cv_search_res_query=no
 
6637
fi
 
6638
rm conftest.$ac_ext
 
6639
LIBS=$ac_func_search_save_LIBS
 
6640
fi
 
6641
{ echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
 
6642
echo "${ECHO_T}$ac_cv_search_res_query" >&6; }
 
6643
ac_res=$ac_cv_search_res_query
 
6644
if test "$ac_res" != no; then
 
6645
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
6646
 
 
6647
else
 
6648
  { echo "$as_me:$LINENO: checking for library containing __res_query" >&5
 
6649
echo $ECHO_N "checking for library containing __res_query... $ECHO_C" >&6; }
 
6650
if test "${ac_cv_search___res_query+set}" = set; then
 
6651
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6652
else
 
6653
  ac_func_search_save_LIBS=$LIBS
 
6654
cat >conftest.$ac_ext <<_ACEOF
 
6655
/* confdefs.h.  */
 
6656
_ACEOF
 
6657
cat confdefs.h >>conftest.$ac_ext
 
6658
cat >>conftest.$ac_ext <<_ACEOF
 
6659
/* end confdefs.h.  */
 
6660
 
 
6661
/* Override any GCC internal prototype to avoid an error.
 
6662
   Use char because int might match the return type of a GCC
 
6663
   builtin and then its argument prototype would still apply.  */
 
6664
#ifdef __cplusplus
 
6665
extern "C"
 
6666
#endif
 
6667
char __res_query ();
 
6668
int
 
6669
main ()
 
6670
{
 
6671
return __res_query ();
 
6672
  ;
 
6673
  return 0;
 
6674
}
 
6675
_ACEOF
 
6676
for ac_lib in '' resolv bind; do
 
6677
  if test -z "$ac_lib"; then
 
6678
    ac_res="none required"
 
6679
  else
 
6680
    ac_res=-l$ac_lib
 
6681
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
6682
  fi
 
6683
  rm -f conftest.$ac_objext conftest$ac_exeext
 
6684
if { (ac_try="$ac_link"
 
6685
case "(($ac_try" in
 
6686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6687
  *) ac_try_echo=$ac_try;;
 
6688
esac
 
6689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6690
  (eval "$ac_link") 2>conftest.er1
 
6691
  ac_status=$?
 
6692
  grep -v '^ *+' conftest.er1 >conftest.err
 
6693
  rm -f conftest.er1
 
6694
  cat conftest.err >&5
 
6695
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6696
  (exit $ac_status); } &&
 
6697
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6698
  { (case "(($ac_try" in
 
6699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6700
  *) ac_try_echo=$ac_try;;
 
6701
esac
 
6702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6703
  (eval "$ac_try") 2>&5
 
6704
  ac_status=$?
 
6705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6706
  (exit $ac_status); }; } &&
 
6707
         { ac_try='test -s conftest$ac_exeext'
 
6708
  { (case "(($ac_try" in
 
6709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6710
  *) ac_try_echo=$ac_try;;
 
6711
esac
 
6712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6713
  (eval "$ac_try") 2>&5
 
6714
  ac_status=$?
 
6715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6716
  (exit $ac_status); }; }; then
 
6717
  ac_cv_search___res_query=$ac_res
 
6718
else
 
6719
  echo "$as_me: failed program was:" >&5
 
6720
sed 's/^/| /' conftest.$ac_ext >&5
 
6721
 
 
6722
 
 
6723
fi
 
6724
 
 
6725
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6726
      conftest$ac_exeext
 
6727
  if test "${ac_cv_search___res_query+set}" = set; then
 
6728
  break
 
6729
fi
 
6730
done
 
6731
if test "${ac_cv_search___res_query+set}" = set; then
 
6732
  :
 
6733
else
 
6734
  ac_cv_search___res_query=no
 
6735
fi
 
6736
rm conftest.$ac_ext
 
6737
LIBS=$ac_func_search_save_LIBS
 
6738
fi
 
6739
{ echo "$as_me:$LINENO: result: $ac_cv_search___res_query" >&5
 
6740
echo "${ECHO_T}$ac_cv_search___res_query" >&6; }
 
6741
ac_res=$ac_cv_search___res_query
 
6742
if test "$ac_res" != no; then
 
6743
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
6744
 
 
6745
else
 
6746
  have_resolver=no
 
6747
fi
 
6748
 
 
6749
fi
 
6750
 
 
6751
  { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
 
6752
echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; }
 
6753
if test "${ac_cv_search_dn_expand+set}" = set; then
 
6754
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6755
else
 
6756
  ac_func_search_save_LIBS=$LIBS
 
6757
cat >conftest.$ac_ext <<_ACEOF
 
6758
/* confdefs.h.  */
 
6759
_ACEOF
 
6760
cat confdefs.h >>conftest.$ac_ext
 
6761
cat >>conftest.$ac_ext <<_ACEOF
 
6762
/* end confdefs.h.  */
 
6763
 
 
6764
/* Override any GCC internal prototype to avoid an error.
 
6765
   Use char because int might match the return type of a GCC
 
6766
   builtin and then its argument prototype would still apply.  */
 
6767
#ifdef __cplusplus
 
6768
extern "C"
 
6769
#endif
 
6770
char dn_expand ();
 
6771
int
 
6772
main ()
 
6773
{
 
6774
return dn_expand ();
 
6775
  ;
 
6776
  return 0;
 
6777
}
 
6778
_ACEOF
 
6779
for ac_lib in '' resolv bind; do
 
6780
  if test -z "$ac_lib"; then
 
6781
    ac_res="none required"
 
6782
  else
 
6783
    ac_res=-l$ac_lib
 
6784
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
6785
  fi
 
6786
  rm -f conftest.$ac_objext conftest$ac_exeext
 
6787
if { (ac_try="$ac_link"
 
6788
case "(($ac_try" in
 
6789
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6790
  *) ac_try_echo=$ac_try;;
 
6791
esac
 
6792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6793
  (eval "$ac_link") 2>conftest.er1
 
6794
  ac_status=$?
 
6795
  grep -v '^ *+' conftest.er1 >conftest.err
 
6796
  rm -f conftest.er1
 
6797
  cat conftest.err >&5
 
6798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6799
  (exit $ac_status); } &&
 
6800
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6801
  { (case "(($ac_try" in
 
6802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6803
  *) ac_try_echo=$ac_try;;
 
6804
esac
 
6805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6806
  (eval "$ac_try") 2>&5
 
6807
  ac_status=$?
 
6808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6809
  (exit $ac_status); }; } &&
 
6810
         { ac_try='test -s conftest$ac_exeext'
 
6811
  { (case "(($ac_try" in
 
6812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6813
  *) ac_try_echo=$ac_try;;
 
6814
esac
 
6815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6816
  (eval "$ac_try") 2>&5
 
6817
  ac_status=$?
 
6818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6819
  (exit $ac_status); }; }; then
 
6820
  ac_cv_search_dn_expand=$ac_res
 
6821
else
 
6822
  echo "$as_me: failed program was:" >&5
 
6823
sed 's/^/| /' conftest.$ac_ext >&5
 
6824
 
 
6825
 
 
6826
fi
 
6827
 
 
6828
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6829
      conftest$ac_exeext
 
6830
  if test "${ac_cv_search_dn_expand+set}" = set; then
 
6831
  break
 
6832
fi
 
6833
done
 
6834
if test "${ac_cv_search_dn_expand+set}" = set; then
 
6835
  :
 
6836
else
 
6837
  ac_cv_search_dn_expand=no
 
6838
fi
 
6839
rm conftest.$ac_ext
 
6840
LIBS=$ac_func_search_save_LIBS
 
6841
fi
 
6842
{ echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
 
6843
echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; }
 
6844
ac_res=$ac_cv_search_dn_expand
 
6845
if test "$ac_res" != no; then
 
6846
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
6847
 
 
6848
else
 
6849
  { echo "$as_me:$LINENO: checking for library containing __dn_expand" >&5
 
6850
echo $ECHO_N "checking for library containing __dn_expand... $ECHO_C" >&6; }
 
6851
if test "${ac_cv_search___dn_expand+set}" = set; then
 
6852
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6853
else
 
6854
  ac_func_search_save_LIBS=$LIBS
 
6855
cat >conftest.$ac_ext <<_ACEOF
 
6856
/* confdefs.h.  */
 
6857
_ACEOF
 
6858
cat confdefs.h >>conftest.$ac_ext
 
6859
cat >>conftest.$ac_ext <<_ACEOF
 
6860
/* end confdefs.h.  */
 
6861
 
 
6862
/* Override any GCC internal prototype to avoid an error.
 
6863
   Use char because int might match the return type of a GCC
 
6864
   builtin and then its argument prototype would still apply.  */
 
6865
#ifdef __cplusplus
 
6866
extern "C"
 
6867
#endif
 
6868
char __dn_expand ();
 
6869
int
 
6870
main ()
 
6871
{
 
6872
return __dn_expand ();
 
6873
  ;
 
6874
  return 0;
 
6875
}
 
6876
_ACEOF
 
6877
for ac_lib in '' resolv bind; do
 
6878
  if test -z "$ac_lib"; then
 
6879
    ac_res="none required"
 
6880
  else
 
6881
    ac_res=-l$ac_lib
 
6882
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
6883
  fi
 
6884
  rm -f conftest.$ac_objext conftest$ac_exeext
 
6885
if { (ac_try="$ac_link"
 
6886
case "(($ac_try" in
 
6887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6888
  *) ac_try_echo=$ac_try;;
 
6889
esac
 
6890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6891
  (eval "$ac_link") 2>conftest.er1
 
6892
  ac_status=$?
 
6893
  grep -v '^ *+' conftest.er1 >conftest.err
 
6894
  rm -f conftest.er1
 
6895
  cat conftest.err >&5
 
6896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6897
  (exit $ac_status); } &&
 
6898
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
6899
  { (case "(($ac_try" in
 
6900
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6901
  *) ac_try_echo=$ac_try;;
 
6902
esac
 
6903
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6904
  (eval "$ac_try") 2>&5
 
6905
  ac_status=$?
 
6906
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6907
  (exit $ac_status); }; } &&
 
6908
         { ac_try='test -s conftest$ac_exeext'
 
6909
  { (case "(($ac_try" in
 
6910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6911
  *) ac_try_echo=$ac_try;;
 
6912
esac
 
6913
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6914
  (eval "$ac_try") 2>&5
 
6915
  ac_status=$?
 
6916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6917
  (exit $ac_status); }; }; then
 
6918
  ac_cv_search___dn_expand=$ac_res
 
6919
else
 
6920
  echo "$as_me: failed program was:" >&5
 
6921
sed 's/^/| /' conftest.$ac_ext >&5
 
6922
 
 
6923
 
 
6924
fi
 
6925
 
 
6926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6927
      conftest$ac_exeext
 
6928
  if test "${ac_cv_search___dn_expand+set}" = set; then
 
6929
  break
 
6930
fi
 
6931
done
 
6932
if test "${ac_cv_search___dn_expand+set}" = set; then
 
6933
  :
 
6934
else
 
6935
  ac_cv_search___dn_expand=no
 
6936
fi
 
6937
rm conftest.$ac_ext
 
6938
LIBS=$ac_func_search_save_LIBS
 
6939
fi
 
6940
{ echo "$as_me:$LINENO: result: $ac_cv_search___dn_expand" >&5
 
6941
echo "${ECHO_T}$ac_cv_search___dn_expand" >&6; }
 
6942
ac_res=$ac_cv_search___dn_expand
 
6943
if test "$ac_res" != no; then
 
6944
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
6945
 
 
6946
else
 
6947
  have_resolver=no
 
6948
fi
 
6949
 
 
6950
fi
 
6951
 
 
6952
  { echo "$as_me:$LINENO: checking for library containing dn_skipname" >&5
 
6953
echo $ECHO_N "checking for library containing dn_skipname... $ECHO_C" >&6; }
 
6954
if test "${ac_cv_search_dn_skipname+set}" = set; then
 
6955
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6956
else
 
6957
  ac_func_search_save_LIBS=$LIBS
 
6958
cat >conftest.$ac_ext <<_ACEOF
 
6959
/* confdefs.h.  */
 
6960
_ACEOF
 
6961
cat confdefs.h >>conftest.$ac_ext
 
6962
cat >>conftest.$ac_ext <<_ACEOF
 
6963
/* end confdefs.h.  */
 
6964
 
 
6965
/* Override any GCC internal prototype to avoid an error.
 
6966
   Use char because int might match the return type of a GCC
 
6967
   builtin and then its argument prototype would still apply.  */
 
6968
#ifdef __cplusplus
 
6969
extern "C"
 
6970
#endif
 
6971
char dn_skipname ();
 
6972
int
 
6973
main ()
 
6974
{
 
6975
return dn_skipname ();
 
6976
  ;
 
6977
  return 0;
 
6978
}
 
6979
_ACEOF
 
6980
for ac_lib in '' resolv bind; do
 
6981
  if test -z "$ac_lib"; then
 
6982
    ac_res="none required"
 
6983
  else
 
6984
    ac_res=-l$ac_lib
 
6985
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
6986
  fi
 
6987
  rm -f conftest.$ac_objext conftest$ac_exeext
 
6988
if { (ac_try="$ac_link"
 
6989
case "(($ac_try" in
 
6990
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6991
  *) ac_try_echo=$ac_try;;
 
6992
esac
 
6993
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6994
  (eval "$ac_link") 2>conftest.er1
 
6995
  ac_status=$?
 
6996
  grep -v '^ *+' conftest.er1 >conftest.err
 
6997
  rm -f conftest.er1
 
6998
  cat conftest.err >&5
 
6999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7000
  (exit $ac_status); } &&
 
7001
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7002
  { (case "(($ac_try" in
 
7003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7004
  *) ac_try_echo=$ac_try;;
 
7005
esac
 
7006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7007
  (eval "$ac_try") 2>&5
 
7008
  ac_status=$?
 
7009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7010
  (exit $ac_status); }; } &&
 
7011
         { ac_try='test -s conftest$ac_exeext'
 
7012
  { (case "(($ac_try" in
 
7013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7014
  *) ac_try_echo=$ac_try;;
 
7015
esac
 
7016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7017
  (eval "$ac_try") 2>&5
 
7018
  ac_status=$?
 
7019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7020
  (exit $ac_status); }; }; then
 
7021
  ac_cv_search_dn_skipname=$ac_res
 
7022
else
 
7023
  echo "$as_me: failed program was:" >&5
 
7024
sed 's/^/| /' conftest.$ac_ext >&5
 
7025
 
 
7026
 
 
7027
fi
 
7028
 
 
7029
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7030
      conftest$ac_exeext
 
7031
  if test "${ac_cv_search_dn_skipname+set}" = set; then
 
7032
  break
 
7033
fi
 
7034
done
 
7035
if test "${ac_cv_search_dn_skipname+set}" = set; then
 
7036
  :
 
7037
else
 
7038
  ac_cv_search_dn_skipname=no
 
7039
fi
 
7040
rm conftest.$ac_ext
 
7041
LIBS=$ac_func_search_save_LIBS
 
7042
fi
 
7043
{ echo "$as_me:$LINENO: result: $ac_cv_search_dn_skipname" >&5
 
7044
echo "${ECHO_T}$ac_cv_search_dn_skipname" >&6; }
 
7045
ac_res=$ac_cv_search_dn_skipname
 
7046
if test "$ac_res" != no; then
 
7047
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
7048
 
 
7049
else
 
7050
  { echo "$as_me:$LINENO: checking for library containing __dn_skipname" >&5
 
7051
echo $ECHO_N "checking for library containing __dn_skipname... $ECHO_C" >&6; }
 
7052
if test "${ac_cv_search___dn_skipname+set}" = set; then
 
7053
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7054
else
 
7055
  ac_func_search_save_LIBS=$LIBS
 
7056
cat >conftest.$ac_ext <<_ACEOF
 
7057
/* confdefs.h.  */
 
7058
_ACEOF
 
7059
cat confdefs.h >>conftest.$ac_ext
 
7060
cat >>conftest.$ac_ext <<_ACEOF
 
7061
/* end confdefs.h.  */
 
7062
 
 
7063
/* Override any GCC internal prototype to avoid an error.
 
7064
   Use char because int might match the return type of a GCC
 
7065
   builtin and then its argument prototype would still apply.  */
 
7066
#ifdef __cplusplus
 
7067
extern "C"
 
7068
#endif
 
7069
char __dn_skipname ();
 
7070
int
 
7071
main ()
 
7072
{
 
7073
return __dn_skipname ();
 
7074
  ;
 
7075
  return 0;
 
7076
}
 
7077
_ACEOF
 
7078
for ac_lib in '' resolv bind; do
 
7079
  if test -z "$ac_lib"; then
 
7080
    ac_res="none required"
 
7081
  else
 
7082
    ac_res=-l$ac_lib
 
7083
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
7084
  fi
 
7085
  rm -f conftest.$ac_objext conftest$ac_exeext
 
7086
if { (ac_try="$ac_link"
 
7087
case "(($ac_try" in
 
7088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7089
  *) ac_try_echo=$ac_try;;
 
7090
esac
 
7091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7092
  (eval "$ac_link") 2>conftest.er1
 
7093
  ac_status=$?
 
7094
  grep -v '^ *+' conftest.er1 >conftest.err
 
7095
  rm -f conftest.er1
 
7096
  cat conftest.err >&5
 
7097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7098
  (exit $ac_status); } &&
 
7099
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7100
  { (case "(($ac_try" in
 
7101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7102
  *) ac_try_echo=$ac_try;;
 
7103
esac
 
7104
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7105
  (eval "$ac_try") 2>&5
 
7106
  ac_status=$?
 
7107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7108
  (exit $ac_status); }; } &&
 
7109
         { ac_try='test -s conftest$ac_exeext'
 
7110
  { (case "(($ac_try" in
 
7111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7112
  *) ac_try_echo=$ac_try;;
 
7113
esac
 
7114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7115
  (eval "$ac_try") 2>&5
 
7116
  ac_status=$?
 
7117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7118
  (exit $ac_status); }; }; then
 
7119
  ac_cv_search___dn_skipname=$ac_res
 
7120
else
 
7121
  echo "$as_me: failed program was:" >&5
 
7122
sed 's/^/| /' conftest.$ac_ext >&5
 
7123
 
 
7124
 
 
7125
fi
 
7126
 
 
7127
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7128
      conftest$ac_exeext
 
7129
  if test "${ac_cv_search___dn_skipname+set}" = set; then
 
7130
  break
 
7131
fi
 
7132
done
 
7133
if test "${ac_cv_search___dn_skipname+set}" = set; then
 
7134
  :
 
7135
else
 
7136
  ac_cv_search___dn_skipname=no
 
7137
fi
 
7138
rm conftest.$ac_ext
 
7139
LIBS=$ac_func_search_save_LIBS
 
7140
fi
 
7141
{ echo "$as_me:$LINENO: result: $ac_cv_search___dn_skipname" >&5
 
7142
echo "${ECHO_T}$ac_cv_search___dn_skipname" >&6; }
 
7143
ac_res=$ac_cv_search___dn_skipname
 
7144
if test "$ac_res" != no; then
 
7145
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6442
7146
 
6443
7147
else
6444
7148
  have_resolver=no
6453
7157
    # enabling any code that calls it.  At some point I'll rewrite the
6454
7158
    # code to use the BIND 8 resolver API.
6455
7159
 
6456
 
    echo "$as_me:$LINENO: checking whether the resolver is usable" >&5
6457
 
echo $ECHO_N "checking whether the resolver is usable... $ECHO_C" >&6
 
7160
    { echo "$as_me:$LINENO: checking whether the resolver is usable" >&5
 
7161
echo $ECHO_N "checking whether the resolver is usable... $ECHO_C" >&6; }
6458
7162
    cat >conftest.$ac_ext <<_ACEOF
6459
7163
/* confdefs.h.  */
6460
7164
_ACEOF
6474
7178
}
6475
7179
_ACEOF
6476
7180
rm -f conftest.$ac_objext conftest$ac_exeext
6477
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6478
 
  (eval $ac_link) 2>conftest.er1
 
7181
if { (ac_try="$ac_link"
 
7182
case "(($ac_try" in
 
7183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7184
  *) ac_try_echo=$ac_try;;
 
7185
esac
 
7186
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7187
  (eval "$ac_link") 2>conftest.er1
6479
7188
  ac_status=$?
6480
7189
  grep -v '^ *+' conftest.er1 >conftest.err
6481
7190
  rm -f conftest.er1
6482
7191
  cat conftest.err >&5
6483
7192
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484
7193
  (exit $ac_status); } &&
6485
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6486
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487
 
  (eval $ac_try) 2>&5
 
7194
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7195
  { (case "(($ac_try" in
 
7196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7197
  *) ac_try_echo=$ac_try;;
 
7198
esac
 
7199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7200
  (eval "$ac_try") 2>&5
6488
7201
  ac_status=$?
6489
7202
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490
7203
  (exit $ac_status); }; } &&
6491
7204
         { ac_try='test -s conftest$ac_exeext'
6492
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493
 
  (eval $ac_try) 2>&5
 
7205
  { (case "(($ac_try" in
 
7206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7207
  *) ac_try_echo=$ac_try;;
 
7208
esac
 
7209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7210
  (eval "$ac_try") 2>&5
6494
7211
  ac_status=$?
6495
7212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496
7213
  (exit $ac_status); }; }; then
6499
7216
  echo "$as_me: failed program was:" >&5
6500
7217
sed 's/^/| /' conftest.$ac_ext >&5
6501
7218
 
6502
 
have_resolver=no
 
7219
        have_resolver=no
6503
7220
fi
6504
 
rm -f conftest.err conftest.$ac_objext \
 
7221
 
 
7222
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6505
7223
      conftest$ac_exeext conftest.$ac_ext
6506
 
    echo "$as_me:$LINENO: result: $have_resolver" >&5
6507
 
echo "${ECHO_T}$have_resolver" >&6
 
7224
    { echo "$as_me:$LINENO: result: $have_resolver" >&5
 
7225
echo "${ECHO_T}$have_resolver" >&6; }
6508
7226
 
6509
7227
    # This is Apple-specific and somewhat bizarre as they changed the
6510
7228
    # define in bind 8 for some reason.
6511
7229
 
6512
7230
    if test x"$have_resolver" != xyes ; then
6513
 
       echo "$as_me:$LINENO: checking whether I can make the resolver usable with BIND_8_COMPAT" >&5
6514
 
echo $ECHO_N "checking whether I can make the resolver usable with BIND_8_COMPAT... $ECHO_C" >&6
 
7231
       { echo "$as_me:$LINENO: checking whether I can make the resolver usable with BIND_8_COMPAT" >&5
 
7232
echo $ECHO_N "checking whether I can make the resolver usable with BIND_8_COMPAT... $ECHO_C" >&6; }
6515
7233
       cat >conftest.$ac_ext <<_ACEOF
6516
7234
/* confdefs.h.  */
6517
7235
_ACEOF
6532
7250
}
6533
7251
_ACEOF
6534
7252
rm -f conftest.$ac_objext conftest$ac_exeext
6535
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6536
 
  (eval $ac_link) 2>conftest.er1
 
7253
if { (ac_try="$ac_link"
 
7254
case "(($ac_try" in
 
7255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7256
  *) ac_try_echo=$ac_try;;
 
7257
esac
 
7258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7259
  (eval "$ac_link") 2>conftest.er1
6537
7260
  ac_status=$?
6538
7261
  grep -v '^ *+' conftest.er1 >conftest.err
6539
7262
  rm -f conftest.er1
6540
7263
  cat conftest.err >&5
6541
7264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542
7265
  (exit $ac_status); } &&
6543
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545
 
  (eval $ac_try) 2>&5
 
7266
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7267
  { (case "(($ac_try" in
 
7268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7269
  *) ac_try_echo=$ac_try;;
 
7270
esac
 
7271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7272
  (eval "$ac_try") 2>&5
6546
7273
  ac_status=$?
6547
7274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548
7275
  (exit $ac_status); }; } &&
6549
7276
         { ac_try='test -s conftest$ac_exeext'
6550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551
 
  (eval $ac_try) 2>&5
 
7277
  { (case "(($ac_try" in
 
7278
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7279
  *) ac_try_echo=$ac_try;;
 
7280
esac
 
7281
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7282
  (eval "$ac_try") 2>&5
6552
7283
  ac_status=$?
6553
7284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554
7285
  (exit $ac_status); }; }; then
6557
7288
  echo "$as_me: failed program was:" >&5
6558
7289
sed 's/^/| /' conftest.$ac_ext >&5
6559
7290
 
 
7291
 
6560
7292
fi
6561
 
rm -f conftest.err conftest.$ac_objext \
 
7293
 
 
7294
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6562
7295
      conftest$ac_exeext conftest.$ac_ext
6563
 
       echo "$as_me:$LINENO: result: $have_resolver" >&5
6564
 
echo "${ECHO_T}$have_resolver" >&6
 
7296
       { echo "$as_me:$LINENO: result: $have_resolver" >&5
 
7297
echo "${ECHO_T}$have_resolver" >&6; }
6565
7298
    fi
6566
7299
  fi
6567
7300
 
6632
7365
# something like ./configure LDAPLIBS="-Lfoo -lbar"
6633
7366
 
6634
7367
 
6635
 
# Check whether --with-ldap or --without-ldap was given.
 
7368
# Check whether --with-ldap was given.
6636
7369
if test "${with_ldap+set}" = set; then
6637
 
  withval="$with_ldap"
6638
 
  _ldap_with=$withval
6639
 
fi;
 
7370
  withval=$with_ldap; _ldap_with=$withval
 
7371
fi
 
7372
 
6640
7373
 
6641
7374
if test x$_ldap_with != xno ; then
6642
7375
 
6654
7387
    _ldap_save_libs=$LIBS
6655
7388
    LIBS="$MY_LDAPLIBS $NETLIBS $LIBS"
6656
7389
 
6657
 
    echo "$as_me:$LINENO: checking whether LDAP via \"$MY_LDAPLIBS\" is present and sane" >&5
6658
 
echo $ECHO_N "checking whether LDAP via \"$MY_LDAPLIBS\" is present and sane... $ECHO_C" >&6
 
7390
    { echo "$as_me:$LINENO: checking whether LDAP via \"$MY_LDAPLIBS\" is present and sane" >&5
 
7391
echo $ECHO_N "checking whether LDAP via \"$MY_LDAPLIBS\" is present and sane... $ECHO_C" >&6; }
6659
7392
    cat >conftest.$ac_ext <<_ACEOF
6660
7393
/* confdefs.h.  */
6661
7394
_ACEOF
6679
7412
}
6680
7413
_ACEOF
6681
7414
rm -f conftest.$ac_objext conftest$ac_exeext
6682
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6683
 
  (eval $ac_link) 2>conftest.er1
 
7415
if { (ac_try="$ac_link"
 
7416
case "(($ac_try" in
 
7417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7418
  *) ac_try_echo=$ac_try;;
 
7419
esac
 
7420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7421
  (eval "$ac_link") 2>conftest.er1
6684
7422
  ac_status=$?
6685
7423
  grep -v '^ *+' conftest.er1 >conftest.err
6686
7424
  rm -f conftest.er1
6687
7425
  cat conftest.err >&5
6688
7426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689
7427
  (exit $ac_status); } &&
6690
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692
 
  (eval $ac_try) 2>&5
 
7428
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7429
  { (case "(($ac_try" in
 
7430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7431
  *) ac_try_echo=$ac_try;;
 
7432
esac
 
7433
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7434
  (eval "$ac_try") 2>&5
6693
7435
  ac_status=$?
6694
7436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695
7437
  (exit $ac_status); }; } &&
6696
7438
         { ac_try='test -s conftest$ac_exeext'
6697
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698
 
  (eval $ac_try) 2>&5
 
7439
  { (case "(($ac_try" in
 
7440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7441
  *) ac_try_echo=$ac_try;;
 
7442
esac
 
7443
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7444
  (eval "$ac_try") 2>&5
6699
7445
  ac_status=$?
6700
7446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701
7447
  (exit $ac_status); }; }; then
6704
7450
  echo "$as_me: failed program was:" >&5
6705
7451
sed 's/^/| /' conftest.$ac_ext >&5
6706
7452
 
6707
 
gnupg_cv_func_ldap_init=no
 
7453
        gnupg_cv_func_ldap_init=no
6708
7454
fi
6709
 
rm -f conftest.err conftest.$ac_objext \
 
7455
 
 
7456
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710
7457
      conftest$ac_exeext conftest.$ac_ext
6711
 
    echo "$as_me:$LINENO: result: $gnupg_cv_func_ldap_init" >&5
6712
 
echo "${ECHO_T}$gnupg_cv_func_ldap_init" >&6
 
7458
    { echo "$as_me:$LINENO: result: $gnupg_cv_func_ldap_init" >&5
 
7459
echo "${ECHO_T}$gnupg_cv_func_ldap_init" >&6; }
6713
7460
 
6714
7461
    if test $gnupg_cv_func_ldap_init = no; then
6715
 
      echo "$as_me:$LINENO: checking whether I can make LDAP be sane with lber.h" >&5
6716
 
echo $ECHO_N "checking whether I can make LDAP be sane with lber.h... $ECHO_C" >&6
 
7462
      { echo "$as_me:$LINENO: checking whether I can make LDAP be sane with lber.h" >&5
 
7463
echo $ECHO_N "checking whether I can make LDAP be sane with lber.h... $ECHO_C" >&6; }
6717
7464
      cat >conftest.$ac_ext <<_ACEOF
6718
7465
/* confdefs.h.  */
6719
7466
_ACEOF
6731
7478
}
6732
7479
_ACEOF
6733
7480
rm -f conftest.$ac_objext conftest$ac_exeext
6734
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6735
 
  (eval $ac_link) 2>conftest.er1
 
7481
if { (ac_try="$ac_link"
 
7482
case "(($ac_try" in
 
7483
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7484
  *) ac_try_echo=$ac_try;;
 
7485
esac
 
7486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7487
  (eval "$ac_link") 2>conftest.er1
6736
7488
  ac_status=$?
6737
7489
  grep -v '^ *+' conftest.er1 >conftest.err
6738
7490
  rm -f conftest.er1
6739
7491
  cat conftest.err >&5
6740
7492
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741
7493
  (exit $ac_status); } &&
6742
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744
 
  (eval $ac_try) 2>&5
 
7494
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7495
  { (case "(($ac_try" in
 
7496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7497
  *) ac_try_echo=$ac_try;;
 
7498
esac
 
7499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7500
  (eval "$ac_try") 2>&5
6745
7501
  ac_status=$?
6746
7502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747
7503
  (exit $ac_status); }; } &&
6748
7504
         { ac_try='test -s conftest$ac_exeext'
6749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750
 
  (eval $ac_try) 2>&5
 
7505
  { (case "(($ac_try" in
 
7506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7507
  *) ac_try_echo=$ac_try;;
 
7508
esac
 
7509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7510
  (eval "$ac_try") 2>&5
6751
7511
  ac_status=$?
6752
7512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753
7513
  (exit $ac_status); }; }; then
6756
7516
  echo "$as_me: failed program was:" >&5
6757
7517
sed 's/^/| /' conftest.$ac_ext >&5
6758
7518
 
6759
 
gnupg_cv_func_ldaplber_init=no
 
7519
        gnupg_cv_func_ldaplber_init=no
6760
7520
fi
6761
 
rm -f conftest.err conftest.$ac_objext \
 
7521
 
 
7522
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6762
7523
      conftest$ac_exeext conftest.$ac_ext
6763
 
      echo "$as_me:$LINENO: result: $gnupg_cv_func_ldaplber_init" >&5
6764
 
echo "${ECHO_T}$gnupg_cv_func_ldaplber_init" >&6
 
7524
      { echo "$as_me:$LINENO: result: $gnupg_cv_func_ldaplber_init" >&5
 
7525
echo "${ECHO_T}$gnupg_cv_func_ldaplber_init" >&6; }
6765
7526
    fi
6766
7527
 
6767
7528
    if test "$gnupg_cv_func_ldaplber_init" = yes ; then
6783
7544
for ac_func in ldap_get_option ldap_set_option ldap_start_tls_s
6784
7545
do
6785
7546
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6786
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
6787
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6788
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
7547
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7548
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
7549
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6789
7550
  echo $ECHO_N "(cached) $ECHO_C" >&6
6790
7551
else
6791
7552
  cat >conftest.$ac_ext <<_ACEOF
6811
7572
 
6812
7573
#undef $ac_func
6813
7574
 
6814
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
7575
/* Override any GCC internal prototype to avoid an error.
 
7576
   Use char because int might match the return type of a GCC
 
7577
   builtin and then its argument prototype would still apply.  */
6815
7578
#ifdef __cplusplus
6816
7579
extern "C"
6817
 
{
6818
7580
#endif
6819
 
/* We use char because int might match the return type of a gcc2
6820
 
   builtin and then its argument prototype would still apply.  */
6821
7581
char $ac_func ();
6822
7582
/* The GNU C library defines this for functions which it implements
6823
7583
    to always fail with ENOSYS.  Some functions are actually named
6824
7584
    something starting with __ and the normal name is an alias.  */
6825
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
7585
#if defined __stub_$ac_func || defined __stub___$ac_func
6826
7586
choke me
6827
 
#else
6828
 
char (*f) () = $ac_func;
6829
 
#endif
6830
 
#ifdef __cplusplus
6831
 
}
6832
7587
#endif
6833
7588
 
6834
7589
int
6835
7590
main ()
6836
7591
{
6837
 
return f != $ac_func;
 
7592
return $ac_func ();
6838
7593
  ;
6839
7594
  return 0;
6840
7595
}
6841
7596
_ACEOF
6842
7597
rm -f conftest.$ac_objext conftest$ac_exeext
6843
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6844
 
  (eval $ac_link) 2>conftest.er1
 
7598
if { (ac_try="$ac_link"
 
7599
case "(($ac_try" in
 
7600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7601
  *) ac_try_echo=$ac_try;;
 
7602
esac
 
7603
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7604
  (eval "$ac_link") 2>conftest.er1
6845
7605
  ac_status=$?
6846
7606
  grep -v '^ *+' conftest.er1 >conftest.err
6847
7607
  rm -f conftest.er1
6848
7608
  cat conftest.err >&5
6849
7609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850
7610
  (exit $ac_status); } &&
6851
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853
 
  (eval $ac_try) 2>&5
 
7611
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7612
  { (case "(($ac_try" in
 
7613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7614
  *) ac_try_echo=$ac_try;;
 
7615
esac
 
7616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7617
  (eval "$ac_try") 2>&5
6854
7618
  ac_status=$?
6855
7619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856
7620
  (exit $ac_status); }; } &&
6857
7621
         { ac_try='test -s conftest$ac_exeext'
6858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6859
 
  (eval $ac_try) 2>&5
 
7622
  { (case "(($ac_try" in
 
7623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7624
  *) ac_try_echo=$ac_try;;
 
7625
esac
 
7626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7627
  (eval "$ac_try") 2>&5
6860
7628
  ac_status=$?
6861
7629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6862
7630
  (exit $ac_status); }; }; then
6865
7633
  echo "$as_me: failed program was:" >&5
6866
7634
sed 's/^/| /' conftest.$ac_ext >&5
6867
7635
 
6868
 
eval "$as_ac_var=no"
 
7636
        eval "$as_ac_var=no"
6869
7637
fi
6870
 
rm -f conftest.err conftest.$ac_objext \
 
7638
 
 
7639
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6871
7640
      conftest$ac_exeext conftest.$ac_ext
6872
7641
fi
6873
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6874
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
7642
ac_res=`eval echo '${'$as_ac_var'}'`
 
7643
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
7644
echo "${ECHO_T}$ac_res" >&6; }
6875
7645
if test `eval echo '${'$as_ac_var'}'` = yes; then
6876
7646
  cat >>confdefs.h <<_ACEOF
6877
7647
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6882
7652
 
6883
7653
 
6884
7654
       if test "$ac_cv_func_ldap_get_option" != yes ; then
6885
 
          echo "$as_me:$LINENO: checking whether LDAP supports ld_errno" >&5
6886
 
echo $ECHO_N "checking whether LDAP supports ld_errno... $ECHO_C" >&6
 
7655
          { echo "$as_me:$LINENO: checking whether LDAP supports ld_errno" >&5
 
7656
echo $ECHO_N "checking whether LDAP supports ld_errno... $ECHO_C" >&6; }
6887
7657
          cat >conftest.$ac_ext <<_ACEOF
6888
7658
/* confdefs.h.  */
6889
7659
_ACEOF
6900
7670
}
6901
7671
_ACEOF
6902
7672
rm -f conftest.$ac_objext conftest$ac_exeext
6903
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6904
 
  (eval $ac_link) 2>conftest.er1
 
7673
if { (ac_try="$ac_link"
 
7674
case "(($ac_try" in
 
7675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7676
  *) ac_try_echo=$ac_try;;
 
7677
esac
 
7678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7679
  (eval "$ac_link") 2>conftest.er1
6905
7680
  ac_status=$?
6906
7681
  grep -v '^ *+' conftest.er1 >conftest.err
6907
7682
  rm -f conftest.er1
6908
7683
  cat conftest.err >&5
6909
7684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910
7685
  (exit $ac_status); } &&
6911
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6912
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913
 
  (eval $ac_try) 2>&5
 
7686
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
7687
  { (case "(($ac_try" in
 
7688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7689
  *) ac_try_echo=$ac_try;;
 
7690
esac
 
7691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7692
  (eval "$ac_try") 2>&5
6914
7693
  ac_status=$?
6915
7694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916
7695
  (exit $ac_status); }; } &&
6917
7696
         { ac_try='test -s conftest$ac_exeext'
6918
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919
 
  (eval $ac_try) 2>&5
 
7697
  { (case "(($ac_try" in
 
7698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7699
  *) ac_try_echo=$ac_try;;
 
7700
esac
 
7701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7702
  (eval "$ac_try") 2>&5
6920
7703
  ac_status=$?
6921
7704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922
7705
  (exit $ac_status); }; }; then
6925
7708
  echo "$as_me: failed program was:" >&5
6926
7709
sed 's/^/| /' conftest.$ac_ext >&5
6927
7710
 
6928
 
gnupg_cv_func_ldap_ld_errno=no
 
7711
        gnupg_cv_func_ldap_ld_errno=no
6929
7712
fi
6930
 
rm -f conftest.err conftest.$ac_objext \
 
7713
 
 
7714
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6931
7715
      conftest$ac_exeext conftest.$ac_ext
6932
 
          echo "$as_me:$LINENO: result: $gnupg_cv_func_ldap_ld_errno" >&5
6933
 
echo "${ECHO_T}$gnupg_cv_func_ldap_ld_errno" >&6
 
7716
          { echo "$as_me:$LINENO: result: $gnupg_cv_func_ldap_ld_errno" >&5
 
7717
echo "${ECHO_T}$gnupg_cv_func_ldap_ld_errno" >&6; }
6934
7718
 
6935
7719
          if test "$gnupg_cv_func_ldap_ld_errno" = yes ; then
6936
7720
 
6997
7781
 
6998
7782
 
6999
7783
 
7000
 
# Check whether --with-libcurl or --without-libcurl was given.
 
7784
# Check whether --with-libcurl was given.
7001
7785
if test "${with_libcurl+set}" = set; then
7002
 
  withval="$with_libcurl"
7003
 
  _libcurl_with=$withval
 
7786
  withval=$with_libcurl; _libcurl_with=$withval
7004
7787
else
7005
7788
  _libcurl_with=yes
7006
 
fi;
 
7789
fi
 
7790
 
7007
7791
 
7008
7792
  if test "$_libcurl_with" != "no" ; then
7009
7793
 
7011
7795
do
7012
7796
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7013
7797
set dummy $ac_prog; ac_word=$2
7014
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7015
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7798
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7799
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7016
7800
if test "${ac_cv_prog_AWK+set}" = set; then
7017
7801
  echo $ECHO_N "(cached) $ECHO_C" >&6
7018
7802
else
7025
7809
  IFS=$as_save_IFS
7026
7810
  test -z "$as_dir" && as_dir=.
7027
7811
  for ac_exec_ext in '' $ac_executable_extensions; do
7028
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7812
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7029
7813
    ac_cv_prog_AWK="$ac_prog"
7030
7814
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7031
7815
    break 2
7032
7816
  fi
7033
7817
done
7034
7818
done
 
7819
IFS=$as_save_IFS
7035
7820
 
7036
7821
fi
7037
7822
fi
7038
7823
AWK=$ac_cv_prog_AWK
7039
7824
if test -n "$AWK"; then
7040
 
  echo "$as_me:$LINENO: result: $AWK" >&5
7041
 
echo "${ECHO_T}$AWK" >&6
 
7825
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
7826
echo "${ECHO_T}$AWK" >&6; }
7042
7827
else
7043
 
  echo "$as_me:$LINENO: result: no" >&5
7044
 
echo "${ECHO_T}no" >&6
 
7828
  { echo "$as_me:$LINENO: result: no" >&5
 
7829
echo "${ECHO_T}no" >&6; }
7045
7830
fi
7046
7831
 
 
7832
 
7047
7833
  test -n "$AWK" && break
7048
7834
done
7049
7835
 
7057
7843
        _libcurl_ldflags="-L$withval/lib"
7058
7844
        # Extract the first word of ""$withval/bin/curl-config"", so it can be a program name with args.
7059
7845
set dummy "$withval/bin/curl-config"; ac_word=$2
7060
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7061
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7846
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7847
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7062
7848
if test "${ac_cv_path__libcurl_config+set}" = set; then
7063
7849
  echo $ECHO_N "(cached) $ECHO_C" >&6
7064
7850
else
7073
7859
  IFS=$as_save_IFS
7074
7860
  test -z "$as_dir" && as_dir=.
7075
7861
  for ac_exec_ext in '' $ac_executable_extensions; do
7076
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7077
7863
    ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
7078
7864
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7079
7865
    break 2
7080
7866
  fi
7081
7867
done
7082
7868
done
 
7869
IFS=$as_save_IFS
7083
7870
 
7084
7871
  ;;
7085
7872
esac
7086
7873
fi
7087
7874
_libcurl_config=$ac_cv_path__libcurl_config
7088
 
 
7089
7875
if test -n "$_libcurl_config"; then
7090
 
  echo "$as_me:$LINENO: result: $_libcurl_config" >&5
7091
 
echo "${ECHO_T}$_libcurl_config" >&6
 
7876
  { echo "$as_me:$LINENO: result: $_libcurl_config" >&5
 
7877
echo "${ECHO_T}$_libcurl_config" >&6; }
7092
7878
else
7093
 
  echo "$as_me:$LINENO: result: no" >&5
7094
 
echo "${ECHO_T}no" >&6
 
7879
  { echo "$as_me:$LINENO: result: no" >&5
 
7880
echo "${ECHO_T}no" >&6; }
7095
7881
fi
7096
7882
 
 
7883
 
7097
7884
     else
7098
7885
        # Extract the first word of "curl-config", so it can be a program name with args.
7099
7886
set dummy curl-config; ac_word=$2
7100
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7101
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7887
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7102
7889
if test "${ac_cv_path__libcurl_config+set}" = set; then
7103
7890
  echo $ECHO_N "(cached) $ECHO_C" >&6
7104
7891
else
7113
7900
  IFS=$as_save_IFS
7114
7901
  test -z "$as_dir" && as_dir=.
7115
7902
  for ac_exec_ext in '' $ac_executable_extensions; do
7116
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7117
7904
    ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
7118
7905
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7119
7906
    break 2
7120
7907
  fi
7121
7908
done
7122
7909
done
 
7910
IFS=$as_save_IFS
7123
7911
 
7124
7912
  ;;
7125
7913
esac
7126
7914
fi
7127
7915
_libcurl_config=$ac_cv_path__libcurl_config
7128
 
 
7129
7916
if test -n "$_libcurl_config"; then
7130
 
  echo "$as_me:$LINENO: result: $_libcurl_config" >&5
7131
 
echo "${ECHO_T}$_libcurl_config" >&6
 
7917
  { echo "$as_me:$LINENO: result: $_libcurl_config" >&5
 
7918
echo "${ECHO_T}$_libcurl_config" >&6; }
7132
7919
else
7133
 
  echo "$as_me:$LINENO: result: no" >&5
7134
 
echo "${ECHO_T}no" >&6
 
7920
  { echo "$as_me:$LINENO: result: no" >&5
 
7921
echo "${ECHO_T}no" >&6; }
7135
7922
fi
7136
7923
 
 
7924
 
7137
7925
     fi
7138
7926
 
7139
7927
     if test x$_libcurl_config != "x" ; then
7140
 
        echo "$as_me:$LINENO: checking for the version of libcurl" >&5
7141
 
echo $ECHO_N "checking for the version of libcurl... $ECHO_C" >&6
 
7928
        { echo "$as_me:$LINENO: checking for the version of libcurl" >&5
 
7929
echo $ECHO_N "checking for the version of libcurl... $ECHO_C" >&6; }
7142
7930
if test "${libcurl_cv_lib_curl_version+set}" = set; then
7143
7931
  echo $ECHO_N "(cached) $ECHO_C" >&6
7144
7932
else
7145
7933
  libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
7146
7934
fi
7147
 
echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5
7148
 
echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6
 
7935
{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_version" >&5
 
7936
echo "${ECHO_T}$libcurl_cv_lib_curl_version" >&6; }
7149
7937
 
7150
7938
        _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
7151
7939
        _libcurl_wanted=`echo 0 | $_libcurl_version_parse`
7152
7940
 
7153
7941
        if test $_libcurl_wanted -gt 0 ; then
7154
 
           echo "$as_me:$LINENO: checking for libcurl >= version " >&5
7155
 
echo $ECHO_N "checking for libcurl >= version ... $ECHO_C" >&6
 
7942
           { echo "$as_me:$LINENO: checking for libcurl >= version " >&5
 
7943
echo $ECHO_N "checking for libcurl >= version ... $ECHO_C" >&6; }
7156
7944
if test "${libcurl_cv_lib_version_ok+set}" = set; then
7157
7945
  echo $ECHO_N "(cached) $ECHO_C" >&6
7158
7946
else
7164
7952
              fi
7165
7953
 
7166
7954
fi
7167
 
echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5
7168
 
echo "${ECHO_T}$libcurl_cv_lib_version_ok" >&6
 
7955
{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_version_ok" >&5
 
7956
echo "${ECHO_T}$libcurl_cv_lib_version_ok" >&6; }
7169
7957
        fi
7170
7958
 
7171
7959
        if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
7205
7993
        # link line (or failing that, "-lcurl") is enough.
7206
7994
        LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
7207
7995
 
7208
 
        echo "$as_me:$LINENO: checking whether libcurl is usable" >&5
7209
 
echo $ECHO_N "checking whether libcurl is usable... $ECHO_C" >&6
 
7996
        { echo "$as_me:$LINENO: checking whether libcurl is usable" >&5
 
7997
echo $ECHO_N "checking whether libcurl is usable... $ECHO_C" >&6; }
7210
7998
if test "${libcurl_cv_lib_curl_usable+set}" = set; then
7211
7999
  echo $ECHO_N "(cached) $ECHO_C" >&6
7212
8000
else
7243
8031
}
7244
8032
_ACEOF
7245
8033
rm -f conftest.$ac_objext conftest$ac_exeext
7246
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7247
 
  (eval $ac_link) 2>conftest.er1
 
8034
if { (ac_try="$ac_link"
 
8035
case "(($ac_try" in
 
8036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8037
  *) ac_try_echo=$ac_try;;
 
8038
esac
 
8039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8040
  (eval "$ac_link") 2>conftest.er1
7248
8041
  ac_status=$?
7249
8042
  grep -v '^ *+' conftest.er1 >conftest.err
7250
8043
  rm -f conftest.er1
7251
8044
  cat conftest.err >&5
7252
8045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253
8046
  (exit $ac_status); } &&
7254
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7255
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256
 
  (eval $ac_try) 2>&5
 
8047
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8048
  { (case "(($ac_try" in
 
8049
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8050
  *) ac_try_echo=$ac_try;;
 
8051
esac
 
8052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8053
  (eval "$ac_try") 2>&5
7257
8054
  ac_status=$?
7258
8055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259
8056
  (exit $ac_status); }; } &&
7260
8057
         { ac_try='test -s conftest$ac_exeext'
7261
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262
 
  (eval $ac_try) 2>&5
 
8058
  { (case "(($ac_try" in
 
8059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8060
  *) ac_try_echo=$ac_try;;
 
8061
esac
 
8062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8063
  (eval "$ac_try") 2>&5
7263
8064
  ac_status=$?
7264
8065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265
8066
  (exit $ac_status); }; }; then
7268
8069
  echo "$as_me: failed program was:" >&5
7269
8070
sed 's/^/| /' conftest.$ac_ext >&5
7270
8071
 
7271
 
libcurl_cv_lib_curl_usable=no
 
8072
        libcurl_cv_lib_curl_usable=no
7272
8073
fi
7273
 
rm -f conftest.err conftest.$ac_objext \
 
8074
 
 
8075
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7274
8076
      conftest$ac_exeext conftest.$ac_ext
7275
8077
 
7276
8078
           CPPFLAGS=$_libcurl_save_cppflags
7279
8081
           unset _libcurl_save_libs
7280
8082
 
7281
8083
fi
7282
 
echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5
7283
 
echo "${ECHO_T}$libcurl_cv_lib_curl_usable" >&6
 
8084
{ echo "$as_me:$LINENO: result: $libcurl_cv_lib_curl_usable" >&5
 
8085
echo "${ECHO_T}$libcurl_cv_lib_curl_usable" >&6; }
7284
8086
 
7285
8087
        if test $libcurl_cv_lib_curl_usable = yes ; then
7286
8088
 
7292
8094
           _libcurl_save_libs=$LIBS
7293
8095
           LIBS="$LIBS $LIBCURL"
7294
8096
 
7295
 
           echo "$as_me:$LINENO: checking for curl_free" >&5
7296
 
echo $ECHO_N "checking for curl_free... $ECHO_C" >&6
 
8097
           { echo "$as_me:$LINENO: checking for curl_free" >&5
 
8098
echo $ECHO_N "checking for curl_free... $ECHO_C" >&6; }
7297
8099
if test "${ac_cv_func_curl_free+set}" = set; then
7298
8100
  echo $ECHO_N "(cached) $ECHO_C" >&6
7299
8101
else
7320
8122
 
7321
8123
#undef curl_free
7322
8124
 
7323
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
8125
/* Override any GCC internal prototype to avoid an error.
 
8126
   Use char because int might match the return type of a GCC
 
8127
   builtin and then its argument prototype would still apply.  */
7324
8128
#ifdef __cplusplus
7325
8129
extern "C"
7326
 
{
7327
8130
#endif
7328
 
/* We use char because int might match the return type of a gcc2
7329
 
   builtin and then its argument prototype would still apply.  */
7330
8131
char curl_free ();
7331
8132
/* The GNU C library defines this for functions which it implements
7332
8133
    to always fail with ENOSYS.  Some functions are actually named
7333
8134
    something starting with __ and the normal name is an alias.  */
7334
 
#if defined (__stub_curl_free) || defined (__stub___curl_free)
 
8135
#if defined __stub_curl_free || defined __stub___curl_free
7335
8136
choke me
7336
 
#else
7337
 
char (*f) () = curl_free;
7338
 
#endif
7339
 
#ifdef __cplusplus
7340
 
}
7341
8137
#endif
7342
8138
 
7343
8139
int
7344
8140
main ()
7345
8141
{
7346
 
return f != curl_free;
 
8142
return curl_free ();
7347
8143
  ;
7348
8144
  return 0;
7349
8145
}
7350
8146
_ACEOF
7351
8147
rm -f conftest.$ac_objext conftest$ac_exeext
7352
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7353
 
  (eval $ac_link) 2>conftest.er1
 
8148
if { (ac_try="$ac_link"
 
8149
case "(($ac_try" in
 
8150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8151
  *) ac_try_echo=$ac_try;;
 
8152
esac
 
8153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8154
  (eval "$ac_link") 2>conftest.er1
7354
8155
  ac_status=$?
7355
8156
  grep -v '^ *+' conftest.er1 >conftest.err
7356
8157
  rm -f conftest.er1
7357
8158
  cat conftest.err >&5
7358
8159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359
8160
  (exit $ac_status); } &&
7360
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7361
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7362
 
  (eval $ac_try) 2>&5
 
8161
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8162
  { (case "(($ac_try" in
 
8163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8164
  *) ac_try_echo=$ac_try;;
 
8165
esac
 
8166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8167
  (eval "$ac_try") 2>&5
7363
8168
  ac_status=$?
7364
8169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365
8170
  (exit $ac_status); }; } &&
7366
8171
         { ac_try='test -s conftest$ac_exeext'
7367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368
 
  (eval $ac_try) 2>&5
 
8172
  { (case "(($ac_try" in
 
8173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8174
  *) ac_try_echo=$ac_try;;
 
8175
esac
 
8176
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8177
  (eval "$ac_try") 2>&5
7369
8178
  ac_status=$?
7370
8179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371
8180
  (exit $ac_status); }; }; then
7374
8183
  echo "$as_me: failed program was:" >&5
7375
8184
sed 's/^/| /' conftest.$ac_ext >&5
7376
8185
 
7377
 
ac_cv_func_curl_free=no
 
8186
        ac_cv_func_curl_free=no
7378
8187
fi
7379
 
rm -f conftest.err conftest.$ac_objext \
 
8188
 
 
8189
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7380
8190
      conftest$ac_exeext conftest.$ac_ext
7381
8191
fi
7382
 
echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5
7383
 
echo "${ECHO_T}$ac_cv_func_curl_free" >&6
 
8192
{ echo "$as_me:$LINENO: result: $ac_cv_func_curl_free" >&5
 
8193
echo "${ECHO_T}$ac_cv_func_curl_free" >&6; }
7384
8194
if test $ac_cv_func_curl_free = yes; then
7385
8195
  :
7386
8196
else
7485
8295
 
7486
8296
if test "$try_mailto" = yes ; then
7487
8297
 
7488
 
# Check whether --with-mailprog or --without-mailprog was given.
 
8298
# Check whether --with-mailprog was given.
7489
8299
if test "${with_mailprog+set}" = set; then
7490
 
  withval="$with_mailprog"
7491
 
 
 
8300
  withval=$with_mailprog;
7492
8301
else
7493
8302
  with_mailprog=yes
7494
 
fi;
 
8303
fi
 
8304
 
7495
8305
 
7496
8306
  if test "$with_mailprog" = yes ; then
7497
8307
    # Extract the first word of "sendmail", so it can be a program name with args.
7498
8308
set dummy sendmail; ac_word=$2
7499
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7500
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8309
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7501
8311
if test "${ac_cv_path_SENDMAIL+set}" = set; then
7502
8312
  echo $ECHO_N "(cached) $ECHO_C" >&6
7503
8313
else
7513
8323
  IFS=$as_save_IFS
7514
8324
  test -z "$as_dir" && as_dir=.
7515
8325
  for ac_exec_ext in '' $ac_executable_extensions; do
7516
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7517
8327
    ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
7518
8328
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7519
8329
    break 2
7520
8330
  fi
7521
8331
done
7522
8332
done
 
8333
IFS=$as_save_IFS
7523
8334
 
7524
8335
  ;;
7525
8336
esac
7526
8337
fi
7527
8338
SENDMAIL=$ac_cv_path_SENDMAIL
7528
 
 
7529
8339
if test -n "$SENDMAIL"; then
7530
 
  echo "$as_me:$LINENO: result: $SENDMAIL" >&5
7531
 
echo "${ECHO_T}$SENDMAIL" >&6
 
8340
  { echo "$as_me:$LINENO: result: $SENDMAIL" >&5
 
8341
echo "${ECHO_T}$SENDMAIL" >&6; }
7532
8342
else
7533
 
  echo "$as_me:$LINENO: result: no" >&5
7534
 
echo "${ECHO_T}no" >&6
 
8343
  { echo "$as_me:$LINENO: result: no" >&5
 
8344
echo "${ECHO_T}no" >&6; }
7535
8345
fi
7536
8346
 
 
8347
 
7537
8348
    if test "$ac_cv_path_SENDMAIL" ; then
7538
8349
      GPGKEYS_MAILTO="gpgkeys_mailto"
7539
8350
    fi
7540
8351
  elif test "$with_mailprog" != no ; then
7541
 
    echo "$as_me:$LINENO: checking for a mail transport program" >&5
7542
 
echo $ECHO_N "checking for a mail transport program... $ECHO_C" >&6
 
8352
    { echo "$as_me:$LINENO: checking for a mail transport program" >&5
 
8353
echo $ECHO_N "checking for a mail transport program... $ECHO_C" >&6; }
7543
8354
    SENDMAIL=$with_mailprog
7544
8355
 
7545
 
    echo "$as_me:$LINENO: result: $with_mailprog" >&5
7546
 
echo "${ECHO_T}$with_mailprog" >&6
 
8356
    { echo "$as_me:$LINENO: result: $with_mailprog" >&5
 
8357
echo "${ECHO_T}$with_mailprog" >&6; }
7547
8358
    GPGKEYS_MAILTO="gpgkeys_mailto"
7548
8359
  fi
7549
8360
fi
7619
8430
 
7620
8431
 
7621
8432
 
7622
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7623
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7624
 
    # Check whether --enable-nls or --disable-nls was given.
 
8433
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
8434
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
8435
    # Check whether --enable-nls was given.
7625
8436
if test "${enable_nls+set}" = set; then
7626
 
  enableval="$enable_nls"
7627
 
  USE_NLS=$enableval
 
8437
  enableval=$enable_nls; USE_NLS=$enableval
7628
8438
else
7629
8439
  USE_NLS=yes
7630
 
fi;
7631
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
7632
 
echo "${ECHO_T}$USE_NLS" >&6
 
8440
fi
 
8441
 
 
8442
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
8443
echo "${ECHO_T}$USE_NLS" >&6; }
7633
8444
 
7634
8445
 
7635
8446
 
7666
8477
 
7667
8478
# Extract the first word of "msgfmt", so it can be a program name with args.
7668
8479
set dummy msgfmt; ac_word=$2
7669
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7670
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8480
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8481
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7671
8482
if test "${ac_cv_path_MSGFMT+set}" = set; then
7672
8483
  echo $ECHO_N "(cached) $ECHO_C" >&6
7673
8484
else
7697
8508
fi
7698
8509
MSGFMT="$ac_cv_path_MSGFMT"
7699
8510
if test "$MSGFMT" != ":"; then
7700
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
7701
 
echo "${ECHO_T}$MSGFMT" >&6
 
8511
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
8512
echo "${ECHO_T}$MSGFMT" >&6; }
7702
8513
else
7703
 
  echo "$as_me:$LINENO: result: no" >&5
7704
 
echo "${ECHO_T}no" >&6
 
8514
  { echo "$as_me:$LINENO: result: no" >&5
 
8515
echo "${ECHO_T}no" >&6; }
7705
8516
fi
7706
8517
 
7707
8518
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
7708
8519
set dummy gmsgfmt; ac_word=$2
7709
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7710
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8520
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8521
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7711
8522
if test "${ac_cv_path_GMSGFMT+set}" = set; then
7712
8523
  echo $ECHO_N "(cached) $ECHO_C" >&6
7713
8524
else
7722
8533
  IFS=$as_save_IFS
7723
8534
  test -z "$as_dir" && as_dir=.
7724
8535
  for ac_exec_ext in '' $ac_executable_extensions; do
7725
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8536
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7726
8537
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7727
8538
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7728
8539
    break 2
7729
8540
  fi
7730
8541
done
7731
8542
done
 
8543
IFS=$as_save_IFS
7732
8544
 
7733
8545
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7734
8546
  ;;
7735
8547
esac
7736
8548
fi
7737
8549
GMSGFMT=$ac_cv_path_GMSGFMT
7738
 
 
7739
8550
if test -n "$GMSGFMT"; then
7740
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7741
 
echo "${ECHO_T}$GMSGFMT" >&6
 
8551
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
8552
echo "${ECHO_T}$GMSGFMT" >&6; }
7742
8553
else
7743
 
  echo "$as_me:$LINENO: result: no" >&5
7744
 
echo "${ECHO_T}no" >&6
 
8554
  { echo "$as_me:$LINENO: result: no" >&5
 
8555
echo "${ECHO_T}no" >&6; }
7745
8556
fi
7746
8557
 
7747
8558
 
7748
8559
 
 
8560
 
7749
8561
# Prepare PATH_SEPARATOR.
7750
8562
# The user is always right.
7751
8563
if test "${PATH_SEPARATOR+set}" != set; then
7776
8588
 
7777
8589
# Extract the first word of "xgettext", so it can be a program name with args.
7778
8590
set dummy xgettext; ac_word=$2
7779
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7780
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8591
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8592
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7781
8593
if test "${ac_cv_path_XGETTEXT+set}" = set; then
7782
8594
  echo $ECHO_N "(cached) $ECHO_C" >&6
7783
8595
else
7807
8619
fi
7808
8620
XGETTEXT="$ac_cv_path_XGETTEXT"
7809
8621
if test "$XGETTEXT" != ":"; then
7810
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7811
 
echo "${ECHO_T}$XGETTEXT" >&6
 
8622
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
8623
echo "${ECHO_T}$XGETTEXT" >&6; }
7812
8624
else
7813
 
  echo "$as_me:$LINENO: result: no" >&5
7814
 
echo "${ECHO_T}no" >&6
 
8625
  { echo "$as_me:$LINENO: result: no" >&5
 
8626
echo "${ECHO_T}no" >&6; }
7815
8627
fi
7816
8628
 
7817
8629
    rm -f messages.po
7847
8659
 
7848
8660
# Extract the first word of "msgmerge", so it can be a program name with args.
7849
8661
set dummy msgmerge; ac_word=$2
7850
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7851
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
8662
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8663
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7852
8664
if test "${ac_cv_path_MSGMERGE+set}" = set; then
7853
8665
  echo $ECHO_N "(cached) $ECHO_C" >&6
7854
8666
else
7877
8689
fi
7878
8690
MSGMERGE="$ac_cv_path_MSGMERGE"
7879
8691
if test "$MSGMERGE" != ":"; then
7880
 
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7881
 
echo "${ECHO_T}$MSGMERGE" >&6
 
8692
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
8693
echo "${ECHO_T}$MSGMERGE" >&6; }
7882
8694
else
7883
 
  echo "$as_me:$LINENO: result: no" >&5
7884
 
echo "${ECHO_T}no" >&6
 
8695
  { echo "$as_me:$LINENO: result: no" >&5
 
8696
echo "${ECHO_T}no" >&6; }
7885
8697
fi
7886
8698
 
7887
8699
 
7891
8703
      : ;
7892
8704
    else
7893
8705
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7894
 
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
7895
 
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
 
8706
      { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
8707
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
7896
8708
      GMSGFMT=":"
7897
8709
    fi
7898
8710
  fi
7902
8714
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7903
8715
      : ;
7904
8716
    else
7905
 
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7906
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
8717
      { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
8718
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7907
8719
      XGETTEXT=":"
7908
8720
    fi
7909
8721
        rm -f messages.po
7910
8722
  fi
7911
8723
 
7912
 
            ac_config_commands="$ac_config_commands default-1"
7913
 
 
7914
 
 
7915
 
 
7916
 
echo "$as_me:$LINENO: checking for egrep" >&5
7917
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7918
 
if test "${ac_cv_prog_egrep+set}" = set; then
7919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7920
 
else
7921
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7922
 
    then ac_cv_prog_egrep='grep -E'
7923
 
    else ac_cv_prog_egrep='egrep'
7924
 
    fi
7925
 
fi
7926
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7927
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7928
 
 EGREP=$ac_cv_prog_egrep
7929
 
 
7930
 
 
7931
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7932
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
8724
  ac_config_commands="$ac_config_commands default-1"
 
8725
 
 
8726
 
 
8727
 
 
8728
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
8729
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
8730
if test "${ac_cv_path_GREP+set}" = set; then
 
8731
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8732
else
 
8733
  # Extract the first word of "grep ggrep" to use in msg output
 
8734
if test -z "$GREP"; then
 
8735
set dummy grep ggrep; ac_prog_name=$2
 
8736
if test "${ac_cv_path_GREP+set}" = set; then
 
8737
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8738
else
 
8739
  ac_path_GREP_found=false
 
8740
# Loop through the user's path and test for each of PROGNAME-LIST
 
8741
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8742
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8743
do
 
8744
  IFS=$as_save_IFS
 
8745
  test -z "$as_dir" && as_dir=.
 
8746
  for ac_prog in grep ggrep; do
 
8747
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8748
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
8749
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
8750
    # Check for GNU ac_path_GREP and select it if it is found.
 
8751
  # Check for GNU $ac_path_GREP
 
8752
case `"$ac_path_GREP" --version 2>&1` in
 
8753
*GNU*)
 
8754
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
8755
*)
 
8756
  ac_count=0
 
8757
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
8758
  while :
 
8759
  do
 
8760
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8761
    mv "conftest.tmp" "conftest.in"
 
8762
    cp "conftest.in" "conftest.nl"
 
8763
    echo 'GREP' >> "conftest.nl"
 
8764
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8765
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8766
    ac_count=`expr $ac_count + 1`
 
8767
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
8768
      # Best one so far, save it but keep looking for a better one
 
8769
      ac_cv_path_GREP="$ac_path_GREP"
 
8770
      ac_path_GREP_max=$ac_count
 
8771
    fi
 
8772
    # 10*(2^10) chars as input seems more than enough
 
8773
    test $ac_count -gt 10 && break
 
8774
  done
 
8775
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8776
esac
 
8777
 
 
8778
 
 
8779
    $ac_path_GREP_found && break 3
 
8780
  done
 
8781
done
 
8782
 
 
8783
done
 
8784
IFS=$as_save_IFS
 
8785
 
 
8786
 
 
8787
fi
 
8788
 
 
8789
GREP="$ac_cv_path_GREP"
 
8790
if test -z "$GREP"; then
 
8791
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
8792
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
8793
   { (exit 1); exit 1; }; }
 
8794
fi
 
8795
 
 
8796
else
 
8797
  ac_cv_path_GREP=$GREP
 
8798
fi
 
8799
 
 
8800
 
 
8801
fi
 
8802
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
8803
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
8804
 GREP="$ac_cv_path_GREP"
 
8805
 
 
8806
 
 
8807
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
8808
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
8809
if test "${ac_cv_path_EGREP+set}" = set; then
 
8810
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8811
else
 
8812
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
8813
   then ac_cv_path_EGREP="$GREP -E"
 
8814
   else
 
8815
     # Extract the first word of "egrep" to use in msg output
 
8816
if test -z "$EGREP"; then
 
8817
set dummy egrep; ac_prog_name=$2
 
8818
if test "${ac_cv_path_EGREP+set}" = set; then
 
8819
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8820
else
 
8821
  ac_path_EGREP_found=false
 
8822
# Loop through the user's path and test for each of PROGNAME-LIST
 
8823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8824
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8825
do
 
8826
  IFS=$as_save_IFS
 
8827
  test -z "$as_dir" && as_dir=.
 
8828
  for ac_prog in egrep; do
 
8829
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8830
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
8831
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
8832
    # Check for GNU ac_path_EGREP and select it if it is found.
 
8833
  # Check for GNU $ac_path_EGREP
 
8834
case `"$ac_path_EGREP" --version 2>&1` in
 
8835
*GNU*)
 
8836
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
8837
*)
 
8838
  ac_count=0
 
8839
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
8840
  while :
 
8841
  do
 
8842
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8843
    mv "conftest.tmp" "conftest.in"
 
8844
    cp "conftest.in" "conftest.nl"
 
8845
    echo 'EGREP' >> "conftest.nl"
 
8846
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8847
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8848
    ac_count=`expr $ac_count + 1`
 
8849
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
8850
      # Best one so far, save it but keep looking for a better one
 
8851
      ac_cv_path_EGREP="$ac_path_EGREP"
 
8852
      ac_path_EGREP_max=$ac_count
 
8853
    fi
 
8854
    # 10*(2^10) chars as input seems more than enough
 
8855
    test $ac_count -gt 10 && break
 
8856
  done
 
8857
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8858
esac
 
8859
 
 
8860
 
 
8861
    $ac_path_EGREP_found && break 3
 
8862
  done
 
8863
done
 
8864
 
 
8865
done
 
8866
IFS=$as_save_IFS
 
8867
 
 
8868
 
 
8869
fi
 
8870
 
 
8871
EGREP="$ac_cv_path_EGREP"
 
8872
if test -z "$EGREP"; then
 
8873
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
8874
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
8875
   { (exit 1); exit 1; }; }
 
8876
fi
 
8877
 
 
8878
else
 
8879
  ac_cv_path_EGREP=$EGREP
 
8880
fi
 
8881
 
 
8882
 
 
8883
   fi
 
8884
fi
 
8885
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
8886
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
8887
 EGREP="$ac_cv_path_EGREP"
 
8888
 
 
8889
 
 
8890
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
8891
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7933
8892
if test "${ac_cv_header_stdc+set}" = set; then
7934
8893
  echo $ECHO_N "(cached) $ECHO_C" >&6
7935
8894
else
7953
8912
}
7954
8913
_ACEOF
7955
8914
rm -f conftest.$ac_objext
7956
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7957
 
  (eval $ac_compile) 2>conftest.er1
 
8915
if { (ac_try="$ac_compile"
 
8916
case "(($ac_try" in
 
8917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8918
  *) ac_try_echo=$ac_try;;
 
8919
esac
 
8920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8921
  (eval "$ac_compile") 2>conftest.er1
7958
8922
  ac_status=$?
7959
8923
  grep -v '^ *+' conftest.er1 >conftest.err
7960
8924
  rm -f conftest.er1
7961
8925
  cat conftest.err >&5
7962
8926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963
8927
  (exit $ac_status); } &&
7964
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7965
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7966
 
  (eval $ac_try) 2>&5
 
8928
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
8929
  { (case "(($ac_try" in
 
8930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8931
  *) ac_try_echo=$ac_try;;
 
8932
esac
 
8933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8934
  (eval "$ac_try") 2>&5
7967
8935
  ac_status=$?
7968
8936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969
8937
  (exit $ac_status); }; } &&
7970
8938
         { ac_try='test -s conftest.$ac_objext'
7971
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972
 
  (eval $ac_try) 2>&5
 
8939
  { (case "(($ac_try" in
 
8940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8941
  *) ac_try_echo=$ac_try;;
 
8942
esac
 
8943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8944
  (eval "$ac_try") 2>&5
7973
8945
  ac_status=$?
7974
8946
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975
8947
  (exit $ac_status); }; }; then
7978
8950
  echo "$as_me: failed program was:" >&5
7979
8951
sed 's/^/| /' conftest.$ac_ext >&5
7980
8952
 
7981
 
ac_cv_header_stdc=no
 
8953
        ac_cv_header_stdc=no
7982
8954
fi
7983
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
8955
 
 
8956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984
8957
 
7985
8958
if test $ac_cv_header_stdc = yes; then
7986
8959
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8036
9009
cat >>conftest.$ac_ext <<_ACEOF
8037
9010
/* end confdefs.h.  */
8038
9011
#include <ctype.h>
 
9012
#include <stdlib.h>
8039
9013
#if ((' ' & 0x0FF) == 0x020)
8040
9014
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8041
9015
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8055
9029
  for (i = 0; i < 256; i++)
8056
9030
    if (XOR (islower (i), ISLOWER (i))
8057
9031
        || toupper (i) != TOUPPER (i))
8058
 
      exit(2);
8059
 
  exit (0);
 
9032
      return 2;
 
9033
  return 0;
8060
9034
}
8061
9035
_ACEOF
8062
9036
rm -f conftest$ac_exeext
8063
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8064
 
  (eval $ac_link) 2>&5
 
9037
if { (ac_try="$ac_link"
 
9038
case "(($ac_try" in
 
9039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9040
  *) ac_try_echo=$ac_try;;
 
9041
esac
 
9042
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9043
  (eval "$ac_link") 2>&5
8065
9044
  ac_status=$?
8066
9045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067
9046
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8068
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069
 
  (eval $ac_try) 2>&5
 
9047
  { (case "(($ac_try" in
 
9048
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9049
  *) ac_try_echo=$ac_try;;
 
9050
esac
 
9051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9052
  (eval "$ac_try") 2>&5
8070
9053
  ac_status=$?
8071
9054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072
9055
  (exit $ac_status); }; }; then
8079
9062
( exit $ac_status )
8080
9063
ac_cv_header_stdc=no
8081
9064
fi
8082
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8083
 
fi
8084
 
fi
8085
 
fi
8086
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8087
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
9065
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9066
fi
 
9067
 
 
9068
 
 
9069
fi
 
9070
fi
 
9071
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
9072
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8088
9073
if test $ac_cv_header_stdc = yes; then
8089
9074
 
8090
9075
cat >>confdefs.h <<\_ACEOF
8093
9078
 
8094
9079
fi
8095
9080
 
8096
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8097
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
9081
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
9082
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8098
9083
if test "${ac_cv_c_const+set}" = set; then
8099
9084
  echo $ECHO_N "(cached) $ECHO_C" >&6
8100
9085
else
8112
9097
#ifndef __cplusplus
8113
9098
  /* Ultrix mips cc rejects this.  */
8114
9099
  typedef int charset[2];
8115
 
  const charset x;
 
9100
  const charset cs;
8116
9101
  /* SunOS 4.1.1 cc rejects this.  */
8117
 
  char const *const *ccp;
8118
 
  char **p;
 
9102
  char const *const *pcpcc;
 
9103
  char **ppc;
8119
9104
  /* NEC SVR4.0.2 mips cc rejects this.  */
8120
9105
  struct point {int x, y;};
8121
9106
  static struct point const zero = {0,0};
8124
9109
     an arm of an if-expression whose if-part is not a constant
8125
9110
     expression */
8126
9111
  const char *g = "string";
8127
 
  ccp = &g + (g ? g-g : 0);
 
9112
  pcpcc = &g + (g ? g-g : 0);
8128
9113
  /* HPUX 7.0 cc rejects these. */
8129
 
  ++ccp;
8130
 
  p = (char**) ccp;
8131
 
  ccp = (char const *const *) p;
 
9114
  ++pcpcc;
 
9115
  ppc = (char**) pcpcc;
 
9116
  pcpcc = (char const *const *) ppc;
8132
9117
  { /* SCO 3.2v4 cc rejects this.  */
8133
9118
    char *t;
8134
9119
    char const *s = 0 ? (char *) 0 : (char const *) 0;
8135
9120
 
8136
9121
    *t++ = 0;
 
9122
    if (s) return 0;
8137
9123
  }
8138
9124
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
8139
9125
    int x[] = {25, 17};
8152
9138
  }
8153
9139
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8154
9140
    const int foo = 10;
 
9141
    if (!foo) return 0;
8155
9142
  }
 
9143
  return !cs[0] && !zero.x;
8156
9144
#endif
8157
9145
 
8158
9146
  ;
8160
9148
}
8161
9149
_ACEOF
8162
9150
rm -f conftest.$ac_objext
8163
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8164
 
  (eval $ac_compile) 2>conftest.er1
 
9151
if { (ac_try="$ac_compile"
 
9152
case "(($ac_try" in
 
9153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9154
  *) ac_try_echo=$ac_try;;
 
9155
esac
 
9156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9157
  (eval "$ac_compile") 2>conftest.er1
8165
9158
  ac_status=$?
8166
9159
  grep -v '^ *+' conftest.er1 >conftest.err
8167
9160
  rm -f conftest.er1
8168
9161
  cat conftest.err >&5
8169
9162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170
9163
  (exit $ac_status); } &&
8171
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8172
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8173
 
  (eval $ac_try) 2>&5
 
9164
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9165
  { (case "(($ac_try" in
 
9166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9167
  *) ac_try_echo=$ac_try;;
 
9168
esac
 
9169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9170
  (eval "$ac_try") 2>&5
8174
9171
  ac_status=$?
8175
9172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176
9173
  (exit $ac_status); }; } &&
8177
9174
         { ac_try='test -s conftest.$ac_objext'
8178
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8179
 
  (eval $ac_try) 2>&5
 
9175
  { (case "(($ac_try" in
 
9176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9177
  *) ac_try_echo=$ac_try;;
 
9178
esac
 
9179
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9180
  (eval "$ac_try") 2>&5
8180
9181
  ac_status=$?
8181
9182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182
9183
  (exit $ac_status); }; }; then
8185
9186
  echo "$as_me: failed program was:" >&5
8186
9187
sed 's/^/| /' conftest.$ac_ext >&5
8187
9188
 
8188
 
ac_cv_c_const=no
8189
 
fi
8190
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8191
 
fi
8192
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8193
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
9189
        ac_cv_c_const=no
 
9190
fi
 
9191
 
 
9192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9193
fi
 
9194
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
9195
echo "${ECHO_T}$ac_cv_c_const" >&6; }
8194
9196
if test $ac_cv_c_const = no; then
8195
9197
 
8196
9198
cat >>confdefs.h <<\_ACEOF
8200
9202
fi
8201
9203
 
8202
9204
 
8203
 
  echo "$as_me:$LINENO: checking for signed" >&5
8204
 
echo $ECHO_N "checking for signed... $ECHO_C" >&6
 
9205
  { echo "$as_me:$LINENO: checking for signed" >&5
 
9206
echo $ECHO_N "checking for signed... $ECHO_C" >&6; }
8205
9207
if test "${bh_cv_c_signed+set}" = set; then
8206
9208
  echo $ECHO_N "(cached) $ECHO_C" >&6
8207
9209
else
8221
9223
}
8222
9224
_ACEOF
8223
9225
rm -f conftest.$ac_objext
8224
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8225
 
  (eval $ac_compile) 2>conftest.er1
 
9226
if { (ac_try="$ac_compile"
 
9227
case "(($ac_try" in
 
9228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9229
  *) ac_try_echo=$ac_try;;
 
9230
esac
 
9231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9232
  (eval "$ac_compile") 2>conftest.er1
8226
9233
  ac_status=$?
8227
9234
  grep -v '^ *+' conftest.er1 >conftest.err
8228
9235
  rm -f conftest.er1
8229
9236
  cat conftest.err >&5
8230
9237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231
9238
  (exit $ac_status); } &&
8232
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8234
 
  (eval $ac_try) 2>&5
 
9239
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9240
  { (case "(($ac_try" in
 
9241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9242
  *) ac_try_echo=$ac_try;;
 
9243
esac
 
9244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9245
  (eval "$ac_try") 2>&5
8235
9246
  ac_status=$?
8236
9247
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237
9248
  (exit $ac_status); }; } &&
8238
9249
         { ac_try='test -s conftest.$ac_objext'
8239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240
 
  (eval $ac_try) 2>&5
 
9250
  { (case "(($ac_try" in
 
9251
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9252
  *) ac_try_echo=$ac_try;;
 
9253
esac
 
9254
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9255
  (eval "$ac_try") 2>&5
8241
9256
  ac_status=$?
8242
9257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243
9258
  (exit $ac_status); }; }; then
8246
9261
  echo "$as_me: failed program was:" >&5
8247
9262
sed 's/^/| /' conftest.$ac_ext >&5
8248
9263
 
8249
 
bh_cv_c_signed=no
8250
 
fi
8251
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8252
 
fi
8253
 
echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
8254
 
echo "${ECHO_T}$bh_cv_c_signed" >&6
 
9264
        bh_cv_c_signed=no
 
9265
fi
 
9266
 
 
9267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9268
fi
 
9269
{ echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
 
9270
echo "${ECHO_T}$bh_cv_c_signed" >&6; }
8255
9271
  if test $bh_cv_c_signed = no; then
8256
9272
 
8257
9273
cat >>confdefs.h <<\_ACEOF
8260
9276
 
8261
9277
  fi
8262
9278
 
8263
 
echo "$as_me:$LINENO: checking for inline" >&5
8264
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
9279
{ echo "$as_me:$LINENO: checking for inline" >&5
 
9280
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
8265
9281
if test "${ac_cv_c_inline+set}" = set; then
8266
9282
  echo $ECHO_N "(cached) $ECHO_C" >&6
8267
9283
else
8281
9297
 
8282
9298
_ACEOF
8283
9299
rm -f conftest.$ac_objext
8284
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8285
 
  (eval $ac_compile) 2>conftest.er1
 
9300
if { (ac_try="$ac_compile"
 
9301
case "(($ac_try" in
 
9302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9303
  *) ac_try_echo=$ac_try;;
 
9304
esac
 
9305
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9306
  (eval "$ac_compile") 2>conftest.er1
8286
9307
  ac_status=$?
8287
9308
  grep -v '^ *+' conftest.er1 >conftest.err
8288
9309
  rm -f conftest.er1
8289
9310
  cat conftest.err >&5
8290
9311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291
9312
  (exit $ac_status); } &&
8292
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294
 
  (eval $ac_try) 2>&5
 
9313
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9314
  { (case "(($ac_try" in
 
9315
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9316
  *) ac_try_echo=$ac_try;;
 
9317
esac
 
9318
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9319
  (eval "$ac_try") 2>&5
8295
9320
  ac_status=$?
8296
9321
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297
9322
  (exit $ac_status); }; } &&
8298
9323
         { ac_try='test -s conftest.$ac_objext'
8299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300
 
  (eval $ac_try) 2>&5
 
9324
  { (case "(($ac_try" in
 
9325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9326
  *) ac_try_echo=$ac_try;;
 
9327
esac
 
9328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9329
  (eval "$ac_try") 2>&5
8301
9330
  ac_status=$?
8302
9331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303
9332
  (exit $ac_status); }; }; then
8304
 
  ac_cv_c_inline=$ac_kw; break
 
9333
  ac_cv_c_inline=$ac_kw
8305
9334
else
8306
9335
  echo "$as_me: failed program was:" >&5
8307
9336
sed 's/^/| /' conftest.$ac_ext >&5
8308
9337
 
 
9338
 
8309
9339
fi
8310
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9340
 
 
9341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9342
  test "$ac_cv_c_inline" != no && break
8311
9343
done
8312
9344
 
8313
9345
fi
8314
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8315
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
9346
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
9347
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
8316
9348
 
8317
9349
 
8318
9350
case $ac_cv_c_inline in
8344
9376
                  inttypes.h stdint.h unistd.h
8345
9377
do
8346
9378
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8347
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
8348
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8349
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
9379
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9380
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9381
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8350
9382
  echo $ECHO_N "(cached) $ECHO_C" >&6
8351
9383
else
8352
9384
  cat >conftest.$ac_ext <<_ACEOF
8360
9392
#include <$ac_header>
8361
9393
_ACEOF
8362
9394
rm -f conftest.$ac_objext
8363
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8364
 
  (eval $ac_compile) 2>conftest.er1
 
9395
if { (ac_try="$ac_compile"
 
9396
case "(($ac_try" in
 
9397
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9398
  *) ac_try_echo=$ac_try;;
 
9399
esac
 
9400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9401
  (eval "$ac_compile") 2>conftest.er1
8365
9402
  ac_status=$?
8366
9403
  grep -v '^ *+' conftest.er1 >conftest.err
8367
9404
  rm -f conftest.er1
8368
9405
  cat conftest.err >&5
8369
9406
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370
9407
  (exit $ac_status); } &&
8371
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8372
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373
 
  (eval $ac_try) 2>&5
 
9408
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9409
  { (case "(($ac_try" in
 
9410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9411
  *) ac_try_echo=$ac_try;;
 
9412
esac
 
9413
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9414
  (eval "$ac_try") 2>&5
8374
9415
  ac_status=$?
8375
9416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376
9417
  (exit $ac_status); }; } &&
8377
9418
         { ac_try='test -s conftest.$ac_objext'
8378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379
 
  (eval $ac_try) 2>&5
 
9419
  { (case "(($ac_try" in
 
9420
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9421
  *) ac_try_echo=$ac_try;;
 
9422
esac
 
9423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9424
  (eval "$ac_try") 2>&5
8380
9425
  ac_status=$?
8381
9426
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382
9427
  (exit $ac_status); }; }; then
8385
9430
  echo "$as_me: failed program was:" >&5
8386
9431
sed 's/^/| /' conftest.$ac_ext >&5
8387
9432
 
8388
 
eval "$as_ac_Header=no"
8389
 
fi
8390
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8391
 
fi
8392
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8393
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
9433
        eval "$as_ac_Header=no"
 
9434
fi
 
9435
 
 
9436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9437
fi
 
9438
ac_res=`eval echo '${'$as_ac_Header'}'`
 
9439
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
9440
echo "${ECHO_T}$ac_res" >&6; }
8394
9441
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8395
9442
  cat >>confdefs.h <<_ACEOF
8396
9443
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8401
9448
done
8402
9449
 
8403
9450
 
8404
 
echo "$as_me:$LINENO: checking for off_t" >&5
8405
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
9451
{ echo "$as_me:$LINENO: checking for off_t" >&5
 
9452
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
8406
9453
if test "${ac_cv_type_off_t+set}" = set; then
8407
9454
  echo $ECHO_N "(cached) $ECHO_C" >&6
8408
9455
else
8413
9460
cat >>conftest.$ac_ext <<_ACEOF
8414
9461
/* end confdefs.h.  */
8415
9462
$ac_includes_default
 
9463
typedef off_t ac__type_new_;
8416
9464
int
8417
9465
main ()
8418
9466
{
8419
 
if ((off_t *) 0)
 
9467
if ((ac__type_new_ *) 0)
8420
9468
  return 0;
8421
 
if (sizeof (off_t))
 
9469
if (sizeof (ac__type_new_))
8422
9470
  return 0;
8423
9471
  ;
8424
9472
  return 0;
8425
9473
}
8426
9474
_ACEOF
8427
9475
rm -f conftest.$ac_objext
8428
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8429
 
  (eval $ac_compile) 2>conftest.er1
 
9476
if { (ac_try="$ac_compile"
 
9477
case "(($ac_try" in
 
9478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9479
  *) ac_try_echo=$ac_try;;
 
9480
esac
 
9481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9482
  (eval "$ac_compile") 2>conftest.er1
8430
9483
  ac_status=$?
8431
9484
  grep -v '^ *+' conftest.er1 >conftest.err
8432
9485
  rm -f conftest.er1
8433
9486
  cat conftest.err >&5
8434
9487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435
9488
  (exit $ac_status); } &&
8436
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438
 
  (eval $ac_try) 2>&5
 
9489
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9490
  { (case "(($ac_try" in
 
9491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9492
  *) ac_try_echo=$ac_try;;
 
9493
esac
 
9494
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9495
  (eval "$ac_try") 2>&5
8439
9496
  ac_status=$?
8440
9497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441
9498
  (exit $ac_status); }; } &&
8442
9499
         { ac_try='test -s conftest.$ac_objext'
8443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444
 
  (eval $ac_try) 2>&5
 
9500
  { (case "(($ac_try" in
 
9501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9502
  *) ac_try_echo=$ac_try;;
 
9503
esac
 
9504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9505
  (eval "$ac_try") 2>&5
8445
9506
  ac_status=$?
8446
9507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447
9508
  (exit $ac_status); }; }; then
8450
9511
  echo "$as_me: failed program was:" >&5
8451
9512
sed 's/^/| /' conftest.$ac_ext >&5
8452
9513
 
8453
 
ac_cv_type_off_t=no
8454
 
fi
8455
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8456
 
fi
8457
 
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8458
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6
 
9514
        ac_cv_type_off_t=no
 
9515
fi
 
9516
 
 
9517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9518
fi
 
9519
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
9520
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
8459
9521
if test $ac_cv_type_off_t = yes; then
8460
9522
  :
8461
9523
else
8462
9524
 
8463
9525
cat >>confdefs.h <<_ACEOF
8464
 
#define off_t long
 
9526
#define off_t long int
8465
9527
_ACEOF
8466
9528
 
8467
9529
fi
8468
9530
 
8469
 
echo "$as_me:$LINENO: checking for size_t" >&5
8470
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
9531
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
9532
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
8471
9533
if test "${ac_cv_type_size_t+set}" = set; then
8472
9534
  echo $ECHO_N "(cached) $ECHO_C" >&6
8473
9535
else
8478
9540
cat >>conftest.$ac_ext <<_ACEOF
8479
9541
/* end confdefs.h.  */
8480
9542
$ac_includes_default
 
9543
typedef size_t ac__type_new_;
8481
9544
int
8482
9545
main ()
8483
9546
{
8484
 
if ((size_t *) 0)
 
9547
if ((ac__type_new_ *) 0)
8485
9548
  return 0;
8486
 
if (sizeof (size_t))
 
9549
if (sizeof (ac__type_new_))
8487
9550
  return 0;
8488
9551
  ;
8489
9552
  return 0;
8490
9553
}
8491
9554
_ACEOF
8492
9555
rm -f conftest.$ac_objext
8493
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8494
 
  (eval $ac_compile) 2>conftest.er1
 
9556
if { (ac_try="$ac_compile"
 
9557
case "(($ac_try" in
 
9558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9559
  *) ac_try_echo=$ac_try;;
 
9560
esac
 
9561
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9562
  (eval "$ac_compile") 2>conftest.er1
8495
9563
  ac_status=$?
8496
9564
  grep -v '^ *+' conftest.er1 >conftest.err
8497
9565
  rm -f conftest.er1
8498
9566
  cat conftest.err >&5
8499
9567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500
9568
  (exit $ac_status); } &&
8501
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8503
 
  (eval $ac_try) 2>&5
 
9569
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9570
  { (case "(($ac_try" in
 
9571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9572
  *) ac_try_echo=$ac_try;;
 
9573
esac
 
9574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9575
  (eval "$ac_try") 2>&5
8504
9576
  ac_status=$?
8505
9577
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506
9578
  (exit $ac_status); }; } &&
8507
9579
         { ac_try='test -s conftest.$ac_objext'
8508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509
 
  (eval $ac_try) 2>&5
 
9580
  { (case "(($ac_try" in
 
9581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9582
  *) ac_try_echo=$ac_try;;
 
9583
esac
 
9584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9585
  (eval "$ac_try") 2>&5
8510
9586
  ac_status=$?
8511
9587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512
9588
  (exit $ac_status); }; }; then
8515
9591
  echo "$as_me: failed program was:" >&5
8516
9592
sed 's/^/| /' conftest.$ac_ext >&5
8517
9593
 
8518
 
ac_cv_type_size_t=no
8519
 
fi
8520
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8521
 
fi
8522
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8523
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
9594
        ac_cv_type_size_t=no
 
9595
fi
 
9596
 
 
9597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9598
fi
 
9599
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
9600
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
8524
9601
if test $ac_cv_type_size_t = yes; then
8525
9602
  :
8526
9603
else
8527
9604
 
8528
9605
cat >>confdefs.h <<_ACEOF
8529
 
#define size_t unsigned
 
9606
#define size_t unsigned int
8530
9607
_ACEOF
8531
9608
 
8532
9609
fi
8533
9610
 
8534
9611
 
8535
 
  echo "$as_me:$LINENO: checking for long long" >&5
8536
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6
 
9612
  { echo "$as_me:$LINENO: checking for long long" >&5
 
9613
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
8537
9614
if test "${ac_cv_type_long_long+set}" = set; then
8538
9615
  echo $ECHO_N "(cached) $ECHO_C" >&6
8539
9616
else
8554
9631
}
8555
9632
_ACEOF
8556
9633
rm -f conftest.$ac_objext conftest$ac_exeext
8557
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8558
 
  (eval $ac_link) 2>conftest.er1
 
9634
if { (ac_try="$ac_link"
 
9635
case "(($ac_try" in
 
9636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9637
  *) ac_try_echo=$ac_try;;
 
9638
esac
 
9639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9640
  (eval "$ac_link") 2>conftest.er1
8559
9641
  ac_status=$?
8560
9642
  grep -v '^ *+' conftest.er1 >conftest.err
8561
9643
  rm -f conftest.er1
8562
9644
  cat conftest.err >&5
8563
9645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564
9646
  (exit $ac_status); } &&
8565
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567
 
  (eval $ac_try) 2>&5
 
9647
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9648
  { (case "(($ac_try" in
 
9649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9650
  *) ac_try_echo=$ac_try;;
 
9651
esac
 
9652
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9653
  (eval "$ac_try") 2>&5
8568
9654
  ac_status=$?
8569
9655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570
9656
  (exit $ac_status); }; } &&
8571
9657
         { ac_try='test -s conftest$ac_exeext'
8572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573
 
  (eval $ac_try) 2>&5
 
9658
  { (case "(($ac_try" in
 
9659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9660
  *) ac_try_echo=$ac_try;;
 
9661
esac
 
9662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9663
  (eval "$ac_try") 2>&5
8574
9664
  ac_status=$?
8575
9665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576
9666
  (exit $ac_status); }; }; then
8579
9669
  echo "$as_me: failed program was:" >&5
8580
9670
sed 's/^/| /' conftest.$ac_ext >&5
8581
9671
 
8582
 
ac_cv_type_long_long=no
 
9672
        ac_cv_type_long_long=no
8583
9673
fi
8584
 
rm -f conftest.err conftest.$ac_objext \
 
9674
 
 
9675
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8585
9676
      conftest$ac_exeext conftest.$ac_ext
8586
9677
fi
8587
 
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8588
 
echo "${ECHO_T}$ac_cv_type_long_long" >&6
 
9678
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 
9679
echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
8589
9680
  if test $ac_cv_type_long_long = yes; then
8590
9681
 
8591
9682
cat >>confdefs.h <<\_ACEOF
8595
9686
  fi
8596
9687
 
8597
9688
 
8598
 
  echo "$as_me:$LINENO: checking for long double" >&5
8599
 
echo $ECHO_N "checking for long double... $ECHO_C" >&6
 
9689
  { echo "$as_me:$LINENO: checking for long double" >&5
 
9690
echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
8600
9691
if test "${gt_cv_c_long_double+set}" = set; then
8601
9692
  echo $ECHO_N "(cached) $ECHO_C" >&6
8602
9693
else
8624
9715
}
8625
9716
_ACEOF
8626
9717
rm -f conftest.$ac_objext
8627
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8628
 
  (eval $ac_compile) 2>conftest.er1
 
9718
if { (ac_try="$ac_compile"
 
9719
case "(($ac_try" in
 
9720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9721
  *) ac_try_echo=$ac_try;;
 
9722
esac
 
9723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9724
  (eval "$ac_compile") 2>conftest.er1
8629
9725
  ac_status=$?
8630
9726
  grep -v '^ *+' conftest.er1 >conftest.err
8631
9727
  rm -f conftest.er1
8632
9728
  cat conftest.err >&5
8633
9729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634
9730
  (exit $ac_status); } &&
8635
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8636
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637
 
  (eval $ac_try) 2>&5
 
9731
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9732
  { (case "(($ac_try" in
 
9733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9734
  *) ac_try_echo=$ac_try;;
 
9735
esac
 
9736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9737
  (eval "$ac_try") 2>&5
8638
9738
  ac_status=$?
8639
9739
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640
9740
  (exit $ac_status); }; } &&
8641
9741
         { ac_try='test -s conftest.$ac_objext'
8642
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643
 
  (eval $ac_try) 2>&5
 
9742
  { (case "(($ac_try" in
 
9743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9744
  *) ac_try_echo=$ac_try;;
 
9745
esac
 
9746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9747
  (eval "$ac_try") 2>&5
8644
9748
  ac_status=$?
8645
9749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646
9750
  (exit $ac_status); }; }; then
8649
9753
  echo "$as_me: failed program was:" >&5
8650
9754
sed 's/^/| /' conftest.$ac_ext >&5
8651
9755
 
8652
 
gt_cv_c_long_double=no
 
9756
        gt_cv_c_long_double=no
8653
9757
fi
8654
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
9758
 
 
9759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8655
9760
     fi
8656
9761
fi
8657
 
echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
8658
 
echo "${ECHO_T}$gt_cv_c_long_double" >&6
 
9762
{ echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
 
9763
echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
8659
9764
  if test $gt_cv_c_long_double = yes; then
8660
9765
 
8661
9766
cat >>confdefs.h <<\_ACEOF
8665
9770
  fi
8666
9771
 
8667
9772
 
8668
 
  echo "$as_me:$LINENO: checking for wchar_t" >&5
8669
 
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
 
9773
  { echo "$as_me:$LINENO: checking for wchar_t" >&5
 
9774
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
8670
9775
if test "${gt_cv_c_wchar_t+set}" = set; then
8671
9776
  echo $ECHO_N "(cached) $ECHO_C" >&6
8672
9777
else
8687
9792
}
8688
9793
_ACEOF
8689
9794
rm -f conftest.$ac_objext
8690
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8691
 
  (eval $ac_compile) 2>conftest.er1
 
9795
if { (ac_try="$ac_compile"
 
9796
case "(($ac_try" in
 
9797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9798
  *) ac_try_echo=$ac_try;;
 
9799
esac
 
9800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9801
  (eval "$ac_compile") 2>conftest.er1
8692
9802
  ac_status=$?
8693
9803
  grep -v '^ *+' conftest.er1 >conftest.err
8694
9804
  rm -f conftest.er1
8695
9805
  cat conftest.err >&5
8696
9806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697
9807
  (exit $ac_status); } &&
8698
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700
 
  (eval $ac_try) 2>&5
 
9808
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9809
  { (case "(($ac_try" in
 
9810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9811
  *) ac_try_echo=$ac_try;;
 
9812
esac
 
9813
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9814
  (eval "$ac_try") 2>&5
8701
9815
  ac_status=$?
8702
9816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703
9817
  (exit $ac_status); }; } &&
8704
9818
         { ac_try='test -s conftest.$ac_objext'
8705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706
 
  (eval $ac_try) 2>&5
 
9819
  { (case "(($ac_try" in
 
9820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9821
  *) ac_try_echo=$ac_try;;
 
9822
esac
 
9823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9824
  (eval "$ac_try") 2>&5
8707
9825
  ac_status=$?
8708
9826
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709
9827
  (exit $ac_status); }; }; then
8712
9830
  echo "$as_me: failed program was:" >&5
8713
9831
sed 's/^/| /' conftest.$ac_ext >&5
8714
9832
 
8715
 
gt_cv_c_wchar_t=no
8716
 
fi
8717
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8718
 
fi
8719
 
echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
8720
 
echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
 
9833
        gt_cv_c_wchar_t=no
 
9834
fi
 
9835
 
 
9836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9837
fi
 
9838
{ echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
 
9839
echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
8721
9840
  if test $gt_cv_c_wchar_t = yes; then
8722
9841
 
8723
9842
cat >>confdefs.h <<\_ACEOF
8727
9846
  fi
8728
9847
 
8729
9848
 
8730
 
  echo "$as_me:$LINENO: checking for wint_t" >&5
8731
 
echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
 
9849
  { echo "$as_me:$LINENO: checking for wint_t" >&5
 
9850
echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
8732
9851
if test "${gt_cv_c_wint_t+set}" = set; then
8733
9852
  echo $ECHO_N "(cached) $ECHO_C" >&6
8734
9853
else
8749
9868
}
8750
9869
_ACEOF
8751
9870
rm -f conftest.$ac_objext
8752
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753
 
  (eval $ac_compile) 2>conftest.er1
 
9871
if { (ac_try="$ac_compile"
 
9872
case "(($ac_try" in
 
9873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9874
  *) ac_try_echo=$ac_try;;
 
9875
esac
 
9876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9877
  (eval "$ac_compile") 2>conftest.er1
8754
9878
  ac_status=$?
8755
9879
  grep -v '^ *+' conftest.er1 >conftest.err
8756
9880
  rm -f conftest.er1
8757
9881
  cat conftest.err >&5
8758
9882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759
9883
  (exit $ac_status); } &&
8760
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762
 
  (eval $ac_try) 2>&5
 
9884
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9885
  { (case "(($ac_try" in
 
9886
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9887
  *) ac_try_echo=$ac_try;;
 
9888
esac
 
9889
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9890
  (eval "$ac_try") 2>&5
8763
9891
  ac_status=$?
8764
9892
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765
9893
  (exit $ac_status); }; } &&
8766
9894
         { ac_try='test -s conftest.$ac_objext'
8767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768
 
  (eval $ac_try) 2>&5
 
9895
  { (case "(($ac_try" in
 
9896
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9897
  *) ac_try_echo=$ac_try;;
 
9898
esac
 
9899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9900
  (eval "$ac_try") 2>&5
8769
9901
  ac_status=$?
8770
9902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
9903
  (exit $ac_status); }; }; then
8774
9906
  echo "$as_me: failed program was:" >&5
8775
9907
sed 's/^/| /' conftest.$ac_ext >&5
8776
9908
 
8777
 
gt_cv_c_wint_t=no
8778
 
fi
8779
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780
 
fi
8781
 
echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
8782
 
echo "${ECHO_T}$gt_cv_c_wint_t" >&6
 
9909
        gt_cv_c_wint_t=no
 
9910
fi
 
9911
 
 
9912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9913
fi
 
9914
{ echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
 
9915
echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
8783
9916
  if test $gt_cv_c_wint_t = yes; then
8784
9917
 
8785
9918
cat >>confdefs.h <<\_ACEOF
8789
9922
  fi
8790
9923
 
8791
9924
 
8792
 
  echo "$as_me:$LINENO: checking for inttypes.h" >&5
8793
 
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
 
9925
  { echo "$as_me:$LINENO: checking for inttypes.h" >&5
 
9926
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
8794
9927
if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
8795
9928
  echo $ECHO_N "(cached) $ECHO_C" >&6
8796
9929
else
8811
9944
}
8812
9945
_ACEOF
8813
9946
rm -f conftest.$ac_objext
8814
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8815
 
  (eval $ac_compile) 2>conftest.er1
 
9947
if { (ac_try="$ac_compile"
 
9948
case "(($ac_try" in
 
9949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9950
  *) ac_try_echo=$ac_try;;
 
9951
esac
 
9952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9953
  (eval "$ac_compile") 2>conftest.er1
8816
9954
  ac_status=$?
8817
9955
  grep -v '^ *+' conftest.er1 >conftest.err
8818
9956
  rm -f conftest.er1
8819
9957
  cat conftest.err >&5
8820
9958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821
9959
  (exit $ac_status); } &&
8822
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8823
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824
 
  (eval $ac_try) 2>&5
 
9960
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
9961
  { (case "(($ac_try" in
 
9962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9963
  *) ac_try_echo=$ac_try;;
 
9964
esac
 
9965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9966
  (eval "$ac_try") 2>&5
8825
9967
  ac_status=$?
8826
9968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827
9969
  (exit $ac_status); }; } &&
8828
9970
         { ac_try='test -s conftest.$ac_objext'
8829
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830
 
  (eval $ac_try) 2>&5
 
9971
  { (case "(($ac_try" in
 
9972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9973
  *) ac_try_echo=$ac_try;;
 
9974
esac
 
9975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9976
  (eval "$ac_try") 2>&5
8831
9977
  ac_status=$?
8832
9978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833
9979
  (exit $ac_status); }; }; then
8836
9982
  echo "$as_me: failed program was:" >&5
8837
9983
sed 's/^/| /' conftest.$ac_ext >&5
8838
9984
 
8839
 
jm_ac_cv_header_inttypes_h=no
8840
 
fi
8841
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8842
 
fi
8843
 
echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
8844
 
echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
 
9985
        jm_ac_cv_header_inttypes_h=no
 
9986
fi
 
9987
 
 
9988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9989
fi
 
9990
{ echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
 
9991
echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6; }
8845
9992
  if test $jm_ac_cv_header_inttypes_h = yes; then
8846
9993
 
8847
9994
cat >>confdefs.h <<_ACEOF
8851
9998
  fi
8852
9999
 
8853
10000
 
8854
 
  echo "$as_me:$LINENO: checking for stdint.h" >&5
8855
 
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
 
10001
  { echo "$as_me:$LINENO: checking for stdint.h" >&5
 
10002
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
8856
10003
if test "${jm_ac_cv_header_stdint_h+set}" = set; then
8857
10004
  echo $ECHO_N "(cached) $ECHO_C" >&6
8858
10005
else
8873
10020
}
8874
10021
_ACEOF
8875
10022
rm -f conftest.$ac_objext
8876
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877
 
  (eval $ac_compile) 2>conftest.er1
 
10023
if { (ac_try="$ac_compile"
 
10024
case "(($ac_try" in
 
10025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10026
  *) ac_try_echo=$ac_try;;
 
10027
esac
 
10028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10029
  (eval "$ac_compile") 2>conftest.er1
8878
10030
  ac_status=$?
8879
10031
  grep -v '^ *+' conftest.er1 >conftest.err
8880
10032
  rm -f conftest.er1
8881
10033
  cat conftest.err >&5
8882
10034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883
10035
  (exit $ac_status); } &&
8884
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886
 
  (eval $ac_try) 2>&5
 
10036
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10037
  { (case "(($ac_try" in
 
10038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10039
  *) ac_try_echo=$ac_try;;
 
10040
esac
 
10041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10042
  (eval "$ac_try") 2>&5
8887
10043
  ac_status=$?
8888
10044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889
10045
  (exit $ac_status); }; } &&
8890
10046
         { ac_try='test -s conftest.$ac_objext'
8891
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892
 
  (eval $ac_try) 2>&5
 
10047
  { (case "(($ac_try" in
 
10048
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10049
  *) ac_try_echo=$ac_try;;
 
10050
esac
 
10051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10052
  (eval "$ac_try") 2>&5
8893
10053
  ac_status=$?
8894
10054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895
10055
  (exit $ac_status); }; }; then
8898
10058
  echo "$as_me: failed program was:" >&5
8899
10059
sed 's/^/| /' conftest.$ac_ext >&5
8900
10060
 
8901
 
jm_ac_cv_header_stdint_h=no
8902
 
fi
8903
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8904
 
fi
8905
 
echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
8906
 
echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
 
10061
        jm_ac_cv_header_stdint_h=no
 
10062
fi
 
10063
 
 
10064
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10065
fi
 
10066
{ echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
 
10067
echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6; }
8907
10068
  if test $jm_ac_cv_header_stdint_h = yes; then
8908
10069
 
8909
10070
cat >>confdefs.h <<_ACEOF
8915
10076
 
8916
10077
 
8917
10078
 
8918
 
  echo "$as_me:$LINENO: checking for intmax_t" >&5
8919
 
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
 
10079
  { echo "$as_me:$LINENO: checking for intmax_t" >&5
 
10080
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
8920
10081
if test "${gt_cv_c_intmax_t+set}" = set; then
8921
10082
  echo $ECHO_N "(cached) $ECHO_C" >&6
8922
10083
else
8945
10106
}
8946
10107
_ACEOF
8947
10108
rm -f conftest.$ac_objext
8948
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8949
 
  (eval $ac_compile) 2>conftest.er1
 
10109
if { (ac_try="$ac_compile"
 
10110
case "(($ac_try" in
 
10111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10112
  *) ac_try_echo=$ac_try;;
 
10113
esac
 
10114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10115
  (eval "$ac_compile") 2>conftest.er1
8950
10116
  ac_status=$?
8951
10117
  grep -v '^ *+' conftest.er1 >conftest.err
8952
10118
  rm -f conftest.er1
8953
10119
  cat conftest.err >&5
8954
10120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955
10121
  (exit $ac_status); } &&
8956
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8957
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958
 
  (eval $ac_try) 2>&5
 
10122
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10123
  { (case "(($ac_try" in
 
10124
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10125
  *) ac_try_echo=$ac_try;;
 
10126
esac
 
10127
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10128
  (eval "$ac_try") 2>&5
8959
10129
  ac_status=$?
8960
10130
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961
10131
  (exit $ac_status); }; } &&
8962
10132
         { ac_try='test -s conftest.$ac_objext'
8963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8964
 
  (eval $ac_try) 2>&5
 
10133
  { (case "(($ac_try" in
 
10134
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10135
  *) ac_try_echo=$ac_try;;
 
10136
esac
 
10137
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10138
  (eval "$ac_try") 2>&5
8965
10139
  ac_status=$?
8966
10140
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967
10141
  (exit $ac_status); }; }; then
8970
10144
  echo "$as_me: failed program was:" >&5
8971
10145
sed 's/^/| /' conftest.$ac_ext >&5
8972
10146
 
8973
 
gt_cv_c_intmax_t=no
8974
 
fi
8975
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8976
 
fi
8977
 
echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
8978
 
echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
 
10147
        gt_cv_c_intmax_t=no
 
10148
fi
 
10149
 
 
10150
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10151
fi
 
10152
{ echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
 
10153
echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
8979
10154
  if test $gt_cv_c_intmax_t = yes; then
8980
10155
 
8981
10156
cat >>confdefs.h <<\_ACEOF
8986
10161
 
8987
10162
 
8988
10163
 
8989
 
  echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
8990
 
echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
 
10164
  { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
 
10165
echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
8991
10166
if test "${gt_cv_func_printf_posix+set}" = set; then
8992
10167
  echo $ECHO_N "(cached) $ECHO_C" >&6
8993
10168
else
9036
10211
}
9037
10212
_ACEOF
9038
10213
rm -f conftest$ac_exeext
9039
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040
 
  (eval $ac_link) 2>&5
 
10214
if { (ac_try="$ac_link"
 
10215
case "(($ac_try" in
 
10216
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10217
  *) ac_try_echo=$ac_try;;
 
10218
esac
 
10219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10220
  (eval "$ac_link") 2>&5
9041
10221
  ac_status=$?
9042
10222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043
10223
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9044
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9045
 
  (eval $ac_try) 2>&5
 
10224
  { (case "(($ac_try" in
 
10225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10226
  *) ac_try_echo=$ac_try;;
 
10227
esac
 
10228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10229
  (eval "$ac_try") 2>&5
9046
10230
  ac_status=$?
9047
10231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048
10232
  (exit $ac_status); }; }; then
9055
10239
( exit $ac_status )
9056
10240
gt_cv_func_printf_posix=no
9057
10241
fi
9058
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9059
 
fi
9060
 
 
9061
 
fi
9062
 
echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
9063
 
echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
 
10242
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
10243
fi
 
10244
 
 
10245
 
 
10246
 
 
10247
fi
 
10248
{ echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
 
10249
echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
9064
10250
  case $gt_cv_func_printf_posix in
9065
10251
    *yes)
9066
10252
 
9073
10259
 
9074
10260
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9075
10261
# for constant arguments.  Useless!
9076
 
echo "$as_me:$LINENO: checking for working alloca.h" >&5
9077
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 
10262
{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
10263
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
9078
10264
if test "${ac_cv_working_alloca_h+set}" = set; then
9079
10265
  echo $ECHO_N "(cached) $ECHO_C" >&6
9080
10266
else
9089
10275
main ()
9090
10276
{
9091
10277
char *p = (char *) alloca (2 * sizeof (int));
 
10278
                          if (p) return 0;
9092
10279
  ;
9093
10280
  return 0;
9094
10281
}
9095
10282
_ACEOF
9096
10283
rm -f conftest.$ac_objext conftest$ac_exeext
9097
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9098
 
  (eval $ac_link) 2>conftest.er1
 
10284
if { (ac_try="$ac_link"
 
10285
case "(($ac_try" in
 
10286
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10287
  *) ac_try_echo=$ac_try;;
 
10288
esac
 
10289
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10290
  (eval "$ac_link") 2>conftest.er1
9099
10291
  ac_status=$?
9100
10292
  grep -v '^ *+' conftest.er1 >conftest.err
9101
10293
  rm -f conftest.er1
9102
10294
  cat conftest.err >&5
9103
10295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104
10296
  (exit $ac_status); } &&
9105
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9106
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107
 
  (eval $ac_try) 2>&5
 
10297
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10298
  { (case "(($ac_try" in
 
10299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10300
  *) ac_try_echo=$ac_try;;
 
10301
esac
 
10302
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10303
  (eval "$ac_try") 2>&5
9108
10304
  ac_status=$?
9109
10305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110
10306
  (exit $ac_status); }; } &&
9111
10307
         { ac_try='test -s conftest$ac_exeext'
9112
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113
 
  (eval $ac_try) 2>&5
 
10308
  { (case "(($ac_try" in
 
10309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10310
  *) ac_try_echo=$ac_try;;
 
10311
esac
 
10312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10313
  (eval "$ac_try") 2>&5
9114
10314
  ac_status=$?
9115
10315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116
10316
  (exit $ac_status); }; }; then
9119
10319
  echo "$as_me: failed program was:" >&5
9120
10320
sed 's/^/| /' conftest.$ac_ext >&5
9121
10321
 
9122
 
ac_cv_working_alloca_h=no
 
10322
        ac_cv_working_alloca_h=no
9123
10323
fi
9124
 
rm -f conftest.err conftest.$ac_objext \
 
10324
 
 
10325
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9125
10326
      conftest$ac_exeext conftest.$ac_ext
9126
10327
fi
9127
 
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9128
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 
10328
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
10329
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
9129
10330
if test $ac_cv_working_alloca_h = yes; then
9130
10331
 
9131
10332
cat >>confdefs.h <<\_ACEOF
9134
10335
 
9135
10336
fi
9136
10337
 
9137
 
echo "$as_me:$LINENO: checking for alloca" >&5
9138
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 
10338
{ echo "$as_me:$LINENO: checking for alloca" >&5
 
10339
echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
9139
10340
if test "${ac_cv_func_alloca_works+set}" = set; then
9140
10341
  echo $ECHO_N "(cached) $ECHO_C" >&6
9141
10342
else
9152
10353
#  include <malloc.h>
9153
10354
#  define alloca _alloca
9154
10355
# else
9155
 
#  if HAVE_ALLOCA_H
 
10356
#  ifdef HAVE_ALLOCA_H
9156
10357
#   include <alloca.h>
9157
10358
#  else
9158
10359
#   ifdef _AIX
9170
10371
main ()
9171
10372
{
9172
10373
char *p = (char *) alloca (1);
 
10374
                                    if (p) return 0;
9173
10375
  ;
9174
10376
  return 0;
9175
10377
}
9176
10378
_ACEOF
9177
10379
rm -f conftest.$ac_objext conftest$ac_exeext
9178
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9179
 
  (eval $ac_link) 2>conftest.er1
 
10380
if { (ac_try="$ac_link"
 
10381
case "(($ac_try" in
 
10382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10383
  *) ac_try_echo=$ac_try;;
 
10384
esac
 
10385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10386
  (eval "$ac_link") 2>conftest.er1
9180
10387
  ac_status=$?
9181
10388
  grep -v '^ *+' conftest.er1 >conftest.err
9182
10389
  rm -f conftest.er1
9183
10390
  cat conftest.err >&5
9184
10391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185
10392
  (exit $ac_status); } &&
9186
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9187
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188
 
  (eval $ac_try) 2>&5
 
10393
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10394
  { (case "(($ac_try" in
 
10395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10396
  *) ac_try_echo=$ac_try;;
 
10397
esac
 
10398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10399
  (eval "$ac_try") 2>&5
9189
10400
  ac_status=$?
9190
10401
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191
10402
  (exit $ac_status); }; } &&
9192
10403
         { ac_try='test -s conftest$ac_exeext'
9193
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194
 
  (eval $ac_try) 2>&5
 
10404
  { (case "(($ac_try" in
 
10405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10406
  *) ac_try_echo=$ac_try;;
 
10407
esac
 
10408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10409
  (eval "$ac_try") 2>&5
9195
10410
  ac_status=$?
9196
10411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197
10412
  (exit $ac_status); }; }; then
9200
10415
  echo "$as_me: failed program was:" >&5
9201
10416
sed 's/^/| /' conftest.$ac_ext >&5
9202
10417
 
9203
 
ac_cv_func_alloca_works=no
 
10418
        ac_cv_func_alloca_works=no
9204
10419
fi
9205
 
rm -f conftest.err conftest.$ac_objext \
 
10420
 
 
10421
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9206
10422
      conftest$ac_exeext conftest.$ac_ext
9207
10423
fi
9208
 
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9209
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
10424
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
10425
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
9210
10426
 
9211
10427
if test $ac_cv_func_alloca_works = yes; then
9212
10428
 
9220
10436
# contain a buggy version.  If you still want to use their alloca,
9221
10437
# use ar to extract alloca.o from them instead of compiling alloca.c.
9222
10438
 
9223
 
ALLOCA=alloca.$ac_objext
 
10439
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
9224
10440
 
9225
10441
cat >>confdefs.h <<\_ACEOF
9226
10442
#define C_ALLOCA 1
9227
10443
_ACEOF
9228
10444
 
9229
10445
 
9230
 
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9231
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 
10446
{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
10447
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
9232
10448
if test "${ac_cv_os_cray+set}" = set; then
9233
10449
  echo $ECHO_N "(cached) $ECHO_C" >&6
9234
10450
else
9238
10454
cat confdefs.h >>conftest.$ac_ext
9239
10455
cat >>conftest.$ac_ext <<_ACEOF
9240
10456
/* end confdefs.h.  */
9241
 
#if defined(CRAY) && ! defined(CRAY2)
 
10457
#if defined CRAY && ! defined CRAY2
9242
10458
webecray
9243
10459
#else
9244
10460
wenotbecray
9254
10470
rm -f conftest*
9255
10471
 
9256
10472
fi
9257
 
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9258
 
echo "${ECHO_T}$ac_cv_os_cray" >&6
 
10473
{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
10474
echo "${ECHO_T}$ac_cv_os_cray" >&6; }
9259
10475
if test $ac_cv_os_cray = yes; then
9260
10476
  for ac_func in _getb67 GETB67 getb67; do
9261
10477
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9262
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
9263
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9264
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
10478
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
10479
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
10480
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9265
10481
  echo $ECHO_N "(cached) $ECHO_C" >&6
9266
10482
else
9267
10483
  cat >conftest.$ac_ext <<_ACEOF
9287
10503
 
9288
10504
#undef $ac_func
9289
10505
 
9290
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10506
/* Override any GCC internal prototype to avoid an error.
 
10507
   Use char because int might match the return type of a GCC
 
10508
   builtin and then its argument prototype would still apply.  */
9291
10509
#ifdef __cplusplus
9292
10510
extern "C"
9293
 
{
9294
10511
#endif
9295
 
/* We use char because int might match the return type of a gcc2
9296
 
   builtin and then its argument prototype would still apply.  */
9297
10512
char $ac_func ();
9298
10513
/* The GNU C library defines this for functions which it implements
9299
10514
    to always fail with ENOSYS.  Some functions are actually named
9300
10515
    something starting with __ and the normal name is an alias.  */
9301
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
10516
#if defined __stub_$ac_func || defined __stub___$ac_func
9302
10517
choke me
9303
 
#else
9304
 
char (*f) () = $ac_func;
9305
 
#endif
9306
 
#ifdef __cplusplus
9307
 
}
9308
10518
#endif
9309
10519
 
9310
10520
int
9311
10521
main ()
9312
10522
{
9313
 
return f != $ac_func;
 
10523
return $ac_func ();
9314
10524
  ;
9315
10525
  return 0;
9316
10526
}
9317
10527
_ACEOF
9318
10528
rm -f conftest.$ac_objext conftest$ac_exeext
9319
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9320
 
  (eval $ac_link) 2>conftest.er1
 
10529
if { (ac_try="$ac_link"
 
10530
case "(($ac_try" in
 
10531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10532
  *) ac_try_echo=$ac_try;;
 
10533
esac
 
10534
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10535
  (eval "$ac_link") 2>conftest.er1
9321
10536
  ac_status=$?
9322
10537
  grep -v '^ *+' conftest.er1 >conftest.err
9323
10538
  rm -f conftest.er1
9324
10539
  cat conftest.err >&5
9325
10540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326
10541
  (exit $ac_status); } &&
9327
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9328
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329
 
  (eval $ac_try) 2>&5
 
10542
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10543
  { (case "(($ac_try" in
 
10544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10545
  *) ac_try_echo=$ac_try;;
 
10546
esac
 
10547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10548
  (eval "$ac_try") 2>&5
9330
10549
  ac_status=$?
9331
10550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332
10551
  (exit $ac_status); }; } &&
9333
10552
         { ac_try='test -s conftest$ac_exeext'
9334
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9335
 
  (eval $ac_try) 2>&5
 
10553
  { (case "(($ac_try" in
 
10554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10555
  *) ac_try_echo=$ac_try;;
 
10556
esac
 
10557
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10558
  (eval "$ac_try") 2>&5
9336
10559
  ac_status=$?
9337
10560
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338
10561
  (exit $ac_status); }; }; then
9341
10564
  echo "$as_me: failed program was:" >&5
9342
10565
sed 's/^/| /' conftest.$ac_ext >&5
9343
10566
 
9344
 
eval "$as_ac_var=no"
 
10567
        eval "$as_ac_var=no"
9345
10568
fi
9346
 
rm -f conftest.err conftest.$ac_objext \
 
10569
 
 
10570
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9347
10571
      conftest$ac_exeext conftest.$ac_ext
9348
10572
fi
9349
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9350
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
10573
ac_res=`eval echo '${'$as_ac_var'}'`
 
10574
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
10575
echo "${ECHO_T}$ac_res" >&6; }
9351
10576
if test `eval echo '${'$as_ac_var'}'` = yes; then
9352
10577
 
9353
10578
cat >>confdefs.h <<_ACEOF
9360
10585
  done
9361
10586
fi
9362
10587
 
9363
 
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9364
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 
10588
{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
10589
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
9365
10590
if test "${ac_cv_c_stack_direction+set}" = set; then
9366
10591
  echo $ECHO_N "(cached) $ECHO_C" >&6
9367
10592
else
9374
10599
cat confdefs.h >>conftest.$ac_ext
9375
10600
cat >>conftest.$ac_ext <<_ACEOF
9376
10601
/* end confdefs.h.  */
 
10602
$ac_includes_default
9377
10603
int
9378
10604
find_stack_direction ()
9379
10605
{
9391
10617
int
9392
10618
main ()
9393
10619
{
9394
 
  exit (find_stack_direction () < 0);
 
10620
  return find_stack_direction () < 0;
9395
10621
}
9396
10622
_ACEOF
9397
10623
rm -f conftest$ac_exeext
9398
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9399
 
  (eval $ac_link) 2>&5
 
10624
if { (ac_try="$ac_link"
 
10625
case "(($ac_try" in
 
10626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10627
  *) ac_try_echo=$ac_try;;
 
10628
esac
 
10629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10630
  (eval "$ac_link") 2>&5
9400
10631
  ac_status=$?
9401
10632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402
10633
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9403
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9404
 
  (eval $ac_try) 2>&5
 
10634
  { (case "(($ac_try" in
 
10635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10636
  *) ac_try_echo=$ac_try;;
 
10637
esac
 
10638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10639
  (eval "$ac_try") 2>&5
9405
10640
  ac_status=$?
9406
10641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407
10642
  (exit $ac_status); }; }; then
9414
10649
( exit $ac_status )
9415
10650
ac_cv_c_stack_direction=-1
9416
10651
fi
9417
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9418
 
fi
9419
 
fi
9420
 
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9421
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
10652
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
10653
fi
 
10654
 
 
10655
 
 
10656
fi
 
10657
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
10658
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
9422
10659
 
9423
10660
cat >>confdefs.h <<_ACEOF
9424
10661
#define STACK_DIRECTION $ac_cv_c_stack_direction
9432
10669
for ac_header in stdlib.h unistd.h
9433
10670
do
9434
10671
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9435
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9436
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
9437
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9438
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
10672
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
10673
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
10674
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
10675
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9439
10676
  echo $ECHO_N "(cached) $ECHO_C" >&6
9440
10677
fi
9441
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9442
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
10678
ac_res=`eval echo '${'$as_ac_Header'}'`
 
10679
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
10680
echo "${ECHO_T}$ac_res" >&6; }
9443
10681
else
9444
10682
  # Is the header compilable?
9445
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9446
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
10683
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
10684
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9447
10685
cat >conftest.$ac_ext <<_ACEOF
9448
10686
/* confdefs.h.  */
9449
10687
_ACEOF
9454
10692
#include <$ac_header>
9455
10693
_ACEOF
9456
10694
rm -f conftest.$ac_objext
9457
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9458
 
  (eval $ac_compile) 2>conftest.er1
 
10695
if { (ac_try="$ac_compile"
 
10696
case "(($ac_try" in
 
10697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10698
  *) ac_try_echo=$ac_try;;
 
10699
esac
 
10700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10701
  (eval "$ac_compile") 2>conftest.er1
9459
10702
  ac_status=$?
9460
10703
  grep -v '^ *+' conftest.er1 >conftest.err
9461
10704
  rm -f conftest.er1
9462
10705
  cat conftest.err >&5
9463
10706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464
10707
  (exit $ac_status); } &&
9465
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9466
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467
 
  (eval $ac_try) 2>&5
 
10708
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10709
  { (case "(($ac_try" in
 
10710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10711
  *) ac_try_echo=$ac_try;;
 
10712
esac
 
10713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10714
  (eval "$ac_try") 2>&5
9468
10715
  ac_status=$?
9469
10716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470
10717
  (exit $ac_status); }; } &&
9471
10718
         { ac_try='test -s conftest.$ac_objext'
9472
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473
 
  (eval $ac_try) 2>&5
 
10719
  { (case "(($ac_try" in
 
10720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10721
  *) ac_try_echo=$ac_try;;
 
10722
esac
 
10723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10724
  (eval "$ac_try") 2>&5
9474
10725
  ac_status=$?
9475
10726
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476
10727
  (exit $ac_status); }; }; then
9479
10730
  echo "$as_me: failed program was:" >&5
9480
10731
sed 's/^/| /' conftest.$ac_ext >&5
9481
10732
 
9482
 
ac_header_compiler=no
 
10733
        ac_header_compiler=no
9483
10734
fi
9484
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9485
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9486
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
10735
 
 
10736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10737
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
10738
echo "${ECHO_T}$ac_header_compiler" >&6; }
9487
10739
 
9488
10740
# Is the header present?
9489
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9490
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
10741
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
10742
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9491
10743
cat >conftest.$ac_ext <<_ACEOF
9492
10744
/* confdefs.h.  */
9493
10745
_ACEOF
9496
10748
/* end confdefs.h.  */
9497
10749
#include <$ac_header>
9498
10750
_ACEOF
9499
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9500
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
10751
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
10752
case "(($ac_try" in
 
10753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10754
  *) ac_try_echo=$ac_try;;
 
10755
esac
 
10756
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10757
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9501
10758
  ac_status=$?
9502
10759
  grep -v '^ *+' conftest.er1 >conftest.err
9503
10760
  rm -f conftest.er1
9521
10778
 
9522
10779
  ac_header_preproc=no
9523
10780
fi
 
10781
 
9524
10782
rm -f conftest.err conftest.$ac_ext
9525
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9526
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
10783
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
10784
echo "${ECHO_T}$ac_header_preproc" >&6; }
9527
10785
 
9528
10786
# So?  What about this header?
9529
10787
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9547
10805
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9548
10806
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9549
10807
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9550
 
    (
9551
 
      cat <<\_ASBOX
 
10808
    ( cat <<\_ASBOX
9552
10809
## -------------------------------- ##
9553
10810
## Report this to bug-gnupg@gnu.org ##
9554
10811
## -------------------------------- ##
9555
10812
_ASBOX
9556
 
    ) |
9557
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
10813
     ) | sed "s/^/$as_me: WARNING:     /" >&2
9558
10814
    ;;
9559
10815
esac
9560
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
9561
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9562
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
10816
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
10817
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
10818
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9563
10819
  echo $ECHO_N "(cached) $ECHO_C" >&6
9564
10820
else
9565
10821
  eval "$as_ac_Header=\$ac_header_preproc"
9566
10822
fi
9567
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9568
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
10823
ac_res=`eval echo '${'$as_ac_Header'}'`
 
10824
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
10825
echo "${ECHO_T}$ac_res" >&6; }
9569
10826
 
9570
10827
fi
9571
10828
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9581
10838
for ac_func in getpagesize
9582
10839
do
9583
10840
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9584
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
9585
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9586
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
10841
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
10842
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
10843
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9587
10844
  echo $ECHO_N "(cached) $ECHO_C" >&6
9588
10845
else
9589
10846
  cat >conftest.$ac_ext <<_ACEOF
9609
10866
 
9610
10867
#undef $ac_func
9611
10868
 
9612
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10869
/* Override any GCC internal prototype to avoid an error.
 
10870
   Use char because int might match the return type of a GCC
 
10871
   builtin and then its argument prototype would still apply.  */
9613
10872
#ifdef __cplusplus
9614
10873
extern "C"
9615
 
{
9616
10874
#endif
9617
 
/* We use char because int might match the return type of a gcc2
9618
 
   builtin and then its argument prototype would still apply.  */
9619
10875
char $ac_func ();
9620
10876
/* The GNU C library defines this for functions which it implements
9621
10877
    to always fail with ENOSYS.  Some functions are actually named
9622
10878
    something starting with __ and the normal name is an alias.  */
9623
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
10879
#if defined __stub_$ac_func || defined __stub___$ac_func
9624
10880
choke me
9625
 
#else
9626
 
char (*f) () = $ac_func;
9627
 
#endif
9628
 
#ifdef __cplusplus
9629
 
}
9630
10881
#endif
9631
10882
 
9632
10883
int
9633
10884
main ()
9634
10885
{
9635
 
return f != $ac_func;
 
10886
return $ac_func ();
9636
10887
  ;
9637
10888
  return 0;
9638
10889
}
9639
10890
_ACEOF
9640
10891
rm -f conftest.$ac_objext conftest$ac_exeext
9641
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9642
 
  (eval $ac_link) 2>conftest.er1
 
10892
if { (ac_try="$ac_link"
 
10893
case "(($ac_try" in
 
10894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10895
  *) ac_try_echo=$ac_try;;
 
10896
esac
 
10897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10898
  (eval "$ac_link") 2>conftest.er1
9643
10899
  ac_status=$?
9644
10900
  grep -v '^ *+' conftest.er1 >conftest.err
9645
10901
  rm -f conftest.er1
9646
10902
  cat conftest.err >&5
9647
10903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648
10904
  (exit $ac_status); } &&
9649
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9650
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9651
 
  (eval $ac_try) 2>&5
 
10905
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
10906
  { (case "(($ac_try" in
 
10907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10908
  *) ac_try_echo=$ac_try;;
 
10909
esac
 
10910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10911
  (eval "$ac_try") 2>&5
9652
10912
  ac_status=$?
9653
10913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654
10914
  (exit $ac_status); }; } &&
9655
10915
         { ac_try='test -s conftest$ac_exeext'
9656
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9657
 
  (eval $ac_try) 2>&5
 
10916
  { (case "(($ac_try" in
 
10917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10918
  *) ac_try_echo=$ac_try;;
 
10919
esac
 
10920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10921
  (eval "$ac_try") 2>&5
9658
10922
  ac_status=$?
9659
10923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660
10924
  (exit $ac_status); }; }; then
9663
10927
  echo "$as_me: failed program was:" >&5
9664
10928
sed 's/^/| /' conftest.$ac_ext >&5
9665
10929
 
9666
 
eval "$as_ac_var=no"
 
10930
        eval "$as_ac_var=no"
9667
10931
fi
9668
 
rm -f conftest.err conftest.$ac_objext \
 
10932
 
 
10933
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9669
10934
      conftest$ac_exeext conftest.$ac_ext
9670
10935
fi
9671
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9672
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
10936
ac_res=`eval echo '${'$as_ac_var'}'`
 
10937
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
10938
echo "${ECHO_T}$ac_res" >&6; }
9673
10939
if test `eval echo '${'$as_ac_var'}'` = yes; then
9674
10940
  cat >>confdefs.h <<_ACEOF
9675
10941
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9678
10944
fi
9679
10945
done
9680
10946
 
9681
 
echo "$as_me:$LINENO: checking for working mmap" >&5
9682
 
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
 
10947
{ echo "$as_me:$LINENO: checking for working mmap" >&5
 
10948
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
9683
10949
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9684
10950
  echo $ECHO_N "(cached) $ECHO_C" >&6
9685
10951
else
9721
10987
#include <fcntl.h>
9722
10988
#include <sys/mman.h>
9723
10989
 
9724
 
#if !STDC_HEADERS && !HAVE_STDLIB_H
 
10990
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
9725
10991
char *malloc ();
9726
10992
#endif
9727
10993
 
9728
10994
/* This mess was copied from the GNU getpagesize.h.  */
9729
 
#if !HAVE_GETPAGESIZE
 
10995
#ifndef HAVE_GETPAGESIZE
9730
10996
/* Assume that all systems that can run configure have sys/param.h.  */
9731
 
# if !HAVE_SYS_PARAM_H
 
10997
# ifndef HAVE_SYS_PARAM_H
9732
10998
#  define HAVE_SYS_PARAM_H 1
9733
10999
# endif
9734
11000
 
9735
11001
# ifdef _SC_PAGESIZE
9736
11002
#  define getpagesize() sysconf(_SC_PAGESIZE)
9737
11003
# else /* no _SC_PAGESIZE */
9738
 
#  if HAVE_SYS_PARAM_H
 
11004
#  ifdef HAVE_SYS_PARAM_H
9739
11005
#   include <sys/param.h>
9740
11006
#   ifdef EXEC_PAGESIZE
9741
11007
#    define getpagesize() EXEC_PAGESIZE
9774
11040
  /* First, make a file with some known garbage in it. */
9775
11041
  data = (char *) malloc (pagesize);
9776
11042
  if (!data)
9777
 
    exit (1);
 
11043
    return 1;
9778
11044
  for (i = 0; i < pagesize; ++i)
9779
11045
    *(data + i) = rand ();
9780
11046
  umask (0);
9781
11047
  fd = creat ("conftest.mmap", 0600);
9782
11048
  if (fd < 0)
9783
 
    exit (1);
 
11049
    return 1;
9784
11050
  if (write (fd, data, pagesize) != pagesize)
9785
 
    exit (1);
 
11051
    return 1;
9786
11052
  close (fd);
9787
11053
 
9788
11054
  /* Next, try to mmap the file at a fixed address which already has
9790
11056
     we see the same garbage.  */
9791
11057
  fd = open ("conftest.mmap", O_RDWR);
9792
11058
  if (fd < 0)
9793
 
    exit (1);
 
11059
    return 1;
9794
11060
  data2 = (char *) malloc (2 * pagesize);
9795
11061
  if (!data2)
9796
 
    exit (1);
9797
 
  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
 
11062
    return 1;
 
11063
  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
9798
11064
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9799
11065
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
9800
 
    exit (1);
 
11066
    return 1;
9801
11067
  for (i = 0; i < pagesize; ++i)
9802
11068
    if (*(data + i) != *(data2 + i))
9803
 
      exit (1);
 
11069
      return 1;
9804
11070
 
9805
11071
  /* Finally, make sure that changes to the mapped area do not
9806
11072
     percolate back to the file as seen by read().  (This is a bug on
9809
11075
    *(data2 + i) = *(data2 + i) + 1;
9810
11076
  data3 = (char *) malloc (pagesize);
9811
11077
  if (!data3)
9812
 
    exit (1);
 
11078
    return 1;
9813
11079
  if (read (fd, data3, pagesize) != pagesize)
9814
 
    exit (1);
 
11080
    return 1;
9815
11081
  for (i = 0; i < pagesize; ++i)
9816
11082
    if (*(data + i) != *(data3 + i))
9817
 
      exit (1);
 
11083
      return 1;
9818
11084
  close (fd);
9819
 
  exit (0);
 
11085
  return 0;
9820
11086
}
9821
11087
_ACEOF
9822
11088
rm -f conftest$ac_exeext
9823
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9824
 
  (eval $ac_link) 2>&5
 
11089
if { (ac_try="$ac_link"
 
11090
case "(($ac_try" in
 
11091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11092
  *) ac_try_echo=$ac_try;;
 
11093
esac
 
11094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11095
  (eval "$ac_link") 2>&5
9825
11096
  ac_status=$?
9826
11097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827
11098
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829
 
  (eval $ac_try) 2>&5
 
11099
  { (case "(($ac_try" in
 
11100
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11101
  *) ac_try_echo=$ac_try;;
 
11102
esac
 
11103
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11104
  (eval "$ac_try") 2>&5
9830
11105
  ac_status=$?
9831
11106
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832
11107
  (exit $ac_status); }; }; then
9839
11114
( exit $ac_status )
9840
11115
ac_cv_func_mmap_fixed_mapped=no
9841
11116
fi
9842
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9843
 
fi
9844
 
fi
9845
 
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9846
 
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
 
11117
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
11118
fi
 
11119
 
 
11120
 
 
11121
fi
 
11122
{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
11123
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
9847
11124
if test $ac_cv_func_mmap_fixed_mapped = yes; then
9848
11125
 
9849
11126
cat >>confdefs.h <<\_ACEOF
9854
11131
rm -f conftest.mmap
9855
11132
 
9856
11133
 
9857
 
    echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9858
 
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
 
11134
    { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
 
11135
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
9859
11136
if test "${ac_cv_gnu_library_2_1+set}" = set; then
9860
11137
  echo $ECHO_N "(cached) $ECHO_C" >&6
9861
11138
else
9885
11162
 
9886
11163
 
9887
11164
fi
9888
 
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9889
 
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
 
11165
{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
 
11166
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
9890
11167
 
9891
11168
    GLIBC21="$ac_cv_gnu_library_2_1"
9892
11169
 
9893
11170
 
9894
11171
 
9895
11172
 
9896
 
  echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9897
 
echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
 
11173
  { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
 
11174
echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; }
9898
11175
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9899
11176
  echo $ECHO_N "(cached) $ECHO_C" >&6
9900
11177
else
9955
11232
 
9956
11233
_ACEOF
9957
11234
rm -f conftest$ac_exeext
9958
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9959
 
  (eval $ac_link) 2>&5
 
11235
if { (ac_try="$ac_link"
 
11236
case "(($ac_try" in
 
11237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11238
  *) ac_try_echo=$ac_try;;
 
11239
esac
 
11240
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11241
  (eval "$ac_link") 2>&5
9960
11242
  ac_status=$?
9961
11243
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962
11244
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9963
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964
 
  (eval $ac_try) 2>&5
 
11245
  { (case "(($ac_try" in
 
11246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11247
  *) ac_try_echo=$ac_try;;
 
11248
esac
 
11249
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11250
  (eval "$ac_try") 2>&5
9965
11251
  ac_status=$?
9966
11252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967
11253
  (exit $ac_status); }; }; then
9974
11260
( exit $ac_status )
9975
11261
gt_cv_int_divbyzero_sigfpe=no
9976
11262
fi
9977
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9978
 
fi
9979
 
 
9980
 
fi
9981
 
echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9982
 
echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
 
11263
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
11264
fi
 
11265
 
 
11266
 
 
11267
 
 
11268
fi
 
11269
{ echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
 
11270
echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; }
9983
11271
  case "$gt_cv_int_divbyzero_sigfpe" in
9984
11272
    *yes) value=1;;
9985
11273
    *) value=0;;
9991
11279
 
9992
11280
 
9993
11281
 
9994
 
  echo "$as_me:$LINENO: checking for unsigned long long" >&5
9995
 
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
 
11282
  { echo "$as_me:$LINENO: checking for unsigned long long" >&5
 
11283
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
9996
11284
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
9997
11285
  echo $ECHO_N "(cached) $ECHO_C" >&6
9998
11286
else
10013
11301
}
10014
11302
_ACEOF
10015
11303
rm -f conftest.$ac_objext conftest$ac_exeext
10016
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10017
 
  (eval $ac_link) 2>conftest.er1
 
11304
if { (ac_try="$ac_link"
 
11305
case "(($ac_try" in
 
11306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11307
  *) ac_try_echo=$ac_try;;
 
11308
esac
 
11309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11310
  (eval "$ac_link") 2>conftest.er1
10018
11311
  ac_status=$?
10019
11312
  grep -v '^ *+' conftest.er1 >conftest.err
10020
11313
  rm -f conftest.er1
10021
11314
  cat conftest.err >&5
10022
11315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023
11316
  (exit $ac_status); } &&
10024
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10025
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026
 
  (eval $ac_try) 2>&5
 
11317
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11318
  { (case "(($ac_try" in
 
11319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11320
  *) ac_try_echo=$ac_try;;
 
11321
esac
 
11322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11323
  (eval "$ac_try") 2>&5
10027
11324
  ac_status=$?
10028
11325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029
11326
  (exit $ac_status); }; } &&
10030
11327
         { ac_try='test -s conftest$ac_exeext'
10031
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032
 
  (eval $ac_try) 2>&5
 
11328
  { (case "(($ac_try" in
 
11329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11330
  *) ac_try_echo=$ac_try;;
 
11331
esac
 
11332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11333
  (eval "$ac_try") 2>&5
10033
11334
  ac_status=$?
10034
11335
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035
11336
  (exit $ac_status); }; }; then
10038
11339
  echo "$as_me: failed program was:" >&5
10039
11340
sed 's/^/| /' conftest.$ac_ext >&5
10040
11341
 
10041
 
ac_cv_type_unsigned_long_long=no
 
11342
        ac_cv_type_unsigned_long_long=no
10042
11343
fi
10043
 
rm -f conftest.err conftest.$ac_objext \
 
11344
 
 
11345
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10044
11346
      conftest$ac_exeext conftest.$ac_ext
10045
11347
fi
10046
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
10047
 
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
 
11348
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
 
11349
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
10048
11350
  if test $ac_cv_type_unsigned_long_long = yes; then
10049
11351
 
10050
11352
cat >>confdefs.h <<\_ACEOF
10075
11377
  fi
10076
11378
 
10077
11379
 
10078
 
  echo "$as_me:$LINENO: checking for inttypes.h" >&5
10079
 
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
 
11380
  { echo "$as_me:$LINENO: checking for inttypes.h" >&5
 
11381
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
10080
11382
if test "${gt_cv_header_inttypes_h+set}" = set; then
10081
11383
  echo $ECHO_N "(cached) $ECHO_C" >&6
10082
11384
else
10098
11400
}
10099
11401
_ACEOF
10100
11402
rm -f conftest.$ac_objext
10101
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10102
 
  (eval $ac_compile) 2>conftest.er1
 
11403
if { (ac_try="$ac_compile"
 
11404
case "(($ac_try" in
 
11405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11406
  *) ac_try_echo=$ac_try;;
 
11407
esac
 
11408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11409
  (eval "$ac_compile") 2>conftest.er1
10103
11410
  ac_status=$?
10104
11411
  grep -v '^ *+' conftest.er1 >conftest.err
10105
11412
  rm -f conftest.er1
10106
11413
  cat conftest.err >&5
10107
11414
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108
11415
  (exit $ac_status); } &&
10109
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111
 
  (eval $ac_try) 2>&5
 
11416
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11417
  { (case "(($ac_try" in
 
11418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11419
  *) ac_try_echo=$ac_try;;
 
11420
esac
 
11421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11422
  (eval "$ac_try") 2>&5
10112
11423
  ac_status=$?
10113
11424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114
11425
  (exit $ac_status); }; } &&
10115
11426
         { ac_try='test -s conftest.$ac_objext'
10116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117
 
  (eval $ac_try) 2>&5
 
11427
  { (case "(($ac_try" in
 
11428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11429
  *) ac_try_echo=$ac_try;;
 
11430
esac
 
11431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11432
  (eval "$ac_try") 2>&5
10118
11433
  ac_status=$?
10119
11434
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120
11435
  (exit $ac_status); }; }; then
10123
11438
  echo "$as_me: failed program was:" >&5
10124
11439
sed 's/^/| /' conftest.$ac_ext >&5
10125
11440
 
10126
 
gt_cv_header_inttypes_h=no
10127
 
fi
10128
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10129
 
 
10130
 
fi
10131
 
echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
10132
 
echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
 
11441
        gt_cv_header_inttypes_h=no
 
11442
fi
 
11443
 
 
11444
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11445
 
 
11446
fi
 
11447
{ echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
 
11448
echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6; }
10133
11449
  if test $gt_cv_header_inttypes_h = yes; then
10134
11450
 
10135
11451
cat >>confdefs.h <<_ACEOF
10141
11457
 
10142
11458
 
10143
11459
  if test $gt_cv_header_inttypes_h = yes; then
10144
 
    echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
10145
 
echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
 
11460
    { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
 
11461
echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; }
10146
11462
if test "${gt_cv_inttypes_pri_broken+set}" = set; then
10147
11463
  echo $ECHO_N "(cached) $ECHO_C" >&6
10148
11464
else
10167
11483
}
10168
11484
_ACEOF
10169
11485
rm -f conftest.$ac_objext
10170
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10171
 
  (eval $ac_compile) 2>conftest.er1
 
11486
if { (ac_try="$ac_compile"
 
11487
case "(($ac_try" in
 
11488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11489
  *) ac_try_echo=$ac_try;;
 
11490
esac
 
11491
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11492
  (eval "$ac_compile") 2>conftest.er1
10172
11493
  ac_status=$?
10173
11494
  grep -v '^ *+' conftest.er1 >conftest.err
10174
11495
  rm -f conftest.er1
10175
11496
  cat conftest.err >&5
10176
11497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177
11498
  (exit $ac_status); } &&
10178
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10180
 
  (eval $ac_try) 2>&5
 
11499
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11500
  { (case "(($ac_try" in
 
11501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11502
  *) ac_try_echo=$ac_try;;
 
11503
esac
 
11504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11505
  (eval "$ac_try") 2>&5
10181
11506
  ac_status=$?
10182
11507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183
11508
  (exit $ac_status); }; } &&
10184
11509
         { ac_try='test -s conftest.$ac_objext'
10185
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10186
 
  (eval $ac_try) 2>&5
 
11510
  { (case "(($ac_try" in
 
11511
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11512
  *) ac_try_echo=$ac_try;;
 
11513
esac
 
11514
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11515
  (eval "$ac_try") 2>&5
10187
11516
  ac_status=$?
10188
11517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189
11518
  (exit $ac_status); }; }; then
10192
11521
  echo "$as_me: failed program was:" >&5
10193
11522
sed 's/^/| /' conftest.$ac_ext >&5
10194
11523
 
10195
 
gt_cv_inttypes_pri_broken=yes
10196
 
fi
10197
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10198
 
 
10199
 
fi
10200
 
echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
10201
 
echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
 
11524
        gt_cv_inttypes_pri_broken=yes
 
11525
fi
 
11526
 
 
11527
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11528
 
 
11529
fi
 
11530
{ echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
 
11531
echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; }
10202
11532
  fi
10203
11533
  if test "$gt_cv_inttypes_pri_broken" = yes; then
10204
11534
 
10213
11543
for ac_header in stdint.h
10214
11544
do
10215
11545
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10216
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10217
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
10218
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10219
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
11546
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
11547
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11548
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
11549
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10220
11550
  echo $ECHO_N "(cached) $ECHO_C" >&6
10221
11551
fi
10222
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10223
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
11552
ac_res=`eval echo '${'$as_ac_Header'}'`
 
11553
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
11554
echo "${ECHO_T}$ac_res" >&6; }
10224
11555
else
10225
11556
  # Is the header compilable?
10226
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
10227
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
11557
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
11558
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10228
11559
cat >conftest.$ac_ext <<_ACEOF
10229
11560
/* confdefs.h.  */
10230
11561
_ACEOF
10235
11566
#include <$ac_header>
10236
11567
_ACEOF
10237
11568
rm -f conftest.$ac_objext
10238
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10239
 
  (eval $ac_compile) 2>conftest.er1
 
11569
if { (ac_try="$ac_compile"
 
11570
case "(($ac_try" in
 
11571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11572
  *) ac_try_echo=$ac_try;;
 
11573
esac
 
11574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11575
  (eval "$ac_compile") 2>conftest.er1
10240
11576
  ac_status=$?
10241
11577
  grep -v '^ *+' conftest.er1 >conftest.err
10242
11578
  rm -f conftest.er1
10243
11579
  cat conftest.err >&5
10244
11580
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245
11581
  (exit $ac_status); } &&
10246
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10247
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248
 
  (eval $ac_try) 2>&5
 
11582
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11583
  { (case "(($ac_try" in
 
11584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11585
  *) ac_try_echo=$ac_try;;
 
11586
esac
 
11587
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11588
  (eval "$ac_try") 2>&5
10249
11589
  ac_status=$?
10250
11590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251
11591
  (exit $ac_status); }; } &&
10252
11592
         { ac_try='test -s conftest.$ac_objext'
10253
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254
 
  (eval $ac_try) 2>&5
 
11593
  { (case "(($ac_try" in
 
11594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11595
  *) ac_try_echo=$ac_try;;
 
11596
esac
 
11597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11598
  (eval "$ac_try") 2>&5
10255
11599
  ac_status=$?
10256
11600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257
11601
  (exit $ac_status); }; }; then
10260
11604
  echo "$as_me: failed program was:" >&5
10261
11605
sed 's/^/| /' conftest.$ac_ext >&5
10262
11606
 
10263
 
ac_header_compiler=no
 
11607
        ac_header_compiler=no
10264
11608
fi
10265
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10266
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10267
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
11609
 
 
11610
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11611
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
11612
echo "${ECHO_T}$ac_header_compiler" >&6; }
10268
11613
 
10269
11614
# Is the header present?
10270
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
10271
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
11615
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
11616
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10272
11617
cat >conftest.$ac_ext <<_ACEOF
10273
11618
/* confdefs.h.  */
10274
11619
_ACEOF
10277
11622
/* end confdefs.h.  */
10278
11623
#include <$ac_header>
10279
11624
_ACEOF
10280
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10281
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
11625
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
11626
case "(($ac_try" in
 
11627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11628
  *) ac_try_echo=$ac_try;;
 
11629
esac
 
11630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11631
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10282
11632
  ac_status=$?
10283
11633
  grep -v '^ *+' conftest.er1 >conftest.err
10284
11634
  rm -f conftest.er1
10302
11652
 
10303
11653
  ac_header_preproc=no
10304
11654
fi
 
11655
 
10305
11656
rm -f conftest.err conftest.$ac_ext
10306
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10307
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
11657
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
11658
echo "${ECHO_T}$ac_header_preproc" >&6; }
10308
11659
 
10309
11660
# So?  What about this header?
10310
11661
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10328
11679
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10329
11680
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10330
11681
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10331
 
    (
10332
 
      cat <<\_ASBOX
 
11682
    ( cat <<\_ASBOX
10333
11683
## -------------------------------- ##
10334
11684
## Report this to bug-gnupg@gnu.org ##
10335
11685
## -------------------------------- ##
10336
11686
_ASBOX
10337
 
    ) |
10338
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
11687
     ) | sed "s/^/$as_me: WARNING:     /" >&2
10339
11688
    ;;
10340
11689
esac
10341
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
10342
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10343
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
11690
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
11691
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
11692
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10344
11693
  echo $ECHO_N "(cached) $ECHO_C" >&6
10345
11694
else
10346
11695
  eval "$as_ac_Header=\$ac_header_preproc"
10347
11696
fi
10348
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10349
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
11697
ac_res=`eval echo '${'$as_ac_Header'}'`
 
11698
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
11699
echo "${ECHO_T}$ac_res" >&6; }
10350
11700
 
10351
11701
fi
10352
11702
if test `eval echo '${'$as_ac_Header'}'` = yes; then
10358
11708
 
10359
11709
done
10360
11710
 
10361
 
    echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
10362
 
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
 
11711
    { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
 
11712
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
10363
11713
  result=
10364
11714
  cat >conftest.$ac_ext <<_ACEOF
10365
11715
/* confdefs.h.  */
10404
11754
}
10405
11755
_ACEOF
10406
11756
rm -f conftest.$ac_objext
10407
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10408
 
  (eval $ac_compile) 2>conftest.er1
 
11757
if { (ac_try="$ac_compile"
 
11758
case "(($ac_try" in
 
11759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11760
  *) ac_try_echo=$ac_try;;
 
11761
esac
 
11762
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11763
  (eval "$ac_compile") 2>conftest.er1
10409
11764
  ac_status=$?
10410
11765
  grep -v '^ *+' conftest.er1 >conftest.err
10411
11766
  rm -f conftest.er1
10412
11767
  cat conftest.err >&5
10413
11768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414
11769
  (exit $ac_status); } &&
10415
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417
 
  (eval $ac_try) 2>&5
 
11770
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11771
  { (case "(($ac_try" in
 
11772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11773
  *) ac_try_echo=$ac_try;;
 
11774
esac
 
11775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11776
  (eval "$ac_try") 2>&5
10418
11777
  ac_status=$?
10419
11778
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420
11779
  (exit $ac_status); }; } &&
10421
11780
         { ac_try='test -s conftest.$ac_objext'
10422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423
 
  (eval $ac_try) 2>&5
 
11781
  { (case "(($ac_try" in
 
11782
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11783
  *) ac_try_echo=$ac_try;;
 
11784
esac
 
11785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11786
  (eval "$ac_try") 2>&5
10424
11787
  ac_status=$?
10425
11788
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426
11789
  (exit $ac_status); }; }; then
10444
11807
}
10445
11808
_ACEOF
10446
11809
rm -f conftest.$ac_objext
10447
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10448
 
  (eval $ac_compile) 2>conftest.er1
 
11810
if { (ac_try="$ac_compile"
 
11811
case "(($ac_try" in
 
11812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11813
  *) ac_try_echo=$ac_try;;
 
11814
esac
 
11815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11816
  (eval "$ac_compile") 2>conftest.er1
10449
11817
  ac_status=$?
10450
11818
  grep -v '^ *+' conftest.er1 >conftest.err
10451
11819
  rm -f conftest.er1
10452
11820
  cat conftest.err >&5
10453
11821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454
11822
  (exit $ac_status); } &&
10455
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457
 
  (eval $ac_try) 2>&5
 
11823
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11824
  { (case "(($ac_try" in
 
11825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11826
  *) ac_try_echo=$ac_try;;
 
11827
esac
 
11828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11829
  (eval "$ac_try") 2>&5
10458
11830
  ac_status=$?
10459
11831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460
11832
  (exit $ac_status); }; } &&
10461
11833
         { ac_try='test -s conftest.$ac_objext'
10462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463
 
  (eval $ac_try) 2>&5
 
11834
  { (case "(($ac_try" in
 
11835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11836
  *) ac_try_echo=$ac_try;;
 
11837
esac
 
11838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11839
  (eval "$ac_try") 2>&5
10464
11840
  ac_status=$?
10465
11841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466
11842
  (exit $ac_status); }; }; then
10469
11845
  echo "$as_me: failed program was:" >&5
10470
11846
sed 's/^/| /' conftest.$ac_ext >&5
10471
11847
 
10472
 
ac_lo=`expr $ac_mid + 1`
10473
 
                    if test $ac_lo -le $ac_mid; then
10474
 
                      ac_lo= ac_hi=
10475
 
                      break
10476
 
                    fi
10477
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
11848
        ac_lo=`expr $ac_mid + 1`
 
11849
                        if test $ac_lo -le $ac_mid; then
 
11850
                          ac_lo= ac_hi=
 
11851
                          break
 
11852
                        fi
 
11853
                        ac_mid=`expr 2 '*' $ac_mid + 1`
10478
11854
fi
10479
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
11855
 
 
11856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10480
11857
  done
10481
11858
else
10482
11859
  echo "$as_me: failed program was:" >&5
10483
11860
sed 's/^/| /' conftest.$ac_ext >&5
10484
11861
 
10485
 
cat >conftest.$ac_ext <<_ACEOF
 
11862
        cat >conftest.$ac_ext <<_ACEOF
10486
11863
/* confdefs.h.  */
10487
11864
_ACEOF
10488
11865
cat confdefs.h >>conftest.$ac_ext
10500
11877
}
10501
11878
_ACEOF
10502
11879
rm -f conftest.$ac_objext
10503
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10504
 
  (eval $ac_compile) 2>conftest.er1
 
11880
if { (ac_try="$ac_compile"
 
11881
case "(($ac_try" in
 
11882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11883
  *) ac_try_echo=$ac_try;;
 
11884
esac
 
11885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11886
  (eval "$ac_compile") 2>conftest.er1
10505
11887
  ac_status=$?
10506
11888
  grep -v '^ *+' conftest.er1 >conftest.err
10507
11889
  rm -f conftest.er1
10508
11890
  cat conftest.err >&5
10509
11891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510
11892
  (exit $ac_status); } &&
10511
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513
 
  (eval $ac_try) 2>&5
 
11893
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11894
  { (case "(($ac_try" in
 
11895
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11896
  *) ac_try_echo=$ac_try;;
 
11897
esac
 
11898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11899
  (eval "$ac_try") 2>&5
10514
11900
  ac_status=$?
10515
11901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516
11902
  (exit $ac_status); }; } &&
10517
11903
         { ac_try='test -s conftest.$ac_objext'
10518
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519
 
  (eval $ac_try) 2>&5
 
11904
  { (case "(($ac_try" in
 
11905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11906
  *) ac_try_echo=$ac_try;;
 
11907
esac
 
11908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11909
  (eval "$ac_try") 2>&5
10520
11910
  ac_status=$?
10521
11911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522
11912
  (exit $ac_status); }; }; then
10540
11930
}
10541
11931
_ACEOF
10542
11932
rm -f conftest.$ac_objext
10543
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544
 
  (eval $ac_compile) 2>conftest.er1
 
11933
if { (ac_try="$ac_compile"
 
11934
case "(($ac_try" in
 
11935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11936
  *) ac_try_echo=$ac_try;;
 
11937
esac
 
11938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11939
  (eval "$ac_compile") 2>conftest.er1
10545
11940
  ac_status=$?
10546
11941
  grep -v '^ *+' conftest.er1 >conftest.err
10547
11942
  rm -f conftest.er1
10548
11943
  cat conftest.err >&5
10549
11944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550
11945
  (exit $ac_status); } &&
10551
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10552
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553
 
  (eval $ac_try) 2>&5
 
11946
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
11947
  { (case "(($ac_try" in
 
11948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11949
  *) ac_try_echo=$ac_try;;
 
11950
esac
 
11951
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11952
  (eval "$ac_try") 2>&5
10554
11953
  ac_status=$?
10555
11954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556
11955
  (exit $ac_status); }; } &&
10557
11956
         { ac_try='test -s conftest.$ac_objext'
10558
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559
 
  (eval $ac_try) 2>&5
 
11957
  { (case "(($ac_try" in
 
11958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11959
  *) ac_try_echo=$ac_try;;
 
11960
esac
 
11961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11962
  (eval "$ac_try") 2>&5
10560
11963
  ac_status=$?
10561
11964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562
11965
  (exit $ac_status); }; }; then
10565
11968
  echo "$as_me: failed program was:" >&5
10566
11969
sed 's/^/| /' conftest.$ac_ext >&5
10567
11970
 
10568
 
ac_hi=`expr '(' $ac_mid ')' - 1`
10569
 
                       if test $ac_mid -le $ac_hi; then
10570
 
                         ac_lo= ac_hi=
10571
 
                         break
10572
 
                       fi
10573
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
11971
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
11972
                        if test $ac_mid -le $ac_hi; then
 
11973
                          ac_lo= ac_hi=
 
11974
                          break
 
11975
                        fi
 
11976
                        ac_mid=`expr 2 '*' $ac_mid`
10574
11977
fi
10575
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
11978
 
 
11979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10576
11980
  done
10577
11981
else
10578
11982
  echo "$as_me: failed program was:" >&5
10579
11983
sed 's/^/| /' conftest.$ac_ext >&5
10580
11984
 
10581
 
ac_lo= ac_hi=
10582
 
fi
10583
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10584
 
fi
10585
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
11985
        ac_lo= ac_hi=
 
11986
fi
 
11987
 
 
11988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11989
fi
 
11990
 
 
11991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10586
11992
# Binary search between lo and hi bounds.
10587
11993
while test "x$ac_lo" != "x$ac_hi"; do
10588
11994
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10604
12010
}
10605
12011
_ACEOF
10606
12012
rm -f conftest.$ac_objext
10607
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10608
 
  (eval $ac_compile) 2>conftest.er1
 
12013
if { (ac_try="$ac_compile"
 
12014
case "(($ac_try" in
 
12015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12016
  *) ac_try_echo=$ac_try;;
 
12017
esac
 
12018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12019
  (eval "$ac_compile") 2>conftest.er1
10609
12020
  ac_status=$?
10610
12021
  grep -v '^ *+' conftest.er1 >conftest.err
10611
12022
  rm -f conftest.er1
10612
12023
  cat conftest.err >&5
10613
12024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614
12025
  (exit $ac_status); } &&
10615
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10616
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617
 
  (eval $ac_try) 2>&5
 
12026
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12027
  { (case "(($ac_try" in
 
12028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12029
  *) ac_try_echo=$ac_try;;
 
12030
esac
 
12031
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12032
  (eval "$ac_try") 2>&5
10618
12033
  ac_status=$?
10619
12034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620
12035
  (exit $ac_status); }; } &&
10621
12036
         { ac_try='test -s conftest.$ac_objext'
10622
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623
 
  (eval $ac_try) 2>&5
 
12037
  { (case "(($ac_try" in
 
12038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12039
  *) ac_try_echo=$ac_try;;
 
12040
esac
 
12041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12042
  (eval "$ac_try") 2>&5
10624
12043
  ac_status=$?
10625
12044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626
12045
  (exit $ac_status); }; }; then
10629
12048
  echo "$as_me: failed program was:" >&5
10630
12049
sed 's/^/| /' conftest.$ac_ext >&5
10631
12050
 
10632
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
12051
        ac_lo=`expr '(' $ac_mid ')' + 1`
10633
12052
fi
10634
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12053
 
 
12054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10635
12055
done
10636
12056
case $ac_lo in
10637
12057
?*) res_hi=$ac_lo;;
10638
12058
'') result=? ;;
10639
12059
esac
10640
12060
else
10641
 
  if test "$cross_compiling" = yes; then
10642
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
10643
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
10644
 
   { (exit 1); exit 1; }; }
10645
 
else
10646
12061
  cat >conftest.$ac_ext <<_ACEOF
10647
12062
/* confdefs.h.  */
10648
12063
_ACEOF
10650
12065
cat >>conftest.$ac_ext <<_ACEOF
10651
12066
/* end confdefs.h.  */
10652
12067
#include <stddef.h>
10653
 
long longval () { return ~(size_t)0 / 10; }
10654
 
unsigned long ulongval () { return ~(size_t)0 / 10; }
 
12068
static long int longval () { return ~(size_t)0 / 10; }
 
12069
static unsigned long int ulongval () { return ~(size_t)0 / 10; }
10655
12070
#include <stdio.h>
10656
12071
#include <stdlib.h>
10657
12072
int
10660
12075
 
10661
12076
  FILE *f = fopen ("conftest.val", "w");
10662
12077
  if (! f)
10663
 
    exit (1);
 
12078
    return 1;
10664
12079
  if ((~(size_t)0 / 10) < 0)
10665
12080
    {
10666
 
      long i = longval ();
 
12081
      long int i = longval ();
10667
12082
      if (i != (~(size_t)0 / 10))
10668
 
        exit (1);
 
12083
        return 1;
10669
12084
      fprintf (f, "%ld\n", i);
10670
12085
    }
10671
12086
  else
10672
12087
    {
10673
 
      unsigned long i = ulongval ();
 
12088
      unsigned long int i = ulongval ();
10674
12089
      if (i != (~(size_t)0 / 10))
10675
 
        exit (1);
 
12090
        return 1;
10676
12091
      fprintf (f, "%lu\n", i);
10677
12092
    }
10678
 
  exit (ferror (f) || fclose (f) != 0);
 
12093
  return ferror (f) || fclose (f) != 0;
10679
12094
 
10680
12095
  ;
10681
12096
  return 0;
10682
12097
}
10683
12098
_ACEOF
10684
12099
rm -f conftest$ac_exeext
10685
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10686
 
  (eval $ac_link) 2>&5
 
12100
if { (ac_try="$ac_link"
 
12101
case "(($ac_try" in
 
12102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12103
  *) ac_try_echo=$ac_try;;
 
12104
esac
 
12105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12106
  (eval "$ac_link") 2>&5
10687
12107
  ac_status=$?
10688
12108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689
12109
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10691
 
  (eval $ac_try) 2>&5
 
12110
  { (case "(($ac_try" in
 
12111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12112
  *) ac_try_echo=$ac_try;;
 
12113
esac
 
12114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12115
  (eval "$ac_try") 2>&5
10692
12116
  ac_status=$?
10693
12117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694
12118
  (exit $ac_status); }; }; then
10701
12125
( exit $ac_status )
10702
12126
result=?
10703
12127
fi
10704
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10705
 
fi
 
12128
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10706
12129
fi
10707
12130
rm -f conftest.val
10708
12131
    if test "$cross_compiling" = yes; then
10725
12148
}
10726
12149
_ACEOF
10727
12150
rm -f conftest.$ac_objext
10728
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10729
 
  (eval $ac_compile) 2>conftest.er1
 
12151
if { (ac_try="$ac_compile"
 
12152
case "(($ac_try" in
 
12153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12154
  *) ac_try_echo=$ac_try;;
 
12155
esac
 
12156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12157
  (eval "$ac_compile") 2>conftest.er1
10730
12158
  ac_status=$?
10731
12159
  grep -v '^ *+' conftest.er1 >conftest.err
10732
12160
  rm -f conftest.er1
10733
12161
  cat conftest.err >&5
10734
12162
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735
12163
  (exit $ac_status); } &&
10736
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10738
 
  (eval $ac_try) 2>&5
 
12164
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12165
  { (case "(($ac_try" in
 
12166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12167
  *) ac_try_echo=$ac_try;;
 
12168
esac
 
12169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12170
  (eval "$ac_try") 2>&5
10739
12171
  ac_status=$?
10740
12172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741
12173
  (exit $ac_status); }; } &&
10742
12174
         { ac_try='test -s conftest.$ac_objext'
10743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744
 
  (eval $ac_try) 2>&5
 
12175
  { (case "(($ac_try" in
 
12176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12177
  *) ac_try_echo=$ac_try;;
 
12178
esac
 
12179
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12180
  (eval "$ac_try") 2>&5
10745
12181
  ac_status=$?
10746
12182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747
12183
  (exit $ac_status); }; }; then
10765
12201
}
10766
12202
_ACEOF
10767
12203
rm -f conftest.$ac_objext
10768
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10769
 
  (eval $ac_compile) 2>conftest.er1
 
12204
if { (ac_try="$ac_compile"
 
12205
case "(($ac_try" in
 
12206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12207
  *) ac_try_echo=$ac_try;;
 
12208
esac
 
12209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12210
  (eval "$ac_compile") 2>conftest.er1
10770
12211
  ac_status=$?
10771
12212
  grep -v '^ *+' conftest.er1 >conftest.err
10772
12213
  rm -f conftest.er1
10773
12214
  cat conftest.err >&5
10774
12215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775
12216
  (exit $ac_status); } &&
10776
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10778
 
  (eval $ac_try) 2>&5
 
12217
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12218
  { (case "(($ac_try" in
 
12219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12220
  *) ac_try_echo=$ac_try;;
 
12221
esac
 
12222
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12223
  (eval "$ac_try") 2>&5
10779
12224
  ac_status=$?
10780
12225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781
12226
  (exit $ac_status); }; } &&
10782
12227
         { ac_try='test -s conftest.$ac_objext'
10783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784
 
  (eval $ac_try) 2>&5
 
12228
  { (case "(($ac_try" in
 
12229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12230
  *) ac_try_echo=$ac_try;;
 
12231
esac
 
12232
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12233
  (eval "$ac_try") 2>&5
10785
12234
  ac_status=$?
10786
12235
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787
12236
  (exit $ac_status); }; }; then
10790
12239
  echo "$as_me: failed program was:" >&5
10791
12240
sed 's/^/| /' conftest.$ac_ext >&5
10792
12241
 
10793
 
ac_lo=`expr $ac_mid + 1`
10794
 
                    if test $ac_lo -le $ac_mid; then
10795
 
                      ac_lo= ac_hi=
10796
 
                      break
10797
 
                    fi
10798
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
12242
        ac_lo=`expr $ac_mid + 1`
 
12243
                        if test $ac_lo -le $ac_mid; then
 
12244
                          ac_lo= ac_hi=
 
12245
                          break
 
12246
                        fi
 
12247
                        ac_mid=`expr 2 '*' $ac_mid + 1`
10799
12248
fi
10800
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12249
 
 
12250
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10801
12251
  done
10802
12252
else
10803
12253
  echo "$as_me: failed program was:" >&5
10804
12254
sed 's/^/| /' conftest.$ac_ext >&5
10805
12255
 
10806
 
cat >conftest.$ac_ext <<_ACEOF
 
12256
        cat >conftest.$ac_ext <<_ACEOF
10807
12257
/* confdefs.h.  */
10808
12258
_ACEOF
10809
12259
cat confdefs.h >>conftest.$ac_ext
10821
12271
}
10822
12272
_ACEOF
10823
12273
rm -f conftest.$ac_objext
10824
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10825
 
  (eval $ac_compile) 2>conftest.er1
 
12274
if { (ac_try="$ac_compile"
 
12275
case "(($ac_try" in
 
12276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12277
  *) ac_try_echo=$ac_try;;
 
12278
esac
 
12279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12280
  (eval "$ac_compile") 2>conftest.er1
10826
12281
  ac_status=$?
10827
12282
  grep -v '^ *+' conftest.er1 >conftest.err
10828
12283
  rm -f conftest.er1
10829
12284
  cat conftest.err >&5
10830
12285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831
12286
  (exit $ac_status); } &&
10832
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10833
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834
 
  (eval $ac_try) 2>&5
 
12287
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12288
  { (case "(($ac_try" in
 
12289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12290
  *) ac_try_echo=$ac_try;;
 
12291
esac
 
12292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12293
  (eval "$ac_try") 2>&5
10835
12294
  ac_status=$?
10836
12295
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837
12296
  (exit $ac_status); }; } &&
10838
12297
         { ac_try='test -s conftest.$ac_objext'
10839
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840
 
  (eval $ac_try) 2>&5
 
12298
  { (case "(($ac_try" in
 
12299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12300
  *) ac_try_echo=$ac_try;;
 
12301
esac
 
12302
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12303
  (eval "$ac_try") 2>&5
10841
12304
  ac_status=$?
10842
12305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843
12306
  (exit $ac_status); }; }; then
10861
12324
}
10862
12325
_ACEOF
10863
12326
rm -f conftest.$ac_objext
10864
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10865
 
  (eval $ac_compile) 2>conftest.er1
 
12327
if { (ac_try="$ac_compile"
 
12328
case "(($ac_try" in
 
12329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12330
  *) ac_try_echo=$ac_try;;
 
12331
esac
 
12332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12333
  (eval "$ac_compile") 2>conftest.er1
10866
12334
  ac_status=$?
10867
12335
  grep -v '^ *+' conftest.er1 >conftest.err
10868
12336
  rm -f conftest.er1
10869
12337
  cat conftest.err >&5
10870
12338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871
12339
  (exit $ac_status); } &&
10872
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10873
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874
 
  (eval $ac_try) 2>&5
 
12340
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12341
  { (case "(($ac_try" in
 
12342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12343
  *) ac_try_echo=$ac_try;;
 
12344
esac
 
12345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12346
  (eval "$ac_try") 2>&5
10875
12347
  ac_status=$?
10876
12348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877
12349
  (exit $ac_status); }; } &&
10878
12350
         { ac_try='test -s conftest.$ac_objext'
10879
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10880
 
  (eval $ac_try) 2>&5
 
12351
  { (case "(($ac_try" in
 
12352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12353
  *) ac_try_echo=$ac_try;;
 
12354
esac
 
12355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12356
  (eval "$ac_try") 2>&5
10881
12357
  ac_status=$?
10882
12358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883
12359
  (exit $ac_status); }; }; then
10886
12362
  echo "$as_me: failed program was:" >&5
10887
12363
sed 's/^/| /' conftest.$ac_ext >&5
10888
12364
 
10889
 
ac_hi=`expr '(' $ac_mid ')' - 1`
10890
 
                       if test $ac_mid -le $ac_hi; then
10891
 
                         ac_lo= ac_hi=
10892
 
                         break
10893
 
                       fi
10894
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
12365
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
12366
                        if test $ac_mid -le $ac_hi; then
 
12367
                          ac_lo= ac_hi=
 
12368
                          break
 
12369
                        fi
 
12370
                        ac_mid=`expr 2 '*' $ac_mid`
10895
12371
fi
10896
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12372
 
 
12373
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10897
12374
  done
10898
12375
else
10899
12376
  echo "$as_me: failed program was:" >&5
10900
12377
sed 's/^/| /' conftest.$ac_ext >&5
10901
12378
 
10902
 
ac_lo= ac_hi=
10903
 
fi
10904
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10905
 
fi
10906
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12379
        ac_lo= ac_hi=
 
12380
fi
 
12381
 
 
12382
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12383
fi
 
12384
 
 
12385
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10907
12386
# Binary search between lo and hi bounds.
10908
12387
while test "x$ac_lo" != "x$ac_hi"; do
10909
12388
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10925
12404
}
10926
12405
_ACEOF
10927
12406
rm -f conftest.$ac_objext
10928
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10929
 
  (eval $ac_compile) 2>conftest.er1
 
12407
if { (ac_try="$ac_compile"
 
12408
case "(($ac_try" in
 
12409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12410
  *) ac_try_echo=$ac_try;;
 
12411
esac
 
12412
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12413
  (eval "$ac_compile") 2>conftest.er1
10930
12414
  ac_status=$?
10931
12415
  grep -v '^ *+' conftest.er1 >conftest.err
10932
12416
  rm -f conftest.er1
10933
12417
  cat conftest.err >&5
10934
12418
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935
12419
  (exit $ac_status); } &&
10936
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10937
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938
 
  (eval $ac_try) 2>&5
 
12420
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12421
  { (case "(($ac_try" in
 
12422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12423
  *) ac_try_echo=$ac_try;;
 
12424
esac
 
12425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12426
  (eval "$ac_try") 2>&5
10939
12427
  ac_status=$?
10940
12428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941
12429
  (exit $ac_status); }; } &&
10942
12430
         { ac_try='test -s conftest.$ac_objext'
10943
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944
 
  (eval $ac_try) 2>&5
 
12431
  { (case "(($ac_try" in
 
12432
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12433
  *) ac_try_echo=$ac_try;;
 
12434
esac
 
12435
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12436
  (eval "$ac_try") 2>&5
10945
12437
  ac_status=$?
10946
12438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947
12439
  (exit $ac_status); }; }; then
10950
12442
  echo "$as_me: failed program was:" >&5
10951
12443
sed 's/^/| /' conftest.$ac_ext >&5
10952
12444
 
10953
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
12445
        ac_lo=`expr '(' $ac_mid ')' + 1`
10954
12446
fi
10955
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12447
 
 
12448
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10956
12449
done
10957
12450
case $ac_lo in
10958
12451
?*) res_lo=$ac_lo;;
10959
12452
'') result=? ;;
10960
12453
esac
10961
12454
else
10962
 
  if test "$cross_compiling" = yes; then
10963
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
10964
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
10965
 
   { (exit 1); exit 1; }; }
10966
 
else
10967
12455
  cat >conftest.$ac_ext <<_ACEOF
10968
12456
/* confdefs.h.  */
10969
12457
_ACEOF
10971
12459
cat >>conftest.$ac_ext <<_ACEOF
10972
12460
/* end confdefs.h.  */
10973
12461
#include <stddef.h>
10974
 
long longval () { return ~(size_t)0 % 10; }
10975
 
unsigned long ulongval () { return ~(size_t)0 % 10; }
 
12462
static long int longval () { return ~(size_t)0 % 10; }
 
12463
static unsigned long int ulongval () { return ~(size_t)0 % 10; }
10976
12464
#include <stdio.h>
10977
12465
#include <stdlib.h>
10978
12466
int
10981
12469
 
10982
12470
  FILE *f = fopen ("conftest.val", "w");
10983
12471
  if (! f)
10984
 
    exit (1);
 
12472
    return 1;
10985
12473
  if ((~(size_t)0 % 10) < 0)
10986
12474
    {
10987
 
      long i = longval ();
 
12475
      long int i = longval ();
10988
12476
      if (i != (~(size_t)0 % 10))
10989
 
        exit (1);
 
12477
        return 1;
10990
12478
      fprintf (f, "%ld\n", i);
10991
12479
    }
10992
12480
  else
10993
12481
    {
10994
 
      unsigned long i = ulongval ();
 
12482
      unsigned long int i = ulongval ();
10995
12483
      if (i != (~(size_t)0 % 10))
10996
 
        exit (1);
 
12484
        return 1;
10997
12485
      fprintf (f, "%lu\n", i);
10998
12486
    }
10999
 
  exit (ferror (f) || fclose (f) != 0);
 
12487
  return ferror (f) || fclose (f) != 0;
11000
12488
 
11001
12489
  ;
11002
12490
  return 0;
11003
12491
}
11004
12492
_ACEOF
11005
12493
rm -f conftest$ac_exeext
11006
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11007
 
  (eval $ac_link) 2>&5
 
12494
if { (ac_try="$ac_link"
 
12495
case "(($ac_try" in
 
12496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12497
  *) ac_try_echo=$ac_try;;
 
12498
esac
 
12499
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12500
  (eval "$ac_link") 2>&5
11008
12501
  ac_status=$?
11009
12502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010
12503
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012
 
  (eval $ac_try) 2>&5
 
12504
  { (case "(($ac_try" in
 
12505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12506
  *) ac_try_echo=$ac_try;;
 
12507
esac
 
12508
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12509
  (eval "$ac_try") 2>&5
11013
12510
  ac_status=$?
11014
12511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015
12512
  (exit $ac_status); }; }; then
11022
12519
( exit $ac_status )
11023
12520
result=?
11024
12521
fi
11025
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11026
 
fi
 
12522
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11027
12523
fi
11028
12524
rm -f conftest.val
11029
12525
    if test "$cross_compiling" = yes; then
11046
12542
}
11047
12543
_ACEOF
11048
12544
rm -f conftest.$ac_objext
11049
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11050
 
  (eval $ac_compile) 2>conftest.er1
 
12545
if { (ac_try="$ac_compile"
 
12546
case "(($ac_try" in
 
12547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12548
  *) ac_try_echo=$ac_try;;
 
12549
esac
 
12550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12551
  (eval "$ac_compile") 2>conftest.er1
11051
12552
  ac_status=$?
11052
12553
  grep -v '^ *+' conftest.er1 >conftest.err
11053
12554
  rm -f conftest.er1
11054
12555
  cat conftest.err >&5
11055
12556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056
12557
  (exit $ac_status); } &&
11057
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11058
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059
 
  (eval $ac_try) 2>&5
 
12558
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12559
  { (case "(($ac_try" in
 
12560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12561
  *) ac_try_echo=$ac_try;;
 
12562
esac
 
12563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12564
  (eval "$ac_try") 2>&5
11060
12565
  ac_status=$?
11061
12566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062
12567
  (exit $ac_status); }; } &&
11063
12568
         { ac_try='test -s conftest.$ac_objext'
11064
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065
 
  (eval $ac_try) 2>&5
 
12569
  { (case "(($ac_try" in
 
12570
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12571
  *) ac_try_echo=$ac_try;;
 
12572
esac
 
12573
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12574
  (eval "$ac_try") 2>&5
11066
12575
  ac_status=$?
11067
12576
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068
12577
  (exit $ac_status); }; }; then
11086
12595
}
11087
12596
_ACEOF
11088
12597
rm -f conftest.$ac_objext
11089
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11090
 
  (eval $ac_compile) 2>conftest.er1
 
12598
if { (ac_try="$ac_compile"
 
12599
case "(($ac_try" in
 
12600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12601
  *) ac_try_echo=$ac_try;;
 
12602
esac
 
12603
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12604
  (eval "$ac_compile") 2>conftest.er1
11091
12605
  ac_status=$?
11092
12606
  grep -v '^ *+' conftest.er1 >conftest.err
11093
12607
  rm -f conftest.er1
11094
12608
  cat conftest.err >&5
11095
12609
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096
12610
  (exit $ac_status); } &&
11097
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11098
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099
 
  (eval $ac_try) 2>&5
 
12611
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12612
  { (case "(($ac_try" in
 
12613
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12614
  *) ac_try_echo=$ac_try;;
 
12615
esac
 
12616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12617
  (eval "$ac_try") 2>&5
11100
12618
  ac_status=$?
11101
12619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102
12620
  (exit $ac_status); }; } &&
11103
12621
         { ac_try='test -s conftest.$ac_objext'
11104
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105
 
  (eval $ac_try) 2>&5
 
12622
  { (case "(($ac_try" in
 
12623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12624
  *) ac_try_echo=$ac_try;;
 
12625
esac
 
12626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12627
  (eval "$ac_try") 2>&5
11106
12628
  ac_status=$?
11107
12629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108
12630
  (exit $ac_status); }; }; then
11111
12633
  echo "$as_me: failed program was:" >&5
11112
12634
sed 's/^/| /' conftest.$ac_ext >&5
11113
12635
 
11114
 
ac_lo=`expr $ac_mid + 1`
11115
 
                    if test $ac_lo -le $ac_mid; then
11116
 
                      ac_lo= ac_hi=
11117
 
                      break
11118
 
                    fi
11119
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
12636
        ac_lo=`expr $ac_mid + 1`
 
12637
                        if test $ac_lo -le $ac_mid; then
 
12638
                          ac_lo= ac_hi=
 
12639
                          break
 
12640
                        fi
 
12641
                        ac_mid=`expr 2 '*' $ac_mid + 1`
11120
12642
fi
11121
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12643
 
 
12644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11122
12645
  done
11123
12646
else
11124
12647
  echo "$as_me: failed program was:" >&5
11125
12648
sed 's/^/| /' conftest.$ac_ext >&5
11126
12649
 
11127
 
cat >conftest.$ac_ext <<_ACEOF
 
12650
        cat >conftest.$ac_ext <<_ACEOF
11128
12651
/* confdefs.h.  */
11129
12652
_ACEOF
11130
12653
cat confdefs.h >>conftest.$ac_ext
11142
12665
}
11143
12666
_ACEOF
11144
12667
rm -f conftest.$ac_objext
11145
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11146
 
  (eval $ac_compile) 2>conftest.er1
 
12668
if { (ac_try="$ac_compile"
 
12669
case "(($ac_try" in
 
12670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12671
  *) ac_try_echo=$ac_try;;
 
12672
esac
 
12673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12674
  (eval "$ac_compile") 2>conftest.er1
11147
12675
  ac_status=$?
11148
12676
  grep -v '^ *+' conftest.er1 >conftest.err
11149
12677
  rm -f conftest.er1
11150
12678
  cat conftest.err >&5
11151
12679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152
12680
  (exit $ac_status); } &&
11153
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155
 
  (eval $ac_try) 2>&5
 
12681
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12682
  { (case "(($ac_try" in
 
12683
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12684
  *) ac_try_echo=$ac_try;;
 
12685
esac
 
12686
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12687
  (eval "$ac_try") 2>&5
11156
12688
  ac_status=$?
11157
12689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158
12690
  (exit $ac_status); }; } &&
11159
12691
         { ac_try='test -s conftest.$ac_objext'
11160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161
 
  (eval $ac_try) 2>&5
 
12692
  { (case "(($ac_try" in
 
12693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12694
  *) ac_try_echo=$ac_try;;
 
12695
esac
 
12696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12697
  (eval "$ac_try") 2>&5
11162
12698
  ac_status=$?
11163
12699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164
12700
  (exit $ac_status); }; }; then
11182
12718
}
11183
12719
_ACEOF
11184
12720
rm -f conftest.$ac_objext
11185
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11186
 
  (eval $ac_compile) 2>conftest.er1
 
12721
if { (ac_try="$ac_compile"
 
12722
case "(($ac_try" in
 
12723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12724
  *) ac_try_echo=$ac_try;;
 
12725
esac
 
12726
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12727
  (eval "$ac_compile") 2>conftest.er1
11187
12728
  ac_status=$?
11188
12729
  grep -v '^ *+' conftest.er1 >conftest.err
11189
12730
  rm -f conftest.er1
11190
12731
  cat conftest.err >&5
11191
12732
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192
12733
  (exit $ac_status); } &&
11193
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11194
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195
 
  (eval $ac_try) 2>&5
 
12734
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12735
  { (case "(($ac_try" in
 
12736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12737
  *) ac_try_echo=$ac_try;;
 
12738
esac
 
12739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12740
  (eval "$ac_try") 2>&5
11196
12741
  ac_status=$?
11197
12742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198
12743
  (exit $ac_status); }; } &&
11199
12744
         { ac_try='test -s conftest.$ac_objext'
11200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201
 
  (eval $ac_try) 2>&5
 
12745
  { (case "(($ac_try" in
 
12746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12747
  *) ac_try_echo=$ac_try;;
 
12748
esac
 
12749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12750
  (eval "$ac_try") 2>&5
11202
12751
  ac_status=$?
11203
12752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204
12753
  (exit $ac_status); }; }; then
11207
12756
  echo "$as_me: failed program was:" >&5
11208
12757
sed 's/^/| /' conftest.$ac_ext >&5
11209
12758
 
11210
 
ac_hi=`expr '(' $ac_mid ')' - 1`
11211
 
                       if test $ac_mid -le $ac_hi; then
11212
 
                         ac_lo= ac_hi=
11213
 
                         break
11214
 
                       fi
11215
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
12759
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
12760
                        if test $ac_mid -le $ac_hi; then
 
12761
                          ac_lo= ac_hi=
 
12762
                          break
 
12763
                        fi
 
12764
                        ac_mid=`expr 2 '*' $ac_mid`
11216
12765
fi
11217
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12766
 
 
12767
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11218
12768
  done
11219
12769
else
11220
12770
  echo "$as_me: failed program was:" >&5
11221
12771
sed 's/^/| /' conftest.$ac_ext >&5
11222
12772
 
11223
 
ac_lo= ac_hi=
11224
 
fi
11225
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11226
 
fi
11227
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12773
        ac_lo= ac_hi=
 
12774
fi
 
12775
 
 
12776
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12777
fi
 
12778
 
 
12779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11228
12780
# Binary search between lo and hi bounds.
11229
12781
while test "x$ac_lo" != "x$ac_hi"; do
11230
12782
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11246
12798
}
11247
12799
_ACEOF
11248
12800
rm -f conftest.$ac_objext
11249
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11250
 
  (eval $ac_compile) 2>conftest.er1
 
12801
if { (ac_try="$ac_compile"
 
12802
case "(($ac_try" in
 
12803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12804
  *) ac_try_echo=$ac_try;;
 
12805
esac
 
12806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12807
  (eval "$ac_compile") 2>conftest.er1
11251
12808
  ac_status=$?
11252
12809
  grep -v '^ *+' conftest.er1 >conftest.err
11253
12810
  rm -f conftest.er1
11254
12811
  cat conftest.err >&5
11255
12812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256
12813
  (exit $ac_status); } &&
11257
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11258
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259
 
  (eval $ac_try) 2>&5
 
12814
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12815
  { (case "(($ac_try" in
 
12816
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12817
  *) ac_try_echo=$ac_try;;
 
12818
esac
 
12819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12820
  (eval "$ac_try") 2>&5
11260
12821
  ac_status=$?
11261
12822
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262
12823
  (exit $ac_status); }; } &&
11263
12824
         { ac_try='test -s conftest.$ac_objext'
11264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265
 
  (eval $ac_try) 2>&5
 
12825
  { (case "(($ac_try" in
 
12826
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12827
  *) ac_try_echo=$ac_try;;
 
12828
esac
 
12829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12830
  (eval "$ac_try") 2>&5
11266
12831
  ac_status=$?
11267
12832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268
12833
  (exit $ac_status); }; }; then
11271
12836
  echo "$as_me: failed program was:" >&5
11272
12837
sed 's/^/| /' conftest.$ac_ext >&5
11273
12838
 
11274
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
12839
        ac_lo=`expr '(' $ac_mid ')' + 1`
11275
12840
fi
11276
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12841
 
 
12842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11277
12843
done
11278
12844
case $ac_lo in
11279
12845
?*) fits_in_uint=$ac_lo;;
11280
12846
'') result=? ;;
11281
12847
esac
11282
12848
else
11283
 
  if test "$cross_compiling" = yes; then
11284
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11285
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11286
 
   { (exit 1); exit 1; }; }
11287
 
else
11288
12849
  cat >conftest.$ac_ext <<_ACEOF
11289
12850
/* confdefs.h.  */
11290
12851
_ACEOF
11292
12853
cat >>conftest.$ac_ext <<_ACEOF
11293
12854
/* end confdefs.h.  */
11294
12855
#include <stddef.h>
11295
 
long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
11296
 
unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
 
12856
static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
 
12857
static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
11297
12858
#include <stdio.h>
11298
12859
#include <stdlib.h>
11299
12860
int
11302
12863
 
11303
12864
  FILE *f = fopen ("conftest.val", "w");
11304
12865
  if (! f)
11305
 
    exit (1);
 
12866
    return 1;
11306
12867
  if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
11307
12868
    {
11308
 
      long i = longval ();
 
12869
      long int i = longval ();
11309
12870
      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
11310
 
        exit (1);
 
12871
        return 1;
11311
12872
      fprintf (f, "%ld\n", i);
11312
12873
    }
11313
12874
  else
11314
12875
    {
11315
 
      unsigned long i = ulongval ();
 
12876
      unsigned long int i = ulongval ();
11316
12877
      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
11317
 
        exit (1);
 
12878
        return 1;
11318
12879
      fprintf (f, "%lu\n", i);
11319
12880
    }
11320
 
  exit (ferror (f) || fclose (f) != 0);
 
12881
  return ferror (f) || fclose (f) != 0;
11321
12882
 
11322
12883
  ;
11323
12884
  return 0;
11324
12885
}
11325
12886
_ACEOF
11326
12887
rm -f conftest$ac_exeext
11327
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11328
 
  (eval $ac_link) 2>&5
 
12888
if { (ac_try="$ac_link"
 
12889
case "(($ac_try" in
 
12890
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12891
  *) ac_try_echo=$ac_try;;
 
12892
esac
 
12893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12894
  (eval "$ac_link") 2>&5
11329
12895
  ac_status=$?
11330
12896
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331
12897
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11332
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333
 
  (eval $ac_try) 2>&5
 
12898
  { (case "(($ac_try" in
 
12899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12900
  *) ac_try_echo=$ac_try;;
 
12901
esac
 
12902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12903
  (eval "$ac_try") 2>&5
11334
12904
  ac_status=$?
11335
12905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336
12906
  (exit $ac_status); }; }; then
11343
12913
( exit $ac_status )
11344
12914
result=?
11345
12915
fi
11346
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11347
 
fi
 
12916
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11348
12917
fi
11349
12918
rm -f conftest.val
11350
12919
    if test "$fits_in_uint" = 1; then
11367
12936
}
11368
12937
_ACEOF
11369
12938
rm -f conftest.$ac_objext
11370
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11371
 
  (eval $ac_compile) 2>conftest.er1
 
12939
if { (ac_try="$ac_compile"
 
12940
case "(($ac_try" in
 
12941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12942
  *) ac_try_echo=$ac_try;;
 
12943
esac
 
12944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12945
  (eval "$ac_compile") 2>conftest.er1
11372
12946
  ac_status=$?
11373
12947
  grep -v '^ *+' conftest.er1 >conftest.err
11374
12948
  rm -f conftest.er1
11375
12949
  cat conftest.err >&5
11376
12950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377
12951
  (exit $ac_status); } &&
11378
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11379
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380
 
  (eval $ac_try) 2>&5
 
12952
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
12953
  { (case "(($ac_try" in
 
12954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12955
  *) ac_try_echo=$ac_try;;
 
12956
esac
 
12957
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12958
  (eval "$ac_try") 2>&5
11381
12959
  ac_status=$?
11382
12960
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383
12961
  (exit $ac_status); }; } &&
11384
12962
         { ac_try='test -s conftest.$ac_objext'
11385
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386
 
  (eval $ac_try) 2>&5
 
12963
  { (case "(($ac_try" in
 
12964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12965
  *) ac_try_echo=$ac_try;;
 
12966
esac
 
12967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12968
  (eval "$ac_try") 2>&5
11387
12969
  ac_status=$?
11388
12970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389
12971
  (exit $ac_status); }; }; then
11392
12974
  echo "$as_me: failed program was:" >&5
11393
12975
sed 's/^/| /' conftest.$ac_ext >&5
11394
12976
 
 
12977
 
11395
12978
fi
11396
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
12979
 
 
12980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11397
12981
    fi
11398
12982
    if test -z "$result"; then
11399
12983
      if test "$fits_in_uint" = 1; then
11405
12989
            result='~(size_t)0'
11406
12990
    fi
11407
12991
  fi
11408
 
  echo "$as_me:$LINENO: result: $result" >&5
11409
 
echo "${ECHO_T}$result" >&6
 
12992
  { echo "$as_me:$LINENO: result: $result" >&5
 
12993
echo "${ECHO_T}$result" >&6; }
11410
12994
  if test "$result" != yes; then
11411
12995
 
11412
12996
cat >>confdefs.h <<_ACEOF
11421
13005
for ac_header in stdint.h
11422
13006
do
11423
13007
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11424
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11425
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
11426
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11427
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
13008
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
13009
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13010
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13011
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11428
13012
  echo $ECHO_N "(cached) $ECHO_C" >&6
11429
13013
fi
11430
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11431
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
13014
ac_res=`eval echo '${'$as_ac_Header'}'`
 
13015
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
13016
echo "${ECHO_T}$ac_res" >&6; }
11432
13017
else
11433
13018
  # Is the header compilable?
11434
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11435
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
13019
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
13020
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11436
13021
cat >conftest.$ac_ext <<_ACEOF
11437
13022
/* confdefs.h.  */
11438
13023
_ACEOF
11443
13028
#include <$ac_header>
11444
13029
_ACEOF
11445
13030
rm -f conftest.$ac_objext
11446
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11447
 
  (eval $ac_compile) 2>conftest.er1
 
13031
if { (ac_try="$ac_compile"
 
13032
case "(($ac_try" in
 
13033
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13034
  *) ac_try_echo=$ac_try;;
 
13035
esac
 
13036
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13037
  (eval "$ac_compile") 2>conftest.er1
11448
13038
  ac_status=$?
11449
13039
  grep -v '^ *+' conftest.er1 >conftest.err
11450
13040
  rm -f conftest.er1
11451
13041
  cat conftest.err >&5
11452
13042
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453
13043
  (exit $ac_status); } &&
11454
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11455
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456
 
  (eval $ac_try) 2>&5
 
13044
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13045
  { (case "(($ac_try" in
 
13046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13047
  *) ac_try_echo=$ac_try;;
 
13048
esac
 
13049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13050
  (eval "$ac_try") 2>&5
11457
13051
  ac_status=$?
11458
13052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459
13053
  (exit $ac_status); }; } &&
11460
13054
         { ac_try='test -s conftest.$ac_objext'
11461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462
 
  (eval $ac_try) 2>&5
 
13055
  { (case "(($ac_try" in
 
13056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13057
  *) ac_try_echo=$ac_try;;
 
13058
esac
 
13059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13060
  (eval "$ac_try") 2>&5
11463
13061
  ac_status=$?
11464
13062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465
13063
  (exit $ac_status); }; }; then
11468
13066
  echo "$as_me: failed program was:" >&5
11469
13067
sed 's/^/| /' conftest.$ac_ext >&5
11470
13068
 
11471
 
ac_header_compiler=no
 
13069
        ac_header_compiler=no
11472
13070
fi
11473
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11474
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11475
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
13071
 
 
13072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13073
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
13074
echo "${ECHO_T}$ac_header_compiler" >&6; }
11476
13075
 
11477
13076
# Is the header present?
11478
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11479
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
13077
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
13078
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11480
13079
cat >conftest.$ac_ext <<_ACEOF
11481
13080
/* confdefs.h.  */
11482
13081
_ACEOF
11485
13084
/* end confdefs.h.  */
11486
13085
#include <$ac_header>
11487
13086
_ACEOF
11488
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11489
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
13087
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
13088
case "(($ac_try" in
 
13089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13090
  *) ac_try_echo=$ac_try;;
 
13091
esac
 
13092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13093
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11490
13094
  ac_status=$?
11491
13095
  grep -v '^ *+' conftest.er1 >conftest.err
11492
13096
  rm -f conftest.er1
11510
13114
 
11511
13115
  ac_header_preproc=no
11512
13116
fi
 
13117
 
11513
13118
rm -f conftest.err conftest.$ac_ext
11514
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11515
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
13119
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
13120
echo "${ECHO_T}$ac_header_preproc" >&6; }
11516
13121
 
11517
13122
# So?  What about this header?
11518
13123
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11536
13141
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11537
13142
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11538
13143
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11539
 
    (
11540
 
      cat <<\_ASBOX
 
13144
    ( cat <<\_ASBOX
11541
13145
## -------------------------------- ##
11542
13146
## Report this to bug-gnupg@gnu.org ##
11543
13147
## -------------------------------- ##
11544
13148
_ASBOX
11545
 
    ) |
11546
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
13149
     ) | sed "s/^/$as_me: WARNING:     /" >&2
11547
13150
    ;;
11548
13151
esac
11549
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
11550
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11551
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
13152
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13153
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13154
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11552
13155
  echo $ECHO_N "(cached) $ECHO_C" >&6
11553
13156
else
11554
13157
  eval "$as_ac_Header=\$ac_header_preproc"
11555
13158
fi
11556
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11557
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
13159
ac_res=`eval echo '${'$as_ac_Header'}'`
 
13160
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
13161
echo "${ECHO_T}$ac_res" >&6; }
11558
13162
 
11559
13163
fi
11560
13164
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11584
13188
  prefix="$acl_save_prefix"
11585
13189
 
11586
13190
 
11587
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
13191
# Check whether --with-gnu-ld was given.
11588
13192
if test "${with_gnu_ld+set}" = set; then
11589
 
  withval="$with_gnu_ld"
11590
 
  test "$withval" = no || with_gnu_ld=yes
 
13193
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11591
13194
else
11592
13195
  with_gnu_ld=no
11593
 
fi;
 
13196
fi
 
13197
 
11594
13198
# Prepare PATH_SEPARATOR.
11595
13199
# The user is always right.
11596
13200
if test "${PATH_SEPARATOR+set}" != set; then
11607
13211
ac_prog=ld
11608
13212
if test "$GCC" = yes; then
11609
13213
  # Check if gcc -print-prog-name=ld gives a path.
11610
 
  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
11611
 
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
 
13214
  { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
 
13215
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
11612
13216
  case $host in
11613
13217
  *-*-mingw*)
11614
13218
    # gcc leaves a trailing carriage return which upsets mingw
11637
13241
    ;;
11638
13242
  esac
11639
13243
elif test "$with_gnu_ld" = yes; then
11640
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
11641
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
13244
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13245
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11642
13246
else
11643
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11644
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
13247
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13248
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11645
13249
fi
11646
13250
if test "${acl_cv_path_LD+set}" = set; then
11647
13251
  echo $ECHO_N "(cached) $ECHO_C" >&6
11671
13275
 
11672
13276
LD="$acl_cv_path_LD"
11673
13277
if test -n "$LD"; then
11674
 
  echo "$as_me:$LINENO: result: $LD" >&5
11675
 
echo "${ECHO_T}$LD" >&6
 
13278
  { echo "$as_me:$LINENO: result: $LD" >&5
 
13279
echo "${ECHO_T}$LD" >&6; }
11676
13280
else
11677
 
  echo "$as_me:$LINENO: result: no" >&5
11678
 
echo "${ECHO_T}no" >&6
 
13281
  { echo "$as_me:$LINENO: result: no" >&5
 
13282
echo "${ECHO_T}no" >&6; }
11679
13283
fi
11680
13284
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11681
13285
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11682
13286
   { (exit 1); exit 1; }; }
11683
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11684
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
13287
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13288
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11685
13289
if test "${acl_cv_prog_gnu_ld+set}" = set; then
11686
13290
  echo $ECHO_N "(cached) $ECHO_C" >&6
11687
13291
else
11693
13297
  acl_cv_prog_gnu_ld=no ;;
11694
13298
esac
11695
13299
fi
11696
 
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
11697
 
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
 
13300
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
 
13301
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
11698
13302
with_gnu_ld=$acl_cv_prog_gnu_ld
11699
13303
 
11700
13304
 
11701
13305
 
11702
 
                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
11703
 
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
 
13306
                                                { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
 
13307
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
11704
13308
if test "${acl_cv_rpath+set}" = set; then
11705
13309
  echo $ECHO_N "(cached) $ECHO_C" >&6
11706
13310
else
11712
13316
    acl_cv_rpath=done
11713
13317
 
11714
13318
fi
11715
 
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
11716
 
echo "${ECHO_T}$acl_cv_rpath" >&6
 
13319
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
 
13320
echo "${ECHO_T}$acl_cv_rpath" >&6; }
11717
13321
  wl="$acl_cv_wl"
11718
13322
  libext="$acl_cv_libext"
11719
13323
  shlibext="$acl_cv_shlibext"
11721
13325
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
11722
13326
  hardcode_direct="$acl_cv_hardcode_direct"
11723
13327
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
11724
 
    # Check whether --enable-rpath or --disable-rpath was given.
 
13328
    # Check whether --enable-rpath was given.
11725
13329
if test "${enable_rpath+set}" = set; then
11726
 
  enableval="$enable_rpath"
11727
 
  :
 
13330
  enableval=$enable_rpath; :
11728
13331
else
11729
13332
  enable_rpath=yes
11730
 
fi;
 
13333
fi
 
13334
 
11731
13335
 
11732
13336
 
11733
13337
 
11749
13353
  prefix="$acl_save_prefix"
11750
13354
 
11751
13355
 
11752
 
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
 
13356
# Check whether --with-libiconv-prefix was given.
11753
13357
if test "${with_libiconv_prefix+set}" = set; then
11754
 
  withval="$with_libiconv_prefix"
11755
 
 
 
13358
  withval=$with_libiconv_prefix;
11756
13359
    if test "X$withval" = "Xno"; then
11757
13360
      use_additional=no
11758
13361
    else
11775
13378
      fi
11776
13379
    fi
11777
13380
 
11778
 
fi;
 
13381
fi
 
13382
 
11779
13383
      LIBICONV=
11780
13384
  LTLIBICONV=
11781
13385
  INCICONV=
12118
13722
 
12119
13723
 
12120
13724
 
12121
 
  echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
12122
 
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
 
13725
  { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
 
13726
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
12123
13727
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
12124
13728
  echo $ECHO_N "(cached) $ECHO_C" >&6
12125
13729
else
12130
13734
cat >>conftest.$ac_ext <<_ACEOF
12131
13735
/* end confdefs.h.  */
12132
13736
$ac_includes_default
 
13737
typedef ptrdiff_t ac__type_new_;
12133
13738
int
12134
13739
main ()
12135
13740
{
12136
 
if ((ptrdiff_t *) 0)
 
13741
if ((ac__type_new_ *) 0)
12137
13742
  return 0;
12138
 
if (sizeof (ptrdiff_t))
 
13743
if (sizeof (ac__type_new_))
12139
13744
  return 0;
12140
13745
  ;
12141
13746
  return 0;
12142
13747
}
12143
13748
_ACEOF
12144
13749
rm -f conftest.$ac_objext
12145
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12146
 
  (eval $ac_compile) 2>conftest.er1
 
13750
if { (ac_try="$ac_compile"
 
13751
case "(($ac_try" in
 
13752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13753
  *) ac_try_echo=$ac_try;;
 
13754
esac
 
13755
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13756
  (eval "$ac_compile") 2>conftest.er1
12147
13757
  ac_status=$?
12148
13758
  grep -v '^ *+' conftest.er1 >conftest.err
12149
13759
  rm -f conftest.er1
12150
13760
  cat conftest.err >&5
12151
13761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152
13762
  (exit $ac_status); } &&
12153
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155
 
  (eval $ac_try) 2>&5
 
13763
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13764
  { (case "(($ac_try" in
 
13765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13766
  *) ac_try_echo=$ac_try;;
 
13767
esac
 
13768
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13769
  (eval "$ac_try") 2>&5
12156
13770
  ac_status=$?
12157
13771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158
13772
  (exit $ac_status); }; } &&
12159
13773
         { ac_try='test -s conftest.$ac_objext'
12160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161
 
  (eval $ac_try) 2>&5
 
13774
  { (case "(($ac_try" in
 
13775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13776
  *) ac_try_echo=$ac_try;;
 
13777
esac
 
13778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13779
  (eval "$ac_try") 2>&5
12162
13780
  ac_status=$?
12163
13781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164
13782
  (exit $ac_status); }; }; then
12167
13785
  echo "$as_me: failed program was:" >&5
12168
13786
sed 's/^/| /' conftest.$ac_ext >&5
12169
13787
 
12170
 
ac_cv_type_ptrdiff_t=no
12171
 
fi
12172
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12173
 
fi
12174
 
echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
12175
 
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
 
13788
        ac_cv_type_ptrdiff_t=no
 
13789
fi
 
13790
 
 
13791
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13792
fi
 
13793
{ echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
 
13794
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
12176
13795
if test $ac_cv_type_ptrdiff_t = yes; then
12177
13796
  :
12178
13797
else
12198
13817
stdlib.h string.h unistd.h sys/param.h
12199
13818
do
12200
13819
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12201
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
12202
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
12203
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12204
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
13820
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
13821
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13822
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13823
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12205
13824
  echo $ECHO_N "(cached) $ECHO_C" >&6
12206
13825
fi
12207
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12208
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
13826
ac_res=`eval echo '${'$as_ac_Header'}'`
 
13827
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
13828
echo "${ECHO_T}$ac_res" >&6; }
12209
13829
else
12210
13830
  # Is the header compilable?
12211
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
12212
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
13831
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
13832
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12213
13833
cat >conftest.$ac_ext <<_ACEOF
12214
13834
/* confdefs.h.  */
12215
13835
_ACEOF
12220
13840
#include <$ac_header>
12221
13841
_ACEOF
12222
13842
rm -f conftest.$ac_objext
12223
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12224
 
  (eval $ac_compile) 2>conftest.er1
 
13843
if { (ac_try="$ac_compile"
 
13844
case "(($ac_try" in
 
13845
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13846
  *) ac_try_echo=$ac_try;;
 
13847
esac
 
13848
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13849
  (eval "$ac_compile") 2>conftest.er1
12225
13850
  ac_status=$?
12226
13851
  grep -v '^ *+' conftest.er1 >conftest.err
12227
13852
  rm -f conftest.er1
12228
13853
  cat conftest.err >&5
12229
13854
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230
13855
  (exit $ac_status); } &&
12231
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12232
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233
 
  (eval $ac_try) 2>&5
 
13856
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
13857
  { (case "(($ac_try" in
 
13858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13859
  *) ac_try_echo=$ac_try;;
 
13860
esac
 
13861
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13862
  (eval "$ac_try") 2>&5
12234
13863
  ac_status=$?
12235
13864
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236
13865
  (exit $ac_status); }; } &&
12237
13866
         { ac_try='test -s conftest.$ac_objext'
12238
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12239
 
  (eval $ac_try) 2>&5
 
13867
  { (case "(($ac_try" in
 
13868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13869
  *) ac_try_echo=$ac_try;;
 
13870
esac
 
13871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13872
  (eval "$ac_try") 2>&5
12240
13873
  ac_status=$?
12241
13874
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242
13875
  (exit $ac_status); }; }; then
12245
13878
  echo "$as_me: failed program was:" >&5
12246
13879
sed 's/^/| /' conftest.$ac_ext >&5
12247
13880
 
12248
 
ac_header_compiler=no
 
13881
        ac_header_compiler=no
12249
13882
fi
12250
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12251
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12252
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
13883
 
 
13884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13885
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
13886
echo "${ECHO_T}$ac_header_compiler" >&6; }
12253
13887
 
12254
13888
# Is the header present?
12255
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
12256
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
13889
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
13890
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12257
13891
cat >conftest.$ac_ext <<_ACEOF
12258
13892
/* confdefs.h.  */
12259
13893
_ACEOF
12262
13896
/* end confdefs.h.  */
12263
13897
#include <$ac_header>
12264
13898
_ACEOF
12265
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12266
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
13899
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
13900
case "(($ac_try" in
 
13901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13902
  *) ac_try_echo=$ac_try;;
 
13903
esac
 
13904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13905
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12267
13906
  ac_status=$?
12268
13907
  grep -v '^ *+' conftest.er1 >conftest.err
12269
13908
  rm -f conftest.er1
12287
13926
 
12288
13927
  ac_header_preproc=no
12289
13928
fi
 
13929
 
12290
13930
rm -f conftest.err conftest.$ac_ext
12291
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12292
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
13931
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
13932
echo "${ECHO_T}$ac_header_preproc" >&6; }
12293
13933
 
12294
13934
# So?  What about this header?
12295
13935
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12313
13953
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12314
13954
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12315
13955
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12316
 
    (
12317
 
      cat <<\_ASBOX
 
13956
    ( cat <<\_ASBOX
12318
13957
## -------------------------------- ##
12319
13958
## Report this to bug-gnupg@gnu.org ##
12320
13959
## -------------------------------- ##
12321
13960
_ASBOX
12322
 
    ) |
12323
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
13961
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12324
13962
    ;;
12325
13963
esac
12326
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
12327
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12328
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
13964
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
13965
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
13966
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12329
13967
  echo $ECHO_N "(cached) $ECHO_C" >&6
12330
13968
else
12331
13969
  eval "$as_ac_Header=\$ac_header_preproc"
12332
13970
fi
12333
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12334
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
13971
ac_res=`eval echo '${'$as_ac_Header'}'`
 
13972
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
13973
echo "${ECHO_T}$ac_res" >&6; }
12335
13974
 
12336
13975
fi
12337
13976
if test `eval echo '${'$as_ac_Header'}'` = yes; then
12372
14011
__fsetlocking
12373
14012
do
12374
14013
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12375
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
12376
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12377
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
14014
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
14015
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
14016
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12378
14017
  echo $ECHO_N "(cached) $ECHO_C" >&6
12379
14018
else
12380
14019
  cat >conftest.$ac_ext <<_ACEOF
12400
14039
 
12401
14040
#undef $ac_func
12402
14041
 
12403
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
14042
/* Override any GCC internal prototype to avoid an error.
 
14043
   Use char because int might match the return type of a GCC
 
14044
   builtin and then its argument prototype would still apply.  */
12404
14045
#ifdef __cplusplus
12405
14046
extern "C"
12406
 
{
12407
14047
#endif
12408
 
/* We use char because int might match the return type of a gcc2
12409
 
   builtin and then its argument prototype would still apply.  */
12410
14048
char $ac_func ();
12411
14049
/* The GNU C library defines this for functions which it implements
12412
14050
    to always fail with ENOSYS.  Some functions are actually named
12413
14051
    something starting with __ and the normal name is an alias.  */
12414
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
14052
#if defined __stub_$ac_func || defined __stub___$ac_func
12415
14053
choke me
12416
 
#else
12417
 
char (*f) () = $ac_func;
12418
 
#endif
12419
 
#ifdef __cplusplus
12420
 
}
12421
14054
#endif
12422
14055
 
12423
14056
int
12424
14057
main ()
12425
14058
{
12426
 
return f != $ac_func;
 
14059
return $ac_func ();
12427
14060
  ;
12428
14061
  return 0;
12429
14062
}
12430
14063
_ACEOF
12431
14064
rm -f conftest.$ac_objext conftest$ac_exeext
12432
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12433
 
  (eval $ac_link) 2>conftest.er1
 
14065
if { (ac_try="$ac_link"
 
14066
case "(($ac_try" in
 
14067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14068
  *) ac_try_echo=$ac_try;;
 
14069
esac
 
14070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14071
  (eval "$ac_link") 2>conftest.er1
12434
14072
  ac_status=$?
12435
14073
  grep -v '^ *+' conftest.er1 >conftest.err
12436
14074
  rm -f conftest.er1
12437
14075
  cat conftest.err >&5
12438
14076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439
14077
  (exit $ac_status); } &&
12440
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12441
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442
 
  (eval $ac_try) 2>&5
 
14078
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14079
  { (case "(($ac_try" in
 
14080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14081
  *) ac_try_echo=$ac_try;;
 
14082
esac
 
14083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14084
  (eval "$ac_try") 2>&5
12443
14085
  ac_status=$?
12444
14086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445
14087
  (exit $ac_status); }; } &&
12446
14088
         { ac_try='test -s conftest$ac_exeext'
12447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448
 
  (eval $ac_try) 2>&5
 
14089
  { (case "(($ac_try" in
 
14090
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14091
  *) ac_try_echo=$ac_try;;
 
14092
esac
 
14093
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14094
  (eval "$ac_try") 2>&5
12449
14095
  ac_status=$?
12450
14096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451
14097
  (exit $ac_status); }; }; then
12454
14100
  echo "$as_me: failed program was:" >&5
12455
14101
sed 's/^/| /' conftest.$ac_ext >&5
12456
14102
 
12457
 
eval "$as_ac_var=no"
 
14103
        eval "$as_ac_var=no"
12458
14104
fi
12459
 
rm -f conftest.err conftest.$ac_objext \
 
14105
 
 
14106
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12460
14107
      conftest$ac_exeext conftest.$ac_ext
12461
14108
fi
12462
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12463
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
14109
ac_res=`eval echo '${'$as_ac_var'}'`
 
14110
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
14111
echo "${ECHO_T}$ac_res" >&6; }
12464
14112
if test `eval echo '${'$as_ac_var'}'` = yes; then
12465
14113
  cat >>confdefs.h <<_ACEOF
12466
14114
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12471
14119
 
12472
14120
 
12473
14121
 
12474
 
  echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
12475
 
echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
 
14122
  { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
 
14123
echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
12476
14124
if test "${ac_cv_have_decl__snprintf+set}" = set; then
12477
14125
  echo $ECHO_N "(cached) $ECHO_C" >&6
12478
14126
else
12496
14144
}
12497
14145
_ACEOF
12498
14146
rm -f conftest.$ac_objext
12499
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500
 
  (eval $ac_compile) 2>conftest.er1
 
14147
if { (ac_try="$ac_compile"
 
14148
case "(($ac_try" in
 
14149
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14150
  *) ac_try_echo=$ac_try;;
 
14151
esac
 
14152
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14153
  (eval "$ac_compile") 2>conftest.er1
12501
14154
  ac_status=$?
12502
14155
  grep -v '^ *+' conftest.er1 >conftest.err
12503
14156
  rm -f conftest.er1
12504
14157
  cat conftest.err >&5
12505
14158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506
14159
  (exit $ac_status); } &&
12507
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509
 
  (eval $ac_try) 2>&5
 
14160
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14161
  { (case "(($ac_try" in
 
14162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14163
  *) ac_try_echo=$ac_try;;
 
14164
esac
 
14165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14166
  (eval "$ac_try") 2>&5
12510
14167
  ac_status=$?
12511
14168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512
14169
  (exit $ac_status); }; } &&
12513
14170
         { ac_try='test -s conftest.$ac_objext'
12514
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515
 
  (eval $ac_try) 2>&5
 
14171
  { (case "(($ac_try" in
 
14172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14173
  *) ac_try_echo=$ac_try;;
 
14174
esac
 
14175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14176
  (eval "$ac_try") 2>&5
12516
14177
  ac_status=$?
12517
14178
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518
14179
  (exit $ac_status); }; }; then
12521
14182
  echo "$as_me: failed program was:" >&5
12522
14183
sed 's/^/| /' conftest.$ac_ext >&5
12523
14184
 
12524
 
ac_cv_have_decl__snprintf=no
12525
 
fi
12526
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12527
 
fi
12528
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
12529
 
echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
 
14185
        ac_cv_have_decl__snprintf=no
 
14186
fi
 
14187
 
 
14188
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14189
fi
 
14190
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
 
14191
echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
12530
14192
  if test $ac_cv_have_decl__snprintf = yes; then
12531
14193
    gt_value=1
12532
14194
  else
12539
14201
 
12540
14202
 
12541
14203
 
12542
 
  echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
12543
 
echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
 
14204
  { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
 
14205
echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
12544
14206
if test "${ac_cv_have_decl__snwprintf+set}" = set; then
12545
14207
  echo $ECHO_N "(cached) $ECHO_C" >&6
12546
14208
else
12564
14226
}
12565
14227
_ACEOF
12566
14228
rm -f conftest.$ac_objext
12567
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12568
 
  (eval $ac_compile) 2>conftest.er1
 
14229
if { (ac_try="$ac_compile"
 
14230
case "(($ac_try" in
 
14231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14232
  *) ac_try_echo=$ac_try;;
 
14233
esac
 
14234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14235
  (eval "$ac_compile") 2>conftest.er1
12569
14236
  ac_status=$?
12570
14237
  grep -v '^ *+' conftest.er1 >conftest.err
12571
14238
  rm -f conftest.er1
12572
14239
  cat conftest.err >&5
12573
14240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574
14241
  (exit $ac_status); } &&
12575
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577
 
  (eval $ac_try) 2>&5
 
14242
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14243
  { (case "(($ac_try" in
 
14244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14245
  *) ac_try_echo=$ac_try;;
 
14246
esac
 
14247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14248
  (eval "$ac_try") 2>&5
12578
14249
  ac_status=$?
12579
14250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580
14251
  (exit $ac_status); }; } &&
12581
14252
         { ac_try='test -s conftest.$ac_objext'
12582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583
 
  (eval $ac_try) 2>&5
 
14253
  { (case "(($ac_try" in
 
14254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14255
  *) ac_try_echo=$ac_try;;
 
14256
esac
 
14257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14258
  (eval "$ac_try") 2>&5
12584
14259
  ac_status=$?
12585
14260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586
14261
  (exit $ac_status); }; }; then
12589
14264
  echo "$as_me: failed program was:" >&5
12590
14265
sed 's/^/| /' conftest.$ac_ext >&5
12591
14266
 
12592
 
ac_cv_have_decl__snwprintf=no
12593
 
fi
12594
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12595
 
fi
12596
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
12597
 
echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
 
14267
        ac_cv_have_decl__snwprintf=no
 
14268
fi
 
14269
 
 
14270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14271
fi
 
14272
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
 
14273
echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
12598
14274
  if test $ac_cv_have_decl__snwprintf = yes; then
12599
14275
    gt_value=1
12600
14276
  else
12608
14284
 
12609
14285
 
12610
14286
 
12611
 
  echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
12612
 
echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
 
14287
  { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
 
14288
echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; }
12613
14289
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
12614
14290
  echo $ECHO_N "(cached) $ECHO_C" >&6
12615
14291
else
12633
14309
}
12634
14310
_ACEOF
12635
14311
rm -f conftest.$ac_objext
12636
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637
 
  (eval $ac_compile) 2>conftest.er1
 
14312
if { (ac_try="$ac_compile"
 
14313
case "(($ac_try" in
 
14314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14315
  *) ac_try_echo=$ac_try;;
 
14316
esac
 
14317
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14318
  (eval "$ac_compile") 2>conftest.er1
12638
14319
  ac_status=$?
12639
14320
  grep -v '^ *+' conftest.er1 >conftest.err
12640
14321
  rm -f conftest.er1
12641
14322
  cat conftest.err >&5
12642
14323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643
14324
  (exit $ac_status); } &&
12644
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12645
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646
 
  (eval $ac_try) 2>&5
 
14325
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14326
  { (case "(($ac_try" in
 
14327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14328
  *) ac_try_echo=$ac_try;;
 
14329
esac
 
14330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14331
  (eval "$ac_try") 2>&5
12647
14332
  ac_status=$?
12648
14333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649
14334
  (exit $ac_status); }; } &&
12650
14335
         { ac_try='test -s conftest.$ac_objext'
12651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652
 
  (eval $ac_try) 2>&5
 
14336
  { (case "(($ac_try" in
 
14337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14338
  *) ac_try_echo=$ac_try;;
 
14339
esac
 
14340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14341
  (eval "$ac_try") 2>&5
12653
14342
  ac_status=$?
12654
14343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655
14344
  (exit $ac_status); }; }; then
12658
14347
  echo "$as_me: failed program was:" >&5
12659
14348
sed 's/^/| /' conftest.$ac_ext >&5
12660
14349
 
12661
 
ac_cv_have_decl_feof_unlocked=no
12662
 
fi
12663
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12664
 
fi
12665
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
12666
 
echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
 
14350
        ac_cv_have_decl_feof_unlocked=no
 
14351
fi
 
14352
 
 
14353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14354
fi
 
14355
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
 
14356
echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; }
12667
14357
  if test $ac_cv_have_decl_feof_unlocked = yes; then
12668
14358
    gt_value=1
12669
14359
  else
12676
14366
 
12677
14367
 
12678
14368
 
12679
 
  echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
12680
 
echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
 
14369
  { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
 
14370
echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; }
12681
14371
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
12682
14372
  echo $ECHO_N "(cached) $ECHO_C" >&6
12683
14373
else
12701
14391
}
12702
14392
_ACEOF
12703
14393
rm -f conftest.$ac_objext
12704
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705
 
  (eval $ac_compile) 2>conftest.er1
 
14394
if { (ac_try="$ac_compile"
 
14395
case "(($ac_try" in
 
14396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14397
  *) ac_try_echo=$ac_try;;
 
14398
esac
 
14399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14400
  (eval "$ac_compile") 2>conftest.er1
12706
14401
  ac_status=$?
12707
14402
  grep -v '^ *+' conftest.er1 >conftest.err
12708
14403
  rm -f conftest.er1
12709
14404
  cat conftest.err >&5
12710
14405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711
14406
  (exit $ac_status); } &&
12712
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12713
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714
 
  (eval $ac_try) 2>&5
 
14407
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14408
  { (case "(($ac_try" in
 
14409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14410
  *) ac_try_echo=$ac_try;;
 
14411
esac
 
14412
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14413
  (eval "$ac_try") 2>&5
12715
14414
  ac_status=$?
12716
14415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717
14416
  (exit $ac_status); }; } &&
12718
14417
         { ac_try='test -s conftest.$ac_objext'
12719
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720
 
  (eval $ac_try) 2>&5
 
14418
  { (case "(($ac_try" in
 
14419
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14420
  *) ac_try_echo=$ac_try;;
 
14421
esac
 
14422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14423
  (eval "$ac_try") 2>&5
12721
14424
  ac_status=$?
12722
14425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723
14426
  (exit $ac_status); }; }; then
12726
14429
  echo "$as_me: failed program was:" >&5
12727
14430
sed 's/^/| /' conftest.$ac_ext >&5
12728
14431
 
12729
 
ac_cv_have_decl_fgets_unlocked=no
12730
 
fi
12731
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12732
 
fi
12733
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
12734
 
echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
 
14432
        ac_cv_have_decl_fgets_unlocked=no
 
14433
fi
 
14434
 
 
14435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14436
fi
 
14437
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
 
14438
echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; }
12735
14439
  if test $ac_cv_have_decl_fgets_unlocked = yes; then
12736
14440
    gt_value=1
12737
14441
  else
12744
14448
 
12745
14449
 
12746
14450
 
12747
 
  echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
12748
 
echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
 
14451
  { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
 
14452
echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
12749
14453
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
12750
14454
  echo $ECHO_N "(cached) $ECHO_C" >&6
12751
14455
else
12769
14473
}
12770
14474
_ACEOF
12771
14475
rm -f conftest.$ac_objext
12772
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773
 
  (eval $ac_compile) 2>conftest.er1
 
14476
if { (ac_try="$ac_compile"
 
14477
case "(($ac_try" in
 
14478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14479
  *) ac_try_echo=$ac_try;;
 
14480
esac
 
14481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14482
  (eval "$ac_compile") 2>conftest.er1
12774
14483
  ac_status=$?
12775
14484
  grep -v '^ *+' conftest.er1 >conftest.err
12776
14485
  rm -f conftest.er1
12777
14486
  cat conftest.err >&5
12778
14487
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779
14488
  (exit $ac_status); } &&
12780
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12781
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782
 
  (eval $ac_try) 2>&5
 
14489
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14490
  { (case "(($ac_try" in
 
14491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14492
  *) ac_try_echo=$ac_try;;
 
14493
esac
 
14494
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14495
  (eval "$ac_try") 2>&5
12783
14496
  ac_status=$?
12784
14497
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785
14498
  (exit $ac_status); }; } &&
12786
14499
         { ac_try='test -s conftest.$ac_objext'
12787
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788
 
  (eval $ac_try) 2>&5
 
14500
  { (case "(($ac_try" in
 
14501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14502
  *) ac_try_echo=$ac_try;;
 
14503
esac
 
14504
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14505
  (eval "$ac_try") 2>&5
12789
14506
  ac_status=$?
12790
14507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791
14508
  (exit $ac_status); }; }; then
12794
14511
  echo "$as_me: failed program was:" >&5
12795
14512
sed 's/^/| /' conftest.$ac_ext >&5
12796
14513
 
12797
 
ac_cv_have_decl_getc_unlocked=no
12798
 
fi
12799
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12800
 
fi
12801
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
12802
 
echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
 
14514
        ac_cv_have_decl_getc_unlocked=no
 
14515
fi
 
14516
 
 
14517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14518
fi
 
14519
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
 
14520
echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
12803
14521
  if test $ac_cv_have_decl_getc_unlocked = yes; then
12804
14522
    gt_value=1
12805
14523
  else
12866
14584
  done
12867
14585
 
12868
14586
 
12869
 
  echo "$as_me:$LINENO: checking for iconv" >&5
12870
 
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
 
14587
  { echo "$as_me:$LINENO: checking for iconv" >&5
 
14588
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
12871
14589
if test "${am_cv_func_iconv+set}" = set; then
12872
14590
  echo $ECHO_N "(cached) $ECHO_C" >&6
12873
14591
else
12893
14611
}
12894
14612
_ACEOF
12895
14613
rm -f conftest.$ac_objext conftest$ac_exeext
12896
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12897
 
  (eval $ac_link) 2>conftest.er1
 
14614
if { (ac_try="$ac_link"
 
14615
case "(($ac_try" in
 
14616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14617
  *) ac_try_echo=$ac_try;;
 
14618
esac
 
14619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14620
  (eval "$ac_link") 2>conftest.er1
12898
14621
  ac_status=$?
12899
14622
  grep -v '^ *+' conftest.er1 >conftest.err
12900
14623
  rm -f conftest.er1
12901
14624
  cat conftest.err >&5
12902
14625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903
14626
  (exit $ac_status); } &&
12904
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12905
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906
 
  (eval $ac_try) 2>&5
 
14627
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14628
  { (case "(($ac_try" in
 
14629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14630
  *) ac_try_echo=$ac_try;;
 
14631
esac
 
14632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14633
  (eval "$ac_try") 2>&5
12907
14634
  ac_status=$?
12908
14635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909
14636
  (exit $ac_status); }; } &&
12910
14637
         { ac_try='test -s conftest$ac_exeext'
12911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912
 
  (eval $ac_try) 2>&5
 
14638
  { (case "(($ac_try" in
 
14639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14640
  *) ac_try_echo=$ac_try;;
 
14641
esac
 
14642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14643
  (eval "$ac_try") 2>&5
12913
14644
  ac_status=$?
12914
14645
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915
14646
  (exit $ac_status); }; }; then
12918
14649
  echo "$as_me: failed program was:" >&5
12919
14650
sed 's/^/| /' conftest.$ac_ext >&5
12920
14651
 
 
14652
 
12921
14653
fi
12922
 
rm -f conftest.err conftest.$ac_objext \
 
14654
 
 
14655
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12923
14656
      conftest$ac_exeext conftest.$ac_ext
12924
14657
    if test "$am_cv_func_iconv" != yes; then
12925
14658
      am_save_LIBS="$LIBS"
12943
14676
}
12944
14677
_ACEOF
12945
14678
rm -f conftest.$ac_objext conftest$ac_exeext
12946
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12947
 
  (eval $ac_link) 2>conftest.er1
 
14679
if { (ac_try="$ac_link"
 
14680
case "(($ac_try" in
 
14681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14682
  *) ac_try_echo=$ac_try;;
 
14683
esac
 
14684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14685
  (eval "$ac_link") 2>conftest.er1
12948
14686
  ac_status=$?
12949
14687
  grep -v '^ *+' conftest.er1 >conftest.err
12950
14688
  rm -f conftest.er1
12951
14689
  cat conftest.err >&5
12952
14690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953
14691
  (exit $ac_status); } &&
12954
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12955
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956
 
  (eval $ac_try) 2>&5
 
14692
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14693
  { (case "(($ac_try" in
 
14694
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14695
  *) ac_try_echo=$ac_try;;
 
14696
esac
 
14697
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14698
  (eval "$ac_try") 2>&5
12957
14699
  ac_status=$?
12958
14700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959
14701
  (exit $ac_status); }; } &&
12960
14702
         { ac_try='test -s conftest$ac_exeext'
12961
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962
 
  (eval $ac_try) 2>&5
 
14703
  { (case "(($ac_try" in
 
14704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14705
  *) ac_try_echo=$ac_try;;
 
14706
esac
 
14707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14708
  (eval "$ac_try") 2>&5
12963
14709
  ac_status=$?
12964
14710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965
14711
  (exit $ac_status); }; }; then
12969
14715
  echo "$as_me: failed program was:" >&5
12970
14716
sed 's/^/| /' conftest.$ac_ext >&5
12971
14717
 
 
14718
 
12972
14719
fi
12973
 
rm -f conftest.err conftest.$ac_objext \
 
14720
 
 
14721
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12974
14722
      conftest$ac_exeext conftest.$ac_ext
12975
14723
      LIBS="$am_save_LIBS"
12976
14724
    fi
12977
14725
 
12978
14726
fi
12979
 
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
12980
 
echo "${ECHO_T}$am_cv_func_iconv" >&6
 
14727
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
 
14728
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
12981
14729
  if test "$am_cv_func_iconv" = yes; then
12982
14730
 
12983
14731
cat >>confdefs.h <<\_ACEOF
12986
14734
 
12987
14735
  fi
12988
14736
  if test "$am_cv_lib_iconv" = yes; then
12989
 
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
12990
 
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
12991
 
    echo "$as_me:$LINENO: result: $LIBICONV" >&5
12992
 
echo "${ECHO_T}$LIBICONV" >&6
 
14737
    { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
 
14738
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
 
14739
    { echo "$as_me:$LINENO: result: $LIBICONV" >&5
 
14740
echo "${ECHO_T}$LIBICONV" >&6; }
12993
14741
  else
12994
14742
            CPPFLAGS="$am_save_CPPFLAGS"
12995
14743
    LIBICONV=
12999
14747
 
13000
14748
 
13001
14749
  if test "$am_cv_func_iconv" = yes; then
13002
 
    echo "$as_me:$LINENO: checking for iconv declaration" >&5
13003
 
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
 
14750
    { echo "$as_me:$LINENO: checking for iconv declaration" >&5
 
14751
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
13004
14752
    if test "${am_cv_proto_iconv+set}" = set; then
13005
14753
  echo $ECHO_N "(cached) $ECHO_C" >&6
13006
14754
else
13033
14781
}
13034
14782
_ACEOF
13035
14783
rm -f conftest.$ac_objext
13036
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13037
 
  (eval $ac_compile) 2>conftest.er1
 
14784
if { (ac_try="$ac_compile"
 
14785
case "(($ac_try" in
 
14786
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14787
  *) ac_try_echo=$ac_try;;
 
14788
esac
 
14789
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14790
  (eval "$ac_compile") 2>conftest.er1
13038
14791
  ac_status=$?
13039
14792
  grep -v '^ *+' conftest.er1 >conftest.err
13040
14793
  rm -f conftest.er1
13041
14794
  cat conftest.err >&5
13042
14795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043
14796
  (exit $ac_status); } &&
13044
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13045
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13046
 
  (eval $ac_try) 2>&5
 
14797
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14798
  { (case "(($ac_try" in
 
14799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14800
  *) ac_try_echo=$ac_try;;
 
14801
esac
 
14802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14803
  (eval "$ac_try") 2>&5
13047
14804
  ac_status=$?
13048
14805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049
14806
  (exit $ac_status); }; } &&
13050
14807
         { ac_try='test -s conftest.$ac_objext'
13051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052
 
  (eval $ac_try) 2>&5
 
14808
  { (case "(($ac_try" in
 
14809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14810
  *) ac_try_echo=$ac_try;;
 
14811
esac
 
14812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14813
  (eval "$ac_try") 2>&5
13053
14814
  ac_status=$?
13054
14815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055
14816
  (exit $ac_status); }; }; then
13058
14819
  echo "$as_me: failed program was:" >&5
13059
14820
sed 's/^/| /' conftest.$ac_ext >&5
13060
14821
 
13061
 
am_cv_proto_iconv_arg1="const"
 
14822
        am_cv_proto_iconv_arg1="const"
13062
14823
fi
13063
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14824
 
 
14825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13064
14826
      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
13065
14827
fi
13066
14828
 
13067
14829
    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13068
 
    echo "$as_me:$LINENO: result: ${ac_t:-
 
14830
    { echo "$as_me:$LINENO: result: ${ac_t:-
13069
14831
         }$am_cv_proto_iconv" >&5
13070
14832
echo "${ECHO_T}${ac_t:-
13071
 
         }$am_cv_proto_iconv" >&6
 
14833
         }$am_cv_proto_iconv" >&6; }
13072
14834
 
13073
14835
cat >>confdefs.h <<_ACEOF
13074
14836
#define ICONV_CONST $am_cv_proto_iconv_arg1
13077
14839
  fi
13078
14840
 
13079
14841
 
13080
 
  echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
13081
 
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
 
14842
  { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
 
14843
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
13082
14844
if test "${am_cv_langinfo_codeset+set}" = set; then
13083
14845
  echo $ECHO_N "(cached) $ECHO_C" >&6
13084
14846
else
13098
14860
}
13099
14861
_ACEOF
13100
14862
rm -f conftest.$ac_objext conftest$ac_exeext
13101
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13102
 
  (eval $ac_link) 2>conftest.er1
 
14863
if { (ac_try="$ac_link"
 
14864
case "(($ac_try" in
 
14865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14866
  *) ac_try_echo=$ac_try;;
 
14867
esac
 
14868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14869
  (eval "$ac_link") 2>conftest.er1
13103
14870
  ac_status=$?
13104
14871
  grep -v '^ *+' conftest.er1 >conftest.err
13105
14872
  rm -f conftest.er1
13106
14873
  cat conftest.err >&5
13107
14874
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108
14875
  (exit $ac_status); } &&
13109
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111
 
  (eval $ac_try) 2>&5
 
14876
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14877
  { (case "(($ac_try" in
 
14878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14879
  *) ac_try_echo=$ac_try;;
 
14880
esac
 
14881
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14882
  (eval "$ac_try") 2>&5
13112
14883
  ac_status=$?
13113
14884
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114
14885
  (exit $ac_status); }; } &&
13115
14886
         { ac_try='test -s conftest$ac_exeext'
13116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117
 
  (eval $ac_try) 2>&5
 
14887
  { (case "(($ac_try" in
 
14888
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14889
  *) ac_try_echo=$ac_try;;
 
14890
esac
 
14891
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14892
  (eval "$ac_try") 2>&5
13118
14893
  ac_status=$?
13119
14894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120
14895
  (exit $ac_status); }; }; then
13123
14898
  echo "$as_me: failed program was:" >&5
13124
14899
sed 's/^/| /' conftest.$ac_ext >&5
13125
14900
 
13126
 
am_cv_langinfo_codeset=no
 
14901
        am_cv_langinfo_codeset=no
13127
14902
fi
13128
 
rm -f conftest.err conftest.$ac_objext \
 
14903
 
 
14904
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13129
14905
      conftest$ac_exeext conftest.$ac_ext
13130
14906
 
13131
14907
fi
13132
 
echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
13133
 
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
 
14908
{ echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
 
14909
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
13134
14910
  if test $am_cv_langinfo_codeset = yes; then
13135
14911
 
13136
14912
cat >>confdefs.h <<\_ACEOF
13141
14917
 
13142
14918
  if test $ac_cv_header_locale_h = yes; then
13143
14919
 
13144
 
  echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
13145
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
14920
  { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
14921
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
13146
14922
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
13147
14923
  echo $ECHO_N "(cached) $ECHO_C" >&6
13148
14924
else
13162
14938
}
13163
14939
_ACEOF
13164
14940
rm -f conftest.$ac_objext conftest$ac_exeext
13165
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13166
 
  (eval $ac_link) 2>conftest.er1
 
14941
if { (ac_try="$ac_link"
 
14942
case "(($ac_try" in
 
14943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14944
  *) ac_try_echo=$ac_try;;
 
14945
esac
 
14946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14947
  (eval "$ac_link") 2>conftest.er1
13167
14948
  ac_status=$?
13168
14949
  grep -v '^ *+' conftest.er1 >conftest.err
13169
14950
  rm -f conftest.er1
13170
14951
  cat conftest.err >&5
13171
14952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172
14953
  (exit $ac_status); } &&
13173
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13174
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175
 
  (eval $ac_try) 2>&5
 
14954
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
14955
  { (case "(($ac_try" in
 
14956
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14957
  *) ac_try_echo=$ac_try;;
 
14958
esac
 
14959
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14960
  (eval "$ac_try") 2>&5
13176
14961
  ac_status=$?
13177
14962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178
14963
  (exit $ac_status); }; } &&
13179
14964
         { ac_try='test -s conftest$ac_exeext'
13180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181
 
  (eval $ac_try) 2>&5
 
14965
  { (case "(($ac_try" in
 
14966
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14967
  *) ac_try_echo=$ac_try;;
 
14968
esac
 
14969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14970
  (eval "$ac_try") 2>&5
13182
14971
  ac_status=$?
13183
14972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184
14973
  (exit $ac_status); }; }; then
13187
14976
  echo "$as_me: failed program was:" >&5
13188
14977
sed 's/^/| /' conftest.$ac_ext >&5
13189
14978
 
13190
 
am_cv_val_LC_MESSAGES=no
 
14979
        am_cv_val_LC_MESSAGES=no
13191
14980
fi
13192
 
rm -f conftest.err conftest.$ac_objext \
 
14981
 
 
14982
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13193
14983
      conftest$ac_exeext conftest.$ac_ext
13194
14984
fi
13195
 
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
13196
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
14985
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
14986
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
13197
14987
  if test $am_cv_val_LC_MESSAGES = yes; then
13198
14988
 
13199
14989
cat >>confdefs.h <<\_ACEOF
13208
14998
do
13209
14999
  # Extract the first word of "$ac_prog", so it can be a program name with args.
13210
15000
set dummy $ac_prog; ac_word=$2
13211
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
13212
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
15001
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
15002
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13213
15003
if test "${ac_cv_prog_INTLBISON+set}" = set; then
13214
15004
  echo $ECHO_N "(cached) $ECHO_C" >&6
13215
15005
else
13222
15012
  IFS=$as_save_IFS
13223
15013
  test -z "$as_dir" && as_dir=.
13224
15014
  for ac_exec_ext in '' $ac_executable_extensions; do
13225
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15015
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13226
15016
    ac_cv_prog_INTLBISON="$ac_prog"
13227
15017
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13228
15018
    break 2
13229
15019
  fi
13230
15020
done
13231
15021
done
 
15022
IFS=$as_save_IFS
13232
15023
 
13233
15024
fi
13234
15025
fi
13235
15026
INTLBISON=$ac_cv_prog_INTLBISON
13236
15027
if test -n "$INTLBISON"; then
13237
 
  echo "$as_me:$LINENO: result: $INTLBISON" >&5
13238
 
echo "${ECHO_T}$INTLBISON" >&6
 
15028
  { echo "$as_me:$LINENO: result: $INTLBISON" >&5
 
15029
echo "${ECHO_T}$INTLBISON" >&6; }
13239
15030
else
13240
 
  echo "$as_me:$LINENO: result: no" >&5
13241
 
echo "${ECHO_T}no" >&6
 
15031
  { echo "$as_me:$LINENO: result: no" >&5
 
15032
echo "${ECHO_T}no" >&6; }
13242
15033
fi
13243
15034
 
 
15035
 
13244
15036
  test -n "$INTLBISON" && break
13245
15037
done
13246
15038
 
13247
15039
  if test -z "$INTLBISON"; then
13248
15040
    ac_verc_fail=yes
13249
15041
  else
13250
 
        echo "$as_me:$LINENO: checking version of bison" >&5
13251
 
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
 
15042
        { echo "$as_me:$LINENO: checking version of bison" >&5
 
15043
echo $ECHO_N "checking version of bison... $ECHO_C" >&6; }
13252
15044
    ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
13253
15045
    case $ac_prog_version in
13254
15046
      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
13256
15048
         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
13257
15049
      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
13258
15050
    esac
13259
 
    echo "$as_me:$LINENO: result: $ac_prog_version" >&5
13260
 
echo "${ECHO_T}$ac_prog_version" >&6
 
15051
    { echo "$as_me:$LINENO: result: $ac_prog_version" >&5
 
15052
echo "${ECHO_T}$ac_prog_version" >&6; }
13261
15053
  fi
13262
15054
  if test $ac_verc_fail = yes; then
13263
15055
    INTLBISON=:
13278
15070
 
13279
15071
 
13280
15072
 
13281
 
  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
13282
 
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
13283
 
    # Check whether --enable-nls or --disable-nls was given.
 
15073
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 
15074
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
 
15075
    # Check whether --enable-nls was given.
13284
15076
if test "${enable_nls+set}" = set; then
13285
 
  enableval="$enable_nls"
13286
 
  USE_NLS=$enableval
 
15077
  enableval=$enable_nls; USE_NLS=$enableval
13287
15078
else
13288
15079
  USE_NLS=yes
13289
 
fi;
13290
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
13291
 
echo "${ECHO_T}$USE_NLS" >&6
 
15080
fi
 
15081
 
 
15082
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
15083
echo "${ECHO_T}$USE_NLS" >&6; }
13292
15084
 
13293
15085
 
13294
15086
 
13303
15095
    if test "$USE_NLS" = "yes"; then
13304
15096
    gt_use_preinstalled_gnugettext=no
13305
15097
 
13306
 
      echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
13307
 
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
 
15098
      { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
 
15099
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
13308
15100
 
13309
 
# Check whether --with-included-gettext or --without-included-gettext was given.
 
15101
# Check whether --with-included-gettext was given.
13310
15102
if test "${with_included_gettext+set}" = set; then
13311
 
  withval="$with_included_gettext"
13312
 
  nls_cv_force_use_gnu_gettext=$withval
 
15103
  withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
13313
15104
else
13314
15105
  nls_cv_force_use_gnu_gettext=no
13315
 
fi;
13316
 
      echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
13317
 
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
 
15106
fi
 
15107
 
 
15108
      { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
 
15109
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
13318
15110
 
13319
15111
      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
13320
15112
      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
13324
15116
 
13325
15117
 
13326
15118
 
13327
 
        echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
13328
 
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
 
15119
        { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
 
15120
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
13329
15121
if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
13330
15122
  echo $ECHO_N "(cached) $ECHO_C" >&6
13331
15123
else
13348
15140
}
13349
15141
_ACEOF
13350
15142
rm -f conftest.$ac_objext conftest$ac_exeext
13351
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13352
 
  (eval $ac_link) 2>conftest.er1
 
15143
if { (ac_try="$ac_link"
 
15144
case "(($ac_try" in
 
15145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15146
  *) ac_try_echo=$ac_try;;
 
15147
esac
 
15148
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15149
  (eval "$ac_link") 2>conftest.er1
13353
15150
  ac_status=$?
13354
15151
  grep -v '^ *+' conftest.er1 >conftest.err
13355
15152
  rm -f conftest.er1
13356
15153
  cat conftest.err >&5
13357
15154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358
15155
  (exit $ac_status); } &&
13359
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13360
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361
 
  (eval $ac_try) 2>&5
 
15156
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
15157
  { (case "(($ac_try" in
 
15158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15159
  *) ac_try_echo=$ac_try;;
 
15160
esac
 
15161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15162
  (eval "$ac_try") 2>&5
13362
15163
  ac_status=$?
13363
15164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364
15165
  (exit $ac_status); }; } &&
13365
15166
         { ac_try='test -s conftest$ac_exeext'
13366
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367
 
  (eval $ac_try) 2>&5
 
15167
  { (case "(($ac_try" in
 
15168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15169
  *) ac_try_echo=$ac_try;;
 
15170
esac
 
15171
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15172
  (eval "$ac_try") 2>&5
13368
15173
  ac_status=$?
13369
15174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370
15175
  (exit $ac_status); }; }; then
13373
15178
  echo "$as_me: failed program was:" >&5
13374
15179
sed 's/^/| /' conftest.$ac_ext >&5
13375
15180
 
13376
 
gt_cv_func_gnugettext2_libc=no
 
15181
        gt_cv_func_gnugettext2_libc=no
13377
15182
fi
13378
 
rm -f conftest.err conftest.$ac_objext \
 
15183
 
 
15184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13379
15185
      conftest$ac_exeext conftest.$ac_ext
13380
15186
fi
13381
 
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
13382
 
echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
 
15187
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
 
15188
echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6; }
13383
15189
 
13384
15190
        if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
13385
15191
 
13399
15205
  prefix="$acl_save_prefix"
13400
15206
 
13401
15207
 
13402
 
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
 
15208
# Check whether --with-libintl-prefix was given.
13403
15209
if test "${with_libintl_prefix+set}" = set; then
13404
 
  withval="$with_libintl_prefix"
13405
 
 
 
15210
  withval=$with_libintl_prefix;
13406
15211
    if test "X$withval" = "Xno"; then
13407
15212
      use_additional=no
13408
15213
    else
13425
15230
      fi
13426
15231
    fi
13427
15232
 
13428
 
fi;
 
15233
fi
 
15234
 
13429
15235
      LIBINTL=
13430
15236
  LTLIBINTL=
13431
15237
  INCINTL=
13761
15567
    done
13762
15568
  fi
13763
15569
 
13764
 
          echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
13765
 
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
 
15570
          { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
 
15571
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
13766
15572
if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
13767
15573
  echo $ECHO_N "(cached) $ECHO_C" >&6
13768
15574
else
13793
15599
}
13794
15600
_ACEOF
13795
15601
rm -f conftest.$ac_objext conftest$ac_exeext
13796
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13797
 
  (eval $ac_link) 2>conftest.er1
 
15602
if { (ac_try="$ac_link"
 
15603
case "(($ac_try" in
 
15604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15605
  *) ac_try_echo=$ac_try;;
 
15606
esac
 
15607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15608
  (eval "$ac_link") 2>conftest.er1
13798
15609
  ac_status=$?
13799
15610
  grep -v '^ *+' conftest.er1 >conftest.err
13800
15611
  rm -f conftest.er1
13801
15612
  cat conftest.err >&5
13802
15613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803
15614
  (exit $ac_status); } &&
13804
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806
 
  (eval $ac_try) 2>&5
 
15615
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
15616
  { (case "(($ac_try" in
 
15617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15618
  *) ac_try_echo=$ac_try;;
 
15619
esac
 
15620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15621
  (eval "$ac_try") 2>&5
13807
15622
  ac_status=$?
13808
15623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809
15624
  (exit $ac_status); }; } &&
13810
15625
         { ac_try='test -s conftest$ac_exeext'
13811
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812
 
  (eval $ac_try) 2>&5
 
15626
  { (case "(($ac_try" in
 
15627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15628
  *) ac_try_echo=$ac_try;;
 
15629
esac
 
15630
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15631
  (eval "$ac_try") 2>&5
13813
15632
  ac_status=$?
13814
15633
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815
15634
  (exit $ac_status); }; }; then
13818
15637
  echo "$as_me: failed program was:" >&5
13819
15638
sed 's/^/| /' conftest.$ac_ext >&5
13820
15639
 
13821
 
gt_cv_func_gnugettext2_libintl=no
 
15640
        gt_cv_func_gnugettext2_libintl=no
13822
15641
fi
13823
 
rm -f conftest.err conftest.$ac_objext \
 
15642
 
 
15643
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13824
15644
      conftest$ac_exeext conftest.$ac_ext
13825
15645
                        if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
13826
15646
              LIBS="$LIBS $LIBICONV"
13847
15667
}
13848
15668
_ACEOF
13849
15669
rm -f conftest.$ac_objext conftest$ac_exeext
13850
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13851
 
  (eval $ac_link) 2>conftest.er1
 
15670
if { (ac_try="$ac_link"
 
15671
case "(($ac_try" in
 
15672
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15673
  *) ac_try_echo=$ac_try;;
 
15674
esac
 
15675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15676
  (eval "$ac_link") 2>conftest.er1
13852
15677
  ac_status=$?
13853
15678
  grep -v '^ *+' conftest.er1 >conftest.err
13854
15679
  rm -f conftest.er1
13855
15680
  cat conftest.err >&5
13856
15681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857
15682
  (exit $ac_status); } &&
13858
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13859
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860
 
  (eval $ac_try) 2>&5
 
15683
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
15684
  { (case "(($ac_try" in
 
15685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15686
  *) ac_try_echo=$ac_try;;
 
15687
esac
 
15688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15689
  (eval "$ac_try") 2>&5
13861
15690
  ac_status=$?
13862
15691
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863
15692
  (exit $ac_status); }; } &&
13864
15693
         { ac_try='test -s conftest$ac_exeext'
13865
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866
 
  (eval $ac_try) 2>&5
 
15694
  { (case "(($ac_try" in
 
15695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15696
  *) ac_try_echo=$ac_try;;
 
15697
esac
 
15698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15699
  (eval "$ac_try") 2>&5
13867
15700
  ac_status=$?
13868
15701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869
15702
  (exit $ac_status); }; }; then
13875
15708
  echo "$as_me: failed program was:" >&5
13876
15709
sed 's/^/| /' conftest.$ac_ext >&5
13877
15710
 
 
15711
 
13878
15712
fi
13879
 
rm -f conftest.err conftest.$ac_objext \
 
15713
 
 
15714
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13880
15715
      conftest$ac_exeext conftest.$ac_ext
13881
15716
            fi
13882
15717
            CPPFLAGS="$gt_save_CPPFLAGS"
13883
15718
            LIBS="$gt_save_LIBS"
13884
15719
fi
13885
 
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
13886
 
echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
 
15720
{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
 
15721
echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6; }
13887
15722
        fi
13888
15723
 
13889
15724
                                        if test "$gt_cv_func_gnugettext2_libc" = "yes" \
13929
15764
    fi
13930
15765
  fi
13931
15766
 
13932
 
  echo "$as_me:$LINENO: checking whether to use NLS" >&5
13933
 
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
13934
 
  echo "$as_me:$LINENO: result: $USE_NLS" >&5
13935
 
echo "${ECHO_T}$USE_NLS" >&6
 
15767
  { echo "$as_me:$LINENO: checking whether to use NLS" >&5
 
15768
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
 
15769
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
 
15770
echo "${ECHO_T}$USE_NLS" >&6; }
13936
15771
  if test "$USE_NLS" = "yes"; then
13937
 
    echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
13938
 
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
 
15772
    { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
 
15773
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
13939
15774
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13940
15775
      if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13941
15776
        gt_source="external libintl"
13945
15780
    else
13946
15781
      gt_source="included intl directory"
13947
15782
    fi
13948
 
    echo "$as_me:$LINENO: result: $gt_source" >&5
13949
 
echo "${ECHO_T}$gt_source" >&6
 
15783
    { echo "$as_me:$LINENO: result: $gt_source" >&5
 
15784
echo "${ECHO_T}$gt_source" >&6; }
13950
15785
  fi
13951
15786
 
13952
15787
  if test "$USE_NLS" = "yes"; then
13953
15788
 
13954
15789
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13955
15790
      if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
13956
 
        echo "$as_me:$LINENO: checking how to link with libintl" >&5
13957
 
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
13958
 
        echo "$as_me:$LINENO: result: $LIBINTL" >&5
13959
 
echo "${ECHO_T}$LIBINTL" >&6
 
15791
        { echo "$as_me:$LINENO: checking how to link with libintl" >&5
 
15792
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
 
15793
        { echo "$as_me:$LINENO: result: $LIBINTL" >&5
 
15794
echo "${ECHO_T}$LIBINTL" >&6; }
13960
15795
 
13961
15796
  for element in $INCINTL; do
13962
15797
    haveit=
14043
15878
for ac_func in strchr
14044
15879
do
14045
15880
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14046
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
14047
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14048
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
15881
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
15882
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
15883
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14049
15884
  echo $ECHO_N "(cached) $ECHO_C" >&6
14050
15885
else
14051
15886
  cat >conftest.$ac_ext <<_ACEOF
14071
15906
 
14072
15907
#undef $ac_func
14073
15908
 
14074
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
15909
/* Override any GCC internal prototype to avoid an error.
 
15910
   Use char because int might match the return type of a GCC
 
15911
   builtin and then its argument prototype would still apply.  */
14075
15912
#ifdef __cplusplus
14076
15913
extern "C"
14077
 
{
14078
15914
#endif
14079
 
/* We use char because int might match the return type of a gcc2
14080
 
   builtin and then its argument prototype would still apply.  */
14081
15915
char $ac_func ();
14082
15916
/* The GNU C library defines this for functions which it implements
14083
15917
    to always fail with ENOSYS.  Some functions are actually named
14084
15918
    something starting with __ and the normal name is an alias.  */
14085
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
15919
#if defined __stub_$ac_func || defined __stub___$ac_func
14086
15920
choke me
14087
 
#else
14088
 
char (*f) () = $ac_func;
14089
 
#endif
14090
 
#ifdef __cplusplus
14091
 
}
14092
15921
#endif
14093
15922
 
14094
15923
int
14095
15924
main ()
14096
15925
{
14097
 
return f != $ac_func;
 
15926
return $ac_func ();
14098
15927
  ;
14099
15928
  return 0;
14100
15929
}
14101
15930
_ACEOF
14102
15931
rm -f conftest.$ac_objext conftest$ac_exeext
14103
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14104
 
  (eval $ac_link) 2>conftest.er1
 
15932
if { (ac_try="$ac_link"
 
15933
case "(($ac_try" in
 
15934
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15935
  *) ac_try_echo=$ac_try;;
 
15936
esac
 
15937
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15938
  (eval "$ac_link") 2>conftest.er1
14105
15939
  ac_status=$?
14106
15940
  grep -v '^ *+' conftest.er1 >conftest.err
14107
15941
  rm -f conftest.er1
14108
15942
  cat conftest.err >&5
14109
15943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110
15944
  (exit $ac_status); } &&
14111
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14112
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113
 
  (eval $ac_try) 2>&5
 
15945
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
15946
  { (case "(($ac_try" in
 
15947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15948
  *) ac_try_echo=$ac_try;;
 
15949
esac
 
15950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15951
  (eval "$ac_try") 2>&5
14114
15952
  ac_status=$?
14115
15953
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116
15954
  (exit $ac_status); }; } &&
14117
15955
         { ac_try='test -s conftest$ac_exeext'
14118
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119
 
  (eval $ac_try) 2>&5
 
15956
  { (case "(($ac_try" in
 
15957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15958
  *) ac_try_echo=$ac_try;;
 
15959
esac
 
15960
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15961
  (eval "$ac_try") 2>&5
14120
15962
  ac_status=$?
14121
15963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122
15964
  (exit $ac_status); }; }; then
14125
15967
  echo "$as_me: failed program was:" >&5
14126
15968
sed 's/^/| /' conftest.$ac_ext >&5
14127
15969
 
14128
 
eval "$as_ac_var=no"
 
15970
        eval "$as_ac_var=no"
14129
15971
fi
14130
 
rm -f conftest.err conftest.$ac_objext \
 
15972
 
 
15973
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14131
15974
      conftest$ac_exeext conftest.$ac_ext
14132
15975
fi
14133
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14134
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
15976
ac_res=`eval echo '${'$as_ac_var'}'`
 
15977
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
15978
echo "${ECHO_T}$ac_res" >&6; }
14135
15979
if test `eval echo '${'$as_ac_var'}'` = yes; then
14136
15980
  cat >>confdefs.h <<_ACEOF
14137
15981
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14181
16025
 
14182
16026
# Extract the first word of "msgfmt", so it can be a program name with args.
14183
16027
set dummy msgfmt; ac_word=$2
14184
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
14185
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16028
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16029
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14186
16030
if test "${ac_cv_path_MSGFMT+set}" = set; then
14187
16031
  echo $ECHO_N "(cached) $ECHO_C" >&6
14188
16032
else
14212
16056
fi
14213
16057
MSGFMT="$ac_cv_path_MSGFMT"
14214
16058
if test "$MSGFMT" != ":"; then
14215
 
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
14216
 
echo "${ECHO_T}$MSGFMT" >&6
 
16059
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
16060
echo "${ECHO_T}$MSGFMT" >&6; }
14217
16061
else
14218
 
  echo "$as_me:$LINENO: result: no" >&5
14219
 
echo "${ECHO_T}no" >&6
 
16062
  { echo "$as_me:$LINENO: result: no" >&5
 
16063
echo "${ECHO_T}no" >&6; }
14220
16064
fi
14221
16065
 
14222
16066
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
14223
16067
set dummy gmsgfmt; ac_word=$2
14224
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
14225
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16068
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16069
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14226
16070
if test "${ac_cv_path_GMSGFMT+set}" = set; then
14227
16071
  echo $ECHO_N "(cached) $ECHO_C" >&6
14228
16072
else
14237
16081
  IFS=$as_save_IFS
14238
16082
  test -z "$as_dir" && as_dir=.
14239
16083
  for ac_exec_ext in '' $ac_executable_extensions; do
14240
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
16084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14241
16085
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14242
16086
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14243
16087
    break 2
14244
16088
  fi
14245
16089
done
14246
16090
done
 
16091
IFS=$as_save_IFS
14247
16092
 
14248
16093
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14249
16094
  ;;
14250
16095
esac
14251
16096
fi
14252
16097
GMSGFMT=$ac_cv_path_GMSGFMT
14253
 
 
14254
16098
if test -n "$GMSGFMT"; then
14255
 
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
14256
 
echo "${ECHO_T}$GMSGFMT" >&6
 
16099
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
16100
echo "${ECHO_T}$GMSGFMT" >&6; }
14257
16101
else
14258
 
  echo "$as_me:$LINENO: result: no" >&5
14259
 
echo "${ECHO_T}no" >&6
 
16102
  { echo "$as_me:$LINENO: result: no" >&5
 
16103
echo "${ECHO_T}no" >&6; }
14260
16104
fi
14261
16105
 
14262
16106
 
14263
16107
 
 
16108
 
14264
16109
# Prepare PATH_SEPARATOR.
14265
16110
# The user is always right.
14266
16111
if test "${PATH_SEPARATOR+set}" != set; then
14291
16136
 
14292
16137
# Extract the first word of "xgettext", so it can be a program name with args.
14293
16138
set dummy xgettext; ac_word=$2
14294
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
14295
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16139
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16140
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14296
16141
if test "${ac_cv_path_XGETTEXT+set}" = set; then
14297
16142
  echo $ECHO_N "(cached) $ECHO_C" >&6
14298
16143
else
14322
16167
fi
14323
16168
XGETTEXT="$ac_cv_path_XGETTEXT"
14324
16169
if test "$XGETTEXT" != ":"; then
14325
 
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
14326
 
echo "${ECHO_T}$XGETTEXT" >&6
 
16170
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
16171
echo "${ECHO_T}$XGETTEXT" >&6; }
14327
16172
else
14328
 
  echo "$as_me:$LINENO: result: no" >&5
14329
 
echo "${ECHO_T}no" >&6
 
16173
  { echo "$as_me:$LINENO: result: no" >&5
 
16174
echo "${ECHO_T}no" >&6; }
14330
16175
fi
14331
16176
 
14332
16177
    rm -f messages.po
14362
16207
 
14363
16208
# Extract the first word of "msgmerge", so it can be a program name with args.
14364
16209
set dummy msgmerge; ac_word=$2
14365
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
14366
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
16210
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
16211
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14367
16212
if test "${ac_cv_path_MSGMERGE+set}" = set; then
14368
16213
  echo $ECHO_N "(cached) $ECHO_C" >&6
14369
16214
else
14392
16237
fi
14393
16238
MSGMERGE="$ac_cv_path_MSGMERGE"
14394
16239
if test "$MSGMERGE" != ":"; then
14395
 
  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
14396
 
echo "${ECHO_T}$MSGMERGE" >&6
 
16240
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
16241
echo "${ECHO_T}$MSGMERGE" >&6; }
14397
16242
else
14398
 
  echo "$as_me:$LINENO: result: no" >&5
14399
 
echo "${ECHO_T}no" >&6
 
16243
  { echo "$as_me:$LINENO: result: no" >&5
 
16244
echo "${ECHO_T}no" >&6; }
14400
16245
fi
14401
16246
 
14402
16247
 
14406
16251
      : ;
14407
16252
    else
14408
16253
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
14409
 
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
14410
 
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
 
16254
      { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
 
16255
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
14411
16256
      GMSGFMT=":"
14412
16257
    fi
14413
16258
  fi
14417
16262
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14418
16263
      : ;
14419
16264
    else
14420
 
      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
14421
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
16265
      { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
16266
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
14422
16267
      XGETTEXT=":"
14423
16268
    fi
14424
16269
        rm -f messages.po
14425
16270
  fi
14426
16271
 
14427
 
            ac_config_commands="$ac_config_commands default-2"
 
16272
  ac_config_commands="$ac_config_commands default-2"
14428
16273
 
14429
16274
 
14430
16275
fi
14433
16278
  if test "$need_dlopen" = yes; then
14434
16279
    _dl_save_libs=$LIBS
14435
16280
    LIBS=""
14436
 
    echo "$as_me:$LINENO: checking for library containing dlopen" >&5
14437
 
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
 
16281
    { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
 
16282
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
14438
16283
if test "${ac_cv_search_dlopen+set}" = set; then
14439
16284
  echo $ECHO_N "(cached) $ECHO_C" >&6
14440
16285
else
14441
16286
  ac_func_search_save_LIBS=$LIBS
14442
 
ac_cv_search_dlopen=no
14443
16287
cat >conftest.$ac_ext <<_ACEOF
14444
16288
/* confdefs.h.  */
14445
16289
_ACEOF
14447
16291
cat >>conftest.$ac_ext <<_ACEOF
14448
16292
/* end confdefs.h.  */
14449
16293
 
14450
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16294
/* Override any GCC internal prototype to avoid an error.
 
16295
   Use char because int might match the return type of a GCC
 
16296
   builtin and then its argument prototype would still apply.  */
14451
16297
#ifdef __cplusplus
14452
16298
extern "C"
14453
16299
#endif
14454
 
/* We use char because int might match the return type of a gcc2
14455
 
   builtin and then its argument prototype would still apply.  */
14456
16300
char dlopen ();
14457
16301
int
14458
16302
main ()
14459
16303
{
14460
 
dlopen ();
 
16304
return dlopen ();
14461
16305
  ;
14462
16306
  return 0;
14463
16307
}
14464
16308
_ACEOF
14465
 
rm -f conftest.$ac_objext conftest$ac_exeext
14466
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14467
 
  (eval $ac_link) 2>conftest.er1
14468
 
  ac_status=$?
14469
 
  grep -v '^ *+' conftest.er1 >conftest.err
14470
 
  rm -f conftest.er1
14471
 
  cat conftest.err >&5
14472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473
 
  (exit $ac_status); } &&
14474
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476
 
  (eval $ac_try) 2>&5
14477
 
  ac_status=$?
14478
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479
 
  (exit $ac_status); }; } &&
14480
 
         { ac_try='test -s conftest$ac_exeext'
14481
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482
 
  (eval $ac_try) 2>&5
14483
 
  ac_status=$?
14484
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485
 
  (exit $ac_status); }; }; then
14486
 
  ac_cv_search_dlopen="none required"
14487
 
else
14488
 
  echo "$as_me: failed program was:" >&5
14489
 
sed 's/^/| /' conftest.$ac_ext >&5
14490
 
 
14491
 
fi
14492
 
rm -f conftest.err conftest.$ac_objext \
14493
 
      conftest$ac_exeext conftest.$ac_ext
14494
 
if test "$ac_cv_search_dlopen" = no; then
14495
 
  for ac_lib in dl; do
 
16309
for ac_lib in '' dl; do
 
16310
  if test -z "$ac_lib"; then
 
16311
    ac_res="none required"
 
16312
  else
 
16313
    ac_res=-l$ac_lib
14496
16314
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14497
 
    cat >conftest.$ac_ext <<_ACEOF
14498
 
/* confdefs.h.  */
14499
 
_ACEOF
14500
 
cat confdefs.h >>conftest.$ac_ext
14501
 
cat >>conftest.$ac_ext <<_ACEOF
14502
 
/* end confdefs.h.  */
14503
 
 
14504
 
/* Override any gcc2 internal prototype to avoid an error.  */
14505
 
#ifdef __cplusplus
14506
 
extern "C"
14507
 
#endif
14508
 
/* We use char because int might match the return type of a gcc2
14509
 
   builtin and then its argument prototype would still apply.  */
14510
 
char dlopen ();
14511
 
int
14512
 
main ()
14513
 
{
14514
 
dlopen ();
14515
 
  ;
14516
 
  return 0;
14517
 
}
14518
 
_ACEOF
14519
 
rm -f conftest.$ac_objext conftest$ac_exeext
14520
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14521
 
  (eval $ac_link) 2>conftest.er1
 
16315
  fi
 
16316
  rm -f conftest.$ac_objext conftest$ac_exeext
 
16317
if { (ac_try="$ac_link"
 
16318
case "(($ac_try" in
 
16319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16320
  *) ac_try_echo=$ac_try;;
 
16321
esac
 
16322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16323
  (eval "$ac_link") 2>conftest.er1
14522
16324
  ac_status=$?
14523
16325
  grep -v '^ *+' conftest.er1 >conftest.err
14524
16326
  rm -f conftest.er1
14525
16327
  cat conftest.err >&5
14526
16328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527
16329
  (exit $ac_status); } &&
14528
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14529
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530
 
  (eval $ac_try) 2>&5
 
16330
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
16331
  { (case "(($ac_try" in
 
16332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16333
  *) ac_try_echo=$ac_try;;
 
16334
esac
 
16335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16336
  (eval "$ac_try") 2>&5
14531
16337
  ac_status=$?
14532
16338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533
16339
  (exit $ac_status); }; } &&
14534
16340
         { ac_try='test -s conftest$ac_exeext'
14535
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536
 
  (eval $ac_try) 2>&5
 
16341
  { (case "(($ac_try" in
 
16342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16343
  *) ac_try_echo=$ac_try;;
 
16344
esac
 
16345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16346
  (eval "$ac_try") 2>&5
14537
16347
  ac_status=$?
14538
16348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539
16349
  (exit $ac_status); }; }; then
14540
 
  ac_cv_search_dlopen="-l$ac_lib"
14541
 
break
 
16350
  ac_cv_search_dlopen=$ac_res
14542
16351
else
14543
16352
  echo "$as_me: failed program was:" >&5
14544
16353
sed 's/^/| /' conftest.$ac_ext >&5
14545
16354
 
14546
 
fi
14547
 
rm -f conftest.err conftest.$ac_objext \
14548
 
      conftest$ac_exeext conftest.$ac_ext
14549
 
  done
14550
 
fi
 
16355
 
 
16356
fi
 
16357
 
 
16358
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16359
      conftest$ac_exeext
 
16360
  if test "${ac_cv_search_dlopen+set}" = set; then
 
16361
  break
 
16362
fi
 
16363
done
 
16364
if test "${ac_cv_search_dlopen+set}" = set; then
 
16365
  :
 
16366
else
 
16367
  ac_cv_search_dlopen=no
 
16368
fi
 
16369
rm conftest.$ac_ext
14551
16370
LIBS=$ac_func_search_save_LIBS
14552
16371
fi
14553
 
echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
14554
 
echo "${ECHO_T}$ac_cv_search_dlopen" >&6
14555
 
if test "$ac_cv_search_dlopen" != no; then
14556
 
  test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
 
16372
{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
 
16373
echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
 
16374
ac_res=$ac_cv_search_dlopen
 
16375
if test "$ac_res" != no; then
 
16376
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14557
16377
  found_dlopen=yes
14558
16378
fi
14559
16379
 
14644
16464
fi
14645
16465
 
14646
16466
 
14647
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14648
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
16467
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
16468
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
14649
16469
if test "${ac_cv_header_stdc+set}" = set; then
14650
16470
  echo $ECHO_N "(cached) $ECHO_C" >&6
14651
16471
else
14669
16489
}
14670
16490
_ACEOF
14671
16491
rm -f conftest.$ac_objext
14672
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14673
 
  (eval $ac_compile) 2>conftest.er1
 
16492
if { (ac_try="$ac_compile"
 
16493
case "(($ac_try" in
 
16494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16495
  *) ac_try_echo=$ac_try;;
 
16496
esac
 
16497
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16498
  (eval "$ac_compile") 2>conftest.er1
14674
16499
  ac_status=$?
14675
16500
  grep -v '^ *+' conftest.er1 >conftest.err
14676
16501
  rm -f conftest.er1
14677
16502
  cat conftest.err >&5
14678
16503
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679
16504
  (exit $ac_status); } &&
14680
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682
 
  (eval $ac_try) 2>&5
 
16505
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
16506
  { (case "(($ac_try" in
 
16507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16508
  *) ac_try_echo=$ac_try;;
 
16509
esac
 
16510
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16511
  (eval "$ac_try") 2>&5
14683
16512
  ac_status=$?
14684
16513
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685
16514
  (exit $ac_status); }; } &&
14686
16515
         { ac_try='test -s conftest.$ac_objext'
14687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14688
 
  (eval $ac_try) 2>&5
 
16516
  { (case "(($ac_try" in
 
16517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16518
  *) ac_try_echo=$ac_try;;
 
16519
esac
 
16520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16521
  (eval "$ac_try") 2>&5
14689
16522
  ac_status=$?
14690
16523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691
16524
  (exit $ac_status); }; }; then
14694
16527
  echo "$as_me: failed program was:" >&5
14695
16528
sed 's/^/| /' conftest.$ac_ext >&5
14696
16529
 
14697
 
ac_cv_header_stdc=no
 
16530
        ac_cv_header_stdc=no
14698
16531
fi
14699
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
16532
 
 
16533
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14700
16534
 
14701
16535
if test $ac_cv_header_stdc = yes; then
14702
16536
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14752
16586
cat >>conftest.$ac_ext <<_ACEOF
14753
16587
/* end confdefs.h.  */
14754
16588
#include <ctype.h>
 
16589
#include <stdlib.h>
14755
16590
#if ((' ' & 0x0FF) == 0x020)
14756
16591
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14757
16592
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14771
16606
  for (i = 0; i < 256; i++)
14772
16607
    if (XOR (islower (i), ISLOWER (i))
14773
16608
        || toupper (i) != TOUPPER (i))
14774
 
      exit(2);
14775
 
  exit (0);
 
16609
      return 2;
 
16610
  return 0;
14776
16611
}
14777
16612
_ACEOF
14778
16613
rm -f conftest$ac_exeext
14779
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14780
 
  (eval $ac_link) 2>&5
 
16614
if { (ac_try="$ac_link"
 
16615
case "(($ac_try" in
 
16616
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16617
  *) ac_try_echo=$ac_try;;
 
16618
esac
 
16619
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16620
  (eval "$ac_link") 2>&5
14781
16621
  ac_status=$?
14782
16622
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783
16623
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785
 
  (eval $ac_try) 2>&5
 
16624
  { (case "(($ac_try" in
 
16625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16626
  *) ac_try_echo=$ac_try;;
 
16627
esac
 
16628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16629
  (eval "$ac_try") 2>&5
14786
16630
  ac_status=$?
14787
16631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788
16632
  (exit $ac_status); }; }; then
14795
16639
( exit $ac_status )
14796
16640
ac_cv_header_stdc=no
14797
16641
fi
14798
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14799
 
fi
14800
 
fi
14801
 
fi
14802
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14803
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
16642
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16643
fi
 
16644
 
 
16645
 
 
16646
fi
 
16647
fi
 
16648
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
16649
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14804
16650
if test $ac_cv_header_stdc = yes; then
14805
16651
 
14806
16652
cat >>confdefs.h <<\_ACEOF
14818
16664
for ac_header in unistd.h langinfo.h termio.h locale.h getopt.h pwd.h
14819
16665
do
14820
16666
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14821
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
14822
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
14823
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14824
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
16667
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
16668
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
16669
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
16670
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14825
16671
  echo $ECHO_N "(cached) $ECHO_C" >&6
14826
16672
fi
14827
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14828
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
16673
ac_res=`eval echo '${'$as_ac_Header'}'`
 
16674
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
16675
echo "${ECHO_T}$ac_res" >&6; }
14829
16676
else
14830
16677
  # Is the header compilable?
14831
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
14832
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
16678
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
16679
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14833
16680
cat >conftest.$ac_ext <<_ACEOF
14834
16681
/* confdefs.h.  */
14835
16682
_ACEOF
14840
16687
#include <$ac_header>
14841
16688
_ACEOF
14842
16689
rm -f conftest.$ac_objext
14843
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14844
 
  (eval $ac_compile) 2>conftest.er1
 
16690
if { (ac_try="$ac_compile"
 
16691
case "(($ac_try" in
 
16692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16693
  *) ac_try_echo=$ac_try;;
 
16694
esac
 
16695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16696
  (eval "$ac_compile") 2>conftest.er1
14845
16697
  ac_status=$?
14846
16698
  grep -v '^ *+' conftest.er1 >conftest.err
14847
16699
  rm -f conftest.er1
14848
16700
  cat conftest.err >&5
14849
16701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850
16702
  (exit $ac_status); } &&
14851
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853
 
  (eval $ac_try) 2>&5
 
16703
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
16704
  { (case "(($ac_try" in
 
16705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16706
  *) ac_try_echo=$ac_try;;
 
16707
esac
 
16708
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16709
  (eval "$ac_try") 2>&5
14854
16710
  ac_status=$?
14855
16711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856
16712
  (exit $ac_status); }; } &&
14857
16713
         { ac_try='test -s conftest.$ac_objext'
14858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14859
 
  (eval $ac_try) 2>&5
 
16714
  { (case "(($ac_try" in
 
16715
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16716
  *) ac_try_echo=$ac_try;;
 
16717
esac
 
16718
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16719
  (eval "$ac_try") 2>&5
14860
16720
  ac_status=$?
14861
16721
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862
16722
  (exit $ac_status); }; }; then
14865
16725
  echo "$as_me: failed program was:" >&5
14866
16726
sed 's/^/| /' conftest.$ac_ext >&5
14867
16727
 
14868
 
ac_header_compiler=no
 
16728
        ac_header_compiler=no
14869
16729
fi
14870
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14871
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14872
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
16730
 
 
16731
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16732
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
16733
echo "${ECHO_T}$ac_header_compiler" >&6; }
14873
16734
 
14874
16735
# Is the header present?
14875
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
14876
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
16736
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
16737
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14877
16738
cat >conftest.$ac_ext <<_ACEOF
14878
16739
/* confdefs.h.  */
14879
16740
_ACEOF
14882
16743
/* end confdefs.h.  */
14883
16744
#include <$ac_header>
14884
16745
_ACEOF
14885
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14886
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
16746
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
16747
case "(($ac_try" in
 
16748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16749
  *) ac_try_echo=$ac_try;;
 
16750
esac
 
16751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16752
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14887
16753
  ac_status=$?
14888
16754
  grep -v '^ *+' conftest.er1 >conftest.err
14889
16755
  rm -f conftest.er1
14907
16773
 
14908
16774
  ac_header_preproc=no
14909
16775
fi
 
16776
 
14910
16777
rm -f conftest.err conftest.$ac_ext
14911
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14912
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
16778
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
16779
echo "${ECHO_T}$ac_header_preproc" >&6; }
14913
16780
 
14914
16781
# So?  What about this header?
14915
16782
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14933
16800
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14934
16801
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14935
16802
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14936
 
    (
14937
 
      cat <<\_ASBOX
 
16803
    ( cat <<\_ASBOX
14938
16804
## -------------------------------- ##
14939
16805
## Report this to bug-gnupg@gnu.org ##
14940
16806
## -------------------------------- ##
14941
16807
_ASBOX
14942
 
    ) |
14943
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
16808
     ) | sed "s/^/$as_me: WARNING:     /" >&2
14944
16809
    ;;
14945
16810
esac
14946
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
14947
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14948
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
16811
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
16812
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
16813
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14949
16814
  echo $ECHO_N "(cached) $ECHO_C" >&6
14950
16815
else
14951
16816
  eval "$as_ac_Header=\$ac_header_preproc"
14952
16817
fi
14953
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14954
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
16818
ac_res=`eval echo '${'$as_ac_Header'}'`
 
16819
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
16820
echo "${ECHO_T}$ac_res" >&6; }
14955
16821
 
14956
16822
fi
14957
16823
if test `eval echo '${'$as_ac_Header'}'` = yes; then
14968
16834
# by the gettext checks and thus it allows us to disable the use of
14969
16835
# iconv by using --disable-nls.
14970
16836
 
14971
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14972
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
16837
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
16838
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
14973
16839
if test "${ac_cv_c_const+set}" = set; then
14974
16840
  echo $ECHO_N "(cached) $ECHO_C" >&6
14975
16841
else
14987
16853
#ifndef __cplusplus
14988
16854
  /* Ultrix mips cc rejects this.  */
14989
16855
  typedef int charset[2];
14990
 
  const charset x;
 
16856
  const charset cs;
14991
16857
  /* SunOS 4.1.1 cc rejects this.  */
14992
 
  char const *const *ccp;
14993
 
  char **p;
 
16858
  char const *const *pcpcc;
 
16859
  char **ppc;
14994
16860
  /* NEC SVR4.0.2 mips cc rejects this.  */
14995
16861
  struct point {int x, y;};
14996
16862
  static struct point const zero = {0,0};
14999
16865
     an arm of an if-expression whose if-part is not a constant
15000
16866
     expression */
15001
16867
  const char *g = "string";
15002
 
  ccp = &g + (g ? g-g : 0);
 
16868
  pcpcc = &g + (g ? g-g : 0);
15003
16869
  /* HPUX 7.0 cc rejects these. */
15004
 
  ++ccp;
15005
 
  p = (char**) ccp;
15006
 
  ccp = (char const *const *) p;
 
16870
  ++pcpcc;
 
16871
  ppc = (char**) pcpcc;
 
16872
  pcpcc = (char const *const *) ppc;
15007
16873
  { /* SCO 3.2v4 cc rejects this.  */
15008
16874
    char *t;
15009
16875
    char const *s = 0 ? (char *) 0 : (char const *) 0;
15010
16876
 
15011
16877
    *t++ = 0;
 
16878
    if (s) return 0;
15012
16879
  }
15013
16880
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
15014
16881
    int x[] = {25, 17};
15027
16894
  }
15028
16895
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15029
16896
    const int foo = 10;
 
16897
    if (!foo) return 0;
15030
16898
  }
 
16899
  return !cs[0] && !zero.x;
15031
16900
#endif
15032
16901
 
15033
16902
  ;
15035
16904
}
15036
16905
_ACEOF
15037
16906
rm -f conftest.$ac_objext
15038
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15039
 
  (eval $ac_compile) 2>conftest.er1
 
16907
if { (ac_try="$ac_compile"
 
16908
case "(($ac_try" in
 
16909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16910
  *) ac_try_echo=$ac_try;;
 
16911
esac
 
16912
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16913
  (eval "$ac_compile") 2>conftest.er1
15040
16914
  ac_status=$?
15041
16915
  grep -v '^ *+' conftest.er1 >conftest.err
15042
16916
  rm -f conftest.er1
15043
16917
  cat conftest.err >&5
15044
16918
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045
16919
  (exit $ac_status); } &&
15046
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15047
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048
 
  (eval $ac_try) 2>&5
 
16920
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
16921
  { (case "(($ac_try" in
 
16922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16923
  *) ac_try_echo=$ac_try;;
 
16924
esac
 
16925
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16926
  (eval "$ac_try") 2>&5
15049
16927
  ac_status=$?
15050
16928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051
16929
  (exit $ac_status); }; } &&
15052
16930
         { ac_try='test -s conftest.$ac_objext'
15053
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054
 
  (eval $ac_try) 2>&5
 
16931
  { (case "(($ac_try" in
 
16932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16933
  *) ac_try_echo=$ac_try;;
 
16934
esac
 
16935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16936
  (eval "$ac_try") 2>&5
15055
16937
  ac_status=$?
15056
16938
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057
16939
  (exit $ac_status); }; }; then
15060
16942
  echo "$as_me: failed program was:" >&5
15061
16943
sed 's/^/| /' conftest.$ac_ext >&5
15062
16944
 
15063
 
ac_cv_c_const=no
15064
 
fi
15065
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15066
 
fi
15067
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15068
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
16945
        ac_cv_c_const=no
 
16946
fi
 
16947
 
 
16948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16949
fi
 
16950
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
16951
echo "${ECHO_T}$ac_cv_c_const" >&6; }
15069
16952
if test $ac_cv_c_const = no; then
15070
16953
 
15071
16954
cat >>confdefs.h <<\_ACEOF
15074
16957
 
15075
16958
fi
15076
16959
 
15077
 
echo "$as_me:$LINENO: checking for inline" >&5
15078
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
16960
{ echo "$as_me:$LINENO: checking for inline" >&5
 
16961
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
15079
16962
if test "${ac_cv_c_inline+set}" = set; then
15080
16963
  echo $ECHO_N "(cached) $ECHO_C" >&6
15081
16964
else
15095
16978
 
15096
16979
_ACEOF
15097
16980
rm -f conftest.$ac_objext
15098
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15099
 
  (eval $ac_compile) 2>conftest.er1
 
16981
if { (ac_try="$ac_compile"
 
16982
case "(($ac_try" in
 
16983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16984
  *) ac_try_echo=$ac_try;;
 
16985
esac
 
16986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16987
  (eval "$ac_compile") 2>conftest.er1
15100
16988
  ac_status=$?
15101
16989
  grep -v '^ *+' conftest.er1 >conftest.err
15102
16990
  rm -f conftest.er1
15103
16991
  cat conftest.err >&5
15104
16992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105
16993
  (exit $ac_status); } &&
15106
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15107
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108
 
  (eval $ac_try) 2>&5
 
16994
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
16995
  { (case "(($ac_try" in
 
16996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16997
  *) ac_try_echo=$ac_try;;
 
16998
esac
 
16999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17000
  (eval "$ac_try") 2>&5
15109
17001
  ac_status=$?
15110
17002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111
17003
  (exit $ac_status); }; } &&
15112
17004
         { ac_try='test -s conftest.$ac_objext'
15113
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114
 
  (eval $ac_try) 2>&5
 
17005
  { (case "(($ac_try" in
 
17006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17007
  *) ac_try_echo=$ac_try;;
 
17008
esac
 
17009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17010
  (eval "$ac_try") 2>&5
15115
17011
  ac_status=$?
15116
17012
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117
17013
  (exit $ac_status); }; }; then
15118
 
  ac_cv_c_inline=$ac_kw; break
 
17014
  ac_cv_c_inline=$ac_kw
15119
17015
else
15120
17016
  echo "$as_me: failed program was:" >&5
15121
17017
sed 's/^/| /' conftest.$ac_ext >&5
15122
17018
 
 
17019
 
15123
17020
fi
15124
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17021
 
 
17022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17023
  test "$ac_cv_c_inline" != no && break
15125
17024
done
15126
17025
 
15127
17026
fi
15128
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15129
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
17027
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
17028
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
15130
17029
 
15131
17030
 
15132
17031
case $ac_cv_c_inline in
15144
17043
    ;;
15145
17044
esac
15146
17045
 
15147
 
echo "$as_me:$LINENO: checking for working volatile" >&5
15148
 
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
 
17046
{ echo "$as_me:$LINENO: checking for working volatile" >&5
 
17047
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
15149
17048
if test "${ac_cv_c_volatile+set}" = set; then
15150
17049
  echo $ECHO_N "(cached) $ECHO_C" >&6
15151
17050
else
15161
17060
{
15162
17061
 
15163
17062
volatile int x;
15164
 
int * volatile y;
 
17063
int * volatile y = (int *) 0;
 
17064
return !x && !y;
15165
17065
  ;
15166
17066
  return 0;
15167
17067
}
15168
17068
_ACEOF
15169
17069
rm -f conftest.$ac_objext
15170
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15171
 
  (eval $ac_compile) 2>conftest.er1
 
17070
if { (ac_try="$ac_compile"
 
17071
case "(($ac_try" in
 
17072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17073
  *) ac_try_echo=$ac_try;;
 
17074
esac
 
17075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17076
  (eval "$ac_compile") 2>conftest.er1
15172
17077
  ac_status=$?
15173
17078
  grep -v '^ *+' conftest.er1 >conftest.err
15174
17079
  rm -f conftest.er1
15175
17080
  cat conftest.err >&5
15176
17081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177
17082
  (exit $ac_status); } &&
15178
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15179
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180
 
  (eval $ac_try) 2>&5
 
17083
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17084
  { (case "(($ac_try" in
 
17085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17086
  *) ac_try_echo=$ac_try;;
 
17087
esac
 
17088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17089
  (eval "$ac_try") 2>&5
15181
17090
  ac_status=$?
15182
17091
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183
17092
  (exit $ac_status); }; } &&
15184
17093
         { ac_try='test -s conftest.$ac_objext'
15185
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186
 
  (eval $ac_try) 2>&5
 
17094
  { (case "(($ac_try" in
 
17095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17096
  *) ac_try_echo=$ac_try;;
 
17097
esac
 
17098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17099
  (eval "$ac_try") 2>&5
15187
17100
  ac_status=$?
15188
17101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189
17102
  (exit $ac_status); }; }; then
15192
17105
  echo "$as_me: failed program was:" >&5
15193
17106
sed 's/^/| /' conftest.$ac_ext >&5
15194
17107
 
15195
 
ac_cv_c_volatile=no
15196
 
fi
15197
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15198
 
fi
15199
 
echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
15200
 
echo "${ECHO_T}$ac_cv_c_volatile" >&6
 
17108
        ac_cv_c_volatile=no
 
17109
fi
 
17110
 
 
17111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17112
fi
 
17113
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
 
17114
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
15201
17115
if test $ac_cv_c_volatile = no; then
15202
17116
 
15203
17117
cat >>confdefs.h <<\_ACEOF
15206
17120
 
15207
17121
fi
15208
17122
 
15209
 
echo "$as_me:$LINENO: checking for size_t" >&5
15210
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
17123
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
17124
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
15211
17125
if test "${ac_cv_type_size_t+set}" = set; then
15212
17126
  echo $ECHO_N "(cached) $ECHO_C" >&6
15213
17127
else
15218
17132
cat >>conftest.$ac_ext <<_ACEOF
15219
17133
/* end confdefs.h.  */
15220
17134
$ac_includes_default
 
17135
typedef size_t ac__type_new_;
15221
17136
int
15222
17137
main ()
15223
17138
{
15224
 
if ((size_t *) 0)
 
17139
if ((ac__type_new_ *) 0)
15225
17140
  return 0;
15226
 
if (sizeof (size_t))
 
17141
if (sizeof (ac__type_new_))
15227
17142
  return 0;
15228
17143
  ;
15229
17144
  return 0;
15230
17145
}
15231
17146
_ACEOF
15232
17147
rm -f conftest.$ac_objext
15233
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15234
 
  (eval $ac_compile) 2>conftest.er1
 
17148
if { (ac_try="$ac_compile"
 
17149
case "(($ac_try" in
 
17150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17151
  *) ac_try_echo=$ac_try;;
 
17152
esac
 
17153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17154
  (eval "$ac_compile") 2>conftest.er1
15235
17155
  ac_status=$?
15236
17156
  grep -v '^ *+' conftest.er1 >conftest.err
15237
17157
  rm -f conftest.er1
15238
17158
  cat conftest.err >&5
15239
17159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240
17160
  (exit $ac_status); } &&
15241
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15242
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243
 
  (eval $ac_try) 2>&5
 
17161
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17162
  { (case "(($ac_try" in
 
17163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17164
  *) ac_try_echo=$ac_try;;
 
17165
esac
 
17166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17167
  (eval "$ac_try") 2>&5
15244
17168
  ac_status=$?
15245
17169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246
17170
  (exit $ac_status); }; } &&
15247
17171
         { ac_try='test -s conftest.$ac_objext'
15248
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249
 
  (eval $ac_try) 2>&5
 
17172
  { (case "(($ac_try" in
 
17173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17174
  *) ac_try_echo=$ac_try;;
 
17175
esac
 
17176
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17177
  (eval "$ac_try") 2>&5
15250
17178
  ac_status=$?
15251
17179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252
17180
  (exit $ac_status); }; }; then
15255
17183
  echo "$as_me: failed program was:" >&5
15256
17184
sed 's/^/| /' conftest.$ac_ext >&5
15257
17185
 
15258
 
ac_cv_type_size_t=no
15259
 
fi
15260
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15261
 
fi
15262
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15263
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
17186
        ac_cv_type_size_t=no
 
17187
fi
 
17188
 
 
17189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17190
fi
 
17191
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
17192
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
15264
17193
if test $ac_cv_type_size_t = yes; then
15265
17194
  :
15266
17195
else
15267
17196
 
15268
17197
cat >>confdefs.h <<_ACEOF
15269
 
#define size_t unsigned
 
17198
#define size_t unsigned int
15270
17199
_ACEOF
15271
17200
 
15272
17201
fi
15273
17202
 
15274
 
echo "$as_me:$LINENO: checking for mode_t" >&5
15275
 
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
 
17203
{ echo "$as_me:$LINENO: checking for mode_t" >&5
 
17204
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
15276
17205
if test "${ac_cv_type_mode_t+set}" = set; then
15277
17206
  echo $ECHO_N "(cached) $ECHO_C" >&6
15278
17207
else
15283
17212
cat >>conftest.$ac_ext <<_ACEOF
15284
17213
/* end confdefs.h.  */
15285
17214
$ac_includes_default
 
17215
typedef mode_t ac__type_new_;
15286
17216
int
15287
17217
main ()
15288
17218
{
15289
 
if ((mode_t *) 0)
 
17219
if ((ac__type_new_ *) 0)
15290
17220
  return 0;
15291
 
if (sizeof (mode_t))
 
17221
if (sizeof (ac__type_new_))
15292
17222
  return 0;
15293
17223
  ;
15294
17224
  return 0;
15295
17225
}
15296
17226
_ACEOF
15297
17227
rm -f conftest.$ac_objext
15298
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299
 
  (eval $ac_compile) 2>conftest.er1
 
17228
if { (ac_try="$ac_compile"
 
17229
case "(($ac_try" in
 
17230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17231
  *) ac_try_echo=$ac_try;;
 
17232
esac
 
17233
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17234
  (eval "$ac_compile") 2>conftest.er1
15300
17235
  ac_status=$?
15301
17236
  grep -v '^ *+' conftest.er1 >conftest.err
15302
17237
  rm -f conftest.er1
15303
17238
  cat conftest.err >&5
15304
17239
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305
17240
  (exit $ac_status); } &&
15306
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308
 
  (eval $ac_try) 2>&5
 
17241
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17242
  { (case "(($ac_try" in
 
17243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17244
  *) ac_try_echo=$ac_try;;
 
17245
esac
 
17246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17247
  (eval "$ac_try") 2>&5
15309
17248
  ac_status=$?
15310
17249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311
17250
  (exit $ac_status); }; } &&
15312
17251
         { ac_try='test -s conftest.$ac_objext'
15313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314
 
  (eval $ac_try) 2>&5
 
17252
  { (case "(($ac_try" in
 
17253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17254
  *) ac_try_echo=$ac_try;;
 
17255
esac
 
17256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17257
  (eval "$ac_try") 2>&5
15315
17258
  ac_status=$?
15316
17259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317
17260
  (exit $ac_status); }; }; then
15320
17263
  echo "$as_me: failed program was:" >&5
15321
17264
sed 's/^/| /' conftest.$ac_ext >&5
15322
17265
 
15323
 
ac_cv_type_mode_t=no
15324
 
fi
15325
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15326
 
fi
15327
 
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
15328
 
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
 
17266
        ac_cv_type_mode_t=no
 
17267
fi
 
17268
 
 
17269
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17270
fi
 
17271
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
 
17272
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
15329
17273
if test $ac_cv_type_mode_t = yes; then
15330
17274
  :
15331
17275
else
15336
17280
 
15337
17281
fi
15338
17282
 
15339
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
15340
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 
17283
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
17284
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
15341
17285
if test "${ac_cv_type_signal+set}" = set; then
15342
17286
  echo $ECHO_N "(cached) $ECHO_C" >&6
15343
17287
else
15349
17293
/* end confdefs.h.  */
15350
17294
#include <sys/types.h>
15351
17295
#include <signal.h>
15352
 
#ifdef signal
15353
 
# undef signal
15354
 
#endif
15355
 
#ifdef __cplusplus
15356
 
extern "C" void (*signal (int, void (*)(int)))(int);
15357
 
#else
15358
 
void (*signal ()) ();
15359
 
#endif
15360
17296
 
15361
17297
int
15362
17298
main ()
15363
17299
{
15364
 
int i;
 
17300
return *(signal (0, 0)) (0) == 1;
15365
17301
  ;
15366
17302
  return 0;
15367
17303
}
15368
17304
_ACEOF
15369
17305
rm -f conftest.$ac_objext
15370
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371
 
  (eval $ac_compile) 2>conftest.er1
 
17306
if { (ac_try="$ac_compile"
 
17307
case "(($ac_try" in
 
17308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17309
  *) ac_try_echo=$ac_try;;
 
17310
esac
 
17311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17312
  (eval "$ac_compile") 2>conftest.er1
15372
17313
  ac_status=$?
15373
17314
  grep -v '^ *+' conftest.er1 >conftest.err
15374
17315
  rm -f conftest.er1
15375
17316
  cat conftest.err >&5
15376
17317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377
17318
  (exit $ac_status); } &&
15378
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15379
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380
 
  (eval $ac_try) 2>&5
 
17319
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17320
  { (case "(($ac_try" in
 
17321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17322
  *) ac_try_echo=$ac_try;;
 
17323
esac
 
17324
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17325
  (eval "$ac_try") 2>&5
15381
17326
  ac_status=$?
15382
17327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383
17328
  (exit $ac_status); }; } &&
15384
17329
         { ac_try='test -s conftest.$ac_objext'
15385
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386
 
  (eval $ac_try) 2>&5
 
17330
  { (case "(($ac_try" in
 
17331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17332
  *) ac_try_echo=$ac_try;;
 
17333
esac
 
17334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17335
  (eval "$ac_try") 2>&5
15387
17336
  ac_status=$?
15388
17337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389
17338
  (exit $ac_status); }; }; then
15390
 
  ac_cv_type_signal=void
 
17339
  ac_cv_type_signal=int
15391
17340
else
15392
17341
  echo "$as_me: failed program was:" >&5
15393
17342
sed 's/^/| /' conftest.$ac_ext >&5
15394
17343
 
15395
 
ac_cv_type_signal=int
15396
 
fi
15397
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15398
 
fi
15399
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
15400
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
 
17344
        ac_cv_type_signal=void
 
17345
fi
 
17346
 
 
17347
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17348
fi
 
17349
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
17350
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
15401
17351
 
15402
17352
cat >>confdefs.h <<_ACEOF
15403
17353
#define RETSIGTYPE $ac_cv_type_signal
15404
17354
_ACEOF
15405
17355
 
15406
17356
 
15407
 
echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
15408
 
echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
 
17357
{ echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
 
17358
echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
15409
17359
if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
15410
17360
  echo $ECHO_N "(cached) $ECHO_C" >&6
15411
17361
else
15417
17367
/* end confdefs.h.  */
15418
17368
#include <signal.h>
15419
17369
/* NetBSD declares sys_siglist in unistd.h.  */
15420
 
#if HAVE_UNISTD_H
 
17370
#ifdef HAVE_UNISTD_H
15421
17371
# include <unistd.h>
15422
17372
#endif
15423
17373
 
15427
17377
{
15428
17378
#ifndef sys_siglist
15429
17379
  char *p = (char *) sys_siglist;
 
17380
  return !p;
15430
17381
#endif
15431
17382
 
15432
17383
  ;
15434
17385
}
15435
17386
_ACEOF
15436
17387
rm -f conftest.$ac_objext
15437
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15438
 
  (eval $ac_compile) 2>conftest.er1
 
17388
if { (ac_try="$ac_compile"
 
17389
case "(($ac_try" in
 
17390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17391
  *) ac_try_echo=$ac_try;;
 
17392
esac
 
17393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17394
  (eval "$ac_compile") 2>conftest.er1
15439
17395
  ac_status=$?
15440
17396
  grep -v '^ *+' conftest.er1 >conftest.err
15441
17397
  rm -f conftest.er1
15442
17398
  cat conftest.err >&5
15443
17399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444
17400
  (exit $ac_status); } &&
15445
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447
 
  (eval $ac_try) 2>&5
 
17401
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17402
  { (case "(($ac_try" in
 
17403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17404
  *) ac_try_echo=$ac_try;;
 
17405
esac
 
17406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17407
  (eval "$ac_try") 2>&5
15448
17408
  ac_status=$?
15449
17409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450
17410
  (exit $ac_status); }; } &&
15451
17411
         { ac_try='test -s conftest.$ac_objext'
15452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453
 
  (eval $ac_try) 2>&5
 
17412
  { (case "(($ac_try" in
 
17413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17414
  *) ac_try_echo=$ac_try;;
 
17415
esac
 
17416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17417
  (eval "$ac_try") 2>&5
15454
17418
  ac_status=$?
15455
17419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456
17420
  (exit $ac_status); }; }; then
15459
17423
  echo "$as_me: failed program was:" >&5
15460
17424
sed 's/^/| /' conftest.$ac_ext >&5
15461
17425
 
15462
 
ac_cv_have_decl_sys_siglist=no
15463
 
fi
15464
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15465
 
fi
15466
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
15467
 
echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
 
17426
        ac_cv_have_decl_sys_siglist=no
 
17427
fi
 
17428
 
 
17429
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17430
fi
 
17431
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
 
17432
echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
15468
17433
if test $ac_cv_have_decl_sys_siglist = yes; then
15469
17434
 
15470
17435
cat >>confdefs.h <<_ACEOF
15483
17448
 
15484
17449
 
15485
17450
 
15486
 
# Check whether --enable-endian-check or --disable-endian-check was given.
 
17451
# Check whether --enable-endian-check was given.
15487
17452
if test "${enable_endian_check+set}" = set; then
15488
 
  enableval="$enable_endian_check"
15489
 
  endiancheck=$enableval
 
17453
  enableval=$enable_endian_check; endiancheck=$enableval
15490
17454
else
15491
17455
  endiancheck=yes
15492
 
fi;
 
17456
fi
 
17457
 
15493
17458
 
15494
17459
if test x"$endiancheck" = xyes ; then
15495
17460
 
15505
17470
      { echo "$as_me:$LINENO: WARNING: cross compiling; assuming $tmp_assumed_endian endianess" >&5
15506
17471
echo "$as_me: WARNING: cross compiling; assuming $tmp_assumed_endian endianess" >&2;}
15507
17472
    fi
15508
 
    echo "$as_me:$LINENO: checking endianess" >&5
15509
 
echo $ECHO_N "checking endianess... $ECHO_C" >&6
 
17473
    { echo "$as_me:$LINENO: checking endianess" >&5
 
17474
echo $ECHO_N "checking endianess... $ECHO_C" >&6; }
15510
17475
    if test "${gnupg_cv_c_endian+set}" = set; then
15511
17476
  echo $ECHO_N "(cached) $ECHO_C" >&6
15512
17477
else
15532
17497
}
15533
17498
_ACEOF
15534
17499
rm -f conftest.$ac_objext
15535
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536
 
  (eval $ac_compile) 2>conftest.er1
 
17500
if { (ac_try="$ac_compile"
 
17501
case "(($ac_try" in
 
17502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17503
  *) ac_try_echo=$ac_try;;
 
17504
esac
 
17505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17506
  (eval "$ac_compile") 2>conftest.er1
15537
17507
  ac_status=$?
15538
17508
  grep -v '^ *+' conftest.er1 >conftest.err
15539
17509
  rm -f conftest.er1
15540
17510
  cat conftest.err >&5
15541
17511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542
17512
  (exit $ac_status); } &&
15543
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545
 
  (eval $ac_try) 2>&5
 
17513
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17514
  { (case "(($ac_try" in
 
17515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17516
  *) ac_try_echo=$ac_try;;
 
17517
esac
 
17518
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17519
  (eval "$ac_try") 2>&5
15546
17520
  ac_status=$?
15547
17521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548
17522
  (exit $ac_status); }; } &&
15549
17523
         { ac_try='test -s conftest.$ac_objext'
15550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551
 
  (eval $ac_try) 2>&5
 
17524
  { (case "(($ac_try" in
 
17525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17526
  *) ac_try_echo=$ac_try;;
 
17527
esac
 
17528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17529
  (eval "$ac_try") 2>&5
15552
17530
  ac_status=$?
15553
17531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554
17532
  (exit $ac_status); }; }; then
15573
17551
}
15574
17552
_ACEOF
15575
17553
rm -f conftest.$ac_objext
15576
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577
 
  (eval $ac_compile) 2>conftest.er1
 
17554
if { (ac_try="$ac_compile"
 
17555
case "(($ac_try" in
 
17556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17557
  *) ac_try_echo=$ac_try;;
 
17558
esac
 
17559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17560
  (eval "$ac_compile") 2>conftest.er1
15578
17561
  ac_status=$?
15579
17562
  grep -v '^ *+' conftest.er1 >conftest.err
15580
17563
  rm -f conftest.er1
15581
17564
  cat conftest.err >&5
15582
17565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583
17566
  (exit $ac_status); } &&
15584
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15585
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586
 
  (eval $ac_try) 2>&5
 
17567
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17568
  { (case "(($ac_try" in
 
17569
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17570
  *) ac_try_echo=$ac_try;;
 
17571
esac
 
17572
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17573
  (eval "$ac_try") 2>&5
15587
17574
  ac_status=$?
15588
17575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589
17576
  (exit $ac_status); }; } &&
15590
17577
         { ac_try='test -s conftest.$ac_objext'
15591
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592
 
  (eval $ac_try) 2>&5
 
17578
  { (case "(($ac_try" in
 
17579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17580
  *) ac_try_echo=$ac_try;;
 
17581
esac
 
17582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17583
  (eval "$ac_try") 2>&5
15593
17584
  ac_status=$?
15594
17585
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595
17586
  (exit $ac_status); }; }; then
15598
17589
  echo "$as_me: failed program was:" >&5
15599
17590
sed 's/^/| /' conftest.$ac_ext >&5
15600
17591
 
15601
 
gnupg_cv_c_endian=little
 
17592
        gnupg_cv_c_endian=little
15602
17593
fi
15603
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17594
 
 
17595
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15604
17596
else
15605
17597
  echo "$as_me: failed program was:" >&5
15606
17598
sed 's/^/| /' conftest.$ac_ext >&5
15607
17599
 
 
17600
 
15608
17601
fi
15609
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
17602
 
 
17603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610
17604
        if test "$gnupg_cv_c_endian" = unknown; then
15611
17605
            if test "$cross_compiling" = yes; then
15612
17606
  gnupg_cv_c_endian=$tmp_assumed_endian
15630
17624
              }
15631
17625
_ACEOF
15632
17626
rm -f conftest$ac_exeext
15633
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15634
 
  (eval $ac_link) 2>&5
 
17627
if { (ac_try="$ac_link"
 
17628
case "(($ac_try" in
 
17629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17630
  *) ac_try_echo=$ac_try;;
 
17631
esac
 
17632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17633
  (eval "$ac_link") 2>&5
15635
17634
  ac_status=$?
15636
17635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637
17636
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15638
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639
 
  (eval $ac_try) 2>&5
 
17637
  { (case "(($ac_try" in
 
17638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17639
  *) ac_try_echo=$ac_try;;
 
17640
esac
 
17641
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17642
  (eval "$ac_try") 2>&5
15640
17643
  ac_status=$?
15641
17644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642
17645
  (exit $ac_status); }; }; then
15649
17652
( exit $ac_status )
15650
17653
gnupg_cv_c_endian=big
15651
17654
fi
15652
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17655
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15653
17656
fi
 
17657
 
 
17658
 
15654
17659
        fi
15655
17660
 
15656
17661
fi
15657
17662
 
15658
 
    echo "$as_me:$LINENO: result: $gnupg_cv_c_endian" >&5
15659
 
echo "${ECHO_T}$gnupg_cv_c_endian" >&6
 
17663
    { echo "$as_me:$LINENO: result: $gnupg_cv_c_endian" >&5
 
17664
echo "${ECHO_T}$gnupg_cv_c_endian" >&6; }
15660
17665
    if test "$gnupg_cv_c_endian" = little; then
15661
17666
 
15662
17667
cat >>confdefs.h <<\_ACEOF
15673
17678
 
15674
17679
fi
15675
17680
 
15676
 
 echo "$as_me:$LINENO: checking for byte typedef" >&5
15677
 
echo $ECHO_N "checking for byte typedef... $ECHO_C" >&6
 
17681
 { echo "$as_me:$LINENO: checking for byte typedef" >&5
 
17682
echo $ECHO_N "checking for byte typedef... $ECHO_C" >&6; }
15678
17683
    if test "${gnupg_cv_typedef_byte+set}" = set; then
15679
17684
  echo $ECHO_N "(cached) $ECHO_C" >&6
15680
17685
else
15699
17704
}
15700
17705
_ACEOF
15701
17706
rm -f conftest.$ac_objext
15702
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703
 
  (eval $ac_compile) 2>conftest.er1
 
17707
if { (ac_try="$ac_compile"
 
17708
case "(($ac_try" in
 
17709
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17710
  *) ac_try_echo=$ac_try;;
 
17711
esac
 
17712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17713
  (eval "$ac_compile") 2>conftest.er1
15704
17714
  ac_status=$?
15705
17715
  grep -v '^ *+' conftest.er1 >conftest.err
15706
17716
  rm -f conftest.er1
15707
17717
  cat conftest.err >&5
15708
17718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709
17719
  (exit $ac_status); } &&
15710
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712
 
  (eval $ac_try) 2>&5
 
17720
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17721
  { (case "(($ac_try" in
 
17722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17723
  *) ac_try_echo=$ac_try;;
 
17724
esac
 
17725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17726
  (eval "$ac_try") 2>&5
15713
17727
  ac_status=$?
15714
17728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715
17729
  (exit $ac_status); }; } &&
15716
17730
         { ac_try='test -s conftest.$ac_objext'
15717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718
 
  (eval $ac_try) 2>&5
 
17731
  { (case "(($ac_try" in
 
17732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17733
  *) ac_try_echo=$ac_try;;
 
17734
esac
 
17735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17736
  (eval "$ac_try") 2>&5
15719
17737
  ac_status=$?
15720
17738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721
17739
  (exit $ac_status); }; }; then
15724
17742
  echo "$as_me: failed program was:" >&5
15725
17743
sed 's/^/| /' conftest.$ac_ext >&5
15726
17744
 
15727
 
gnupg_cv_typedef_byte=no
15728
 
fi
15729
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15730
 
fi
15731
 
 
15732
 
    echo "$as_me:$LINENO: result: $gnupg_cv_typedef_byte" >&5
15733
 
echo "${ECHO_T}$gnupg_cv_typedef_byte" >&6
 
17745
        gnupg_cv_typedef_byte=no
 
17746
fi
 
17747
 
 
17748
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17749
fi
 
17750
 
 
17751
    { echo "$as_me:$LINENO: result: $gnupg_cv_typedef_byte" >&5
 
17752
echo "${ECHO_T}$gnupg_cv_typedef_byte" >&6; }
15734
17753
    if test "$gnupg_cv_typedef_byte" = yes; then
15735
17754
 
15736
17755
cat >>confdefs.h <<\_ACEOF
15739
17758
 
15740
17759
    fi
15741
17760
 
15742
 
 echo "$as_me:$LINENO: checking for ushort typedef" >&5
15743
 
echo $ECHO_N "checking for ushort typedef... $ECHO_C" >&6
 
17761
 { echo "$as_me:$LINENO: checking for ushort typedef" >&5
 
17762
echo $ECHO_N "checking for ushort typedef... $ECHO_C" >&6; }
15744
17763
    if test "${gnupg_cv_typedef_ushort+set}" = set; then
15745
17764
  echo $ECHO_N "(cached) $ECHO_C" >&6
15746
17765
else
15765
17784
}
15766
17785
_ACEOF
15767
17786
rm -f conftest.$ac_objext
15768
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15769
 
  (eval $ac_compile) 2>conftest.er1
 
17787
if { (ac_try="$ac_compile"
 
17788
case "(($ac_try" in
 
17789
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17790
  *) ac_try_echo=$ac_try;;
 
17791
esac
 
17792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17793
  (eval "$ac_compile") 2>conftest.er1
15770
17794
  ac_status=$?
15771
17795
  grep -v '^ *+' conftest.er1 >conftest.err
15772
17796
  rm -f conftest.er1
15773
17797
  cat conftest.err >&5
15774
17798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775
17799
  (exit $ac_status); } &&
15776
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778
 
  (eval $ac_try) 2>&5
 
17800
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17801
  { (case "(($ac_try" in
 
17802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17803
  *) ac_try_echo=$ac_try;;
 
17804
esac
 
17805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17806
  (eval "$ac_try") 2>&5
15779
17807
  ac_status=$?
15780
17808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781
17809
  (exit $ac_status); }; } &&
15782
17810
         { ac_try='test -s conftest.$ac_objext'
15783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784
 
  (eval $ac_try) 2>&5
 
17811
  { (case "(($ac_try" in
 
17812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17813
  *) ac_try_echo=$ac_try;;
 
17814
esac
 
17815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17816
  (eval "$ac_try") 2>&5
15785
17817
  ac_status=$?
15786
17818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787
17819
  (exit $ac_status); }; }; then
15790
17822
  echo "$as_me: failed program was:" >&5
15791
17823
sed 's/^/| /' conftest.$ac_ext >&5
15792
17824
 
15793
 
gnupg_cv_typedef_ushort=no
15794
 
fi
15795
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15796
 
fi
15797
 
 
15798
 
    echo "$as_me:$LINENO: result: $gnupg_cv_typedef_ushort" >&5
15799
 
echo "${ECHO_T}$gnupg_cv_typedef_ushort" >&6
 
17825
        gnupg_cv_typedef_ushort=no
 
17826
fi
 
17827
 
 
17828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17829
fi
 
17830
 
 
17831
    { echo "$as_me:$LINENO: result: $gnupg_cv_typedef_ushort" >&5
 
17832
echo "${ECHO_T}$gnupg_cv_typedef_ushort" >&6; }
15800
17833
    if test "$gnupg_cv_typedef_ushort" = yes; then
15801
17834
 
15802
17835
cat >>confdefs.h <<\_ACEOF
15805
17838
 
15806
17839
    fi
15807
17840
 
15808
 
 echo "$as_me:$LINENO: checking for ulong typedef" >&5
15809
 
echo $ECHO_N "checking for ulong typedef... $ECHO_C" >&6
 
17841
 { echo "$as_me:$LINENO: checking for ulong typedef" >&5
 
17842
echo $ECHO_N "checking for ulong typedef... $ECHO_C" >&6; }
15810
17843
    if test "${gnupg_cv_typedef_ulong+set}" = set; then
15811
17844
  echo $ECHO_N "(cached) $ECHO_C" >&6
15812
17845
else
15831
17864
}
15832
17865
_ACEOF
15833
17866
rm -f conftest.$ac_objext
15834
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15835
 
  (eval $ac_compile) 2>conftest.er1
 
17867
if { (ac_try="$ac_compile"
 
17868
case "(($ac_try" in
 
17869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17870
  *) ac_try_echo=$ac_try;;
 
17871
esac
 
17872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17873
  (eval "$ac_compile") 2>conftest.er1
15836
17874
  ac_status=$?
15837
17875
  grep -v '^ *+' conftest.er1 >conftest.err
15838
17876
  rm -f conftest.er1
15839
17877
  cat conftest.err >&5
15840
17878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841
17879
  (exit $ac_status); } &&
15842
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15843
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844
 
  (eval $ac_try) 2>&5
 
17880
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17881
  { (case "(($ac_try" in
 
17882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17883
  *) ac_try_echo=$ac_try;;
 
17884
esac
 
17885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17886
  (eval "$ac_try") 2>&5
15845
17887
  ac_status=$?
15846
17888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847
17889
  (exit $ac_status); }; } &&
15848
17890
         { ac_try='test -s conftest.$ac_objext'
15849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850
 
  (eval $ac_try) 2>&5
 
17891
  { (case "(($ac_try" in
 
17892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17893
  *) ac_try_echo=$ac_try;;
 
17894
esac
 
17895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17896
  (eval "$ac_try") 2>&5
15851
17897
  ac_status=$?
15852
17898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853
17899
  (exit $ac_status); }; }; then
15856
17902
  echo "$as_me: failed program was:" >&5
15857
17903
sed 's/^/| /' conftest.$ac_ext >&5
15858
17904
 
15859
 
gnupg_cv_typedef_ulong=no
15860
 
fi
15861
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15862
 
fi
15863
 
 
15864
 
    echo "$as_me:$LINENO: result: $gnupg_cv_typedef_ulong" >&5
15865
 
echo "${ECHO_T}$gnupg_cv_typedef_ulong" >&6
 
17905
        gnupg_cv_typedef_ulong=no
 
17906
fi
 
17907
 
 
17908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17909
fi
 
17910
 
 
17911
    { echo "$as_me:$LINENO: result: $gnupg_cv_typedef_ulong" >&5
 
17912
echo "${ECHO_T}$gnupg_cv_typedef_ulong" >&6; }
15866
17913
    if test "$gnupg_cv_typedef_ulong" = yes; then
15867
17914
 
15868
17915
cat >>confdefs.h <<\_ACEOF
15871
17918
 
15872
17919
    fi
15873
17920
 
15874
 
 echo "$as_me:$LINENO: checking for u16 typedef" >&5
15875
 
echo $ECHO_N "checking for u16 typedef... $ECHO_C" >&6
 
17921
 { echo "$as_me:$LINENO: checking for u16 typedef" >&5
 
17922
echo $ECHO_N "checking for u16 typedef... $ECHO_C" >&6; }
15876
17923
    if test "${gnupg_cv_typedef_u16+set}" = set; then
15877
17924
  echo $ECHO_N "(cached) $ECHO_C" >&6
15878
17925
else
15897
17944
}
15898
17945
_ACEOF
15899
17946
rm -f conftest.$ac_objext
15900
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15901
 
  (eval $ac_compile) 2>conftest.er1
 
17947
if { (ac_try="$ac_compile"
 
17948
case "(($ac_try" in
 
17949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17950
  *) ac_try_echo=$ac_try;;
 
17951
esac
 
17952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17953
  (eval "$ac_compile") 2>conftest.er1
15902
17954
  ac_status=$?
15903
17955
  grep -v '^ *+' conftest.er1 >conftest.err
15904
17956
  rm -f conftest.er1
15905
17957
  cat conftest.err >&5
15906
17958
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907
17959
  (exit $ac_status); } &&
15908
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15909
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910
 
  (eval $ac_try) 2>&5
 
17960
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
17961
  { (case "(($ac_try" in
 
17962
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17963
  *) ac_try_echo=$ac_try;;
 
17964
esac
 
17965
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17966
  (eval "$ac_try") 2>&5
15911
17967
  ac_status=$?
15912
17968
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913
17969
  (exit $ac_status); }; } &&
15914
17970
         { ac_try='test -s conftest.$ac_objext'
15915
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916
 
  (eval $ac_try) 2>&5
 
17971
  { (case "(($ac_try" in
 
17972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17973
  *) ac_try_echo=$ac_try;;
 
17974
esac
 
17975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17976
  (eval "$ac_try") 2>&5
15917
17977
  ac_status=$?
15918
17978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919
17979
  (exit $ac_status); }; }; then
15922
17982
  echo "$as_me: failed program was:" >&5
15923
17983
sed 's/^/| /' conftest.$ac_ext >&5
15924
17984
 
15925
 
gnupg_cv_typedef_u16=no
15926
 
fi
15927
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15928
 
fi
15929
 
 
15930
 
    echo "$as_me:$LINENO: result: $gnupg_cv_typedef_u16" >&5
15931
 
echo "${ECHO_T}$gnupg_cv_typedef_u16" >&6
 
17985
        gnupg_cv_typedef_u16=no
 
17986
fi
 
17987
 
 
17988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17989
fi
 
17990
 
 
17991
    { echo "$as_me:$LINENO: result: $gnupg_cv_typedef_u16" >&5
 
17992
echo "${ECHO_T}$gnupg_cv_typedef_u16" >&6; }
15932
17993
    if test "$gnupg_cv_typedef_u16" = yes; then
15933
17994
 
15934
17995
cat >>confdefs.h <<\_ACEOF
15937
17998
 
15938
17999
    fi
15939
18000
 
15940
 
 echo "$as_me:$LINENO: checking for u32 typedef" >&5
15941
 
echo $ECHO_N "checking for u32 typedef... $ECHO_C" >&6
 
18001
 { echo "$as_me:$LINENO: checking for u32 typedef" >&5
 
18002
echo $ECHO_N "checking for u32 typedef... $ECHO_C" >&6; }
15942
18003
    if test "${gnupg_cv_typedef_u32+set}" = set; then
15943
18004
  echo $ECHO_N "(cached) $ECHO_C" >&6
15944
18005
else
15963
18024
}
15964
18025
_ACEOF
15965
18026
rm -f conftest.$ac_objext
15966
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15967
 
  (eval $ac_compile) 2>conftest.er1
 
18027
if { (ac_try="$ac_compile"
 
18028
case "(($ac_try" in
 
18029
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18030
  *) ac_try_echo=$ac_try;;
 
18031
esac
 
18032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18033
  (eval "$ac_compile") 2>conftest.er1
15968
18034
  ac_status=$?
15969
18035
  grep -v '^ *+' conftest.er1 >conftest.err
15970
18036
  rm -f conftest.er1
15971
18037
  cat conftest.err >&5
15972
18038
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973
18039
  (exit $ac_status); } &&
15974
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15975
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976
 
  (eval $ac_try) 2>&5
 
18040
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18041
  { (case "(($ac_try" in
 
18042
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18043
  *) ac_try_echo=$ac_try;;
 
18044
esac
 
18045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18046
  (eval "$ac_try") 2>&5
15977
18047
  ac_status=$?
15978
18048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979
18049
  (exit $ac_status); }; } &&
15980
18050
         { ac_try='test -s conftest.$ac_objext'
15981
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15982
 
  (eval $ac_try) 2>&5
 
18051
  { (case "(($ac_try" in
 
18052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18053
  *) ac_try_echo=$ac_try;;
 
18054
esac
 
18055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18056
  (eval "$ac_try") 2>&5
15983
18057
  ac_status=$?
15984
18058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985
18059
  (exit $ac_status); }; }; then
15988
18062
  echo "$as_me: failed program was:" >&5
15989
18063
sed 's/^/| /' conftest.$ac_ext >&5
15990
18064
 
15991
 
gnupg_cv_typedef_u32=no
15992
 
fi
15993
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15994
 
fi
15995
 
 
15996
 
    echo "$as_me:$LINENO: result: $gnupg_cv_typedef_u32" >&5
15997
 
echo "${ECHO_T}$gnupg_cv_typedef_u32" >&6
 
18065
        gnupg_cv_typedef_u32=no
 
18066
fi
 
18067
 
 
18068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18069
fi
 
18070
 
 
18071
    { echo "$as_me:$LINENO: result: $gnupg_cv_typedef_u32" >&5
 
18072
echo "${ECHO_T}$gnupg_cv_typedef_u32" >&6; }
15998
18073
    if test "$gnupg_cv_typedef_u32" = yes; then
15999
18074
 
16000
18075
cat >>confdefs.h <<\_ACEOF
16004
18079
    fi
16005
18080
 
16006
18081
 
16007
 
echo "$as_me:$LINENO: checking for unsigned short" >&5
16008
 
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
 
18082
{ echo "$as_me:$LINENO: checking for unsigned short" >&5
 
18083
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
16009
18084
if test "${ac_cv_type_unsigned_short+set}" = set; then
16010
18085
  echo $ECHO_N "(cached) $ECHO_C" >&6
16011
18086
else
16016
18091
cat >>conftest.$ac_ext <<_ACEOF
16017
18092
/* end confdefs.h.  */
16018
18093
$ac_includes_default
 
18094
typedef unsigned short ac__type_new_;
16019
18095
int
16020
18096
main ()
16021
18097
{
16022
 
if ((unsigned short *) 0)
 
18098
if ((ac__type_new_ *) 0)
16023
18099
  return 0;
16024
 
if (sizeof (unsigned short))
 
18100
if (sizeof (ac__type_new_))
16025
18101
  return 0;
16026
18102
  ;
16027
18103
  return 0;
16028
18104
}
16029
18105
_ACEOF
16030
18106
rm -f conftest.$ac_objext
16031
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032
 
  (eval $ac_compile) 2>conftest.er1
 
18107
if { (ac_try="$ac_compile"
 
18108
case "(($ac_try" in
 
18109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18110
  *) ac_try_echo=$ac_try;;
 
18111
esac
 
18112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18113
  (eval "$ac_compile") 2>conftest.er1
16033
18114
  ac_status=$?
16034
18115
  grep -v '^ *+' conftest.er1 >conftest.err
16035
18116
  rm -f conftest.er1
16036
18117
  cat conftest.err >&5
16037
18118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038
18119
  (exit $ac_status); } &&
16039
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041
 
  (eval $ac_try) 2>&5
 
18120
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18121
  { (case "(($ac_try" in
 
18122
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18123
  *) ac_try_echo=$ac_try;;
 
18124
esac
 
18125
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18126
  (eval "$ac_try") 2>&5
16042
18127
  ac_status=$?
16043
18128
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044
18129
  (exit $ac_status); }; } &&
16045
18130
         { ac_try='test -s conftest.$ac_objext'
16046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047
 
  (eval $ac_try) 2>&5
 
18131
  { (case "(($ac_try" in
 
18132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18133
  *) ac_try_echo=$ac_try;;
 
18134
esac
 
18135
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18136
  (eval "$ac_try") 2>&5
16048
18137
  ac_status=$?
16049
18138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050
18139
  (exit $ac_status); }; }; then
16053
18142
  echo "$as_me: failed program was:" >&5
16054
18143
sed 's/^/| /' conftest.$ac_ext >&5
16055
18144
 
16056
 
ac_cv_type_unsigned_short=no
16057
 
fi
16058
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16059
 
fi
16060
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
16061
 
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
16062
 
 
16063
 
echo "$as_me:$LINENO: checking size of unsigned short" >&5
16064
 
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
 
18145
        ac_cv_type_unsigned_short=no
 
18146
fi
 
18147
 
 
18148
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18149
fi
 
18150
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
 
18151
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
 
18152
 
 
18153
# The cast to long int works around a bug in the HP C Compiler
 
18154
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
18155
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
18156
# This bug is HP SR number 8606223364.
 
18157
{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
 
18158
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
16065
18159
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
16066
18160
  echo $ECHO_N "(cached) $ECHO_C" >&6
16067
18161
else
16068
 
  if test "$ac_cv_type_unsigned_short" = yes; then
16069
 
  # The cast to unsigned long works around a bug in the HP C Compiler
16070
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16071
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16072
 
  # This bug is HP SR number 8606223364.
16073
18162
  if test "$cross_compiling" = yes; then
16074
18163
  # Depending upon the size, compute the lo and hi bounds.
16075
18164
cat >conftest.$ac_ext <<_ACEOF
16079
18168
cat >>conftest.$ac_ext <<_ACEOF
16080
18169
/* end confdefs.h.  */
16081
18170
$ac_includes_default
 
18171
                typedef unsigned short ac__type_sizeof_;
 
18172
 
16082
18173
int
16083
18174
main ()
16084
18175
{
16085
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
 
18176
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16086
18177
test_array [0] = 0
16087
18178
 
16088
18179
  ;
16090
18181
}
16091
18182
_ACEOF
16092
18183
rm -f conftest.$ac_objext
16093
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16094
 
  (eval $ac_compile) 2>conftest.er1
 
18184
if { (ac_try="$ac_compile"
 
18185
case "(($ac_try" in
 
18186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18187
  *) ac_try_echo=$ac_try;;
 
18188
esac
 
18189
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18190
  (eval "$ac_compile") 2>conftest.er1
16095
18191
  ac_status=$?
16096
18192
  grep -v '^ *+' conftest.er1 >conftest.err
16097
18193
  rm -f conftest.er1
16098
18194
  cat conftest.err >&5
16099
18195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100
18196
  (exit $ac_status); } &&
16101
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103
 
  (eval $ac_try) 2>&5
 
18197
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18198
  { (case "(($ac_try" in
 
18199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18200
  *) ac_try_echo=$ac_try;;
 
18201
esac
 
18202
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18203
  (eval "$ac_try") 2>&5
16104
18204
  ac_status=$?
16105
18205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106
18206
  (exit $ac_status); }; } &&
16107
18207
         { ac_try='test -s conftest.$ac_objext'
16108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16109
 
  (eval $ac_try) 2>&5
 
18208
  { (case "(($ac_try" in
 
18209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18210
  *) ac_try_echo=$ac_try;;
 
18211
esac
 
18212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18213
  (eval "$ac_try") 2>&5
16110
18214
  ac_status=$?
16111
18215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112
18216
  (exit $ac_status); }; }; then
16119
18223
cat >>conftest.$ac_ext <<_ACEOF
16120
18224
/* end confdefs.h.  */
16121
18225
$ac_includes_default
 
18226
                typedef unsigned short ac__type_sizeof_;
 
18227
 
16122
18228
int
16123
18229
main ()
16124
18230
{
16125
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
 
18231
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16126
18232
test_array [0] = 0
16127
18233
 
16128
18234
  ;
16130
18236
}
16131
18237
_ACEOF
16132
18238
rm -f conftest.$ac_objext
16133
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16134
 
  (eval $ac_compile) 2>conftest.er1
 
18239
if { (ac_try="$ac_compile"
 
18240
case "(($ac_try" in
 
18241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18242
  *) ac_try_echo=$ac_try;;
 
18243
esac
 
18244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18245
  (eval "$ac_compile") 2>conftest.er1
16135
18246
  ac_status=$?
16136
18247
  grep -v '^ *+' conftest.er1 >conftest.err
16137
18248
  rm -f conftest.er1
16138
18249
  cat conftest.err >&5
16139
18250
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140
18251
  (exit $ac_status); } &&
16141
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16142
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143
 
  (eval $ac_try) 2>&5
 
18252
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18253
  { (case "(($ac_try" in
 
18254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18255
  *) ac_try_echo=$ac_try;;
 
18256
esac
 
18257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18258
  (eval "$ac_try") 2>&5
16144
18259
  ac_status=$?
16145
18260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146
18261
  (exit $ac_status); }; } &&
16147
18262
         { ac_try='test -s conftest.$ac_objext'
16148
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149
 
  (eval $ac_try) 2>&5
 
18263
  { (case "(($ac_try" in
 
18264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18265
  *) ac_try_echo=$ac_try;;
 
18266
esac
 
18267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18268
  (eval "$ac_try") 2>&5
16150
18269
  ac_status=$?
16151
18270
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152
18271
  (exit $ac_status); }; }; then
16155
18274
  echo "$as_me: failed program was:" >&5
16156
18275
sed 's/^/| /' conftest.$ac_ext >&5
16157
18276
 
16158
 
ac_lo=`expr $ac_mid + 1`
16159
 
                    if test $ac_lo -le $ac_mid; then
16160
 
                      ac_lo= ac_hi=
16161
 
                      break
16162
 
                    fi
16163
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
18277
        ac_lo=`expr $ac_mid + 1`
 
18278
                        if test $ac_lo -le $ac_mid; then
 
18279
                          ac_lo= ac_hi=
 
18280
                          break
 
18281
                        fi
 
18282
                        ac_mid=`expr 2 '*' $ac_mid + 1`
16164
18283
fi
16165
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18284
 
 
18285
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166
18286
  done
16167
18287
else
16168
18288
  echo "$as_me: failed program was:" >&5
16169
18289
sed 's/^/| /' conftest.$ac_ext >&5
16170
18290
 
16171
 
cat >conftest.$ac_ext <<_ACEOF
 
18291
        cat >conftest.$ac_ext <<_ACEOF
16172
18292
/* confdefs.h.  */
16173
18293
_ACEOF
16174
18294
cat confdefs.h >>conftest.$ac_ext
16175
18295
cat >>conftest.$ac_ext <<_ACEOF
16176
18296
/* end confdefs.h.  */
16177
18297
$ac_includes_default
 
18298
                typedef unsigned short ac__type_sizeof_;
 
18299
 
16178
18300
int
16179
18301
main ()
16180
18302
{
16181
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
 
18303
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16182
18304
test_array [0] = 0
16183
18305
 
16184
18306
  ;
16186
18308
}
16187
18309
_ACEOF
16188
18310
rm -f conftest.$ac_objext
16189
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16190
 
  (eval $ac_compile) 2>conftest.er1
 
18311
if { (ac_try="$ac_compile"
 
18312
case "(($ac_try" in
 
18313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18314
  *) ac_try_echo=$ac_try;;
 
18315
esac
 
18316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18317
  (eval "$ac_compile") 2>conftest.er1
16191
18318
  ac_status=$?
16192
18319
  grep -v '^ *+' conftest.er1 >conftest.err
16193
18320
  rm -f conftest.er1
16194
18321
  cat conftest.err >&5
16195
18322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196
18323
  (exit $ac_status); } &&
16197
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16198
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199
 
  (eval $ac_try) 2>&5
 
18324
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18325
  { (case "(($ac_try" in
 
18326
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18327
  *) ac_try_echo=$ac_try;;
 
18328
esac
 
18329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18330
  (eval "$ac_try") 2>&5
16200
18331
  ac_status=$?
16201
18332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202
18333
  (exit $ac_status); }; } &&
16203
18334
         { ac_try='test -s conftest.$ac_objext'
16204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205
 
  (eval $ac_try) 2>&5
 
18335
  { (case "(($ac_try" in
 
18336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18337
  *) ac_try_echo=$ac_try;;
 
18338
esac
 
18339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18340
  (eval "$ac_try") 2>&5
16206
18341
  ac_status=$?
16207
18342
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208
18343
  (exit $ac_status); }; }; then
16215
18350
cat >>conftest.$ac_ext <<_ACEOF
16216
18351
/* end confdefs.h.  */
16217
18352
$ac_includes_default
 
18353
                typedef unsigned short ac__type_sizeof_;
 
18354
 
16218
18355
int
16219
18356
main ()
16220
18357
{
16221
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
 
18358
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16222
18359
test_array [0] = 0
16223
18360
 
16224
18361
  ;
16226
18363
}
16227
18364
_ACEOF
16228
18365
rm -f conftest.$ac_objext
16229
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16230
 
  (eval $ac_compile) 2>conftest.er1
 
18366
if { (ac_try="$ac_compile"
 
18367
case "(($ac_try" in
 
18368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18369
  *) ac_try_echo=$ac_try;;
 
18370
esac
 
18371
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18372
  (eval "$ac_compile") 2>conftest.er1
16231
18373
  ac_status=$?
16232
18374
  grep -v '^ *+' conftest.er1 >conftest.err
16233
18375
  rm -f conftest.er1
16234
18376
  cat conftest.err >&5
16235
18377
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236
18378
  (exit $ac_status); } &&
16237
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16238
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239
 
  (eval $ac_try) 2>&5
 
18379
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18380
  { (case "(($ac_try" in
 
18381
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18382
  *) ac_try_echo=$ac_try;;
 
18383
esac
 
18384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18385
  (eval "$ac_try") 2>&5
16240
18386
  ac_status=$?
16241
18387
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242
18388
  (exit $ac_status); }; } &&
16243
18389
         { ac_try='test -s conftest.$ac_objext'
16244
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245
 
  (eval $ac_try) 2>&5
 
18390
  { (case "(($ac_try" in
 
18391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18392
  *) ac_try_echo=$ac_try;;
 
18393
esac
 
18394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18395
  (eval "$ac_try") 2>&5
16246
18396
  ac_status=$?
16247
18397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248
18398
  (exit $ac_status); }; }; then
16251
18401
  echo "$as_me: failed program was:" >&5
16252
18402
sed 's/^/| /' conftest.$ac_ext >&5
16253
18403
 
16254
 
ac_hi=`expr '(' $ac_mid ')' - 1`
16255
 
                       if test $ac_mid -le $ac_hi; then
16256
 
                         ac_lo= ac_hi=
16257
 
                         break
16258
 
                       fi
16259
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
18404
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
18405
                        if test $ac_mid -le $ac_hi; then
 
18406
                          ac_lo= ac_hi=
 
18407
                          break
 
18408
                        fi
 
18409
                        ac_mid=`expr 2 '*' $ac_mid`
16260
18410
fi
16261
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18411
 
 
18412
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16262
18413
  done
16263
18414
else
16264
18415
  echo "$as_me: failed program was:" >&5
16265
18416
sed 's/^/| /' conftest.$ac_ext >&5
16266
18417
 
16267
 
ac_lo= ac_hi=
16268
 
fi
16269
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16270
 
fi
16271
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18418
        ac_lo= ac_hi=
 
18419
fi
 
18420
 
 
18421
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18422
fi
 
18423
 
 
18424
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16272
18425
# Binary search between lo and hi bounds.
16273
18426
while test "x$ac_lo" != "x$ac_hi"; do
16274
18427
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16279
18432
cat >>conftest.$ac_ext <<_ACEOF
16280
18433
/* end confdefs.h.  */
16281
18434
$ac_includes_default
 
18435
                typedef unsigned short ac__type_sizeof_;
 
18436
 
16282
18437
int
16283
18438
main ()
16284
18439
{
16285
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
 
18440
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16286
18441
test_array [0] = 0
16287
18442
 
16288
18443
  ;
16290
18445
}
16291
18446
_ACEOF
16292
18447
rm -f conftest.$ac_objext
16293
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16294
 
  (eval $ac_compile) 2>conftest.er1
 
18448
if { (ac_try="$ac_compile"
 
18449
case "(($ac_try" in
 
18450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18451
  *) ac_try_echo=$ac_try;;
 
18452
esac
 
18453
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18454
  (eval "$ac_compile") 2>conftest.er1
16295
18455
  ac_status=$?
16296
18456
  grep -v '^ *+' conftest.er1 >conftest.err
16297
18457
  rm -f conftest.er1
16298
18458
  cat conftest.err >&5
16299
18459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300
18460
  (exit $ac_status); } &&
16301
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16302
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303
 
  (eval $ac_try) 2>&5
 
18461
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18462
  { (case "(($ac_try" in
 
18463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18464
  *) ac_try_echo=$ac_try;;
 
18465
esac
 
18466
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18467
  (eval "$ac_try") 2>&5
16304
18468
  ac_status=$?
16305
18469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306
18470
  (exit $ac_status); }; } &&
16307
18471
         { ac_try='test -s conftest.$ac_objext'
16308
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309
 
  (eval $ac_try) 2>&5
 
18472
  { (case "(($ac_try" in
 
18473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18474
  *) ac_try_echo=$ac_try;;
 
18475
esac
 
18476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18477
  (eval "$ac_try") 2>&5
16310
18478
  ac_status=$?
16311
18479
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312
18480
  (exit $ac_status); }; }; then
16315
18483
  echo "$as_me: failed program was:" >&5
16316
18484
sed 's/^/| /' conftest.$ac_ext >&5
16317
18485
 
16318
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
18486
        ac_lo=`expr '(' $ac_mid ')' + 1`
16319
18487
fi
16320
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18488
 
 
18489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16321
18490
done
16322
18491
case $ac_lo in
16323
18492
?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
16324
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
 
18493
'') if test "$ac_cv_type_unsigned_short" = yes; then
 
18494
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
16325
18495
See \`config.log' for more details." >&5
16326
 
echo "$as_me: error: cannot compute sizeof (unsigned short), 77
 
18496
echo "$as_me: error: cannot compute sizeof (unsigned short)
16327
18497
See \`config.log' for more details." >&2;}
16328
 
   { (exit 1); exit 1; }; } ;;
 
18498
   { (exit 77); exit 77; }; }
 
18499
               else
 
18500
                 ac_cv_sizeof_unsigned_short=0
 
18501
               fi ;;
16329
18502
esac
16330
18503
else
16331
 
  if test "$cross_compiling" = yes; then
16332
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16333
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16334
 
   { (exit 1); exit 1; }; }
16335
 
else
16336
18504
  cat >conftest.$ac_ext <<_ACEOF
16337
18505
/* confdefs.h.  */
16338
18506
_ACEOF
16340
18508
cat >>conftest.$ac_ext <<_ACEOF
16341
18509
/* end confdefs.h.  */
16342
18510
$ac_includes_default
16343
 
long longval () { return (long) (sizeof (unsigned short)); }
16344
 
unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
 
18511
                typedef unsigned short ac__type_sizeof_;
 
18512
 
 
18513
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
18514
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16345
18515
#include <stdio.h>
16346
18516
#include <stdlib.h>
16347
18517
int
16350
18520
 
16351
18521
  FILE *f = fopen ("conftest.val", "w");
16352
18522
  if (! f)
16353
 
    exit (1);
16354
 
  if (((long) (sizeof (unsigned short))) < 0)
 
18523
    return 1;
 
18524
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16355
18525
    {
16356
 
      long i = longval ();
16357
 
      if (i != ((long) (sizeof (unsigned short))))
16358
 
        exit (1);
 
18526
      long int i = longval ();
 
18527
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
18528
        return 1;
16359
18529
      fprintf (f, "%ld\n", i);
16360
18530
    }
16361
18531
  else
16362
18532
    {
16363
 
      unsigned long i = ulongval ();
16364
 
      if (i != ((long) (sizeof (unsigned short))))
16365
 
        exit (1);
 
18533
      unsigned long int i = ulongval ();
 
18534
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
18535
        return 1;
16366
18536
      fprintf (f, "%lu\n", i);
16367
18537
    }
16368
 
  exit (ferror (f) || fclose (f) != 0);
 
18538
  return ferror (f) || fclose (f) != 0;
16369
18539
 
16370
18540
  ;
16371
18541
  return 0;
16372
18542
}
16373
18543
_ACEOF
16374
18544
rm -f conftest$ac_exeext
16375
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16376
 
  (eval $ac_link) 2>&5
 
18545
if { (ac_try="$ac_link"
 
18546
case "(($ac_try" in
 
18547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18548
  *) ac_try_echo=$ac_try;;
 
18549
esac
 
18550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18551
  (eval "$ac_link") 2>&5
16377
18552
  ac_status=$?
16378
18553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379
18554
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16380
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381
 
  (eval $ac_try) 2>&5
 
18555
  { (case "(($ac_try" in
 
18556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18557
  *) ac_try_echo=$ac_try;;
 
18558
esac
 
18559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18560
  (eval "$ac_try") 2>&5
16382
18561
  ac_status=$?
16383
18562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384
18563
  (exit $ac_status); }; }; then
16389
18568
sed 's/^/| /' conftest.$ac_ext >&5
16390
18569
 
16391
18570
( exit $ac_status )
16392
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
 
18571
if test "$ac_cv_type_unsigned_short" = yes; then
 
18572
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
16393
18573
See \`config.log' for more details." >&5
16394
 
echo "$as_me: error: cannot compute sizeof (unsigned short), 77
 
18574
echo "$as_me: error: cannot compute sizeof (unsigned short)
16395
18575
See \`config.log' for more details." >&2;}
16396
 
   { (exit 1); exit 1; }; }
16397
 
fi
16398
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16399
 
fi
 
18576
   { (exit 77); exit 77; }; }
 
18577
               else
 
18578
                 ac_cv_sizeof_unsigned_short=0
 
18579
               fi
 
18580
fi
 
18581
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16400
18582
fi
16401
18583
rm -f conftest.val
16402
 
else
16403
 
  ac_cv_sizeof_unsigned_short=0
16404
 
fi
16405
 
fi
16406
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
16407
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
 
18584
fi
 
18585
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
 
18586
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
 
18587
 
 
18588
 
 
18589
 
16408
18590
cat >>confdefs.h <<_ACEOF
16409
18591
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
16410
18592
_ACEOF
16411
18593
 
16412
18594
 
16413
 
echo "$as_me:$LINENO: checking for unsigned int" >&5
16414
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 
18595
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
 
18596
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
16415
18597
if test "${ac_cv_type_unsigned_int+set}" = set; then
16416
18598
  echo $ECHO_N "(cached) $ECHO_C" >&6
16417
18599
else
16422
18604
cat >>conftest.$ac_ext <<_ACEOF
16423
18605
/* end confdefs.h.  */
16424
18606
$ac_includes_default
 
18607
typedef unsigned int ac__type_new_;
16425
18608
int
16426
18609
main ()
16427
18610
{
16428
 
if ((unsigned int *) 0)
 
18611
if ((ac__type_new_ *) 0)
16429
18612
  return 0;
16430
 
if (sizeof (unsigned int))
 
18613
if (sizeof (ac__type_new_))
16431
18614
  return 0;
16432
18615
  ;
16433
18616
  return 0;
16434
18617
}
16435
18618
_ACEOF
16436
18619
rm -f conftest.$ac_objext
16437
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16438
 
  (eval $ac_compile) 2>conftest.er1
 
18620
if { (ac_try="$ac_compile"
 
18621
case "(($ac_try" in
 
18622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18623
  *) ac_try_echo=$ac_try;;
 
18624
esac
 
18625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18626
  (eval "$ac_compile") 2>conftest.er1
16439
18627
  ac_status=$?
16440
18628
  grep -v '^ *+' conftest.er1 >conftest.err
16441
18629
  rm -f conftest.er1
16442
18630
  cat conftest.err >&5
16443
18631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444
18632
  (exit $ac_status); } &&
16445
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447
 
  (eval $ac_try) 2>&5
 
18633
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18634
  { (case "(($ac_try" in
 
18635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18636
  *) ac_try_echo=$ac_try;;
 
18637
esac
 
18638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18639
  (eval "$ac_try") 2>&5
16448
18640
  ac_status=$?
16449
18641
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450
18642
  (exit $ac_status); }; } &&
16451
18643
         { ac_try='test -s conftest.$ac_objext'
16452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453
 
  (eval $ac_try) 2>&5
 
18644
  { (case "(($ac_try" in
 
18645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18646
  *) ac_try_echo=$ac_try;;
 
18647
esac
 
18648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18649
  (eval "$ac_try") 2>&5
16454
18650
  ac_status=$?
16455
18651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456
18652
  (exit $ac_status); }; }; then
16459
18655
  echo "$as_me: failed program was:" >&5
16460
18656
sed 's/^/| /' conftest.$ac_ext >&5
16461
18657
 
16462
 
ac_cv_type_unsigned_int=no
16463
 
fi
16464
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16465
 
fi
16466
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
16467
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
16468
 
 
16469
 
echo "$as_me:$LINENO: checking size of unsigned int" >&5
16470
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 
18658
        ac_cv_type_unsigned_int=no
 
18659
fi
 
18660
 
 
18661
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18662
fi
 
18663
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 
18664
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
 
18665
 
 
18666
# The cast to long int works around a bug in the HP C Compiler
 
18667
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
18668
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
18669
# This bug is HP SR number 8606223364.
 
18670
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
 
18671
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
16471
18672
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
16472
18673
  echo $ECHO_N "(cached) $ECHO_C" >&6
16473
18674
else
16474
 
  if test "$ac_cv_type_unsigned_int" = yes; then
16475
 
  # The cast to unsigned long works around a bug in the HP C Compiler
16476
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16477
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16478
 
  # This bug is HP SR number 8606223364.
16479
18675
  if test "$cross_compiling" = yes; then
16480
18676
  # Depending upon the size, compute the lo and hi bounds.
16481
18677
cat >conftest.$ac_ext <<_ACEOF
16485
18681
cat >>conftest.$ac_ext <<_ACEOF
16486
18682
/* end confdefs.h.  */
16487
18683
$ac_includes_default
 
18684
                typedef unsigned int ac__type_sizeof_;
 
18685
 
16488
18686
int
16489
18687
main ()
16490
18688
{
16491
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
 
18689
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16492
18690
test_array [0] = 0
16493
18691
 
16494
18692
  ;
16496
18694
}
16497
18695
_ACEOF
16498
18696
rm -f conftest.$ac_objext
16499
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16500
 
  (eval $ac_compile) 2>conftest.er1
 
18697
if { (ac_try="$ac_compile"
 
18698
case "(($ac_try" in
 
18699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18700
  *) ac_try_echo=$ac_try;;
 
18701
esac
 
18702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18703
  (eval "$ac_compile") 2>conftest.er1
16501
18704
  ac_status=$?
16502
18705
  grep -v '^ *+' conftest.er1 >conftest.err
16503
18706
  rm -f conftest.er1
16504
18707
  cat conftest.err >&5
16505
18708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506
18709
  (exit $ac_status); } &&
16507
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509
 
  (eval $ac_try) 2>&5
 
18710
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18711
  { (case "(($ac_try" in
 
18712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18713
  *) ac_try_echo=$ac_try;;
 
18714
esac
 
18715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18716
  (eval "$ac_try") 2>&5
16510
18717
  ac_status=$?
16511
18718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512
18719
  (exit $ac_status); }; } &&
16513
18720
         { ac_try='test -s conftest.$ac_objext'
16514
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515
 
  (eval $ac_try) 2>&5
 
18721
  { (case "(($ac_try" in
 
18722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18723
  *) ac_try_echo=$ac_try;;
 
18724
esac
 
18725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18726
  (eval "$ac_try") 2>&5
16516
18727
  ac_status=$?
16517
18728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518
18729
  (exit $ac_status); }; }; then
16525
18736
cat >>conftest.$ac_ext <<_ACEOF
16526
18737
/* end confdefs.h.  */
16527
18738
$ac_includes_default
 
18739
                typedef unsigned int ac__type_sizeof_;
 
18740
 
16528
18741
int
16529
18742
main ()
16530
18743
{
16531
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
18744
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16532
18745
test_array [0] = 0
16533
18746
 
16534
18747
  ;
16536
18749
}
16537
18750
_ACEOF
16538
18751
rm -f conftest.$ac_objext
16539
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16540
 
  (eval $ac_compile) 2>conftest.er1
 
18752
if { (ac_try="$ac_compile"
 
18753
case "(($ac_try" in
 
18754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18755
  *) ac_try_echo=$ac_try;;
 
18756
esac
 
18757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18758
  (eval "$ac_compile") 2>conftest.er1
16541
18759
  ac_status=$?
16542
18760
  grep -v '^ *+' conftest.er1 >conftest.err
16543
18761
  rm -f conftest.er1
16544
18762
  cat conftest.err >&5
16545
18763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546
18764
  (exit $ac_status); } &&
16547
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16548
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549
 
  (eval $ac_try) 2>&5
 
18765
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18766
  { (case "(($ac_try" in
 
18767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18768
  *) ac_try_echo=$ac_try;;
 
18769
esac
 
18770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18771
  (eval "$ac_try") 2>&5
16550
18772
  ac_status=$?
16551
18773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552
18774
  (exit $ac_status); }; } &&
16553
18775
         { ac_try='test -s conftest.$ac_objext'
16554
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555
 
  (eval $ac_try) 2>&5
 
18776
  { (case "(($ac_try" in
 
18777
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18778
  *) ac_try_echo=$ac_try;;
 
18779
esac
 
18780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18781
  (eval "$ac_try") 2>&5
16556
18782
  ac_status=$?
16557
18783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558
18784
  (exit $ac_status); }; }; then
16561
18787
  echo "$as_me: failed program was:" >&5
16562
18788
sed 's/^/| /' conftest.$ac_ext >&5
16563
18789
 
16564
 
ac_lo=`expr $ac_mid + 1`
16565
 
                    if test $ac_lo -le $ac_mid; then
16566
 
                      ac_lo= ac_hi=
16567
 
                      break
16568
 
                    fi
16569
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
18790
        ac_lo=`expr $ac_mid + 1`
 
18791
                        if test $ac_lo -le $ac_mid; then
 
18792
                          ac_lo= ac_hi=
 
18793
                          break
 
18794
                        fi
 
18795
                        ac_mid=`expr 2 '*' $ac_mid + 1`
16570
18796
fi
16571
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18797
 
 
18798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572
18799
  done
16573
18800
else
16574
18801
  echo "$as_me: failed program was:" >&5
16575
18802
sed 's/^/| /' conftest.$ac_ext >&5
16576
18803
 
16577
 
cat >conftest.$ac_ext <<_ACEOF
 
18804
        cat >conftest.$ac_ext <<_ACEOF
16578
18805
/* confdefs.h.  */
16579
18806
_ACEOF
16580
18807
cat confdefs.h >>conftest.$ac_ext
16581
18808
cat >>conftest.$ac_ext <<_ACEOF
16582
18809
/* end confdefs.h.  */
16583
18810
$ac_includes_default
 
18811
                typedef unsigned int ac__type_sizeof_;
 
18812
 
16584
18813
int
16585
18814
main ()
16586
18815
{
16587
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
 
18816
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16588
18817
test_array [0] = 0
16589
18818
 
16590
18819
  ;
16592
18821
}
16593
18822
_ACEOF
16594
18823
rm -f conftest.$ac_objext
16595
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16596
 
  (eval $ac_compile) 2>conftest.er1
 
18824
if { (ac_try="$ac_compile"
 
18825
case "(($ac_try" in
 
18826
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18827
  *) ac_try_echo=$ac_try;;
 
18828
esac
 
18829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18830
  (eval "$ac_compile") 2>conftest.er1
16597
18831
  ac_status=$?
16598
18832
  grep -v '^ *+' conftest.er1 >conftest.err
16599
18833
  rm -f conftest.er1
16600
18834
  cat conftest.err >&5
16601
18835
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602
18836
  (exit $ac_status); } &&
16603
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16604
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605
 
  (eval $ac_try) 2>&5
 
18837
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18838
  { (case "(($ac_try" in
 
18839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18840
  *) ac_try_echo=$ac_try;;
 
18841
esac
 
18842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18843
  (eval "$ac_try") 2>&5
16606
18844
  ac_status=$?
16607
18845
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608
18846
  (exit $ac_status); }; } &&
16609
18847
         { ac_try='test -s conftest.$ac_objext'
16610
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611
 
  (eval $ac_try) 2>&5
 
18848
  { (case "(($ac_try" in
 
18849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18850
  *) ac_try_echo=$ac_try;;
 
18851
esac
 
18852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18853
  (eval "$ac_try") 2>&5
16612
18854
  ac_status=$?
16613
18855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614
18856
  (exit $ac_status); }; }; then
16621
18863
cat >>conftest.$ac_ext <<_ACEOF
16622
18864
/* end confdefs.h.  */
16623
18865
$ac_includes_default
 
18866
                typedef unsigned int ac__type_sizeof_;
 
18867
 
16624
18868
int
16625
18869
main ()
16626
18870
{
16627
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
 
18871
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16628
18872
test_array [0] = 0
16629
18873
 
16630
18874
  ;
16632
18876
}
16633
18877
_ACEOF
16634
18878
rm -f conftest.$ac_objext
16635
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16636
 
  (eval $ac_compile) 2>conftest.er1
 
18879
if { (ac_try="$ac_compile"
 
18880
case "(($ac_try" in
 
18881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18882
  *) ac_try_echo=$ac_try;;
 
18883
esac
 
18884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18885
  (eval "$ac_compile") 2>conftest.er1
16637
18886
  ac_status=$?
16638
18887
  grep -v '^ *+' conftest.er1 >conftest.err
16639
18888
  rm -f conftest.er1
16640
18889
  cat conftest.err >&5
16641
18890
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642
18891
  (exit $ac_status); } &&
16643
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16644
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645
 
  (eval $ac_try) 2>&5
 
18892
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18893
  { (case "(($ac_try" in
 
18894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18895
  *) ac_try_echo=$ac_try;;
 
18896
esac
 
18897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18898
  (eval "$ac_try") 2>&5
16646
18899
  ac_status=$?
16647
18900
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648
18901
  (exit $ac_status); }; } &&
16649
18902
         { ac_try='test -s conftest.$ac_objext'
16650
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651
 
  (eval $ac_try) 2>&5
 
18903
  { (case "(($ac_try" in
 
18904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18905
  *) ac_try_echo=$ac_try;;
 
18906
esac
 
18907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18908
  (eval "$ac_try") 2>&5
16652
18909
  ac_status=$?
16653
18910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654
18911
  (exit $ac_status); }; }; then
16657
18914
  echo "$as_me: failed program was:" >&5
16658
18915
sed 's/^/| /' conftest.$ac_ext >&5
16659
18916
 
16660
 
ac_hi=`expr '(' $ac_mid ')' - 1`
16661
 
                       if test $ac_mid -le $ac_hi; then
16662
 
                         ac_lo= ac_hi=
16663
 
                         break
16664
 
                       fi
16665
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
18917
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
18918
                        if test $ac_mid -le $ac_hi; then
 
18919
                          ac_lo= ac_hi=
 
18920
                          break
 
18921
                        fi
 
18922
                        ac_mid=`expr 2 '*' $ac_mid`
16666
18923
fi
16667
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18924
 
 
18925
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16668
18926
  done
16669
18927
else
16670
18928
  echo "$as_me: failed program was:" >&5
16671
18929
sed 's/^/| /' conftest.$ac_ext >&5
16672
18930
 
16673
 
ac_lo= ac_hi=
16674
 
fi
16675
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16676
 
fi
16677
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
18931
        ac_lo= ac_hi=
 
18932
fi
 
18933
 
 
18934
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18935
fi
 
18936
 
 
18937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16678
18938
# Binary search between lo and hi bounds.
16679
18939
while test "x$ac_lo" != "x$ac_hi"; do
16680
18940
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16685
18945
cat >>conftest.$ac_ext <<_ACEOF
16686
18946
/* end confdefs.h.  */
16687
18947
$ac_includes_default
 
18948
                typedef unsigned int ac__type_sizeof_;
 
18949
 
16688
18950
int
16689
18951
main ()
16690
18952
{
16691
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
18953
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16692
18954
test_array [0] = 0
16693
18955
 
16694
18956
  ;
16696
18958
}
16697
18959
_ACEOF
16698
18960
rm -f conftest.$ac_objext
16699
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700
 
  (eval $ac_compile) 2>conftest.er1
 
18961
if { (ac_try="$ac_compile"
 
18962
case "(($ac_try" in
 
18963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18964
  *) ac_try_echo=$ac_try;;
 
18965
esac
 
18966
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18967
  (eval "$ac_compile") 2>conftest.er1
16701
18968
  ac_status=$?
16702
18969
  grep -v '^ *+' conftest.er1 >conftest.err
16703
18970
  rm -f conftest.er1
16704
18971
  cat conftest.err >&5
16705
18972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706
18973
  (exit $ac_status); } &&
16707
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709
 
  (eval $ac_try) 2>&5
 
18974
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
18975
  { (case "(($ac_try" in
 
18976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18977
  *) ac_try_echo=$ac_try;;
 
18978
esac
 
18979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18980
  (eval "$ac_try") 2>&5
16710
18981
  ac_status=$?
16711
18982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712
18983
  (exit $ac_status); }; } &&
16713
18984
         { ac_try='test -s conftest.$ac_objext'
16714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715
 
  (eval $ac_try) 2>&5
 
18985
  { (case "(($ac_try" in
 
18986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18987
  *) ac_try_echo=$ac_try;;
 
18988
esac
 
18989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18990
  (eval "$ac_try") 2>&5
16716
18991
  ac_status=$?
16717
18992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718
18993
  (exit $ac_status); }; }; then
16721
18996
  echo "$as_me: failed program was:" >&5
16722
18997
sed 's/^/| /' conftest.$ac_ext >&5
16723
18998
 
16724
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
18999
        ac_lo=`expr '(' $ac_mid ')' + 1`
16725
19000
fi
16726
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19001
 
 
19002
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727
19003
done
16728
19004
case $ac_lo in
16729
19005
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
16730
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
19006
'') if test "$ac_cv_type_unsigned_int" = yes; then
 
19007
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
16731
19008
See \`config.log' for more details." >&5
16732
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
19009
echo "$as_me: error: cannot compute sizeof (unsigned int)
16733
19010
See \`config.log' for more details." >&2;}
16734
 
   { (exit 1); exit 1; }; } ;;
 
19011
   { (exit 77); exit 77; }; }
 
19012
               else
 
19013
                 ac_cv_sizeof_unsigned_int=0
 
19014
               fi ;;
16735
19015
esac
16736
19016
else
16737
 
  if test "$cross_compiling" = yes; then
16738
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16739
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16740
 
   { (exit 1); exit 1; }; }
16741
 
else
16742
19017
  cat >conftest.$ac_ext <<_ACEOF
16743
19018
/* confdefs.h.  */
16744
19019
_ACEOF
16746
19021
cat >>conftest.$ac_ext <<_ACEOF
16747
19022
/* end confdefs.h.  */
16748
19023
$ac_includes_default
16749
 
long longval () { return (long) (sizeof (unsigned int)); }
16750
 
unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 
19024
                typedef unsigned int ac__type_sizeof_;
 
19025
 
 
19026
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
19027
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16751
19028
#include <stdio.h>
16752
19029
#include <stdlib.h>
16753
19030
int
16756
19033
 
16757
19034
  FILE *f = fopen ("conftest.val", "w");
16758
19035
  if (! f)
16759
 
    exit (1);
16760
 
  if (((long) (sizeof (unsigned int))) < 0)
 
19036
    return 1;
 
19037
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16761
19038
    {
16762
 
      long i = longval ();
16763
 
      if (i != ((long) (sizeof (unsigned int))))
16764
 
        exit (1);
 
19039
      long int i = longval ();
 
19040
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
19041
        return 1;
16765
19042
      fprintf (f, "%ld\n", i);
16766
19043
    }
16767
19044
  else
16768
19045
    {
16769
 
      unsigned long i = ulongval ();
16770
 
      if (i != ((long) (sizeof (unsigned int))))
16771
 
        exit (1);
 
19046
      unsigned long int i = ulongval ();
 
19047
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
19048
        return 1;
16772
19049
      fprintf (f, "%lu\n", i);
16773
19050
    }
16774
 
  exit (ferror (f) || fclose (f) != 0);
 
19051
  return ferror (f) || fclose (f) != 0;
16775
19052
 
16776
19053
  ;
16777
19054
  return 0;
16778
19055
}
16779
19056
_ACEOF
16780
19057
rm -f conftest$ac_exeext
16781
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16782
 
  (eval $ac_link) 2>&5
 
19058
if { (ac_try="$ac_link"
 
19059
case "(($ac_try" in
 
19060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19061
  *) ac_try_echo=$ac_try;;
 
19062
esac
 
19063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19064
  (eval "$ac_link") 2>&5
16783
19065
  ac_status=$?
16784
19066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785
19067
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787
 
  (eval $ac_try) 2>&5
 
19068
  { (case "(($ac_try" in
 
19069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19070
  *) ac_try_echo=$ac_try;;
 
19071
esac
 
19072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19073
  (eval "$ac_try") 2>&5
16788
19074
  ac_status=$?
16789
19075
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790
19076
  (exit $ac_status); }; }; then
16795
19081
sed 's/^/| /' conftest.$ac_ext >&5
16796
19082
 
16797
19083
( exit $ac_status )
16798
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
19084
if test "$ac_cv_type_unsigned_int" = yes; then
 
19085
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
16799
19086
See \`config.log' for more details." >&5
16800
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
19087
echo "$as_me: error: cannot compute sizeof (unsigned int)
16801
19088
See \`config.log' for more details." >&2;}
16802
 
   { (exit 1); exit 1; }; }
16803
 
fi
16804
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16805
 
fi
 
19089
   { (exit 77); exit 77; }; }
 
19090
               else
 
19091
                 ac_cv_sizeof_unsigned_int=0
 
19092
               fi
 
19093
fi
 
19094
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16806
19095
fi
16807
19096
rm -f conftest.val
16808
 
else
16809
 
  ac_cv_sizeof_unsigned_int=0
16810
 
fi
16811
 
fi
16812
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
16813
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 
19097
fi
 
19098
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 
19099
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
 
19100
 
 
19101
 
 
19102
 
16814
19103
cat >>confdefs.h <<_ACEOF
16815
19104
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
16816
19105
_ACEOF
16817
19106
 
16818
19107
 
16819
 
echo "$as_me:$LINENO: checking for unsigned long" >&5
16820
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
19108
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
 
19109
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
16821
19110
if test "${ac_cv_type_unsigned_long+set}" = set; then
16822
19111
  echo $ECHO_N "(cached) $ECHO_C" >&6
16823
19112
else
16828
19117
cat >>conftest.$ac_ext <<_ACEOF
16829
19118
/* end confdefs.h.  */
16830
19119
$ac_includes_default
 
19120
typedef unsigned long ac__type_new_;
16831
19121
int
16832
19122
main ()
16833
19123
{
16834
 
if ((unsigned long *) 0)
 
19124
if ((ac__type_new_ *) 0)
16835
19125
  return 0;
16836
 
if (sizeof (unsigned long))
 
19126
if (sizeof (ac__type_new_))
16837
19127
  return 0;
16838
19128
  ;
16839
19129
  return 0;
16840
19130
}
16841
19131
_ACEOF
16842
19132
rm -f conftest.$ac_objext
16843
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16844
 
  (eval $ac_compile) 2>conftest.er1
 
19133
if { (ac_try="$ac_compile"
 
19134
case "(($ac_try" in
 
19135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19136
  *) ac_try_echo=$ac_try;;
 
19137
esac
 
19138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19139
  (eval "$ac_compile") 2>conftest.er1
16845
19140
  ac_status=$?
16846
19141
  grep -v '^ *+' conftest.er1 >conftest.err
16847
19142
  rm -f conftest.er1
16848
19143
  cat conftest.err >&5
16849
19144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850
19145
  (exit $ac_status); } &&
16851
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853
 
  (eval $ac_try) 2>&5
 
19146
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19147
  { (case "(($ac_try" in
 
19148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19149
  *) ac_try_echo=$ac_try;;
 
19150
esac
 
19151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19152
  (eval "$ac_try") 2>&5
16854
19153
  ac_status=$?
16855
19154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856
19155
  (exit $ac_status); }; } &&
16857
19156
         { ac_try='test -s conftest.$ac_objext'
16858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859
 
  (eval $ac_try) 2>&5
 
19157
  { (case "(($ac_try" in
 
19158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19159
  *) ac_try_echo=$ac_try;;
 
19160
esac
 
19161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19162
  (eval "$ac_try") 2>&5
16860
19163
  ac_status=$?
16861
19164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862
19165
  (exit $ac_status); }; }; then
16865
19168
  echo "$as_me: failed program was:" >&5
16866
19169
sed 's/^/| /' conftest.$ac_ext >&5
16867
19170
 
16868
 
ac_cv_type_unsigned_long=no
16869
 
fi
16870
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16871
 
fi
16872
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
16873
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
16874
 
 
16875
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
16876
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
19171
        ac_cv_type_unsigned_long=no
 
19172
fi
 
19173
 
 
19174
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19175
fi
 
19176
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
19177
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
19178
 
 
19179
# The cast to long int works around a bug in the HP C Compiler
 
19180
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
19181
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
19182
# This bug is HP SR number 8606223364.
 
19183
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
19184
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
16877
19185
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
16878
19186
  echo $ECHO_N "(cached) $ECHO_C" >&6
16879
19187
else
16880
 
  if test "$ac_cv_type_unsigned_long" = yes; then
16881
 
  # The cast to unsigned long works around a bug in the HP C Compiler
16882
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16883
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16884
 
  # This bug is HP SR number 8606223364.
16885
19188
  if test "$cross_compiling" = yes; then
16886
19189
  # Depending upon the size, compute the lo and hi bounds.
16887
19190
cat >conftest.$ac_ext <<_ACEOF
16891
19194
cat >>conftest.$ac_ext <<_ACEOF
16892
19195
/* end confdefs.h.  */
16893
19196
$ac_includes_default
 
19197
                typedef unsigned long ac__type_sizeof_;
 
19198
 
16894
19199
int
16895
19200
main ()
16896
19201
{
16897
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
 
19202
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16898
19203
test_array [0] = 0
16899
19204
 
16900
19205
  ;
16902
19207
}
16903
19208
_ACEOF
16904
19209
rm -f conftest.$ac_objext
16905
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906
 
  (eval $ac_compile) 2>conftest.er1
 
19210
if { (ac_try="$ac_compile"
 
19211
case "(($ac_try" in
 
19212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19213
  *) ac_try_echo=$ac_try;;
 
19214
esac
 
19215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19216
  (eval "$ac_compile") 2>conftest.er1
16907
19217
  ac_status=$?
16908
19218
  grep -v '^ *+' conftest.er1 >conftest.err
16909
19219
  rm -f conftest.er1
16910
19220
  cat conftest.err >&5
16911
19221
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912
19222
  (exit $ac_status); } &&
16913
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16914
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915
 
  (eval $ac_try) 2>&5
 
19223
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19224
  { (case "(($ac_try" in
 
19225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19226
  *) ac_try_echo=$ac_try;;
 
19227
esac
 
19228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19229
  (eval "$ac_try") 2>&5
16916
19230
  ac_status=$?
16917
19231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918
19232
  (exit $ac_status); }; } &&
16919
19233
         { ac_try='test -s conftest.$ac_objext'
16920
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921
 
  (eval $ac_try) 2>&5
 
19234
  { (case "(($ac_try" in
 
19235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19236
  *) ac_try_echo=$ac_try;;
 
19237
esac
 
19238
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19239
  (eval "$ac_try") 2>&5
16922
19240
  ac_status=$?
16923
19241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924
19242
  (exit $ac_status); }; }; then
16931
19249
cat >>conftest.$ac_ext <<_ACEOF
16932
19250
/* end confdefs.h.  */
16933
19251
$ac_includes_default
 
19252
                typedef unsigned long ac__type_sizeof_;
 
19253
 
16934
19254
int
16935
19255
main ()
16936
19256
{
16937
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
19257
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16938
19258
test_array [0] = 0
16939
19259
 
16940
19260
  ;
16942
19262
}
16943
19263
_ACEOF
16944
19264
rm -f conftest.$ac_objext
16945
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16946
 
  (eval $ac_compile) 2>conftest.er1
 
19265
if { (ac_try="$ac_compile"
 
19266
case "(($ac_try" in
 
19267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19268
  *) ac_try_echo=$ac_try;;
 
19269
esac
 
19270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19271
  (eval "$ac_compile") 2>conftest.er1
16947
19272
  ac_status=$?
16948
19273
  grep -v '^ *+' conftest.er1 >conftest.err
16949
19274
  rm -f conftest.er1
16950
19275
  cat conftest.err >&5
16951
19276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952
19277
  (exit $ac_status); } &&
16953
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955
 
  (eval $ac_try) 2>&5
 
19278
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19279
  { (case "(($ac_try" in
 
19280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19281
  *) ac_try_echo=$ac_try;;
 
19282
esac
 
19283
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19284
  (eval "$ac_try") 2>&5
16956
19285
  ac_status=$?
16957
19286
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958
19287
  (exit $ac_status); }; } &&
16959
19288
         { ac_try='test -s conftest.$ac_objext'
16960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961
 
  (eval $ac_try) 2>&5
 
19289
  { (case "(($ac_try" in
 
19290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19291
  *) ac_try_echo=$ac_try;;
 
19292
esac
 
19293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19294
  (eval "$ac_try") 2>&5
16962
19295
  ac_status=$?
16963
19296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964
19297
  (exit $ac_status); }; }; then
16967
19300
  echo "$as_me: failed program was:" >&5
16968
19301
sed 's/^/| /' conftest.$ac_ext >&5
16969
19302
 
16970
 
ac_lo=`expr $ac_mid + 1`
16971
 
                    if test $ac_lo -le $ac_mid; then
16972
 
                      ac_lo= ac_hi=
16973
 
                      break
16974
 
                    fi
16975
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
19303
        ac_lo=`expr $ac_mid + 1`
 
19304
                        if test $ac_lo -le $ac_mid; then
 
19305
                          ac_lo= ac_hi=
 
19306
                          break
 
19307
                        fi
 
19308
                        ac_mid=`expr 2 '*' $ac_mid + 1`
16976
19309
fi
16977
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19310
 
 
19311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16978
19312
  done
16979
19313
else
16980
19314
  echo "$as_me: failed program was:" >&5
16981
19315
sed 's/^/| /' conftest.$ac_ext >&5
16982
19316
 
16983
 
cat >conftest.$ac_ext <<_ACEOF
 
19317
        cat >conftest.$ac_ext <<_ACEOF
16984
19318
/* confdefs.h.  */
16985
19319
_ACEOF
16986
19320
cat confdefs.h >>conftest.$ac_ext
16987
19321
cat >>conftest.$ac_ext <<_ACEOF
16988
19322
/* end confdefs.h.  */
16989
19323
$ac_includes_default
 
19324
                typedef unsigned long ac__type_sizeof_;
 
19325
 
16990
19326
int
16991
19327
main ()
16992
19328
{
16993
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
 
19329
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16994
19330
test_array [0] = 0
16995
19331
 
16996
19332
  ;
16998
19334
}
16999
19335
_ACEOF
17000
19336
rm -f conftest.$ac_objext
17001
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17002
 
  (eval $ac_compile) 2>conftest.er1
 
19337
if { (ac_try="$ac_compile"
 
19338
case "(($ac_try" in
 
19339
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19340
  *) ac_try_echo=$ac_try;;
 
19341
esac
 
19342
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19343
  (eval "$ac_compile") 2>conftest.er1
17003
19344
  ac_status=$?
17004
19345
  grep -v '^ *+' conftest.er1 >conftest.err
17005
19346
  rm -f conftest.er1
17006
19347
  cat conftest.err >&5
17007
19348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008
19349
  (exit $ac_status); } &&
17009
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011
 
  (eval $ac_try) 2>&5
 
19350
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19351
  { (case "(($ac_try" in
 
19352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19353
  *) ac_try_echo=$ac_try;;
 
19354
esac
 
19355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19356
  (eval "$ac_try") 2>&5
17012
19357
  ac_status=$?
17013
19358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014
19359
  (exit $ac_status); }; } &&
17015
19360
         { ac_try='test -s conftest.$ac_objext'
17016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017
 
  (eval $ac_try) 2>&5
 
19361
  { (case "(($ac_try" in
 
19362
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19363
  *) ac_try_echo=$ac_try;;
 
19364
esac
 
19365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19366
  (eval "$ac_try") 2>&5
17018
19367
  ac_status=$?
17019
19368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020
19369
  (exit $ac_status); }; }; then
17027
19376
cat >>conftest.$ac_ext <<_ACEOF
17028
19377
/* end confdefs.h.  */
17029
19378
$ac_includes_default
 
19379
                typedef unsigned long ac__type_sizeof_;
 
19380
 
17030
19381
int
17031
19382
main ()
17032
19383
{
17033
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
 
19384
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17034
19385
test_array [0] = 0
17035
19386
 
17036
19387
  ;
17038
19389
}
17039
19390
_ACEOF
17040
19391
rm -f conftest.$ac_objext
17041
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17042
 
  (eval $ac_compile) 2>conftest.er1
 
19392
if { (ac_try="$ac_compile"
 
19393
case "(($ac_try" in
 
19394
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19395
  *) ac_try_echo=$ac_try;;
 
19396
esac
 
19397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19398
  (eval "$ac_compile") 2>conftest.er1
17043
19399
  ac_status=$?
17044
19400
  grep -v '^ *+' conftest.er1 >conftest.err
17045
19401
  rm -f conftest.er1
17046
19402
  cat conftest.err >&5
17047
19403
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048
19404
  (exit $ac_status); } &&
17049
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051
 
  (eval $ac_try) 2>&5
 
19405
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19406
  { (case "(($ac_try" in
 
19407
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19408
  *) ac_try_echo=$ac_try;;
 
19409
esac
 
19410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19411
  (eval "$ac_try") 2>&5
17052
19412
  ac_status=$?
17053
19413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054
19414
  (exit $ac_status); }; } &&
17055
19415
         { ac_try='test -s conftest.$ac_objext'
17056
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057
 
  (eval $ac_try) 2>&5
 
19416
  { (case "(($ac_try" in
 
19417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19418
  *) ac_try_echo=$ac_try;;
 
19419
esac
 
19420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19421
  (eval "$ac_try") 2>&5
17058
19422
  ac_status=$?
17059
19423
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060
19424
  (exit $ac_status); }; }; then
17063
19427
  echo "$as_me: failed program was:" >&5
17064
19428
sed 's/^/| /' conftest.$ac_ext >&5
17065
19429
 
17066
 
ac_hi=`expr '(' $ac_mid ')' - 1`
17067
 
                       if test $ac_mid -le $ac_hi; then
17068
 
                         ac_lo= ac_hi=
17069
 
                         break
17070
 
                       fi
17071
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
19430
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
19431
                        if test $ac_mid -le $ac_hi; then
 
19432
                          ac_lo= ac_hi=
 
19433
                          break
 
19434
                        fi
 
19435
                        ac_mid=`expr 2 '*' $ac_mid`
17072
19436
fi
17073
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19437
 
 
19438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074
19439
  done
17075
19440
else
17076
19441
  echo "$as_me: failed program was:" >&5
17077
19442
sed 's/^/| /' conftest.$ac_ext >&5
17078
19443
 
17079
 
ac_lo= ac_hi=
17080
 
fi
17081
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17082
 
fi
17083
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19444
        ac_lo= ac_hi=
 
19445
fi
 
19446
 
 
19447
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19448
fi
 
19449
 
 
19450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084
19451
# Binary search between lo and hi bounds.
17085
19452
while test "x$ac_lo" != "x$ac_hi"; do
17086
19453
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17091
19458
cat >>conftest.$ac_ext <<_ACEOF
17092
19459
/* end confdefs.h.  */
17093
19460
$ac_includes_default
 
19461
                typedef unsigned long ac__type_sizeof_;
 
19462
 
17094
19463
int
17095
19464
main ()
17096
19465
{
17097
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
19466
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17098
19467
test_array [0] = 0
17099
19468
 
17100
19469
  ;
17102
19471
}
17103
19472
_ACEOF
17104
19473
rm -f conftest.$ac_objext
17105
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106
 
  (eval $ac_compile) 2>conftest.er1
 
19474
if { (ac_try="$ac_compile"
 
19475
case "(($ac_try" in
 
19476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19477
  *) ac_try_echo=$ac_try;;
 
19478
esac
 
19479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19480
  (eval "$ac_compile") 2>conftest.er1
17107
19481
  ac_status=$?
17108
19482
  grep -v '^ *+' conftest.er1 >conftest.err
17109
19483
  rm -f conftest.er1
17110
19484
  cat conftest.err >&5
17111
19485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112
19486
  (exit $ac_status); } &&
17113
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17114
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115
 
  (eval $ac_try) 2>&5
 
19487
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19488
  { (case "(($ac_try" in
 
19489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19490
  *) ac_try_echo=$ac_try;;
 
19491
esac
 
19492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19493
  (eval "$ac_try") 2>&5
17116
19494
  ac_status=$?
17117
19495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118
19496
  (exit $ac_status); }; } &&
17119
19497
         { ac_try='test -s conftest.$ac_objext'
17120
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121
 
  (eval $ac_try) 2>&5
 
19498
  { (case "(($ac_try" in
 
19499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19500
  *) ac_try_echo=$ac_try;;
 
19501
esac
 
19502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19503
  (eval "$ac_try") 2>&5
17122
19504
  ac_status=$?
17123
19505
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124
19506
  (exit $ac_status); }; }; then
17127
19509
  echo "$as_me: failed program was:" >&5
17128
19510
sed 's/^/| /' conftest.$ac_ext >&5
17129
19511
 
17130
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
19512
        ac_lo=`expr '(' $ac_mid ')' + 1`
17131
19513
fi
17132
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19514
 
 
19515
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133
19516
done
17134
19517
case $ac_lo in
17135
19518
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
17136
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
19519
'') if test "$ac_cv_type_unsigned_long" = yes; then
 
19520
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
17137
19521
See \`config.log' for more details." >&5
17138
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
19522
echo "$as_me: error: cannot compute sizeof (unsigned long)
17139
19523
See \`config.log' for more details." >&2;}
17140
 
   { (exit 1); exit 1; }; } ;;
 
19524
   { (exit 77); exit 77; }; }
 
19525
               else
 
19526
                 ac_cv_sizeof_unsigned_long=0
 
19527
               fi ;;
17141
19528
esac
17142
19529
else
17143
 
  if test "$cross_compiling" = yes; then
17144
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17145
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17146
 
   { (exit 1); exit 1; }; }
17147
 
else
17148
19530
  cat >conftest.$ac_ext <<_ACEOF
17149
19531
/* confdefs.h.  */
17150
19532
_ACEOF
17152
19534
cat >>conftest.$ac_ext <<_ACEOF
17153
19535
/* end confdefs.h.  */
17154
19536
$ac_includes_default
17155
 
long longval () { return (long) (sizeof (unsigned long)); }
17156
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
19537
                typedef unsigned long ac__type_sizeof_;
 
19538
 
 
19539
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
19540
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17157
19541
#include <stdio.h>
17158
19542
#include <stdlib.h>
17159
19543
int
17162
19546
 
17163
19547
  FILE *f = fopen ("conftest.val", "w");
17164
19548
  if (! f)
17165
 
    exit (1);
17166
 
  if (((long) (sizeof (unsigned long))) < 0)
 
19549
    return 1;
 
19550
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17167
19551
    {
17168
 
      long i = longval ();
17169
 
      if (i != ((long) (sizeof (unsigned long))))
17170
 
        exit (1);
 
19552
      long int i = longval ();
 
19553
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
19554
        return 1;
17171
19555
      fprintf (f, "%ld\n", i);
17172
19556
    }
17173
19557
  else
17174
19558
    {
17175
 
      unsigned long i = ulongval ();
17176
 
      if (i != ((long) (sizeof (unsigned long))))
17177
 
        exit (1);
 
19559
      unsigned long int i = ulongval ();
 
19560
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
19561
        return 1;
17178
19562
      fprintf (f, "%lu\n", i);
17179
19563
    }
17180
 
  exit (ferror (f) || fclose (f) != 0);
 
19564
  return ferror (f) || fclose (f) != 0;
17181
19565
 
17182
19566
  ;
17183
19567
  return 0;
17184
19568
}
17185
19569
_ACEOF
17186
19570
rm -f conftest$ac_exeext
17187
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17188
 
  (eval $ac_link) 2>&5
 
19571
if { (ac_try="$ac_link"
 
19572
case "(($ac_try" in
 
19573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19574
  *) ac_try_echo=$ac_try;;
 
19575
esac
 
19576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19577
  (eval "$ac_link") 2>&5
17189
19578
  ac_status=$?
17190
19579
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191
19580
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17192
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193
 
  (eval $ac_try) 2>&5
 
19581
  { (case "(($ac_try" in
 
19582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19583
  *) ac_try_echo=$ac_try;;
 
19584
esac
 
19585
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19586
  (eval "$ac_try") 2>&5
17194
19587
  ac_status=$?
17195
19588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196
19589
  (exit $ac_status); }; }; then
17201
19594
sed 's/^/| /' conftest.$ac_ext >&5
17202
19595
 
17203
19596
( exit $ac_status )
17204
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
19597
if test "$ac_cv_type_unsigned_long" = yes; then
 
19598
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
17205
19599
See \`config.log' for more details." >&5
17206
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
19600
echo "$as_me: error: cannot compute sizeof (unsigned long)
17207
19601
See \`config.log' for more details." >&2;}
17208
 
   { (exit 1); exit 1; }; }
17209
 
fi
17210
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17211
 
fi
 
19602
   { (exit 77); exit 77; }; }
 
19603
               else
 
19604
                 ac_cv_sizeof_unsigned_long=0
 
19605
               fi
 
19606
fi
 
19607
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17212
19608
fi
17213
19609
rm -f conftest.val
17214
 
else
17215
 
  ac_cv_sizeof_unsigned_long=0
17216
 
fi
17217
 
fi
17218
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
17219
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
19610
fi
 
19611
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
19612
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
 
19613
 
 
19614
 
 
19615
 
17220
19616
cat >>confdefs.h <<_ACEOF
17221
19617
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
17222
19618
_ACEOF
17223
19619
 
17224
19620
 
17225
 
echo "$as_me:$LINENO: checking for unsigned long long" >&5
17226
 
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
 
19621
{ echo "$as_me:$LINENO: checking for unsigned long long" >&5
 
19622
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
17227
19623
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
17228
19624
  echo $ECHO_N "(cached) $ECHO_C" >&6
17229
19625
else
17234
19630
cat >>conftest.$ac_ext <<_ACEOF
17235
19631
/* end confdefs.h.  */
17236
19632
$ac_includes_default
 
19633
typedef unsigned long long ac__type_new_;
17237
19634
int
17238
19635
main ()
17239
19636
{
17240
 
if ((unsigned long long *) 0)
 
19637
if ((ac__type_new_ *) 0)
17241
19638
  return 0;
17242
 
if (sizeof (unsigned long long))
 
19639
if (sizeof (ac__type_new_))
17243
19640
  return 0;
17244
19641
  ;
17245
19642
  return 0;
17246
19643
}
17247
19644
_ACEOF
17248
19645
rm -f conftest.$ac_objext
17249
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250
 
  (eval $ac_compile) 2>conftest.er1
 
19646
if { (ac_try="$ac_compile"
 
19647
case "(($ac_try" in
 
19648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19649
  *) ac_try_echo=$ac_try;;
 
19650
esac
 
19651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19652
  (eval "$ac_compile") 2>conftest.er1
17251
19653
  ac_status=$?
17252
19654
  grep -v '^ *+' conftest.er1 >conftest.err
17253
19655
  rm -f conftest.er1
17254
19656
  cat conftest.err >&5
17255
19657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256
19658
  (exit $ac_status); } &&
17257
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17258
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259
 
  (eval $ac_try) 2>&5
 
19659
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19660
  { (case "(($ac_try" in
 
19661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19662
  *) ac_try_echo=$ac_try;;
 
19663
esac
 
19664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19665
  (eval "$ac_try") 2>&5
17260
19666
  ac_status=$?
17261
19667
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262
19668
  (exit $ac_status); }; } &&
17263
19669
         { ac_try='test -s conftest.$ac_objext'
17264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265
 
  (eval $ac_try) 2>&5
 
19670
  { (case "(($ac_try" in
 
19671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19672
  *) ac_try_echo=$ac_try;;
 
19673
esac
 
19674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19675
  (eval "$ac_try") 2>&5
17266
19676
  ac_status=$?
17267
19677
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268
19678
  (exit $ac_status); }; }; then
17271
19681
  echo "$as_me: failed program was:" >&5
17272
19682
sed 's/^/| /' conftest.$ac_ext >&5
17273
19683
 
17274
 
ac_cv_type_unsigned_long_long=no
17275
 
fi
17276
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17277
 
fi
17278
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
17279
 
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
17280
 
 
17281
 
echo "$as_me:$LINENO: checking size of unsigned long long" >&5
17282
 
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
 
19684
        ac_cv_type_unsigned_long_long=no
 
19685
fi
 
19686
 
 
19687
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19688
fi
 
19689
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
 
19690
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
 
19691
 
 
19692
# The cast to long int works around a bug in the HP C Compiler
 
19693
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
19694
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
19695
# This bug is HP SR number 8606223364.
 
19696
{ echo "$as_me:$LINENO: checking size of unsigned long long" >&5
 
19697
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
17283
19698
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
17284
19699
  echo $ECHO_N "(cached) $ECHO_C" >&6
17285
19700
else
17286
 
  if test "$ac_cv_type_unsigned_long_long" = yes; then
17287
 
  # The cast to unsigned long works around a bug in the HP C Compiler
17288
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17289
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17290
 
  # This bug is HP SR number 8606223364.
17291
19701
  if test "$cross_compiling" = yes; then
17292
19702
  # Depending upon the size, compute the lo and hi bounds.
17293
19703
cat >conftest.$ac_ext <<_ACEOF
17297
19707
cat >>conftest.$ac_ext <<_ACEOF
17298
19708
/* end confdefs.h.  */
17299
19709
$ac_includes_default
 
19710
                typedef unsigned long long ac__type_sizeof_;
 
19711
 
17300
19712
int
17301
19713
main ()
17302
19714
{
17303
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)];
 
19715
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17304
19716
test_array [0] = 0
17305
19717
 
17306
19718
  ;
17308
19720
}
17309
19721
_ACEOF
17310
19722
rm -f conftest.$ac_objext
17311
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17312
 
  (eval $ac_compile) 2>conftest.er1
 
19723
if { (ac_try="$ac_compile"
 
19724
case "(($ac_try" in
 
19725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19726
  *) ac_try_echo=$ac_try;;
 
19727
esac
 
19728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19729
  (eval "$ac_compile") 2>conftest.er1
17313
19730
  ac_status=$?
17314
19731
  grep -v '^ *+' conftest.er1 >conftest.err
17315
19732
  rm -f conftest.er1
17316
19733
  cat conftest.err >&5
17317
19734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318
19735
  (exit $ac_status); } &&
17319
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17320
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321
 
  (eval $ac_try) 2>&5
 
19736
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19737
  { (case "(($ac_try" in
 
19738
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19739
  *) ac_try_echo=$ac_try;;
 
19740
esac
 
19741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19742
  (eval "$ac_try") 2>&5
17322
19743
  ac_status=$?
17323
19744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324
19745
  (exit $ac_status); }; } &&
17325
19746
         { ac_try='test -s conftest.$ac_objext'
17326
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327
 
  (eval $ac_try) 2>&5
 
19747
  { (case "(($ac_try" in
 
19748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19749
  *) ac_try_echo=$ac_try;;
 
19750
esac
 
19751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19752
  (eval "$ac_try") 2>&5
17328
19753
  ac_status=$?
17329
19754
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330
19755
  (exit $ac_status); }; }; then
17337
19762
cat >>conftest.$ac_ext <<_ACEOF
17338
19763
/* end confdefs.h.  */
17339
19764
$ac_includes_default
 
19765
                typedef unsigned long long ac__type_sizeof_;
 
19766
 
17340
19767
int
17341
19768
main ()
17342
19769
{
17343
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
 
19770
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17344
19771
test_array [0] = 0
17345
19772
 
17346
19773
  ;
17348
19775
}
17349
19776
_ACEOF
17350
19777
rm -f conftest.$ac_objext
17351
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17352
 
  (eval $ac_compile) 2>conftest.er1
 
19778
if { (ac_try="$ac_compile"
 
19779
case "(($ac_try" in
 
19780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19781
  *) ac_try_echo=$ac_try;;
 
19782
esac
 
19783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19784
  (eval "$ac_compile") 2>conftest.er1
17353
19785
  ac_status=$?
17354
19786
  grep -v '^ *+' conftest.er1 >conftest.err
17355
19787
  rm -f conftest.er1
17356
19788
  cat conftest.err >&5
17357
19789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358
19790
  (exit $ac_status); } &&
17359
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17360
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361
 
  (eval $ac_try) 2>&5
 
19791
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19792
  { (case "(($ac_try" in
 
19793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19794
  *) ac_try_echo=$ac_try;;
 
19795
esac
 
19796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19797
  (eval "$ac_try") 2>&5
17362
19798
  ac_status=$?
17363
19799
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364
19800
  (exit $ac_status); }; } &&
17365
19801
         { ac_try='test -s conftest.$ac_objext'
17366
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367
 
  (eval $ac_try) 2>&5
 
19802
  { (case "(($ac_try" in
 
19803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19804
  *) ac_try_echo=$ac_try;;
 
19805
esac
 
19806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19807
  (eval "$ac_try") 2>&5
17368
19808
  ac_status=$?
17369
19809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370
19810
  (exit $ac_status); }; }; then
17373
19813
  echo "$as_me: failed program was:" >&5
17374
19814
sed 's/^/| /' conftest.$ac_ext >&5
17375
19815
 
17376
 
ac_lo=`expr $ac_mid + 1`
17377
 
                    if test $ac_lo -le $ac_mid; then
17378
 
                      ac_lo= ac_hi=
17379
 
                      break
17380
 
                    fi
17381
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
19816
        ac_lo=`expr $ac_mid + 1`
 
19817
                        if test $ac_lo -le $ac_mid; then
 
19818
                          ac_lo= ac_hi=
 
19819
                          break
 
19820
                        fi
 
19821
                        ac_mid=`expr 2 '*' $ac_mid + 1`
17382
19822
fi
17383
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19823
 
 
19824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17384
19825
  done
17385
19826
else
17386
19827
  echo "$as_me: failed program was:" >&5
17387
19828
sed 's/^/| /' conftest.$ac_ext >&5
17388
19829
 
17389
 
cat >conftest.$ac_ext <<_ACEOF
 
19830
        cat >conftest.$ac_ext <<_ACEOF
17390
19831
/* confdefs.h.  */
17391
19832
_ACEOF
17392
19833
cat confdefs.h >>conftest.$ac_ext
17393
19834
cat >>conftest.$ac_ext <<_ACEOF
17394
19835
/* end confdefs.h.  */
17395
19836
$ac_includes_default
 
19837
                typedef unsigned long long ac__type_sizeof_;
 
19838
 
17396
19839
int
17397
19840
main ()
17398
19841
{
17399
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)];
 
19842
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17400
19843
test_array [0] = 0
17401
19844
 
17402
19845
  ;
17404
19847
}
17405
19848
_ACEOF
17406
19849
rm -f conftest.$ac_objext
17407
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17408
 
  (eval $ac_compile) 2>conftest.er1
 
19850
if { (ac_try="$ac_compile"
 
19851
case "(($ac_try" in
 
19852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19853
  *) ac_try_echo=$ac_try;;
 
19854
esac
 
19855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19856
  (eval "$ac_compile") 2>conftest.er1
17409
19857
  ac_status=$?
17410
19858
  grep -v '^ *+' conftest.er1 >conftest.err
17411
19859
  rm -f conftest.er1
17412
19860
  cat conftest.err >&5
17413
19861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414
19862
  (exit $ac_status); } &&
17415
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417
 
  (eval $ac_try) 2>&5
 
19863
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19864
  { (case "(($ac_try" in
 
19865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19866
  *) ac_try_echo=$ac_try;;
 
19867
esac
 
19868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19869
  (eval "$ac_try") 2>&5
17418
19870
  ac_status=$?
17419
19871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420
19872
  (exit $ac_status); }; } &&
17421
19873
         { ac_try='test -s conftest.$ac_objext'
17422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423
 
  (eval $ac_try) 2>&5
 
19874
  { (case "(($ac_try" in
 
19875
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19876
  *) ac_try_echo=$ac_try;;
 
19877
esac
 
19878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19879
  (eval "$ac_try") 2>&5
17424
19880
  ac_status=$?
17425
19881
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426
19882
  (exit $ac_status); }; }; then
17433
19889
cat >>conftest.$ac_ext <<_ACEOF
17434
19890
/* end confdefs.h.  */
17435
19891
$ac_includes_default
 
19892
                typedef unsigned long long ac__type_sizeof_;
 
19893
 
17436
19894
int
17437
19895
main ()
17438
19896
{
17439
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)];
 
19897
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17440
19898
test_array [0] = 0
17441
19899
 
17442
19900
  ;
17444
19902
}
17445
19903
_ACEOF
17446
19904
rm -f conftest.$ac_objext
17447
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17448
 
  (eval $ac_compile) 2>conftest.er1
 
19905
if { (ac_try="$ac_compile"
 
19906
case "(($ac_try" in
 
19907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19908
  *) ac_try_echo=$ac_try;;
 
19909
esac
 
19910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19911
  (eval "$ac_compile") 2>conftest.er1
17449
19912
  ac_status=$?
17450
19913
  grep -v '^ *+' conftest.er1 >conftest.err
17451
19914
  rm -f conftest.er1
17452
19915
  cat conftest.err >&5
17453
19916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454
19917
  (exit $ac_status); } &&
17455
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17456
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457
 
  (eval $ac_try) 2>&5
 
19918
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
19919
  { (case "(($ac_try" in
 
19920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19921
  *) ac_try_echo=$ac_try;;
 
19922
esac
 
19923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19924
  (eval "$ac_try") 2>&5
17458
19925
  ac_status=$?
17459
19926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460
19927
  (exit $ac_status); }; } &&
17461
19928
         { ac_try='test -s conftest.$ac_objext'
17462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463
 
  (eval $ac_try) 2>&5
 
19929
  { (case "(($ac_try" in
 
19930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19931
  *) ac_try_echo=$ac_try;;
 
19932
esac
 
19933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19934
  (eval "$ac_try") 2>&5
17464
19935
  ac_status=$?
17465
19936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466
19937
  (exit $ac_status); }; }; then
17469
19940
  echo "$as_me: failed program was:" >&5
17470
19941
sed 's/^/| /' conftest.$ac_ext >&5
17471
19942
 
17472
 
ac_hi=`expr '(' $ac_mid ')' - 1`
17473
 
                       if test $ac_mid -le $ac_hi; then
17474
 
                         ac_lo= ac_hi=
17475
 
                         break
17476
 
                       fi
17477
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
19943
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
19944
                        if test $ac_mid -le $ac_hi; then
 
19945
                          ac_lo= ac_hi=
 
19946
                          break
 
19947
                        fi
 
19948
                        ac_mid=`expr 2 '*' $ac_mid`
17478
19949
fi
17479
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19950
 
 
19951
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480
19952
  done
17481
19953
else
17482
19954
  echo "$as_me: failed program was:" >&5
17483
19955
sed 's/^/| /' conftest.$ac_ext >&5
17484
19956
 
17485
 
ac_lo= ac_hi=
17486
 
fi
17487
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17488
 
fi
17489
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19957
        ac_lo= ac_hi=
 
19958
fi
 
19959
 
 
19960
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19961
fi
 
19962
 
 
19963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17490
19964
# Binary search between lo and hi bounds.
17491
19965
while test "x$ac_lo" != "x$ac_hi"; do
17492
19966
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17497
19971
cat >>conftest.$ac_ext <<_ACEOF
17498
19972
/* end confdefs.h.  */
17499
19973
$ac_includes_default
 
19974
                typedef unsigned long long ac__type_sizeof_;
 
19975
 
17500
19976
int
17501
19977
main ()
17502
19978
{
17503
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
 
19979
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17504
19980
test_array [0] = 0
17505
19981
 
17506
19982
  ;
17508
19984
}
17509
19985
_ACEOF
17510
19986
rm -f conftest.$ac_objext
17511
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512
 
  (eval $ac_compile) 2>conftest.er1
 
19987
if { (ac_try="$ac_compile"
 
19988
case "(($ac_try" in
 
19989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19990
  *) ac_try_echo=$ac_try;;
 
19991
esac
 
19992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19993
  (eval "$ac_compile") 2>conftest.er1
17513
19994
  ac_status=$?
17514
19995
  grep -v '^ *+' conftest.er1 >conftest.err
17515
19996
  rm -f conftest.er1
17516
19997
  cat conftest.err >&5
17517
19998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518
19999
  (exit $ac_status); } &&
17519
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17520
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521
 
  (eval $ac_try) 2>&5
 
20000
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20001
  { (case "(($ac_try" in
 
20002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20003
  *) ac_try_echo=$ac_try;;
 
20004
esac
 
20005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20006
  (eval "$ac_try") 2>&5
17522
20007
  ac_status=$?
17523
20008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524
20009
  (exit $ac_status); }; } &&
17525
20010
         { ac_try='test -s conftest.$ac_objext'
17526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527
 
  (eval $ac_try) 2>&5
 
20011
  { (case "(($ac_try" in
 
20012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20013
  *) ac_try_echo=$ac_try;;
 
20014
esac
 
20015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20016
  (eval "$ac_try") 2>&5
17528
20017
  ac_status=$?
17529
20018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530
20019
  (exit $ac_status); }; }; then
17533
20022
  echo "$as_me: failed program was:" >&5
17534
20023
sed 's/^/| /' conftest.$ac_ext >&5
17535
20024
 
17536
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20025
        ac_lo=`expr '(' $ac_mid ')' + 1`
17537
20026
fi
17538
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20027
 
 
20028
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539
20029
done
17540
20030
case $ac_lo in
17541
20031
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
17542
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
 
20032
'') if test "$ac_cv_type_unsigned_long_long" = yes; then
 
20033
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
17543
20034
See \`config.log' for more details." >&5
17544
 
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
 
20035
echo "$as_me: error: cannot compute sizeof (unsigned long long)
17545
20036
See \`config.log' for more details." >&2;}
17546
 
   { (exit 1); exit 1; }; } ;;
 
20037
   { (exit 77); exit 77; }; }
 
20038
               else
 
20039
                 ac_cv_sizeof_unsigned_long_long=0
 
20040
               fi ;;
17547
20041
esac
17548
20042
else
17549
 
  if test "$cross_compiling" = yes; then
17550
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17551
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17552
 
   { (exit 1); exit 1; }; }
17553
 
else
17554
20043
  cat >conftest.$ac_ext <<_ACEOF
17555
20044
/* confdefs.h.  */
17556
20045
_ACEOF
17558
20047
cat >>conftest.$ac_ext <<_ACEOF
17559
20048
/* end confdefs.h.  */
17560
20049
$ac_includes_default
17561
 
long longval () { return (long) (sizeof (unsigned long long)); }
17562
 
unsigned long ulongval () { return (long) (sizeof (unsigned long long)); }
 
20050
                typedef unsigned long long ac__type_sizeof_;
 
20051
 
 
20052
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
20053
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17563
20054
#include <stdio.h>
17564
20055
#include <stdlib.h>
17565
20056
int
17568
20059
 
17569
20060
  FILE *f = fopen ("conftest.val", "w");
17570
20061
  if (! f)
17571
 
    exit (1);
17572
 
  if (((long) (sizeof (unsigned long long))) < 0)
 
20062
    return 1;
 
20063
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17573
20064
    {
17574
 
      long i = longval ();
17575
 
      if (i != ((long) (sizeof (unsigned long long))))
17576
 
        exit (1);
 
20065
      long int i = longval ();
 
20066
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20067
        return 1;
17577
20068
      fprintf (f, "%ld\n", i);
17578
20069
    }
17579
20070
  else
17580
20071
    {
17581
 
      unsigned long i = ulongval ();
17582
 
      if (i != ((long) (sizeof (unsigned long long))))
17583
 
        exit (1);
 
20072
      unsigned long int i = ulongval ();
 
20073
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20074
        return 1;
17584
20075
      fprintf (f, "%lu\n", i);
17585
20076
    }
17586
 
  exit (ferror (f) || fclose (f) != 0);
 
20077
  return ferror (f) || fclose (f) != 0;
17587
20078
 
17588
20079
  ;
17589
20080
  return 0;
17590
20081
}
17591
20082
_ACEOF
17592
20083
rm -f conftest$ac_exeext
17593
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17594
 
  (eval $ac_link) 2>&5
 
20084
if { (ac_try="$ac_link"
 
20085
case "(($ac_try" in
 
20086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20087
  *) ac_try_echo=$ac_try;;
 
20088
esac
 
20089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20090
  (eval "$ac_link") 2>&5
17595
20091
  ac_status=$?
17596
20092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597
20093
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599
 
  (eval $ac_try) 2>&5
 
20094
  { (case "(($ac_try" in
 
20095
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20096
  *) ac_try_echo=$ac_try;;
 
20097
esac
 
20098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20099
  (eval "$ac_try") 2>&5
17600
20100
  ac_status=$?
17601
20101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602
20102
  (exit $ac_status); }; }; then
17607
20107
sed 's/^/| /' conftest.$ac_ext >&5
17608
20108
 
17609
20109
( exit $ac_status )
17610
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
 
20110
if test "$ac_cv_type_unsigned_long_long" = yes; then
 
20111
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
17611
20112
See \`config.log' for more details." >&5
17612
 
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
 
20113
echo "$as_me: error: cannot compute sizeof (unsigned long long)
17613
20114
See \`config.log' for more details." >&2;}
17614
 
   { (exit 1); exit 1; }; }
17615
 
fi
17616
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17617
 
fi
 
20115
   { (exit 77); exit 77; }; }
 
20116
               else
 
20117
                 ac_cv_sizeof_unsigned_long_long=0
 
20118
               fi
 
20119
fi
 
20120
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17618
20121
fi
17619
20122
rm -f conftest.val
17620
 
else
17621
 
  ac_cv_sizeof_unsigned_long_long=0
17622
 
fi
17623
 
fi
17624
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
17625
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
 
20123
fi
 
20124
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
 
20125
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
 
20126
 
 
20127
 
 
20128
 
17626
20129
cat >>confdefs.h <<_ACEOF
17627
20130
#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
17628
20131
_ACEOF
17634
20137
for ac_header in inttypes.h
17635
20138
do
17636
20139
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17637
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
17638
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
17639
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17640
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20140
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20141
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20142
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20143
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17641
20144
  echo $ECHO_N "(cached) $ECHO_C" >&6
17642
20145
fi
17643
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17644
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20146
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20147
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20148
echo "${ECHO_T}$ac_res" >&6; }
17645
20149
else
17646
20150
  # Is the header compilable?
17647
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
17648
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20151
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20152
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17649
20153
cat >conftest.$ac_ext <<_ACEOF
17650
20154
/* confdefs.h.  */
17651
20155
_ACEOF
17656
20160
#include <$ac_header>
17657
20161
_ACEOF
17658
20162
rm -f conftest.$ac_objext
17659
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17660
 
  (eval $ac_compile) 2>conftest.er1
 
20163
if { (ac_try="$ac_compile"
 
20164
case "(($ac_try" in
 
20165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20166
  *) ac_try_echo=$ac_try;;
 
20167
esac
 
20168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20169
  (eval "$ac_compile") 2>conftest.er1
17661
20170
  ac_status=$?
17662
20171
  grep -v '^ *+' conftest.er1 >conftest.err
17663
20172
  rm -f conftest.er1
17664
20173
  cat conftest.err >&5
17665
20174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666
20175
  (exit $ac_status); } &&
17667
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669
 
  (eval $ac_try) 2>&5
 
20176
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20177
  { (case "(($ac_try" in
 
20178
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20179
  *) ac_try_echo=$ac_try;;
 
20180
esac
 
20181
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20182
  (eval "$ac_try") 2>&5
17670
20183
  ac_status=$?
17671
20184
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672
20185
  (exit $ac_status); }; } &&
17673
20186
         { ac_try='test -s conftest.$ac_objext'
17674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675
 
  (eval $ac_try) 2>&5
 
20187
  { (case "(($ac_try" in
 
20188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20189
  *) ac_try_echo=$ac_try;;
 
20190
esac
 
20191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20192
  (eval "$ac_try") 2>&5
17676
20193
  ac_status=$?
17677
20194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678
20195
  (exit $ac_status); }; }; then
17681
20198
  echo "$as_me: failed program was:" >&5
17682
20199
sed 's/^/| /' conftest.$ac_ext >&5
17683
20200
 
17684
 
ac_header_compiler=no
 
20201
        ac_header_compiler=no
17685
20202
fi
17686
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17687
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17688
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20203
 
 
20204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20205
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20206
echo "${ECHO_T}$ac_header_compiler" >&6; }
17689
20207
 
17690
20208
# Is the header present?
17691
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
17692
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20209
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20210
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17693
20211
cat >conftest.$ac_ext <<_ACEOF
17694
20212
/* confdefs.h.  */
17695
20213
_ACEOF
17698
20216
/* end confdefs.h.  */
17699
20217
#include <$ac_header>
17700
20218
_ACEOF
17701
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17702
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20219
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20220
case "(($ac_try" in
 
20221
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20222
  *) ac_try_echo=$ac_try;;
 
20223
esac
 
20224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20225
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17703
20226
  ac_status=$?
17704
20227
  grep -v '^ *+' conftest.er1 >conftest.err
17705
20228
  rm -f conftest.er1
17723
20246
 
17724
20247
  ac_header_preproc=no
17725
20248
fi
 
20249
 
17726
20250
rm -f conftest.err conftest.$ac_ext
17727
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17728
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20251
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20252
echo "${ECHO_T}$ac_header_preproc" >&6; }
17729
20253
 
17730
20254
# So?  What about this header?
17731
20255
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17749
20273
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17750
20274
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17751
20275
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17752
 
    (
17753
 
      cat <<\_ASBOX
 
20276
    ( cat <<\_ASBOX
17754
20277
## -------------------------------- ##
17755
20278
## Report this to bug-gnupg@gnu.org ##
17756
20279
## -------------------------------- ##
17757
20280
_ASBOX
17758
 
    ) |
17759
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20281
     ) | sed "s/^/$as_me: WARNING:     /" >&2
17760
20282
    ;;
17761
20283
esac
17762
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
17763
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17764
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
20284
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20285
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
20286
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17765
20287
  echo $ECHO_N "(cached) $ECHO_C" >&6
17766
20288
else
17767
20289
  eval "$as_ac_Header=\$ac_header_preproc"
17768
20290
fi
17769
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17770
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20291
ac_res=`eval echo '${'$as_ac_Header'}'`
 
20292
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20293
echo "${ECHO_T}$ac_res" >&6; }
17771
20294
 
17772
20295
fi
17773
20296
if test `eval echo '${'$as_ac_Header'}'` = yes; then
17779
20302
 
17780
20303
done
17781
20304
 
17782
 
echo "$as_me:$LINENO: checking for UINT64_C" >&5
17783
 
echo $ECHO_N "checking for UINT64_C... $ECHO_C" >&6
 
20305
{ echo "$as_me:$LINENO: checking for UINT64_C" >&5
 
20306
echo $ECHO_N "checking for UINT64_C... $ECHO_C" >&6; }
17784
20307
if test "${gnupg_cv_uint64_c_works+set}" = set; then
17785
20308
  echo $ECHO_N "(cached) $ECHO_C" >&6
17786
20309
else
17801
20324
}
17802
20325
_ACEOF
17803
20326
rm -f conftest.$ac_objext conftest$ac_exeext
17804
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17805
 
  (eval $ac_link) 2>conftest.er1
 
20327
if { (ac_try="$ac_link"
 
20328
case "(($ac_try" in
 
20329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20330
  *) ac_try_echo=$ac_try;;
 
20331
esac
 
20332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20333
  (eval "$ac_link") 2>conftest.er1
17806
20334
  ac_status=$?
17807
20335
  grep -v '^ *+' conftest.er1 >conftest.err
17808
20336
  rm -f conftest.er1
17809
20337
  cat conftest.err >&5
17810
20338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811
20339
  (exit $ac_status); } &&
17812
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814
 
  (eval $ac_try) 2>&5
 
20340
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20341
  { (case "(($ac_try" in
 
20342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20343
  *) ac_try_echo=$ac_try;;
 
20344
esac
 
20345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20346
  (eval "$ac_try") 2>&5
17815
20347
  ac_status=$?
17816
20348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817
20349
  (exit $ac_status); }; } &&
17818
20350
         { ac_try='test -s conftest$ac_exeext'
17819
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820
 
  (eval $ac_try) 2>&5
 
20351
  { (case "(($ac_try" in
 
20352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20353
  *) ac_try_echo=$ac_try;;
 
20354
esac
 
20355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20356
  (eval "$ac_try") 2>&5
17821
20357
  ac_status=$?
17822
20358
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823
20359
  (exit $ac_status); }; }; then
17826
20362
  echo "$as_me: failed program was:" >&5
17827
20363
sed 's/^/| /' conftest.$ac_ext >&5
17828
20364
 
17829
 
gnupg_cv_uint64_c_works=no
 
20365
        gnupg_cv_uint64_c_works=no
17830
20366
fi
17831
 
rm -f conftest.err conftest.$ac_objext \
 
20367
 
 
20368
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17832
20369
      conftest$ac_exeext conftest.$ac_ext
17833
20370
fi
17834
 
echo "$as_me:$LINENO: result: $gnupg_cv_uint64_c_works" >&5
17835
 
echo "${ECHO_T}$gnupg_cv_uint64_c_works" >&6
 
20371
{ echo "$as_me:$LINENO: result: $gnupg_cv_uint64_c_works" >&5
 
20372
echo "${ECHO_T}$gnupg_cv_uint64_c_works" >&6; }
17836
20373
 
17837
20374
if test "$gnupg_cv_uint64_c_works" = "yes" ; then
17838
 
   echo "$as_me:$LINENO: checking for uint64_t" >&5
17839
 
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
 
20375
   { echo "$as_me:$LINENO: checking for uint64_t" >&5
 
20376
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
17840
20377
if test "${ac_cv_type_uint64_t+set}" = set; then
17841
20378
  echo $ECHO_N "(cached) $ECHO_C" >&6
17842
20379
else
17847
20384
cat >>conftest.$ac_ext <<_ACEOF
17848
20385
/* end confdefs.h.  */
17849
20386
$ac_includes_default
 
20387
typedef uint64_t ac__type_new_;
17850
20388
int
17851
20389
main ()
17852
20390
{
17853
 
if ((uint64_t *) 0)
 
20391
if ((ac__type_new_ *) 0)
17854
20392
  return 0;
17855
 
if (sizeof (uint64_t))
 
20393
if (sizeof (ac__type_new_))
17856
20394
  return 0;
17857
20395
  ;
17858
20396
  return 0;
17859
20397
}
17860
20398
_ACEOF
17861
20399
rm -f conftest.$ac_objext
17862
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17863
 
  (eval $ac_compile) 2>conftest.er1
 
20400
if { (ac_try="$ac_compile"
 
20401
case "(($ac_try" in
 
20402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20403
  *) ac_try_echo=$ac_try;;
 
20404
esac
 
20405
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20406
  (eval "$ac_compile") 2>conftest.er1
17864
20407
  ac_status=$?
17865
20408
  grep -v '^ *+' conftest.er1 >conftest.err
17866
20409
  rm -f conftest.er1
17867
20410
  cat conftest.err >&5
17868
20411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869
20412
  (exit $ac_status); } &&
17870
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17871
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872
 
  (eval $ac_try) 2>&5
 
20413
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20414
  { (case "(($ac_try" in
 
20415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20416
  *) ac_try_echo=$ac_try;;
 
20417
esac
 
20418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20419
  (eval "$ac_try") 2>&5
17873
20420
  ac_status=$?
17874
20421
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875
20422
  (exit $ac_status); }; } &&
17876
20423
         { ac_try='test -s conftest.$ac_objext'
17877
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878
 
  (eval $ac_try) 2>&5
 
20424
  { (case "(($ac_try" in
 
20425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20426
  *) ac_try_echo=$ac_try;;
 
20427
esac
 
20428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20429
  (eval "$ac_try") 2>&5
17879
20430
  ac_status=$?
17880
20431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881
20432
  (exit $ac_status); }; }; then
17884
20435
  echo "$as_me: failed program was:" >&5
17885
20436
sed 's/^/| /' conftest.$ac_ext >&5
17886
20437
 
17887
 
ac_cv_type_uint64_t=no
17888
 
fi
17889
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17890
 
fi
17891
 
echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
17892
 
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
17893
 
 
17894
 
echo "$as_me:$LINENO: checking size of uint64_t" >&5
17895
 
echo $ECHO_N "checking size of uint64_t... $ECHO_C" >&6
 
20438
        ac_cv_type_uint64_t=no
 
20439
fi
 
20440
 
 
20441
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20442
fi
 
20443
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
 
20444
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
 
20445
 
 
20446
# The cast to long int works around a bug in the HP C Compiler
 
20447
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
20448
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
20449
# This bug is HP SR number 8606223364.
 
20450
{ echo "$as_me:$LINENO: checking size of uint64_t" >&5
 
20451
echo $ECHO_N "checking size of uint64_t... $ECHO_C" >&6; }
17896
20452
if test "${ac_cv_sizeof_uint64_t+set}" = set; then
17897
20453
  echo $ECHO_N "(cached) $ECHO_C" >&6
17898
20454
else
17899
 
  if test "$ac_cv_type_uint64_t" = yes; then
17900
 
  # The cast to unsigned long works around a bug in the HP C Compiler
17901
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17902
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17903
 
  # This bug is HP SR number 8606223364.
17904
20455
  if test "$cross_compiling" = yes; then
17905
20456
  # Depending upon the size, compute the lo and hi bounds.
17906
20457
cat >conftest.$ac_ext <<_ACEOF
17910
20461
cat >>conftest.$ac_ext <<_ACEOF
17911
20462
/* end confdefs.h.  */
17912
20463
$ac_includes_default
 
20464
                typedef uint64_t ac__type_sizeof_;
 
20465
 
17913
20466
int
17914
20467
main ()
17915
20468
{
17916
 
static int test_array [1 - 2 * !(((long) (sizeof (uint64_t))) >= 0)];
 
20469
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17917
20470
test_array [0] = 0
17918
20471
 
17919
20472
  ;
17921
20474
}
17922
20475
_ACEOF
17923
20476
rm -f conftest.$ac_objext
17924
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17925
 
  (eval $ac_compile) 2>conftest.er1
 
20477
if { (ac_try="$ac_compile"
 
20478
case "(($ac_try" in
 
20479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20480
  *) ac_try_echo=$ac_try;;
 
20481
esac
 
20482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20483
  (eval "$ac_compile") 2>conftest.er1
17926
20484
  ac_status=$?
17927
20485
  grep -v '^ *+' conftest.er1 >conftest.err
17928
20486
  rm -f conftest.er1
17929
20487
  cat conftest.err >&5
17930
20488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931
20489
  (exit $ac_status); } &&
17932
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17933
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934
 
  (eval $ac_try) 2>&5
 
20490
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20491
  { (case "(($ac_try" in
 
20492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20493
  *) ac_try_echo=$ac_try;;
 
20494
esac
 
20495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20496
  (eval "$ac_try") 2>&5
17935
20497
  ac_status=$?
17936
20498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937
20499
  (exit $ac_status); }; } &&
17938
20500
         { ac_try='test -s conftest.$ac_objext'
17939
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940
 
  (eval $ac_try) 2>&5
 
20501
  { (case "(($ac_try" in
 
20502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20503
  *) ac_try_echo=$ac_try;;
 
20504
esac
 
20505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20506
  (eval "$ac_try") 2>&5
17941
20507
  ac_status=$?
17942
20508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943
20509
  (exit $ac_status); }; }; then
17950
20516
cat >>conftest.$ac_ext <<_ACEOF
17951
20517
/* end confdefs.h.  */
17952
20518
$ac_includes_default
 
20519
                typedef uint64_t ac__type_sizeof_;
 
20520
 
17953
20521
int
17954
20522
main ()
17955
20523
{
17956
 
static int test_array [1 - 2 * !(((long) (sizeof (uint64_t))) <= $ac_mid)];
 
20524
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17957
20525
test_array [0] = 0
17958
20526
 
17959
20527
  ;
17961
20529
}
17962
20530
_ACEOF
17963
20531
rm -f conftest.$ac_objext
17964
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965
 
  (eval $ac_compile) 2>conftest.er1
 
20532
if { (ac_try="$ac_compile"
 
20533
case "(($ac_try" in
 
20534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20535
  *) ac_try_echo=$ac_try;;
 
20536
esac
 
20537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20538
  (eval "$ac_compile") 2>conftest.er1
17966
20539
  ac_status=$?
17967
20540
  grep -v '^ *+' conftest.er1 >conftest.err
17968
20541
  rm -f conftest.er1
17969
20542
  cat conftest.err >&5
17970
20543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971
20544
  (exit $ac_status); } &&
17972
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974
 
  (eval $ac_try) 2>&5
 
20545
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20546
  { (case "(($ac_try" in
 
20547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20548
  *) ac_try_echo=$ac_try;;
 
20549
esac
 
20550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20551
  (eval "$ac_try") 2>&5
17975
20552
  ac_status=$?
17976
20553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977
20554
  (exit $ac_status); }; } &&
17978
20555
         { ac_try='test -s conftest.$ac_objext'
17979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980
 
  (eval $ac_try) 2>&5
 
20556
  { (case "(($ac_try" in
 
20557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20558
  *) ac_try_echo=$ac_try;;
 
20559
esac
 
20560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20561
  (eval "$ac_try") 2>&5
17981
20562
  ac_status=$?
17982
20563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983
20564
  (exit $ac_status); }; }; then
17986
20567
  echo "$as_me: failed program was:" >&5
17987
20568
sed 's/^/| /' conftest.$ac_ext >&5
17988
20569
 
17989
 
ac_lo=`expr $ac_mid + 1`
17990
 
                    if test $ac_lo -le $ac_mid; then
17991
 
                      ac_lo= ac_hi=
17992
 
                      break
17993
 
                    fi
17994
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
20570
        ac_lo=`expr $ac_mid + 1`
 
20571
                        if test $ac_lo -le $ac_mid; then
 
20572
                          ac_lo= ac_hi=
 
20573
                          break
 
20574
                        fi
 
20575
                        ac_mid=`expr 2 '*' $ac_mid + 1`
17995
20576
fi
17996
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20577
 
 
20578
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17997
20579
  done
17998
20580
else
17999
20581
  echo "$as_me: failed program was:" >&5
18000
20582
sed 's/^/| /' conftest.$ac_ext >&5
18001
20583
 
18002
 
cat >conftest.$ac_ext <<_ACEOF
 
20584
        cat >conftest.$ac_ext <<_ACEOF
18003
20585
/* confdefs.h.  */
18004
20586
_ACEOF
18005
20587
cat confdefs.h >>conftest.$ac_ext
18006
20588
cat >>conftest.$ac_ext <<_ACEOF
18007
20589
/* end confdefs.h.  */
18008
20590
$ac_includes_default
 
20591
                typedef uint64_t ac__type_sizeof_;
 
20592
 
18009
20593
int
18010
20594
main ()
18011
20595
{
18012
 
static int test_array [1 - 2 * !(((long) (sizeof (uint64_t))) < 0)];
 
20596
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18013
20597
test_array [0] = 0
18014
20598
 
18015
20599
  ;
18017
20601
}
18018
20602
_ACEOF
18019
20603
rm -f conftest.$ac_objext
18020
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18021
 
  (eval $ac_compile) 2>conftest.er1
 
20604
if { (ac_try="$ac_compile"
 
20605
case "(($ac_try" in
 
20606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20607
  *) ac_try_echo=$ac_try;;
 
20608
esac
 
20609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20610
  (eval "$ac_compile") 2>conftest.er1
18022
20611
  ac_status=$?
18023
20612
  grep -v '^ *+' conftest.er1 >conftest.err
18024
20613
  rm -f conftest.er1
18025
20614
  cat conftest.err >&5
18026
20615
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027
20616
  (exit $ac_status); } &&
18028
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18029
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030
 
  (eval $ac_try) 2>&5
 
20617
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20618
  { (case "(($ac_try" in
 
20619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20620
  *) ac_try_echo=$ac_try;;
 
20621
esac
 
20622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20623
  (eval "$ac_try") 2>&5
18031
20624
  ac_status=$?
18032
20625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033
20626
  (exit $ac_status); }; } &&
18034
20627
         { ac_try='test -s conftest.$ac_objext'
18035
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036
 
  (eval $ac_try) 2>&5
 
20628
  { (case "(($ac_try" in
 
20629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20630
  *) ac_try_echo=$ac_try;;
 
20631
esac
 
20632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20633
  (eval "$ac_try") 2>&5
18037
20634
  ac_status=$?
18038
20635
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039
20636
  (exit $ac_status); }; }; then
18046
20643
cat >>conftest.$ac_ext <<_ACEOF
18047
20644
/* end confdefs.h.  */
18048
20645
$ac_includes_default
 
20646
                typedef uint64_t ac__type_sizeof_;
 
20647
 
18049
20648
int
18050
20649
main ()
18051
20650
{
18052
 
static int test_array [1 - 2 * !(((long) (sizeof (uint64_t))) >= $ac_mid)];
 
20651
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18053
20652
test_array [0] = 0
18054
20653
 
18055
20654
  ;
18057
20656
}
18058
20657
_ACEOF
18059
20658
rm -f conftest.$ac_objext
18060
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18061
 
  (eval $ac_compile) 2>conftest.er1
 
20659
if { (ac_try="$ac_compile"
 
20660
case "(($ac_try" in
 
20661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20662
  *) ac_try_echo=$ac_try;;
 
20663
esac
 
20664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20665
  (eval "$ac_compile") 2>conftest.er1
18062
20666
  ac_status=$?
18063
20667
  grep -v '^ *+' conftest.er1 >conftest.err
18064
20668
  rm -f conftest.er1
18065
20669
  cat conftest.err >&5
18066
20670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067
20671
  (exit $ac_status); } &&
18068
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18069
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070
 
  (eval $ac_try) 2>&5
 
20672
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20673
  { (case "(($ac_try" in
 
20674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20675
  *) ac_try_echo=$ac_try;;
 
20676
esac
 
20677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20678
  (eval "$ac_try") 2>&5
18071
20679
  ac_status=$?
18072
20680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073
20681
  (exit $ac_status); }; } &&
18074
20682
         { ac_try='test -s conftest.$ac_objext'
18075
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076
 
  (eval $ac_try) 2>&5
 
20683
  { (case "(($ac_try" in
 
20684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20685
  *) ac_try_echo=$ac_try;;
 
20686
esac
 
20687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20688
  (eval "$ac_try") 2>&5
18077
20689
  ac_status=$?
18078
20690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079
20691
  (exit $ac_status); }; }; then
18082
20694
  echo "$as_me: failed program was:" >&5
18083
20695
sed 's/^/| /' conftest.$ac_ext >&5
18084
20696
 
18085
 
ac_hi=`expr '(' $ac_mid ')' - 1`
18086
 
                       if test $ac_mid -le $ac_hi; then
18087
 
                         ac_lo= ac_hi=
18088
 
                         break
18089
 
                       fi
18090
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
20697
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
20698
                        if test $ac_mid -le $ac_hi; then
 
20699
                          ac_lo= ac_hi=
 
20700
                          break
 
20701
                        fi
 
20702
                        ac_mid=`expr 2 '*' $ac_mid`
18091
20703
fi
18092
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20704
 
 
20705
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18093
20706
  done
18094
20707
else
18095
20708
  echo "$as_me: failed program was:" >&5
18096
20709
sed 's/^/| /' conftest.$ac_ext >&5
18097
20710
 
18098
 
ac_lo= ac_hi=
18099
 
fi
18100
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18101
 
fi
18102
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20711
        ac_lo= ac_hi=
 
20712
fi
 
20713
 
 
20714
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20715
fi
 
20716
 
 
20717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103
20718
# Binary search between lo and hi bounds.
18104
20719
while test "x$ac_lo" != "x$ac_hi"; do
18105
20720
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18110
20725
cat >>conftest.$ac_ext <<_ACEOF
18111
20726
/* end confdefs.h.  */
18112
20727
$ac_includes_default
 
20728
                typedef uint64_t ac__type_sizeof_;
 
20729
 
18113
20730
int
18114
20731
main ()
18115
20732
{
18116
 
static int test_array [1 - 2 * !(((long) (sizeof (uint64_t))) <= $ac_mid)];
 
20733
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18117
20734
test_array [0] = 0
18118
20735
 
18119
20736
  ;
18121
20738
}
18122
20739
_ACEOF
18123
20740
rm -f conftest.$ac_objext
18124
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125
 
  (eval $ac_compile) 2>conftest.er1
 
20741
if { (ac_try="$ac_compile"
 
20742
case "(($ac_try" in
 
20743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20744
  *) ac_try_echo=$ac_try;;
 
20745
esac
 
20746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20747
  (eval "$ac_compile") 2>conftest.er1
18126
20748
  ac_status=$?
18127
20749
  grep -v '^ *+' conftest.er1 >conftest.err
18128
20750
  rm -f conftest.er1
18129
20751
  cat conftest.err >&5
18130
20752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131
20753
  (exit $ac_status); } &&
18132
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18133
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134
 
  (eval $ac_try) 2>&5
 
20754
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20755
  { (case "(($ac_try" in
 
20756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20757
  *) ac_try_echo=$ac_try;;
 
20758
esac
 
20759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20760
  (eval "$ac_try") 2>&5
18135
20761
  ac_status=$?
18136
20762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137
20763
  (exit $ac_status); }; } &&
18138
20764
         { ac_try='test -s conftest.$ac_objext'
18139
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140
 
  (eval $ac_try) 2>&5
 
20765
  { (case "(($ac_try" in
 
20766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20767
  *) ac_try_echo=$ac_try;;
 
20768
esac
 
20769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20770
  (eval "$ac_try") 2>&5
18141
20771
  ac_status=$?
18142
20772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143
20773
  (exit $ac_status); }; }; then
18146
20776
  echo "$as_me: failed program was:" >&5
18147
20777
sed 's/^/| /' conftest.$ac_ext >&5
18148
20778
 
18149
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
20779
        ac_lo=`expr '(' $ac_mid ')' + 1`
18150
20780
fi
18151
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
20781
 
 
20782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152
20783
done
18153
20784
case $ac_lo in
18154
20785
?*) ac_cv_sizeof_uint64_t=$ac_lo;;
18155
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (uint64_t), 77
 
20786
'') if test "$ac_cv_type_uint64_t" = yes; then
 
20787
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (uint64_t)
18156
20788
See \`config.log' for more details." >&5
18157
 
echo "$as_me: error: cannot compute sizeof (uint64_t), 77
 
20789
echo "$as_me: error: cannot compute sizeof (uint64_t)
18158
20790
See \`config.log' for more details." >&2;}
18159
 
   { (exit 1); exit 1; }; } ;;
 
20791
   { (exit 77); exit 77; }; }
 
20792
               else
 
20793
                 ac_cv_sizeof_uint64_t=0
 
20794
               fi ;;
18160
20795
esac
18161
20796
else
18162
 
  if test "$cross_compiling" = yes; then
18163
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18164
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18165
 
   { (exit 1); exit 1; }; }
18166
 
else
18167
20797
  cat >conftest.$ac_ext <<_ACEOF
18168
20798
/* confdefs.h.  */
18169
20799
_ACEOF
18171
20801
cat >>conftest.$ac_ext <<_ACEOF
18172
20802
/* end confdefs.h.  */
18173
20803
$ac_includes_default
18174
 
long longval () { return (long) (sizeof (uint64_t)); }
18175
 
unsigned long ulongval () { return (long) (sizeof (uint64_t)); }
 
20804
                typedef uint64_t ac__type_sizeof_;
 
20805
 
 
20806
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
20807
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18176
20808
#include <stdio.h>
18177
20809
#include <stdlib.h>
18178
20810
int
18181
20813
 
18182
20814
  FILE *f = fopen ("conftest.val", "w");
18183
20815
  if (! f)
18184
 
    exit (1);
18185
 
  if (((long) (sizeof (uint64_t))) < 0)
 
20816
    return 1;
 
20817
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18186
20818
    {
18187
 
      long i = longval ();
18188
 
      if (i != ((long) (sizeof (uint64_t))))
18189
 
        exit (1);
 
20819
      long int i = longval ();
 
20820
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20821
        return 1;
18190
20822
      fprintf (f, "%ld\n", i);
18191
20823
    }
18192
20824
  else
18193
20825
    {
18194
 
      unsigned long i = ulongval ();
18195
 
      if (i != ((long) (sizeof (uint64_t))))
18196
 
        exit (1);
 
20826
      unsigned long int i = ulongval ();
 
20827
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
20828
        return 1;
18197
20829
      fprintf (f, "%lu\n", i);
18198
20830
    }
18199
 
  exit (ferror (f) || fclose (f) != 0);
 
20831
  return ferror (f) || fclose (f) != 0;
18200
20832
 
18201
20833
  ;
18202
20834
  return 0;
18203
20835
}
18204
20836
_ACEOF
18205
20837
rm -f conftest$ac_exeext
18206
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18207
 
  (eval $ac_link) 2>&5
 
20838
if { (ac_try="$ac_link"
 
20839
case "(($ac_try" in
 
20840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20841
  *) ac_try_echo=$ac_try;;
 
20842
esac
 
20843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20844
  (eval "$ac_link") 2>&5
18208
20845
  ac_status=$?
18209
20846
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210
20847
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18211
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212
 
  (eval $ac_try) 2>&5
 
20848
  { (case "(($ac_try" in
 
20849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20850
  *) ac_try_echo=$ac_try;;
 
20851
esac
 
20852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20853
  (eval "$ac_try") 2>&5
18213
20854
  ac_status=$?
18214
20855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215
20856
  (exit $ac_status); }; }; then
18220
20861
sed 's/^/| /' conftest.$ac_ext >&5
18221
20862
 
18222
20863
( exit $ac_status )
18223
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (uint64_t), 77
 
20864
if test "$ac_cv_type_uint64_t" = yes; then
 
20865
                 { { echo "$as_me:$LINENO: error: cannot compute sizeof (uint64_t)
18224
20866
See \`config.log' for more details." >&5
18225
 
echo "$as_me: error: cannot compute sizeof (uint64_t), 77
 
20867
echo "$as_me: error: cannot compute sizeof (uint64_t)
18226
20868
See \`config.log' for more details." >&2;}
18227
 
   { (exit 1); exit 1; }; }
18228
 
fi
18229
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18230
 
fi
 
20869
   { (exit 77); exit 77; }; }
 
20870
               else
 
20871
                 ac_cv_sizeof_uint64_t=0
 
20872
               fi
 
20873
fi
 
20874
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18231
20875
fi
18232
20876
rm -f conftest.val
18233
 
else
18234
 
  ac_cv_sizeof_uint64_t=0
18235
 
fi
18236
 
fi
18237
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint64_t" >&5
18238
 
echo "${ECHO_T}$ac_cv_sizeof_uint64_t" >&6
 
20877
fi
 
20878
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint64_t" >&5
 
20879
echo "${ECHO_T}$ac_cv_sizeof_uint64_t" >&6; }
 
20880
 
 
20881
 
 
20882
 
18239
20883
cat >>confdefs.h <<_ACEOF
18240
20884
#define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
18241
20885
_ACEOF
18279
20923
fi
18280
20924
 
18281
20925
 
18282
 
echo "$as_me:$LINENO: checking whether getpagesize is declared" >&5
18283
 
echo $ECHO_N "checking whether getpagesize is declared... $ECHO_C" >&6
 
20926
{ echo "$as_me:$LINENO: checking whether getpagesize is declared" >&5
 
20927
echo $ECHO_N "checking whether getpagesize is declared... $ECHO_C" >&6; }
18284
20928
if test "${ac_cv_have_decl_getpagesize+set}" = set; then
18285
20929
  echo $ECHO_N "(cached) $ECHO_C" >&6
18286
20930
else
18296
20940
{
18297
20941
#ifndef getpagesize
18298
20942
  char *p = (char *) getpagesize;
 
20943
  return !p;
18299
20944
#endif
18300
20945
 
18301
20946
  ;
18303
20948
}
18304
20949
_ACEOF
18305
20950
rm -f conftest.$ac_objext
18306
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307
 
  (eval $ac_compile) 2>conftest.er1
 
20951
if { (ac_try="$ac_compile"
 
20952
case "(($ac_try" in
 
20953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20954
  *) ac_try_echo=$ac_try;;
 
20955
esac
 
20956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20957
  (eval "$ac_compile") 2>conftest.er1
18308
20958
  ac_status=$?
18309
20959
  grep -v '^ *+' conftest.er1 >conftest.err
18310
20960
  rm -f conftest.er1
18311
20961
  cat conftest.err >&5
18312
20962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313
20963
  (exit $ac_status); } &&
18314
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18315
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316
 
  (eval $ac_try) 2>&5
 
20964
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
20965
  { (case "(($ac_try" in
 
20966
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20967
  *) ac_try_echo=$ac_try;;
 
20968
esac
 
20969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20970
  (eval "$ac_try") 2>&5
18317
20971
  ac_status=$?
18318
20972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319
20973
  (exit $ac_status); }; } &&
18320
20974
         { ac_try='test -s conftest.$ac_objext'
18321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322
 
  (eval $ac_try) 2>&5
 
20975
  { (case "(($ac_try" in
 
20976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20977
  *) ac_try_echo=$ac_try;;
 
20978
esac
 
20979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20980
  (eval "$ac_try") 2>&5
18323
20981
  ac_status=$?
18324
20982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325
20983
  (exit $ac_status); }; }; then
18328
20986
  echo "$as_me: failed program was:" >&5
18329
20987
sed 's/^/| /' conftest.$ac_ext >&5
18330
20988
 
18331
 
ac_cv_have_decl_getpagesize=no
18332
 
fi
18333
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18334
 
fi
18335
 
echo "$as_me:$LINENO: result: $ac_cv_have_decl_getpagesize" >&5
18336
 
echo "${ECHO_T}$ac_cv_have_decl_getpagesize" >&6
 
20989
        ac_cv_have_decl_getpagesize=no
 
20990
fi
 
20991
 
 
20992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20993
fi
 
20994
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getpagesize" >&5
 
20995
echo "${ECHO_T}$ac_cv_have_decl_getpagesize" >&6; }
18337
20996
if test $ac_cv_have_decl_getpagesize = yes; then
18338
20997
 
18339
20998
cat >>confdefs.h <<_ACEOF
18350
21009
fi
18351
21010
 
18352
21011
 
18353
 
echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18354
 
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
 
21012
{ echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
 
21013
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
18355
21014
if test "${ac_cv_sys_largefile_source+set}" = set; then
18356
21015
  echo $ECHO_N "(cached) $ECHO_C" >&6
18357
21016
else
18373
21032
}
18374
21033
_ACEOF
18375
21034
rm -f conftest.$ac_objext
18376
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18377
 
  (eval $ac_compile) 2>conftest.er1
 
21035
if { (ac_try="$ac_compile"
 
21036
case "(($ac_try" in
 
21037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21038
  *) ac_try_echo=$ac_try;;
 
21039
esac
 
21040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21041
  (eval "$ac_compile") 2>conftest.er1
18378
21042
  ac_status=$?
18379
21043
  grep -v '^ *+' conftest.er1 >conftest.err
18380
21044
  rm -f conftest.er1
18381
21045
  cat conftest.err >&5
18382
21046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383
21047
  (exit $ac_status); } &&
18384
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18385
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386
 
  (eval $ac_try) 2>&5
 
21048
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21049
  { (case "(($ac_try" in
 
21050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21051
  *) ac_try_echo=$ac_try;;
 
21052
esac
 
21053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21054
  (eval "$ac_try") 2>&5
18387
21055
  ac_status=$?
18388
21056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389
21057
  (exit $ac_status); }; } &&
18390
21058
         { ac_try='test -s conftest.$ac_objext'
18391
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392
 
  (eval $ac_try) 2>&5
 
21059
  { (case "(($ac_try" in
 
21060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21061
  *) ac_try_echo=$ac_try;;
 
21062
esac
 
21063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21064
  (eval "$ac_try") 2>&5
18393
21065
  ac_status=$?
18394
21066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395
21067
  (exit $ac_status); }; }; then
18398
21070
  echo "$as_me: failed program was:" >&5
18399
21071
sed 's/^/| /' conftest.$ac_ext >&5
18400
21072
 
 
21073
 
18401
21074
fi
18402
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21075
 
 
21076
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403
21077
  cat >conftest.$ac_ext <<_ACEOF
18404
21078
/* confdefs.h.  */
18405
21079
_ACEOF
18417
21091
}
18418
21092
_ACEOF
18419
21093
rm -f conftest.$ac_objext
18420
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18421
 
  (eval $ac_compile) 2>conftest.er1
 
21094
if { (ac_try="$ac_compile"
 
21095
case "(($ac_try" in
 
21096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21097
  *) ac_try_echo=$ac_try;;
 
21098
esac
 
21099
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21100
  (eval "$ac_compile") 2>conftest.er1
18422
21101
  ac_status=$?
18423
21102
  grep -v '^ *+' conftest.er1 >conftest.err
18424
21103
  rm -f conftest.er1
18425
21104
  cat conftest.err >&5
18426
21105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427
21106
  (exit $ac_status); } &&
18428
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18429
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430
 
  (eval $ac_try) 2>&5
 
21107
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21108
  { (case "(($ac_try" in
 
21109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21110
  *) ac_try_echo=$ac_try;;
 
21111
esac
 
21112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21113
  (eval "$ac_try") 2>&5
18431
21114
  ac_status=$?
18432
21115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433
21116
  (exit $ac_status); }; } &&
18434
21117
         { ac_try='test -s conftest.$ac_objext'
18435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436
 
  (eval $ac_try) 2>&5
 
21118
  { (case "(($ac_try" in
 
21119
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21120
  *) ac_try_echo=$ac_try;;
 
21121
esac
 
21122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21123
  (eval "$ac_try") 2>&5
18437
21124
  ac_status=$?
18438
21125
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439
21126
  (exit $ac_status); }; }; then
18442
21129
  echo "$as_me: failed program was:" >&5
18443
21130
sed 's/^/| /' conftest.$ac_ext >&5
18444
21131
 
 
21132
 
18445
21133
fi
18446
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21134
 
 
21135
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18447
21136
  break
18448
21137
done
18449
21138
fi
18450
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18451
 
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
 
21139
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
 
21140
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
18452
21141
if test "$ac_cv_sys_largefile_source" != no; then
18453
21142
 
18454
21143
cat >>confdefs.h <<_ACEOF
18461
21150
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18462
21151
# in glibc 2.1.3, but that breaks too many other things.
18463
21152
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18464
 
echo "$as_me:$LINENO: checking for fseeko" >&5
18465
 
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
 
21153
{ echo "$as_me:$LINENO: checking for fseeko" >&5
 
21154
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
18466
21155
if test "${ac_cv_func_fseeko+set}" = set; then
18467
21156
  echo $ECHO_N "(cached) $ECHO_C" >&6
18468
21157
else
18482
21171
}
18483
21172
_ACEOF
18484
21173
rm -f conftest.$ac_objext conftest$ac_exeext
18485
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18486
 
  (eval $ac_link) 2>conftest.er1
 
21174
if { (ac_try="$ac_link"
 
21175
case "(($ac_try" in
 
21176
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21177
  *) ac_try_echo=$ac_try;;
 
21178
esac
 
21179
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21180
  (eval "$ac_link") 2>conftest.er1
18487
21181
  ac_status=$?
18488
21182
  grep -v '^ *+' conftest.er1 >conftest.err
18489
21183
  rm -f conftest.er1
18490
21184
  cat conftest.err >&5
18491
21185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492
21186
  (exit $ac_status); } &&
18493
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18494
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495
 
  (eval $ac_try) 2>&5
 
21187
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21188
  { (case "(($ac_try" in
 
21189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21190
  *) ac_try_echo=$ac_try;;
 
21191
esac
 
21192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21193
  (eval "$ac_try") 2>&5
18496
21194
  ac_status=$?
18497
21195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498
21196
  (exit $ac_status); }; } &&
18499
21197
         { ac_try='test -s conftest$ac_exeext'
18500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501
 
  (eval $ac_try) 2>&5
 
21198
  { (case "(($ac_try" in
 
21199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21200
  *) ac_try_echo=$ac_try;;
 
21201
esac
 
21202
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21203
  (eval "$ac_try") 2>&5
18502
21204
  ac_status=$?
18503
21205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504
21206
  (exit $ac_status); }; }; then
18507
21209
  echo "$as_me: failed program was:" >&5
18508
21210
sed 's/^/| /' conftest.$ac_ext >&5
18509
21211
 
18510
 
ac_cv_func_fseeko=no
 
21212
        ac_cv_func_fseeko=no
18511
21213
fi
18512
 
rm -f conftest.err conftest.$ac_objext \
 
21214
 
 
21215
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18513
21216
      conftest$ac_exeext conftest.$ac_ext
18514
21217
fi
18515
 
echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18516
 
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
 
21218
{ echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
 
21219
echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
18517
21220
if test $ac_cv_func_fseeko = yes; then
18518
21221
 
18519
21222
cat >>confdefs.h <<\_ACEOF
18526
21229
for ac_func in vprintf
18527
21230
do
18528
21231
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18529
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
18530
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18531
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21232
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21233
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21234
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18532
21235
  echo $ECHO_N "(cached) $ECHO_C" >&6
18533
21236
else
18534
21237
  cat >conftest.$ac_ext <<_ACEOF
18554
21257
 
18555
21258
#undef $ac_func
18556
21259
 
18557
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21260
/* Override any GCC internal prototype to avoid an error.
 
21261
   Use char because int might match the return type of a GCC
 
21262
   builtin and then its argument prototype would still apply.  */
18558
21263
#ifdef __cplusplus
18559
21264
extern "C"
18560
 
{
18561
21265
#endif
18562
 
/* We use char because int might match the return type of a gcc2
18563
 
   builtin and then its argument prototype would still apply.  */
18564
21266
char $ac_func ();
18565
21267
/* The GNU C library defines this for functions which it implements
18566
21268
    to always fail with ENOSYS.  Some functions are actually named
18567
21269
    something starting with __ and the normal name is an alias.  */
18568
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21270
#if defined __stub_$ac_func || defined __stub___$ac_func
18569
21271
choke me
18570
 
#else
18571
 
char (*f) () = $ac_func;
18572
 
#endif
18573
 
#ifdef __cplusplus
18574
 
}
18575
21272
#endif
18576
21273
 
18577
21274
int
18578
21275
main ()
18579
21276
{
18580
 
return f != $ac_func;
 
21277
return $ac_func ();
18581
21278
  ;
18582
21279
  return 0;
18583
21280
}
18584
21281
_ACEOF
18585
21282
rm -f conftest.$ac_objext conftest$ac_exeext
18586
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18587
 
  (eval $ac_link) 2>conftest.er1
 
21283
if { (ac_try="$ac_link"
 
21284
case "(($ac_try" in
 
21285
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21286
  *) ac_try_echo=$ac_try;;
 
21287
esac
 
21288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21289
  (eval "$ac_link") 2>conftest.er1
18588
21290
  ac_status=$?
18589
21291
  grep -v '^ *+' conftest.er1 >conftest.err
18590
21292
  rm -f conftest.er1
18591
21293
  cat conftest.err >&5
18592
21294
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593
21295
  (exit $ac_status); } &&
18594
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596
 
  (eval $ac_try) 2>&5
 
21296
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21297
  { (case "(($ac_try" in
 
21298
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21299
  *) ac_try_echo=$ac_try;;
 
21300
esac
 
21301
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21302
  (eval "$ac_try") 2>&5
18597
21303
  ac_status=$?
18598
21304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599
21305
  (exit $ac_status); }; } &&
18600
21306
         { ac_try='test -s conftest$ac_exeext'
18601
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602
 
  (eval $ac_try) 2>&5
 
21307
  { (case "(($ac_try" in
 
21308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21309
  *) ac_try_echo=$ac_try;;
 
21310
esac
 
21311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21312
  (eval "$ac_try") 2>&5
18603
21313
  ac_status=$?
18604
21314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605
21315
  (exit $ac_status); }; }; then
18608
21318
  echo "$as_me: failed program was:" >&5
18609
21319
sed 's/^/| /' conftest.$ac_ext >&5
18610
21320
 
18611
 
eval "$as_ac_var=no"
 
21321
        eval "$as_ac_var=no"
18612
21322
fi
18613
 
rm -f conftest.err conftest.$ac_objext \
 
21323
 
 
21324
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18614
21325
      conftest$ac_exeext conftest.$ac_ext
18615
21326
fi
18616
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18617
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21327
ac_res=`eval echo '${'$as_ac_var'}'`
 
21328
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21329
echo "${ECHO_T}$ac_res" >&6; }
18618
21330
if test `eval echo '${'$as_ac_var'}'` = yes; then
18619
21331
  cat >>confdefs.h <<_ACEOF
18620
21332
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18621
21333
_ACEOF
18622
21334
 
18623
 
echo "$as_me:$LINENO: checking for _doprnt" >&5
18624
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
 
21335
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
 
21336
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
18625
21337
if test "${ac_cv_func__doprnt+set}" = set; then
18626
21338
  echo $ECHO_N "(cached) $ECHO_C" >&6
18627
21339
else
18648
21360
 
18649
21361
#undef _doprnt
18650
21362
 
18651
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21363
/* Override any GCC internal prototype to avoid an error.
 
21364
   Use char because int might match the return type of a GCC
 
21365
   builtin and then its argument prototype would still apply.  */
18652
21366
#ifdef __cplusplus
18653
21367
extern "C"
18654
 
{
18655
21368
#endif
18656
 
/* We use char because int might match the return type of a gcc2
18657
 
   builtin and then its argument prototype would still apply.  */
18658
21369
char _doprnt ();
18659
21370
/* The GNU C library defines this for functions which it implements
18660
21371
    to always fail with ENOSYS.  Some functions are actually named
18661
21372
    something starting with __ and the normal name is an alias.  */
18662
 
#if defined (__stub__doprnt) || defined (__stub____doprnt)
 
21373
#if defined __stub__doprnt || defined __stub____doprnt
18663
21374
choke me
18664
 
#else
18665
 
char (*f) () = _doprnt;
18666
 
#endif
18667
 
#ifdef __cplusplus
18668
 
}
18669
21375
#endif
18670
21376
 
18671
21377
int
18672
21378
main ()
18673
21379
{
18674
 
return f != _doprnt;
 
21380
return _doprnt ();
18675
21381
  ;
18676
21382
  return 0;
18677
21383
}
18678
21384
_ACEOF
18679
21385
rm -f conftest.$ac_objext conftest$ac_exeext
18680
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18681
 
  (eval $ac_link) 2>conftest.er1
 
21386
if { (ac_try="$ac_link"
 
21387
case "(($ac_try" in
 
21388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21389
  *) ac_try_echo=$ac_try;;
 
21390
esac
 
21391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21392
  (eval "$ac_link") 2>conftest.er1
18682
21393
  ac_status=$?
18683
21394
  grep -v '^ *+' conftest.er1 >conftest.err
18684
21395
  rm -f conftest.er1
18685
21396
  cat conftest.err >&5
18686
21397
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687
21398
  (exit $ac_status); } &&
18688
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18689
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690
 
  (eval $ac_try) 2>&5
 
21399
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21400
  { (case "(($ac_try" in
 
21401
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21402
  *) ac_try_echo=$ac_try;;
 
21403
esac
 
21404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21405
  (eval "$ac_try") 2>&5
18691
21406
  ac_status=$?
18692
21407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693
21408
  (exit $ac_status); }; } &&
18694
21409
         { ac_try='test -s conftest$ac_exeext'
18695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696
 
  (eval $ac_try) 2>&5
 
21410
  { (case "(($ac_try" in
 
21411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21412
  *) ac_try_echo=$ac_try;;
 
21413
esac
 
21414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21415
  (eval "$ac_try") 2>&5
18697
21416
  ac_status=$?
18698
21417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699
21418
  (exit $ac_status); }; }; then
18702
21421
  echo "$as_me: failed program was:" >&5
18703
21422
sed 's/^/| /' conftest.$ac_ext >&5
18704
21423
 
18705
 
ac_cv_func__doprnt=no
 
21424
        ac_cv_func__doprnt=no
18706
21425
fi
18707
 
rm -f conftest.err conftest.$ac_objext \
 
21426
 
 
21427
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18708
21428
      conftest$ac_exeext conftest.$ac_ext
18709
21429
fi
18710
 
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
18711
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
 
21430
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
 
21431
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
18712
21432
if test $ac_cv_func__doprnt = yes; then
18713
21433
 
18714
21434
cat >>confdefs.h <<\_ACEOF
18721
21441
done
18722
21442
 
18723
21443
 
18724
 
echo "$as_me:$LINENO: checking for pid_t" >&5
18725
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 
21444
{ echo "$as_me:$LINENO: checking for pid_t" >&5
 
21445
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18726
21446
if test "${ac_cv_type_pid_t+set}" = set; then
18727
21447
  echo $ECHO_N "(cached) $ECHO_C" >&6
18728
21448
else
18733
21453
cat >>conftest.$ac_ext <<_ACEOF
18734
21454
/* end confdefs.h.  */
18735
21455
$ac_includes_default
 
21456
typedef pid_t ac__type_new_;
18736
21457
int
18737
21458
main ()
18738
21459
{
18739
 
if ((pid_t *) 0)
 
21460
if ((ac__type_new_ *) 0)
18740
21461
  return 0;
18741
 
if (sizeof (pid_t))
 
21462
if (sizeof (ac__type_new_))
18742
21463
  return 0;
18743
21464
  ;
18744
21465
  return 0;
18745
21466
}
18746
21467
_ACEOF
18747
21468
rm -f conftest.$ac_objext
18748
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18749
 
  (eval $ac_compile) 2>conftest.er1
 
21469
if { (ac_try="$ac_compile"
 
21470
case "(($ac_try" in
 
21471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21472
  *) ac_try_echo=$ac_try;;
 
21473
esac
 
21474
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21475
  (eval "$ac_compile") 2>conftest.er1
18750
21476
  ac_status=$?
18751
21477
  grep -v '^ *+' conftest.er1 >conftest.err
18752
21478
  rm -f conftest.er1
18753
21479
  cat conftest.err >&5
18754
21480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755
21481
  (exit $ac_status); } &&
18756
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18757
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758
 
  (eval $ac_try) 2>&5
 
21482
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21483
  { (case "(($ac_try" in
 
21484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21485
  *) ac_try_echo=$ac_try;;
 
21486
esac
 
21487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21488
  (eval "$ac_try") 2>&5
18759
21489
  ac_status=$?
18760
21490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761
21491
  (exit $ac_status); }; } &&
18762
21492
         { ac_try='test -s conftest.$ac_objext'
18763
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764
 
  (eval $ac_try) 2>&5
 
21493
  { (case "(($ac_try" in
 
21494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21495
  *) ac_try_echo=$ac_try;;
 
21496
esac
 
21497
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21498
  (eval "$ac_try") 2>&5
18765
21499
  ac_status=$?
18766
21500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767
21501
  (exit $ac_status); }; }; then
18770
21504
  echo "$as_me: failed program was:" >&5
18771
21505
sed 's/^/| /' conftest.$ac_ext >&5
18772
21506
 
18773
 
ac_cv_type_pid_t=no
18774
 
fi
18775
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18776
 
fi
18777
 
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18778
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
 
21507
        ac_cv_type_pid_t=no
 
21508
fi
 
21509
 
 
21510
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21511
fi
 
21512
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
21513
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18779
21514
if test $ac_cv_type_pid_t = yes; then
18780
21515
  :
18781
21516
else
18787
21522
fi
18788
21523
 
18789
21524
 
18790
 
 
18791
 
for ac_header in unistd.h vfork.h
 
21525
for ac_header in vfork.h
18792
21526
do
18793
21527
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18794
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
18795
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
18796
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18797
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21528
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21529
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21530
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21531
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18798
21532
  echo $ECHO_N "(cached) $ECHO_C" >&6
18799
21533
fi
18800
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18801
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21534
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21535
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21536
echo "${ECHO_T}$ac_res" >&6; }
18802
21537
else
18803
21538
  # Is the header compilable?
18804
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
18805
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21539
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21540
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18806
21541
cat >conftest.$ac_ext <<_ACEOF
18807
21542
/* confdefs.h.  */
18808
21543
_ACEOF
18813
21548
#include <$ac_header>
18814
21549
_ACEOF
18815
21550
rm -f conftest.$ac_objext
18816
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18817
 
  (eval $ac_compile) 2>conftest.er1
 
21551
if { (ac_try="$ac_compile"
 
21552
case "(($ac_try" in
 
21553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21554
  *) ac_try_echo=$ac_try;;
 
21555
esac
 
21556
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21557
  (eval "$ac_compile") 2>conftest.er1
18818
21558
  ac_status=$?
18819
21559
  grep -v '^ *+' conftest.er1 >conftest.err
18820
21560
  rm -f conftest.er1
18821
21561
  cat conftest.err >&5
18822
21562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823
21563
  (exit $ac_status); } &&
18824
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826
 
  (eval $ac_try) 2>&5
 
21564
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21565
  { (case "(($ac_try" in
 
21566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21567
  *) ac_try_echo=$ac_try;;
 
21568
esac
 
21569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21570
  (eval "$ac_try") 2>&5
18827
21571
  ac_status=$?
18828
21572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829
21573
  (exit $ac_status); }; } &&
18830
21574
         { ac_try='test -s conftest.$ac_objext'
18831
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832
 
  (eval $ac_try) 2>&5
 
21575
  { (case "(($ac_try" in
 
21576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21577
  *) ac_try_echo=$ac_try;;
 
21578
esac
 
21579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21580
  (eval "$ac_try") 2>&5
18833
21581
  ac_status=$?
18834
21582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835
21583
  (exit $ac_status); }; }; then
18838
21586
  echo "$as_me: failed program was:" >&5
18839
21587
sed 's/^/| /' conftest.$ac_ext >&5
18840
21588
 
18841
 
ac_header_compiler=no
 
21589
        ac_header_compiler=no
18842
21590
fi
18843
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18844
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18845
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21591
 
 
21592
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21593
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21594
echo "${ECHO_T}$ac_header_compiler" >&6; }
18846
21595
 
18847
21596
# Is the header present?
18848
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
18849
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21597
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21598
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18850
21599
cat >conftest.$ac_ext <<_ACEOF
18851
21600
/* confdefs.h.  */
18852
21601
_ACEOF
18855
21604
/* end confdefs.h.  */
18856
21605
#include <$ac_header>
18857
21606
_ACEOF
18858
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18859
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21607
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21608
case "(($ac_try" in
 
21609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21610
  *) ac_try_echo=$ac_try;;
 
21611
esac
 
21612
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21613
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18860
21614
  ac_status=$?
18861
21615
  grep -v '^ *+' conftest.er1 >conftest.err
18862
21616
  rm -f conftest.er1
18880
21634
 
18881
21635
  ac_header_preproc=no
18882
21636
fi
 
21637
 
18883
21638
rm -f conftest.err conftest.$ac_ext
18884
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18885
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21639
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21640
echo "${ECHO_T}$ac_header_preproc" >&6; }
18886
21641
 
18887
21642
# So?  What about this header?
18888
21643
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18906
21661
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18907
21662
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18908
21663
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18909
 
    (
18910
 
      cat <<\_ASBOX
 
21664
    ( cat <<\_ASBOX
18911
21665
## -------------------------------- ##
18912
21666
## Report this to bug-gnupg@gnu.org ##
18913
21667
## -------------------------------- ##
18914
21668
_ASBOX
18915
 
    ) |
18916
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21669
     ) | sed "s/^/$as_me: WARNING:     /" >&2
18917
21670
    ;;
18918
21671
esac
18919
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
18920
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18921
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21672
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21673
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21674
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18922
21675
  echo $ECHO_N "(cached) $ECHO_C" >&6
18923
21676
else
18924
21677
  eval "$as_ac_Header=\$ac_header_preproc"
18925
21678
fi
18926
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18927
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21679
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21680
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21681
echo "${ECHO_T}$ac_res" >&6; }
18928
21682
 
18929
21683
fi
18930
21684
if test `eval echo '${'$as_ac_Header'}'` = yes; then
18941
21695
for ac_func in fork vfork
18942
21696
do
18943
21697
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18944
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
18945
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18946
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
21698
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21699
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
21700
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18947
21701
  echo $ECHO_N "(cached) $ECHO_C" >&6
18948
21702
else
18949
21703
  cat >conftest.$ac_ext <<_ACEOF
18969
21723
 
18970
21724
#undef $ac_func
18971
21725
 
18972
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21726
/* Override any GCC internal prototype to avoid an error.
 
21727
   Use char because int might match the return type of a GCC
 
21728
   builtin and then its argument prototype would still apply.  */
18973
21729
#ifdef __cplusplus
18974
21730
extern "C"
18975
 
{
18976
21731
#endif
18977
 
/* We use char because int might match the return type of a gcc2
18978
 
   builtin and then its argument prototype would still apply.  */
18979
21732
char $ac_func ();
18980
21733
/* The GNU C library defines this for functions which it implements
18981
21734
    to always fail with ENOSYS.  Some functions are actually named
18982
21735
    something starting with __ and the normal name is an alias.  */
18983
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21736
#if defined __stub_$ac_func || defined __stub___$ac_func
18984
21737
choke me
18985
 
#else
18986
 
char (*f) () = $ac_func;
18987
 
#endif
18988
 
#ifdef __cplusplus
18989
 
}
18990
21738
#endif
18991
21739
 
18992
21740
int
18993
21741
main ()
18994
21742
{
18995
 
return f != $ac_func;
 
21743
return $ac_func ();
18996
21744
  ;
18997
21745
  return 0;
18998
21746
}
18999
21747
_ACEOF
19000
21748
rm -f conftest.$ac_objext conftest$ac_exeext
19001
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19002
 
  (eval $ac_link) 2>conftest.er1
 
21749
if { (ac_try="$ac_link"
 
21750
case "(($ac_try" in
 
21751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21752
  *) ac_try_echo=$ac_try;;
 
21753
esac
 
21754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21755
  (eval "$ac_link") 2>conftest.er1
19003
21756
  ac_status=$?
19004
21757
  grep -v '^ *+' conftest.er1 >conftest.err
19005
21758
  rm -f conftest.er1
19006
21759
  cat conftest.err >&5
19007
21760
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008
21761
  (exit $ac_status); } &&
19009
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19011
 
  (eval $ac_try) 2>&5
 
21762
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
21763
  { (case "(($ac_try" in
 
21764
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21765
  *) ac_try_echo=$ac_try;;
 
21766
esac
 
21767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21768
  (eval "$ac_try") 2>&5
19012
21769
  ac_status=$?
19013
21770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014
21771
  (exit $ac_status); }; } &&
19015
21772
         { ac_try='test -s conftest$ac_exeext'
19016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017
 
  (eval $ac_try) 2>&5
 
21773
  { (case "(($ac_try" in
 
21774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21775
  *) ac_try_echo=$ac_try;;
 
21776
esac
 
21777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21778
  (eval "$ac_try") 2>&5
19018
21779
  ac_status=$?
19019
21780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020
21781
  (exit $ac_status); }; }; then
19023
21784
  echo "$as_me: failed program was:" >&5
19024
21785
sed 's/^/| /' conftest.$ac_ext >&5
19025
21786
 
19026
 
eval "$as_ac_var=no"
 
21787
        eval "$as_ac_var=no"
19027
21788
fi
19028
 
rm -f conftest.err conftest.$ac_objext \
 
21789
 
 
21790
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19029
21791
      conftest$ac_exeext conftest.$ac_ext
19030
21792
fi
19031
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19032
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
21793
ac_res=`eval echo '${'$as_ac_var'}'`
 
21794
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21795
echo "${ECHO_T}$ac_res" >&6; }
19033
21796
if test `eval echo '${'$as_ac_var'}'` = yes; then
19034
21797
  cat >>confdefs.h <<_ACEOF
19035
21798
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19039
21802
done
19040
21803
 
19041
21804
if test "x$ac_cv_func_fork" = xyes; then
19042
 
  echo "$as_me:$LINENO: checking for working fork" >&5
19043
 
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
 
21805
  { echo "$as_me:$LINENO: checking for working fork" >&5
 
21806
echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
19044
21807
if test "${ac_cv_func_fork_works+set}" = set; then
19045
21808
  echo $ECHO_N "(cached) $ECHO_C" >&6
19046
21809
else
19059
21822
{
19060
21823
 
19061
21824
          /* By Ruediger Kuhlmann. */
19062
 
          if (fork() < 0)
19063
 
            exit (1);
19064
 
          exit (0);
 
21825
          return fork () < 0;
19065
21826
 
19066
21827
  ;
19067
21828
  return 0;
19068
21829
}
19069
21830
_ACEOF
19070
21831
rm -f conftest$ac_exeext
19071
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19072
 
  (eval $ac_link) 2>&5
 
21832
if { (ac_try="$ac_link"
 
21833
case "(($ac_try" in
 
21834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21835
  *) ac_try_echo=$ac_try;;
 
21836
esac
 
21837
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21838
  (eval "$ac_link") 2>&5
19073
21839
  ac_status=$?
19074
21840
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075
21841
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19076
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077
 
  (eval $ac_try) 2>&5
 
21842
  { (case "(($ac_try" in
 
21843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21844
  *) ac_try_echo=$ac_try;;
 
21845
esac
 
21846
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21847
  (eval "$ac_try") 2>&5
19078
21848
  ac_status=$?
19079
21849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080
21850
  (exit $ac_status); }; }; then
19087
21857
( exit $ac_status )
19088
21858
ac_cv_func_fork_works=no
19089
21859
fi
19090
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19091
 
fi
19092
 
fi
19093
 
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
19094
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
 
21860
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21861
fi
 
21862
 
 
21863
 
 
21864
fi
 
21865
{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
21866
echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
19095
21867
 
19096
21868
else
19097
21869
  ac_cv_func_fork_works=$ac_cv_func_fork
19111
21883
fi
19112
21884
ac_cv_func_vfork_works=$ac_cv_func_vfork
19113
21885
if test "x$ac_cv_func_vfork" = xyes; then
19114
 
  echo "$as_me:$LINENO: checking for working vfork" >&5
19115
 
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
 
21886
  { echo "$as_me:$LINENO: checking for working vfork" >&5
 
21887
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
19116
21888
if test "${ac_cv_func_vfork_works+set}" = set; then
19117
21889
  echo $ECHO_N "(cached) $ECHO_C" >&6
19118
21890
else
19126
21898
cat >>conftest.$ac_ext <<_ACEOF
19127
21899
/* end confdefs.h.  */
19128
21900
/* Thanks to Paul Eggert for this test.  */
19129
 
#include <stdio.h>
19130
 
#include <stdlib.h>
19131
 
#include <sys/types.h>
19132
 
#include <sys/stat.h>
 
21901
$ac_includes_default
19133
21902
#include <sys/wait.h>
19134
 
#if HAVE_UNISTD_H
19135
 
# include <unistd.h>
19136
 
#endif
19137
 
#if HAVE_VFORK_H
 
21903
#ifdef HAVE_VFORK_H
19138
21904
# include <vfork.h>
19139
21905
#endif
19140
21906
/* On some sparc systems, changes by the child to local and incoming
19205
21971
 
19206
21972
    while (wait(&status) != child)
19207
21973
      ;
19208
 
    exit(
 
21974
    return (
19209
21975
         /* Was there some problem with vforking?  */
19210
21976
         child < 0
19211
21977
 
19222
21988
}
19223
21989
_ACEOF
19224
21990
rm -f conftest$ac_exeext
19225
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19226
 
  (eval $ac_link) 2>&5
 
21991
if { (ac_try="$ac_link"
 
21992
case "(($ac_try" in
 
21993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21994
  *) ac_try_echo=$ac_try;;
 
21995
esac
 
21996
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21997
  (eval "$ac_link") 2>&5
19227
21998
  ac_status=$?
19228
21999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229
22000
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19230
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231
 
  (eval $ac_try) 2>&5
 
22001
  { (case "(($ac_try" in
 
22002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22003
  *) ac_try_echo=$ac_try;;
 
22004
esac
 
22005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22006
  (eval "$ac_try") 2>&5
19232
22007
  ac_status=$?
19233
22008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234
22009
  (exit $ac_status); }; }; then
19241
22016
( exit $ac_status )
19242
22017
ac_cv_func_vfork_works=no
19243
22018
fi
19244
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19245
 
fi
19246
 
fi
19247
 
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
19248
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
 
22019
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22020
fi
 
22021
 
 
22022
 
 
22023
fi
 
22024
{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
22025
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
19249
22026
 
19250
22027
fi;
19251
22028
if test "x$ac_cv_func_fork_works" = xcross; then
19281
22058
 
19282
22059
 
19283
22060
 
19284
 
 
19285
 
for ac_func in strerror stpcpy strsep strlwr tcgetattr strtoul mmap
 
22061
for ac_func in strerror stpcpy strlwr tcgetattr strtoul mmap
19286
22062
do
19287
22063
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19289
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19290
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22064
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22065
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22066
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19291
22067
  echo $ECHO_N "(cached) $ECHO_C" >&6
19292
22068
else
19293
22069
  cat >conftest.$ac_ext <<_ACEOF
19313
22089
 
19314
22090
#undef $ac_func
19315
22091
 
19316
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22092
/* Override any GCC internal prototype to avoid an error.
 
22093
   Use char because int might match the return type of a GCC
 
22094
   builtin and then its argument prototype would still apply.  */
19317
22095
#ifdef __cplusplus
19318
22096
extern "C"
19319
 
{
19320
22097
#endif
19321
 
/* We use char because int might match the return type of a gcc2
19322
 
   builtin and then its argument prototype would still apply.  */
19323
22098
char $ac_func ();
19324
22099
/* The GNU C library defines this for functions which it implements
19325
22100
    to always fail with ENOSYS.  Some functions are actually named
19326
22101
    something starting with __ and the normal name is an alias.  */
19327
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22102
#if defined __stub_$ac_func || defined __stub___$ac_func
19328
22103
choke me
19329
 
#else
19330
 
char (*f) () = $ac_func;
19331
 
#endif
19332
 
#ifdef __cplusplus
19333
 
}
19334
22104
#endif
19335
22105
 
19336
22106
int
19337
22107
main ()
19338
22108
{
19339
 
return f != $ac_func;
 
22109
return $ac_func ();
19340
22110
  ;
19341
22111
  return 0;
19342
22112
}
19343
22113
_ACEOF
19344
22114
rm -f conftest.$ac_objext conftest$ac_exeext
19345
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346
 
  (eval $ac_link) 2>conftest.er1
 
22115
if { (ac_try="$ac_link"
 
22116
case "(($ac_try" in
 
22117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22118
  *) ac_try_echo=$ac_try;;
 
22119
esac
 
22120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22121
  (eval "$ac_link") 2>conftest.er1
19347
22122
  ac_status=$?
19348
22123
  grep -v '^ *+' conftest.er1 >conftest.err
19349
22124
  rm -f conftest.er1
19350
22125
  cat conftest.err >&5
19351
22126
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352
22127
  (exit $ac_status); } &&
19353
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355
 
  (eval $ac_try) 2>&5
 
22128
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22129
  { (case "(($ac_try" in
 
22130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22131
  *) ac_try_echo=$ac_try;;
 
22132
esac
 
22133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22134
  (eval "$ac_try") 2>&5
19356
22135
  ac_status=$?
19357
22136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358
22137
  (exit $ac_status); }; } &&
19359
22138
         { ac_try='test -s conftest$ac_exeext'
19360
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361
 
  (eval $ac_try) 2>&5
 
22139
  { (case "(($ac_try" in
 
22140
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22141
  *) ac_try_echo=$ac_try;;
 
22142
esac
 
22143
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22144
  (eval "$ac_try") 2>&5
19362
22145
  ac_status=$?
19363
22146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364
22147
  (exit $ac_status); }; }; then
19367
22150
  echo "$as_me: failed program was:" >&5
19368
22151
sed 's/^/| /' conftest.$ac_ext >&5
19369
22152
 
19370
 
eval "$as_ac_var=no"
 
22153
        eval "$as_ac_var=no"
19371
22154
fi
19372
 
rm -f conftest.err conftest.$ac_objext \
 
22155
 
 
22156
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19373
22157
      conftest$ac_exeext conftest.$ac_ext
19374
22158
fi
19375
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19376
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22159
ac_res=`eval echo '${'$as_ac_var'}'`
 
22160
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22161
echo "${ECHO_T}$ac_res" >&6; }
19377
22162
if test `eval echo '${'$as_ac_var'}'` = yes; then
19378
22163
  cat >>confdefs.h <<_ACEOF
19379
22164
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19392
22177
for ac_func in strcasecmp strncasecmp ctermid times unsetenv getpwnam getpwuid
19393
22178
do
19394
22179
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19395
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19396
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19397
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22180
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22181
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22182
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19398
22183
  echo $ECHO_N "(cached) $ECHO_C" >&6
19399
22184
else
19400
22185
  cat >conftest.$ac_ext <<_ACEOF
19420
22205
 
19421
22206
#undef $ac_func
19422
22207
 
19423
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22208
/* Override any GCC internal prototype to avoid an error.
 
22209
   Use char because int might match the return type of a GCC
 
22210
   builtin and then its argument prototype would still apply.  */
19424
22211
#ifdef __cplusplus
19425
22212
extern "C"
19426
 
{
19427
22213
#endif
19428
 
/* We use char because int might match the return type of a gcc2
19429
 
   builtin and then its argument prototype would still apply.  */
19430
22214
char $ac_func ();
19431
22215
/* The GNU C library defines this for functions which it implements
19432
22216
    to always fail with ENOSYS.  Some functions are actually named
19433
22217
    something starting with __ and the normal name is an alias.  */
19434
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22218
#if defined __stub_$ac_func || defined __stub___$ac_func
19435
22219
choke me
19436
 
#else
19437
 
char (*f) () = $ac_func;
19438
 
#endif
19439
 
#ifdef __cplusplus
19440
 
}
19441
22220
#endif
19442
22221
 
19443
22222
int
19444
22223
main ()
19445
22224
{
19446
 
return f != $ac_func;
 
22225
return $ac_func ();
19447
22226
  ;
19448
22227
  return 0;
19449
22228
}
19450
22229
_ACEOF
19451
22230
rm -f conftest.$ac_objext conftest$ac_exeext
19452
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19453
 
  (eval $ac_link) 2>conftest.er1
 
22231
if { (ac_try="$ac_link"
 
22232
case "(($ac_try" in
 
22233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22234
  *) ac_try_echo=$ac_try;;
 
22235
esac
 
22236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22237
  (eval "$ac_link") 2>conftest.er1
19454
22238
  ac_status=$?
19455
22239
  grep -v '^ *+' conftest.er1 >conftest.err
19456
22240
  rm -f conftest.er1
19457
22241
  cat conftest.err >&5
19458
22242
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459
22243
  (exit $ac_status); } &&
19460
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462
 
  (eval $ac_try) 2>&5
 
22244
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22245
  { (case "(($ac_try" in
 
22246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22247
  *) ac_try_echo=$ac_try;;
 
22248
esac
 
22249
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22250
  (eval "$ac_try") 2>&5
19463
22251
  ac_status=$?
19464
22252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465
22253
  (exit $ac_status); }; } &&
19466
22254
         { ac_try='test -s conftest$ac_exeext'
19467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468
 
  (eval $ac_try) 2>&5
 
22255
  { (case "(($ac_try" in
 
22256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22257
  *) ac_try_echo=$ac_try;;
 
22258
esac
 
22259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22260
  (eval "$ac_try") 2>&5
19469
22261
  ac_status=$?
19470
22262
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471
22263
  (exit $ac_status); }; }; then
19474
22266
  echo "$as_me: failed program was:" >&5
19475
22267
sed 's/^/| /' conftest.$ac_ext >&5
19476
22268
 
19477
 
eval "$as_ac_var=no"
 
22269
        eval "$as_ac_var=no"
19478
22270
fi
19479
 
rm -f conftest.err conftest.$ac_objext \
 
22271
 
 
22272
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19480
22273
      conftest$ac_exeext conftest.$ac_ext
19481
22274
fi
19482
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19483
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22275
ac_res=`eval echo '${'$as_ac_var'}'`
 
22276
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22277
echo "${ECHO_T}$ac_res" >&6; }
19484
22278
if test `eval echo '${'$as_ac_var'}'` = yes; then
19485
22279
  cat >>confdefs.h <<_ACEOF
19486
22280
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19497
22291
for ac_func in memmove gettimeofday getrusage setrlimit clock_gettime
19498
22292
do
19499
22293
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19500
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19501
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19502
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22294
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22295
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22296
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19503
22297
  echo $ECHO_N "(cached) $ECHO_C" >&6
19504
22298
else
19505
22299
  cat >conftest.$ac_ext <<_ACEOF
19525
22319
 
19526
22320
#undef $ac_func
19527
22321
 
19528
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22322
/* Override any GCC internal prototype to avoid an error.
 
22323
   Use char because int might match the return type of a GCC
 
22324
   builtin and then its argument prototype would still apply.  */
19529
22325
#ifdef __cplusplus
19530
22326
extern "C"
19531
 
{
19532
22327
#endif
19533
 
/* We use char because int might match the return type of a gcc2
19534
 
   builtin and then its argument prototype would still apply.  */
19535
22328
char $ac_func ();
19536
22329
/* The GNU C library defines this for functions which it implements
19537
22330
    to always fail with ENOSYS.  Some functions are actually named
19538
22331
    something starting with __ and the normal name is an alias.  */
19539
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22332
#if defined __stub_$ac_func || defined __stub___$ac_func
19540
22333
choke me
19541
 
#else
19542
 
char (*f) () = $ac_func;
19543
 
#endif
19544
 
#ifdef __cplusplus
19545
 
}
19546
22334
#endif
19547
22335
 
19548
22336
int
19549
22337
main ()
19550
22338
{
19551
 
return f != $ac_func;
 
22339
return $ac_func ();
19552
22340
  ;
19553
22341
  return 0;
19554
22342
}
19555
22343
_ACEOF
19556
22344
rm -f conftest.$ac_objext conftest$ac_exeext
19557
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19558
 
  (eval $ac_link) 2>conftest.er1
 
22345
if { (ac_try="$ac_link"
 
22346
case "(($ac_try" in
 
22347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22348
  *) ac_try_echo=$ac_try;;
 
22349
esac
 
22350
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22351
  (eval "$ac_link") 2>conftest.er1
19559
22352
  ac_status=$?
19560
22353
  grep -v '^ *+' conftest.er1 >conftest.err
19561
22354
  rm -f conftest.er1
19562
22355
  cat conftest.err >&5
19563
22356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564
22357
  (exit $ac_status); } &&
19565
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567
 
  (eval $ac_try) 2>&5
 
22358
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22359
  { (case "(($ac_try" in
 
22360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22361
  *) ac_try_echo=$ac_try;;
 
22362
esac
 
22363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22364
  (eval "$ac_try") 2>&5
19568
22365
  ac_status=$?
19569
22366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570
22367
  (exit $ac_status); }; } &&
19571
22368
         { ac_try='test -s conftest$ac_exeext'
19572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573
 
  (eval $ac_try) 2>&5
 
22369
  { (case "(($ac_try" in
 
22370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22371
  *) ac_try_echo=$ac_try;;
 
22372
esac
 
22373
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22374
  (eval "$ac_try") 2>&5
19574
22375
  ac_status=$?
19575
22376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576
22377
  (exit $ac_status); }; }; then
19579
22380
  echo "$as_me: failed program was:" >&5
19580
22381
sed 's/^/| /' conftest.$ac_ext >&5
19581
22382
 
19582
 
eval "$as_ac_var=no"
 
22383
        eval "$as_ac_var=no"
19583
22384
fi
19584
 
rm -f conftest.err conftest.$ac_objext \
 
22385
 
 
22386
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19585
22387
      conftest$ac_exeext conftest.$ac_ext
19586
22388
fi
19587
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19588
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22389
ac_res=`eval echo '${'$as_ac_var'}'`
 
22390
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22391
echo "${ECHO_T}$ac_res" >&6; }
19589
22392
if test `eval echo '${'$as_ac_var'}'` = yes; then
19590
22393
  cat >>confdefs.h <<_ACEOF
19591
22394
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19603
22406
for ac_func in atexit raise getpagesize strftime nl_langinfo setlocale
19604
22407
do
19605
22408
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19606
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19607
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19608
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22409
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22410
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22411
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19609
22412
  echo $ECHO_N "(cached) $ECHO_C" >&6
19610
22413
else
19611
22414
  cat >conftest.$ac_ext <<_ACEOF
19631
22434
 
19632
22435
#undef $ac_func
19633
22436
 
19634
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22437
/* Override any GCC internal prototype to avoid an error.
 
22438
   Use char because int might match the return type of a GCC
 
22439
   builtin and then its argument prototype would still apply.  */
19635
22440
#ifdef __cplusplus
19636
22441
extern "C"
19637
 
{
19638
22442
#endif
19639
 
/* We use char because int might match the return type of a gcc2
19640
 
   builtin and then its argument prototype would still apply.  */
19641
22443
char $ac_func ();
19642
22444
/* The GNU C library defines this for functions which it implements
19643
22445
    to always fail with ENOSYS.  Some functions are actually named
19644
22446
    something starting with __ and the normal name is an alias.  */
19645
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22447
#if defined __stub_$ac_func || defined __stub___$ac_func
19646
22448
choke me
19647
 
#else
19648
 
char (*f) () = $ac_func;
19649
 
#endif
19650
 
#ifdef __cplusplus
19651
 
}
19652
22449
#endif
19653
22450
 
19654
22451
int
19655
22452
main ()
19656
22453
{
19657
 
return f != $ac_func;
 
22454
return $ac_func ();
19658
22455
  ;
19659
22456
  return 0;
19660
22457
}
19661
22458
_ACEOF
19662
22459
rm -f conftest.$ac_objext conftest$ac_exeext
19663
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19664
 
  (eval $ac_link) 2>conftest.er1
 
22460
if { (ac_try="$ac_link"
 
22461
case "(($ac_try" in
 
22462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22463
  *) ac_try_echo=$ac_try;;
 
22464
esac
 
22465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22466
  (eval "$ac_link") 2>conftest.er1
19665
22467
  ac_status=$?
19666
22468
  grep -v '^ *+' conftest.er1 >conftest.err
19667
22469
  rm -f conftest.er1
19668
22470
  cat conftest.err >&5
19669
22471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670
22472
  (exit $ac_status); } &&
19671
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19672
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673
 
  (eval $ac_try) 2>&5
 
22473
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22474
  { (case "(($ac_try" in
 
22475
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22476
  *) ac_try_echo=$ac_try;;
 
22477
esac
 
22478
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22479
  (eval "$ac_try") 2>&5
19674
22480
  ac_status=$?
19675
22481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676
22482
  (exit $ac_status); }; } &&
19677
22483
         { ac_try='test -s conftest$ac_exeext'
19678
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679
 
  (eval $ac_try) 2>&5
 
22484
  { (case "(($ac_try" in
 
22485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22486
  *) ac_try_echo=$ac_try;;
 
22487
esac
 
22488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22489
  (eval "$ac_try") 2>&5
19680
22490
  ac_status=$?
19681
22491
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682
22492
  (exit $ac_status); }; }; then
19685
22495
  echo "$as_me: failed program was:" >&5
19686
22496
sed 's/^/| /' conftest.$ac_ext >&5
19687
22497
 
19688
 
eval "$as_ac_var=no"
 
22498
        eval "$as_ac_var=no"
19689
22499
fi
19690
 
rm -f conftest.err conftest.$ac_objext \
 
22500
 
 
22501
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19691
22502
      conftest$ac_exeext conftest.$ac_ext
19692
22503
fi
19693
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19694
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22504
ac_res=`eval echo '${'$as_ac_var'}'`
 
22505
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22506
echo "${ECHO_T}$ac_res" >&6; }
19695
22507
if test `eval echo '${'$as_ac_var'}'` = yes; then
19696
22508
  cat >>confdefs.h <<_ACEOF
19697
22509
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19711
22523
for ac_func in waitpid wait4 sigaction sigprocmask rand pipe stat getaddrinfo
19712
22524
do
19713
22525
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19714
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19715
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19716
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22526
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22527
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22528
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19717
22529
  echo $ECHO_N "(cached) $ECHO_C" >&6
19718
22530
else
19719
22531
  cat >conftest.$ac_ext <<_ACEOF
19739
22551
 
19740
22552
#undef $ac_func
19741
22553
 
19742
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22554
/* Override any GCC internal prototype to avoid an error.
 
22555
   Use char because int might match the return type of a GCC
 
22556
   builtin and then its argument prototype would still apply.  */
19743
22557
#ifdef __cplusplus
19744
22558
extern "C"
19745
 
{
19746
22559
#endif
19747
 
/* We use char because int might match the return type of a gcc2
19748
 
   builtin and then its argument prototype would still apply.  */
19749
22560
char $ac_func ();
19750
22561
/* The GNU C library defines this for functions which it implements
19751
22562
    to always fail with ENOSYS.  Some functions are actually named
19752
22563
    something starting with __ and the normal name is an alias.  */
19753
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22564
#if defined __stub_$ac_func || defined __stub___$ac_func
19754
22565
choke me
19755
 
#else
19756
 
char (*f) () = $ac_func;
19757
 
#endif
19758
 
#ifdef __cplusplus
19759
 
}
19760
22566
#endif
19761
22567
 
19762
22568
int
19763
22569
main ()
19764
22570
{
19765
 
return f != $ac_func;
 
22571
return $ac_func ();
19766
22572
  ;
19767
22573
  return 0;
19768
22574
}
19769
22575
_ACEOF
19770
22576
rm -f conftest.$ac_objext conftest$ac_exeext
19771
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19772
 
  (eval $ac_link) 2>conftest.er1
 
22577
if { (ac_try="$ac_link"
 
22578
case "(($ac_try" in
 
22579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22580
  *) ac_try_echo=$ac_try;;
 
22581
esac
 
22582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22583
  (eval "$ac_link") 2>conftest.er1
19773
22584
  ac_status=$?
19774
22585
  grep -v '^ *+' conftest.er1 >conftest.err
19775
22586
  rm -f conftest.er1
19776
22587
  cat conftest.err >&5
19777
22588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778
22589
  (exit $ac_status); } &&
19779
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781
 
  (eval $ac_try) 2>&5
 
22590
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22591
  { (case "(($ac_try" in
 
22592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22593
  *) ac_try_echo=$ac_try;;
 
22594
esac
 
22595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22596
  (eval "$ac_try") 2>&5
19782
22597
  ac_status=$?
19783
22598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784
22599
  (exit $ac_status); }; } &&
19785
22600
         { ac_try='test -s conftest$ac_exeext'
19786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787
 
  (eval $ac_try) 2>&5
 
22601
  { (case "(($ac_try" in
 
22602
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22603
  *) ac_try_echo=$ac_try;;
 
22604
esac
 
22605
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22606
  (eval "$ac_try") 2>&5
19788
22607
  ac_status=$?
19789
22608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790
22609
  (exit $ac_status); }; }; then
19793
22612
  echo "$as_me: failed program was:" >&5
19794
22613
sed 's/^/| /' conftest.$ac_ext >&5
19795
22614
 
19796
 
eval "$as_ac_var=no"
 
22615
        eval "$as_ac_var=no"
19797
22616
fi
19798
 
rm -f conftest.err conftest.$ac_objext \
 
22617
 
 
22618
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19799
22619
      conftest$ac_exeext conftest.$ac_ext
19800
22620
fi
19801
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19802
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22621
ac_res=`eval echo '${'$as_ac_var'}'`
 
22622
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22623
echo "${ECHO_T}$ac_res" >&6; }
19803
22624
if test `eval echo '${'$as_ac_var'}'` = yes; then
19804
22625
  cat >>confdefs.h <<_ACEOF
19805
22626
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19813
22634
for ac_func in fcntl ftruncate
19814
22635
do
19815
22636
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19816
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19817
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19818
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22637
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22638
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22639
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19819
22640
  echo $ECHO_N "(cached) $ECHO_C" >&6
19820
22641
else
19821
22642
  cat >conftest.$ac_ext <<_ACEOF
19841
22662
 
19842
22663
#undef $ac_func
19843
22664
 
19844
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22665
/* Override any GCC internal prototype to avoid an error.
 
22666
   Use char because int might match the return type of a GCC
 
22667
   builtin and then its argument prototype would still apply.  */
19845
22668
#ifdef __cplusplus
19846
22669
extern "C"
19847
 
{
19848
22670
#endif
19849
 
/* We use char because int might match the return type of a gcc2
19850
 
   builtin and then its argument prototype would still apply.  */
19851
22671
char $ac_func ();
19852
22672
/* The GNU C library defines this for functions which it implements
19853
22673
    to always fail with ENOSYS.  Some functions are actually named
19854
22674
    something starting with __ and the normal name is an alias.  */
19855
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22675
#if defined __stub_$ac_func || defined __stub___$ac_func
19856
22676
choke me
19857
 
#else
19858
 
char (*f) () = $ac_func;
19859
 
#endif
19860
 
#ifdef __cplusplus
19861
 
}
19862
22677
#endif
19863
22678
 
19864
22679
int
19865
22680
main ()
19866
22681
{
19867
 
return f != $ac_func;
 
22682
return $ac_func ();
19868
22683
  ;
19869
22684
  return 0;
19870
22685
}
19871
22686
_ACEOF
19872
22687
rm -f conftest.$ac_objext conftest$ac_exeext
19873
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19874
 
  (eval $ac_link) 2>conftest.er1
 
22688
if { (ac_try="$ac_link"
 
22689
case "(($ac_try" in
 
22690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22691
  *) ac_try_echo=$ac_try;;
 
22692
esac
 
22693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22694
  (eval "$ac_link") 2>conftest.er1
19875
22695
  ac_status=$?
19876
22696
  grep -v '^ *+' conftest.er1 >conftest.err
19877
22697
  rm -f conftest.er1
19878
22698
  cat conftest.err >&5
19879
22699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880
22700
  (exit $ac_status); } &&
19881
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883
 
  (eval $ac_try) 2>&5
 
22701
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22702
  { (case "(($ac_try" in
 
22703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22704
  *) ac_try_echo=$ac_try;;
 
22705
esac
 
22706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22707
  (eval "$ac_try") 2>&5
19884
22708
  ac_status=$?
19885
22709
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886
22710
  (exit $ac_status); }; } &&
19887
22711
         { ac_try='test -s conftest$ac_exeext'
19888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889
 
  (eval $ac_try) 2>&5
 
22712
  { (case "(($ac_try" in
 
22713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22714
  *) ac_try_echo=$ac_try;;
 
22715
esac
 
22716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22717
  (eval "$ac_try") 2>&5
19890
22718
  ac_status=$?
19891
22719
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892
22720
  (exit $ac_status); }; }; then
19895
22723
  echo "$as_me: failed program was:" >&5
19896
22724
sed 's/^/| /' conftest.$ac_ext >&5
19897
22725
 
19898
 
eval "$as_ac_var=no"
 
22726
        eval "$as_ac_var=no"
19899
22727
fi
19900
 
rm -f conftest.err conftest.$ac_objext \
 
22728
 
 
22729
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19901
22730
      conftest$ac_exeext conftest.$ac_ext
19902
22731
fi
19903
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19904
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22732
ac_res=`eval echo '${'$as_ac_var'}'`
 
22733
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22734
echo "${ECHO_T}$ac_res" >&6; }
19905
22735
if test `eval echo '${'$as_ac_var'}'` = yes; then
19906
22736
  cat >>confdefs.h <<_ACEOF
19907
22737
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19914
22744
 
19915
22745
 
19916
22746
 
19917
 
for ac_func in mkdtemp timegm isascii memrchr
 
22747
 
 
22748
for ac_func in mkdtemp timegm isascii memrchr strsep
19918
22749
do
19919
22750
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19920
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
19921
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19922
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22751
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22752
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22753
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19923
22754
  echo $ECHO_N "(cached) $ECHO_C" >&6
19924
22755
else
19925
22756
  cat >conftest.$ac_ext <<_ACEOF
19945
22776
 
19946
22777
#undef $ac_func
19947
22778
 
19948
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22779
/* Override any GCC internal prototype to avoid an error.
 
22780
   Use char because int might match the return type of a GCC
 
22781
   builtin and then its argument prototype would still apply.  */
19949
22782
#ifdef __cplusplus
19950
22783
extern "C"
19951
 
{
19952
22784
#endif
19953
 
/* We use char because int might match the return type of a gcc2
19954
 
   builtin and then its argument prototype would still apply.  */
19955
22785
char $ac_func ();
19956
22786
/* The GNU C library defines this for functions which it implements
19957
22787
    to always fail with ENOSYS.  Some functions are actually named
19958
22788
    something starting with __ and the normal name is an alias.  */
19959
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22789
#if defined __stub_$ac_func || defined __stub___$ac_func
19960
22790
choke me
19961
 
#else
19962
 
char (*f) () = $ac_func;
19963
 
#endif
19964
 
#ifdef __cplusplus
19965
 
}
19966
22791
#endif
19967
22792
 
19968
22793
int
19969
22794
main ()
19970
22795
{
19971
 
return f != $ac_func;
 
22796
return $ac_func ();
19972
22797
  ;
19973
22798
  return 0;
19974
22799
}
19975
22800
_ACEOF
19976
22801
rm -f conftest.$ac_objext conftest$ac_exeext
19977
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19978
 
  (eval $ac_link) 2>conftest.er1
 
22802
if { (ac_try="$ac_link"
 
22803
case "(($ac_try" in
 
22804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22805
  *) ac_try_echo=$ac_try;;
 
22806
esac
 
22807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22808
  (eval "$ac_link") 2>conftest.er1
19979
22809
  ac_status=$?
19980
22810
  grep -v '^ *+' conftest.er1 >conftest.err
19981
22811
  rm -f conftest.er1
19982
22812
  cat conftest.err >&5
19983
22813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984
22814
  (exit $ac_status); } &&
19985
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987
 
  (eval $ac_try) 2>&5
 
22815
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22816
  { (case "(($ac_try" in
 
22817
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22818
  *) ac_try_echo=$ac_try;;
 
22819
esac
 
22820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22821
  (eval "$ac_try") 2>&5
19988
22822
  ac_status=$?
19989
22823
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990
22824
  (exit $ac_status); }; } &&
19991
22825
         { ac_try='test -s conftest$ac_exeext'
19992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993
 
  (eval $ac_try) 2>&5
 
22826
  { (case "(($ac_try" in
 
22827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22828
  *) ac_try_echo=$ac_try;;
 
22829
esac
 
22830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22831
  (eval "$ac_try") 2>&5
19994
22832
  ac_status=$?
19995
22833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996
22834
  (exit $ac_status); }; }; then
19999
22837
  echo "$as_me: failed program was:" >&5
20000
22838
sed 's/^/| /' conftest.$ac_ext >&5
20001
22839
 
20002
 
eval "$as_ac_var=no"
 
22840
        eval "$as_ac_var=no"
20003
22841
fi
20004
 
rm -f conftest.err conftest.$ac_objext \
 
22842
 
 
22843
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20005
22844
      conftest$ac_exeext conftest.$ac_ext
20006
22845
fi
20007
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20008
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22846
ac_res=`eval echo '${'$as_ac_var'}'`
 
22847
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22848
echo "${ECHO_T}$ac_res" >&6; }
20009
22849
if test `eval echo '${'$as_ac_var'}'` = yes; then
20010
22850
  cat >>confdefs.h <<_ACEOF
20011
22851
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20012
22852
_ACEOF
20013
22853
 
20014
22854
else
20015
 
  case $LIBOBJS in
20016
 
    "$ac_func.$ac_objext"   | \
20017
 
  *" $ac_func.$ac_objext"   | \
20018
 
    "$ac_func.$ac_objext "* | \
 
22855
  case " $LIBOBJS " in
20019
22856
  *" $ac_func.$ac_objext "* ) ;;
20020
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
22857
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
22858
 ;;
20021
22859
esac
20022
22860
 
20023
22861
fi
20025
22863
 
20026
22864
 
20027
22865
 
20028
 
echo "$as_me:$LINENO: checking for struct sigaction" >&5
20029
 
echo $ECHO_N "checking for struct sigaction... $ECHO_C" >&6
 
22866
{ echo "$as_me:$LINENO: checking for struct sigaction" >&5
 
22867
echo $ECHO_N "checking for struct sigaction... $ECHO_C" >&6; }
20030
22868
if test "${ac_cv_type_struct_sigaction+set}" = set; then
20031
22869
  echo $ECHO_N "(cached) $ECHO_C" >&6
20032
22870
else
20038
22876
/* end confdefs.h.  */
20039
22877
#include <signal.h>
20040
22878
 
 
22879
typedef struct sigaction ac__type_new_;
20041
22880
int
20042
22881
main ()
20043
22882
{
20044
 
if ((struct sigaction *) 0)
 
22883
if ((ac__type_new_ *) 0)
20045
22884
  return 0;
20046
 
if (sizeof (struct sigaction))
 
22885
if (sizeof (ac__type_new_))
20047
22886
  return 0;
20048
22887
  ;
20049
22888
  return 0;
20050
22889
}
20051
22890
_ACEOF
20052
22891
rm -f conftest.$ac_objext
20053
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20054
 
  (eval $ac_compile) 2>conftest.er1
 
22892
if { (ac_try="$ac_compile"
 
22893
case "(($ac_try" in
 
22894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22895
  *) ac_try_echo=$ac_try;;
 
22896
esac
 
22897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22898
  (eval "$ac_compile") 2>conftest.er1
20055
22899
  ac_status=$?
20056
22900
  grep -v '^ *+' conftest.er1 >conftest.err
20057
22901
  rm -f conftest.er1
20058
22902
  cat conftest.err >&5
20059
22903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060
22904
  (exit $ac_status); } &&
20061
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20062
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063
 
  (eval $ac_try) 2>&5
 
22905
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22906
  { (case "(($ac_try" in
 
22907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22908
  *) ac_try_echo=$ac_try;;
 
22909
esac
 
22910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22911
  (eval "$ac_try") 2>&5
20064
22912
  ac_status=$?
20065
22913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066
22914
  (exit $ac_status); }; } &&
20067
22915
         { ac_try='test -s conftest.$ac_objext'
20068
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069
 
  (eval $ac_try) 2>&5
 
22916
  { (case "(($ac_try" in
 
22917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22918
  *) ac_try_echo=$ac_try;;
 
22919
esac
 
22920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22921
  (eval "$ac_try") 2>&5
20070
22922
  ac_status=$?
20071
22923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072
22924
  (exit $ac_status); }; }; then
20075
22927
  echo "$as_me: failed program was:" >&5
20076
22928
sed 's/^/| /' conftest.$ac_ext >&5
20077
22929
 
20078
 
ac_cv_type_struct_sigaction=no
20079
 
fi
20080
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20081
 
fi
20082
 
echo "$as_me:$LINENO: result: $ac_cv_type_struct_sigaction" >&5
20083
 
echo "${ECHO_T}$ac_cv_type_struct_sigaction" >&6
 
22930
        ac_cv_type_struct_sigaction=no
 
22931
fi
 
22932
 
 
22933
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22934
fi
 
22935
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_sigaction" >&5
 
22936
echo "${ECHO_T}$ac_cv_type_struct_sigaction" >&6; }
20084
22937
if test $ac_cv_type_struct_sigaction = yes; then
20085
22938
 
20086
22939
cat >>confdefs.h <<_ACEOF
20089
22942
 
20090
22943
 
20091
22944
fi
20092
 
echo "$as_me:$LINENO: checking for sigset_t" >&5
20093
 
echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
 
22945
{ echo "$as_me:$LINENO: checking for sigset_t" >&5
 
22946
echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20094
22947
if test "${ac_cv_type_sigset_t+set}" = set; then
20095
22948
  echo $ECHO_N "(cached) $ECHO_C" >&6
20096
22949
else
20102
22955
/* end confdefs.h.  */
20103
22956
#include <signal.h>
20104
22957
 
 
22958
typedef sigset_t ac__type_new_;
20105
22959
int
20106
22960
main ()
20107
22961
{
20108
 
if ((sigset_t *) 0)
 
22962
if ((ac__type_new_ *) 0)
20109
22963
  return 0;
20110
 
if (sizeof (sigset_t))
 
22964
if (sizeof (ac__type_new_))
20111
22965
  return 0;
20112
22966
  ;
20113
22967
  return 0;
20114
22968
}
20115
22969
_ACEOF
20116
22970
rm -f conftest.$ac_objext
20117
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20118
 
  (eval $ac_compile) 2>conftest.er1
 
22971
if { (ac_try="$ac_compile"
 
22972
case "(($ac_try" in
 
22973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22974
  *) ac_try_echo=$ac_try;;
 
22975
esac
 
22976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22977
  (eval "$ac_compile") 2>conftest.er1
20119
22978
  ac_status=$?
20120
22979
  grep -v '^ *+' conftest.er1 >conftest.err
20121
22980
  rm -f conftest.er1
20122
22981
  cat conftest.err >&5
20123
22982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124
22983
  (exit $ac_status); } &&
20125
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20126
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127
 
  (eval $ac_try) 2>&5
 
22984
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
22985
  { (case "(($ac_try" in
 
22986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22987
  *) ac_try_echo=$ac_try;;
 
22988
esac
 
22989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22990
  (eval "$ac_try") 2>&5
20128
22991
  ac_status=$?
20129
22992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130
22993
  (exit $ac_status); }; } &&
20131
22994
         { ac_try='test -s conftest.$ac_objext'
20132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133
 
  (eval $ac_try) 2>&5
 
22995
  { (case "(($ac_try" in
 
22996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22997
  *) ac_try_echo=$ac_try;;
 
22998
esac
 
22999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23000
  (eval "$ac_try") 2>&5
20134
23001
  ac_status=$?
20135
23002
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136
23003
  (exit $ac_status); }; }; then
20139
23006
  echo "$as_me: failed program was:" >&5
20140
23007
sed 's/^/| /' conftest.$ac_ext >&5
20141
23008
 
20142
 
ac_cv_type_sigset_t=no
20143
 
fi
20144
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20145
 
fi
20146
 
echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20147
 
echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
 
23009
        ac_cv_type_sigset_t=no
 
23010
fi
 
23011
 
 
23012
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23013
fi
 
23014
{ echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
 
23015
echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20148
23016
if test $ac_cv_type_sigset_t = yes; then
20149
23017
 
20150
23018
cat >>confdefs.h <<_ACEOF
20159
23027
# it might be somewhere other than libiberty, but does cover the
20160
23028
# mingw32 case.
20161
23029
 
20162
 
echo "$as_me:$LINENO: checking for getopt" >&5
20163
 
echo $ECHO_N "checking for getopt... $ECHO_C" >&6
 
23030
{ echo "$as_me:$LINENO: checking for getopt" >&5
 
23031
echo $ECHO_N "checking for getopt... $ECHO_C" >&6; }
20164
23032
if test "${ac_cv_func_getopt+set}" = set; then
20165
23033
  echo $ECHO_N "(cached) $ECHO_C" >&6
20166
23034
else
20187
23055
 
20188
23056
#undef getopt
20189
23057
 
20190
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23058
/* Override any GCC internal prototype to avoid an error.
 
23059
   Use char because int might match the return type of a GCC
 
23060
   builtin and then its argument prototype would still apply.  */
20191
23061
#ifdef __cplusplus
20192
23062
extern "C"
20193
 
{
20194
23063
#endif
20195
 
/* We use char because int might match the return type of a gcc2
20196
 
   builtin and then its argument prototype would still apply.  */
20197
23064
char getopt ();
20198
23065
/* The GNU C library defines this for functions which it implements
20199
23066
    to always fail with ENOSYS.  Some functions are actually named
20200
23067
    something starting with __ and the normal name is an alias.  */
20201
 
#if defined (__stub_getopt) || defined (__stub___getopt)
 
23068
#if defined __stub_getopt || defined __stub___getopt
20202
23069
choke me
20203
 
#else
20204
 
char (*f) () = getopt;
20205
 
#endif
20206
 
#ifdef __cplusplus
20207
 
}
20208
23070
#endif
20209
23071
 
20210
23072
int
20211
23073
main ()
20212
23074
{
20213
 
return f != getopt;
 
23075
return getopt ();
20214
23076
  ;
20215
23077
  return 0;
20216
23078
}
20217
23079
_ACEOF
20218
23080
rm -f conftest.$ac_objext conftest$ac_exeext
20219
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20220
 
  (eval $ac_link) 2>conftest.er1
 
23081
if { (ac_try="$ac_link"
 
23082
case "(($ac_try" in
 
23083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23084
  *) ac_try_echo=$ac_try;;
 
23085
esac
 
23086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23087
  (eval "$ac_link") 2>conftest.er1
20221
23088
  ac_status=$?
20222
23089
  grep -v '^ *+' conftest.er1 >conftest.err
20223
23090
  rm -f conftest.er1
20224
23091
  cat conftest.err >&5
20225
23092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226
23093
  (exit $ac_status); } &&
20227
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20228
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229
 
  (eval $ac_try) 2>&5
 
23094
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23095
  { (case "(($ac_try" in
 
23096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23097
  *) ac_try_echo=$ac_try;;
 
23098
esac
 
23099
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23100
  (eval "$ac_try") 2>&5
20230
23101
  ac_status=$?
20231
23102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232
23103
  (exit $ac_status); }; } &&
20233
23104
         { ac_try='test -s conftest$ac_exeext'
20234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235
 
  (eval $ac_try) 2>&5
 
23105
  { (case "(($ac_try" in
 
23106
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23107
  *) ac_try_echo=$ac_try;;
 
23108
esac
 
23109
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23110
  (eval "$ac_try") 2>&5
20236
23111
  ac_status=$?
20237
23112
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238
23113
  (exit $ac_status); }; }; then
20241
23116
  echo "$as_me: failed program was:" >&5
20242
23117
sed 's/^/| /' conftest.$ac_ext >&5
20243
23118
 
20244
 
ac_cv_func_getopt=no
 
23119
        ac_cv_func_getopt=no
20245
23120
fi
20246
 
rm -f conftest.err conftest.$ac_objext \
 
23121
 
 
23122
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20247
23123
      conftest$ac_exeext conftest.$ac_ext
20248
23124
fi
20249
 
echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
20250
 
echo "${ECHO_T}$ac_cv_func_getopt" >&6
 
23125
{ echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
 
23126
echo "${ECHO_T}$ac_cv_func_getopt" >&6; }
20251
23127
if test $ac_cv_func_getopt = yes; then
20252
23128
  :
20253
23129
else
20254
 
  echo "$as_me:$LINENO: checking for getopt in -liberty" >&5
20255
 
echo $ECHO_N "checking for getopt in -liberty... $ECHO_C" >&6
 
23130
  { echo "$as_me:$LINENO: checking for getopt in -liberty" >&5
 
23131
echo $ECHO_N "checking for getopt in -liberty... $ECHO_C" >&6; }
20256
23132
if test "${ac_cv_lib_iberty_getopt+set}" = set; then
20257
23133
  echo $ECHO_N "(cached) $ECHO_C" >&6
20258
23134
else
20265
23141
cat >>conftest.$ac_ext <<_ACEOF
20266
23142
/* end confdefs.h.  */
20267
23143
 
20268
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23144
/* Override any GCC internal prototype to avoid an error.
 
23145
   Use char because int might match the return type of a GCC
 
23146
   builtin and then its argument prototype would still apply.  */
20269
23147
#ifdef __cplusplus
20270
23148
extern "C"
20271
23149
#endif
20272
 
/* We use char because int might match the return type of a gcc2
20273
 
   builtin and then its argument prototype would still apply.  */
20274
23150
char getopt ();
20275
23151
int
20276
23152
main ()
20277
23153
{
20278
 
getopt ();
 
23154
return getopt ();
20279
23155
  ;
20280
23156
  return 0;
20281
23157
}
20282
23158
_ACEOF
20283
23159
rm -f conftest.$ac_objext conftest$ac_exeext
20284
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20285
 
  (eval $ac_link) 2>conftest.er1
 
23160
if { (ac_try="$ac_link"
 
23161
case "(($ac_try" in
 
23162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23163
  *) ac_try_echo=$ac_try;;
 
23164
esac
 
23165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23166
  (eval "$ac_link") 2>conftest.er1
20286
23167
  ac_status=$?
20287
23168
  grep -v '^ *+' conftest.er1 >conftest.err
20288
23169
  rm -f conftest.er1
20289
23170
  cat conftest.err >&5
20290
23171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291
23172
  (exit $ac_status); } &&
20292
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294
 
  (eval $ac_try) 2>&5
 
23173
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23174
  { (case "(($ac_try" in
 
23175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23176
  *) ac_try_echo=$ac_try;;
 
23177
esac
 
23178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23179
  (eval "$ac_try") 2>&5
20295
23180
  ac_status=$?
20296
23181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297
23182
  (exit $ac_status); }; } &&
20298
23183
         { ac_try='test -s conftest$ac_exeext'
20299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300
 
  (eval $ac_try) 2>&5
 
23184
  { (case "(($ac_try" in
 
23185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23186
  *) ac_try_echo=$ac_try;;
 
23187
esac
 
23188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23189
  (eval "$ac_try") 2>&5
20301
23190
  ac_status=$?
20302
23191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303
23192
  (exit $ac_status); }; }; then
20306
23195
  echo "$as_me: failed program was:" >&5
20307
23196
sed 's/^/| /' conftest.$ac_ext >&5
20308
23197
 
20309
 
ac_cv_lib_iberty_getopt=no
 
23198
        ac_cv_lib_iberty_getopt=no
20310
23199
fi
20311
 
rm -f conftest.err conftest.$ac_objext \
 
23200
 
 
23201
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20312
23202
      conftest$ac_exeext conftest.$ac_ext
20313
23203
LIBS=$ac_check_lib_save_LIBS
20314
23204
fi
20315
 
echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_getopt" >&5
20316
 
echo "${ECHO_T}$ac_cv_lib_iberty_getopt" >&6
 
23205
{ echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_getopt" >&5
 
23206
echo "${ECHO_T}$ac_cv_lib_iberty_getopt" >&6; }
20317
23207
if test $ac_cv_lib_iberty_getopt = yes; then
20318
23208
  GETOPT="-liberty"
20319
23209
 
20327
23217
# it is broken.  It has been reported that some Solaris and HP UX systems
20328
23218
# raise an SIGILL
20329
23219
#
20330
 
echo "$as_me:$LINENO: checking for gethrtime" >&5
20331
 
echo $ECHO_N "checking for gethrtime... $ECHO_C" >&6
 
23220
{ echo "$as_me:$LINENO: checking for gethrtime" >&5
 
23221
echo $ECHO_N "checking for gethrtime... $ECHO_C" >&6; }
20332
23222
if test "${gnupg_cv_func_gethrtime+set}" = set; then
20333
23223
  echo $ECHO_N "(cached) $ECHO_C" >&6
20334
23224
else
20351
23241
}
20352
23242
_ACEOF
20353
23243
rm -f conftest.$ac_objext conftest$ac_exeext
20354
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20355
 
  (eval $ac_link) 2>conftest.er1
 
23244
if { (ac_try="$ac_link"
 
23245
case "(($ac_try" in
 
23246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23247
  *) ac_try_echo=$ac_try;;
 
23248
esac
 
23249
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23250
  (eval "$ac_link") 2>conftest.er1
20356
23251
  ac_status=$?
20357
23252
  grep -v '^ *+' conftest.er1 >conftest.err
20358
23253
  rm -f conftest.er1
20359
23254
  cat conftest.err >&5
20360
23255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361
23256
  (exit $ac_status); } &&
20362
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20363
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364
 
  (eval $ac_try) 2>&5
 
23257
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23258
  { (case "(($ac_try" in
 
23259
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23260
  *) ac_try_echo=$ac_try;;
 
23261
esac
 
23262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23263
  (eval "$ac_try") 2>&5
20365
23264
  ac_status=$?
20366
23265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367
23266
  (exit $ac_status); }; } &&
20368
23267
         { ac_try='test -s conftest$ac_exeext'
20369
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370
 
  (eval $ac_try) 2>&5
 
23268
  { (case "(($ac_try" in
 
23269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23270
  *) ac_try_echo=$ac_try;;
 
23271
esac
 
23272
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23273
  (eval "$ac_try") 2>&5
20371
23274
  ac_status=$?
20372
23275
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373
23276
  (exit $ac_status); }; }; then
20376
23279
  echo "$as_me: failed program was:" >&5
20377
23280
sed 's/^/| /' conftest.$ac_ext >&5
20378
23281
 
20379
 
gnupg_cv_func_gethrtime=no
 
23282
        gnupg_cv_func_gethrtime=no
20380
23283
fi
20381
 
rm -f conftest.err conftest.$ac_objext \
 
23284
 
 
23285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20382
23286
      conftest$ac_exeext conftest.$ac_ext
20383
23287
 
20384
23288
fi
20385
 
echo "$as_me:$LINENO: result: $gnupg_cv_func_gethrtime" >&5
20386
 
echo "${ECHO_T}$gnupg_cv_func_gethrtime" >&6
 
23289
{ echo "$as_me:$LINENO: result: $gnupg_cv_func_gethrtime" >&5
 
23290
echo "${ECHO_T}$gnupg_cv_func_gethrtime" >&6; }
20387
23291
if test $gnupg_cv_func_gethrtime = yes; then
20388
23292
 
20389
23293
cat >>confdefs.h <<\_ACEOF
20390
23294
#define HAVE_GETHRTIME 1
20391
23295
_ACEOF
20392
23296
 
20393
 
     echo "$as_me:$LINENO: checking whether gethrtime is broken" >&5
20394
 
echo $ECHO_N "checking whether gethrtime is broken... $ECHO_C" >&6
 
23297
     { echo "$as_me:$LINENO: checking whether gethrtime is broken" >&5
 
23298
echo $ECHO_N "checking whether gethrtime is broken... $ECHO_C" >&6; }
20395
23299
if test "${gnupg_cv_func_broken_gethrtime+set}" = set; then
20396
23300
  echo $ECHO_N "(cached) $ECHO_C" >&6
20397
23301
else
20413
23317
 
20414
23318
_ACEOF
20415
23319
rm -f conftest$ac_exeext
20416
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20417
 
  (eval $ac_link) 2>&5
 
23320
if { (ac_try="$ac_link"
 
23321
case "(($ac_try" in
 
23322
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23323
  *) ac_try_echo=$ac_try;;
 
23324
esac
 
23325
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23326
  (eval "$ac_link") 2>&5
20418
23327
  ac_status=$?
20419
23328
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420
23329
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422
 
  (eval $ac_try) 2>&5
 
23330
  { (case "(($ac_try" in
 
23331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23332
  *) ac_try_echo=$ac_try;;
 
23333
esac
 
23334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23335
  (eval "$ac_try") 2>&5
20423
23336
  ac_status=$?
20424
23337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425
23338
  (exit $ac_status); }; }; then
20432
23345
( exit $ac_status )
20433
23346
gnupg_cv_func_broken_gethrtime=yes
20434
23347
fi
20435
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20436
 
fi
20437
 
 
20438
 
fi
20439
 
echo "$as_me:$LINENO: result: $gnupg_cv_func_broken_gethrtime" >&5
20440
 
echo "${ECHO_T}$gnupg_cv_func_broken_gethrtime" >&6
 
23348
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23349
fi
 
23350
 
 
23351
 
 
23352
 
 
23353
fi
 
23354
{ echo "$as_me:$LINENO: result: $gnupg_cv_func_broken_gethrtime" >&5
 
23355
echo "${ECHO_T}$gnupg_cv_func_broken_gethrtime" >&6; }
20441
23356
    if test $gnupg_cv_func_broken_gethrtime = yes; then
20442
23357
 
20443
23358
cat >>confdefs.h <<\_ACEOF
20452
23367
for ac_func in mlock
20453
23368
do
20454
23369
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20455
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20456
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20457
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23370
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23371
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23372
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20458
23373
  echo $ECHO_N "(cached) $ECHO_C" >&6
20459
23374
else
20460
23375
  cat >conftest.$ac_ext <<_ACEOF
20480
23395
 
20481
23396
#undef $ac_func
20482
23397
 
20483
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23398
/* Override any GCC internal prototype to avoid an error.
 
23399
   Use char because int might match the return type of a GCC
 
23400
   builtin and then its argument prototype would still apply.  */
20484
23401
#ifdef __cplusplus
20485
23402
extern "C"
20486
 
{
20487
23403
#endif
20488
 
/* We use char because int might match the return type of a gcc2
20489
 
   builtin and then its argument prototype would still apply.  */
20490
23404
char $ac_func ();
20491
23405
/* The GNU C library defines this for functions which it implements
20492
23406
    to always fail with ENOSYS.  Some functions are actually named
20493
23407
    something starting with __ and the normal name is an alias.  */
20494
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23408
#if defined __stub_$ac_func || defined __stub___$ac_func
20495
23409
choke me
20496
 
#else
20497
 
char (*f) () = $ac_func;
20498
 
#endif
20499
 
#ifdef __cplusplus
20500
 
}
20501
23410
#endif
20502
23411
 
20503
23412
int
20504
23413
main ()
20505
23414
{
20506
 
return f != $ac_func;
 
23415
return $ac_func ();
20507
23416
  ;
20508
23417
  return 0;
20509
23418
}
20510
23419
_ACEOF
20511
23420
rm -f conftest.$ac_objext conftest$ac_exeext
20512
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20513
 
  (eval $ac_link) 2>conftest.er1
 
23421
if { (ac_try="$ac_link"
 
23422
case "(($ac_try" in
 
23423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23424
  *) ac_try_echo=$ac_try;;
 
23425
esac
 
23426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23427
  (eval "$ac_link") 2>conftest.er1
20514
23428
  ac_status=$?
20515
23429
  grep -v '^ *+' conftest.er1 >conftest.err
20516
23430
  rm -f conftest.er1
20517
23431
  cat conftest.err >&5
20518
23432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519
23433
  (exit $ac_status); } &&
20520
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20521
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20522
 
  (eval $ac_try) 2>&5
 
23434
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23435
  { (case "(($ac_try" in
 
23436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23437
  *) ac_try_echo=$ac_try;;
 
23438
esac
 
23439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23440
  (eval "$ac_try") 2>&5
20523
23441
  ac_status=$?
20524
23442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525
23443
  (exit $ac_status); }; } &&
20526
23444
         { ac_try='test -s conftest$ac_exeext'
20527
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528
 
  (eval $ac_try) 2>&5
 
23445
  { (case "(($ac_try" in
 
23446
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23447
  *) ac_try_echo=$ac_try;;
 
23448
esac
 
23449
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23450
  (eval "$ac_try") 2>&5
20529
23451
  ac_status=$?
20530
23452
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531
23453
  (exit $ac_status); }; }; then
20534
23456
  echo "$as_me: failed program was:" >&5
20535
23457
sed 's/^/| /' conftest.$ac_ext >&5
20536
23458
 
20537
 
eval "$as_ac_var=no"
 
23459
        eval "$as_ac_var=no"
20538
23460
fi
20539
 
rm -f conftest.err conftest.$ac_objext \
 
23461
 
 
23462
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20540
23463
      conftest$ac_exeext conftest.$ac_ext
20541
23464
fi
20542
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20543
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23465
ac_res=`eval echo '${'$as_ac_var'}'`
 
23466
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23467
echo "${ECHO_T}$ac_res" >&6; }
20544
23468
if test `eval echo '${'$as_ac_var'}'` = yes; then
20545
23469
  cat >>confdefs.h <<_ACEOF
20546
23470
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20554
23478
for ac_header in sys/mman.h
20555
23479
do
20556
23480
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20557
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20558
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20559
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20560
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23481
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23482
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23483
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23484
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20561
23485
  echo $ECHO_N "(cached) $ECHO_C" >&6
20562
23486
fi
20563
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20564
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23487
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23488
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23489
echo "${ECHO_T}$ac_res" >&6; }
20565
23490
else
20566
23491
  # Is the header compilable?
20567
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20568
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
23492
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23493
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20569
23494
cat >conftest.$ac_ext <<_ACEOF
20570
23495
/* confdefs.h.  */
20571
23496
_ACEOF
20576
23501
#include <$ac_header>
20577
23502
_ACEOF
20578
23503
rm -f conftest.$ac_objext
20579
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20580
 
  (eval $ac_compile) 2>conftest.er1
 
23504
if { (ac_try="$ac_compile"
 
23505
case "(($ac_try" in
 
23506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23507
  *) ac_try_echo=$ac_try;;
 
23508
esac
 
23509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23510
  (eval "$ac_compile") 2>conftest.er1
20581
23511
  ac_status=$?
20582
23512
  grep -v '^ *+' conftest.er1 >conftest.err
20583
23513
  rm -f conftest.er1
20584
23514
  cat conftest.err >&5
20585
23515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586
23516
  (exit $ac_status); } &&
20587
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589
 
  (eval $ac_try) 2>&5
 
23517
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23518
  { (case "(($ac_try" in
 
23519
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23520
  *) ac_try_echo=$ac_try;;
 
23521
esac
 
23522
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23523
  (eval "$ac_try") 2>&5
20590
23524
  ac_status=$?
20591
23525
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592
23526
  (exit $ac_status); }; } &&
20593
23527
         { ac_try='test -s conftest.$ac_objext'
20594
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595
 
  (eval $ac_try) 2>&5
 
23528
  { (case "(($ac_try" in
 
23529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23530
  *) ac_try_echo=$ac_try;;
 
23531
esac
 
23532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23533
  (eval "$ac_try") 2>&5
20596
23534
  ac_status=$?
20597
23535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598
23536
  (exit $ac_status); }; }; then
20601
23539
  echo "$as_me: failed program was:" >&5
20602
23540
sed 's/^/| /' conftest.$ac_ext >&5
20603
23541
 
20604
 
ac_header_compiler=no
 
23542
        ac_header_compiler=no
20605
23543
fi
20606
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20607
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20608
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
23544
 
 
23545
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23546
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23547
echo "${ECHO_T}$ac_header_compiler" >&6; }
20609
23548
 
20610
23549
# Is the header present?
20611
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20612
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
23550
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23551
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20613
23552
cat >conftest.$ac_ext <<_ACEOF
20614
23553
/* confdefs.h.  */
20615
23554
_ACEOF
20618
23557
/* end confdefs.h.  */
20619
23558
#include <$ac_header>
20620
23559
_ACEOF
20621
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20622
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
23560
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23561
case "(($ac_try" in
 
23562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23563
  *) ac_try_echo=$ac_try;;
 
23564
esac
 
23565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23566
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20623
23567
  ac_status=$?
20624
23568
  grep -v '^ *+' conftest.er1 >conftest.err
20625
23569
  rm -f conftest.er1
20643
23587
 
20644
23588
  ac_header_preproc=no
20645
23589
fi
 
23590
 
20646
23591
rm -f conftest.err conftest.$ac_ext
20647
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20648
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
23592
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23593
echo "${ECHO_T}$ac_header_preproc" >&6; }
20649
23594
 
20650
23595
# So?  What about this header?
20651
23596
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20669
23614
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20670
23615
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20671
23616
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20672
 
    (
20673
 
      cat <<\_ASBOX
 
23617
    ( cat <<\_ASBOX
20674
23618
## -------------------------------- ##
20675
23619
## Report this to bug-gnupg@gnu.org ##
20676
23620
## -------------------------------- ##
20677
23621
_ASBOX
20678
 
    ) |
20679
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
23622
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20680
23623
    ;;
20681
23624
esac
20682
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20683
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20684
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
23625
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23626
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23627
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20685
23628
  echo $ECHO_N "(cached) $ECHO_C" >&6
20686
23629
else
20687
23630
  eval "$as_ac_Header=\$ac_header_preproc"
20688
23631
fi
20689
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20690
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
23632
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23633
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23634
echo "${ECHO_T}$ac_res" >&6; }
20691
23635
 
20692
23636
fi
20693
23637
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20702
23646
        if test "$ac_cv_header_sys_mman_h" = "yes"; then
20703
23647
            # Add librt to LIBS:
20704
23648
 
20705
 
echo "$as_me:$LINENO: checking for memlk in -lrt" >&5
20706
 
echo $ECHO_N "checking for memlk in -lrt... $ECHO_C" >&6
 
23649
{ echo "$as_me:$LINENO: checking for memlk in -lrt" >&5
 
23650
echo $ECHO_N "checking for memlk in -lrt... $ECHO_C" >&6; }
20707
23651
if test "${ac_cv_lib_rt_memlk+set}" = set; then
20708
23652
  echo $ECHO_N "(cached) $ECHO_C" >&6
20709
23653
else
20716
23660
cat >>conftest.$ac_ext <<_ACEOF
20717
23661
/* end confdefs.h.  */
20718
23662
 
20719
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23663
/* Override any GCC internal prototype to avoid an error.
 
23664
   Use char because int might match the return type of a GCC
 
23665
   builtin and then its argument prototype would still apply.  */
20720
23666
#ifdef __cplusplus
20721
23667
extern "C"
20722
23668
#endif
20723
 
/* We use char because int might match the return type of a gcc2
20724
 
   builtin and then its argument prototype would still apply.  */
20725
23669
char memlk ();
20726
23670
int
20727
23671
main ()
20728
23672
{
20729
 
memlk ();
 
23673
return memlk ();
20730
23674
  ;
20731
23675
  return 0;
20732
23676
}
20733
23677
_ACEOF
20734
23678
rm -f conftest.$ac_objext conftest$ac_exeext
20735
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20736
 
  (eval $ac_link) 2>conftest.er1
 
23679
if { (ac_try="$ac_link"
 
23680
case "(($ac_try" in
 
23681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23682
  *) ac_try_echo=$ac_try;;
 
23683
esac
 
23684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23685
  (eval "$ac_link") 2>conftest.er1
20737
23686
  ac_status=$?
20738
23687
  grep -v '^ *+' conftest.er1 >conftest.err
20739
23688
  rm -f conftest.er1
20740
23689
  cat conftest.err >&5
20741
23690
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742
23691
  (exit $ac_status); } &&
20743
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745
 
  (eval $ac_try) 2>&5
 
23692
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23693
  { (case "(($ac_try" in
 
23694
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23695
  *) ac_try_echo=$ac_try;;
 
23696
esac
 
23697
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23698
  (eval "$ac_try") 2>&5
20746
23699
  ac_status=$?
20747
23700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748
23701
  (exit $ac_status); }; } &&
20749
23702
         { ac_try='test -s conftest$ac_exeext'
20750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751
 
  (eval $ac_try) 2>&5
 
23703
  { (case "(($ac_try" in
 
23704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23705
  *) ac_try_echo=$ac_try;;
 
23706
esac
 
23707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23708
  (eval "$ac_try") 2>&5
20752
23709
  ac_status=$?
20753
23710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754
23711
  (exit $ac_status); }; }; then
20757
23714
  echo "$as_me: failed program was:" >&5
20758
23715
sed 's/^/| /' conftest.$ac_ext >&5
20759
23716
 
20760
 
ac_cv_lib_rt_memlk=no
 
23717
        ac_cv_lib_rt_memlk=no
20761
23718
fi
20762
 
rm -f conftest.err conftest.$ac_objext \
 
23719
 
 
23720
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20763
23721
      conftest$ac_exeext conftest.$ac_ext
20764
23722
LIBS=$ac_check_lib_save_LIBS
20765
23723
fi
20766
 
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_memlk" >&5
20767
 
echo "${ECHO_T}$ac_cv_lib_rt_memlk" >&6
 
23724
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_memlk" >&5
 
23725
echo "${ECHO_T}$ac_cv_lib_rt_memlk" >&6; }
20768
23726
if test $ac_cv_lib_rt_memlk = yes; then
20769
23727
  cat >>confdefs.h <<_ACEOF
20770
23728
#define HAVE_LIBRT 1
20774
23732
 
20775
23733
fi
20776
23734
 
20777
 
            echo "$as_me:$LINENO: checking whether mlock is in sys/mman.h" >&5
20778
 
echo $ECHO_N "checking whether mlock is in sys/mman.h... $ECHO_C" >&6
 
23735
            { echo "$as_me:$LINENO: checking whether mlock is in sys/mman.h" >&5
 
23736
echo $ECHO_N "checking whether mlock is in sys/mman.h... $ECHO_C" >&6; }
20779
23737
if test "${gnupg_cv_mlock_is_in_sys_mman+set}" = set; then
20780
23738
  echo $ECHO_N "(cached) $ECHO_C" >&6
20781
23739
else
20813
23771
}
20814
23772
_ACEOF
20815
23773
rm -f conftest.$ac_objext conftest$ac_exeext
20816
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20817
 
  (eval $ac_link) 2>conftest.er1
 
23774
if { (ac_try="$ac_link"
 
23775
case "(($ac_try" in
 
23776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23777
  *) ac_try_echo=$ac_try;;
 
23778
esac
 
23779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23780
  (eval "$ac_link") 2>conftest.er1
20818
23781
  ac_status=$?
20819
23782
  grep -v '^ *+' conftest.er1 >conftest.err
20820
23783
  rm -f conftest.er1
20821
23784
  cat conftest.err >&5
20822
23785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823
23786
  (exit $ac_status); } &&
20824
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20825
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826
 
  (eval $ac_try) 2>&5
 
23787
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23788
  { (case "(($ac_try" in
 
23789
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23790
  *) ac_try_echo=$ac_try;;
 
23791
esac
 
23792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23793
  (eval "$ac_try") 2>&5
20827
23794
  ac_status=$?
20828
23795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829
23796
  (exit $ac_status); }; } &&
20830
23797
         { ac_try='test -s conftest$ac_exeext'
20831
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832
 
  (eval $ac_try) 2>&5
 
23798
  { (case "(($ac_try" in
 
23799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23800
  *) ac_try_echo=$ac_try;;
 
23801
esac
 
23802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23803
  (eval "$ac_try") 2>&5
20833
23804
  ac_status=$?
20834
23805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835
23806
  (exit $ac_status); }; }; then
20838
23809
  echo "$as_me: failed program was:" >&5
20839
23810
sed 's/^/| /' conftest.$ac_ext >&5
20840
23811
 
20841
 
gnupg_cv_mlock_is_in_sys_mman=no
 
23812
        gnupg_cv_mlock_is_in_sys_mman=no
20842
23813
fi
20843
 
rm -f conftest.err conftest.$ac_objext \
 
23814
 
 
23815
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20844
23816
      conftest$ac_exeext conftest.$ac_ext
20845
23817
fi
20846
 
echo "$as_me:$LINENO: result: $gnupg_cv_mlock_is_in_sys_mman" >&5
20847
 
echo "${ECHO_T}$gnupg_cv_mlock_is_in_sys_mman" >&6
 
23818
{ echo "$as_me:$LINENO: result: $gnupg_cv_mlock_is_in_sys_mman" >&5
 
23819
echo "${ECHO_T}$gnupg_cv_mlock_is_in_sys_mman" >&6; }
20848
23820
            if test "$gnupg_cv_mlock_is_in_sys_mman" = "yes"; then
20849
23821
 
20850
23822
cat >>confdefs.h <<\_ACEOF
20855
23827
        fi
20856
23828
    fi
20857
23829
    if test "$ac_cv_func_mlock" = "yes"; then
20858
 
        echo "$as_me:$LINENO: checking whether mlock is broken" >&5
20859
 
echo $ECHO_N "checking whether mlock is broken... $ECHO_C" >&6
 
23830
        { echo "$as_me:$LINENO: checking whether mlock is broken" >&5
 
23831
echo $ECHO_N "checking whether mlock is broken... $ECHO_C" >&6; }
20860
23832
          if test "${gnupg_cv_have_broken_mlock+set}" = set; then
20861
23833
  echo $ECHO_N "(cached) $ECHO_C" >&6
20862
23834
else
20899
23871
 
20900
23872
_ACEOF
20901
23873
rm -f conftest$ac_exeext
20902
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20903
 
  (eval $ac_link) 2>&5
 
23874
if { (ac_try="$ac_link"
 
23875
case "(($ac_try" in
 
23876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23877
  *) ac_try_echo=$ac_try;;
 
23878
esac
 
23879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23880
  (eval "$ac_link") 2>&5
20904
23881
  ac_status=$?
20905
23882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906
23883
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20907
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908
 
  (eval $ac_try) 2>&5
 
23884
  { (case "(($ac_try" in
 
23885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23886
  *) ac_try_echo=$ac_try;;
 
23887
esac
 
23888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23889
  (eval "$ac_try") 2>&5
20909
23890
  ac_status=$?
20910
23891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911
23892
  (exit $ac_status); }; }; then
20918
23899
( exit $ac_status )
20919
23900
gnupg_cv_have_broken_mlock="yes"
20920
23901
fi
20921
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
23902
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20922
23903
fi
 
23904
 
 
23905
 
20923
23906
 
20924
23907
fi
20925
23908
 
20929
23912
#define HAVE_BROKEN_MLOCK 1
20930
23913
_ACEOF
20931
23914
 
20932
 
             echo "$as_me:$LINENO: result: yes" >&5
20933
 
echo "${ECHO_T}yes" >&6
 
23915
             { echo "$as_me:$LINENO: result: yes" >&5
 
23916
echo "${ECHO_T}yes" >&6; }
20934
23917
 
20935
23918
for ac_func in plock
20936
23919
do
20937
23920
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20938
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
20939
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20940
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23921
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23922
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23923
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20941
23924
  echo $ECHO_N "(cached) $ECHO_C" >&6
20942
23925
else
20943
23926
  cat >conftest.$ac_ext <<_ACEOF
20963
23946
 
20964
23947
#undef $ac_func
20965
23948
 
20966
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23949
/* Override any GCC internal prototype to avoid an error.
 
23950
   Use char because int might match the return type of a GCC
 
23951
   builtin and then its argument prototype would still apply.  */
20967
23952
#ifdef __cplusplus
20968
23953
extern "C"
20969
 
{
20970
23954
#endif
20971
 
/* We use char because int might match the return type of a gcc2
20972
 
   builtin and then its argument prototype would still apply.  */
20973
23955
char $ac_func ();
20974
23956
/* The GNU C library defines this for functions which it implements
20975
23957
    to always fail with ENOSYS.  Some functions are actually named
20976
23958
    something starting with __ and the normal name is an alias.  */
20977
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23959
#if defined __stub_$ac_func || defined __stub___$ac_func
20978
23960
choke me
20979
 
#else
20980
 
char (*f) () = $ac_func;
20981
 
#endif
20982
 
#ifdef __cplusplus
20983
 
}
20984
23961
#endif
20985
23962
 
20986
23963
int
20987
23964
main ()
20988
23965
{
20989
 
return f != $ac_func;
 
23966
return $ac_func ();
20990
23967
  ;
20991
23968
  return 0;
20992
23969
}
20993
23970
_ACEOF
20994
23971
rm -f conftest.$ac_objext conftest$ac_exeext
20995
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20996
 
  (eval $ac_link) 2>conftest.er1
 
23972
if { (ac_try="$ac_link"
 
23973
case "(($ac_try" in
 
23974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23975
  *) ac_try_echo=$ac_try;;
 
23976
esac
 
23977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23978
  (eval "$ac_link") 2>conftest.er1
20997
23979
  ac_status=$?
20998
23980
  grep -v '^ *+' conftest.er1 >conftest.err
20999
23981
  rm -f conftest.er1
21000
23982
  cat conftest.err >&5
21001
23983
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002
23984
  (exit $ac_status); } &&
21003
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21004
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005
 
  (eval $ac_try) 2>&5
 
23985
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
23986
  { (case "(($ac_try" in
 
23987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23988
  *) ac_try_echo=$ac_try;;
 
23989
esac
 
23990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23991
  (eval "$ac_try") 2>&5
21006
23992
  ac_status=$?
21007
23993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008
23994
  (exit $ac_status); }; } &&
21009
23995
         { ac_try='test -s conftest$ac_exeext'
21010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011
 
  (eval $ac_try) 2>&5
 
23996
  { (case "(($ac_try" in
 
23997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23998
  *) ac_try_echo=$ac_try;;
 
23999
esac
 
24000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24001
  (eval "$ac_try") 2>&5
21012
24002
  ac_status=$?
21013
24003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014
24004
  (exit $ac_status); }; }; then
21017
24007
  echo "$as_me: failed program was:" >&5
21018
24008
sed 's/^/| /' conftest.$ac_ext >&5
21019
24009
 
21020
 
eval "$as_ac_var=no"
 
24010
        eval "$as_ac_var=no"
21021
24011
fi
21022
 
rm -f conftest.err conftest.$ac_objext \
 
24012
 
 
24013
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21023
24014
      conftest$ac_exeext conftest.$ac_ext
21024
24015
fi
21025
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21026
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
24016
ac_res=`eval echo '${'$as_ac_var'}'`
 
24017
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24018
echo "${ECHO_T}$ac_res" >&6; }
21027
24019
if test `eval echo '${'$as_ac_var'}'` = yes; then
21028
24020
  cat >>confdefs.h <<_ACEOF
21029
24021
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21034
24026
 
21035
24027
         else
21036
24028
            if test "$gnupg_cv_have_broken_mlock" = "no"; then
21037
 
                echo "$as_me:$LINENO: result: no" >&5
21038
 
echo "${ECHO_T}no" >&6
 
24029
                { echo "$as_me:$LINENO: result: no" >&5
 
24030
echo "${ECHO_T}no" >&6; }
21039
24031
            else
21040
 
                echo "$as_me:$LINENO: result: assuming no" >&5
21041
 
echo "${ECHO_T}assuming no" >&6
 
24032
                { echo "$as_me:$LINENO: result: assuming no" >&5
 
24033
echo "${ECHO_T}assuming no" >&6; }
21042
24034
            fi
21043
24035
         fi
21044
24036
    fi
21049
24041
for ac_header in sys/stat.h unistd.h direct.h
21050
24042
do
21051
24043
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21052
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21053
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21054
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21055
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24044
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24045
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24046
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24047
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21056
24048
  echo $ECHO_N "(cached) $ECHO_C" >&6
21057
24049
fi
21058
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21059
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24050
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24051
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24052
echo "${ECHO_T}$ac_res" >&6; }
21060
24053
else
21061
24054
  # Is the header compilable?
21062
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21063
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24055
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24056
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21064
24057
cat >conftest.$ac_ext <<_ACEOF
21065
24058
/* confdefs.h.  */
21066
24059
_ACEOF
21071
24064
#include <$ac_header>
21072
24065
_ACEOF
21073
24066
rm -f conftest.$ac_objext
21074
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21075
 
  (eval $ac_compile) 2>conftest.er1
 
24067
if { (ac_try="$ac_compile"
 
24068
case "(($ac_try" in
 
24069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24070
  *) ac_try_echo=$ac_try;;
 
24071
esac
 
24072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24073
  (eval "$ac_compile") 2>conftest.er1
21076
24074
  ac_status=$?
21077
24075
  grep -v '^ *+' conftest.er1 >conftest.err
21078
24076
  rm -f conftest.er1
21079
24077
  cat conftest.err >&5
21080
24078
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081
24079
  (exit $ac_status); } &&
21082
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21083
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21084
 
  (eval $ac_try) 2>&5
 
24080
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24081
  { (case "(($ac_try" in
 
24082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24083
  *) ac_try_echo=$ac_try;;
 
24084
esac
 
24085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24086
  (eval "$ac_try") 2>&5
21085
24087
  ac_status=$?
21086
24088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087
24089
  (exit $ac_status); }; } &&
21088
24090
         { ac_try='test -s conftest.$ac_objext'
21089
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090
 
  (eval $ac_try) 2>&5
 
24091
  { (case "(($ac_try" in
 
24092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24093
  *) ac_try_echo=$ac_try;;
 
24094
esac
 
24095
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24096
  (eval "$ac_try") 2>&5
21091
24097
  ac_status=$?
21092
24098
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093
24099
  (exit $ac_status); }; }; then
21096
24102
  echo "$as_me: failed program was:" >&5
21097
24103
sed 's/^/| /' conftest.$ac_ext >&5
21098
24104
 
21099
 
ac_header_compiler=no
 
24105
        ac_header_compiler=no
21100
24106
fi
21101
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21102
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21103
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24107
 
 
24108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24109
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24110
echo "${ECHO_T}$ac_header_compiler" >&6; }
21104
24111
 
21105
24112
# Is the header present?
21106
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21107
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24113
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24114
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21108
24115
cat >conftest.$ac_ext <<_ACEOF
21109
24116
/* confdefs.h.  */
21110
24117
_ACEOF
21113
24120
/* end confdefs.h.  */
21114
24121
#include <$ac_header>
21115
24122
_ACEOF
21116
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21117
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24123
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24124
case "(($ac_try" in
 
24125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24126
  *) ac_try_echo=$ac_try;;
 
24127
esac
 
24128
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24129
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21118
24130
  ac_status=$?
21119
24131
  grep -v '^ *+' conftest.er1 >conftest.err
21120
24132
  rm -f conftest.er1
21138
24150
 
21139
24151
  ac_header_preproc=no
21140
24152
fi
 
24153
 
21141
24154
rm -f conftest.err conftest.$ac_ext
21142
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21143
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24155
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24156
echo "${ECHO_T}$ac_header_preproc" >&6; }
21144
24157
 
21145
24158
# So?  What about this header?
21146
24159
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21164
24177
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21165
24178
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21166
24179
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21167
 
    (
21168
 
      cat <<\_ASBOX
 
24180
    ( cat <<\_ASBOX
21169
24181
## -------------------------------- ##
21170
24182
## Report this to bug-gnupg@gnu.org ##
21171
24183
## -------------------------------- ##
21172
24184
_ASBOX
21173
 
    ) |
21174
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24185
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21175
24186
    ;;
21176
24187
esac
21177
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21178
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21179
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24188
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24189
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24190
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21180
24191
  echo $ECHO_N "(cached) $ECHO_C" >&6
21181
24192
else
21182
24193
  eval "$as_ac_Header=\$ac_header_preproc"
21183
24194
fi
21184
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21185
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24195
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24196
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24197
echo "${ECHO_T}$ac_res" >&6; }
21186
24198
 
21187
24199
fi
21188
24200
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21194
24206
 
21195
24207
done
21196
24208
 
21197
 
echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
21198
 
echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
 
24209
{ echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
 
24210
echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6; }
21199
24211
if test "${gnupg_cv_mkdir_takes_one_arg+set}" = set; then
21200
24212
  echo $ECHO_N "(cached) $ECHO_C" >&6
21201
24213
else
21225
24237
}
21226
24238
_ACEOF
21227
24239
rm -f conftest.$ac_objext
21228
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21229
 
  (eval $ac_compile) 2>conftest.er1
 
24240
if { (ac_try="$ac_compile"
 
24241
case "(($ac_try" in
 
24242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24243
  *) ac_try_echo=$ac_try;;
 
24244
esac
 
24245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24246
  (eval "$ac_compile") 2>conftest.er1
21230
24247
  ac_status=$?
21231
24248
  grep -v '^ *+' conftest.er1 >conftest.err
21232
24249
  rm -f conftest.er1
21233
24250
  cat conftest.err >&5
21234
24251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235
24252
  (exit $ac_status); } &&
21236
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21237
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238
 
  (eval $ac_try) 2>&5
 
24253
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24254
  { (case "(($ac_try" in
 
24255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24256
  *) ac_try_echo=$ac_try;;
 
24257
esac
 
24258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24259
  (eval "$ac_try") 2>&5
21239
24260
  ac_status=$?
21240
24261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241
24262
  (exit $ac_status); }; } &&
21242
24263
         { ac_try='test -s conftest.$ac_objext'
21243
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244
 
  (eval $ac_try) 2>&5
 
24264
  { (case "(($ac_try" in
 
24265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24266
  *) ac_try_echo=$ac_try;;
 
24267
esac
 
24268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24269
  (eval "$ac_try") 2>&5
21245
24270
  ac_status=$?
21246
24271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247
24272
  (exit $ac_status); }; }; then
21250
24275
  echo "$as_me: failed program was:" >&5
21251
24276
sed 's/^/| /' conftest.$ac_ext >&5
21252
24277
 
21253
 
gnupg_cv_mkdir_takes_one_arg=yes
21254
 
fi
21255
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256
 
fi
21257
 
echo "$as_me:$LINENO: result: $gnupg_cv_mkdir_takes_one_arg" >&5
21258
 
echo "${ECHO_T}$gnupg_cv_mkdir_takes_one_arg" >&6
 
24278
        gnupg_cv_mkdir_takes_one_arg=yes
 
24279
fi
 
24280
 
 
24281
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24282
fi
 
24283
{ echo "$as_me:$LINENO: result: $gnupg_cv_mkdir_takes_one_arg" >&5
 
24284
echo "${ECHO_T}$gnupg_cv_mkdir_takes_one_arg" >&6; }
21259
24285
if test $gnupg_cv_mkdir_takes_one_arg = yes ; then
21260
24286
 
21261
24287
cat >>confdefs.h <<\_ACEOF
21281
24307
for ac_header in sys/capability.h
21282
24308
do
21283
24309
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21284
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21285
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21286
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21287
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24310
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24311
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24312
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24313
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21288
24314
  echo $ECHO_N "(cached) $ECHO_C" >&6
21289
24315
fi
21290
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21291
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24316
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24317
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24318
echo "${ECHO_T}$ac_res" >&6; }
21292
24319
else
21293
24320
  # Is the header compilable?
21294
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21295
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24321
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24322
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21296
24323
cat >conftest.$ac_ext <<_ACEOF
21297
24324
/* confdefs.h.  */
21298
24325
_ACEOF
21303
24330
#include <$ac_header>
21304
24331
_ACEOF
21305
24332
rm -f conftest.$ac_objext
21306
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21307
 
  (eval $ac_compile) 2>conftest.er1
 
24333
if { (ac_try="$ac_compile"
 
24334
case "(($ac_try" in
 
24335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24336
  *) ac_try_echo=$ac_try;;
 
24337
esac
 
24338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24339
  (eval "$ac_compile") 2>conftest.er1
21308
24340
  ac_status=$?
21309
24341
  grep -v '^ *+' conftest.er1 >conftest.err
21310
24342
  rm -f conftest.er1
21311
24343
  cat conftest.err >&5
21312
24344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313
24345
  (exit $ac_status); } &&
21314
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21315
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21316
 
  (eval $ac_try) 2>&5
 
24346
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24347
  { (case "(($ac_try" in
 
24348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24349
  *) ac_try_echo=$ac_try;;
 
24350
esac
 
24351
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24352
  (eval "$ac_try") 2>&5
21317
24353
  ac_status=$?
21318
24354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319
24355
  (exit $ac_status); }; } &&
21320
24356
         { ac_try='test -s conftest.$ac_objext'
21321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322
 
  (eval $ac_try) 2>&5
 
24357
  { (case "(($ac_try" in
 
24358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24359
  *) ac_try_echo=$ac_try;;
 
24360
esac
 
24361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24362
  (eval "$ac_try") 2>&5
21323
24363
  ac_status=$?
21324
24364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325
24365
  (exit $ac_status); }; }; then
21328
24368
  echo "$as_me: failed program was:" >&5
21329
24369
sed 's/^/| /' conftest.$ac_ext >&5
21330
24370
 
21331
 
ac_header_compiler=no
 
24371
        ac_header_compiler=no
21332
24372
fi
21333
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21334
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21335
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24373
 
 
24374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24375
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24376
echo "${ECHO_T}$ac_header_compiler" >&6; }
21336
24377
 
21337
24378
# Is the header present?
21338
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21339
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24379
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24380
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21340
24381
cat >conftest.$ac_ext <<_ACEOF
21341
24382
/* confdefs.h.  */
21342
24383
_ACEOF
21345
24386
/* end confdefs.h.  */
21346
24387
#include <$ac_header>
21347
24388
_ACEOF
21348
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21349
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24389
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24390
case "(($ac_try" in
 
24391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24392
  *) ac_try_echo=$ac_try;;
 
24393
esac
 
24394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24395
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21350
24396
  ac_status=$?
21351
24397
  grep -v '^ *+' conftest.er1 >conftest.err
21352
24398
  rm -f conftest.er1
21370
24416
 
21371
24417
  ac_header_preproc=no
21372
24418
fi
 
24419
 
21373
24420
rm -f conftest.err conftest.$ac_ext
21374
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21375
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24421
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24422
echo "${ECHO_T}$ac_header_preproc" >&6; }
21376
24423
 
21377
24424
# So?  What about this header?
21378
24425
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21396
24443
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21397
24444
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21398
24445
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21399
 
    (
21400
 
      cat <<\_ASBOX
 
24446
    ( cat <<\_ASBOX
21401
24447
## -------------------------------- ##
21402
24448
## Report this to bug-gnupg@gnu.org ##
21403
24449
## -------------------------------- ##
21404
24450
_ASBOX
21405
 
    ) |
21406
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24451
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21407
24452
    ;;
21408
24453
esac
21409
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21410
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21411
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24454
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24455
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24456
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21412
24457
  echo $ECHO_N "(cached) $ECHO_C" >&6
21413
24458
else
21414
24459
  eval "$as_ac_Header=\$ac_header_preproc"
21415
24460
fi
21416
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21417
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24461
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24462
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24463
echo "${ECHO_T}$ac_res" >&6; }
21418
24464
 
21419
24465
fi
21420
24466
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21427
24473
done
21428
24474
 
21429
24475
if test "$ac_cv_header_sys_capability_h" = "yes" ; then
21430
 
  echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
21431
 
echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6
 
24476
  { echo "$as_me:$LINENO: checking for cap_init in -lcap" >&5
 
24477
echo $ECHO_N "checking for cap_init in -lcap... $ECHO_C" >&6; }
21432
24478
if test "${ac_cv_lib_cap_cap_init+set}" = set; then
21433
24479
  echo $ECHO_N "(cached) $ECHO_C" >&6
21434
24480
else
21441
24487
cat >>conftest.$ac_ext <<_ACEOF
21442
24488
/* end confdefs.h.  */
21443
24489
 
21444
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24490
/* Override any GCC internal prototype to avoid an error.
 
24491
   Use char because int might match the return type of a GCC
 
24492
   builtin and then its argument prototype would still apply.  */
21445
24493
#ifdef __cplusplus
21446
24494
extern "C"
21447
24495
#endif
21448
 
/* We use char because int might match the return type of a gcc2
21449
 
   builtin and then its argument prototype would still apply.  */
21450
24496
char cap_init ();
21451
24497
int
21452
24498
main ()
21453
24499
{
21454
 
cap_init ();
 
24500
return cap_init ();
21455
24501
  ;
21456
24502
  return 0;
21457
24503
}
21458
24504
_ACEOF
21459
24505
rm -f conftest.$ac_objext conftest$ac_exeext
21460
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21461
 
  (eval $ac_link) 2>conftest.er1
 
24506
if { (ac_try="$ac_link"
 
24507
case "(($ac_try" in
 
24508
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24509
  *) ac_try_echo=$ac_try;;
 
24510
esac
 
24511
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24512
  (eval "$ac_link") 2>conftest.er1
21462
24513
  ac_status=$?
21463
24514
  grep -v '^ *+' conftest.er1 >conftest.err
21464
24515
  rm -f conftest.er1
21465
24516
  cat conftest.err >&5
21466
24517
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467
24518
  (exit $ac_status); } &&
21468
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21469
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470
 
  (eval $ac_try) 2>&5
 
24519
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24520
  { (case "(($ac_try" in
 
24521
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24522
  *) ac_try_echo=$ac_try;;
 
24523
esac
 
24524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24525
  (eval "$ac_try") 2>&5
21471
24526
  ac_status=$?
21472
24527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473
24528
  (exit $ac_status); }; } &&
21474
24529
         { ac_try='test -s conftest$ac_exeext'
21475
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476
 
  (eval $ac_try) 2>&5
 
24530
  { (case "(($ac_try" in
 
24531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24532
  *) ac_try_echo=$ac_try;;
 
24533
esac
 
24534
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24535
  (eval "$ac_try") 2>&5
21477
24536
  ac_status=$?
21478
24537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479
24538
  (exit $ac_status); }; }; then
21482
24541
  echo "$as_me: failed program was:" >&5
21483
24542
sed 's/^/| /' conftest.$ac_ext >&5
21484
24543
 
21485
 
ac_cv_lib_cap_cap_init=no
 
24544
        ac_cv_lib_cap_cap_init=no
21486
24545
fi
21487
 
rm -f conftest.err conftest.$ac_objext \
 
24546
 
 
24547
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21488
24548
      conftest$ac_exeext conftest.$ac_ext
21489
24549
LIBS=$ac_check_lib_save_LIBS
21490
24550
fi
21491
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
21492
 
echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6
 
24551
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_init" >&5
 
24552
echo "${ECHO_T}$ac_cv_lib_cap_cap_init" >&6; }
21493
24553
if test $ac_cv_lib_cap_cap_init = yes; then
21494
24554
  ac_need_libcap=1
21495
24555
fi
21535
24595
for ac_header in sys/ipc.h sys/shm.h
21536
24596
do
21537
24597
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21538
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21539
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21540
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21541
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24598
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24599
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24600
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24601
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21542
24602
  echo $ECHO_N "(cached) $ECHO_C" >&6
21543
24603
fi
21544
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21545
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24604
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24605
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24606
echo "${ECHO_T}$ac_res" >&6; }
21546
24607
else
21547
24608
  # Is the header compilable?
21548
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21549
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24609
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24610
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21550
24611
cat >conftest.$ac_ext <<_ACEOF
21551
24612
/* confdefs.h.  */
21552
24613
_ACEOF
21557
24618
#include <$ac_header>
21558
24619
_ACEOF
21559
24620
rm -f conftest.$ac_objext
21560
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21561
 
  (eval $ac_compile) 2>conftest.er1
 
24621
if { (ac_try="$ac_compile"
 
24622
case "(($ac_try" in
 
24623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24624
  *) ac_try_echo=$ac_try;;
 
24625
esac
 
24626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24627
  (eval "$ac_compile") 2>conftest.er1
21562
24628
  ac_status=$?
21563
24629
  grep -v '^ *+' conftest.er1 >conftest.err
21564
24630
  rm -f conftest.er1
21565
24631
  cat conftest.err >&5
21566
24632
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567
24633
  (exit $ac_status); } &&
21568
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21569
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570
 
  (eval $ac_try) 2>&5
 
24634
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24635
  { (case "(($ac_try" in
 
24636
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24637
  *) ac_try_echo=$ac_try;;
 
24638
esac
 
24639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24640
  (eval "$ac_try") 2>&5
21571
24641
  ac_status=$?
21572
24642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573
24643
  (exit $ac_status); }; } &&
21574
24644
         { ac_try='test -s conftest.$ac_objext'
21575
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576
 
  (eval $ac_try) 2>&5
 
24645
  { (case "(($ac_try" in
 
24646
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24647
  *) ac_try_echo=$ac_try;;
 
24648
esac
 
24649
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24650
  (eval "$ac_try") 2>&5
21577
24651
  ac_status=$?
21578
24652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579
24653
  (exit $ac_status); }; }; then
21582
24656
  echo "$as_me: failed program was:" >&5
21583
24657
sed 's/^/| /' conftest.$ac_ext >&5
21584
24658
 
21585
 
ac_header_compiler=no
 
24659
        ac_header_compiler=no
21586
24660
fi
21587
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21588
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21589
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24661
 
 
24662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24663
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24664
echo "${ECHO_T}$ac_header_compiler" >&6; }
21590
24665
 
21591
24666
# Is the header present?
21592
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21593
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24667
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24668
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21594
24669
cat >conftest.$ac_ext <<_ACEOF
21595
24670
/* confdefs.h.  */
21596
24671
_ACEOF
21599
24674
/* end confdefs.h.  */
21600
24675
#include <$ac_header>
21601
24676
_ACEOF
21602
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21603
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24677
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24678
case "(($ac_try" in
 
24679
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24680
  *) ac_try_echo=$ac_try;;
 
24681
esac
 
24682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24683
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21604
24684
  ac_status=$?
21605
24685
  grep -v '^ *+' conftest.er1 >conftest.err
21606
24686
  rm -f conftest.er1
21624
24704
 
21625
24705
  ac_header_preproc=no
21626
24706
fi
 
24707
 
21627
24708
rm -f conftest.err conftest.$ac_ext
21628
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21629
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24709
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24710
echo "${ECHO_T}$ac_header_preproc" >&6; }
21630
24711
 
21631
24712
# So?  What about this header?
21632
24713
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21650
24731
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21651
24732
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21652
24733
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21653
 
    (
21654
 
      cat <<\_ASBOX
 
24734
    ( cat <<\_ASBOX
21655
24735
## -------------------------------- ##
21656
24736
## Report this to bug-gnupg@gnu.org ##
21657
24737
## -------------------------------- ##
21658
24738
_ASBOX
21659
 
    ) |
21660
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24739
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21661
24740
    ;;
21662
24741
esac
21663
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21664
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21665
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24742
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24743
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24744
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21666
24745
  echo $ECHO_N "(cached) $ECHO_C" >&6
21667
24746
else
21668
24747
  eval "$as_ac_Header=\$ac_header_preproc"
21669
24748
fi
21670
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21671
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24749
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24750
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24751
echo "${ECHO_T}$ac_res" >&6; }
21672
24752
 
21673
24753
fi
21674
24754
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21681
24761
done
21682
24762
 
21683
24763
     if test "$ac_cv_header_sys_shm_h" = "yes"; then
21684
 
       echo "$as_me:$LINENO: checking whether IPC_RMID allowes subsequent attaches" >&5
21685
 
echo $ECHO_N "checking whether IPC_RMID allowes subsequent attaches... $ECHO_C" >&6
 
24764
       { echo "$as_me:$LINENO: checking whether IPC_RMID allowes subsequent attaches" >&5
 
24765
echo $ECHO_N "checking whether IPC_RMID allowes subsequent attaches... $ECHO_C" >&6; }
21686
24766
       if test "${gnupg_cv_ipc_rmid_deferred_release+set}" = set; then
21687
24767
  echo $ECHO_N "(cached) $ECHO_C" >&6
21688
24768
else
21720
24800
 
21721
24801
_ACEOF
21722
24802
rm -f conftest$ac_exeext
21723
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21724
 
  (eval $ac_link) 2>&5
 
24803
if { (ac_try="$ac_link"
 
24804
case "(($ac_try" in
 
24805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24806
  *) ac_try_echo=$ac_try;;
 
24807
esac
 
24808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24809
  (eval "$ac_link") 2>&5
21725
24810
  ac_status=$?
21726
24811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727
24812
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21728
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729
 
  (eval $ac_try) 2>&5
 
24813
  { (case "(($ac_try" in
 
24814
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24815
  *) ac_try_echo=$ac_try;;
 
24816
esac
 
24817
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24818
  (eval "$ac_try") 2>&5
21730
24819
  ac_status=$?
21731
24820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732
24821
  (exit $ac_status); }; }; then
21739
24828
( exit $ac_status )
21740
24829
gnupg_cv_ipc_rmid_deferred_release="no"
21741
24830
fi
21742
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
24831
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21743
24832
fi
 
24833
 
 
24834
 
21744
24835
 
21745
24836
fi
21746
24837
 
21750
24841
#define IPC_RMID_DEFERRED_RELEASE 1
21751
24842
_ACEOF
21752
24843
 
21753
 
           echo "$as_me:$LINENO: result: yes" >&5
21754
 
echo "${ECHO_T}yes" >&6
 
24844
           { echo "$as_me:$LINENO: result: yes" >&5
 
24845
echo "${ECHO_T}yes" >&6; }
21755
24846
       else
21756
24847
          if test "$gnupg_cv_ipc_rmid_deferred_release" = "no"; then
21757
 
              echo "$as_me:$LINENO: result: no" >&5
21758
 
echo "${ECHO_T}no" >&6
 
24848
              { echo "$as_me:$LINENO: result: no" >&5
 
24849
echo "${ECHO_T}no" >&6; }
21759
24850
          else
21760
 
              echo "$as_me:$LINENO: result: assuming no" >&5
21761
 
echo "${ECHO_T}assuming no" >&6
 
24851
              { echo "$as_me:$LINENO: result: assuming no" >&5
 
24852
echo "${ECHO_T}assuming no" >&6; }
21762
24853
          fi
21763
24854
       fi
21764
24855
 
21765
 
       echo "$as_me:$LINENO: checking whether SHM_LOCK is available" >&5
21766
 
echo $ECHO_N "checking whether SHM_LOCK is available... $ECHO_C" >&6
 
24856
       { echo "$as_me:$LINENO: checking whether SHM_LOCK is available" >&5
 
24857
echo $ECHO_N "checking whether SHM_LOCK is available... $ECHO_C" >&6; }
21767
24858
       if test "${gnupg_cv_ipc_have_shm_lock+set}" = set; then
21768
24859
  echo $ECHO_N "(cached) $ECHO_C" >&6
21769
24860
else
21788
24879
}
21789
24880
_ACEOF
21790
24881
rm -f conftest.$ac_objext
21791
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21792
 
  (eval $ac_compile) 2>conftest.er1
 
24882
if { (ac_try="$ac_compile"
 
24883
case "(($ac_try" in
 
24884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24885
  *) ac_try_echo=$ac_try;;
 
24886
esac
 
24887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24888
  (eval "$ac_compile") 2>conftest.er1
21793
24889
  ac_status=$?
21794
24890
  grep -v '^ *+' conftest.er1 >conftest.err
21795
24891
  rm -f conftest.er1
21796
24892
  cat conftest.err >&5
21797
24893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798
24894
  (exit $ac_status); } &&
21799
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801
 
  (eval $ac_try) 2>&5
 
24895
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
24896
  { (case "(($ac_try" in
 
24897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24898
  *) ac_try_echo=$ac_try;;
 
24899
esac
 
24900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24901
  (eval "$ac_try") 2>&5
21802
24902
  ac_status=$?
21803
24903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804
24904
  (exit $ac_status); }; } &&
21805
24905
         { ac_try='test -s conftest.$ac_objext'
21806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807
 
  (eval $ac_try) 2>&5
 
24906
  { (case "(($ac_try" in
 
24907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24908
  *) ac_try_echo=$ac_try;;
 
24909
esac
 
24910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24911
  (eval "$ac_try") 2>&5
21808
24912
  ac_status=$?
21809
24913
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810
24914
  (exit $ac_status); }; }; then
21813
24917
  echo "$as_me: failed program was:" >&5
21814
24918
sed 's/^/| /' conftest.$ac_ext >&5
21815
24919
 
21816
 
gnupg_cv_ipc_have_shm_lock="no"
 
24920
        gnupg_cv_ipc_have_shm_lock="no"
21817
24921
 
21818
24922
fi
21819
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24923
 
 
24924
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820
24925
 
21821
24926
fi
21822
24927
 
21826
24931
#define IPC_HAVE_SHM_LOCK 1
21827
24932
_ACEOF
21828
24933
 
21829
 
         echo "$as_me:$LINENO: result: yes" >&5
21830
 
echo "${ECHO_T}yes" >&6
 
24934
         { echo "$as_me:$LINENO: result: yes" >&5
 
24935
echo "${ECHO_T}yes" >&6; }
21831
24936
       else
21832
 
         echo "$as_me:$LINENO: result: no" >&5
21833
 
echo "${ECHO_T}no" >&6
 
24937
         { echo "$as_me:$LINENO: result: no" >&5
 
24938
echo "${ECHO_T}no" >&6; }
21834
24939
       fi
21835
24940
     fi
21836
24941
 
21843
24948
fi
21844
24949
 
21845
24950
if test "$try_dev_random" = yes ; then
21846
 
    echo "$as_me:$LINENO: checking for random device" >&5
21847
 
echo $ECHO_N "checking for random device... $ECHO_C" >&6
 
24951
    { echo "$as_me:$LINENO: checking for random device" >&5
 
24952
echo $ECHO_N "checking for random device... $ECHO_C" >&6; }
21848
24953
if test "${ac_cv_have_dev_random+set}" = set; then
21849
24954
  echo $ECHO_N "(cached) $ECHO_C" >&6
21850
24955
else
21851
24956
  if test -r "$NAME_OF_DEV_RANDOM" && test -r "$NAME_OF_DEV_URANDOM" ; then
21852
24957
      ac_cv_have_dev_random=yes; else ac_cv_have_dev_random=no; fi
21853
24958
fi
21854
 
echo "$as_me:$LINENO: result: $ac_cv_have_dev_random" >&5
21855
 
echo "${ECHO_T}$ac_cv_have_dev_random" >&6
 
24959
{ echo "$as_me:$LINENO: result: $ac_cv_have_dev_random" >&5
 
24960
echo "${ECHO_T}$ac_cv_have_dev_random" >&6; }
21856
24961
    if test "$ac_cv_have_dev_random" = yes; then
21857
24962
 
21858
24963
cat >>confdefs.h <<\_ACEOF
21861
24966
 
21862
24967
    fi
21863
24968
else
21864
 
    echo "$as_me:$LINENO: checking for random device" >&5
21865
 
echo $ECHO_N "checking for random device... $ECHO_C" >&6
 
24969
    { echo "$as_me:$LINENO: checking for random device" >&5
 
24970
echo $ECHO_N "checking for random device... $ECHO_C" >&6; }
21866
24971
    ac_cv_have_dev_random=no
21867
 
    echo "$as_me:$LINENO: result: has been disabled" >&5
21868
 
echo "${ECHO_T}has been disabled" >&6
 
24972
    { echo "$as_me:$LINENO: result: has been disabled" >&5
 
24973
echo "${ECHO_T}has been disabled" >&6; }
21869
24974
fi
21870
24975
 
21871
24976
 
21994
25099
fi
21995
25100
 
21996
25101
 
21997
 
echo "$as_me:$LINENO: checking for mpi assembler functions" >&5
21998
 
echo $ECHO_N "checking for mpi assembler functions... $ECHO_C" >&6
 
25102
{ echo "$as_me:$LINENO: checking for mpi assembler functions" >&5
 
25103
echo $ECHO_N "checking for mpi assembler functions... $ECHO_C" >&6; }
21999
25104
if test -f $srcdir/mpi/config.links ; then
22000
25105
    . $srcdir/mpi/config.links
22001
 
              ac_config_links="$ac_config_links "$mpi_ln_list""
 
25106
    ac_config_links="$ac_config_links "$mpi_ln_list""
22002
25107
 
22003
25108
    ac_cv_mpi_extra_asm_modules="$mpi_extra_modules"
22004
25109
    ac_cv_mpi_sflags="$mpi_sflags"
22005
25110
    ac_cv_mpi_config_done="yes"
22006
 
    echo "$as_me:$LINENO: result: done" >&5
22007
 
echo "${ECHO_T}done" >&6
 
25111
    { echo "$as_me:$LINENO: result: done" >&5
 
25112
echo "${ECHO_T}done" >&6; }
22008
25113
else
22009
 
    echo "$as_me:$LINENO: result: failed" >&5
22010
 
echo "${ECHO_T}failed" >&6
 
25114
    { echo "$as_me:$LINENO: result: failed" >&5
 
25115
echo "${ECHO_T}failed" >&6; }
22011
25116
    { { echo "$as_me:$LINENO: error: mpi/config.links missing!" >&5
22012
25117
echo "$as_me: error: mpi/config.links missing!" >&2;}
22013
25118
   { (exit 1); exit 1; }; }
22026
25131
 
22027
25132
# Sanity check regex.  Tests adapted from mutt.
22028
25133
 
22029
 
echo "$as_me:$LINENO: checking whether regular expression support is requested" >&5
22030
 
echo $ECHO_N "checking whether regular expression support is requested... $ECHO_C" >&6
22031
 
# Check whether --enable-regex or --disable-regex was given.
 
25134
{ echo "$as_me:$LINENO: checking whether regular expression support is requested" >&5
 
25135
echo $ECHO_N "checking whether regular expression support is requested... $ECHO_C" >&6; }
 
25136
# Check whether --enable-regex was given.
22032
25137
if test "${enable_regex+set}" = set; then
22033
 
  enableval="$enable_regex"
22034
 
  use_regex=$enableval
 
25138
  enableval=$enable_regex; use_regex=$enableval
22035
25139
else
22036
25140
  use_regex=yes
22037
 
fi;
22038
 
echo "$as_me:$LINENO: result: $use_regex" >&5
22039
 
echo "${ECHO_T}$use_regex" >&6
 
25141
fi
 
25142
 
 
25143
{ echo "$as_me:$LINENO: result: $use_regex" >&5
 
25144
echo "${ECHO_T}$use_regex" >&6; }
22040
25145
 
22041
25146
if test "$use_regex" = yes ; then
22042
 
  echo "$as_me:$LINENO: checking whether the included regex lib is requested" >&5
22043
 
echo $ECHO_N "checking whether the included regex lib is requested... $ECHO_C" >&6
 
25147
  { echo "$as_me:$LINENO: checking whether the included regex lib is requested" >&5
 
25148
echo $ECHO_N "checking whether the included regex lib is requested... $ECHO_C" >&6; }
22044
25149
 
22045
 
# Check whether --with-included-regex or --without-included-regex was given.
 
25150
# Check whether --with-included-regex was given.
22046
25151
if test "${with_included_regex+set}" = set; then
22047
 
  withval="$with_included_regex"
22048
 
  gnupg_cv_included_regex="$withval"
 
25152
  withval=$with_included_regex; gnupg_cv_included_regex="$withval"
22049
25153
else
22050
25154
  gnupg_cv_included_regex=no
22051
 
fi;
22052
 
  echo "$as_me:$LINENO: result: $gnupg_cv_included_regex" >&5
22053
 
echo "${ECHO_T}$gnupg_cv_included_regex" >&6
 
25155
fi
 
25156
 
 
25157
  { echo "$as_me:$LINENO: result: $gnupg_cv_included_regex" >&5
 
25158
echo "${ECHO_T}$gnupg_cv_included_regex" >&6; }
22054
25159
 
22055
25160
  if test $gnupg_cv_included_regex = no ; then
22056
25161
     # Does the system have regex functions at all?
22057
 
     echo "$as_me:$LINENO: checking for regcomp" >&5
22058
 
echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
 
25162
     { echo "$as_me:$LINENO: checking for regcomp" >&5
 
25163
echo $ECHO_N "checking for regcomp... $ECHO_C" >&6; }
22059
25164
if test "${ac_cv_func_regcomp+set}" = set; then
22060
25165
  echo $ECHO_N "(cached) $ECHO_C" >&6
22061
25166
else
22082
25187
 
22083
25188
#undef regcomp
22084
25189
 
22085
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25190
/* Override any GCC internal prototype to avoid an error.
 
25191
   Use char because int might match the return type of a GCC
 
25192
   builtin and then its argument prototype would still apply.  */
22086
25193
#ifdef __cplusplus
22087
25194
extern "C"
22088
 
{
22089
25195
#endif
22090
 
/* We use char because int might match the return type of a gcc2
22091
 
   builtin and then its argument prototype would still apply.  */
22092
25196
char regcomp ();
22093
25197
/* The GNU C library defines this for functions which it implements
22094
25198
    to always fail with ENOSYS.  Some functions are actually named
22095
25199
    something starting with __ and the normal name is an alias.  */
22096
 
#if defined (__stub_regcomp) || defined (__stub___regcomp)
 
25200
#if defined __stub_regcomp || defined __stub___regcomp
22097
25201
choke me
22098
 
#else
22099
 
char (*f) () = regcomp;
22100
 
#endif
22101
 
#ifdef __cplusplus
22102
 
}
22103
25202
#endif
22104
25203
 
22105
25204
int
22106
25205
main ()
22107
25206
{
22108
 
return f != regcomp;
 
25207
return regcomp ();
22109
25208
  ;
22110
25209
  return 0;
22111
25210
}
22112
25211
_ACEOF
22113
25212
rm -f conftest.$ac_objext conftest$ac_exeext
22114
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22115
 
  (eval $ac_link) 2>conftest.er1
 
25213
if { (ac_try="$ac_link"
 
25214
case "(($ac_try" in
 
25215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25216
  *) ac_try_echo=$ac_try;;
 
25217
esac
 
25218
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25219
  (eval "$ac_link") 2>conftest.er1
22116
25220
  ac_status=$?
22117
25221
  grep -v '^ *+' conftest.er1 >conftest.err
22118
25222
  rm -f conftest.er1
22119
25223
  cat conftest.err >&5
22120
25224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121
25225
  (exit $ac_status); } &&
22122
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22123
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124
 
  (eval $ac_try) 2>&5
 
25226
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25227
  { (case "(($ac_try" in
 
25228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25229
  *) ac_try_echo=$ac_try;;
 
25230
esac
 
25231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25232
  (eval "$ac_try") 2>&5
22125
25233
  ac_status=$?
22126
25234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127
25235
  (exit $ac_status); }; } &&
22128
25236
         { ac_try='test -s conftest$ac_exeext'
22129
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130
 
  (eval $ac_try) 2>&5
 
25237
  { (case "(($ac_try" in
 
25238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25239
  *) ac_try_echo=$ac_try;;
 
25240
esac
 
25241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25242
  (eval "$ac_try") 2>&5
22131
25243
  ac_status=$?
22132
25244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133
25245
  (exit $ac_status); }; }; then
22136
25248
  echo "$as_me: failed program was:" >&5
22137
25249
sed 's/^/| /' conftest.$ac_ext >&5
22138
25250
 
22139
 
ac_cv_func_regcomp=no
 
25251
        ac_cv_func_regcomp=no
22140
25252
fi
22141
 
rm -f conftest.err conftest.$ac_objext \
 
25253
 
 
25254
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22142
25255
      conftest$ac_exeext conftest.$ac_ext
22143
25256
fi
22144
 
echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
22145
 
echo "${ECHO_T}$ac_cv_func_regcomp" >&6
 
25257
{ echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
 
25258
echo "${ECHO_T}$ac_cv_func_regcomp" >&6; }
22146
25259
if test $ac_cv_func_regcomp = yes; then
22147
25260
  gnupg_cv_included_regex=no
22148
25261
else
22152
25265
  fi
22153
25266
 
22154
25267
  if test $gnupg_cv_included_regex = no ; then
22155
 
     echo "$as_me:$LINENO: checking whether your system's regexp library is broken" >&5
22156
 
echo $ECHO_N "checking whether your system's regexp library is broken... $ECHO_C" >&6
 
25268
     { echo "$as_me:$LINENO: checking whether your system's regexp library is broken" >&5
 
25269
echo $ECHO_N "checking whether your system's regexp library is broken... $ECHO_C" >&6; }
22157
25270
if test "${gnupg_cv_regex_broken+set}" = set; then
22158
25271
  echo $ECHO_N "(cached) $ECHO_C" >&6
22159
25272
else
22172
25285
main() { regex_t blah ; regmatch_t p; p.rm_eo = p.rm_eo; return regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0); }
22173
25286
_ACEOF
22174
25287
rm -f conftest$ac_exeext
22175
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22176
 
  (eval $ac_link) 2>&5
 
25288
if { (ac_try="$ac_link"
 
25289
case "(($ac_try" in
 
25290
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25291
  *) ac_try_echo=$ac_try;;
 
25292
esac
 
25293
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25294
  (eval "$ac_link") 2>&5
22177
25295
  ac_status=$?
22178
25296
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179
25297
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22180
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181
 
  (eval $ac_try) 2>&5
 
25298
  { (case "(($ac_try" in
 
25299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25300
  *) ac_try_echo=$ac_try;;
 
25301
esac
 
25302
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25303
  (eval "$ac_try") 2>&5
22182
25304
  ac_status=$?
22183
25305
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184
25306
  (exit $ac_status); }; }; then
22191
25313
( exit $ac_status )
22192
25314
gnupg_cv_regex_broken=yes
22193
25315
fi
22194
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22195
 
fi
22196
 
fi
22197
 
echo "$as_me:$LINENO: result: $gnupg_cv_regex_broken" >&5
22198
 
echo "${ECHO_T}$gnupg_cv_regex_broken" >&6
 
25316
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
25317
fi
 
25318
 
 
25319
 
 
25320
fi
 
25321
{ echo "$as_me:$LINENO: result: $gnupg_cv_regex_broken" >&5
 
25322
echo "${ECHO_T}$gnupg_cv_regex_broken" >&6; }
22199
25323
 
22200
25324
     if test $gnupg_cv_regex_broken = yes ; then
22201
25325
      { echo "$as_me:$LINENO: WARNING: your regex is broken - using the included GNU regex instead." >&5
22238
25362
  _ldflags="${LDFLAGS}"
22239
25363
 
22240
25364
 
22241
 
# Check whether --with-zlib or --without-zlib was given.
 
25365
# Check whether --with-zlib was given.
22242
25366
if test "${with_zlib+set}" = set; then
22243
 
  withval="$with_zlib"
22244
 
 
 
25367
  withval=$with_zlib;
22245
25368
    if test -d "$withval"; then
22246
25369
      CPPFLAGS="${CPPFLAGS} -I$withval/include"
22247
25370
      LDFLAGS="${LDFLAGS} -L$withval/lib"
22248
25371
    fi
22249
25372
 
22250
 
fi;
 
25373
fi
 
25374
 
22251
25375
 
22252
25376
  if test "${ac_cv_header_zlib_h+set}" = set; then
22253
 
  echo "$as_me:$LINENO: checking for zlib.h" >&5
22254
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
25377
  { echo "$as_me:$LINENO: checking for zlib.h" >&5
 
25378
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
22255
25379
if test "${ac_cv_header_zlib_h+set}" = set; then
22256
25380
  echo $ECHO_N "(cached) $ECHO_C" >&6
22257
25381
fi
22258
 
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22259
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
25382
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
25383
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
22260
25384
else
22261
25385
  # Is the header compilable?
22262
 
echo "$as_me:$LINENO: checking zlib.h usability" >&5
22263
 
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
 
25386
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
 
25387
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
22264
25388
cat >conftest.$ac_ext <<_ACEOF
22265
25389
/* confdefs.h.  */
22266
25390
_ACEOF
22271
25395
#include <zlib.h>
22272
25396
_ACEOF
22273
25397
rm -f conftest.$ac_objext
22274
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22275
 
  (eval $ac_compile) 2>conftest.er1
 
25398
if { (ac_try="$ac_compile"
 
25399
case "(($ac_try" in
 
25400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25401
  *) ac_try_echo=$ac_try;;
 
25402
esac
 
25403
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25404
  (eval "$ac_compile") 2>conftest.er1
22276
25405
  ac_status=$?
22277
25406
  grep -v '^ *+' conftest.er1 >conftest.err
22278
25407
  rm -f conftest.er1
22279
25408
  cat conftest.err >&5
22280
25409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281
25410
  (exit $ac_status); } &&
22282
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22283
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284
 
  (eval $ac_try) 2>&5
 
25411
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25412
  { (case "(($ac_try" in
 
25413
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25414
  *) ac_try_echo=$ac_try;;
 
25415
esac
 
25416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25417
  (eval "$ac_try") 2>&5
22285
25418
  ac_status=$?
22286
25419
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287
25420
  (exit $ac_status); }; } &&
22288
25421
         { ac_try='test -s conftest.$ac_objext'
22289
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290
 
  (eval $ac_try) 2>&5
 
25422
  { (case "(($ac_try" in
 
25423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25424
  *) ac_try_echo=$ac_try;;
 
25425
esac
 
25426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25427
  (eval "$ac_try") 2>&5
22291
25428
  ac_status=$?
22292
25429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293
25430
  (exit $ac_status); }; }; then
22296
25433
  echo "$as_me: failed program was:" >&5
22297
25434
sed 's/^/| /' conftest.$ac_ext >&5
22298
25435
 
22299
 
ac_header_compiler=no
 
25436
        ac_header_compiler=no
22300
25437
fi
22301
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22302
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22303
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
25438
 
 
25439
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25440
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
25441
echo "${ECHO_T}$ac_header_compiler" >&6; }
22304
25442
 
22305
25443
# Is the header present?
22306
 
echo "$as_me:$LINENO: checking zlib.h presence" >&5
22307
 
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
 
25444
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
 
25445
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
22308
25446
cat >conftest.$ac_ext <<_ACEOF
22309
25447
/* confdefs.h.  */
22310
25448
_ACEOF
22313
25451
/* end confdefs.h.  */
22314
25452
#include <zlib.h>
22315
25453
_ACEOF
22316
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22317
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
25454
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
25455
case "(($ac_try" in
 
25456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25457
  *) ac_try_echo=$ac_try;;
 
25458
esac
 
25459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25460
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22318
25461
  ac_status=$?
22319
25462
  grep -v '^ *+' conftest.er1 >conftest.err
22320
25463
  rm -f conftest.er1
22338
25481
 
22339
25482
  ac_header_preproc=no
22340
25483
fi
 
25484
 
22341
25485
rm -f conftest.err conftest.$ac_ext
22342
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22343
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
25486
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
25487
echo "${ECHO_T}$ac_header_preproc" >&6; }
22344
25488
 
22345
25489
# So?  What about this header?
22346
25490
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22364
25508
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22365
25509
    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22366
25510
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22367
 
    (
22368
 
      cat <<\_ASBOX
 
25511
    ( cat <<\_ASBOX
22369
25512
## -------------------------------- ##
22370
25513
## Report this to bug-gnupg@gnu.org ##
22371
25514
## -------------------------------- ##
22372
25515
_ASBOX
22373
 
    ) |
22374
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
25516
     ) | sed "s/^/$as_me: WARNING:     /" >&2
22375
25517
    ;;
22376
25518
esac
22377
 
echo "$as_me:$LINENO: checking for zlib.h" >&5
22378
 
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
 
25519
{ echo "$as_me:$LINENO: checking for zlib.h" >&5
 
25520
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
22379
25521
if test "${ac_cv_header_zlib_h+set}" = set; then
22380
25522
  echo $ECHO_N "(cached) $ECHO_C" >&6
22381
25523
else
22382
25524
  ac_cv_header_zlib_h=$ac_header_preproc
22383
25525
fi
22384
 
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22385
 
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
 
25526
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
 
25527
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
22386
25528
 
22387
25529
fi
22388
25530
if test $ac_cv_header_zlib_h = yes; then
22389
 
  echo "$as_me:$LINENO: checking for deflateInit2_ in -lz" >&5
22390
 
echo $ECHO_N "checking for deflateInit2_ in -lz... $ECHO_C" >&6
 
25531
  { echo "$as_me:$LINENO: checking for deflateInit2_ in -lz" >&5
 
25532
echo $ECHO_N "checking for deflateInit2_ in -lz... $ECHO_C" >&6; }
22391
25533
if test "${ac_cv_lib_z_deflateInit2_+set}" = set; then
22392
25534
  echo $ECHO_N "(cached) $ECHO_C" >&6
22393
25535
else
22400
25542
cat >>conftest.$ac_ext <<_ACEOF
22401
25543
/* end confdefs.h.  */
22402
25544
 
22403
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25545
/* Override any GCC internal prototype to avoid an error.
 
25546
   Use char because int might match the return type of a GCC
 
25547
   builtin and then its argument prototype would still apply.  */
22404
25548
#ifdef __cplusplus
22405
25549
extern "C"
22406
25550
#endif
22407
 
/* We use char because int might match the return type of a gcc2
22408
 
   builtin and then its argument prototype would still apply.  */
22409
25551
char deflateInit2_ ();
22410
25552
int
22411
25553
main ()
22412
25554
{
22413
 
deflateInit2_ ();
 
25555
return deflateInit2_ ();
22414
25556
  ;
22415
25557
  return 0;
22416
25558
}
22417
25559
_ACEOF
22418
25560
rm -f conftest.$ac_objext conftest$ac_exeext
22419
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22420
 
  (eval $ac_link) 2>conftest.er1
 
25561
if { (ac_try="$ac_link"
 
25562
case "(($ac_try" in
 
25563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25564
  *) ac_try_echo=$ac_try;;
 
25565
esac
 
25566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25567
  (eval "$ac_link") 2>conftest.er1
22421
25568
  ac_status=$?
22422
25569
  grep -v '^ *+' conftest.er1 >conftest.err
22423
25570
  rm -f conftest.er1
22424
25571
  cat conftest.err >&5
22425
25572
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426
25573
  (exit $ac_status); } &&
22427
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22428
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429
 
  (eval $ac_try) 2>&5
 
25574
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25575
  { (case "(($ac_try" in
 
25576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25577
  *) ac_try_echo=$ac_try;;
 
25578
esac
 
25579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25580
  (eval "$ac_try") 2>&5
22430
25581
  ac_status=$?
22431
25582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432
25583
  (exit $ac_status); }; } &&
22433
25584
         { ac_try='test -s conftest$ac_exeext'
22434
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435
 
  (eval $ac_try) 2>&5
 
25585
  { (case "(($ac_try" in
 
25586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25587
  *) ac_try_echo=$ac_try;;
 
25588
esac
 
25589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25590
  (eval "$ac_try") 2>&5
22436
25591
  ac_status=$?
22437
25592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438
25593
  (exit $ac_status); }; }; then
22441
25596
  echo "$as_me: failed program was:" >&5
22442
25597
sed 's/^/| /' conftest.$ac_ext >&5
22443
25598
 
22444
 
ac_cv_lib_z_deflateInit2_=no
 
25599
        ac_cv_lib_z_deflateInit2_=no
22445
25600
fi
22446
 
rm -f conftest.err conftest.$ac_objext \
 
25601
 
 
25602
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22447
25603
      conftest$ac_exeext conftest.$ac_ext
22448
25604
LIBS=$ac_check_lib_save_LIBS
22449
25605
fi
22450
 
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflateInit2_" >&5
22451
 
echo "${ECHO_T}$ac_cv_lib_z_deflateInit2_" >&6
 
25606
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflateInit2_" >&5
 
25607
echo "${ECHO_T}$ac_cv_lib_z_deflateInit2_" >&6; }
22452
25608
if test $ac_cv_lib_z_deflateInit2_ = yes; then
22453
25609
  use_local_zlib=no
22454
25610
       ZLIBS="-lz"
22474
25630
  ENABLE_LOCAL_ZLIB_FALSE=
22475
25631
fi
22476
25632
 
22477
 
                        ac_config_links="$ac_config_links zlib.h:zlib/zlib.h zconf.h:zlib/zconf.h"
 
25633
    ac_config_links="$ac_config_links zlib.h:zlib/zlib.h zconf.h:zlib/zconf.h"
22478
25634
 
22479
25635
    ZLIBS="../zlib/libzlib.a"
22480
25636
else
22494
25650
  _cppflags="${CPPFLAGS}"
22495
25651
  _ldflags="${LDFLAGS}"
22496
25652
 
22497
 
# Check whether --with-bzip2 or --without-bzip2 was given.
 
25653
# Check whether --with-bzip2 was given.
22498
25654
if test "${with_bzip2+set}" = set; then
22499
 
  withval="$with_bzip2"
22500
 
 
 
25655
  withval=$with_bzip2;
22501
25656
      if test -d "$withval" ; then
22502
25657
        CPPFLAGS="${CPPFLAGS} -I$withval/include"
22503
25658
        LDFLAGS="${LDFLAGS} -L$withval/lib"
22505
25660
 
22506
25661
else
22507
25662
  withval=""
22508
 
fi;
 
25663
fi
 
25664
 
22509
25665
 
22510
25666
# Checking alongside stdio.h as an early version of bzip2 (1.0)
22511
25667
# required stdio.h to be included before bzlib.h, and Solaris 9 is
22512
25668
# woefully out of date.
22513
25669
 
22514
25670
  if test "$withval" != no ; then
22515
 
     echo "$as_me:$LINENO: checking for bzlib.h" >&5
22516
 
echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
 
25671
     { echo "$as_me:$LINENO: checking for bzlib.h" >&5
 
25672
echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; }
22517
25673
if test "${ac_cv_header_bzlib_h+set}" = set; then
22518
25674
  echo $ECHO_N "(cached) $ECHO_C" >&6
22519
25675
else
22528
25684
#include <bzlib.h>
22529
25685
_ACEOF
22530
25686
rm -f conftest.$ac_objext
22531
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22532
 
  (eval $ac_compile) 2>conftest.er1
 
25687
if { (ac_try="$ac_compile"
 
25688
case "(($ac_try" in
 
25689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25690
  *) ac_try_echo=$ac_try;;
 
25691
esac
 
25692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25693
  (eval "$ac_compile") 2>conftest.er1
22533
25694
  ac_status=$?
22534
25695
  grep -v '^ *+' conftest.er1 >conftest.err
22535
25696
  rm -f conftest.er1
22536
25697
  cat conftest.err >&5
22537
25698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538
25699
  (exit $ac_status); } &&
22539
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541
 
  (eval $ac_try) 2>&5
 
25700
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25701
  { (case "(($ac_try" in
 
25702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25703
  *) ac_try_echo=$ac_try;;
 
25704
esac
 
25705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25706
  (eval "$ac_try") 2>&5
22542
25707
  ac_status=$?
22543
25708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544
25709
  (exit $ac_status); }; } &&
22545
25710
         { ac_try='test -s conftest.$ac_objext'
22546
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547
 
  (eval $ac_try) 2>&5
 
25711
  { (case "(($ac_try" in
 
25712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25713
  *) ac_try_echo=$ac_try;;
 
25714
esac
 
25715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25716
  (eval "$ac_try") 2>&5
22548
25717
  ac_status=$?
22549
25718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550
25719
  (exit $ac_status); }; }; then
22553
25722
  echo "$as_me: failed program was:" >&5
22554
25723
sed 's/^/| /' conftest.$ac_ext >&5
22555
25724
 
22556
 
ac_cv_header_bzlib_h=no
22557
 
fi
22558
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22559
 
fi
22560
 
echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
22561
 
echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
 
25725
        ac_cv_header_bzlib_h=no
 
25726
fi
 
25727
 
 
25728
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25729
fi
 
25730
{ echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
 
25731
echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; }
22562
25732
if test $ac_cv_header_bzlib_h = yes; then
22563
 
  echo "$as_me:$LINENO: checking for BZ2_bzCompressInit in -lbz2" >&5
22564
 
echo $ECHO_N "checking for BZ2_bzCompressInit in -lbz2... $ECHO_C" >&6
 
25733
  { echo "$as_me:$LINENO: checking for BZ2_bzCompressInit in -lbz2" >&5
 
25734
echo $ECHO_N "checking for BZ2_bzCompressInit in -lbz2... $ECHO_C" >&6; }
22565
25735
if test "${ac_cv_lib_bz2_BZ2_bzCompressInit+set}" = set; then
22566
25736
  echo $ECHO_N "(cached) $ECHO_C" >&6
22567
25737
else
22574
25744
cat >>conftest.$ac_ext <<_ACEOF
22575
25745
/* end confdefs.h.  */
22576
25746
 
22577
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
25747
/* Override any GCC internal prototype to avoid an error.
 
25748
   Use char because int might match the return type of a GCC
 
25749
   builtin and then its argument prototype would still apply.  */
22578
25750
#ifdef __cplusplus
22579
25751
extern "C"
22580
25752
#endif
22581
 
/* We use char because int might match the return type of a gcc2
22582
 
   builtin and then its argument prototype would still apply.  */
22583
25753
char BZ2_bzCompressInit ();
22584
25754
int
22585
25755
main ()
22586
25756
{
22587
 
BZ2_bzCompressInit ();
 
25757
return BZ2_bzCompressInit ();
22588
25758
  ;
22589
25759
  return 0;
22590
25760
}
22591
25761
_ACEOF
22592
25762
rm -f conftest.$ac_objext conftest$ac_exeext
22593
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22594
 
  (eval $ac_link) 2>conftest.er1
 
25763
if { (ac_try="$ac_link"
 
25764
case "(($ac_try" in
 
25765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25766
  *) ac_try_echo=$ac_try;;
 
25767
esac
 
25768
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25769
  (eval "$ac_link") 2>conftest.er1
22595
25770
  ac_status=$?
22596
25771
  grep -v '^ *+' conftest.er1 >conftest.err
22597
25772
  rm -f conftest.er1
22598
25773
  cat conftest.err >&5
22599
25774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600
25775
  (exit $ac_status); } &&
22601
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22602
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603
 
  (eval $ac_try) 2>&5
 
25776
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25777
  { (case "(($ac_try" in
 
25778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25779
  *) ac_try_echo=$ac_try;;
 
25780
esac
 
25781
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25782
  (eval "$ac_try") 2>&5
22604
25783
  ac_status=$?
22605
25784
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606
25785
  (exit $ac_status); }; } &&
22607
25786
         { ac_try='test -s conftest$ac_exeext'
22608
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609
 
  (eval $ac_try) 2>&5
 
25787
  { (case "(($ac_try" in
 
25788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25789
  *) ac_try_echo=$ac_try;;
 
25790
esac
 
25791
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25792
  (eval "$ac_try") 2>&5
22610
25793
  ac_status=$?
22611
25794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612
25795
  (exit $ac_status); }; }; then
22615
25798
  echo "$as_me: failed program was:" >&5
22616
25799
sed 's/^/| /' conftest.$ac_ext >&5
22617
25800
 
22618
 
ac_cv_lib_bz2_BZ2_bzCompressInit=no
 
25801
        ac_cv_lib_bz2_BZ2_bzCompressInit=no
22619
25802
fi
22620
 
rm -f conftest.err conftest.$ac_objext \
 
25803
 
 
25804
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22621
25805
      conftest$ac_exeext conftest.$ac_ext
22622
25806
LIBS=$ac_check_lib_save_LIBS
22623
25807
fi
22624
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzCompressInit" >&5
22625
 
echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzCompressInit" >&6
 
25808
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzCompressInit" >&5
 
25809
echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzCompressInit" >&6; }
22626
25810
if test $ac_cv_lib_bz2_BZ2_bzCompressInit = yes; then
22627
25811
 
22628
25812
          have_bz2=yes
22660
25844
# libusb allows us to use the integrated CCID smartcard reader driver.
22661
25845
 
22662
25846
 
22663
 
# Check whether --with-libusb or --without-libusb was given.
 
25847
# Check whether --with-libusb was given.
22664
25848
if test "${with_libusb+set}" = set; then
22665
 
  withval="$with_libusb"
22666
 
  _do_libusb=$withval
 
25849
  withval=$with_libusb; _do_libusb=$withval
22667
25850
else
22668
25851
  _do_libusb=yes
22669
 
fi;
 
25852
fi
 
25853
 
22670
25854
 
22671
25855
  if test "$_do_libusb" != "no" ; then
22672
25856
     if test -d "$withval" ; then
22674
25858
        LDFLAGS="${LDFLAGS} -L$withval/lib"
22675
25859
        # Extract the first word of ""$_do_libusb/bin/libusb-config"", so it can be a program name with args.
22676
25860
set dummy "$_do_libusb/bin/libusb-config"; ac_word=$2
22677
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22678
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25861
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25862
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22679
25863
if test "${ac_cv_path__usb_config+set}" = set; then
22680
25864
  echo $ECHO_N "(cached) $ECHO_C" >&6
22681
25865
else
22690
25874
  IFS=$as_save_IFS
22691
25875
  test -z "$as_dir" && as_dir=.
22692
25876
  for ac_exec_ext in '' $ac_executable_extensions; do
22693
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
25877
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22694
25878
    ac_cv_path__usb_config="$as_dir/$ac_word$ac_exec_ext"
22695
25879
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22696
25880
    break 2
22697
25881
  fi
22698
25882
done
22699
25883
done
 
25884
IFS=$as_save_IFS
22700
25885
 
22701
25886
  ;;
22702
25887
esac
22703
25888
fi
22704
25889
_usb_config=$ac_cv_path__usb_config
22705
 
 
22706
25890
if test -n "$_usb_config"; then
22707
 
  echo "$as_me:$LINENO: result: $_usb_config" >&5
22708
 
echo "${ECHO_T}$_usb_config" >&6
 
25891
  { echo "$as_me:$LINENO: result: $_usb_config" >&5
 
25892
echo "${ECHO_T}$_usb_config" >&6; }
22709
25893
else
22710
 
  echo "$as_me:$LINENO: result: no" >&5
22711
 
echo "${ECHO_T}no" >&6
 
25894
  { echo "$as_me:$LINENO: result: no" >&5
 
25895
echo "${ECHO_T}no" >&6; }
22712
25896
fi
22713
25897
 
 
25898
 
22714
25899
     else
22715
25900
        # Extract the first word of "libusb-config", so it can be a program name with args.
22716
25901
set dummy libusb-config; ac_word=$2
22717
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22718
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
25902
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
25903
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22719
25904
if test "${ac_cv_path__usb_config+set}" = set; then
22720
25905
  echo $ECHO_N "(cached) $ECHO_C" >&6
22721
25906
else
22730
25915
  IFS=$as_save_IFS
22731
25916
  test -z "$as_dir" && as_dir=.
22732
25917
  for ac_exec_ext in '' $ac_executable_extensions; do
22733
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
25918
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22734
25919
    ac_cv_path__usb_config="$as_dir/$ac_word$ac_exec_ext"
22735
25920
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22736
25921
    break 2
22737
25922
  fi
22738
25923
done
22739
25924
done
 
25925
IFS=$as_save_IFS
22740
25926
 
22741
25927
  ;;
22742
25928
esac
22743
25929
fi
22744
25930
_usb_config=$ac_cv_path__usb_config
22745
 
 
22746
25931
if test -n "$_usb_config"; then
22747
 
  echo "$as_me:$LINENO: result: $_usb_config" >&5
22748
 
echo "${ECHO_T}$_usb_config" >&6
 
25932
  { echo "$as_me:$LINENO: result: $_usb_config" >&5
 
25933
echo "${ECHO_T}$_usb_config" >&6; }
22749
25934
else
22750
 
  echo "$as_me:$LINENO: result: no" >&5
22751
 
echo "${ECHO_T}no" >&6
 
25935
  { echo "$as_me:$LINENO: result: no" >&5
 
25936
echo "${ECHO_T}no" >&6; }
22752
25937
fi
22753
25938
 
 
25939
 
22754
25940
     fi
22755
25941
 
22756
25942
     _libusb_save_libs=$LIBS
22767
25953
     LIBS="$LIBS $_libusb_try_libs"
22768
25954
     CFLAGS="$CFLAGS $_libusb_try_cflags"
22769
25955
 
22770
 
     echo "$as_me:$LINENO: checking whether libusb is present and sane" >&5
22771
 
echo $ECHO_N "checking whether libusb is present and sane... $ECHO_C" >&6
 
25956
     { echo "$as_me:$LINENO: checking whether libusb is present and sane" >&5
 
25957
echo $ECHO_N "checking whether libusb is present and sane... $ECHO_C" >&6; }
22772
25958
 
22773
25959
     cat >conftest.$ac_ext <<_ACEOF
22774
25960
/* confdefs.h.  */
22788
25974
}
22789
25975
_ACEOF
22790
25976
rm -f conftest.$ac_objext conftest$ac_exeext
22791
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22792
 
  (eval $ac_link) 2>conftest.er1
 
25977
if { (ac_try="$ac_link"
 
25978
case "(($ac_try" in
 
25979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25980
  *) ac_try_echo=$ac_try;;
 
25981
esac
 
25982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25983
  (eval "$ac_link") 2>conftest.er1
22793
25984
  ac_status=$?
22794
25985
  grep -v '^ *+' conftest.er1 >conftest.err
22795
25986
  rm -f conftest.er1
22796
25987
  cat conftest.err >&5
22797
25988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798
25989
  (exit $ac_status); } &&
22799
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801
 
  (eval $ac_try) 2>&5
 
25990
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
25991
  { (case "(($ac_try" in
 
25992
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25993
  *) ac_try_echo=$ac_try;;
 
25994
esac
 
25995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25996
  (eval "$ac_try") 2>&5
22802
25997
  ac_status=$?
22803
25998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804
25999
  (exit $ac_status); }; } &&
22805
26000
         { ac_try='test -s conftest$ac_exeext'
22806
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807
 
  (eval $ac_try) 2>&5
 
26001
  { (case "(($ac_try" in
 
26002
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26003
  *) ac_try_echo=$ac_try;;
 
26004
esac
 
26005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26006
  (eval "$ac_try") 2>&5
22808
26007
  ac_status=$?
22809
26008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810
26009
  (exit $ac_status); }; }; then
22813
26012
  echo "$as_me: failed program was:" >&5
22814
26013
sed 's/^/| /' conftest.$ac_ext >&5
22815
26014
 
22816
 
_found_libusb=no
 
26015
        _found_libusb=no
22817
26016
fi
22818
 
rm -f conftest.err conftest.$ac_objext \
 
26017
 
 
26018
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22819
26019
      conftest$ac_exeext conftest.$ac_ext
22820
26020
 
22821
 
     echo "$as_me:$LINENO: result: $_found_libusb" >&5
22822
 
echo "${ECHO_T}$_found_libusb" >&6
 
26021
     { echo "$as_me:$LINENO: result: $_found_libusb" >&5
 
26022
echo "${ECHO_T}$_found_libusb" >&6; }
22823
26023
 
22824
26024
     if test $_found_libusb = yes ; then
22825
26025
 
22835
26035
for ac_func in usb_get_busses
22836
26036
do
22837
26037
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22838
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22839
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22840
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
26038
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26039
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
26040
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22841
26041
  echo $ECHO_N "(cached) $ECHO_C" >&6
22842
26042
else
22843
26043
  cat >conftest.$ac_ext <<_ACEOF
22863
26063
 
22864
26064
#undef $ac_func
22865
26065
 
22866
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26066
/* Override any GCC internal prototype to avoid an error.
 
26067
   Use char because int might match the return type of a GCC
 
26068
   builtin and then its argument prototype would still apply.  */
22867
26069
#ifdef __cplusplus
22868
26070
extern "C"
22869
 
{
22870
26071
#endif
22871
 
/* We use char because int might match the return type of a gcc2
22872
 
   builtin and then its argument prototype would still apply.  */
22873
26072
char $ac_func ();
22874
26073
/* The GNU C library defines this for functions which it implements
22875
26074
    to always fail with ENOSYS.  Some functions are actually named
22876
26075
    something starting with __ and the normal name is an alias.  */
22877
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26076
#if defined __stub_$ac_func || defined __stub___$ac_func
22878
26077
choke me
22879
 
#else
22880
 
char (*f) () = $ac_func;
22881
 
#endif
22882
 
#ifdef __cplusplus
22883
 
}
22884
26078
#endif
22885
26079
 
22886
26080
int
22887
26081
main ()
22888
26082
{
22889
 
return f != $ac_func;
 
26083
return $ac_func ();
22890
26084
  ;
22891
26085
  return 0;
22892
26086
}
22893
26087
_ACEOF
22894
26088
rm -f conftest.$ac_objext conftest$ac_exeext
22895
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22896
 
  (eval $ac_link) 2>conftest.er1
 
26089
if { (ac_try="$ac_link"
 
26090
case "(($ac_try" in
 
26091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26092
  *) ac_try_echo=$ac_try;;
 
26093
esac
 
26094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26095
  (eval "$ac_link") 2>conftest.er1
22897
26096
  ac_status=$?
22898
26097
  grep -v '^ *+' conftest.er1 >conftest.err
22899
26098
  rm -f conftest.er1
22900
26099
  cat conftest.err >&5
22901
26100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902
26101
  (exit $ac_status); } &&
22903
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905
 
  (eval $ac_try) 2>&5
 
26102
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26103
  { (case "(($ac_try" in
 
26104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26105
  *) ac_try_echo=$ac_try;;
 
26106
esac
 
26107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26108
  (eval "$ac_try") 2>&5
22906
26109
  ac_status=$?
22907
26110
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908
26111
  (exit $ac_status); }; } &&
22909
26112
         { ac_try='test -s conftest$ac_exeext'
22910
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22911
 
  (eval $ac_try) 2>&5
 
26113
  { (case "(($ac_try" in
 
26114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26115
  *) ac_try_echo=$ac_try;;
 
26116
esac
 
26117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26118
  (eval "$ac_try") 2>&5
22912
26119
  ac_status=$?
22913
26120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914
26121
  (exit $ac_status); }; }; then
22917
26124
  echo "$as_me: failed program was:" >&5
22918
26125
sed 's/^/| /' conftest.$ac_ext >&5
22919
26126
 
22920
 
eval "$as_ac_var=no"
 
26127
        eval "$as_ac_var=no"
22921
26128
fi
22922
 
rm -f conftest.err conftest.$ac_objext \
 
26129
 
 
26130
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22923
26131
      conftest$ac_exeext conftest.$ac_ext
22924
26132
fi
22925
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22926
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26133
ac_res=`eval echo '${'$as_ac_var'}'`
 
26134
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26135
echo "${ECHO_T}$ac_res" >&6; }
22927
26136
if test `eval echo '${'$as_ac_var'}'` = yes; then
22928
26137
  cat >>confdefs.h <<_ACEOF
22929
26138
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22948
26157
# Check for readline support
22949
26158
 
22950
26159
 
22951
 
# Check whether --with-readline or --without-readline was given.
 
26160
# Check whether --with-readline was given.
22952
26161
if test "${with_readline+set}" = set; then
22953
 
  withval="$with_readline"
22954
 
  _do_readline=$withval
 
26162
  withval=$with_readline; _do_readline=$withval
22955
26163
else
22956
26164
  _do_readline=yes
22957
 
fi;
 
26165
fi
 
26166
 
22958
26167
 
22959
26168
  if test "$_do_readline" != "no" ; then
22960
26169
     if test -d "$withval" ; then
22967
26176
        _combo="-lreadline${_termcap:+ $_termcap}"
22968
26177
        LIBS="$LIBS $_combo"
22969
26178
 
22970
 
        echo "$as_me:$LINENO: checking whether readline via \"$_combo\" is present and sane" >&5
22971
 
echo $ECHO_N "checking whether readline via \"$_combo\" is present and sane... $ECHO_C" >&6
 
26179
        { echo "$as_me:$LINENO: checking whether readline via \"$_combo\" is present and sane" >&5
 
26180
echo $ECHO_N "checking whether readline via \"$_combo\" is present and sane... $ECHO_C" >&6; }
22972
26181
 
22973
26182
        cat >conftest.$ac_ext <<_ACEOF
22974
26183
/* confdefs.h.  */
22997
26206
}
22998
26207
_ACEOF
22999
26208
rm -f conftest.$ac_objext conftest$ac_exeext
23000
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23001
 
  (eval $ac_link) 2>conftest.er1
 
26209
if { (ac_try="$ac_link"
 
26210
case "(($ac_try" in
 
26211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26212
  *) ac_try_echo=$ac_try;;
 
26213
esac
 
26214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26215
  (eval "$ac_link") 2>conftest.er1
23002
26216
  ac_status=$?
23003
26217
  grep -v '^ *+' conftest.er1 >conftest.err
23004
26218
  rm -f conftest.er1
23005
26219
  cat conftest.err >&5
23006
26220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007
26221
  (exit $ac_status); } &&
23008
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010
 
  (eval $ac_try) 2>&5
 
26222
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26223
  { (case "(($ac_try" in
 
26224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26225
  *) ac_try_echo=$ac_try;;
 
26226
esac
 
26227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26228
  (eval "$ac_try") 2>&5
23011
26229
  ac_status=$?
23012
26230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013
26231
  (exit $ac_status); }; } &&
23014
26232
         { ac_try='test -s conftest$ac_exeext'
23015
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016
 
  (eval $ac_try) 2>&5
 
26233
  { (case "(($ac_try" in
 
26234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26235
  *) ac_try_echo=$ac_try;;
 
26236
esac
 
26237
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26238
  (eval "$ac_try") 2>&5
23017
26239
  ac_status=$?
23018
26240
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019
26241
  (exit $ac_status); }; }; then
23022
26244
  echo "$as_me: failed program was:" >&5
23023
26245
sed 's/^/| /' conftest.$ac_ext >&5
23024
26246
 
23025
 
_found_readline=no
 
26247
        _found_readline=no
23026
26248
fi
23027
 
rm -f conftest.err conftest.$ac_objext \
 
26249
 
 
26250
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23028
26251
      conftest$ac_exeext conftest.$ac_ext
23029
26252
 
23030
 
        echo "$as_me:$LINENO: result: $_found_readline" >&5
23031
 
echo "${ECHO_T}$_found_readline" >&6
 
26253
        { echo "$as_me:$LINENO: result: $_found_readline" >&5
 
26254
echo "${ECHO_T}$_found_readline" >&6; }
23032
26255
 
23033
26256
        LIBS=$_readline_save_libs
23034
26257
 
23107
26330
 
23108
26331
    # This is handy for debugging so the compiler doesn't rearrange
23109
26332
    # things and eliminate variables.
23110
 
    # Check whether --enable-optimization or --disable-optimization was given.
 
26333
    # Check whether --enable-optimization was given.
23111
26334
if test "${enable_optimization+set}" = set; then
23112
 
  enableval="$enable_optimization"
23113
 
  if test $enableval = no ; then
 
26335
  enableval=$enable_optimization; if test $enableval = no ; then
23114
26336
                         CFLAGS=`echo $CFLAGS | sed 's/-O[0-9]//'`
23115
26337
                       fi
23116
 
fi;
23117
 
 
23118
 
    echo "$as_me:$LINENO: checking if gcc supports -Wno-pointer-sign" >&5
23119
 
echo $ECHO_N "checking if gcc supports -Wno-pointer-sign... $ECHO_C" >&6
 
26338
fi
 
26339
 
 
26340
 
 
26341
    { echo "$as_me:$LINENO: checking if gcc supports -Wno-pointer-sign" >&5
 
26342
echo $ECHO_N "checking if gcc supports -Wno-pointer-sign... $ECHO_C" >&6; }
23120
26343
 
23121
26344
    _gcc_cflags_save=$CFLAGS
23122
26345
    CFLAGS="-Wno-pointer-sign"
23137
26360
}
23138
26361
_ACEOF
23139
26362
rm -f conftest.$ac_objext
23140
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23141
 
  (eval $ac_compile) 2>conftest.er1
 
26363
if { (ac_try="$ac_compile"
 
26364
case "(($ac_try" in
 
26365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26366
  *) ac_try_echo=$ac_try;;
 
26367
esac
 
26368
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26369
  (eval "$ac_compile") 2>conftest.er1
23142
26370
  ac_status=$?
23143
26371
  grep -v '^ *+' conftest.er1 >conftest.err
23144
26372
  rm -f conftest.er1
23145
26373
  cat conftest.err >&5
23146
26374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147
26375
  (exit $ac_status); } &&
23148
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23149
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150
 
  (eval $ac_try) 2>&5
 
26376
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
 
26377
  { (case "(($ac_try" in
 
26378
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26379
  *) ac_try_echo=$ac_try;;
 
26380
esac
 
26381
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26382
  (eval "$ac_try") 2>&5
23151
26383
  ac_status=$?
23152
26384
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153
26385
  (exit $ac_status); }; } &&
23154
26386
         { ac_try='test -s conftest.$ac_objext'
23155
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156
 
  (eval $ac_try) 2>&5
 
26387
  { (case "(($ac_try" in
 
26388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26389
  *) ac_try_echo=$ac_try;;
 
26390
esac
 
26391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26392
  (eval "$ac_try") 2>&5
23157
26393
  ac_status=$?
23158
26394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159
26395
  (exit $ac_status); }; }; then
23162
26398
  echo "$as_me: failed program was:" >&5
23163
26399
sed 's/^/| /' conftest.$ac_ext >&5
23164
26400
 
23165
 
_gcc_psign=no
 
26401
        _gcc_psign=no
23166
26402
fi
23167
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23168
 
    echo "$as_me:$LINENO: result: $_gcc_psign" >&5
23169
 
echo "${ECHO_T}$_gcc_psign" >&6
 
26403
 
 
26404
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26405
    { echo "$as_me:$LINENO: result: $_gcc_psign" >&5
 
26406
echo "${ECHO_T}$_gcc_psign" >&6; }
23170
26407
 
23171
26408
    CFLAGS=$_gcc_cflags_save;
23172
26409
 
23186
26423
 
23187
26424
 
23188
26425
 
23189
 
echo "$as_me:$LINENO: checking whether non excutable stack support is requested" >&5
23190
 
echo $ECHO_N "checking whether non excutable stack support is requested... $ECHO_C" >&6
23191
 
# Check whether --enable-noexecstack or --disable-noexecstack was given.
 
26426
{ echo "$as_me:$LINENO: checking whether non excutable stack support is requested" >&5
 
26427
echo $ECHO_N "checking whether non excutable stack support is requested... $ECHO_C" >&6; }
 
26428
# Check whether --enable-noexecstack was given.
23192
26429
if test "${enable_noexecstack+set}" = set; then
23193
 
  enableval="$enable_noexecstack"
23194
 
  noexecstack_support=$enableval
 
26430
  enableval=$enable_noexecstack; noexecstack_support=$enableval
23195
26431
else
23196
26432
  noexecstack_support=no
23197
 
fi;
23198
 
echo "$as_me:$LINENO: result: $noexecstack_support" >&5
23199
 
echo "${ECHO_T}$noexecstack_support" >&6
23200
 
 
23201
 
echo "$as_me:$LINENO: checking whether assembler supports --noexecstack option" >&5
23202
 
echo $ECHO_N "checking whether assembler supports --noexecstack option... $ECHO_C" >&6
 
26433
fi
 
26434
 
 
26435
{ echo "$as_me:$LINENO: result: $noexecstack_support" >&5
 
26436
echo "${ECHO_T}$noexecstack_support" >&6; }
 
26437
 
 
26438
{ echo "$as_me:$LINENO: checking whether assembler supports --noexecstack option" >&5
 
26439
echo $ECHO_N "checking whether assembler supports --noexecstack option... $ECHO_C" >&6; }
23203
26440
if test "${cl_cv_as_noexecstack+set}" = set; then
23204
26441
  echo $ECHO_N "(cached) $ECHO_C" >&6
23205
26442
else
23228
26465
  fi
23229
26466
  rm -f conftest*
23230
26467
fi
23231
 
echo "$as_me:$LINENO: result: $cl_cv_as_noexecstack" >&5
23232
 
echo "${ECHO_T}$cl_cv_as_noexecstack" >&6
 
26468
{ echo "$as_me:$LINENO: result: $cl_cv_as_noexecstack" >&5
 
26469
echo "${ECHO_T}$cl_cv_as_noexecstack" >&6; }
23233
26470
  if test "$noexecstack_support" = yes -a "$cl_cv_as_noexecstack" = yes; then
23234
26471
        NOEXECSTACK_FLAGS="-Wa,--noexecstack"
23235
26472
  else
23277
26514
 
23278
26515
# Note the \\\\ for backslashes.  Autoconf eats one layer, leaving \\
23279
26516
 
23280
 
          ac_config_commands="$ac_config_commands g10defs.h"
23281
 
 
23282
 
 
23283
 
 
23284
 
                                                                                                                                                                ac_config_files="$ac_config_files Makefile m4/Makefile intl/Makefile po/Makefile.in util/Makefile mpi/Makefile cipher/Makefile g10/Makefile keyserver/Makefile keyserver/gpgkeys_mailto keyserver/gpgkeys_test doc/Makefile tools/Makefile tools/gpg-zip zlib/Makefile checks/Makefile"
 
26517
ac_config_commands="$ac_config_commands g10defs.h"
 
26518
 
 
26519
 
 
26520
 
 
26521
ac_config_files="$ac_config_files Makefile m4/Makefile intl/Makefile po/Makefile.in util/Makefile mpi/Makefile cipher/Makefile g10/Makefile keyserver/Makefile keyserver/gpgkeys_mailto keyserver/gpgkeys_test doc/Makefile tools/Makefile tools/gpg-zip zlib/Makefile checks/Makefile"
23285
26522
 
23286
26523
cat >confcache <<\_ACEOF
23287
26524
# This file is a shell script that caches the results of configure
23301
26538
 
23302
26539
# The following way of writing the cache mishandles newlines in values,
23303
26540
# but we know of no workaround that is simple, portable, and efficient.
23304
 
# So, don't put newlines in cache variables' values.
 
26541
# So, we kill variables containing newlines.
23305
26542
# Ultrix sh set writes to stderr and can't be redirected directly,
23306
26543
# and sets the high bit in the cache file unless we assign to the vars.
23307
 
{
 
26544
(
 
26545
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
26546
    eval ac_val=\$$ac_var
 
26547
    case $ac_val in #(
 
26548
    *${as_nl}*)
 
26549
      case $ac_var in #(
 
26550
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
26551
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
26552
      esac
 
26553
      case $ac_var in #(
 
26554
      _ | IFS | as_nl) ;; #(
 
26555
      *) $as_unset $ac_var ;;
 
26556
      esac ;;
 
26557
    esac
 
26558
  done
 
26559
 
23308
26560
  (set) 2>&1 |
23309
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
23310
 
    *ac_space=\ *)
 
26561
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
26562
    *${as_nl}ac_space=\ *)
23311
26563
      # `set' does not quote correctly, so add quotes (double-quote
23312
26564
      # substitution turns \\\\ into \\, and sed turns \\ into \).
23313
26565
      sed -n \
23314
26566
        "s/'/'\\\\''/g;
23315
26567
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23316
 
      ;;
 
26568
      ;; #(
23317
26569
    *)
23318
26570
      # `set' quotes correctly as required by POSIX, so do not add quotes.
23319
 
      sed -n \
23320
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
26571
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23321
26572
      ;;
23322
 
    esac;
23323
 
} |
 
26573
    esac |
 
26574
    sort
 
26575
) |
23324
26576
  sed '
 
26577
     /^ac_cv_env_/b end
23325
26578
     t clear
23326
 
     : clear
 
26579
     :clear
23327
26580
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23328
26581
     t end
23329
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23330
 
     : end' >>confcache
23331
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
23332
 
  if test -w $cache_file; then
23333
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
26582
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
26583
     :end' >>confcache
 
26584
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
26585
  if test -w "$cache_file"; then
 
26586
    test "x$cache_file" != "x/dev/null" &&
 
26587
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
26588
echo "$as_me: updating cache $cache_file" >&6;}
23334
26589
    cat confcache >$cache_file
23335
26590
  else
23336
 
    echo "not updating unwritable cache $cache_file"
 
26591
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
26592
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23337
26593
  fi
23338
26594
fi
23339
26595
rm -f confcache
23342
26598
# Let make expand exec_prefix.
23343
26599
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23344
26600
 
23345
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23346
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23347
 
# trailing colons and then remove the whole line if VPATH becomes empty
23348
 
# (actually we leave an empty line to preserve line numbers).
23349
 
if test "x$srcdir" = x.; then
23350
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23351
 
s/:*\$(srcdir):*/:/;
23352
 
s/:*\${srcdir}:*/:/;
23353
 
s/:*@srcdir@:*/:/;
23354
 
s/^\([^=]*=[     ]*\):*/\1/;
23355
 
s/:*$//;
23356
 
s/^[^=]*=[       ]*$//;
23357
 
}'
23358
 
fi
23359
 
 
23360
26601
DEFS=-DHAVE_CONFIG_H
23361
26602
 
23362
26603
ac_libobjs=
23363
26604
ac_ltlibobjs=
23364
26605
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23365
26606
  # 1. Remove the extension, and $U if already installed.
23366
 
  ac_i=`echo "$ac_i" |
23367
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23368
 
  # 2. Add them.
23369
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23370
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
26607
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
26608
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
26609
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
26610
  #    will be set to the directory where LIBOBJS objects are built.
 
26611
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
26612
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23371
26613
done
23372
26614
LIBOBJS=$ac_libobjs
23373
26615
 
23573
26815
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23574
26816
  # is contrary to our usage.  Disable this feature.
23575
26817
  alias -g '${1+"$@"}'='"$@"'
23576
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23577
 
  set -o posix
 
26818
  setopt NO_GLOB_SUBST
 
26819
else
 
26820
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23578
26821
fi
 
26822
BIN_SH=xpg4; export BIN_SH # for Tru64
23579
26823
DUALCASE=1; export DUALCASE # for MKS sh
23580
26824
 
 
26825
 
 
26826
# PATH needs CR
 
26827
# Avoid depending upon Character Ranges.
 
26828
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
26829
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
26830
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
26831
as_cr_digits='0123456789'
 
26832
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
26833
 
 
26834
# The user is always right.
 
26835
if test "${PATH_SEPARATOR+set}" != set; then
 
26836
  echo "#! /bin/sh" >conf$$.sh
 
26837
  echo  "exit 0"   >>conf$$.sh
 
26838
  chmod +x conf$$.sh
 
26839
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
26840
    PATH_SEPARATOR=';'
 
26841
  else
 
26842
    PATH_SEPARATOR=:
 
26843
  fi
 
26844
  rm -f conf$$.sh
 
26845
fi
 
26846
 
23581
26847
# Support unset when possible.
23582
26848
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23583
26849
  as_unset=unset
23586
26852
fi
23587
26853
 
23588
26854
 
 
26855
# IFS
 
26856
# We need space, tab and new line, in precisely that order.  Quoting is
 
26857
# there to prevent editors from complaining about space-tab.
 
26858
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
26859
# splitting by setting IFS to empty value.)
 
26860
as_nl='
 
26861
'
 
26862
IFS=" ""        $as_nl"
 
26863
 
 
26864
# Find who we are.  Look in the path if we contain no directory separator.
 
26865
case $0 in
 
26866
  *[\\/]* ) as_myself=$0 ;;
 
26867
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
26868
for as_dir in $PATH
 
26869
do
 
26870
  IFS=$as_save_IFS
 
26871
  test -z "$as_dir" && as_dir=.
 
26872
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
26873
done
 
26874
IFS=$as_save_IFS
 
26875
 
 
26876
     ;;
 
26877
esac
 
26878
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
26879
# in which case we are not to be found in the path.
 
26880
if test "x$as_myself" = x; then
 
26881
  as_myself=$0
 
26882
fi
 
26883
if test ! -f "$as_myself"; then
 
26884
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
26885
  { (exit 1); exit 1; }
 
26886
fi
 
26887
 
23589
26888
# Work around bugs in pre-3.0 UWIN ksh.
23590
 
$as_unset ENV MAIL MAILPATH
 
26889
for as_var in ENV MAIL MAILPATH
 
26890
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
26891
done
23591
26892
PS1='$ '
23592
26893
PS2='> '
23593
26894
PS4='+ '
23601
26902
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23602
26903
    eval $as_var=C; export $as_var
23603
26904
  else
23604
 
    $as_unset $as_var
 
26905
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23605
26906
  fi
23606
26907
done
23607
26908
 
23608
26909
# Required to use basename.
23609
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
26910
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
26911
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23610
26912
  as_expr=expr
23611
26913
else
23612
26914
  as_expr=false
23613
26915
fi
23614
26916
 
23615
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
26917
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23616
26918
  as_basename=basename
23617
26919
else
23618
26920
  as_basename=false
23620
26922
 
23621
26923
 
23622
26924
# Name of the executable.
23623
 
as_me=`$as_basename "$0" ||
 
26925
as_me=`$as_basename -- "$0" ||
23624
26926
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23625
26927
         X"$0" : 'X\(//\)$' \| \
23626
 
         X"$0" : 'X\(/\)$' \| \
23627
 
         .     : '\(.\)' 2>/dev/null ||
 
26928
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23628
26929
echo X/"$0" |
23629
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23630
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
23631
 
          /^X\/\(\/\).*/{ s//\1/; q; }
23632
 
          s/.*/./; q'`
23633
 
 
23634
 
 
23635
 
# PATH needs CR, and LINENO needs CR and PATH.
23636
 
# Avoid depending upon Character Ranges.
23637
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23638
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23639
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23640
 
as_cr_digits='0123456789'
23641
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
23642
 
 
23643
 
# The user is always right.
23644
 
if test "${PATH_SEPARATOR+set}" != set; then
23645
 
  echo "#! /bin/sh" >conf$$.sh
23646
 
  echo  "exit 0"   >>conf$$.sh
23647
 
  chmod +x conf$$.sh
23648
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23649
 
    PATH_SEPARATOR=';'
23650
 
  else
23651
 
    PATH_SEPARATOR=:
23652
 
  fi
23653
 
  rm -f conf$$.sh
23654
 
fi
23655
 
 
23656
 
 
23657
 
  as_lineno_1=$LINENO
23658
 
  as_lineno_2=$LINENO
23659
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23660
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
23661
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
23662
 
  # Find who we are.  Look in the path if we contain no path at all
23663
 
  # relative or not.
23664
 
  case $0 in
23665
 
    *[\\/]* ) as_myself=$0 ;;
23666
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23667
 
for as_dir in $PATH
23668
 
do
23669
 
  IFS=$as_save_IFS
23670
 
  test -z "$as_dir" && as_dir=.
23671
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23672
 
done
23673
 
 
23674
 
       ;;
23675
 
  esac
23676
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
23677
 
  # in which case we are not to be found in the path.
23678
 
  if test "x$as_myself" = x; then
23679
 
    as_myself=$0
23680
 
  fi
23681
 
  if test ! -f "$as_myself"; then
23682
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23683
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23684
 
   { (exit 1); exit 1; }; }
23685
 
  fi
23686
 
  case $CONFIG_SHELL in
23687
 
  '')
23688
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23689
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23690
 
do
23691
 
  IFS=$as_save_IFS
23692
 
  test -z "$as_dir" && as_dir=.
23693
 
  for as_base in sh bash ksh sh5; do
23694
 
         case $as_dir in
23695
 
         /*)
23696
 
           if ("$as_dir/$as_base" -c '
23697
 
  as_lineno_1=$LINENO
23698
 
  as_lineno_2=$LINENO
23699
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23700
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
23701
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
23702
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23703
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23704
 
             CONFIG_SHELL=$as_dir/$as_base
23705
 
             export CONFIG_SHELL
23706
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23707
 
           fi;;
23708
 
         esac
23709
 
       done
23710
 
done
23711
 
;;
23712
 
  esac
 
26930
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
26931
            s//\1/
 
26932
            q
 
26933
          }
 
26934
          /^X\/\(\/\/\)$/{
 
26935
            s//\1/
 
26936
            q
 
26937
          }
 
26938
          /^X\/\(\/\).*/{
 
26939
            s//\1/
 
26940
            q
 
26941
          }
 
26942
          s/.*/./; q'`
 
26943
 
 
26944
# CDPATH.
 
26945
$as_unset CDPATH
 
26946
 
 
26947
 
 
26948
 
 
26949
  as_lineno_1=$LINENO
 
26950
  as_lineno_2=$LINENO
 
26951
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
26952
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23713
26953
 
23714
26954
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23715
26955
  # uniformly replaced by the line number.  The first 'sed' inserts a
23716
 
  # line-number line before each line; the second 'sed' does the real
23717
 
  # work.  The second script uses 'N' to pair each line-number line
23718
 
  # with the numbered line, and appends trailing '-' during
23719
 
  # substitution so that $LINENO is not a special case at line end.
 
26956
  # line-number line after each line using $LINENO; the second 'sed'
 
26957
  # does the real work.  The second script uses 'N' to pair each
 
26958
  # line-number line with the line containing $LINENO, and appends
 
26959
  # trailing '-' during substitution so that $LINENO is not a special
 
26960
  # case at line end.
23720
26961
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23721
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23722
 
  sed '=' <$as_myself |
 
26962
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
26963
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
26964
  sed -n '
 
26965
    p
 
26966
    /[$]LINENO/=
 
26967
  ' <$as_myself |
23723
26968
    sed '
 
26969
      s/[$]LINENO.*/&-/
 
26970
      t lineno
 
26971
      b
 
26972
      :lineno
23724
26973
      N
23725
 
      s,$,-,
23726
 
      : loop
23727
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
26974
      :loop
 
26975
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23728
26976
      t loop
23729
 
      s,-$,,
23730
 
      s,^['$as_cr_digits']*\n,,
 
26977
      s/-\n.*//
23731
26978
    ' >$as_me.lineno &&
23732
 
  chmod +x $as_me.lineno ||
23733
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23734
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
26979
  chmod +x "$as_me.lineno" ||
 
26980
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23735
26981
   { (exit 1); exit 1; }; }
23736
26982
 
23737
26983
  # Don't try to exec as it changes $[0], causing all sort of problems
23738
26984
  # (the dirname of $[0] is not the place where we might find the
23739
 
  # original and so on.  Autoconf is especially sensible to this).
23740
 
  . ./$as_me.lineno
 
26985
  # original and so on.  Autoconf is especially sensitive to this).
 
26986
  . "./$as_me.lineno"
23741
26987
  # Exit status is that of the last command.
23742
26988
  exit
23743
26989
}
23744
26990
 
23745
26991
 
23746
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23747
 
  *c*,-n*) ECHO_N= ECHO_C='
23748
 
' ECHO_T='      ' ;;
23749
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23750
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
26992
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
26993
  as_dirname=dirname
 
26994
else
 
26995
  as_dirname=false
 
26996
fi
 
26997
 
 
26998
ECHO_C= ECHO_N= ECHO_T=
 
26999
case `echo -n x` in
 
27000
-n*)
 
27001
  case `echo 'x\c'` in
 
27002
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
27003
  *)   ECHO_C='\c';;
 
27004
  esac;;
 
27005
*)
 
27006
  ECHO_N='-n';;
23751
27007
esac
23752
27008
 
23753
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27009
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27010
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23754
27011
  as_expr=expr
23755
27012
else
23756
27013
  as_expr=false
23757
27014
fi
23758
27015
 
23759
27016
rm -f conf$$ conf$$.exe conf$$.file
 
27017
if test -d conf$$.dir; then
 
27018
  rm -f conf$$.dir/conf$$.file
 
27019
else
 
27020
  rm -f conf$$.dir
 
27021
  mkdir conf$$.dir
 
27022
fi
23760
27023
echo >conf$$.file
23761
27024
if ln -s conf$$.file conf$$ 2>/dev/null; then
23762
 
  # We could just check for DJGPP; but this test a) works b) is more generic
23763
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23764
 
  if test -f conf$$.exe; then
23765
 
    # Don't use ln at all; we don't have any links
 
27025
  as_ln_s='ln -s'
 
27026
  # ... but there are two gotchas:
 
27027
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
27028
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
27029
  # In both cases, we have to default to `cp -p'.
 
27030
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23766
27031
    as_ln_s='cp -p'
23767
 
  else
23768
 
    as_ln_s='ln -s'
23769
 
  fi
23770
27032
elif ln conf$$.file conf$$ 2>/dev/null; then
23771
27033
  as_ln_s=ln
23772
27034
else
23773
27035
  as_ln_s='cp -p'
23774
27036
fi
23775
 
rm -f conf$$ conf$$.exe conf$$.file
 
27037
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
27038
rmdir conf$$.dir 2>/dev/null
23776
27039
 
23777
27040
if mkdir -p . 2>/dev/null; then
23778
27041
  as_mkdir_p=:
23781
27044
  as_mkdir_p=false
23782
27045
fi
23783
27046
 
23784
 
as_executable_p="test -f"
 
27047
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
27048
# systems may use methods other than mode bits to determine executability.
 
27049
cat >conf$$.file <<_ASEOF
 
27050
#! /bin/sh
 
27051
exit 0
 
27052
_ASEOF
 
27053
chmod +x conf$$.file
 
27054
if test -x conf$$.file >/dev/null 2>&1; then
 
27055
  as_executable_p="test -x"
 
27056
else
 
27057
  as_executable_p=:
 
27058
fi
 
27059
rm -f conf$$.file
23785
27060
 
23786
27061
# Sed expression to map a string onto a valid CPP name.
23787
27062
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23790
27065
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23791
27066
 
23792
27067
 
23793
 
# IFS
23794
 
# We need space, tab and new line, in precisely that order.
23795
 
as_nl='
23796
 
'
23797
 
IFS="   $as_nl"
23798
 
 
23799
 
# CDPATH.
23800
 
$as_unset CDPATH
23801
 
 
23802
27068
exec 6>&1
23803
27069
 
23804
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
27070
# Save the log message, to keep $[0] and so on meaningful, and to
23805
27071
# report actual input values of CONFIG_FILES etc. instead of their
23806
 
# values after options handling.  Logging --version etc. is OK.
23807
 
exec 5>>config.log
23808
 
{
23809
 
  echo
23810
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23811
 
## Running $as_me. ##
23812
 
_ASBOX
23813
 
} >&5
23814
 
cat >&5 <<_CSEOF
23815
 
 
23816
 
This file was extended by gnupg $as_me 1.4.5, which was
23817
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
27072
# values after options handling.
 
27073
ac_log="
 
27074
This file was extended by gnupg $as_me 1.4.6, which was
 
27075
generated by GNU Autoconf 2.60a.  Invocation command line was
23818
27076
 
23819
27077
  CONFIG_FILES    = $CONFIG_FILES
23820
27078
  CONFIG_HEADERS  = $CONFIG_HEADERS
23822
27080
  CONFIG_COMMANDS = $CONFIG_COMMANDS
23823
27081
  $ $0 $@
23824
27082
 
23825
 
_CSEOF
23826
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23827
 
echo >&5
 
27083
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
27084
"
 
27085
 
23828
27086
_ACEOF
23829
27087
 
 
27088
cat >>$CONFIG_STATUS <<_ACEOF
23830
27089
# Files that config.status was made for.
23831
 
if test -n "$ac_config_files"; then
23832
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23833
 
fi
23834
 
 
23835
 
if test -n "$ac_config_headers"; then
23836
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23837
 
fi
23838
 
 
23839
 
if test -n "$ac_config_links"; then
23840
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23841
 
fi
23842
 
 
23843
 
if test -n "$ac_config_commands"; then
23844
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23845
 
fi
 
27090
config_files="$ac_config_files"
 
27091
config_headers="$ac_config_headers"
 
27092
config_links="$ac_config_links"
 
27093
config_commands="$ac_config_commands"
 
27094
 
 
27095
_ACEOF
23846
27096
 
23847
27097
cat >>$CONFIG_STATUS <<\_ACEOF
23848
 
 
23849
27098
ac_cs_usage="\
23850
27099
\`$as_me' instantiates files from templates according to the
23851
27100
current configuration.
23853
27102
Usage: $0 [OPTIONS] [FILE]...
23854
27103
 
23855
27104
  -h, --help       print this help, then exit
23856
 
  -V, --version    print version number, then exit
 
27105
  -V, --version    print version number and configuration settings, then exit
23857
27106
  -q, --quiet      do not print progress messages
23858
27107
  -d, --debug      don't remove temporary files
23859
27108
      --recheck    update $as_me by reconfiguring in the same conditions
23875
27124
$config_commands
23876
27125
 
23877
27126
Report bugs to <bug-autoconf@gnu.org>."
 
27127
 
23878
27128
_ACEOF
23879
 
 
23880
27129
cat >>$CONFIG_STATUS <<_ACEOF
23881
27130
ac_cs_version="\\
23882
 
gnupg config.status 1.4.5
23883
 
configured by $0, generated by GNU Autoconf 2.59,
23884
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
27131
gnupg config.status 1.4.6
 
27132
configured by $0, generated by GNU Autoconf 2.60a,
 
27133
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23885
27134
 
23886
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
27135
Copyright (C) 2006 Free Software Foundation, Inc.
23887
27136
This config.status script is free software; the Free Software Foundation
23888
27137
gives unlimited permission to copy, distribute and modify it."
23889
 
srcdir=$srcdir
23890
 
INSTALL="$INSTALL"
 
27138
 
 
27139
ac_pwd='$ac_pwd'
 
27140
srcdir='$srcdir'
 
27141
INSTALL='$INSTALL'
23891
27142
_ACEOF
23892
27143
 
23893
27144
cat >>$CONFIG_STATUS <<\_ACEOF
23898
27149
do
23899
27150
  case $1 in
23900
27151
  --*=*)
23901
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
23902
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
27152
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
27153
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23903
27154
    ac_shift=:
23904
27155
    ;;
23905
 
  -*)
 
27156
  *)
23906
27157
    ac_option=$1
23907
27158
    ac_optarg=$2
23908
27159
    ac_shift=shift
23909
27160
    ;;
23910
 
  *) # This is not an option, so the user has probably given explicit
23911
 
     # arguments.
23912
 
     ac_option=$1
23913
 
     ac_need_defaults=false;;
23914
27161
  esac
23915
27162
 
23916
27163
  case $ac_option in
23917
27164
  # Handling of the options.
23918
 
_ACEOF
23919
 
cat >>$CONFIG_STATUS <<\_ACEOF
23920
27165
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23921
27166
    ac_cs_recheck=: ;;
23922
 
  --version | --vers* | -V )
23923
 
    echo "$ac_cs_version"; exit 0 ;;
23924
 
  --he | --h)
23925
 
    # Conflict between --help and --header
23926
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
23927
 
Try \`$0 --help' for more information." >&5
23928
 
echo "$as_me: error: ambiguous option: $1
23929
 
Try \`$0 --help' for more information." >&2;}
23930
 
   { (exit 1); exit 1; }; };;
23931
 
  --help | --hel | -h )
23932
 
    echo "$ac_cs_usage"; exit 0 ;;
23933
 
  --debug | --d* | -d )
 
27167
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
27168
    echo "$ac_cs_version"; exit ;;
 
27169
  --debug | --debu | --deb | --de | --d | -d )
23934
27170
    debug=: ;;
23935
27171
  --file | --fil | --fi | --f )
23936
27172
    $ac_shift
23940
27176
    $ac_shift
23941
27177
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23942
27178
    ac_need_defaults=false;;
 
27179
  --he | --h)
 
27180
    # Conflict between --help and --header
 
27181
    { echo "$as_me: error: ambiguous option: $1
 
27182
Try \`$0 --help' for more information." >&2
 
27183
   { (exit 1); exit 1; }; };;
 
27184
  --help | --hel | -h )
 
27185
    echo "$ac_cs_usage"; exit ;;
23943
27186
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23944
27187
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23945
27188
    ac_cs_silent=: ;;
23946
27189
 
23947
27190
  # This is an error.
23948
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23949
 
Try \`$0 --help' for more information." >&5
23950
 
echo "$as_me: error: unrecognized option: $1
23951
 
Try \`$0 --help' for more information." >&2;}
 
27191
  -*) { echo "$as_me: error: unrecognized option: $1
 
27192
Try \`$0 --help' for more information." >&2
23952
27193
   { (exit 1); exit 1; }; } ;;
23953
27194
 
23954
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
27195
  *) ac_config_targets="$ac_config_targets $1"
 
27196
     ac_need_defaults=false ;;
23955
27197
 
23956
27198
  esac
23957
27199
  shift
23967
27209
_ACEOF
23968
27210
cat >>$CONFIG_STATUS <<_ACEOF
23969
27211
if \$ac_cs_recheck; then
23970
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23971
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
27212
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
27213
  CONFIG_SHELL=$SHELL
 
27214
  export CONFIG_SHELL
 
27215
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23972
27216
fi
23973
27217
 
23974
27218
_ACEOF
 
27219
cat >>$CONFIG_STATUS <<\_ACEOF
 
27220
exec 5>>config.log
 
27221
{
 
27222
  echo
 
27223
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
27224
## Running $as_me. ##
 
27225
_ASBOX
 
27226
  echo "$ac_log"
 
27227
} >&5
23975
27228
 
 
27229
_ACEOF
23976
27230
cat >>$CONFIG_STATUS <<_ACEOF
23977
27231
#
23978
 
# INIT-COMMANDS section.
 
27232
# INIT-COMMANDS
23979
27233
#
23980
 
 
23981
27234
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23982
27235
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
23983
27236
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
24004
27257
 
24005
27258
_ACEOF
24006
27259
 
24007
 
 
24008
 
 
24009
27260
cat >>$CONFIG_STATUS <<\_ACEOF
 
27261
 
 
27262
# Handling of arguments.
24010
27263
for ac_config_target in $ac_config_targets
24011
27264
do
24012
 
  case "$ac_config_target" in
24013
 
  # Handling of arguments.
24014
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24015
 
  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
24016
 
  "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
24017
 
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24018
 
  "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
24019
 
  "mpi/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpi/Makefile" ;;
24020
 
  "cipher/Makefile" ) CONFIG_FILES="$CONFIG_FILES cipher/Makefile" ;;
24021
 
  "g10/Makefile" ) CONFIG_FILES="$CONFIG_FILES g10/Makefile" ;;
24022
 
  "keyserver/Makefile" ) CONFIG_FILES="$CONFIG_FILES keyserver/Makefile" ;;
24023
 
  "keyserver/gpgkeys_mailto" ) CONFIG_FILES="$CONFIG_FILES keyserver/gpgkeys_mailto" ;;
24024
 
  "keyserver/gpgkeys_test" ) CONFIG_FILES="$CONFIG_FILES keyserver/gpgkeys_test" ;;
24025
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
24026
 
  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24027
 
  "tools/gpg-zip" ) CONFIG_FILES="$CONFIG_FILES tools/gpg-zip" ;;
24028
 
  "zlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES zlib/Makefile" ;;
24029
 
  "checks/Makefile" ) CONFIG_FILES="$CONFIG_FILES checks/Makefile" ;;
24030
 
  ""$mpi_ln_list"" ) CONFIG_LINKS="$CONFIG_LINKS "$mpi_ln_list"" ;;
24031
 
  "zlib.h" ) CONFIG_LINKS="$CONFIG_LINKS zlib.h:zlib/zlib.h" ;;
24032
 
  "zconf.h" ) CONFIG_LINKS="$CONFIG_LINKS zconf.h:zlib/zconf.h" ;;
24033
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24034
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24035
 
  "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
24036
 
  "g10defs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS g10defs.h" ;;
24037
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
27265
  case $ac_config_target in
 
27266
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
27267
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
27268
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
27269
    "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
 
27270
    ""$mpi_ln_list"") CONFIG_LINKS="$CONFIG_LINKS "$mpi_ln_list"" ;;
 
27271
    "zlib.h") CONFIG_LINKS="$CONFIG_LINKS zlib.h:zlib/zlib.h" ;;
 
27272
    "zconf.h") CONFIG_LINKS="$CONFIG_LINKS zconf.h:zlib/zconf.h" ;;
 
27273
    "g10defs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS g10defs.h" ;;
 
27274
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
27275
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
 
27276
    "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
 
27277
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
27278
    "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
 
27279
    "mpi/Makefile") CONFIG_FILES="$CONFIG_FILES mpi/Makefile" ;;
 
27280
    "cipher/Makefile") CONFIG_FILES="$CONFIG_FILES cipher/Makefile" ;;
 
27281
    "g10/Makefile") CONFIG_FILES="$CONFIG_FILES g10/Makefile" ;;
 
27282
    "keyserver/Makefile") CONFIG_FILES="$CONFIG_FILES keyserver/Makefile" ;;
 
27283
    "keyserver/gpgkeys_mailto") CONFIG_FILES="$CONFIG_FILES keyserver/gpgkeys_mailto" ;;
 
27284
    "keyserver/gpgkeys_test") CONFIG_FILES="$CONFIG_FILES keyserver/gpgkeys_test" ;;
 
27285
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
27286
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 
27287
    "tools/gpg-zip") CONFIG_FILES="$CONFIG_FILES tools/gpg-zip" ;;
 
27288
    "zlib/Makefile") CONFIG_FILES="$CONFIG_FILES zlib/Makefile" ;;
 
27289
    "checks/Makefile") CONFIG_FILES="$CONFIG_FILES checks/Makefile" ;;
 
27290
 
24038
27291
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24039
27292
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24040
27293
   { (exit 1); exit 1; }; };;
24041
27294
  esac
24042
27295
done
24043
27296
 
 
27297
 
24044
27298
# If the user did not use the arguments to specify the items to instantiate,
24045
27299
# then the envvar interface is used.  Set only those that are not.
24046
27300
# We use the long form for the default assignment because of an extremely
24053
27307
fi
24054
27308
 
24055
27309
# Have a temporary directory for convenience.  Make it in the build tree
24056
 
# simply because there is no reason to put it here, and in addition,
 
27310
# simply because there is no reason against having it here, and in addition,
24057
27311
# creating and moving files from /tmp can sometimes cause problems.
24058
 
# Create a temporary directory, and hook for its removal unless debugging.
 
27312
# Hook for its removal unless debugging.
 
27313
# Note that there is a small window in which the directory will not be cleaned:
 
27314
# after its creation but before its name has been assigned to `$tmp'.
24059
27315
$debug ||
24060
27316
{
24061
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
27317
  tmp=
 
27318
  trap 'exit_status=$?
 
27319
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
27320
' 0
24062
27321
  trap '{ (exit 1); exit 1; }' 1 2 13 15
24063
27322
}
24064
 
 
24065
27323
# Create a (secure) tmp directory for tmp files.
24066
27324
 
24067
27325
{
24068
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
27326
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24069
27327
  test -n "$tmp" && test -d "$tmp"
24070
27328
}  ||
24071
27329
{
24072
 
  tmp=./confstat$$-$RANDOM
24073
 
  (umask 077 && mkdir $tmp)
 
27330
  tmp=./conf$$-$RANDOM
 
27331
  (umask 077 && mkdir "$tmp")
24074
27332
} ||
24075
27333
{
24076
27334
   echo "$me: cannot create a temporary directory in ." >&2
24077
27335
   { (exit 1); exit 1; }
24078
27336
}
24079
27337
 
24080
 
_ACEOF
24081
 
 
24082
 
cat >>$CONFIG_STATUS <<_ACEOF
24083
 
 
24084
27338
#
24085
 
# CONFIG_FILES section.
 
27339
# Set up the sed scripts for CONFIG_FILES section.
24086
27340
#
24087
27341
 
24088
27342
# No need to generate the scripts if there are no CONFIG_FILES.
24089
27343
# This happens for instance when ./config.status config.h
24090
 
if test -n "\$CONFIG_FILES"; then
24091
 
  # Protect against being on the right side of a sed subst in config.status.
24092
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24093
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24094
 
s,@SHELL@,$SHELL,;t t
24095
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24096
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24097
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24098
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24099
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24100
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24101
 
s,@exec_prefix@,$exec_prefix,;t t
24102
 
s,@prefix@,$prefix,;t t
24103
 
s,@program_transform_name@,$program_transform_name,;t t
24104
 
s,@bindir@,$bindir,;t t
24105
 
s,@sbindir@,$sbindir,;t t
24106
 
s,@libexecdir@,$libexecdir,;t t
24107
 
s,@datadir@,$datadir,;t t
24108
 
s,@sysconfdir@,$sysconfdir,;t t
24109
 
s,@sharedstatedir@,$sharedstatedir,;t t
24110
 
s,@localstatedir@,$localstatedir,;t t
24111
 
s,@libdir@,$libdir,;t t
24112
 
s,@includedir@,$includedir,;t t
24113
 
s,@oldincludedir@,$oldincludedir,;t t
24114
 
s,@infodir@,$infodir,;t t
24115
 
s,@mandir@,$mandir,;t t
24116
 
s,@build_alias@,$build_alias,;t t
24117
 
s,@host_alias@,$host_alias,;t t
24118
 
s,@target_alias@,$target_alias,;t t
24119
 
s,@DEFS@,$DEFS,;t t
24120
 
s,@ECHO_C@,$ECHO_C,;t t
24121
 
s,@ECHO_N@,$ECHO_N,;t t
24122
 
s,@ECHO_T@,$ECHO_T,;t t
24123
 
s,@LIBS@,$LIBS,;t t
24124
 
s,@build@,$build,;t t
24125
 
s,@build_cpu@,$build_cpu,;t t
24126
 
s,@build_vendor@,$build_vendor,;t t
24127
 
s,@build_os@,$build_os,;t t
24128
 
s,@host@,$host,;t t
24129
 
s,@host_cpu@,$host_cpu,;t t
24130
 
s,@host_vendor@,$host_vendor,;t t
24131
 
s,@host_os@,$host_os,;t t
24132
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24133
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24134
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24135
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
24136
 
s,@PACKAGE@,$PACKAGE,;t t
24137
 
s,@VERSION@,$VERSION,;t t
24138
 
s,@ACLOCAL@,$ACLOCAL,;t t
24139
 
s,@AUTOCONF@,$AUTOCONF,;t t
24140
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
24141
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
24142
 
s,@MAKEINFO@,$MAKEINFO,;t t
24143
 
s,@install_sh@,$install_sh,;t t
24144
 
s,@STRIP@,$STRIP,;t t
24145
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24146
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24147
 
s,@mkdir_p@,$mkdir_p,;t t
24148
 
s,@AWK@,$AWK,;t t
24149
 
s,@SET_MAKE@,$SET_MAKE,;t t
24150
 
s,@am__leading_dot@,$am__leading_dot,;t t
24151
 
s,@AMTAR@,$AMTAR,;t t
24152
 
s,@am__tar@,$am__tar,;t t
24153
 
s,@am__untar@,$am__untar,;t t
24154
 
s,@IDEA_O@,$IDEA_O,;t t
24155
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24156
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24157
 
s,@MAINT@,$MAINT,;t t
24158
 
s,@CC@,$CC,;t t
24159
 
s,@CFLAGS@,$CFLAGS,;t t
24160
 
s,@LDFLAGS@,$LDFLAGS,;t t
24161
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
24162
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
24163
 
s,@EXEEXT@,$EXEEXT,;t t
24164
 
s,@OBJEXT@,$OBJEXT,;t t
24165
 
s,@DEPDIR@,$DEPDIR,;t t
24166
 
s,@am__include@,$am__include,;t t
24167
 
s,@am__quote@,$am__quote,;t t
24168
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24169
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24170
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24171
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
24172
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24173
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24174
 
s,@CPP@,$CPP,;t t
24175
 
s,@RANLIB@,$RANLIB,;t t
24176
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24177
 
s,@AR@,$AR,;t t
24178
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
24179
 
s,@PERL@,$PERL,;t t
24180
 
s,@DOCBOOK_TO_MAN@,$DOCBOOK_TO_MAN,;t t
24181
 
s,@HAVE_DOCBOOK_TO_MAN_TRUE@,$HAVE_DOCBOOK_TO_MAN_TRUE,;t t
24182
 
s,@HAVE_DOCBOOK_TO_MAN_FALSE@,$HAVE_DOCBOOK_TO_MAN_FALSE,;t t
24183
 
s,@FAQPROG@,$FAQPROG,;t t
24184
 
s,@WORKING_FAQPROG_TRUE@,$WORKING_FAQPROG_TRUE,;t t
24185
 
s,@WORKING_FAQPROG_FALSE@,$WORKING_FAQPROG_FALSE,;t t
24186
 
s,@DOCBOOK_TO_TEXI@,$DOCBOOK_TO_TEXI,;t t
24187
 
s,@HAVE_DOCBOOK_TO_TEXI_TRUE@,$HAVE_DOCBOOK_TO_TEXI_TRUE,;t t
24188
 
s,@HAVE_DOCBOOK_TO_TEXI_FALSE@,$HAVE_DOCBOOK_TO_TEXI_FALSE,;t t
24189
 
s,@TAR@,$TAR,;t t
24190
 
s,@HAVE_USTAR_TRUE@,$HAVE_USTAR_TRUE,;t t
24191
 
s,@HAVE_USTAR_FALSE@,$HAVE_USTAR_FALSE,;t t
24192
 
s,@HAVE_DOSISH_SYSTEM_TRUE@,$HAVE_DOSISH_SYSTEM_TRUE,;t t
24193
 
s,@HAVE_DOSISH_SYSTEM_FALSE@,$HAVE_DOSISH_SYSTEM_FALSE,;t t
24194
 
s,@USE_SIMPLE_GETTEXT_TRUE@,$USE_SIMPLE_GETTEXT_TRUE,;t t
24195
 
s,@USE_SIMPLE_GETTEXT_FALSE@,$USE_SIMPLE_GETTEXT_FALSE,;t t
24196
 
s,@HAVE_W32_SYSTEM_TRUE@,$HAVE_W32_SYSTEM_TRUE,;t t
24197
 
s,@HAVE_W32_SYSTEM_FALSE@,$HAVE_W32_SYSTEM_FALSE,;t t
24198
 
s,@MPI_OPT_FLAGS@,$MPI_OPT_FLAGS,;t t
24199
 
s,@NM@,$NM,;t t
24200
 
s,@GPGKEYS_HKP@,$GPGKEYS_HKP,;t t
24201
 
s,@GPGKEYS_FINGER@,$GPGKEYS_FINGER,;t t
24202
 
s,@DNSLIBS@,$DNSLIBS,;t t
24203
 
s,@USE_DNS_SRV_TRUE@,$USE_DNS_SRV_TRUE,;t t
24204
 
s,@USE_DNS_SRV_FALSE@,$USE_DNS_SRV_FALSE,;t t
24205
 
s,@GPGKEYS_LDAP@,$GPGKEYS_LDAP,;t t
24206
 
s,@LDAPLIBS@,$LDAPLIBS,;t t
24207
 
s,@LDAP_CPPFLAGS@,$LDAP_CPPFLAGS,;t t
24208
 
s,@_libcurl_config@,$_libcurl_config,;t t
24209
 
s,@LIBCURL_CPPFLAGS@,$LIBCURL_CPPFLAGS,;t t
24210
 
s,@LIBCURL@,$LIBCURL,;t t
24211
 
s,@FAKE_CURL_TRUE@,$FAKE_CURL_TRUE,;t t
24212
 
s,@FAKE_CURL_FALSE@,$FAKE_CURL_FALSE,;t t
24213
 
s,@GPGKEYS_CURL@,$GPGKEYS_CURL,;t t
24214
 
s,@SENDMAIL@,$SENDMAIL,;t t
24215
 
s,@GPGKEYS_MAILTO@,$GPGKEYS_MAILTO,;t t
24216
 
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
24217
 
s,@USE_NLS@,$USE_NLS,;t t
24218
 
s,@MSGFMT@,$MSGFMT,;t t
24219
 
s,@GMSGFMT@,$GMSGFMT,;t t
24220
 
s,@XGETTEXT@,$XGETTEXT,;t t
24221
 
s,@MSGMERGE@,$MSGMERGE,;t t
24222
 
s,@EGREP@,$EGREP,;t t
24223
 
s,@ALLOCA@,$ALLOCA,;t t
24224
 
s,@GLIBC21@,$GLIBC21,;t t
24225
 
s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
24226
 
s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
24227
 
s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
24228
 
s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
24229
 
s,@LIBICONV@,$LIBICONV,;t t
24230
 
s,@LTLIBICONV@,$LTLIBICONV,;t t
24231
 
s,@INTLBISON@,$INTLBISON,;t t
24232
 
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
24233
 
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
24234
 
s,@CATOBJEXT@,$CATOBJEXT,;t t
24235
 
s,@DATADIRNAME@,$DATADIRNAME,;t t
24236
 
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
24237
 
s,@GENCAT@,$GENCAT,;t t
24238
 
s,@INTLOBJS@,$INTLOBJS,;t t
24239
 
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
24240
 
s,@INTLLIBS@,$INTLLIBS,;t t
24241
 
s,@LIBINTL@,$LIBINTL,;t t
24242
 
s,@LTLIBINTL@,$LTLIBINTL,;t t
24243
 
s,@POSUB@,$POSUB,;t t
24244
 
s,@DLLIBS@,$DLLIBS,;t t
24245
 
s,@ENABLE_CARD_SUPPORT_TRUE@,$ENABLE_CARD_SUPPORT_TRUE,;t t
24246
 
s,@ENABLE_CARD_SUPPORT_FALSE@,$ENABLE_CARD_SUPPORT_FALSE,;t t
24247
 
s,@ENABLE_AGENT_SUPPORT_TRUE@,$ENABLE_AGENT_SUPPORT_TRUE,;t t
24248
 
s,@ENABLE_AGENT_SUPPORT_FALSE@,$ENABLE_AGENT_SUPPORT_FALSE,;t t
24249
 
s,@USE_SHA512_TRUE@,$USE_SHA512_TRUE,;t t
24250
 
s,@USE_SHA512_FALSE@,$USE_SHA512_FALSE,;t t
24251
 
s,@LIBOBJS@,$LIBOBJS,;t t
24252
 
s,@GETOPT@,$GETOPT,;t t
24253
 
s,@CAPLIBS@,$CAPLIBS,;t t
24254
 
s,@USE_RNDLINUX_TRUE@,$USE_RNDLINUX_TRUE,;t t
24255
 
s,@USE_RNDLINUX_FALSE@,$USE_RNDLINUX_FALSE,;t t
24256
 
s,@USE_RNDUNIX_TRUE@,$USE_RNDUNIX_TRUE,;t t
24257
 
s,@USE_RNDUNIX_FALSE@,$USE_RNDUNIX_FALSE,;t t
24258
 
s,@USE_RNDEGD_TRUE@,$USE_RNDEGD_TRUE,;t t
24259
 
s,@USE_RNDEGD_FALSE@,$USE_RNDEGD_FALSE,;t t
24260
 
s,@USE_RNDW32_TRUE@,$USE_RNDW32_TRUE,;t t
24261
 
s,@USE_RNDW32_FALSE@,$USE_RNDW32_FALSE,;t t
24262
 
s,@MPI_EXTRA_ASM_OBJS@,$MPI_EXTRA_ASM_OBJS,;t t
24263
 
s,@MPI_SFLAGS@,$MPI_SFLAGS,;t t
24264
 
s,@USE_INTERNAL_REGEX_TRUE@,$USE_INTERNAL_REGEX_TRUE,;t t
24265
 
s,@USE_INTERNAL_REGEX_FALSE@,$USE_INTERNAL_REGEX_FALSE,;t t
24266
 
s,@ENABLE_LOCAL_ZLIB_TRUE@,$ENABLE_LOCAL_ZLIB_TRUE,;t t
24267
 
s,@ENABLE_LOCAL_ZLIB_FALSE@,$ENABLE_LOCAL_ZLIB_FALSE,;t t
24268
 
s,@ENABLE_BZIP2_SUPPORT_TRUE@,$ENABLE_BZIP2_SUPPORT_TRUE,;t t
24269
 
s,@ENABLE_BZIP2_SUPPORT_FALSE@,$ENABLE_BZIP2_SUPPORT_FALSE,;t t
24270
 
s,@ZLIBS@,$ZLIBS,;t t
24271
 
s,@_usb_config@,$_usb_config,;t t
24272
 
s,@LIBUSB_CPPFLAGS@,$LIBUSB_CPPFLAGS,;t t
24273
 
s,@LIBUSB@,$LIBUSB,;t t
24274
 
s,@LIBREADLINE@,$LIBREADLINE,;t t
24275
 
s,@CROSS_COMPILING_TRUE@,$CROSS_COMPILING_TRUE,;t t
24276
 
s,@CROSS_COMPILING_FALSE@,$CROSS_COMPILING_FALSE,;t t
24277
 
s,@NETLIBS@,$NETLIBS,;t t
24278
 
s,@W32LIBS@,$W32LIBS,;t t
24279
 
s,@CCAS@,$CCAS,;t t
24280
 
s,@CCASFLAGS@,$CCASFLAGS,;t t
24281
 
s,@NOEXECSTACK_FLAGS@,$NOEXECSTACK_FLAGS,;t t
24282
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24283
 
CEOF
24284
 
 
24285
 
_ACEOF
24286
 
 
24287
 
  cat >>$CONFIG_STATUS <<\_ACEOF
24288
 
  # Split the substitutions into bite-sized pieces for seds with
24289
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
24290
 
  ac_max_sed_lines=48
24291
 
  ac_sed_frag=1 # Number of current file.
24292
 
  ac_beg=1 # First line for current file.
24293
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
24294
 
  ac_more_lines=:
24295
 
  ac_sed_cmds=
24296
 
  while $ac_more_lines; do
24297
 
    if test $ac_beg -gt 1; then
24298
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24299
 
    else
24300
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24301
 
    fi
24302
 
    if test ! -s $tmp/subs.frag; then
24303
 
      ac_more_lines=false
24304
 
    else
24305
 
      # The purpose of the label and of the branching condition is to
24306
 
      # speed up the sed processing (if there are no `@' at all, there
24307
 
      # is no need to browse any of the substitutions).
24308
 
      # These are the two extra sed commands mentioned above.
24309
 
      (echo ':t
24310
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24311
 
      if test -z "$ac_sed_cmds"; then
24312
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24313
 
      else
24314
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24315
 
      fi
24316
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
24317
 
      ac_beg=$ac_end
24318
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
24319
 
    fi
24320
 
  done
24321
 
  if test -z "$ac_sed_cmds"; then
24322
 
    ac_sed_cmds=cat
24323
 
  fi
 
27344
if test -n "$CONFIG_FILES"; then
 
27345
 
 
27346
_ACEOF
 
27347
 
 
27348
 
 
27349
 
 
27350
ac_delim='%!_!# '
 
27351
for ac_last_try in false false false false false :; do
 
27352
  cat >conf$$subs.sed <<_ACEOF
 
27353
SHELL!$SHELL$ac_delim
 
27354
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
27355
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
27356
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
27357
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
27358
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
27359
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
27360
exec_prefix!$exec_prefix$ac_delim
 
27361
prefix!$prefix$ac_delim
 
27362
program_transform_name!$program_transform_name$ac_delim
 
27363
bindir!$bindir$ac_delim
 
27364
sbindir!$sbindir$ac_delim
 
27365
libexecdir!$libexecdir$ac_delim
 
27366
datarootdir!$datarootdir$ac_delim
 
27367
datadir!$datadir$ac_delim
 
27368
sysconfdir!$sysconfdir$ac_delim
 
27369
sharedstatedir!$sharedstatedir$ac_delim
 
27370
localstatedir!$localstatedir$ac_delim
 
27371
includedir!$includedir$ac_delim
 
27372
oldincludedir!$oldincludedir$ac_delim
 
27373
docdir!$docdir$ac_delim
 
27374
infodir!$infodir$ac_delim
 
27375
htmldir!$htmldir$ac_delim
 
27376
dvidir!$dvidir$ac_delim
 
27377
pdfdir!$pdfdir$ac_delim
 
27378
psdir!$psdir$ac_delim
 
27379
libdir!$libdir$ac_delim
 
27380
localedir!$localedir$ac_delim
 
27381
mandir!$mandir$ac_delim
 
27382
DEFS!$DEFS$ac_delim
 
27383
ECHO_C!$ECHO_C$ac_delim
 
27384
ECHO_N!$ECHO_N$ac_delim
 
27385
ECHO_T!$ECHO_T$ac_delim
 
27386
LIBS!$LIBS$ac_delim
 
27387
build_alias!$build_alias$ac_delim
 
27388
host_alias!$host_alias$ac_delim
 
27389
target_alias!$target_alias$ac_delim
 
27390
build!$build$ac_delim
 
27391
build_cpu!$build_cpu$ac_delim
 
27392
build_vendor!$build_vendor$ac_delim
 
27393
build_os!$build_os$ac_delim
 
27394
host!$host$ac_delim
 
27395
host_cpu!$host_cpu$ac_delim
 
27396
host_vendor!$host_vendor$ac_delim
 
27397
host_os!$host_os$ac_delim
 
27398
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
27399
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
27400
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
27401
CYGPATH_W!$CYGPATH_W$ac_delim
 
27402
PACKAGE!$PACKAGE$ac_delim
 
27403
VERSION!$VERSION$ac_delim
 
27404
ACLOCAL!$ACLOCAL$ac_delim
 
27405
AUTOCONF!$AUTOCONF$ac_delim
 
27406
AUTOMAKE!$AUTOMAKE$ac_delim
 
27407
AUTOHEADER!$AUTOHEADER$ac_delim
 
27408
MAKEINFO!$MAKEINFO$ac_delim
 
27409
install_sh!$install_sh$ac_delim
 
27410
STRIP!$STRIP$ac_delim
 
27411
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
27412
mkdir_p!$mkdir_p$ac_delim
 
27413
AWK!$AWK$ac_delim
 
27414
SET_MAKE!$SET_MAKE$ac_delim
 
27415
am__leading_dot!$am__leading_dot$ac_delim
 
27416
AMTAR!$AMTAR$ac_delim
 
27417
am__tar!$am__tar$ac_delim
 
27418
am__untar!$am__untar$ac_delim
 
27419
IDEA_O!$IDEA_O$ac_delim
 
27420
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
27421
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
27422
MAINT!$MAINT$ac_delim
 
27423
CC!$CC$ac_delim
 
27424
CFLAGS!$CFLAGS$ac_delim
 
27425
LDFLAGS!$LDFLAGS$ac_delim
 
27426
CPPFLAGS!$CPPFLAGS$ac_delim
 
27427
ac_ct_CC!$ac_ct_CC$ac_delim
 
27428
EXEEXT!$EXEEXT$ac_delim
 
27429
OBJEXT!$OBJEXT$ac_delim
 
27430
DEPDIR!$DEPDIR$ac_delim
 
27431
am__include!$am__include$ac_delim
 
27432
am__quote!$am__quote$ac_delim
 
27433
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
27434
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
27435
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
27436
CCDEPMODE!$CCDEPMODE$ac_delim
 
27437
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
27438
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
27439
CPP!$CPP$ac_delim
 
27440
RANLIB!$RANLIB$ac_delim
 
27441
AR!$AR$ac_delim
 
27442
PERL!$PERL$ac_delim
 
27443
DOCBOOK_TO_MAN!$DOCBOOK_TO_MAN$ac_delim
 
27444
HAVE_DOCBOOK_TO_MAN_TRUE!$HAVE_DOCBOOK_TO_MAN_TRUE$ac_delim
 
27445
HAVE_DOCBOOK_TO_MAN_FALSE!$HAVE_DOCBOOK_TO_MAN_FALSE$ac_delim
 
27446
FAQPROG!$FAQPROG$ac_delim
 
27447
WORKING_FAQPROG_TRUE!$WORKING_FAQPROG_TRUE$ac_delim
 
27448
WORKING_FAQPROG_FALSE!$WORKING_FAQPROG_FALSE$ac_delim
 
27449
DOCBOOK_TO_TEXI!$DOCBOOK_TO_TEXI$ac_delim
 
27450
_ACEOF
 
27451
 
 
27452
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
27453
    break
 
27454
  elif $ac_last_try; then
 
27455
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27456
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27457
   { (exit 1); exit 1; }; }
 
27458
  else
 
27459
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27460
  fi
 
27461
done
 
27462
 
 
27463
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27464
if test -n "$ac_eof"; then
 
27465
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27466
  ac_eof=`expr $ac_eof + 1`
 
27467
fi
 
27468
 
 
27469
cat >>$CONFIG_STATUS <<_ACEOF
 
27470
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
27471
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
27472
_ACEOF
 
27473
sed '
 
27474
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27475
s/^/s,@/; s/!/@,|#_!!_#|/
 
27476
:n
 
27477
t n
 
27478
s/'"$ac_delim"'$/,g/; t
 
27479
s/$/\\/; p
 
27480
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27481
' >>$CONFIG_STATUS <conf$$subs.sed
 
27482
rm -f conf$$subs.sed
 
27483
cat >>$CONFIG_STATUS <<_ACEOF
 
27484
CEOF$ac_eof
 
27485
_ACEOF
 
27486
 
 
27487
 
 
27488
ac_delim='%!_!# '
 
27489
for ac_last_try in false false false false false :; do
 
27490
  cat >conf$$subs.sed <<_ACEOF
 
27491
HAVE_DOCBOOK_TO_TEXI_TRUE!$HAVE_DOCBOOK_TO_TEXI_TRUE$ac_delim
 
27492
HAVE_DOCBOOK_TO_TEXI_FALSE!$HAVE_DOCBOOK_TO_TEXI_FALSE$ac_delim
 
27493
TAR!$TAR$ac_delim
 
27494
HAVE_USTAR_TRUE!$HAVE_USTAR_TRUE$ac_delim
 
27495
HAVE_USTAR_FALSE!$HAVE_USTAR_FALSE$ac_delim
 
27496
CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
 
27497
HAVE_DOSISH_SYSTEM_TRUE!$HAVE_DOSISH_SYSTEM_TRUE$ac_delim
 
27498
HAVE_DOSISH_SYSTEM_FALSE!$HAVE_DOSISH_SYSTEM_FALSE$ac_delim
 
27499
USE_SIMPLE_GETTEXT_TRUE!$USE_SIMPLE_GETTEXT_TRUE$ac_delim
 
27500
USE_SIMPLE_GETTEXT_FALSE!$USE_SIMPLE_GETTEXT_FALSE$ac_delim
 
27501
HAVE_W32_SYSTEM_TRUE!$HAVE_W32_SYSTEM_TRUE$ac_delim
 
27502
HAVE_W32_SYSTEM_FALSE!$HAVE_W32_SYSTEM_FALSE$ac_delim
 
27503
MPI_OPT_FLAGS!$MPI_OPT_FLAGS$ac_delim
 
27504
NM!$NM$ac_delim
 
27505
GPGKEYS_HKP!$GPGKEYS_HKP$ac_delim
 
27506
GPGKEYS_FINGER!$GPGKEYS_FINGER$ac_delim
 
27507
DNSLIBS!$DNSLIBS$ac_delim
 
27508
USE_DNS_SRV_TRUE!$USE_DNS_SRV_TRUE$ac_delim
 
27509
USE_DNS_SRV_FALSE!$USE_DNS_SRV_FALSE$ac_delim
 
27510
GPGKEYS_LDAP!$GPGKEYS_LDAP$ac_delim
 
27511
LDAPLIBS!$LDAPLIBS$ac_delim
 
27512
LDAP_CPPFLAGS!$LDAP_CPPFLAGS$ac_delim
 
27513
_libcurl_config!$_libcurl_config$ac_delim
 
27514
LIBCURL_CPPFLAGS!$LIBCURL_CPPFLAGS$ac_delim
 
27515
LIBCURL!$LIBCURL$ac_delim
 
27516
FAKE_CURL_TRUE!$FAKE_CURL_TRUE$ac_delim
 
27517
FAKE_CURL_FALSE!$FAKE_CURL_FALSE$ac_delim
 
27518
GPGKEYS_CURL!$GPGKEYS_CURL$ac_delim
 
27519
SENDMAIL!$SENDMAIL$ac_delim
 
27520
GPGKEYS_MAILTO!$GPGKEYS_MAILTO$ac_delim
 
27521
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 
27522
USE_NLS!$USE_NLS$ac_delim
 
27523
MSGFMT!$MSGFMT$ac_delim
 
27524
GMSGFMT!$GMSGFMT$ac_delim
 
27525
XGETTEXT!$XGETTEXT$ac_delim
 
27526
MSGMERGE!$MSGMERGE$ac_delim
 
27527
GREP!$GREP$ac_delim
 
27528
EGREP!$EGREP$ac_delim
 
27529
ALLOCA!$ALLOCA$ac_delim
 
27530
GLIBC21!$GLIBC21$ac_delim
 
27531
HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
 
27532
HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
 
27533
HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
 
27534
HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
 
27535
LIBICONV!$LIBICONV$ac_delim
 
27536
LTLIBICONV!$LTLIBICONV$ac_delim
 
27537
INTLBISON!$INTLBISON$ac_delim
 
27538
BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
 
27539
USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
 
27540
CATOBJEXT!$CATOBJEXT$ac_delim
 
27541
DATADIRNAME!$DATADIRNAME$ac_delim
 
27542
INSTOBJEXT!$INSTOBJEXT$ac_delim
 
27543
GENCAT!$GENCAT$ac_delim
 
27544
INTLOBJS!$INTLOBJS$ac_delim
 
27545
INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
 
27546
INTLLIBS!$INTLLIBS$ac_delim
 
27547
LIBINTL!$LIBINTL$ac_delim
 
27548
LTLIBINTL!$LTLIBINTL$ac_delim
 
27549
POSUB!$POSUB$ac_delim
 
27550
DLLIBS!$DLLIBS$ac_delim
 
27551
ENABLE_CARD_SUPPORT_TRUE!$ENABLE_CARD_SUPPORT_TRUE$ac_delim
 
27552
ENABLE_CARD_SUPPORT_FALSE!$ENABLE_CARD_SUPPORT_FALSE$ac_delim
 
27553
ENABLE_AGENT_SUPPORT_TRUE!$ENABLE_AGENT_SUPPORT_TRUE$ac_delim
 
27554
ENABLE_AGENT_SUPPORT_FALSE!$ENABLE_AGENT_SUPPORT_FALSE$ac_delim
 
27555
USE_SHA512_TRUE!$USE_SHA512_TRUE$ac_delim
 
27556
USE_SHA512_FALSE!$USE_SHA512_FALSE$ac_delim
 
27557
LIBOBJS!$LIBOBJS$ac_delim
 
27558
GETOPT!$GETOPT$ac_delim
 
27559
CAPLIBS!$CAPLIBS$ac_delim
 
27560
USE_RNDLINUX_TRUE!$USE_RNDLINUX_TRUE$ac_delim
 
27561
USE_RNDLINUX_FALSE!$USE_RNDLINUX_FALSE$ac_delim
 
27562
USE_RNDUNIX_TRUE!$USE_RNDUNIX_TRUE$ac_delim
 
27563
USE_RNDUNIX_FALSE!$USE_RNDUNIX_FALSE$ac_delim
 
27564
USE_RNDEGD_TRUE!$USE_RNDEGD_TRUE$ac_delim
 
27565
USE_RNDEGD_FALSE!$USE_RNDEGD_FALSE$ac_delim
 
27566
USE_RNDW32_TRUE!$USE_RNDW32_TRUE$ac_delim
 
27567
USE_RNDW32_FALSE!$USE_RNDW32_FALSE$ac_delim
 
27568
MPI_EXTRA_ASM_OBJS!$MPI_EXTRA_ASM_OBJS$ac_delim
 
27569
MPI_SFLAGS!$MPI_SFLAGS$ac_delim
 
27570
USE_INTERNAL_REGEX_TRUE!$USE_INTERNAL_REGEX_TRUE$ac_delim
 
27571
USE_INTERNAL_REGEX_FALSE!$USE_INTERNAL_REGEX_FALSE$ac_delim
 
27572
ENABLE_LOCAL_ZLIB_TRUE!$ENABLE_LOCAL_ZLIB_TRUE$ac_delim
 
27573
ENABLE_LOCAL_ZLIB_FALSE!$ENABLE_LOCAL_ZLIB_FALSE$ac_delim
 
27574
ENABLE_BZIP2_SUPPORT_TRUE!$ENABLE_BZIP2_SUPPORT_TRUE$ac_delim
 
27575
ENABLE_BZIP2_SUPPORT_FALSE!$ENABLE_BZIP2_SUPPORT_FALSE$ac_delim
 
27576
ZLIBS!$ZLIBS$ac_delim
 
27577
_usb_config!$_usb_config$ac_delim
 
27578
LIBUSB_CPPFLAGS!$LIBUSB_CPPFLAGS$ac_delim
 
27579
LIBUSB!$LIBUSB$ac_delim
 
27580
LIBREADLINE!$LIBREADLINE$ac_delim
 
27581
CROSS_COMPILING_TRUE!$CROSS_COMPILING_TRUE$ac_delim
 
27582
CROSS_COMPILING_FALSE!$CROSS_COMPILING_FALSE$ac_delim
 
27583
NETLIBS!$NETLIBS$ac_delim
 
27584
W32LIBS!$W32LIBS$ac_delim
 
27585
CCAS!$CCAS$ac_delim
 
27586
CCASFLAGS!$CCASFLAGS$ac_delim
 
27587
NOEXECSTACK_FLAGS!$NOEXECSTACK_FLAGS$ac_delim
 
27588
_ACEOF
 
27589
 
 
27590
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
27591
    break
 
27592
  elif $ac_last_try; then
 
27593
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27594
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27595
   { (exit 1); exit 1; }; }
 
27596
  else
 
27597
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27598
  fi
 
27599
done
 
27600
 
 
27601
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27602
if test -n "$ac_eof"; then
 
27603
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27604
  ac_eof=`expr $ac_eof + 1`
 
27605
fi
 
27606
 
 
27607
cat >>$CONFIG_STATUS <<_ACEOF
 
27608
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
27609
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
27610
_ACEOF
 
27611
sed '
 
27612
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27613
s/^/s,@/; s/!/@,|#_!!_#|/
 
27614
:n
 
27615
t n
 
27616
s/'"$ac_delim"'$/,g/; t
 
27617
s/$/\\/; p
 
27618
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27619
' >>$CONFIG_STATUS <conf$$subs.sed
 
27620
rm -f conf$$subs.sed
 
27621
cat >>$CONFIG_STATUS <<_ACEOF
 
27622
CEOF$ac_eof
 
27623
_ACEOF
 
27624
 
 
27625
 
 
27626
ac_delim='%!_!# '
 
27627
for ac_last_try in false false false false false :; do
 
27628
  cat >conf$$subs.sed <<_ACEOF
 
27629
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
27630
_ACEOF
 
27631
 
 
27632
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
 
27633
    break
 
27634
  elif $ac_last_try; then
 
27635
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27636
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27637
   { (exit 1); exit 1; }; }
 
27638
  else
 
27639
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27640
  fi
 
27641
done
 
27642
 
 
27643
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27644
if test -n "$ac_eof"; then
 
27645
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27646
  ac_eof=`expr $ac_eof + 1`
 
27647
fi
 
27648
 
 
27649
cat >>$CONFIG_STATUS <<_ACEOF
 
27650
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
27651
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
27652
_ACEOF
 
27653
sed '
 
27654
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27655
s/^/s,@/; s/!/@,|#_!!_#|/
 
27656
:n
 
27657
t n
 
27658
s/'"$ac_delim"'$/,g/; t
 
27659
s/$/\\/; p
 
27660
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27661
' >>$CONFIG_STATUS <conf$$subs.sed
 
27662
rm -f conf$$subs.sed
 
27663
cat >>$CONFIG_STATUS <<_ACEOF
 
27664
:end
 
27665
s/|#_!!_#|//g
 
27666
CEOF$ac_eof
 
27667
_ACEOF
 
27668
 
 
27669
 
 
27670
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
27671
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
27672
# trailing colons and then remove the whole line if VPATH becomes empty
 
27673
# (actually we leave an empty line to preserve line numbers).
 
27674
if test "x$srcdir" = x.; then
 
27675
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
27676
s/:*\$(srcdir):*/:/
 
27677
s/:*\${srcdir}:*/:/
 
27678
s/:*@srcdir@:*/:/
 
27679
s/^\([^=]*=[     ]*\):*/\1/
 
27680
s/:*$//
 
27681
s/^[^=]*=[       ]*$//
 
27682
}'
 
27683
fi
 
27684
 
 
27685
cat >>$CONFIG_STATUS <<\_ACEOF
24324
27686
fi # test -n "$CONFIG_FILES"
24325
27687
 
24326
 
_ACEOF
24327
 
cat >>$CONFIG_STATUS <<\_ACEOF
24328
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24329
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24330
 
  case $ac_file in
24331
 
  - | *:- | *:-:* ) # input from stdin
24332
 
        cat >$tmp/stdin
24333
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24334
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24335
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24336
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24337
 
  * )   ac_file_in=$ac_file.in ;;
24338
 
  esac
24339
 
 
24340
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24341
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
27688
 
 
27689
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS
 
27690
do
 
27691
  case $ac_tag in
 
27692
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
27693
  esac
 
27694
  case $ac_mode$ac_tag in
 
27695
  :[FHL]*:*);;
 
27696
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
27697
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
27698
   { (exit 1); exit 1; }; };;
 
27699
  :[FH]-) ac_tag=-:-;;
 
27700
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
27701
  esac
 
27702
  ac_save_IFS=$IFS
 
27703
  IFS=:
 
27704
  set x $ac_tag
 
27705
  IFS=$ac_save_IFS
 
27706
  shift
 
27707
  ac_file=$1
 
27708
  shift
 
27709
 
 
27710
  case $ac_mode in
 
27711
  :L) ac_source=$1;;
 
27712
  :[FH])
 
27713
    ac_file_inputs=
 
27714
    for ac_f
 
27715
    do
 
27716
      case $ac_f in
 
27717
      -) ac_f="$tmp/stdin";;
 
27718
      *) # Look for the file first in the build tree, then in the source tree
 
27719
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
27720
         # because $ac_f cannot contain `:'.
 
27721
         test -f "$ac_f" ||
 
27722
           case $ac_f in
 
27723
           [\\/$]*) false;;
 
27724
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
27725
           esac ||
 
27726
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
27727
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
27728
   { (exit 1); exit 1; }; };;
 
27729
      esac
 
27730
      ac_file_inputs="$ac_file_inputs $ac_f"
 
27731
    done
 
27732
 
 
27733
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
27734
    # use $as_me), people would be surprised to read:
 
27735
    #    /* config.h.  Generated by config.status.  */
 
27736
    configure_input="Generated from "`IFS=:
 
27737
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
27738
    if test x"$ac_file" != x-; then
 
27739
      configure_input="$ac_file.  $configure_input"
 
27740
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
27741
echo "$as_me: creating $ac_file" >&6;}
 
27742
    fi
 
27743
 
 
27744
    case $ac_tag in
 
27745
    *:-:* | *:-) cat >"$tmp/stdin";;
 
27746
    esac
 
27747
    ;;
 
27748
  esac
 
27749
 
 
27750
  ac_dir=`$as_dirname -- "$ac_file" ||
24342
27751
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24343
27752
         X"$ac_file" : 'X\(//\)[^/]' \| \
24344
27753
         X"$ac_file" : 'X\(//\)$' \| \
24345
 
         X"$ac_file" : 'X\(/\)' \| \
24346
 
         .     : '\(.\)' 2>/dev/null ||
 
27754
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24347
27755
echo X"$ac_file" |
24348
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24349
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24350
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24351
 
          /^X\(\/\).*/{ s//\1/; q; }
24352
 
          s/.*/./; q'`
24353
 
  { if $as_mkdir_p; then
24354
 
    mkdir -p "$ac_dir"
24355
 
  else
24356
 
    as_dir="$ac_dir"
 
27756
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27757
            s//\1/
 
27758
            q
 
27759
          }
 
27760
          /^X\(\/\/\)[^/].*/{
 
27761
            s//\1/
 
27762
            q
 
27763
          }
 
27764
          /^X\(\/\/\)$/{
 
27765
            s//\1/
 
27766
            q
 
27767
          }
 
27768
          /^X\(\/\).*/{
 
27769
            s//\1/
 
27770
            q
 
27771
          }
 
27772
          s/.*/./; q'`
 
27773
  { as_dir="$ac_dir"
 
27774
  case $as_dir in #(
 
27775
  -*) as_dir=./$as_dir;;
 
27776
  esac
 
27777
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24357
27778
    as_dirs=
24358
 
    while test ! -d "$as_dir"; do
24359
 
      as_dirs="$as_dir $as_dirs"
24360
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27779
    while :; do
 
27780
      case $as_dir in #(
 
27781
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
27782
      *) as_qdir=$as_dir;;
 
27783
      esac
 
27784
      as_dirs="'$as_qdir' $as_dirs"
 
27785
      as_dir=`$as_dirname -- "$as_dir" ||
24361
27786
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24362
27787
         X"$as_dir" : 'X\(//\)[^/]' \| \
24363
27788
         X"$as_dir" : 'X\(//\)$' \| \
24364
 
         X"$as_dir" : 'X\(/\)' \| \
24365
 
         .     : '\(.\)' 2>/dev/null ||
 
27789
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24366
27790
echo X"$as_dir" |
24367
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24368
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24369
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24370
 
          /^X\(\/\).*/{ s//\1/; q; }
24371
 
          s/.*/./; q'`
 
27791
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27792
            s//\1/
 
27793
            q
 
27794
          }
 
27795
          /^X\(\/\/\)[^/].*/{
 
27796
            s//\1/
 
27797
            q
 
27798
          }
 
27799
          /^X\(\/\/\)$/{
 
27800
            s//\1/
 
27801
            q
 
27802
          }
 
27803
          /^X\(\/\).*/{
 
27804
            s//\1/
 
27805
            q
 
27806
          }
 
27807
          s/.*/./; q'`
 
27808
      test -d "$as_dir" && break
24372
27809
    done
24373
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24374
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24375
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27810
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
27811
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
27812
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24376
27813
   { (exit 1); exit 1; }; }; }
24377
 
 
24378
27814
  ac_builddir=.
24379
27815
 
24380
 
if test "$ac_dir" != .; then
 
27816
case "$ac_dir" in
 
27817
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27818
*)
24381
27819
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24382
 
  # A "../" for each directory in $ac_dir_suffix.
24383
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24384
 
else
24385
 
  ac_dir_suffix= ac_top_builddir=
24386
 
fi
 
27820
  # A ".." for each directory in $ac_dir_suffix.
 
27821
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
27822
  case $ac_top_builddir_sub in
 
27823
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27824
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
27825
  esac ;;
 
27826
esac
 
27827
ac_abs_top_builddir=$ac_pwd
 
27828
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
27829
# for backward compatibility:
 
27830
ac_top_builddir=$ac_top_build_prefix
24387
27831
 
24388
27832
case $srcdir in
24389
 
  .)  # No --srcdir option.  We are building in place.
 
27833
  .)  # We are building in place.
24390
27834
    ac_srcdir=.
24391
 
    if test -z "$ac_top_builddir"; then
24392
 
       ac_top_srcdir=.
24393
 
    else
24394
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24395
 
    fi ;;
24396
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
27835
    ac_top_srcdir=$ac_top_builddir_sub
 
27836
    ac_abs_top_srcdir=$ac_pwd ;;
 
27837
  [\\/]* | ?:[\\/]* )  # Absolute name.
24397
27838
    ac_srcdir=$srcdir$ac_dir_suffix;
24398
 
    ac_top_srcdir=$srcdir ;;
24399
 
  *) # Relative path.
24400
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24401
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24402
 
esac
24403
 
 
24404
 
# Do not use `cd foo && pwd` to compute absolute paths, because
24405
 
# the directories may not exist.
24406
 
case `pwd` in
24407
 
.) ac_abs_builddir="$ac_dir";;
24408
 
*)
24409
 
  case "$ac_dir" in
24410
 
  .) ac_abs_builddir=`pwd`;;
24411
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24412
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
24413
 
  esac;;
24414
 
esac
24415
 
case $ac_abs_builddir in
24416
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
24417
 
*)
24418
 
  case ${ac_top_builddir}. in
24419
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
24420
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24421
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24422
 
  esac;;
24423
 
esac
24424
 
case $ac_abs_builddir in
24425
 
.) ac_abs_srcdir=$ac_srcdir;;
24426
 
*)
24427
 
  case $ac_srcdir in
24428
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
24429
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24430
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24431
 
  esac;;
24432
 
esac
24433
 
case $ac_abs_builddir in
24434
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
24435
 
*)
24436
 
  case $ac_top_srcdir in
24437
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
24438
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24439
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24440
 
  esac;;
24441
 
esac
24442
 
 
 
27839
    ac_top_srcdir=$srcdir
 
27840
    ac_abs_top_srcdir=$srcdir ;;
 
27841
  *) # Relative name.
 
27842
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
27843
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
27844
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
27845
esac
 
27846
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
27847
 
 
27848
 
 
27849
  case $ac_mode in
 
27850
  :F)
 
27851
  #
 
27852
  # CONFIG_FILE
 
27853
  #
24443
27854
 
24444
27855
  case $INSTALL in
24445
27856
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24446
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
27857
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24447
27858
  esac
24448
 
 
24449
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
24450
 
  # use $as_me), people would be surprised to read:
24451
 
  #    /* config.h.  Generated by config.status.  */
24452
 
  if test x"$ac_file" = x-; then
24453
 
    configure_input=
24454
 
  else
24455
 
    configure_input="$ac_file.  "
24456
 
  fi
24457
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
24458
 
                                     sed 's,.*/,,'` by configure."
24459
 
 
24460
 
  # First look for the input files in the build tree, otherwise in the
24461
 
  # src tree.
24462
 
  ac_file_inputs=`IFS=:
24463
 
    for f in $ac_file_in; do
24464
 
      case $f in
24465
 
      -) echo $tmp/stdin ;;
24466
 
      [\\/$]*)
24467
 
         # Absolute (can't be DOS-style, as IFS=:)
24468
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24469
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24470
 
   { (exit 1); exit 1; }; }
24471
 
         echo "$f";;
24472
 
      *) # Relative
24473
 
         if test -f "$f"; then
24474
 
           # Build tree
24475
 
           echo "$f"
24476
 
         elif test -f "$srcdir/$f"; then
24477
 
           # Source tree
24478
 
           echo "$srcdir/$f"
24479
 
         else
24480
 
           # /dev/null tree
24481
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24482
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24483
 
   { (exit 1); exit 1; }; }
24484
 
         fi;;
24485
 
      esac
24486
 
    done` || { (exit 1); exit 1; }
24487
 
 
24488
 
  if test x"$ac_file" != x-; then
24489
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
24490
 
echo "$as_me: creating $ac_file" >&6;}
24491
 
    rm -f "$ac_file"
24492
 
  fi
24493
 
_ACEOF
 
27859
_ACEOF
 
27860
 
 
27861
cat >>$CONFIG_STATUS <<\_ACEOF
 
27862
# If the template does not know about datarootdir, expand it.
 
27863
# FIXME: This hack should be removed a few years after 2.60.
 
27864
ac_datarootdir_hack=; ac_datarootdir_seen=
 
27865
 
 
27866
case `sed -n '/datarootdir/ {
 
27867
  p
 
27868
  q
 
27869
}
 
27870
/@datadir@/p
 
27871
/@docdir@/p
 
27872
/@infodir@/p
 
27873
/@localedir@/p
 
27874
/@mandir@/p
 
27875
' $ac_file_inputs` in
 
27876
*datarootdir*) ac_datarootdir_seen=yes;;
 
27877
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
27878
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
27879
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
27880
_ACEOF
 
27881
cat >>$CONFIG_STATUS <<_ACEOF
 
27882
  ac_datarootdir_hack='
 
27883
  s&@datadir@&$datadir&g
 
27884
  s&@docdir@&$docdir&g
 
27885
  s&@infodir@&$infodir&g
 
27886
  s&@localedir@&$localedir&g
 
27887
  s&@mandir@&$mandir&g
 
27888
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
27889
esac
 
27890
_ACEOF
 
27891
 
 
27892
# Neutralize VPATH when `$srcdir' = `.'.
 
27893
# Shell code in configure.ac might set extrasub.
 
27894
# FIXME: do we really want to maintain this feature?
24494
27895
cat >>$CONFIG_STATUS <<_ACEOF
24495
27896
  sed "$ac_vpsub
24496
27897
$extrasub
24498
27899
cat >>$CONFIG_STATUS <<\_ACEOF
24499
27900
:t
24500
27901
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24501
 
s,@configure_input@,$configure_input,;t t
24502
 
s,@srcdir@,$ac_srcdir,;t t
24503
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
24504
 
s,@top_srcdir@,$ac_top_srcdir,;t t
24505
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24506
 
s,@builddir@,$ac_builddir,;t t
24507
 
s,@abs_builddir@,$ac_abs_builddir,;t t
24508
 
s,@top_builddir@,$ac_top_builddir,;t t
24509
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24510
 
s,@INSTALL@,$ac_INSTALL,;t t
24511
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24512
 
  rm -f $tmp/stdin
24513
 
  if test x"$ac_file" != x-; then
24514
 
    mv $tmp/out $ac_file
24515
 
  else
24516
 
    cat $tmp/out
24517
 
    rm -f $tmp/out
24518
 
  fi
24519
 
 
24520
 
done
 
27902
s&@configure_input@&$configure_input&;t t
 
27903
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
27904
s&@srcdir@&$ac_srcdir&;t t
 
27905
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
27906
s&@top_srcdir@&$ac_top_srcdir&;t t
 
27907
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
27908
s&@builddir@&$ac_builddir&;t t
 
27909
s&@abs_builddir@&$ac_abs_builddir&;t t
 
27910
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
27911
s&@INSTALL@&$ac_INSTALL&;t t
 
27912
$ac_datarootdir_hack
 
27913
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 
27914
 
 
27915
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
27916
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
27917
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
27918
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
27919
which seems to be undefined.  Please make sure it is defined." >&5
 
27920
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
27921
which seems to be undefined.  Please make sure it is defined." >&2;}
 
27922
 
 
27923
  rm -f "$tmp/stdin"
 
27924
  case $ac_file in
 
27925
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
27926
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
27927
  esac
 
27928
 ;;
 
27929
  :H)
 
27930
  #
 
27931
  # CONFIG_HEADER
 
27932
  #
24521
27933
_ACEOF
24522
 
cat >>$CONFIG_STATUS <<\_ACEOF
24523
 
 
24524
 
#
24525
 
# CONFIG_HEADER section.
24526
 
#
24527
 
 
24528
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24529
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
24530
 
#
24531
 
# ac_d sets the value in "#define NAME VALUE" lines.
24532
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
24533
 
ac_dB='[         ].*$,\1#\2'
 
27934
 
 
27935
# Transform confdefs.h into a sed script `conftest.defines', that
 
27936
# substitutes the proper values into config.h.in to produce config.h.
 
27937
rm -f conftest.defines conftest.tail
 
27938
# First, append a space to every undef/define line, to ease matching.
 
27939
echo 's/$/ /' >conftest.defines
 
27940
# Then, protect against being on the right side of a sed subst, or in
 
27941
# an unquoted here document, in config.status.  If some macros were
 
27942
# called several times there might be several #defines for the same
 
27943
# symbol, which is useless.  But do not sort them, since the last
 
27944
# AC_DEFINE must be honored.
 
27945
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
27946
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
27947
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
27948
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
27949
# just an empty string.
 
27950
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
27951
ac_dB='\\)[      (].*,\\1define\\2'
24534
27952
ac_dC=' '
24535
 
ac_dD=',;t'
24536
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24537
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24538
 
ac_uB='$,\1#\2define\3'
24539
 
ac_uC=' '
24540
 
ac_uD=',;t'
24541
 
 
24542
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24543
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24544
 
  case $ac_file in
24545
 
  - | *:- | *:-:* ) # input from stdin
24546
 
        cat >$tmp/stdin
24547
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24548
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24549
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24550
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24551
 
  * )   ac_file_in=$ac_file.in ;;
24552
 
  esac
24553
 
 
24554
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24555
 
echo "$as_me: creating $ac_file" >&6;}
24556
 
 
24557
 
  # First look for the input files in the build tree, otherwise in the
24558
 
  # src tree.
24559
 
  ac_file_inputs=`IFS=:
24560
 
    for f in $ac_file_in; do
24561
 
      case $f in
24562
 
      -) echo $tmp/stdin ;;
24563
 
      [\\/$]*)
24564
 
         # Absolute (can't be DOS-style, as IFS=:)
24565
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24566
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24567
 
   { (exit 1); exit 1; }; }
24568
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
24569
 
         echo "$f";;
24570
 
      *) # Relative
24571
 
         if test -f "$f"; then
24572
 
           # Build tree
24573
 
           echo "$f"
24574
 
         elif test -f "$srcdir/$f"; then
24575
 
           # Source tree
24576
 
           echo "$srcdir/$f"
24577
 
         else
24578
 
           # /dev/null tree
24579
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24580
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24581
 
   { (exit 1); exit 1; }; }
24582
 
         fi;;
24583
 
      esac
24584
 
    done` || { (exit 1); exit 1; }
24585
 
  # Remove the trailing spaces.
24586
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24587
 
 
24588
 
_ACEOF
24589
 
 
24590
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
24591
 
# `conftest.undefs', that substitutes the proper values into
24592
 
# config.h.in to produce config.h.  The first handles `#define'
24593
 
# templates, and the second `#undef' templates.
24594
 
# And first: Protect against being on the right side of a sed subst in
24595
 
# config.status.  Protect against being in an unquoted here document
24596
 
# in config.status.
24597
 
rm -f conftest.defines conftest.undefs
24598
 
# Using a here document instead of a string reduces the quoting nightmare.
24599
 
# Putting comments in sed scripts is not portable.
24600
 
#
24601
 
# `end' is used to avoid that the second main sed command (meant for
24602
 
# 0-ary CPP macros) applies to n-ary macro definitions.
24603
 
# See the Autoconf documentation for `clear'.
24604
 
cat >confdef2sed.sed <<\_ACEOF
24605
 
s/[\\&,]/\\&/g
24606
 
s,[\\$`],\\&,g
24607
 
t clear
24608
 
: clear
24609
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24610
 
t end
24611
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24612
 
: end
24613
 
_ACEOF
24614
 
# If some macros were called several times there might be several times
24615
 
# the same #defines, which is useless.  Nevertheless, we may not want to
24616
 
# sort them, since we want the *last* AC-DEFINE to be honored.
24617
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24618
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24619
 
rm -f confdef2sed.sed
24620
 
 
24621
 
# This sed command replaces #undef with comments.  This is necessary, for
 
27953
ac_dD=' ,'
 
27954
 
 
27955
uniq confdefs.h |
 
27956
  sed -n '
 
27957
        t rset
 
27958
        :rset
 
27959
        s/^[     ]*#[    ]*define[       ][      ]*//
 
27960
        t ok
 
27961
        d
 
27962
        :ok
 
27963
        s/[\\&,]/\\&/g
 
27964
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
27965
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
27966
  ' >>conftest.defines
 
27967
 
 
27968
# Remove the space that was appended to ease matching.
 
27969
# Then replace #undef with comments.  This is necessary, for
24622
27970
# example, in the case of _POSIX_SOURCE, which is predefined and required
24623
27971
# on some systems where configure will not decide to define it.
24624
 
cat >>conftest.undefs <<\_ACEOF
24625
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
27972
# (The regexp can be short, since the line contains either #define or #undef.)
 
27973
echo 's/ $//
 
27974
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
27975
 
 
27976
# Break up conftest.defines:
 
27977
ac_max_sed_lines=50
 
27978
 
 
27979
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
27980
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
27981
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
27982
# et cetera.
 
27983
ac_in='$ac_file_inputs'
 
27984
ac_out='"$tmp/out1"'
 
27985
ac_nxt='"$tmp/out2"'
 
27986
 
 
27987
while :
 
27988
do
 
27989
  # Write a here document:
 
27990
    cat >>$CONFIG_STATUS <<_ACEOF
 
27991
    # First, check the format of the line:
 
27992
    cat >"\$tmp/defines.sed" <<\\CEOF
 
27993
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
27994
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
27995
b
 
27996
:def
24626
27997
_ACEOF
24627
 
 
24628
 
# Break up conftest.defines because some shells have a limit on the size
24629
 
# of here documents, and old seds have small limits too (100 cmds).
24630
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24631
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24632
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24633
 
echo '  :' >>$CONFIG_STATUS
24634
 
rm -f conftest.tail
24635
 
while grep . conftest.defines >/dev/null
24636
 
do
24637
 
  # Write a limited-size here document to $tmp/defines.sed.
24638
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24639
 
  # Speed up: don't consider the non `#define' lines.
24640
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24641
 
  # Work around the forget-to-reset-the-flag bug.
24642
 
  echo 't clr' >>$CONFIG_STATUS
24643
 
  echo ': clr' >>$CONFIG_STATUS
24644
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
27998
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24645
27999
  echo 'CEOF
24646
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
24647
 
  rm -f $tmp/in
24648
 
  mv $tmp/out $tmp/in
24649
 
' >>$CONFIG_STATUS
24650
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
28000
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
28001
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
28002
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
28003
  grep . conftest.tail >/dev/null || break
24651
28004
  rm -f conftest.defines
24652
28005
  mv conftest.tail conftest.defines
24653
28006
done
24654
 
rm -f conftest.defines
24655
 
echo '  fi # grep' >>$CONFIG_STATUS
24656
 
echo >>$CONFIG_STATUS
24657
 
 
24658
 
# Break up conftest.undefs because some shells have a limit on the size
24659
 
# of here documents, and old seds have small limits too (100 cmds).
24660
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
24661
 
rm -f conftest.tail
24662
 
while grep . conftest.undefs >/dev/null
24663
 
do
24664
 
  # Write a limited-size here document to $tmp/undefs.sed.
24665
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24666
 
  # Speed up: don't consider the non `#undef'
24667
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24668
 
  # Work around the forget-to-reset-the-flag bug.
24669
 
  echo 't clr' >>$CONFIG_STATUS
24670
 
  echo ': clr' >>$CONFIG_STATUS
24671
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24672
 
  echo 'CEOF
24673
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24674
 
  rm -f $tmp/in
24675
 
  mv $tmp/out $tmp/in
24676
 
' >>$CONFIG_STATUS
24677
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24678
 
  rm -f conftest.undefs
24679
 
  mv conftest.tail conftest.undefs
24680
 
done
24681
 
rm -f conftest.undefs
24682
 
 
 
28007
rm -f conftest.defines conftest.tail
 
28008
 
 
28009
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24683
28010
cat >>$CONFIG_STATUS <<\_ACEOF
24684
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
24685
 
  # use $as_me), people would be surprised to read:
24686
 
  #    /* config.h.  Generated by config.status.  */
24687
 
  if test x"$ac_file" = x-; then
24688
 
    echo "/* Generated by configure.  */" >$tmp/config.h
24689
 
  else
24690
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
24691
 
  fi
24692
 
  cat $tmp/in >>$tmp/config.h
24693
 
  rm -f $tmp/in
24694
28011
  if test x"$ac_file" != x-; then
24695
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
28012
    echo "/* $configure_input  */" >"$tmp/config.h"
 
28013
    cat "$ac_result" >>"$tmp/config.h"
 
28014
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24696
28015
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24697
28016
echo "$as_me: $ac_file is unchanged" >&6;}
24698
28017
    else
24699
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24700
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24701
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
24702
 
         X"$ac_file" : 'X\(//\)$' \| \
24703
 
         X"$ac_file" : 'X\(/\)' \| \
24704
 
         .     : '\(.\)' 2>/dev/null ||
24705
 
echo X"$ac_file" |
24706
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24707
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24708
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24709
 
          /^X\(\/\).*/{ s//\1/; q; }
24710
 
          s/.*/./; q'`
24711
 
      { if $as_mkdir_p; then
24712
 
    mkdir -p "$ac_dir"
24713
 
  else
24714
 
    as_dir="$ac_dir"
24715
 
    as_dirs=
24716
 
    while test ! -d "$as_dir"; do
24717
 
      as_dirs="$as_dir $as_dirs"
24718
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24719
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24720
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24721
 
         X"$as_dir" : 'X\(//\)$' \| \
24722
 
         X"$as_dir" : 'X\(/\)' \| \
24723
 
         .     : '\(.\)' 2>/dev/null ||
24724
 
echo X"$as_dir" |
24725
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24726
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24727
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24728
 
          /^X\(\/\).*/{ s//\1/; q; }
24729
 
          s/.*/./; q'`
24730
 
    done
24731
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24732
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24733
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24734
 
   { (exit 1); exit 1; }; }; }
24735
 
 
24736
28018
      rm -f $ac_file
24737
 
      mv $tmp/config.h $ac_file
 
28019
      mv "$tmp/config.h" $ac_file
24738
28020
    fi
24739
28021
  else
24740
 
    cat $tmp/config.h
24741
 
    rm -f $tmp/config.h
 
28022
    echo "/* $configure_input  */"
 
28023
    cat "$ac_result"
24742
28024
  fi
 
28025
  rm -f "$tmp/out12"
24743
28026
# Compute $ac_file's index in $config_headers.
24744
28027
_am_stamp_count=1
24745
28028
for _am_header in $config_headers :; do
24750
28033
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24751
28034
  esac
24752
28035
done
24753
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
28036
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24754
28037
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24755
28038
         X$ac_file : 'X\(//\)[^/]' \| \
24756
28039
         X$ac_file : 'X\(//\)$' \| \
24757
 
         X$ac_file : 'X\(/\)' \| \
24758
 
         .     : '\(.\)' 2>/dev/null ||
 
28040
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24759
28041
echo X$ac_file |
24760
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24761
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24762
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24763
 
          /^X\(\/\).*/{ s//\1/; q; }
24764
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
24765
 
done
24766
 
_ACEOF
24767
 
cat >>$CONFIG_STATUS <<\_ACEOF
24768
 
 
24769
 
#
24770
 
# CONFIG_LINKS section.
24771
 
#
24772
 
 
24773
 
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
24774
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24775
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24776
 
 
24777
 
  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
24778
 
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
24779
 
 
24780
 
  if test ! -r $srcdir/$ac_source; then
 
28042
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28043
            s//\1/
 
28044
            q
 
28045
          }
 
28046
          /^X\(\/\/\)[^/].*/{
 
28047
            s//\1/
 
28048
            q
 
28049
          }
 
28050
          /^X\(\/\/\)$/{
 
28051
            s//\1/
 
28052
            q
 
28053
          }
 
28054
          /^X\(\/\).*/{
 
28055
            s//\1/
 
28056
            q
 
28057
          }
 
28058
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
28059
 ;;
 
28060
  :L)
 
28061
  #
 
28062
  # CONFIG_LINK
 
28063
  #
 
28064
 
 
28065
  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
 
28066
echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
 
28067
 
 
28068
  if test ! -r "$srcdir/$ac_source"; then
24781
28069
    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
24782
28070
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
24783
28071
   { (exit 1); exit 1; }; }
24784
28072
  fi
24785
 
  rm -f $ac_dest
24786
 
 
24787
 
  # Make relative symlinks.
24788
 
  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
24789
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24790
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
24791
 
         X"$ac_dest" : 'X\(//\)$' \| \
24792
 
         X"$ac_dest" : 'X\(/\)' \| \
24793
 
         .     : '\(.\)' 2>/dev/null ||
24794
 
echo X"$ac_dest" |
24795
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24796
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24797
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24798
 
          /^X\(\/\).*/{ s//\1/; q; }
24799
 
          s/.*/./; q'`
24800
 
  { if $as_mkdir_p; then
24801
 
    mkdir -p "$ac_dest_dir"
24802
 
  else
24803
 
    as_dir="$ac_dest_dir"
24804
 
    as_dirs=
24805
 
    while test ! -d "$as_dir"; do
24806
 
      as_dirs="$as_dir $as_dirs"
24807
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24808
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24809
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24810
 
         X"$as_dir" : 'X\(//\)$' \| \
24811
 
         X"$as_dir" : 'X\(/\)' \| \
24812
 
         .     : '\(.\)' 2>/dev/null ||
24813
 
echo X"$as_dir" |
24814
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24815
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24816
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24817
 
          /^X\(\/\).*/{ s//\1/; q; }
24818
 
          s/.*/./; q'`
24819
 
    done
24820
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24821
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
24822
 
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
24823
 
   { (exit 1); exit 1; }; }; }
24824
 
 
24825
 
  ac_builddir=.
24826
 
 
24827
 
if test "$ac_dest_dir" != .; then
24828
 
  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
24829
 
  # A "../" for each directory in $ac_dir_suffix.
24830
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24831
 
else
24832
 
  ac_dir_suffix= ac_top_builddir=
24833
 
fi
24834
 
 
24835
 
case $srcdir in
24836
 
  .)  # No --srcdir option.  We are building in place.
24837
 
    ac_srcdir=.
24838
 
    if test -z "$ac_top_builddir"; then
24839
 
       ac_top_srcdir=.
24840
 
    else
24841
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24842
 
    fi ;;
24843
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
24844
 
    ac_srcdir=$srcdir$ac_dir_suffix;
24845
 
    ac_top_srcdir=$srcdir ;;
24846
 
  *) # Relative path.
24847
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24848
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24849
 
esac
24850
 
 
24851
 
# Do not use `cd foo && pwd` to compute absolute paths, because
24852
 
# the directories may not exist.
24853
 
case `pwd` in
24854
 
.) ac_abs_builddir="$ac_dest_dir";;
24855
 
*)
24856
 
  case "$ac_dest_dir" in
24857
 
  .) ac_abs_builddir=`pwd`;;
24858
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
24859
 
  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
24860
 
  esac;;
24861
 
esac
24862
 
case $ac_abs_builddir in
24863
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
24864
 
*)
24865
 
  case ${ac_top_builddir}. in
24866
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
24867
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24868
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24869
 
  esac;;
24870
 
esac
24871
 
case $ac_abs_builddir in
24872
 
.) ac_abs_srcdir=$ac_srcdir;;
24873
 
*)
24874
 
  case $ac_srcdir in
24875
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
24876
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24877
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24878
 
  esac;;
24879
 
esac
24880
 
case $ac_abs_builddir in
24881
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
24882
 
*)
24883
 
  case $ac_top_srcdir in
24884
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
24885
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24886
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24887
 
  esac;;
24888
 
esac
24889
 
 
24890
 
 
 
28073
  rm -f "$ac_file"
 
28074
 
 
28075
  # Try a relative symlink, then a hard link, then a copy.
24891
28076
  case $srcdir in
24892
28077
  [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
24893
 
      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
 
28078
      *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
24894
28079
  esac
24895
 
 
24896
 
  # Try a symlink, then a hard link, then a copy.
24897
 
  ln -s $ac_rel_source $ac_dest 2>/dev/null ||
24898
 
    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
24899
 
    cp -p $srcdir/$ac_source $ac_dest ||
24900
 
    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
24901
 
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
 
28080
  ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
 
28081
    ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
 
28082
    cp -p "$srcdir/$ac_source" "$ac_file" ||
 
28083
    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
 
28084
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
24902
28085
   { (exit 1); exit 1; }; }
24903
 
done
24904
 
_ACEOF
24905
 
cat >>$CONFIG_STATUS <<\_ACEOF
24906
 
 
24907
 
#
24908
 
# CONFIG_COMMANDS section.
24909
 
#
24910
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24911
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24912
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24913
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24914
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24915
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
24916
 
         X"$ac_dest" : 'X\(//\)$' \| \
24917
 
         X"$ac_dest" : 'X\(/\)' \| \
24918
 
         .     : '\(.\)' 2>/dev/null ||
24919
 
echo X"$ac_dest" |
24920
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24921
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24922
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24923
 
          /^X\(\/\).*/{ s//\1/; q; }
24924
 
          s/.*/./; q'`
24925
 
  { if $as_mkdir_p; then
24926
 
    mkdir -p "$ac_dir"
24927
 
  else
24928
 
    as_dir="$ac_dir"
24929
 
    as_dirs=
24930
 
    while test ! -d "$as_dir"; do
24931
 
      as_dirs="$as_dir $as_dirs"
24932
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
24933
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24934
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
24935
 
         X"$as_dir" : 'X\(//\)$' \| \
24936
 
         X"$as_dir" : 'X\(/\)' \| \
24937
 
         .     : '\(.\)' 2>/dev/null ||
24938
 
echo X"$as_dir" |
24939
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24940
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24941
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24942
 
          /^X\(\/\).*/{ s//\1/; q; }
24943
 
          s/.*/./; q'`
24944
 
    done
24945
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24946
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24947
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24948
 
   { (exit 1); exit 1; }; }; }
24949
 
 
24950
 
  ac_builddir=.
24951
 
 
24952
 
if test "$ac_dir" != .; then
24953
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24954
 
  # A "../" for each directory in $ac_dir_suffix.
24955
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24956
 
else
24957
 
  ac_dir_suffix= ac_top_builddir=
24958
 
fi
24959
 
 
24960
 
case $srcdir in
24961
 
  .)  # No --srcdir option.  We are building in place.
24962
 
    ac_srcdir=.
24963
 
    if test -z "$ac_top_builddir"; then
24964
 
       ac_top_srcdir=.
24965
 
    else
24966
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24967
 
    fi ;;
24968
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
24969
 
    ac_srcdir=$srcdir$ac_dir_suffix;
24970
 
    ac_top_srcdir=$srcdir ;;
24971
 
  *) # Relative path.
24972
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24973
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24974
 
esac
24975
 
 
24976
 
# Do not use `cd foo && pwd` to compute absolute paths, because
24977
 
# the directories may not exist.
24978
 
case `pwd` in
24979
 
.) ac_abs_builddir="$ac_dir";;
24980
 
*)
24981
 
  case "$ac_dir" in
24982
 
  .) ac_abs_builddir=`pwd`;;
24983
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24984
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
24985
 
  esac;;
24986
 
esac
24987
 
case $ac_abs_builddir in
24988
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
24989
 
*)
24990
 
  case ${ac_top_builddir}. in
24991
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
24992
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24993
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24994
 
  esac;;
24995
 
esac
24996
 
case $ac_abs_builddir in
24997
 
.) ac_abs_srcdir=$ac_srcdir;;
24998
 
*)
24999
 
  case $ac_srcdir in
25000
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
25001
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25002
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25003
 
  esac;;
25004
 
esac
25005
 
case $ac_abs_builddir in
25006
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
25007
 
*)
25008
 
  case $ac_top_srcdir in
25009
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
25010
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25011
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25012
 
  esac;;
25013
 
esac
25014
 
 
25015
 
 
25016
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25017
 
echo "$as_me: executing $ac_dest commands" >&6;}
25018
 
  case $ac_dest in
25019
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
28086
 ;;
 
28087
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
28088
echo "$as_me: executing $ac_file commands" >&6;}
 
28089
 ;;
 
28090
  esac
 
28091
 
 
28092
 
 
28093
  case $ac_file$ac_mode in
 
28094
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25020
28095
  # Strip MF so we end up with the name of the file.
25021
28096
  mf=`echo "$mf" | sed -e 's/:.*$//'`
25022
28097
  # Check whether this is an Automake generated Makefile or not.
25026
28101
  # each Makefile.in and add a new line on top of each file to say so.
25027
28102
  # So let's grep whole file.
25028
28103
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25029
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
28104
    dirpart=`$as_dirname -- "$mf" ||
25030
28105
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25031
28106
         X"$mf" : 'X\(//\)[^/]' \| \
25032
28107
         X"$mf" : 'X\(//\)$' \| \
25033
 
         X"$mf" : 'X\(/\)' \| \
25034
 
         .     : '\(.\)' 2>/dev/null ||
 
28108
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25035
28109
echo X"$mf" |
25036
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25037
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25038
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25039
 
          /^X\(\/\).*/{ s//\1/; q; }
25040
 
          s/.*/./; q'`
 
28110
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28111
            s//\1/
 
28112
            q
 
28113
          }
 
28114
          /^X\(\/\/\)[^/].*/{
 
28115
            s//\1/
 
28116
            q
 
28117
          }
 
28118
          /^X\(\/\/\)$/{
 
28119
            s//\1/
 
28120
            q
 
28121
          }
 
28122
          /^X\(\/\).*/{
 
28123
            s//\1/
 
28124
            q
 
28125
          }
 
28126
          s/.*/./; q'`
25041
28127
  else
25042
28128
    continue
25043
28129
  fi
25059
28145
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25060
28146
    # Make sure the directory exists.
25061
28147
    test -f "$dirpart/$file" && continue
25062
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
28148
    fdir=`$as_dirname -- "$file" ||
25063
28149
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25064
28150
         X"$file" : 'X\(//\)[^/]' \| \
25065
28151
         X"$file" : 'X\(//\)$' \| \
25066
 
         X"$file" : 'X\(/\)' \| \
25067
 
         .     : '\(.\)' 2>/dev/null ||
 
28152
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25068
28153
echo X"$file" |
25069
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25070
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25071
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25072
 
          /^X\(\/\).*/{ s//\1/; q; }
25073
 
          s/.*/./; q'`
25074
 
    { if $as_mkdir_p; then
25075
 
    mkdir -p $dirpart/$fdir
25076
 
  else
25077
 
    as_dir=$dirpart/$fdir
 
28154
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28155
            s//\1/
 
28156
            q
 
28157
          }
 
28158
          /^X\(\/\/\)[^/].*/{
 
28159
            s//\1/
 
28160
            q
 
28161
          }
 
28162
          /^X\(\/\/\)$/{
 
28163
            s//\1/
 
28164
            q
 
28165
          }
 
28166
          /^X\(\/\).*/{
 
28167
            s//\1/
 
28168
            q
 
28169
          }
 
28170
          s/.*/./; q'`
 
28171
    { as_dir=$dirpart/$fdir
 
28172
  case $as_dir in #(
 
28173
  -*) as_dir=./$as_dir;;
 
28174
  esac
 
28175
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25078
28176
    as_dirs=
25079
 
    while test ! -d "$as_dir"; do
25080
 
      as_dirs="$as_dir $as_dirs"
25081
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28177
    while :; do
 
28178
      case $as_dir in #(
 
28179
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
28180
      *) as_qdir=$as_dir;;
 
28181
      esac
 
28182
      as_dirs="'$as_qdir' $as_dirs"
 
28183
      as_dir=`$as_dirname -- "$as_dir" ||
25082
28184
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25083
28185
         X"$as_dir" : 'X\(//\)[^/]' \| \
25084
28186
         X"$as_dir" : 'X\(//\)$' \| \
25085
 
         X"$as_dir" : 'X\(/\)' \| \
25086
 
         .     : '\(.\)' 2>/dev/null ||
 
28187
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25087
28188
echo X"$as_dir" |
25088
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25089
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25090
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25091
 
          /^X\(\/\).*/{ s//\1/; q; }
25092
 
          s/.*/./; q'`
 
28189
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28190
            s//\1/
 
28191
            q
 
28192
          }
 
28193
          /^X\(\/\/\)[^/].*/{
 
28194
            s//\1/
 
28195
            q
 
28196
          }
 
28197
          /^X\(\/\/\)$/{
 
28198
            s//\1/
 
28199
            q
 
28200
          }
 
28201
          /^X\(\/\).*/{
 
28202
            s//\1/
 
28203
            q
 
28204
          }
 
28205
          s/.*/./; q'`
 
28206
      test -d "$as_dir" && break
25093
28207
    done
25094
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25095
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25096
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
28208
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28209
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28210
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25097
28211
   { (exit 1); exit 1; }; }; }
25098
 
 
25099
28212
    # echo "creating $dirpart/$file"
25100
28213
    echo '# dummy' > "$dirpart/$file"
25101
28214
  done
25102
28215
done
25103
28216
 ;;
25104
 
    default-1 )
25105
 
    for ac_file in $CONFIG_FILES; do
25106
 
      # Support "outfile[:infile[:infile...]]"
25107
 
      case "$ac_file" in
25108
 
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
25109
 
      esac
25110
 
      # PO directories have a Makefile.in generated from Makefile.in.in.
25111
 
      case "$ac_file" in */Makefile.in)
25112
 
        # Adjust a relative srcdir.
25113
 
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
25114
 
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
25115
 
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
25116
 
        # In autoconf-2.13 it is called $ac_given_srcdir.
25117
 
        # In autoconf-2.50 it is called $srcdir.
25118
 
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
25119
 
        case "$ac_given_srcdir" in
25120
 
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
25121
 
          /*) top_srcdir="$ac_given_srcdir" ;;
25122
 
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
25123
 
        esac
25124
 
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
25125
 
          rm -f "$ac_dir/POTFILES"
25126
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
25127
 
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
25128
 
          POMAKEFILEDEPS="POTFILES.in"
25129
 
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
25130
 
          # on $ac_dir but don't depend on user-specified configuration
25131
 
          # parameters.
25132
 
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
25133
 
            # The LINGUAS file contains the set of available languages.
25134
 
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
25135
 
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
25136
 
            fi
25137
 
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
25138
 
            # Hide the ALL_LINGUAS assigment from automake.
25139
 
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
25140
 
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
25141
 
          else
25142
 
            # The set of available languages was given in configure.in.
25143
 
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
25144
 
          fi
25145
 
          # Compute POFILES
25146
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
25147
 
          # Compute UPDATEPOFILES
25148
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
25149
 
          # Compute DUMMYPOFILES
25150
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
25151
 
          # Compute GMOFILES
25152
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
25153
 
          case "$ac_given_srcdir" in
25154
 
            .) srcdirpre= ;;
25155
 
            *) srcdirpre='$(srcdir)/' ;;
25156
 
          esac
25157
 
          POFILES=
25158
 
          UPDATEPOFILES=
25159
 
          DUMMYPOFILES=
25160
 
          GMOFILES=
25161
 
          for lang in $ALL_LINGUAS; do
25162
 
            POFILES="$POFILES $srcdirpre$lang.po"
25163
 
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
25164
 
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
25165
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
25166
 
          done
25167
 
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
25168
 
          # environment variable.
25169
 
          INST_LINGUAS=
25170
 
          if test -n "$ALL_LINGUAS"; then
25171
 
            for presentlang in $ALL_LINGUAS; do
25172
 
              useit=no
25173
 
              if test "%UNSET%" != "$LINGUAS"; then
25174
 
                desiredlanguages="$LINGUAS"
25175
 
              else
25176
 
                desiredlanguages="$ALL_LINGUAS"
25177
 
              fi
25178
 
              for desiredlang in $desiredlanguages; do
25179
 
                # Use the presentlang catalog if desiredlang is
25180
 
                #   a. equal to presentlang, or
25181
 
                #   b. a variant of presentlang (because in this case,
25182
 
                #      presentlang can be used as a fallback for messages
25183
 
                #      which are not translated in the desiredlang catalog).
25184
 
                case "$desiredlang" in
25185
 
                  "$presentlang"*) useit=yes;;
25186
 
                esac
25187
 
              done
25188
 
              if test $useit = yes; then
25189
 
                INST_LINGUAS="$INST_LINGUAS $presentlang"
25190
 
              fi
25191
 
            done
25192
 
          fi
25193
 
          CATALOGS=
25194
 
          if test -n "$INST_LINGUAS"; then
25195
 
            for lang in $INST_LINGUAS; do
25196
 
              CATALOGS="$CATALOGS $lang.gmo"
25197
 
            done
25198
 
          fi
25199
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
25200
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
25201
 
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
25202
 
            if test -f "$f"; then
25203
 
              case "$f" in
25204
 
                *.orig | *.bak | *~) ;;
25205
 
                *) cat "$f" >> "$ac_dir/Makefile" ;;
25206
 
              esac
25207
 
            fi
25208
 
          done
25209
 
        fi
25210
 
        ;;
25211
 
      esac
25212
 
    done ;;
25213
 
    default-2 )
25214
 
    for ac_file in $CONFIG_FILES; do
25215
 
      # Support "outfile[:infile[:infile...]]"
25216
 
      case "$ac_file" in
25217
 
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
25218
 
      esac
25219
 
      # PO directories have a Makefile.in generated from Makefile.in.in.
25220
 
      case "$ac_file" in */Makefile.in)
25221
 
        # Adjust a relative srcdir.
25222
 
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
25223
 
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
25224
 
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
25225
 
        # In autoconf-2.13 it is called $ac_given_srcdir.
25226
 
        # In autoconf-2.50 it is called $srcdir.
25227
 
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
25228
 
        case "$ac_given_srcdir" in
25229
 
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
25230
 
          /*) top_srcdir="$ac_given_srcdir" ;;
25231
 
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
25232
 
        esac
25233
 
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
25234
 
          rm -f "$ac_dir/POTFILES"
25235
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
25236
 
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
25237
 
          POMAKEFILEDEPS="POTFILES.in"
25238
 
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
25239
 
          # on $ac_dir but don't depend on user-specified configuration
25240
 
          # parameters.
25241
 
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
25242
 
            # The LINGUAS file contains the set of available languages.
25243
 
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
25244
 
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
25245
 
            fi
25246
 
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
25247
 
            # Hide the ALL_LINGUAS assigment from automake.
25248
 
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
25249
 
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
25250
 
          else
25251
 
            # The set of available languages was given in configure.in.
25252
 
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
25253
 
          fi
25254
 
          # Compute POFILES
25255
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
25256
 
          # Compute UPDATEPOFILES
25257
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
25258
 
          # Compute DUMMYPOFILES
25259
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
25260
 
          # Compute GMOFILES
25261
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
25262
 
          case "$ac_given_srcdir" in
25263
 
            .) srcdirpre= ;;
25264
 
            *) srcdirpre='$(srcdir)/' ;;
25265
 
          esac
25266
 
          POFILES=
25267
 
          UPDATEPOFILES=
25268
 
          DUMMYPOFILES=
25269
 
          GMOFILES=
25270
 
          for lang in $ALL_LINGUAS; do
25271
 
            POFILES="$POFILES $srcdirpre$lang.po"
25272
 
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
25273
 
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
25274
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
25275
 
          done
25276
 
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
25277
 
          # environment variable.
25278
 
          INST_LINGUAS=
25279
 
          if test -n "$ALL_LINGUAS"; then
25280
 
            for presentlang in $ALL_LINGUAS; do
25281
 
              useit=no
25282
 
              if test "%UNSET%" != "$LINGUAS"; then
25283
 
                desiredlanguages="$LINGUAS"
25284
 
              else
25285
 
                desiredlanguages="$ALL_LINGUAS"
25286
 
              fi
25287
 
              for desiredlang in $desiredlanguages; do
25288
 
                # Use the presentlang catalog if desiredlang is
25289
 
                #   a. equal to presentlang, or
25290
 
                #   b. a variant of presentlang (because in this case,
25291
 
                #      presentlang can be used as a fallback for messages
25292
 
                #      which are not translated in the desiredlang catalog).
25293
 
                case "$desiredlang" in
25294
 
                  "$presentlang"*) useit=yes;;
25295
 
                esac
25296
 
              done
25297
 
              if test $useit = yes; then
25298
 
                INST_LINGUAS="$INST_LINGUAS $presentlang"
25299
 
              fi
25300
 
            done
25301
 
          fi
25302
 
          CATALOGS=
25303
 
          if test -n "$INST_LINGUAS"; then
25304
 
            for lang in $INST_LINGUAS; do
25305
 
              CATALOGS="$CATALOGS $lang.gmo"
25306
 
            done
25307
 
          fi
25308
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
25309
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
25310
 
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
25311
 
            if test -f "$f"; then
25312
 
              case "$f" in
25313
 
                *.orig | *.bak | *~) ;;
25314
 
                *) cat "$f" >> "$ac_dir/Makefile" ;;
25315
 
              esac
25316
 
            fi
25317
 
          done
25318
 
        fi
25319
 
        ;;
25320
 
      esac
25321
 
    done ;;
25322
 
    g10defs.h )
 
28217
    "default-1":C)
 
28218
    for ac_file in $CONFIG_FILES; do
 
28219
      # Support "outfile[:infile[:infile...]]"
 
28220
      case "$ac_file" in
 
28221
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
28222
      esac
 
28223
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
28224
      case "$ac_file" in */Makefile.in)
 
28225
        # Adjust a relative srcdir.
 
28226
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
28227
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
28228
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
28229
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
28230
        # In autoconf-2.50 it is called $srcdir.
 
28231
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
28232
        case "$ac_given_srcdir" in
 
28233
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
28234
          /*) top_srcdir="$ac_given_srcdir" ;;
 
28235
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
28236
        esac
 
28237
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
28238
          rm -f "$ac_dir/POTFILES"
 
28239
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
28240
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
28241
          POMAKEFILEDEPS="POTFILES.in"
 
28242
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
28243
          # on $ac_dir but don't depend on user-specified configuration
 
28244
          # parameters.
 
28245
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
28246
            # The LINGUAS file contains the set of available languages.
 
28247
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
28248
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
28249
            fi
 
28250
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
28251
            # Hide the ALL_LINGUAS assigment from automake.
 
28252
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
28253
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
28254
          else
 
28255
            # The set of available languages was given in configure.in.
 
28256
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
28257
          fi
 
28258
          # Compute POFILES
 
28259
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
28260
          # Compute UPDATEPOFILES
 
28261
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
28262
          # Compute DUMMYPOFILES
 
28263
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
28264
          # Compute GMOFILES
 
28265
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
28266
          case "$ac_given_srcdir" in
 
28267
            .) srcdirpre= ;;
 
28268
            *) srcdirpre='$(srcdir)/' ;;
 
28269
          esac
 
28270
          POFILES=
 
28271
          UPDATEPOFILES=
 
28272
          DUMMYPOFILES=
 
28273
          GMOFILES=
 
28274
          for lang in $ALL_LINGUAS; do
 
28275
            POFILES="$POFILES $srcdirpre$lang.po"
 
28276
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
28277
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
28278
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
28279
          done
 
28280
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
28281
          # environment variable.
 
28282
          INST_LINGUAS=
 
28283
          if test -n "$ALL_LINGUAS"; then
 
28284
            for presentlang in $ALL_LINGUAS; do
 
28285
              useit=no
 
28286
              if test "%UNSET%" != "$LINGUAS"; then
 
28287
                desiredlanguages="$LINGUAS"
 
28288
              else
 
28289
                desiredlanguages="$ALL_LINGUAS"
 
28290
              fi
 
28291
              for desiredlang in $desiredlanguages; do
 
28292
                # Use the presentlang catalog if desiredlang is
 
28293
                #   a. equal to presentlang, or
 
28294
                #   b. a variant of presentlang (because in this case,
 
28295
                #      presentlang can be used as a fallback for messages
 
28296
                #      which are not translated in the desiredlang catalog).
 
28297
                case "$desiredlang" in
 
28298
                  "$presentlang"*) useit=yes;;
 
28299
                esac
 
28300
              done
 
28301
              if test $useit = yes; then
 
28302
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
28303
              fi
 
28304
            done
 
28305
          fi
 
28306
          CATALOGS=
 
28307
          if test -n "$INST_LINGUAS"; then
 
28308
            for lang in $INST_LINGUAS; do
 
28309
              CATALOGS="$CATALOGS $lang.gmo"
 
28310
            done
 
28311
          fi
 
28312
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
28313
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
28314
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
28315
            if test -f "$f"; then
 
28316
              case "$f" in
 
28317
                *.orig | *.bak | *~) ;;
 
28318
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
28319
              esac
 
28320
            fi
 
28321
          done
 
28322
        fi
 
28323
        ;;
 
28324
      esac
 
28325
    done ;;
 
28326
    "default-2":C)
 
28327
    for ac_file in $CONFIG_FILES; do
 
28328
      # Support "outfile[:infile[:infile...]]"
 
28329
      case "$ac_file" in
 
28330
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
28331
      esac
 
28332
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
28333
      case "$ac_file" in */Makefile.in)
 
28334
        # Adjust a relative srcdir.
 
28335
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
28336
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
28337
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
28338
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
28339
        # In autoconf-2.50 it is called $srcdir.
 
28340
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
28341
        case "$ac_given_srcdir" in
 
28342
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
28343
          /*) top_srcdir="$ac_given_srcdir" ;;
 
28344
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
28345
        esac
 
28346
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
28347
          rm -f "$ac_dir/POTFILES"
 
28348
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
28349
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
28350
          POMAKEFILEDEPS="POTFILES.in"
 
28351
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
28352
          # on $ac_dir but don't depend on user-specified configuration
 
28353
          # parameters.
 
28354
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
28355
            # The LINGUAS file contains the set of available languages.
 
28356
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
28357
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
28358
            fi
 
28359
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
28360
            # Hide the ALL_LINGUAS assigment from automake.
 
28361
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
28362
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
28363
          else
 
28364
            # The set of available languages was given in configure.in.
 
28365
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
28366
          fi
 
28367
          # Compute POFILES
 
28368
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
28369
          # Compute UPDATEPOFILES
 
28370
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
28371
          # Compute DUMMYPOFILES
 
28372
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
28373
          # Compute GMOFILES
 
28374
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
28375
          case "$ac_given_srcdir" in
 
28376
            .) srcdirpre= ;;
 
28377
            *) srcdirpre='$(srcdir)/' ;;
 
28378
          esac
 
28379
          POFILES=
 
28380
          UPDATEPOFILES=
 
28381
          DUMMYPOFILES=
 
28382
          GMOFILES=
 
28383
          for lang in $ALL_LINGUAS; do
 
28384
            POFILES="$POFILES $srcdirpre$lang.po"
 
28385
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
28386
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
28387
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
28388
          done
 
28389
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
28390
          # environment variable.
 
28391
          INST_LINGUAS=
 
28392
          if test -n "$ALL_LINGUAS"; then
 
28393
            for presentlang in $ALL_LINGUAS; do
 
28394
              useit=no
 
28395
              if test "%UNSET%" != "$LINGUAS"; then
 
28396
                desiredlanguages="$LINGUAS"
 
28397
              else
 
28398
                desiredlanguages="$ALL_LINGUAS"
 
28399
              fi
 
28400
              for desiredlang in $desiredlanguages; do
 
28401
                # Use the presentlang catalog if desiredlang is
 
28402
                #   a. equal to presentlang, or
 
28403
                #   b. a variant of presentlang (because in this case,
 
28404
                #      presentlang can be used as a fallback for messages
 
28405
                #      which are not translated in the desiredlang catalog).
 
28406
                case "$desiredlang" in
 
28407
                  "$presentlang"*) useit=yes;;
 
28408
                esac
 
28409
              done
 
28410
              if test $useit = yes; then
 
28411
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
28412
              fi
 
28413
            done
 
28414
          fi
 
28415
          CATALOGS=
 
28416
          if test -n "$INST_LINGUAS"; then
 
28417
            for lang in $INST_LINGUAS; do
 
28418
              CATALOGS="$CATALOGS $lang.gmo"
 
28419
            done
 
28420
          fi
 
28421
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
28422
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
28423
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
28424
            if test -f "$f"; then
 
28425
              case "$f" in
 
28426
                *.orig | *.bak | *~) ;;
 
28427
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
28428
              esac
 
28429
            fi
 
28430
          done
 
28431
        fi
 
28432
        ;;
 
28433
      esac
 
28434
    done ;;
 
28435
    "g10defs.h":C)
25323
28436
cat >g10defs.tmp <<G10EOF
25324
28437
/* Generated automatically by configure */
25325
28438
#ifdef HAVE_DRIVE_LETTERS
25374
28487
    echo "g10defs.h created"
25375
28488
fi
25376
28489
 ;;
 
28490
 
25377
28491
  esac
25378
 
done
25379
 
_ACEOF
 
28492
done # for ac_tag
25380
28493
 
25381
 
cat >>$CONFIG_STATUS <<\_ACEOF
25382
28494
 
25383
28495
{ (exit 0); exit 0; }
25384
28496
_ACEOF