~ubuntu-branches/ubuntu/lucid/gpgme1.0/lucid-security

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-07-30 10:49:21 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070730104921-g11b6qvc81o611zh
Tags: 1.1.5-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/rules: enable tests.
  - debian/control: adjust Maintainers field

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 gpgme 1.1.2.
 
3
# Generated by GNU Autoconf 2.61 for gpgme 1.1.5.
4
4
#
5
5
# Report bugs to <bug-gpgme@gnupg.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
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
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
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
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
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # 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.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (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 |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (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
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
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= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
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
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
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
 
 
245
553
 
246
554
tagnames=${tagnames+${tagnames},}RC
247
555
 
399
707
 
400
708
tagnames=${tagnames+${tagnames},}F77
401
709
 
 
710
exec 7<&0 </dev/null 6>&1
 
711
 
402
712
# Name of the host.
403
713
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
404
714
# so uname gets run too.
405
715
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
406
716
 
407
 
exec 6>&1
408
 
 
409
717
#
410
718
# Initializations.
411
719
#
412
720
ac_default_prefix=/usr/local
 
721
ac_clean_files=
413
722
ac_config_libobj_dir=.
 
723
LIBOBJS=
414
724
cross_compiling=no
415
725
subdirs=
416
726
MFLAGS=
417
727
MAKEFLAGS=
418
728
SHELL=${CONFIG_SHELL-/bin/sh}
419
729
 
420
 
# Maximum number of lines to put in a shell here document.
421
 
# This variable seems obsolete.  It should probably be removed, and
422
 
# only ac_max_sed_lines should be used.
423
 
: ${ac_max_here_lines=38}
424
 
 
425
730
# Identity of this package.
426
731
PACKAGE_NAME='gpgme'
427
732
PACKAGE_TARNAME='gpgme'
428
 
PACKAGE_VERSION='1.1.2'
429
 
PACKAGE_STRING='gpgme 1.1.2'
 
733
PACKAGE_VERSION='1.1.5'
 
734
PACKAGE_STRING='gpgme 1.1.5'
430
735
PACKAGE_BUGREPORT='bug-gpgme@gnupg.org'
431
736
 
432
737
ac_unique_file="gpgme/gpgme.h"
433
738
# Factoring default headers for most tests.
434
739
ac_includes_default="\
435
740
#include <stdio.h>
436
 
#if HAVE_SYS_TYPES_H
 
741
#ifdef HAVE_SYS_TYPES_H
437
742
# include <sys/types.h>
438
743
#endif
439
 
#if HAVE_SYS_STAT_H
 
744
#ifdef HAVE_SYS_STAT_H
440
745
# include <sys/stat.h>
441
746
#endif
442
 
#if STDC_HEADERS
 
747
#ifdef STDC_HEADERS
443
748
# include <stdlib.h>
444
749
# include <stddef.h>
445
750
#else
446
 
# if HAVE_STDLIB_H
 
751
# ifdef HAVE_STDLIB_H
447
752
#  include <stdlib.h>
448
753
# endif
449
754
#endif
450
 
#if HAVE_STRING_H
451
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
755
#ifdef HAVE_STRING_H
 
756
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
452
757
#  include <memory.h>
453
758
# endif
454
759
# include <string.h>
455
760
#endif
456
 
#if HAVE_STRINGS_H
 
761
#ifdef HAVE_STRINGS_H
457
762
# include <strings.h>
458
763
#endif
459
 
#if HAVE_INTTYPES_H
 
764
#ifdef HAVE_INTTYPES_H
460
765
# include <inttypes.h>
461
 
#else
462
 
# if HAVE_STDINT_H
463
 
#  include <stdint.h>
464
 
# endif
465
 
#endif
466
 
#if HAVE_UNISTD_H
 
766
#endif
 
767
#ifdef HAVE_STDINT_H
 
768
# include <stdint.h>
 
769
#endif
 
770
#ifdef HAVE_UNISTD_H
467
771
# include <unistd.h>
468
772
#endif"
469
773
 
470
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 LIBGPGME_LT_CURRENT LIBGPGME_LT_AGE LIBGPGME_LT_REVISION RC ac_ct_RC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL HAVE_LD_VERSION_SCRIPT_TRUE HAVE_LD_VERSION_SCRIPT_FALSE PTH_CPPFLAGS PTH_CFLAGS PTH_LDFLAGS PTH_LIBS HAVE_DOSISH_SYSTEM_TRUE HAVE_DOSISH_SYSTEM_FALSE HAVE_W32_SYSTEM_TRUE HAVE_W32_SYSTEM_FALSE PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS BUILD_W32_GLIB_TRUE BUILD_W32_GLIB_FALSE HAVE_PTH_TRUE HAVE_PTH_FALSE HAVE_PTHREAD_TRUE HAVE_PTHREAD_FALSE LIBOBJS GLIBC21 GPG_ERROR_CONFIG GPG_ERROR_CFLAGS GPG_ERROR_LIBS GPG RUN_GPG_TESTS_TRUE RUN_GPG_TESTS_FALSE GPG_PATH GPGSM HAVE_GPGSM_TRUE HAVE_GPGSM_FALSE RUN_GPGSM_TESTS_TRUE RUN_GPGSM_TESTS_FALSE BUILD_ASSUAN_TRUE BUILD_ASSUAN_FALSE BUILD_COMPLUS_TRUE BUILD_COMPLUS_FALSE BUILD_REVISION BUILD_TIMESTAMP BUILD_FILEVERSION GPGME_CONFIG_API_VERSION GPGME_CONFIG_LIBS GPGME_CONFIG_CFLAGS LTLIBOBJS'
 
774
ac_subst_vars='SHELL
 
775
PATH_SEPARATOR
 
776
PACKAGE_NAME
 
777
PACKAGE_TARNAME
 
778
PACKAGE_VERSION
 
779
PACKAGE_STRING
 
780
PACKAGE_BUGREPORT
 
781
exec_prefix
 
782
prefix
 
783
program_transform_name
 
784
bindir
 
785
sbindir
 
786
libexecdir
 
787
datarootdir
 
788
datadir
 
789
sysconfdir
 
790
sharedstatedir
 
791
localstatedir
 
792
includedir
 
793
oldincludedir
 
794
docdir
 
795
infodir
 
796
htmldir
 
797
dvidir
 
798
pdfdir
 
799
psdir
 
800
libdir
 
801
localedir
 
802
mandir
 
803
DEFS
 
804
ECHO_C
 
805
ECHO_N
 
806
ECHO_T
 
807
LIBS
 
808
build_alias
 
809
host_alias
 
810
target_alias
 
811
INSTALL_PROGRAM
 
812
INSTALL_SCRIPT
 
813
INSTALL_DATA
 
814
am__isrc
 
815
CYGPATH_W
 
816
PACKAGE
 
817
VERSION
 
818
ACLOCAL
 
819
AUTOCONF
 
820
AUTOMAKE
 
821
AUTOHEADER
 
822
MAKEINFO
 
823
install_sh
 
824
STRIP
 
825
INSTALL_STRIP_PROGRAM
 
826
mkdir_p
 
827
AWK
 
828
SET_MAKE
 
829
am__leading_dot
 
830
AMTAR
 
831
am__tar
 
832
am__untar
 
833
MAINTAINER_MODE_TRUE
 
834
MAINTAINER_MODE_FALSE
 
835
MAINT
 
836
build
 
837
build_cpu
 
838
build_vendor
 
839
build_os
 
840
host
 
841
host_cpu
 
842
host_vendor
 
843
host_os
 
844
CC
 
845
CFLAGS
 
846
LDFLAGS
 
847
CPPFLAGS
 
848
ac_ct_CC
 
849
EXEEXT
 
850
OBJEXT
 
851
DEPDIR
 
852
am__include
 
853
am__quote
 
854
AMDEP_TRUE
 
855
AMDEP_FALSE
 
856
AMDEPBACKSLASH
 
857
CCDEPMODE
 
858
am__fastdepCC_TRUE
 
859
am__fastdepCC_FALSE
 
860
LIBGPGME_LT_CURRENT
 
861
LIBGPGME_LT_AGE
 
862
LIBGPGME_LT_REVISION
 
863
RC
 
864
GREP
 
865
EGREP
 
866
LN_S
 
867
ECHO
 
868
AR
 
869
RANLIB
 
870
DLLTOOL
 
871
AS
 
872
OBJDUMP
 
873
CPP
 
874
CXX
 
875
CXXFLAGS
 
876
ac_ct_CXX
 
877
CXXDEPMODE
 
878
am__fastdepCXX_TRUE
 
879
am__fastdepCXX_FALSE
 
880
CXXCPP
 
881
F77
 
882
FFLAGS
 
883
ac_ct_F77
 
884
LIBTOOL
 
885
HAVE_LD_VERSION_SCRIPT_TRUE
 
886
HAVE_LD_VERSION_SCRIPT_FALSE
 
887
PTH_CPPFLAGS
 
888
PTH_CFLAGS
 
889
PTH_LDFLAGS
 
890
PTH_LIBS
 
891
HAVE_DOSISH_SYSTEM_TRUE
 
892
HAVE_DOSISH_SYSTEM_FALSE
 
893
HAVE_W32_SYSTEM_TRUE
 
894
HAVE_W32_SYSTEM_FALSE
 
895
PKG_CONFIG
 
896
GLIB_CFLAGS
 
897
GLIB_LIBS
 
898
GLIB_GENMARSHAL
 
899
GOBJECT_QUERY
 
900
GLIB_MKENUMS
 
901
BUILD_W32_GLIB_TRUE
 
902
BUILD_W32_GLIB_FALSE
 
903
HAVE_PTH_TRUE
 
904
HAVE_PTH_FALSE
 
905
HAVE_PTHREAD_TRUE
 
906
HAVE_PTHREAD_FALSE
 
907
NETLIBS
 
908
LIBOBJS
 
909
GLIBC21
 
910
GPG_ERROR_CONFIG
 
911
GPG_ERROR_CFLAGS
 
912
GPG_ERROR_LIBS
 
913
GPG
 
914
RUN_GPG_TESTS_TRUE
 
915
RUN_GPG_TESTS_FALSE
 
916
GPG_PATH
 
917
GPGSM
 
918
HAVE_GPGSM_TRUE
 
919
HAVE_GPGSM_FALSE
 
920
RUN_GPGSM_TESTS_TRUE
 
921
RUN_GPGSM_TESTS_FALSE
 
922
BUILD_ASSUAN_TRUE
 
923
BUILD_ASSUAN_FALSE
 
924
USE_DESCRIPTOR_PASSING_TRUE
 
925
USE_DESCRIPTOR_PASSING_FALSE
 
926
BUILD_COMPLUS_TRUE
 
927
BUILD_COMPLUS_FALSE
 
928
BUILD_REVISION
 
929
BUILD_TIMESTAMP
 
930
BUILD_FILEVERSION
 
931
GPGME_CONFIG_API_VERSION
 
932
GPGME_CONFIG_LIBS
 
933
GPGME_CONFIG_CFLAGS
 
934
LTLIBOBJS'
471
935
ac_subst_files=''
 
936
      ac_precious_vars='build_alias
 
937
host_alias
 
938
target_alias
 
939
CC
 
940
CFLAGS
 
941
LDFLAGS
 
942
LIBS
 
943
CPPFLAGS
 
944
CPP
 
945
CXX
 
946
CXXFLAGS
 
947
CCC
 
948
CXXCPP
 
949
F77
 
950
FFLAGS'
 
951
 
472
952
 
473
953
# Initialize some variables set by options.
474
954
ac_init_help=
495
975
# and all the variables that are supposed to be based on exec_prefix
496
976
# by default will actually change.
497
977
# Use braces instead of parens because sh, perl, etc. also accept them.
 
978
# (The list follows the same order as the GNU Coding Standards.)
498
979
bindir='${exec_prefix}/bin'
499
980
sbindir='${exec_prefix}/sbin'
500
981
libexecdir='${exec_prefix}/libexec'
501
 
datadir='${prefix}/share'
 
982
datarootdir='${prefix}/share'
 
983
datadir='${datarootdir}'
502
984
sysconfdir='${prefix}/etc'
503
985
sharedstatedir='${prefix}/com'
504
986
localstatedir='${prefix}/var'
505
 
libdir='${exec_prefix}/lib'
506
987
includedir='${prefix}/include'
507
988
oldincludedir='/usr/include'
508
 
infodir='${prefix}/info'
509
 
mandir='${prefix}/man'
 
989
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
990
infodir='${datarootdir}/info'
 
991
htmldir='${docdir}'
 
992
dvidir='${docdir}'
 
993
pdfdir='${docdir}'
 
994
psdir='${docdir}'
 
995
libdir='${exec_prefix}/lib'
 
996
localedir='${datarootdir}/locale'
 
997
mandir='${datarootdir}/man'
510
998
 
511
999
ac_prev=
 
1000
ac_dashdash=
512
1001
for ac_option
513
1002
do
514
1003
  # If the previous option needs an argument, assign it.
515
1004
  if test -n "$ac_prev"; then
516
 
    eval "$ac_prev=\$ac_option"
 
1005
    eval $ac_prev=\$ac_option
517
1006
    ac_prev=
518
1007
    continue
519
1008
  fi
520
1009
 
521
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1010
  case $ac_option in
 
1011
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1012
  *)    ac_optarg=yes ;;
 
1013
  esac
522
1014
 
523
1015
  # Accept the important Cygnus configure options, so we can diagnose typos.
524
1016
 
525
 
  case $ac_option in
 
1017
  case $ac_dashdash$ac_option in
 
1018
  --)
 
1019
    ac_dashdash=yes ;;
526
1020
 
527
1021
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
528
1022
    ac_prev=bindir ;;
544
1038
  --config-cache | -C)
545
1039
    cache_file=config.cache ;;
546
1040
 
547
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1041
  -datadir | --datadir | --datadi | --datad)
548
1042
    ac_prev=datadir ;;
549
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550
 
  | --da=*)
 
1043
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
551
1044
    datadir=$ac_optarg ;;
552
1045
 
 
1046
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1047
  | --dataroo | --dataro | --datar)
 
1048
    ac_prev=datarootdir ;;
 
1049
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1050
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1051
    datarootdir=$ac_optarg ;;
 
1052
 
553
1053
  -disable-* | --disable-*)
554
1054
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555
1055
    # Reject names that are not valid shell variable names.
556
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1056
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
557
1057
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558
1058
   { (exit 1); exit 1; }; }
559
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560
 
    eval "enable_$ac_feature=no" ;;
 
1059
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1060
    eval enable_$ac_feature=no ;;
 
1061
 
 
1062
  -docdir | --docdir | --docdi | --doc | --do)
 
1063
    ac_prev=docdir ;;
 
1064
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1065
    docdir=$ac_optarg ;;
 
1066
 
 
1067
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1068
    ac_prev=dvidir ;;
 
1069
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1070
    dvidir=$ac_optarg ;;
561
1071
 
562
1072
  -enable-* | --enable-*)
563
1073
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564
1074
    # Reject names that are not valid shell variable names.
565
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1075
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
566
1076
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567
1077
   { (exit 1); exit 1; }; }
568
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569
 
    case $ac_option in
570
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571
 
      *) ac_optarg=yes ;;
572
 
    esac
573
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1078
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1079
    eval enable_$ac_feature=\$ac_optarg ;;
574
1080
 
575
1081
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576
1082
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
597
1103
  -host=* | --host=* | --hos=* | --ho=*)
598
1104
    host_alias=$ac_optarg ;;
599
1105
 
 
1106
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1107
    ac_prev=htmldir ;;
 
1108
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1109
  | --ht=*)
 
1110
    htmldir=$ac_optarg ;;
 
1111
 
600
1112
  -includedir | --includedir | --includedi | --included | --include \
601
1113
  | --includ | --inclu | --incl | --inc)
602
1114
    ac_prev=includedir ;;
621
1133
  | --libexe=* | --libex=* | --libe=*)
622
1134
    libexecdir=$ac_optarg ;;
623
1135
 
 
1136
  -localedir | --localedir | --localedi | --localed | --locale)
 
1137
    ac_prev=localedir ;;
 
1138
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1139
    localedir=$ac_optarg ;;
 
1140
 
624
1141
  -localstatedir | --localstatedir | --localstatedi | --localstated \
625
 
  | --localstate | --localstat | --localsta | --localst \
626
 
  | --locals | --local | --loca | --loc | --lo)
 
1142
  | --localstate | --localstat | --localsta | --localst | --locals)
627
1143
    ac_prev=localstatedir ;;
628
1144
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1145
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
631
1146
    localstatedir=$ac_optarg ;;
632
1147
 
633
1148
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
692
1207
  | --progr-tra=* | --program-tr=* | --program-t=*)
693
1208
    program_transform_name=$ac_optarg ;;
694
1209
 
 
1210
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1211
    ac_prev=pdfdir ;;
 
1212
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1213
    pdfdir=$ac_optarg ;;
 
1214
 
 
1215
  -psdir | --psdir | --psdi | --psd | --ps)
 
1216
    ac_prev=psdir ;;
 
1217
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1218
    psdir=$ac_optarg ;;
 
1219
 
695
1220
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696
1221
  | -silent | --silent | --silen | --sile | --sil)
697
1222
    silent=yes ;;
744
1269
  -with-* | --with-*)
745
1270
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746
1271
    # Reject names that are not valid shell variable names.
747
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1272
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
748
1273
      { echo "$as_me: error: invalid package name: $ac_package" >&2
749
1274
   { (exit 1); exit 1; }; }
750
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
751
 
    case $ac_option in
752
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753
 
      *) ac_optarg=yes ;;
754
 
    esac
755
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1275
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1276
    eval with_$ac_package=\$ac_optarg ;;
756
1277
 
757
1278
  -without-* | --without-*)
758
1279
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759
1280
    # Reject names that are not valid shell variable names.
760
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1281
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
761
1282
      { echo "$as_me: error: invalid package name: $ac_package" >&2
762
1283
   { (exit 1); exit 1; }; }
763
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
764
 
    eval "with_$ac_package=no" ;;
 
1284
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1285
    eval with_$ac_package=no ;;
765
1286
 
766
1287
  --x)
767
1288
    # Obsolete; use --with-x.
792
1313
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793
1314
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794
1315
   { (exit 1); exit 1; }; }
795
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796
 
    eval "$ac_envvar='$ac_optarg'"
 
1316
    eval $ac_envvar=\$ac_optarg
797
1317
    export $ac_envvar ;;
798
1318
 
799
1319
  *)
813
1333
   { (exit 1); exit 1; }; }
814
1334
fi
815
1335
 
816
 
# Be sure to have absolute paths.
817
 
for ac_var in exec_prefix prefix
818
 
do
819
 
  eval ac_val=$`echo $ac_var`
820
 
  case $ac_val in
821
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823
 
   { (exit 1); exit 1; }; };;
824
 
  esac
825
 
done
826
 
 
827
 
# Be sure to have absolute paths.
828
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829
 
              localstatedir libdir includedir oldincludedir infodir mandir
830
 
do
831
 
  eval ac_val=$`echo $ac_var`
832
 
  case $ac_val in
833
 
    [\\/$]* | ?:[\\/]* ) ;;
834
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835
 
   { (exit 1); exit 1; }; };;
836
 
  esac
 
1336
# Be sure to have absolute directory names.
 
1337
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1338
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1339
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1340
                libdir localedir mandir
 
1341
do
 
1342
  eval ac_val=\$$ac_var
 
1343
  case $ac_val in
 
1344
    [\\/$]* | ?:[\\/]* )  continue;;
 
1345
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1346
  esac
 
1347
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1348
   { (exit 1); exit 1; }; }
837
1349
done
838
1350
 
839
1351
# There might be people who depend on the old broken behavior: `$host'
860
1372
test "$silent" = yes && exec 6>/dev/null
861
1373
 
862
1374
 
 
1375
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1376
ac_ls_di=`ls -di .` &&
 
1377
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1378
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1379
   { (exit 1); exit 1; }; }
 
1380
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1381
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1382
   { (exit 1); exit 1; }; }
 
1383
 
 
1384
 
863
1385
# Find the source files, if location was not specified.
864
1386
if test -z "$srcdir"; then
865
1387
  ac_srcdir_defaulted=yes
866
 
  # Try the directory containing this script, then its parent.
867
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1388
  # Try the directory containing this script, then the parent directory.
 
1389
  ac_confdir=`$as_dirname -- "$0" ||
868
1390
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869
1391
         X"$0" : 'X\(//\)[^/]' \| \
870
1392
         X"$0" : 'X\(//\)$' \| \
871
 
         X"$0" : 'X\(/\)' \| \
872
 
         .     : '\(.\)' 2>/dev/null ||
 
1393
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
873
1394
echo X"$0" |
874
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876
 
          /^X\(\/\/\)$/{ s//\1/; q; }
877
 
          /^X\(\/\).*/{ s//\1/; q; }
878
 
          s/.*/./; q'`
 
1395
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1396
            s//\1/
 
1397
            q
 
1398
          }
 
1399
          /^X\(\/\/\)[^/].*/{
 
1400
            s//\1/
 
1401
            q
 
1402
          }
 
1403
          /^X\(\/\/\)$/{
 
1404
            s//\1/
 
1405
            q
 
1406
          }
 
1407
          /^X\(\/\).*/{
 
1408
            s//\1/
 
1409
            q
 
1410
          }
 
1411
          s/.*/./; q'`
879
1412
  srcdir=$ac_confdir
880
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1413
  if test ! -r "$srcdir/$ac_unique_file"; then
881
1414
    srcdir=..
882
1415
  fi
883
1416
else
884
1417
  ac_srcdir_defaulted=no
885
1418
fi
886
 
if test ! -r $srcdir/$ac_unique_file; then
887
 
  if test "$ac_srcdir_defaulted" = yes; then
888
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889
 
   { (exit 1); exit 1; }; }
890
 
  else
891
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892
 
   { (exit 1); exit 1; }; }
893
 
  fi
894
 
fi
895
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897
 
   { (exit 1); exit 1; }; }
898
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899
 
ac_env_build_alias_set=${build_alias+set}
900
 
ac_env_build_alias_value=$build_alias
901
 
ac_cv_env_build_alias_set=${build_alias+set}
902
 
ac_cv_env_build_alias_value=$build_alias
903
 
ac_env_host_alias_set=${host_alias+set}
904
 
ac_env_host_alias_value=$host_alias
905
 
ac_cv_env_host_alias_set=${host_alias+set}
906
 
ac_cv_env_host_alias_value=$host_alias
907
 
ac_env_target_alias_set=${target_alias+set}
908
 
ac_env_target_alias_value=$target_alias
909
 
ac_cv_env_target_alias_set=${target_alias+set}
910
 
ac_cv_env_target_alias_value=$target_alias
911
 
ac_env_CC_set=${CC+set}
912
 
ac_env_CC_value=$CC
913
 
ac_cv_env_CC_set=${CC+set}
914
 
ac_cv_env_CC_value=$CC
915
 
ac_env_CFLAGS_set=${CFLAGS+set}
916
 
ac_env_CFLAGS_value=$CFLAGS
917
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
918
 
ac_cv_env_CFLAGS_value=$CFLAGS
919
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
920
 
ac_env_LDFLAGS_value=$LDFLAGS
921
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
923
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924
 
ac_env_CPPFLAGS_value=$CPPFLAGS
925
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927
 
ac_env_CPP_set=${CPP+set}
928
 
ac_env_CPP_value=$CPP
929
 
ac_cv_env_CPP_set=${CPP+set}
930
 
ac_cv_env_CPP_value=$CPP
931
 
ac_env_CXX_set=${CXX+set}
932
 
ac_env_CXX_value=$CXX
933
 
ac_cv_env_CXX_set=${CXX+set}
934
 
ac_cv_env_CXX_value=$CXX
935
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
936
 
ac_env_CXXFLAGS_value=$CXXFLAGS
937
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
938
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
939
 
ac_env_CXXCPP_set=${CXXCPP+set}
940
 
ac_env_CXXCPP_value=$CXXCPP
941
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
942
 
ac_cv_env_CXXCPP_value=$CXXCPP
943
 
ac_env_F77_set=${F77+set}
944
 
ac_env_F77_value=$F77
945
 
ac_cv_env_F77_set=${F77+set}
946
 
ac_cv_env_F77_value=$F77
947
 
ac_env_FFLAGS_set=${FFLAGS+set}
948
 
ac_env_FFLAGS_value=$FFLAGS
949
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
950
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1419
if test ! -r "$srcdir/$ac_unique_file"; then
 
1420
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1421
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1422
   { (exit 1); exit 1; }; }
 
1423
fi
 
1424
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1425
ac_abs_confdir=`(
 
1426
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1427
   { (exit 1); exit 1; }; }
 
1428
        pwd)`
 
1429
# When building in place, set srcdir=.
 
1430
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1431
  srcdir=.
 
1432
fi
 
1433
# Remove unnecessary trailing slashes from srcdir.
 
1434
# Double slashes in file names in object file debugging info
 
1435
# mess up M-x gdb in Emacs.
 
1436
case $srcdir in
 
1437
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1438
esac
 
1439
for ac_var in $ac_precious_vars; do
 
1440
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1441
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1442
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1443
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1444
done
951
1445
 
952
1446
#
953
1447
# Report the --help message.
956
1450
  # Omit some internal or obsolete options to make the list less imposing.
957
1451
  # This message is too long to be a string in the A/UX 3.1 sh.
958
1452
  cat <<_ACEOF
959
 
\`configure' configures gpgme 1.1.2 to adapt to many kinds of systems.
 
1453
\`configure' configures gpgme 1.1.5 to adapt to many kinds of systems.
960
1454
 
961
1455
Usage: $0 [OPTION]... [VAR=VALUE]...
962
1456
 
976
1470
  -n, --no-create         do not create output files
977
1471
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
978
1472
 
979
 
_ACEOF
980
 
 
981
 
  cat <<_ACEOF
982
1473
Installation directories:
983
1474
  --prefix=PREFIX         install architecture-independent files in PREFIX
984
1475
                          [$ac_default_prefix]
996
1487
  --bindir=DIR           user executables [EPREFIX/bin]
997
1488
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
998
1489
  --libexecdir=DIR       program executables [EPREFIX/libexec]
999
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1000
1490
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1001
1491
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1002
1492
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1003
1493
  --libdir=DIR           object code libraries [EPREFIX/lib]
1004
1494
  --includedir=DIR       C header files [PREFIX/include]
1005
1495
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1006
 
  --infodir=DIR          info documentation [PREFIX/info]
1007
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1496
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1497
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1498
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1499
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1500
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1501
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gpgme]
 
1502
  --htmldir=DIR          html documentation [DOCDIR]
 
1503
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1504
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1505
  --psdir=DIR            ps documentation [DOCDIR]
1008
1506
_ACEOF
1009
1507
 
1010
1508
  cat <<\_ACEOF
1022
1520
 
1023
1521
if test -n "$ac_init_help"; then
1024
1522
  case $ac_init_help in
1025
 
     short | recursive ) echo "Configuration of gpgme 1.1.2:";;
 
1523
     short | recursive ) echo "Configuration of gpgme 1.1.5:";;
1026
1524
   esac
1027
1525
  cat <<\_ACEOF
1028
1526
 
1033
1531
                          (and sometimes confusing) to the casual installer
1034
1532
  --disable-dependency-tracking  speeds up one-time build
1035
1533
  --enable-dependency-tracking   do not reject slow dependency extractors
1036
 
  --enable-static[=PKGS]
1037
 
                          build static libraries [default=no]
1038
 
  --enable-shared[=PKGS]
1039
 
                          build shared libraries [default=yes]
 
1534
  --enable-static[=PKGS]  build static libraries [default=no]
 
1535
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1040
1536
  --enable-fast-install[=PKGS]
1041
1537
                          optimize for fast installation [default=yes]
1042
1538
  --disable-libtool-lock  avoid locking (might break parallel builds)
1043
1539
  --disable-glibtest      do not try to compile and run a test GLIB program
1044
1540
  --enable-w32-glib       build GPGME Glib for W32
1045
1541
  --disable-largefile     omit support for large files
 
1542
  --disable-gpg-test      disable GPG run test
 
1543
  --disable-gpgsm-test    disable GPGSM run test
 
1544
  --enable-fd-passing     use FD passing if supported
1046
1545
 
1047
1546
Optional Packages:
1048
1547
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1050
1549
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1051
1550
  --with-pic              try to use only PIC/non-PIC objects [default=use
1052
1551
                          both]
1053
 
  --with-tags[=TAGS]
1054
 
                          include additional configurations [automatic]
 
1552
  --with-tags[=TAGS]      include additional configurations [automatic]
1055
1553
  --with-pth=ARG        Build with GNU Pth Library  (default=yes)
1056
1554
  --with-pth-test         Perform GNU Pth Sanity Test (default=yes)
1057
1555
  --with-gpg-error-prefix=PFX
1058
1556
                          prefix where GPG Error is installed (optional)
 
1557
  --with-gpg-version=VER  require GnuPG version VER
 
1558
  --with-gpgsm-version=VER
 
1559
                          require GPGSM version VER
1059
1560
  --with-gpg=PATH         use GnuPG binary at PATH
1060
1561
  --with-gpgsm=PATH       use GpgSM binary at PATH
1061
1562
 
1064
1565
  CFLAGS      C compiler flags
1065
1566
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1066
1567
              nonstandard directory <lib dir>
1067
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068
 
              headers in a nonstandard directory <include dir>
 
1568
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1569
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1570
              you have headers in a nonstandard directory <include dir>
1069
1571
  CPP         C preprocessor
1070
1572
  CXX         C++ compiler command
1071
1573
  CXXFLAGS    C++ compiler flags
1078
1580
 
1079
1581
Report bugs to <bug-gpgme@gnupg.org>.
1080
1582
_ACEOF
 
1583
ac_status=$?
1081
1584
fi
1082
1585
 
1083
1586
if test "$ac_init_help" = "recursive"; then
1084
1587
  # If there are subdirs, report their specific --help.
1085
 
  ac_popdir=`pwd`
1086
1588
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087
 
    test -d $ac_dir || continue
 
1589
    test -d "$ac_dir" || continue
1088
1590
    ac_builddir=.
1089
1591
 
1090
 
if test "$ac_dir" != .; then
 
1592
case "$ac_dir" in
 
1593
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1594
*)
1091
1595
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092
 
  # A "../" for each directory in $ac_dir_suffix.
1093
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1094
 
else
1095
 
  ac_dir_suffix= ac_top_builddir=
1096
 
fi
 
1596
  # A ".." for each directory in $ac_dir_suffix.
 
1597
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1598
  case $ac_top_builddir_sub in
 
1599
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1600
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1601
  esac ;;
 
1602
esac
 
1603
ac_abs_top_builddir=$ac_pwd
 
1604
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1605
# for backward compatibility:
 
1606
ac_top_builddir=$ac_top_build_prefix
1097
1607
 
1098
1608
case $srcdir in
1099
 
  .)  # No --srcdir option.  We are building in place.
 
1609
  .)  # We are building in place.
1100
1610
    ac_srcdir=.
1101
 
    if test -z "$ac_top_builddir"; then
1102
 
       ac_top_srcdir=.
1103
 
    else
1104
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1105
 
    fi ;;
1106
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1611
    ac_top_srcdir=$ac_top_builddir_sub
 
1612
    ac_abs_top_srcdir=$ac_pwd ;;
 
1613
  [\\/]* | ?:[\\/]* )  # Absolute name.
1107
1614
    ac_srcdir=$srcdir$ac_dir_suffix;
1108
 
    ac_top_srcdir=$srcdir ;;
1109
 
  *) # Relative path.
1110
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112
 
esac
1113
 
 
1114
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1115
 
# the directories may not exist.
1116
 
case `pwd` in
1117
 
.) ac_abs_builddir="$ac_dir";;
1118
 
*)
1119
 
  case "$ac_dir" in
1120
 
  .) ac_abs_builddir=`pwd`;;
1121
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1122
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1123
 
  esac;;
1124
 
esac
1125
 
case $ac_abs_builddir in
1126
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1127
 
*)
1128
 
  case ${ac_top_builddir}. in
1129
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1130
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1131
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1132
 
  esac;;
1133
 
esac
1134
 
case $ac_abs_builddir in
1135
 
.) ac_abs_srcdir=$ac_srcdir;;
1136
 
*)
1137
 
  case $ac_srcdir in
1138
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1139
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1140
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1141
 
  esac;;
1142
 
esac
1143
 
case $ac_abs_builddir in
1144
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1145
 
*)
1146
 
  case $ac_top_srcdir in
1147
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1148
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1149
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1150
 
  esac;;
1151
 
esac
1152
 
 
1153
 
    cd $ac_dir
1154
 
    # Check for guested configure; otherwise get Cygnus style configure.
1155
 
    if test -f $ac_srcdir/configure.gnu; then
1156
 
      echo
1157
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1158
 
    elif test -f $ac_srcdir/configure; then
1159
 
      echo
1160
 
      $SHELL $ac_srcdir/configure  --help=recursive
1161
 
    elif test -f $ac_srcdir/configure.ac ||
1162
 
           test -f $ac_srcdir/configure.in; then
1163
 
      echo
1164
 
      $ac_configure --help
 
1615
    ac_top_srcdir=$srcdir
 
1616
    ac_abs_top_srcdir=$srcdir ;;
 
1617
  *) # Relative name.
 
1618
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1619
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1620
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1621
esac
 
1622
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1623
 
 
1624
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1625
    # Check for guested configure.
 
1626
    if test -f "$ac_srcdir/configure.gnu"; then
 
1627
      echo &&
 
1628
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1629
    elif test -f "$ac_srcdir/configure"; then
 
1630
      echo &&
 
1631
      $SHELL "$ac_srcdir/configure" --help=recursive
1165
1632
    else
1166
1633
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1167
 
    fi
1168
 
    cd "$ac_popdir"
 
1634
    fi || ac_status=$?
 
1635
    cd "$ac_pwd" || { ac_status=$?; break; }
1169
1636
  done
1170
1637
fi
1171
1638
 
1172
 
test -n "$ac_init_help" && exit 0
 
1639
test -n "$ac_init_help" && exit $ac_status
1173
1640
if $ac_init_version; then
1174
1641
  cat <<\_ACEOF
1175
 
gpgme configure 1.1.2
1176
 
generated by GNU Autoconf 2.59
 
1642
gpgme configure 1.1.5
 
1643
generated by GNU Autoconf 2.61
1177
1644
 
1178
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1645
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1646
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1179
1647
This configure script is free software; the Free Software Foundation
1180
1648
gives unlimited permission to copy, distribute and modify it.
1181
1649
_ACEOF
1182
 
  exit 0
 
1650
  exit
1183
1651
fi
1184
 
exec 5>config.log
1185
 
cat >&5 <<_ACEOF
 
1652
cat >config.log <<_ACEOF
1186
1653
This file contains any messages produced by compilers while
1187
1654
running configure, to aid debugging if configure makes a mistake.
1188
1655
 
1189
 
It was created by gpgme $as_me 1.1.2, which was
1190
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1656
It was created by gpgme $as_me 1.1.5, which was
 
1657
generated by GNU Autoconf 2.61.  Invocation command line was
1191
1658
 
1192
1659
  $ $0 $@
1193
1660
 
1194
1661
_ACEOF
 
1662
exec 5>>config.log
1195
1663
{
1196
1664
cat <<_ASUNAME
1197
1665
## --------- ##
1210
1678
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1211
1679
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1212
1680
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1213
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1681
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1214
1682
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1215
1683
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1216
1684
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1224
1692
  test -z "$as_dir" && as_dir=.
1225
1693
  echo "PATH: $as_dir"
1226
1694
done
 
1695
IFS=$as_save_IFS
1227
1696
 
1228
1697
} >&5
1229
1698
 
1245
1714
ac_configure_args=
1246
1715
ac_configure_args0=
1247
1716
ac_configure_args1=
1248
 
ac_sep=
1249
1717
ac_must_keep_next=false
1250
1718
for ac_pass in 1 2
1251
1719
do
1256
1724
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257
1725
    | -silent | --silent | --silen | --sile | --sil)
1258
1726
      continue ;;
1259
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1727
    *\'*)
1260
1728
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1261
1729
    esac
1262
1730
    case $ac_pass in
1278
1746
          -* ) ac_must_keep_next=true ;;
1279
1747
        esac
1280
1748
      fi
1281
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1282
 
      # Get rid of the leading space.
1283
 
      ac_sep=" "
 
1749
      ac_configure_args="$ac_configure_args '$ac_arg'"
1284
1750
      ;;
1285
1751
    esac
1286
1752
  done
1291
1757
# When interrupted or exit'd, cleanup temporary files, and complete
1292
1758
# config.log.  We remove comments because anyway the quotes in there
1293
1759
# would cause problems or look ugly.
1294
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1295
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1760
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1761
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1296
1762
trap 'exit_status=$?
1297
1763
  # Save into config.log some information that might help in debugging.
1298
1764
  {
1305
1771
_ASBOX
1306
1772
    echo
1307
1773
    # The following way of writing the cache mishandles newlines in values,
1308
 
{
 
1774
(
 
1775
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1776
    eval ac_val=\$$ac_var
 
1777
    case $ac_val in #(
 
1778
    *${as_nl}*)
 
1779
      case $ac_var in #(
 
1780
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1781
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1782
      esac
 
1783
      case $ac_var in #(
 
1784
      _ | IFS | as_nl) ;; #(
 
1785
      *) $as_unset $ac_var ;;
 
1786
      esac ;;
 
1787
    esac
 
1788
  done
1309
1789
  (set) 2>&1 |
1310
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1311
 
    *ac_space=\ *)
 
1790
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1791
    *${as_nl}ac_space=\ *)
1312
1792
      sed -n \
1313
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1314
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1315
 
      ;;
 
1793
        "s/'\''/'\''\\\\'\'''\''/g;
 
1794
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1795
      ;; #(
1316
1796
    *)
1317
 
      sed -n \
1318
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1797
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1319
1798
      ;;
1320
 
    esac;
1321
 
}
 
1799
    esac |
 
1800
    sort
 
1801
)
1322
1802
    echo
1323
1803
 
1324
1804
    cat <<\_ASBOX
1329
1809
    echo
1330
1810
    for ac_var in $ac_subst_vars
1331
1811
    do
1332
 
      eval ac_val=$`echo $ac_var`
1333
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1812
      eval ac_val=\$$ac_var
 
1813
      case $ac_val in
 
1814
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1815
      esac
 
1816
      echo "$ac_var='\''$ac_val'\''"
1334
1817
    done | sort
1335
1818
    echo
1336
1819
 
1337
1820
    if test -n "$ac_subst_files"; then
1338
1821
      cat <<\_ASBOX
1339
 
## ------------- ##
1340
 
## Output files. ##
1341
 
## ------------- ##
 
1822
## ------------------- ##
 
1823
## File substitutions. ##
 
1824
## ------------------- ##
1342
1825
_ASBOX
1343
1826
      echo
1344
1827
      for ac_var in $ac_subst_files
1345
1828
      do
1346
 
        eval ac_val=$`echo $ac_var`
1347
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1829
        eval ac_val=\$$ac_var
 
1830
        case $ac_val in
 
1831
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1832
        esac
 
1833
        echo "$ac_var='\''$ac_val'\''"
1348
1834
      done | sort
1349
1835
      echo
1350
1836
    fi
1356
1842
## ----------- ##
1357
1843
_ASBOX
1358
1844
      echo
1359
 
      sed "/^$/d" confdefs.h | sort
 
1845
      cat confdefs.h
1360
1846
      echo
1361
1847
    fi
1362
1848
    test "$ac_signal" != 0 &&
1363
1849
      echo "$as_me: caught signal $ac_signal"
1364
1850
    echo "$as_me: exit $exit_status"
1365
1851
  } >&5
1366
 
  rm -f core *.core &&
1367
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1852
  rm -f core *.core core.conftest.* &&
 
1853
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1368
1854
    exit $exit_status
1369
 
     ' 0
 
1855
' 0
1370
1856
for ac_signal in 1 2 13 15; do
1371
1857
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1372
1858
done
1373
1859
ac_signal=0
1374
1860
 
1375
1861
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1376
 
rm -rf conftest* confdefs.h
1377
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1378
 
echo >confdefs.h
 
1862
rm -f -r conftest* confdefs.h
1379
1863
 
1380
1864
# Predefined preprocessor variables.
1381
1865
 
1406
1890
 
1407
1891
# Let the site file select an alternate cache file if it wants to.
1408
1892
# Prefer explicitly selected file to automatically selected ones.
1409
 
if test -z "$CONFIG_SITE"; then
1410
 
  if test "x$prefix" != xNONE; then
1411
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1412
 
  else
1413
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1414
 
  fi
 
1893
if test -n "$CONFIG_SITE"; then
 
1894
  set x "$CONFIG_SITE"
 
1895
elif test "x$prefix" != xNONE; then
 
1896
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1897
else
 
1898
  set x "$ac_default_prefix/share/config.site" \
 
1899
        "$ac_default_prefix/etc/config.site"
1415
1900
fi
1416
 
for ac_site_file in $CONFIG_SITE; do
 
1901
shift
 
1902
for ac_site_file
 
1903
do
1417
1904
  if test -r "$ac_site_file"; then
1418
1905
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1419
1906
echo "$as_me: loading site script $ac_site_file" >&6;}
1429
1916
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1430
1917
echo "$as_me: loading cache $cache_file" >&6;}
1431
1918
    case $cache_file in
1432
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1433
 
      *)                      . ./$cache_file;;
 
1919
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1920
      *)                      . "./$cache_file";;
1434
1921
    esac
1435
1922
  fi
1436
1923
else
1442
1929
# Check that the precious variables saved in the cache have kept the same
1443
1930
# value.
1444
1931
ac_cache_corrupted=false
1445
 
for ac_var in `(set) 2>&1 |
1446
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1932
for ac_var in $ac_precious_vars; do
1447
1933
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1448
1934
  eval ac_new_set=\$ac_env_${ac_var}_set
1449
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1450
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1935
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1936
  eval ac_new_val=\$ac_env_${ac_var}_value
1451
1937
  case $ac_old_set,$ac_new_set in
1452
1938
    set,)
1453
1939
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472
1958
  # Pass precious variables to config.status.
1473
1959
  if test "$ac_new_set" = set; then
1474
1960
    case $ac_new_val in
1475
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1476
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1961
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1477
1962
    *) ac_arg=$ac_var=$ac_new_val ;;
1478
1963
    esac
1479
1964
    case " $ac_configure_args " in
1490
1975
   { (exit 1); exit 1; }; }
1491
1976
fi
1492
1977
 
 
1978
 
 
1979
 
 
1980
 
 
1981
 
 
1982
 
 
1983
 
 
1984
 
 
1985
 
 
1986
 
 
1987
 
 
1988
 
 
1989
 
 
1990
 
 
1991
 
 
1992
 
 
1993
 
 
1994
 
 
1995
 
 
1996
 
 
1997
 
 
1998
 
 
1999
 
 
2000
 
 
2001
 
1493
2002
ac_ext=c
1494
2003
ac_cpp='$CPP $CPPFLAGS'
1495
2004
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1498
2007
 
1499
2008
 
1500
2009
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
2010
# LT Version numbers, remember to change them just *before* a release.
1527
2011
#   (Code changed:                      REVISION++)
1528
2012
#   (Interfaces added/removed/changed:  CURRENT++, REVISION=0)
1533
2017
# Subtract 2 from this value if you want to make the LFS transition an
1534
2018
# ABI break.  [Note to self: Remove this comment with the next regular break.]
1535
2019
LIBGPGME_LT_AGE=6
1536
 
LIBGPGME_LT_REVISION=1
 
2020
LIBGPGME_LT_REVISION=4
1537
2021
 
1538
2022
# If the API is changed in an incompatible way: increment the next counter.
1539
2023
GPGME_CONFIG_API_VERSION=1
1540
 
 
1541
 
NEED_GPG_VERSION=1.2.2
1542
 
NEED_GPGSM_VERSION=1.9.6
1543
2024
##############################################
1544
2025
 
1545
2026
 
1547
2028
VERSION=$PACKAGE_VERSION
1548
2029
 
1549
2030
 
1550
 
          ac_config_headers="$ac_config_headers config.h"
1551
 
 
1552
 
am__api_version="1.9"
 
2031
ac_config_headers="$ac_config_headers config.h"
 
2032
 
 
2033
am__api_version='1.10'
 
2034
 
1553
2035
ac_aux_dir=
1554
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555
 
  if test -f $ac_dir/install-sh; then
 
2036
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2037
  if test -f "$ac_dir/install-sh"; then
1556
2038
    ac_aux_dir=$ac_dir
1557
2039
    ac_install_sh="$ac_aux_dir/install-sh -c"
1558
2040
    break
1559
 
  elif test -f $ac_dir/install.sh; then
 
2041
  elif test -f "$ac_dir/install.sh"; then
1560
2042
    ac_aux_dir=$ac_dir
1561
2043
    ac_install_sh="$ac_aux_dir/install.sh -c"
1562
2044
    break
1563
 
  elif test -f $ac_dir/shtool; then
 
2045
  elif test -f "$ac_dir/shtool"; then
1564
2046
    ac_aux_dir=$ac_dir
1565
2047
    ac_install_sh="$ac_aux_dir/shtool install -c"
1566
2048
    break
1567
2049
  fi
1568
2050
done
1569
2051
if test -z "$ac_aux_dir"; then
1570
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
2052
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2053
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1572
2054
   { (exit 1); exit 1; }; }
1573
2055
fi
1574
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2056
 
 
2057
# These three variables are undocumented and unsupported,
 
2058
# and are intended to be withdrawn in a future Autoconf release.
 
2059
# They can cause serious problems if a builder's source tree is in a directory
 
2060
# whose full name contains unusual characters.
 
2061
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2062
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2063
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2064
 
1577
2065
 
1578
2066
# Find a good install program.  We prefer a C program (faster),
1579
2067
# so one script is as good as another.  But avoid the broken or
1588
2076
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1589
2077
# OS/2's system install, which has a completely different semantic
1590
2078
# ./install, which can be erroneously created by make from ./install.sh.
1591
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1592
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2079
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2080
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1593
2081
if test -z "$INSTALL"; then
1594
2082
if test "${ac_cv_path_install+set}" = set; then
1595
2083
  echo $ECHO_N "(cached) $ECHO_C" >&6
1611
2099
    # by default.
1612
2100
    for ac_prog in ginstall scoinst install; do
1613
2101
      for ac_exec_ext in '' $ac_executable_extensions; do
1614
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2102
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1615
2103
          if test $ac_prog = install &&
1616
2104
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1617
2105
            # AIX install.  It has an incompatible calling convention.
1630
2118
    ;;
1631
2119
esac
1632
2120
done
 
2121
IFS=$as_save_IFS
1633
2122
 
1634
2123
 
1635
2124
fi
1636
2125
  if test "${ac_cv_path_install+set}" = set; then
1637
2126
    INSTALL=$ac_cv_path_install
1638
2127
  else
1639
 
    # As a last resort, use the slow shell script.  We don't cache a
1640
 
    # path for INSTALL within a source directory, because that will
 
2128
    # As a last resort, use the slow shell script.  Don't cache a
 
2129
    # value for INSTALL within a source directory, because that will
1641
2130
    # break other packages using the cache if that directory is
1642
 
    # removed, or if the path is relative.
 
2131
    # removed, or if the value is a relative name.
1643
2132
    INSTALL=$ac_install_sh
1644
2133
  fi
1645
2134
fi
1646
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1647
 
echo "${ECHO_T}$INSTALL" >&6
 
2135
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2136
echo "${ECHO_T}$INSTALL" >&6; }
1648
2137
 
1649
2138
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1650
2139
# It thinks the first close brace ends the variable substitution.
1654
2143
 
1655
2144
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1656
2145
 
1657
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1658
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2146
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2147
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1659
2148
# Just in case
1660
2149
sleep 1
1661
2150
echo timestamp > conftest.file
1697
2186
Check your system clock" >&2;}
1698
2187
   { (exit 1); exit 1; }; }
1699
2188
fi
1700
 
echo "$as_me:$LINENO: result: yes" >&5
1701
 
echo "${ECHO_T}yes" >&6
 
2189
{ echo "$as_me:$LINENO: result: yes" >&5
 
2190
echo "${ECHO_T}yes" >&6; }
1702
2191
test "$program_prefix" != NONE &&
1703
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2192
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1704
2193
# Use a double $ so make ignores it.
1705
2194
test "$program_suffix" != NONE &&
1706
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2195
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1707
2196
# Double any \ or $.  echo might interpret backslashes.
1708
2197
# By default was `s,x,x', remove it if useless.
1709
2198
cat <<\_ACEOF >conftest.sed
1710
2199
s/[\\$]/&&/g;s/;s,x,x,$//
1711
2200
_ACEOF
1712
2201
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1713
 
rm conftest.sed
 
2202
rm -f conftest.sed
1714
2203
 
1715
2204
# expand $ac_aux_dir to an absolute path
1716
2205
am_aux_dir=`cd $ac_aux_dir && pwd`
1725
2214
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1726
2215
fi
1727
2216
 
1728
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1729
 
  # We used to keeping the `.' as first argument, in order to
1730
 
  # allow $(mkdir_p) to be used without argument.  As in
1731
 
  #   $(mkdir_p) $(somedir)
1732
 
  # where $(somedir) is conditionally defined.  However this is wrong
1733
 
  # for two reasons:
1734
 
  #  1. if the package is installed by a user who cannot write `.'
1735
 
  #     make install will fail,
1736
 
  #  2. the above comment should most certainly read
1737
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1738
 
  #     so it does not work when $(somedir) is undefined and
1739
 
  #     $(DESTDIR) is not.
1740
 
  #  To support the latter case, we have to write
1741
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1742
 
  #  so the `.' trick is pointless.
1743
 
  mkdir_p='mkdir -p --'
 
2217
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2218
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2219
if test -z "$MKDIR_P"; then
 
2220
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2221
  echo $ECHO_N "(cached) $ECHO_C" >&6
1744
2222
else
1745
 
  # On NextStep and OpenStep, the `mkdir' command does not
1746
 
  # recognize any option.  It will interpret all options as
1747
 
  # directories to create, and then abort because `.' already
1748
 
  # exists.
1749
 
  for d in ./-p ./--version;
1750
 
  do
1751
 
    test -d $d && rmdir $d
1752
 
  done
1753
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1754
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1755
 
    mkdir_p='$(mkinstalldirs)'
 
2223
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2224
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2225
do
 
2226
  IFS=$as_save_IFS
 
2227
  test -z "$as_dir" && as_dir=.
 
2228
  for ac_prog in mkdir gmkdir; do
 
2229
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2230
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2231
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2232
             'mkdir (GNU coreutils) '* | \
 
2233
             'mkdir (coreutils) '* | \
 
2234
             'mkdir (fileutils) '4.1*)
 
2235
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2236
               break 3;;
 
2237
           esac
 
2238
         done
 
2239
       done
 
2240
done
 
2241
IFS=$as_save_IFS
 
2242
 
 
2243
fi
 
2244
 
 
2245
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2246
    MKDIR_P="$ac_cv_path_mkdir -p"
1756
2247
  else
1757
 
    mkdir_p='$(install_sh) -d'
 
2248
    # As a last resort, use the slow shell script.  Don't cache a
 
2249
    # value for MKDIR_P within a source directory, because that will
 
2250
    # break other packages using the cache if that directory is
 
2251
    # removed, or if the value is a relative name.
 
2252
    test -d ./--version && rmdir ./--version
 
2253
    MKDIR_P="$ac_install_sh -d"
1758
2254
  fi
1759
2255
fi
 
2256
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2257
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2258
 
 
2259
mkdir_p="$MKDIR_P"
 
2260
case $mkdir_p in
 
2261
  [\\/$]* | ?:[\\/]*) ;;
 
2262
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2263
esac
1760
2264
 
1761
2265
for ac_prog in gawk mawk nawk awk
1762
2266
do
1763
2267
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1764
2268
set dummy $ac_prog; ac_word=$2
1765
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1766
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2269
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2270
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1767
2271
if test "${ac_cv_prog_AWK+set}" = set; then
1768
2272
  echo $ECHO_N "(cached) $ECHO_C" >&6
1769
2273
else
1776
2280
  IFS=$as_save_IFS
1777
2281
  test -z "$as_dir" && as_dir=.
1778
2282
  for ac_exec_ext in '' $ac_executable_extensions; do
1779
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2283
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1780
2284
    ac_cv_prog_AWK="$ac_prog"
1781
2285
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1782
2286
    break 2
1783
2287
  fi
1784
2288
done
1785
2289
done
 
2290
IFS=$as_save_IFS
1786
2291
 
1787
2292
fi
1788
2293
fi
1789
2294
AWK=$ac_cv_prog_AWK
1790
2295
if test -n "$AWK"; then
1791
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1792
 
echo "${ECHO_T}$AWK" >&6
 
2296
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2297
echo "${ECHO_T}$AWK" >&6; }
1793
2298
else
1794
 
  echo "$as_me:$LINENO: result: no" >&5
1795
 
echo "${ECHO_T}no" >&6
 
2299
  { echo "$as_me:$LINENO: result: no" >&5
 
2300
echo "${ECHO_T}no" >&6; }
1796
2301
fi
1797
2302
 
 
2303
 
1798
2304
  test -n "$AWK" && break
1799
2305
done
1800
2306
 
1801
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1802
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1803
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1804
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2307
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2308
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2309
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2310
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1805
2311
  echo $ECHO_N "(cached) $ECHO_C" >&6
1806
2312
else
1807
2313
  cat >conftest.make <<\_ACEOF
 
2314
SHELL = /bin/sh
1808
2315
all:
1809
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2316
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1810
2317
_ACEOF
1811
2318
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1812
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1813
 
if test -n "$ac_maketemp"; then
1814
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1815
 
else
1816
 
  eval ac_cv_prog_make_${ac_make}_set=no
1817
 
fi
 
2319
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2320
  *@@@%%%=?*=@@@%%%*)
 
2321
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2322
  *)
 
2323
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2324
esac
1818
2325
rm -f conftest.make
1819
2326
fi
1820
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1821
 
  echo "$as_me:$LINENO: result: yes" >&5
1822
 
echo "${ECHO_T}yes" >&6
 
2327
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2328
  { echo "$as_me:$LINENO: result: yes" >&5
 
2329
echo "${ECHO_T}yes" >&6; }
1823
2330
  SET_MAKE=
1824
2331
else
1825
 
  echo "$as_me:$LINENO: result: no" >&5
1826
 
echo "${ECHO_T}no" >&6
 
2332
  { echo "$as_me:$LINENO: result: no" >&5
 
2333
echo "${ECHO_T}no" >&6; }
1827
2334
  SET_MAKE="MAKE=${MAKE-make}"
1828
2335
fi
1829
2336
 
1836
2343
fi
1837
2344
rmdir .tst 2>/dev/null
1838
2345
 
1839
 
# test to see if srcdir already configured
1840
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1841
 
   test -f $srcdir/config.status; then
1842
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2346
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2347
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2348
  # is not polluted with repeated "-I."
 
2349
  am__isrc=' -I$(srcdir)'
 
2350
  # test to see if srcdir already configured
 
2351
  if test -f $srcdir/config.status; then
 
2352
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1843
2353
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1844
2354
   { (exit 1); exit 1; }; }
 
2355
  fi
1845
2356
fi
1846
2357
 
1847
2358
# test whether we have cygpath
1884
2395
 
1885
2396
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1886
2397
 
1887
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2398
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1888
2399
 
1889
2400
# Installed binaries are usually stripped using `strip' when the user
1890
2401
# run `make install-strip'.  However `strip' might not be the right
1894
2405
  if test -n "$ac_tool_prefix"; then
1895
2406
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1896
2407
set dummy ${ac_tool_prefix}strip; ac_word=$2
1897
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1898
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2408
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2409
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1899
2410
if test "${ac_cv_prog_STRIP+set}" = set; then
1900
2411
  echo $ECHO_N "(cached) $ECHO_C" >&6
1901
2412
else
1908
2419
  IFS=$as_save_IFS
1909
2420
  test -z "$as_dir" && as_dir=.
1910
2421
  for ac_exec_ext in '' $ac_executable_extensions; do
1911
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1912
2423
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1913
2424
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914
2425
    break 2
1915
2426
  fi
1916
2427
done
1917
2428
done
 
2429
IFS=$as_save_IFS
1918
2430
 
1919
2431
fi
1920
2432
fi
1921
2433
STRIP=$ac_cv_prog_STRIP
1922
2434
if test -n "$STRIP"; then
1923
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1924
 
echo "${ECHO_T}$STRIP" >&6
 
2435
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2436
echo "${ECHO_T}$STRIP" >&6; }
1925
2437
else
1926
 
  echo "$as_me:$LINENO: result: no" >&5
1927
 
echo "${ECHO_T}no" >&6
 
2438
  { echo "$as_me:$LINENO: result: no" >&5
 
2439
echo "${ECHO_T}no" >&6; }
1928
2440
fi
 
2441
 
1929
2442
 
1930
2443
fi
1931
2444
if test -z "$ac_cv_prog_STRIP"; then
1932
2445
  ac_ct_STRIP=$STRIP
1933
2446
  # Extract the first word of "strip", so it can be a program name with args.
1934
2447
set dummy strip; ac_word=$2
1935
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1936
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2448
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2449
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1937
2450
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1938
2451
  echo $ECHO_N "(cached) $ECHO_C" >&6
1939
2452
else
1946
2459
  IFS=$as_save_IFS
1947
2460
  test -z "$as_dir" && as_dir=.
1948
2461
  for ac_exec_ext in '' $ac_executable_extensions; do
1949
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1950
2463
    ac_cv_prog_ac_ct_STRIP="strip"
1951
2464
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952
2465
    break 2
1953
2466
  fi
1954
2467
done
1955
2468
done
 
2469
IFS=$as_save_IFS
1956
2470
 
1957
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1958
2471
fi
1959
2472
fi
1960
2473
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1961
2474
if test -n "$ac_ct_STRIP"; then
1962
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1963
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2475
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2476
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1964
2477
else
1965
 
  echo "$as_me:$LINENO: result: no" >&5
1966
 
echo "${ECHO_T}no" >&6
 
2478
  { echo "$as_me:$LINENO: result: no" >&5
 
2479
echo "${ECHO_T}no" >&6; }
1967
2480
fi
1968
2481
 
1969
 
  STRIP=$ac_ct_STRIP
 
2482
  if test "x$ac_ct_STRIP" = x; then
 
2483
    STRIP=":"
 
2484
  else
 
2485
    case $cross_compiling:$ac_tool_warned in
 
2486
yes:)
 
2487
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2488
whose name does not start with the host triplet.  If you think this
 
2489
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2490
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2491
whose name does not start with the host triplet.  If you think this
 
2492
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2493
ac_tool_warned=yes ;;
 
2494
esac
 
2495
    STRIP=$ac_ct_STRIP
 
2496
  fi
1970
2497
else
1971
2498
  STRIP="$ac_cv_prog_STRIP"
1972
2499
fi
1973
2500
 
1974
2501
fi
1975
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2502
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1976
2503
 
1977
2504
# We need awk for the "check" target.  The system "awk" is bad on
1978
2505
# some platforms.
1986
2513
 
1987
2514
 
1988
2515
 
1989
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1990
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1991
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2516
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2517
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2518
    # Check whether --enable-maintainer-mode was given.
1992
2519
if test "${enable_maintainer_mode+set}" = set; then
1993
 
  enableval="$enable_maintainer_mode"
1994
 
  USE_MAINTAINER_MODE=$enableval
 
2520
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1995
2521
else
1996
2522
  USE_MAINTAINER_MODE=no
1997
 
fi;
1998
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1999
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2000
 
 
2001
 
 
2002
 
if test $USE_MAINTAINER_MODE = yes; then
 
2523
fi
 
2524
 
 
2525
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2526
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2527
   if test $USE_MAINTAINER_MODE = yes; then
2003
2528
  MAINTAINER_MODE_TRUE=
2004
2529
  MAINTAINER_MODE_FALSE='#'
2005
2530
else
2011
2536
 
2012
2537
 
2013
2538
# Make sure we can run config.sub.
2014
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
2015
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2016
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2539
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2540
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2541
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2017
2542
   { (exit 1); exit 1; }; }
2018
2543
 
2019
 
echo "$as_me:$LINENO: checking build system type" >&5
2020
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2544
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2545
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2021
2546
if test "${ac_cv_build+set}" = set; then
2022
2547
  echo $ECHO_N "(cached) $ECHO_C" >&6
2023
2548
else
2024
 
  ac_cv_build_alias=$build_alias
2025
 
test -z "$ac_cv_build_alias" &&
2026
 
  ac_cv_build_alias=`$ac_config_guess`
2027
 
test -z "$ac_cv_build_alias" &&
 
2549
  ac_build_alias=$build_alias
 
2550
test "x$ac_build_alias" = x &&
 
2551
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2552
test "x$ac_build_alias" = x &&
2028
2553
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2029
2554
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2030
2555
   { (exit 1); exit 1; }; }
2031
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2032
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2033
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2556
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2557
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2558
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2034
2559
   { (exit 1); exit 1; }; }
2035
2560
 
2036
2561
fi
2037
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2038
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2562
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2563
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2564
case $ac_cv_build in
 
2565
*-*-*) ;;
 
2566
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2567
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2568
   { (exit 1); exit 1; }; };;
 
2569
esac
2039
2570
build=$ac_cv_build
2040
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2041
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2042
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2043
 
 
2044
 
 
2045
 
echo "$as_me:$LINENO: checking host system type" >&5
2046
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2571
ac_save_IFS=$IFS; IFS='-'
 
2572
set x $ac_cv_build
 
2573
shift
 
2574
build_cpu=$1
 
2575
build_vendor=$2
 
2576
shift; shift
 
2577
# Remember, the first character of IFS is used to create $*,
 
2578
# except with old shells:
 
2579
build_os=$*
 
2580
IFS=$ac_save_IFS
 
2581
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2582
 
 
2583
 
 
2584
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2585
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2047
2586
if test "${ac_cv_host+set}" = set; then
2048
2587
  echo $ECHO_N "(cached) $ECHO_C" >&6
2049
2588
else
2050
 
  ac_cv_host_alias=$host_alias
2051
 
test -z "$ac_cv_host_alias" &&
2052
 
  ac_cv_host_alias=$ac_cv_build_alias
2053
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2054
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2055
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2589
  if test "x$host_alias" = x; then
 
2590
  ac_cv_host=$ac_cv_build
 
2591
else
 
2592
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2593
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2594
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2056
2595
   { (exit 1); exit 1; }; }
 
2596
fi
2057
2597
 
2058
2598
fi
2059
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2060
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2599
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2600
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2601
case $ac_cv_host in
 
2602
*-*-*) ;;
 
2603
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2604
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2605
   { (exit 1); exit 1; }; };;
 
2606
esac
2061
2607
host=$ac_cv_host
2062
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2063
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2064
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2608
ac_save_IFS=$IFS; IFS='-'
 
2609
set x $ac_cv_host
 
2610
shift
 
2611
host_cpu=$1
 
2612
host_vendor=$2
 
2613
shift; shift
 
2614
# Remember, the first character of IFS is used to create $*,
 
2615
# except with old shells:
 
2616
host_os=$*
 
2617
IFS=$ac_save_IFS
 
2618
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2065
2619
 
2066
2620
 
2067
2621
 
2084
2638
if test -n "$ac_tool_prefix"; then
2085
2639
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2086
2640
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2087
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2088
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2641
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2642
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089
2643
if test "${ac_cv_prog_CC+set}" = set; then
2090
2644
  echo $ECHO_N "(cached) $ECHO_C" >&6
2091
2645
else
2098
2652
  IFS=$as_save_IFS
2099
2653
  test -z "$as_dir" && as_dir=.
2100
2654
  for ac_exec_ext in '' $ac_executable_extensions; do
2101
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2655
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102
2656
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2103
2657
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104
2658
    break 2
2105
2659
  fi
2106
2660
done
2107
2661
done
 
2662
IFS=$as_save_IFS
2108
2663
 
2109
2664
fi
2110
2665
fi
2111
2666
CC=$ac_cv_prog_CC
2112
2667
if test -n "$CC"; then
2113
 
  echo "$as_me:$LINENO: result: $CC" >&5
2114
 
echo "${ECHO_T}$CC" >&6
 
2668
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2669
echo "${ECHO_T}$CC" >&6; }
2115
2670
else
2116
 
  echo "$as_me:$LINENO: result: no" >&5
2117
 
echo "${ECHO_T}no" >&6
 
2671
  { echo "$as_me:$LINENO: result: no" >&5
 
2672
echo "${ECHO_T}no" >&6; }
2118
2673
fi
 
2674
 
2119
2675
 
2120
2676
fi
2121
2677
if test -z "$ac_cv_prog_CC"; then
2122
2678
  ac_ct_CC=$CC
2123
2679
  # Extract the first word of "gcc", so it can be a program name with args.
2124
2680
set dummy gcc; ac_word=$2
2125
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2681
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2682
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2127
2683
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2128
2684
  echo $ECHO_N "(cached) $ECHO_C" >&6
2129
2685
else
2136
2692
  IFS=$as_save_IFS
2137
2693
  test -z "$as_dir" && as_dir=.
2138
2694
  for ac_exec_ext in '' $ac_executable_extensions; do
2139
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2695
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140
2696
    ac_cv_prog_ac_ct_CC="gcc"
2141
2697
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142
2698
    break 2
2143
2699
  fi
2144
2700
done
2145
2701
done
 
2702
IFS=$as_save_IFS
2146
2703
 
2147
2704
fi
2148
2705
fi
2149
2706
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2150
2707
if test -n "$ac_ct_CC"; then
2151
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2152
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2708
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2709
echo "${ECHO_T}$ac_ct_CC" >&6; }
2153
2710
else
2154
 
  echo "$as_me:$LINENO: result: no" >&5
2155
 
echo "${ECHO_T}no" >&6
 
2711
  { echo "$as_me:$LINENO: result: no" >&5
 
2712
echo "${ECHO_T}no" >&6; }
2156
2713
fi
2157
2714
 
2158
 
  CC=$ac_ct_CC
 
2715
  if test "x$ac_ct_CC" = x; then
 
2716
    CC=""
 
2717
  else
 
2718
    case $cross_compiling:$ac_tool_warned in
 
2719
yes:)
 
2720
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2721
whose name does not start with the host triplet.  If you think this
 
2722
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2723
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2724
whose name does not start with the host triplet.  If you think this
 
2725
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2726
ac_tool_warned=yes ;;
 
2727
esac
 
2728
    CC=$ac_ct_CC
 
2729
  fi
2159
2730
else
2160
2731
  CC="$ac_cv_prog_CC"
2161
2732
fi
2162
2733
 
2163
2734
if test -z "$CC"; then
2164
 
  if test -n "$ac_tool_prefix"; then
2165
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2735
          if test -n "$ac_tool_prefix"; then
 
2736
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2166
2737
set dummy ${ac_tool_prefix}cc; ac_word=$2
2167
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2168
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2738
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2739
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169
2740
if test "${ac_cv_prog_CC+set}" = set; then
2170
2741
  echo $ECHO_N "(cached) $ECHO_C" >&6
2171
2742
else
2178
2749
  IFS=$as_save_IFS
2179
2750
  test -z "$as_dir" && as_dir=.
2180
2751
  for ac_exec_ext in '' $ac_executable_extensions; do
2181
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2752
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182
2753
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2183
2754
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2184
2755
    break 2
2185
2756
  fi
2186
2757
done
2187
2758
done
 
2759
IFS=$as_save_IFS
2188
2760
 
2189
2761
fi
2190
2762
fi
2191
2763
CC=$ac_cv_prog_CC
2192
2764
if test -n "$CC"; then
2193
 
  echo "$as_me:$LINENO: result: $CC" >&5
2194
 
echo "${ECHO_T}$CC" >&6
2195
 
else
2196
 
  echo "$as_me:$LINENO: result: no" >&5
2197
 
echo "${ECHO_T}no" >&6
2198
 
fi
2199
 
 
2200
 
fi
2201
 
if test -z "$ac_cv_prog_CC"; then
2202
 
  ac_ct_CC=$CC
2203
 
  # Extract the first word of "cc", so it can be a program name with args.
2204
 
set dummy cc; ac_word=$2
2205
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2206
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2207
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2209
 
else
2210
 
  if test -n "$ac_ct_CC"; then
2211
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2212
 
else
2213
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214
 
for as_dir in $PATH
2215
 
do
2216
 
  IFS=$as_save_IFS
2217
 
  test -z "$as_dir" && as_dir=.
2218
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2219
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220
 
    ac_cv_prog_ac_ct_CC="cc"
2221
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222
 
    break 2
 
2765
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2766
echo "${ECHO_T}$CC" >&6; }
 
2767
else
 
2768
  { echo "$as_me:$LINENO: result: no" >&5
 
2769
echo "${ECHO_T}no" >&6; }
 
2770
fi
 
2771
 
 
2772
 
2223
2773
  fi
2224
 
done
2225
 
done
2226
 
 
2227
 
fi
2228
 
fi
2229
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2230
 
if test -n "$ac_ct_CC"; then
2231
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2232
 
echo "${ECHO_T}$ac_ct_CC" >&6
2233
 
else
2234
 
  echo "$as_me:$LINENO: result: no" >&5
2235
 
echo "${ECHO_T}no" >&6
2236
 
fi
2237
 
 
2238
 
  CC=$ac_ct_CC
2239
 
else
2240
 
  CC="$ac_cv_prog_CC"
2241
 
fi
2242
 
 
2243
2774
fi
2244
2775
if test -z "$CC"; then
2245
2776
  # Extract the first word of "cc", so it can be a program name with args.
2246
2777
set dummy cc; ac_word=$2
2247
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2248
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2778
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2779
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2249
2780
if test "${ac_cv_prog_CC+set}" = set; then
2250
2781
  echo $ECHO_N "(cached) $ECHO_C" >&6
2251
2782
else
2259
2790
  IFS=$as_save_IFS
2260
2791
  test -z "$as_dir" && as_dir=.
2261
2792
  for ac_exec_ext in '' $ac_executable_extensions; do
2262
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263
2794
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2264
2795
       ac_prog_rejected=yes
2265
2796
       continue
2270
2801
  fi
2271
2802
done
2272
2803
done
 
2804
IFS=$as_save_IFS
2273
2805
 
2274
2806
if test $ac_prog_rejected = yes; then
2275
2807
  # We found a bogon in the path, so make sure we never use it.
2287
2819
fi
2288
2820
CC=$ac_cv_prog_CC
2289
2821
if test -n "$CC"; then
2290
 
  echo "$as_me:$LINENO: result: $CC" >&5
2291
 
echo "${ECHO_T}$CC" >&6
 
2822
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2823
echo "${ECHO_T}$CC" >&6; }
2292
2824
else
2293
 
  echo "$as_me:$LINENO: result: no" >&5
2294
 
echo "${ECHO_T}no" >&6
 
2825
  { echo "$as_me:$LINENO: result: no" >&5
 
2826
echo "${ECHO_T}no" >&6; }
2295
2827
fi
 
2828
 
2296
2829
 
2297
2830
fi
2298
2831
if test -z "$CC"; then
2299
2832
  if test -n "$ac_tool_prefix"; then
2300
 
  for ac_prog in cl
 
2833
  for ac_prog in cl.exe
2301
2834
  do
2302
2835
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2303
2836
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2304
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2305
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2837
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2838
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306
2839
if test "${ac_cv_prog_CC+set}" = set; then
2307
2840
  echo $ECHO_N "(cached) $ECHO_C" >&6
2308
2841
else
2315
2848
  IFS=$as_save_IFS
2316
2849
  test -z "$as_dir" && as_dir=.
2317
2850
  for ac_exec_ext in '' $ac_executable_extensions; do
2318
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2851
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319
2852
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2320
2853
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321
2854
    break 2
2322
2855
  fi
2323
2856
done
2324
2857
done
 
2858
IFS=$as_save_IFS
2325
2859
 
2326
2860
fi
2327
2861
fi
2328
2862
CC=$ac_cv_prog_CC
2329
2863
if test -n "$CC"; then
2330
 
  echo "$as_me:$LINENO: result: $CC" >&5
2331
 
echo "${ECHO_T}$CC" >&6
 
2864
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2865
echo "${ECHO_T}$CC" >&6; }
2332
2866
else
2333
 
  echo "$as_me:$LINENO: result: no" >&5
2334
 
echo "${ECHO_T}no" >&6
 
2867
  { echo "$as_me:$LINENO: result: no" >&5
 
2868
echo "${ECHO_T}no" >&6; }
2335
2869
fi
2336
2870
 
 
2871
 
2337
2872
    test -n "$CC" && break
2338
2873
  done
2339
2874
fi
2340
2875
if test -z "$CC"; then
2341
2876
  ac_ct_CC=$CC
2342
 
  for ac_prog in cl
 
2877
  for ac_prog in cl.exe
2343
2878
do
2344
2879
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2345
2880
set dummy $ac_prog; ac_word=$2
2346
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2347
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2881
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2882
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348
2883
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2349
2884
  echo $ECHO_N "(cached) $ECHO_C" >&6
2350
2885
else
2357
2892
  IFS=$as_save_IFS
2358
2893
  test -z "$as_dir" && as_dir=.
2359
2894
  for ac_exec_ext in '' $ac_executable_extensions; do
2360
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361
2896
    ac_cv_prog_ac_ct_CC="$ac_prog"
2362
2897
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363
2898
    break 2
2364
2899
  fi
2365
2900
done
2366
2901
done
 
2902
IFS=$as_save_IFS
2367
2903
 
2368
2904
fi
2369
2905
fi
2370
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2371
2907
if test -n "$ac_ct_CC"; then
2372
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2373
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2908
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2909
echo "${ECHO_T}$ac_ct_CC" >&6; }
2374
2910
else
2375
 
  echo "$as_me:$LINENO: result: no" >&5
2376
 
echo "${ECHO_T}no" >&6
 
2911
  { echo "$as_me:$LINENO: result: no" >&5
 
2912
echo "${ECHO_T}no" >&6; }
2377
2913
fi
2378
2914
 
 
2915
 
2379
2916
  test -n "$ac_ct_CC" && break
2380
2917
done
2381
2918
 
2382
 
  CC=$ac_ct_CC
 
2919
  if test "x$ac_ct_CC" = x; then
 
2920
    CC=""
 
2921
  else
 
2922
    case $cross_compiling:$ac_tool_warned in
 
2923
yes:)
 
2924
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2925
whose name does not start with the host triplet.  If you think this
 
2926
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2927
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2928
whose name does not start with the host triplet.  If you think this
 
2929
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2930
ac_tool_warned=yes ;;
 
2931
esac
 
2932
    CC=$ac_ct_CC
 
2933
  fi
2383
2934
fi
2384
2935
 
2385
2936
fi
2392
2943
   { (exit 1); exit 1; }; }
2393
2944
 
2394
2945
# Provide some information about the compiler.
2395
 
echo "$as_me:$LINENO:" \
2396
 
     "checking for C compiler version" >&5
 
2946
echo "$as_me:$LINENO: checking for C compiler version" >&5
2397
2947
ac_compiler=`set X $ac_compile; echo $2`
2398
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2399
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2400
 
  ac_status=$?
2401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402
 
  (exit $ac_status); }
2403
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2404
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2405
 
  ac_status=$?
2406
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407
 
  (exit $ac_status); }
2408
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2409
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2948
{ (ac_try="$ac_compiler --version >&5"
 
2949
case "(($ac_try" in
 
2950
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2951
  *) ac_try_echo=$ac_try;;
 
2952
esac
 
2953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2954
  (eval "$ac_compiler --version >&5") 2>&5
 
2955
  ac_status=$?
 
2956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2957
  (exit $ac_status); }
 
2958
{ (ac_try="$ac_compiler -v >&5"
 
2959
case "(($ac_try" in
 
2960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2961
  *) ac_try_echo=$ac_try;;
 
2962
esac
 
2963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2964
  (eval "$ac_compiler -v >&5") 2>&5
 
2965
  ac_status=$?
 
2966
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2967
  (exit $ac_status); }
 
2968
{ (ac_try="$ac_compiler -V >&5"
 
2969
case "(($ac_try" in
 
2970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2971
  *) ac_try_echo=$ac_try;;
 
2972
esac
 
2973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2974
  (eval "$ac_compiler -V >&5") 2>&5
2410
2975
  ac_status=$?
2411
2976
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412
2977
  (exit $ac_status); }
2431
2996
# Try to create an executable without -o first, disregard a.out.
2432
2997
# It will help us diagnose broken compilers, and finding out an intuition
2433
2998
# of exeext.
2434
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2435
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2999
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3000
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2436
3001
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2437
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2438
 
  (eval $ac_link_default) 2>&5
 
3002
#
 
3003
# List of possible output files, starting from the most likely.
 
3004
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3005
# only as a last resort.  b.out is created by i960 compilers.
 
3006
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3007
#
 
3008
# The IRIX 6 linker writes into existing files which may not be
 
3009
# executable, retaining their permissions.  Remove them first so a
 
3010
# subsequent execution test works.
 
3011
ac_rmfiles=
 
3012
for ac_file in $ac_files
 
3013
do
 
3014
  case $ac_file in
 
3015
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3016
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3017
  esac
 
3018
done
 
3019
rm -f $ac_rmfiles
 
3020
 
 
3021
if { (ac_try="$ac_link_default"
 
3022
case "(($ac_try" in
 
3023
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3024
  *) ac_try_echo=$ac_try;;
 
3025
esac
 
3026
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3027
  (eval "$ac_link_default") 2>&5
2439
3028
  ac_status=$?
2440
3029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441
3030
  (exit $ac_status); }; then
2442
 
  # Find the output, starting from the most likely.  This scheme is
2443
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2444
 
# resort.
2445
 
 
2446
 
# Be careful to initialize this variable, since it used to be cached.
2447
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2448
 
ac_cv_exeext=
2449
 
# b.out is created by i960 compilers.
2450
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3031
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3032
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3033
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3034
# so that the user can short-circuit this test for compilers unknown to
 
3035
# Autoconf.
 
3036
for ac_file in $ac_files ''
2451
3037
do
2452
3038
  test -f "$ac_file" || continue
2453
3039
  case $ac_file in
2454
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2455
 
        ;;
2456
 
    conftest.$ac_ext )
2457
 
        # This is the source file.
 
3040
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2458
3041
        ;;
2459
3042
    [ab].out )
2460
3043
        # We found the default executable, but exeext='' is most
2461
3044
        # certainly right.
2462
3045
        break;;
2463
3046
    *.* )
2464
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2465
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2466
 
        # but it would be cool to find out if it's true.  Does anybody
2467
 
        # maintain Libtool? --akim.
2468
 
        export ac_cv_exeext
 
3047
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3048
        then :; else
 
3049
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3050
        fi
 
3051
        # We set ac_cv_exeext here because the later test for it is not
 
3052
        # safe: cross compilers may not add the suffix if given an `-o'
 
3053
        # argument, so we may need to know it at that point already.
 
3054
        # Even if this section looks crufty: it has the advantage of
 
3055
        # actually working.
2469
3056
        break;;
2470
3057
    * )
2471
3058
        break;;
2472
3059
  esac
2473
3060
done
 
3061
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3062
 
2474
3063
else
 
3064
  ac_file=''
 
3065
fi
 
3066
 
 
3067
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3068
echo "${ECHO_T}$ac_file" >&6; }
 
3069
if test -z "$ac_file"; then
2475
3070
  echo "$as_me: failed program was:" >&5
2476
3071
sed 's/^/| /' conftest.$ac_ext >&5
2477
3072
 
2483
3078
fi
2484
3079
 
2485
3080
ac_exeext=$ac_cv_exeext
2486
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2487
 
echo "${ECHO_T}$ac_file" >&6
2488
3081
 
2489
 
# Check the compiler produces executables we can run.  If not, either
 
3082
# Check that the compiler produces executables we can run.  If not, either
2490
3083
# the compiler is broken, or we cross compile.
2491
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2492
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3084
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3085
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2493
3086
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2494
3087
# If not cross compiling, check that we can run a simple program.
2495
3088
if test "$cross_compiling" != yes; then
2496
3089
  if { ac_try='./$ac_file'
2497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498
 
  (eval $ac_try) 2>&5
 
3090
  { (case "(($ac_try" in
 
3091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3092
  *) ac_try_echo=$ac_try;;
 
3093
esac
 
3094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3095
  (eval "$ac_try") 2>&5
2499
3096
  ac_status=$?
2500
3097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501
3098
  (exit $ac_status); }; }; then
2514
3111
    fi
2515
3112
  fi
2516
3113
fi
2517
 
echo "$as_me:$LINENO: result: yes" >&5
2518
 
echo "${ECHO_T}yes" >&6
 
3114
{ echo "$as_me:$LINENO: result: yes" >&5
 
3115
echo "${ECHO_T}yes" >&6; }
2519
3116
 
2520
3117
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2521
3118
ac_clean_files=$ac_clean_files_save
2522
 
# Check the compiler produces executables we can run.  If not, either
 
3119
# Check that the compiler produces executables we can run.  If not, either
2523
3120
# the compiler is broken, or we cross compile.
2524
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2525
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2526
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2527
 
echo "${ECHO_T}$cross_compiling" >&6
 
3121
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3122
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3123
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3124
echo "${ECHO_T}$cross_compiling" >&6; }
2528
3125
 
2529
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2530
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2531
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2532
 
  (eval $ac_link) 2>&5
 
3126
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3127
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3128
if { (ac_try="$ac_link"
 
3129
case "(($ac_try" in
 
3130
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3131
  *) ac_try_echo=$ac_try;;
 
3132
esac
 
3133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3134
  (eval "$ac_link") 2>&5
2533
3135
  ac_status=$?
2534
3136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535
3137
  (exit $ac_status); }; then
2540
3142
for ac_file in conftest.exe conftest conftest.*; do
2541
3143
  test -f "$ac_file" || continue
2542
3144
  case $ac_file in
2543
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3145
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2544
3146
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2545
 
          export ac_cv_exeext
2546
3147
          break;;
2547
3148
    * ) break;;
2548
3149
  esac
2556
3157
fi
2557
3158
 
2558
3159
rm -f conftest$ac_cv_exeext
2559
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2560
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3160
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3161
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2561
3162
 
2562
3163
rm -f conftest.$ac_ext
2563
3164
EXEEXT=$ac_cv_exeext
2564
3165
ac_exeext=$EXEEXT
2565
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2566
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3166
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3167
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2567
3168
if test "${ac_cv_objext+set}" = set; then
2568
3169
  echo $ECHO_N "(cached) $ECHO_C" >&6
2569
3170
else
2583
3184
}
2584
3185
_ACEOF
2585
3186
rm -f conftest.o conftest.obj
2586
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587
 
  (eval $ac_compile) 2>&5
 
3187
if { (ac_try="$ac_compile"
 
3188
case "(($ac_try" in
 
3189
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3190
  *) ac_try_echo=$ac_try;;
 
3191
esac
 
3192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3193
  (eval "$ac_compile") 2>&5
2588
3194
  ac_status=$?
2589
3195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590
3196
  (exit $ac_status); }; then
2591
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3197
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3198
  test -f "$ac_file" || continue;
2592
3199
  case $ac_file in
2593
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3200
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2594
3201
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2595
3202
       break;;
2596
3203
  esac
2608
3215
 
2609
3216
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610
3217
fi
2611
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2612
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3218
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3219
echo "${ECHO_T}$ac_cv_objext" >&6; }
2613
3220
OBJEXT=$ac_cv_objext
2614
3221
ac_objext=$OBJEXT
2615
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2616
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3222
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3223
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2617
3224
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2618
3225
  echo $ECHO_N "(cached) $ECHO_C" >&6
2619
3226
else
2636
3243
}
2637
3244
_ACEOF
2638
3245
rm -f conftest.$ac_objext
2639
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2640
 
  (eval $ac_compile) 2>conftest.er1
 
3246
if { (ac_try="$ac_compile"
 
3247
case "(($ac_try" in
 
3248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3249
  *) ac_try_echo=$ac_try;;
 
3250
esac
 
3251
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3252
  (eval "$ac_compile") 2>conftest.er1
2641
3253
  ac_status=$?
2642
3254
  grep -v '^ *+' conftest.er1 >conftest.err
2643
3255
  rm -f conftest.er1
2644
3256
  cat conftest.err >&5
2645
3257
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646
 
  (exit $ac_status); } &&
2647
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649
 
  (eval $ac_try) 2>&5
2650
 
  ac_status=$?
2651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652
 
  (exit $ac_status); }; } &&
2653
 
         { ac_try='test -s conftest.$ac_objext'
2654
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655
 
  (eval $ac_try) 2>&5
2656
 
  ac_status=$?
2657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658
 
  (exit $ac_status); }; }; then
 
3258
  (exit $ac_status); } && {
 
3259
         test -z "$ac_c_werror_flag" ||
 
3260
         test ! -s conftest.err
 
3261
       } && test -s conftest.$ac_objext; then
2659
3262
  ac_compiler_gnu=yes
2660
3263
else
2661
3264
  echo "$as_me: failed program was:" >&5
2662
3265
sed 's/^/| /' conftest.$ac_ext >&5
2663
3266
 
2664
 
ac_compiler_gnu=no
 
3267
        ac_compiler_gnu=no
2665
3268
fi
2666
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3269
 
 
3270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667
3271
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2668
3272
 
2669
3273
fi
2670
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2671
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3274
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3275
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2672
3276
GCC=`test $ac_compiler_gnu = yes && echo yes`
2673
3277
ac_test_CFLAGS=${CFLAGS+set}
2674
3278
ac_save_CFLAGS=$CFLAGS
2675
 
CFLAGS="-g"
2676
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2677
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3279
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3280
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2678
3281
if test "${ac_cv_prog_cc_g+set}" = set; then
2679
3282
  echo $ECHO_N "(cached) $ECHO_C" >&6
2680
3283
else
2681
 
  cat >conftest.$ac_ext <<_ACEOF
2682
 
/* confdefs.h.  */
2683
 
_ACEOF
2684
 
cat confdefs.h >>conftest.$ac_ext
2685
 
cat >>conftest.$ac_ext <<_ACEOF
2686
 
/* end confdefs.h.  */
2687
 
 
2688
 
int
2689
 
main ()
2690
 
{
2691
 
 
2692
 
  ;
2693
 
  return 0;
2694
 
}
2695
 
_ACEOF
2696
 
rm -f conftest.$ac_objext
2697
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2698
 
  (eval $ac_compile) 2>conftest.er1
2699
 
  ac_status=$?
2700
 
  grep -v '^ *+' conftest.er1 >conftest.err
2701
 
  rm -f conftest.er1
2702
 
  cat conftest.err >&5
2703
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704
 
  (exit $ac_status); } &&
2705
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2707
 
  (eval $ac_try) 2>&5
2708
 
  ac_status=$?
2709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710
 
  (exit $ac_status); }; } &&
2711
 
         { ac_try='test -s conftest.$ac_objext'
2712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713
 
  (eval $ac_try) 2>&5
2714
 
  ac_status=$?
2715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
 
  (exit $ac_status); }; }; then
2717
 
  ac_cv_prog_cc_g=yes
2718
 
else
2719
 
  echo "$as_me: failed program was:" >&5
2720
 
sed 's/^/| /' conftest.$ac_ext >&5
2721
 
 
2722
 
ac_cv_prog_cc_g=no
2723
 
fi
2724
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2725
 
fi
2726
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2727
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3284
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3285
   ac_c_werror_flag=yes
 
3286
   ac_cv_prog_cc_g=no
 
3287
   CFLAGS="-g"
 
3288
   cat >conftest.$ac_ext <<_ACEOF
 
3289
/* confdefs.h.  */
 
3290
_ACEOF
 
3291
cat confdefs.h >>conftest.$ac_ext
 
3292
cat >>conftest.$ac_ext <<_ACEOF
 
3293
/* end confdefs.h.  */
 
3294
 
 
3295
int
 
3296
main ()
 
3297
{
 
3298
 
 
3299
  ;
 
3300
  return 0;
 
3301
}
 
3302
_ACEOF
 
3303
rm -f conftest.$ac_objext
 
3304
if { (ac_try="$ac_compile"
 
3305
case "(($ac_try" in
 
3306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3307
  *) ac_try_echo=$ac_try;;
 
3308
esac
 
3309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3310
  (eval "$ac_compile") 2>conftest.er1
 
3311
  ac_status=$?
 
3312
  grep -v '^ *+' conftest.er1 >conftest.err
 
3313
  rm -f conftest.er1
 
3314
  cat conftest.err >&5
 
3315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3316
  (exit $ac_status); } && {
 
3317
         test -z "$ac_c_werror_flag" ||
 
3318
         test ! -s conftest.err
 
3319
       } && test -s conftest.$ac_objext; then
 
3320
  ac_cv_prog_cc_g=yes
 
3321
else
 
3322
  echo "$as_me: failed program was:" >&5
 
3323
sed 's/^/| /' conftest.$ac_ext >&5
 
3324
 
 
3325
        CFLAGS=""
 
3326
      cat >conftest.$ac_ext <<_ACEOF
 
3327
/* confdefs.h.  */
 
3328
_ACEOF
 
3329
cat confdefs.h >>conftest.$ac_ext
 
3330
cat >>conftest.$ac_ext <<_ACEOF
 
3331
/* end confdefs.h.  */
 
3332
 
 
3333
int
 
3334
main ()
 
3335
{
 
3336
 
 
3337
  ;
 
3338
  return 0;
 
3339
}
 
3340
_ACEOF
 
3341
rm -f conftest.$ac_objext
 
3342
if { (ac_try="$ac_compile"
 
3343
case "(($ac_try" in
 
3344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3345
  *) ac_try_echo=$ac_try;;
 
3346
esac
 
3347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3348
  (eval "$ac_compile") 2>conftest.er1
 
3349
  ac_status=$?
 
3350
  grep -v '^ *+' conftest.er1 >conftest.err
 
3351
  rm -f conftest.er1
 
3352
  cat conftest.err >&5
 
3353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3354
  (exit $ac_status); } && {
 
3355
         test -z "$ac_c_werror_flag" ||
 
3356
         test ! -s conftest.err
 
3357
       } && test -s conftest.$ac_objext; then
 
3358
  :
 
3359
else
 
3360
  echo "$as_me: failed program was:" >&5
 
3361
sed 's/^/| /' conftest.$ac_ext >&5
 
3362
 
 
3363
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3364
         CFLAGS="-g"
 
3365
         cat >conftest.$ac_ext <<_ACEOF
 
3366
/* confdefs.h.  */
 
3367
_ACEOF
 
3368
cat confdefs.h >>conftest.$ac_ext
 
3369
cat >>conftest.$ac_ext <<_ACEOF
 
3370
/* end confdefs.h.  */
 
3371
 
 
3372
int
 
3373
main ()
 
3374
{
 
3375
 
 
3376
  ;
 
3377
  return 0;
 
3378
}
 
3379
_ACEOF
 
3380
rm -f conftest.$ac_objext
 
3381
if { (ac_try="$ac_compile"
 
3382
case "(($ac_try" in
 
3383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3384
  *) ac_try_echo=$ac_try;;
 
3385
esac
 
3386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3387
  (eval "$ac_compile") 2>conftest.er1
 
3388
  ac_status=$?
 
3389
  grep -v '^ *+' conftest.er1 >conftest.err
 
3390
  rm -f conftest.er1
 
3391
  cat conftest.err >&5
 
3392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3393
  (exit $ac_status); } && {
 
3394
         test -z "$ac_c_werror_flag" ||
 
3395
         test ! -s conftest.err
 
3396
       } && test -s conftest.$ac_objext; then
 
3397
  ac_cv_prog_cc_g=yes
 
3398
else
 
3399
  echo "$as_me: failed program was:" >&5
 
3400
sed 's/^/| /' conftest.$ac_ext >&5
 
3401
 
 
3402
 
 
3403
fi
 
3404
 
 
3405
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3406
fi
 
3407
 
 
3408
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3409
fi
 
3410
 
 
3411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3412
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3413
fi
 
3414
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3415
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2728
3416
if test "$ac_test_CFLAGS" = set; then
2729
3417
  CFLAGS=$ac_save_CFLAGS
2730
3418
elif test $ac_cv_prog_cc_g = yes; then
2740
3428
    CFLAGS=
2741
3429
  fi
2742
3430
fi
2743
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2744
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2745
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3431
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3432
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3433
if test "${ac_cv_prog_cc_c89+set}" = set; then
2746
3434
  echo $ECHO_N "(cached) $ECHO_C" >&6
2747
3435
else
2748
 
  ac_cv_prog_cc_stdc=no
 
3436
  ac_cv_prog_cc_c89=no
2749
3437
ac_save_CC=$CC
2750
3438
cat >conftest.$ac_ext <<_ACEOF
2751
3439
/* confdefs.h.  */
2779
3467
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2780
3468
   function prototypes and stuff, but not '\xHH' hex character constants.
2781
3469
   These don't provoke an error unfortunately, instead are silently treated
2782
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3470
   as 'x'.  The following induces an error, until -std is added to get
2783
3471
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2784
3472
   array size at least.  It's necessary to write '\x00'==0 to get something
2785
 
   that's true only with -std1.  */
 
3473
   that's true only with -std.  */
2786
3474
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2787
3475
 
 
3476
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3477
   inside strings and character constants.  */
 
3478
#define FOO(x) 'x'
 
3479
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3480
 
2788
3481
int test (int i, double x);
2789
3482
struct s1 {int (*f) (int a);};
2790
3483
struct s2 {int (*f) (double a);};
2799
3492
  return 0;
2800
3493
}
2801
3494
_ACEOF
2802
 
# Don't try gcc -ansi; that turns off useful extensions and
2803
 
# breaks some systems' header files.
2804
 
# AIX                   -qlanglvl=ansi
2805
 
# Ultrix and OSF/1      -std1
2806
 
# HP-UX 10.20 and later -Ae
2807
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2808
 
# SVR4                  -Xc -D__EXTENSIONS__
2809
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3495
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3496
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2810
3497
do
2811
3498
  CC="$ac_save_CC $ac_arg"
2812
3499
  rm -f conftest.$ac_objext
2813
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2814
 
  (eval $ac_compile) 2>conftest.er1
 
3500
if { (ac_try="$ac_compile"
 
3501
case "(($ac_try" in
 
3502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3503
  *) ac_try_echo=$ac_try;;
 
3504
esac
 
3505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3506
  (eval "$ac_compile") 2>conftest.er1
2815
3507
  ac_status=$?
2816
3508
  grep -v '^ *+' conftest.er1 >conftest.err
2817
3509
  rm -f conftest.er1
2818
3510
  cat conftest.err >&5
2819
3511
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820
 
  (exit $ac_status); } &&
2821
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823
 
  (eval $ac_try) 2>&5
2824
 
  ac_status=$?
2825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
 
  (exit $ac_status); }; } &&
2827
 
         { ac_try='test -s conftest.$ac_objext'
2828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829
 
  (eval $ac_try) 2>&5
2830
 
  ac_status=$?
2831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832
 
  (exit $ac_status); }; }; then
2833
 
  ac_cv_prog_cc_stdc=$ac_arg
2834
 
break
 
3512
  (exit $ac_status); } && {
 
3513
         test -z "$ac_c_werror_flag" ||
 
3514
         test ! -s conftest.err
 
3515
       } && test -s conftest.$ac_objext; then
 
3516
  ac_cv_prog_cc_c89=$ac_arg
2835
3517
else
2836
3518
  echo "$as_me: failed program was:" >&5
2837
3519
sed 's/^/| /' conftest.$ac_ext >&5
2838
3520
 
 
3521
 
2839
3522
fi
2840
 
rm -f conftest.err conftest.$ac_objext
 
3523
 
 
3524
rm -f core conftest.err conftest.$ac_objext
 
3525
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2841
3526
done
2842
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3527
rm -f conftest.$ac_ext
2843
3528
CC=$ac_save_CC
2844
3529
 
2845
3530
fi
2846
 
 
2847
 
case "x$ac_cv_prog_cc_stdc" in
2848
 
  x|xno)
2849
 
    echo "$as_me:$LINENO: result: none needed" >&5
2850
 
echo "${ECHO_T}none needed" >&6 ;;
 
3531
# AC_CACHE_VAL
 
3532
case "x$ac_cv_prog_cc_c89" in
 
3533
  x)
 
3534
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3535
echo "${ECHO_T}none needed" >&6; } ;;
 
3536
  xno)
 
3537
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3538
echo "${ECHO_T}unsupported" >&6; } ;;
2851
3539
  *)
2852
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2853
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2854
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3540
    CC="$CC $ac_cv_prog_cc_c89"
 
3541
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3542
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2855
3543
esac
2856
3544
 
2857
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2858
 
# in C++ we need to declare it.  In case someone uses the same compiler
2859
 
# for both compiling C and C++ we need to have the C++ compiler decide
2860
 
# the declaration of exit, since it's the most demanding environment.
2861
 
cat >conftest.$ac_ext <<_ACEOF
2862
 
#ifndef __cplusplus
2863
 
  choke me
2864
 
#endif
2865
 
_ACEOF
2866
 
rm -f conftest.$ac_objext
2867
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868
 
  (eval $ac_compile) 2>conftest.er1
2869
 
  ac_status=$?
2870
 
  grep -v '^ *+' conftest.er1 >conftest.err
2871
 
  rm -f conftest.er1
2872
 
  cat conftest.err >&5
2873
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874
 
  (exit $ac_status); } &&
2875
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2876
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877
 
  (eval $ac_try) 2>&5
2878
 
  ac_status=$?
2879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
 
  (exit $ac_status); }; } &&
2881
 
         { ac_try='test -s conftest.$ac_objext'
2882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883
 
  (eval $ac_try) 2>&5
2884
 
  ac_status=$?
2885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886
 
  (exit $ac_status); }; }; then
2887
 
  for ac_declaration in \
2888
 
   '' \
2889
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2890
 
   'extern "C" void std::exit (int); using std::exit;' \
2891
 
   'extern "C" void exit (int) throw ();' \
2892
 
   'extern "C" void exit (int);' \
2893
 
   'void exit (int);'
2894
 
do
2895
 
  cat >conftest.$ac_ext <<_ACEOF
2896
 
/* confdefs.h.  */
2897
 
_ACEOF
2898
 
cat confdefs.h >>conftest.$ac_ext
2899
 
cat >>conftest.$ac_ext <<_ACEOF
2900
 
/* end confdefs.h.  */
2901
 
$ac_declaration
2902
 
#include <stdlib.h>
2903
 
int
2904
 
main ()
2905
 
{
2906
 
exit (42);
2907
 
  ;
2908
 
  return 0;
2909
 
}
2910
 
_ACEOF
2911
 
rm -f conftest.$ac_objext
2912
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2913
 
  (eval $ac_compile) 2>conftest.er1
2914
 
  ac_status=$?
2915
 
  grep -v '^ *+' conftest.er1 >conftest.err
2916
 
  rm -f conftest.er1
2917
 
  cat conftest.err >&5
2918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
 
  (exit $ac_status); } &&
2920
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2921
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922
 
  (eval $ac_try) 2>&5
2923
 
  ac_status=$?
2924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
 
  (exit $ac_status); }; } &&
2926
 
         { ac_try='test -s conftest.$ac_objext'
2927
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928
 
  (eval $ac_try) 2>&5
2929
 
  ac_status=$?
2930
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931
 
  (exit $ac_status); }; }; then
2932
 
  :
2933
 
else
2934
 
  echo "$as_me: failed program was:" >&5
2935
 
sed 's/^/| /' conftest.$ac_ext >&5
2936
 
 
2937
 
continue
2938
 
fi
2939
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2940
 
  cat >conftest.$ac_ext <<_ACEOF
2941
 
/* confdefs.h.  */
2942
 
_ACEOF
2943
 
cat confdefs.h >>conftest.$ac_ext
2944
 
cat >>conftest.$ac_ext <<_ACEOF
2945
 
/* end confdefs.h.  */
2946
 
$ac_declaration
2947
 
int
2948
 
main ()
2949
 
{
2950
 
exit (42);
2951
 
  ;
2952
 
  return 0;
2953
 
}
2954
 
_ACEOF
2955
 
rm -f conftest.$ac_objext
2956
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2957
 
  (eval $ac_compile) 2>conftest.er1
2958
 
  ac_status=$?
2959
 
  grep -v '^ *+' conftest.er1 >conftest.err
2960
 
  rm -f conftest.er1
2961
 
  cat conftest.err >&5
2962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963
 
  (exit $ac_status); } &&
2964
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2965
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966
 
  (eval $ac_try) 2>&5
2967
 
  ac_status=$?
2968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969
 
  (exit $ac_status); }; } &&
2970
 
         { ac_try='test -s conftest.$ac_objext'
2971
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972
 
  (eval $ac_try) 2>&5
2973
 
  ac_status=$?
2974
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975
 
  (exit $ac_status); }; }; then
2976
 
  break
2977
 
else
2978
 
  echo "$as_me: failed program was:" >&5
2979
 
sed 's/^/| /' conftest.$ac_ext >&5
2980
 
 
2981
 
fi
2982
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2983
 
done
2984
 
rm -f conftest*
2985
 
if test -n "$ac_declaration"; then
2986
 
  echo '#ifdef __cplusplus' >>confdefs.h
2987
 
  echo $ac_declaration      >>confdefs.h
2988
 
  echo '#endif'             >>confdefs.h
2989
 
fi
2990
 
 
2991
 
else
2992
 
  echo "$as_me: failed program was:" >&5
2993
 
sed 's/^/| /' conftest.$ac_ext >&5
2994
 
 
2995
 
fi
2996
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3545
 
2997
3546
ac_ext=c
2998
3547
ac_cpp='$CPP $CPPFLAGS'
2999
3548
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001
3550
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002
3551
DEPDIR="${am__leading_dot}deps"
3003
3552
 
3004
 
          ac_config_commands="$ac_config_commands depfiles"
 
3553
ac_config_commands="$ac_config_commands depfiles"
3005
3554
 
3006
3555
 
3007
3556
am_make=${MAKE-make}
3011
3560
.PHONY: am__doit
3012
3561
END
3013
3562
# If we don't find an include directive, just comment out the code.
3014
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3015
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3563
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3564
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3016
3565
am__include="#"
3017
3566
am__quote=
3018
3567
_am_result=none
3039
3588
fi
3040
3589
 
3041
3590
 
3042
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3043
 
echo "${ECHO_T}$_am_result" >&6
 
3591
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3592
echo "${ECHO_T}$_am_result" >&6; }
3044
3593
rm -f confinc confmf
3045
3594
 
3046
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3595
# Check whether --enable-dependency-tracking was given.
3047
3596
if test "${enable_dependency_tracking+set}" = set; then
3048
 
  enableval="$enable_dependency_tracking"
 
3597
  enableval=$enable_dependency_tracking;
 
3598
fi
3049
3599
 
3050
 
fi;
3051
3600
if test "x$enable_dependency_tracking" != xno; then
3052
3601
  am_depcomp="$ac_aux_dir/depcomp"
3053
3602
  AMDEPBACKSLASH='\'
3054
3603
fi
3055
 
 
3056
 
 
3057
 
if test "x$enable_dependency_tracking" != xno; then
 
3604
 if test "x$enable_dependency_tracking" != xno; then
3058
3605
  AMDEP_TRUE=
3059
3606
  AMDEP_FALSE='#'
3060
3607
else
3064
3611
 
3065
3612
 
3066
3613
 
3067
 
 
3068
3614
depcc="$CC"   am_compiler_list=
3069
3615
 
3070
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3071
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3616
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3617
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3072
3618
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3073
3619
  echo $ECHO_N "(cached) $ECHO_C" >&6
3074
3620
else
3132
3678
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3133
3679
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3134
3680
         >/dev/null 2>conftest.err &&
 
3681
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3135
3682
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3136
3683
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3137
3684
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3157
3704
fi
3158
3705
 
3159
3706
fi
3160
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3161
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3707
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3708
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3162
3709
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3163
3710
 
3164
 
 
3165
 
 
3166
 
if
 
3711
 if
3167
3712
  test "x$enable_dependency_tracking" != xno \
3168
3713
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3169
3714
  am__fastdepCC_TRUE=
3179
3724
 
3180
3725
 
3181
3726
 
3182
 
cat >>confdefs.h <<_ACEOF
3183
 
#define NEED_GPG_VERSION "$NEED_GPG_VERSION"
3184
 
_ACEOF
3185
 
 
3186
 
 
3187
 
cat >>confdefs.h <<_ACEOF
3188
 
#define NEED_GPGSM_VERSION "$NEED_GPGSM_VERSION"
3189
 
_ACEOF
3190
 
 
3191
 
 
3192
3727
 
3193
3728
 
3194
3729
 
3203
3738
 
3204
3739
 
3205
3740
# Don't default to build static libs.
3206
 
# Check whether --enable-static or --disable-static was given.
 
3741
# Check whether --enable-static was given.
3207
3742
if test "${enable_static+set}" = set; then
3208
 
  enableval="$enable_static"
3209
 
  p=${PACKAGE-default}
 
3743
  enableval=$enable_static; p=${PACKAGE-default}
3210
3744
    case $enableval in
3211
3745
    yes) enable_static=yes ;;
3212
3746
    no) enable_static=no ;;
3225
3759
    esac
3226
3760
else
3227
3761
  enable_static=no
3228
 
fi;
 
3762
fi
 
3763
 
3229
3764
 
3230
3765
 
3231
3766
 
3233
3768
if test -n "$ac_tool_prefix"; then
3234
3769
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
3235
3770
set dummy ${ac_tool_prefix}windres; ac_word=$2
3236
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3237
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3771
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3772
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3238
3773
if test "${ac_cv_prog_RC+set}" = set; then
3239
3774
  echo $ECHO_N "(cached) $ECHO_C" >&6
3240
3775
else
3247
3782
  IFS=$as_save_IFS
3248
3783
  test -z "$as_dir" && as_dir=.
3249
3784
  for ac_exec_ext in '' $ac_executable_extensions; do
3250
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251
3786
    ac_cv_prog_RC="${ac_tool_prefix}windres"
3252
3787
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3253
3788
    break 2
3254
3789
  fi
3255
3790
done
3256
3791
done
 
3792
IFS=$as_save_IFS
3257
3793
 
3258
3794
fi
3259
3795
fi
3260
3796
RC=$ac_cv_prog_RC
3261
3797
if test -n "$RC"; then
3262
 
  echo "$as_me:$LINENO: result: $RC" >&5
3263
 
echo "${ECHO_T}$RC" >&6
 
3798
  { echo "$as_me:$LINENO: result: $RC" >&5
 
3799
echo "${ECHO_T}$RC" >&6; }
3264
3800
else
3265
 
  echo "$as_me:$LINENO: result: no" >&5
3266
 
echo "${ECHO_T}no" >&6
 
3801
  { echo "$as_me:$LINENO: result: no" >&5
 
3802
echo "${ECHO_T}no" >&6; }
3267
3803
fi
 
3804
 
3268
3805
 
3269
3806
fi
3270
3807
if test -z "$ac_cv_prog_RC"; then
3271
3808
  ac_ct_RC=$RC
3272
3809
  # Extract the first word of "windres", so it can be a program name with args.
3273
3810
set dummy windres; ac_word=$2
3274
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3275
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3811
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3812
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3276
3813
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
3277
3814
  echo $ECHO_N "(cached) $ECHO_C" >&6
3278
3815
else
3285
3822
  IFS=$as_save_IFS
3286
3823
  test -z "$as_dir" && as_dir=.
3287
3824
  for ac_exec_ext in '' $ac_executable_extensions; do
3288
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3289
3826
    ac_cv_prog_ac_ct_RC="windres"
3290
3827
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291
3828
    break 2
3292
3829
  fi
3293
3830
done
3294
3831
done
 
3832
IFS=$as_save_IFS
3295
3833
 
3296
 
  test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC="no"
3297
3834
fi
3298
3835
fi
3299
3836
ac_ct_RC=$ac_cv_prog_ac_ct_RC
3300
3837
if test -n "$ac_ct_RC"; then
3301
 
  echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
3302
 
echo "${ECHO_T}$ac_ct_RC" >&6
 
3838
  { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
 
3839
echo "${ECHO_T}$ac_ct_RC" >&6; }
3303
3840
else
3304
 
  echo "$as_me:$LINENO: result: no" >&5
3305
 
echo "${ECHO_T}no" >&6
 
3841
  { echo "$as_me:$LINENO: result: no" >&5
 
3842
echo "${ECHO_T}no" >&6; }
3306
3843
fi
3307
3844
 
3308
 
  RC=$ac_ct_RC
 
3845
  if test "x$ac_ct_RC" = x; then
 
3846
    RC="no"
 
3847
  else
 
3848
    case $cross_compiling:$ac_tool_warned in
 
3849
yes:)
 
3850
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
3851
whose name does not start with the host triplet.  If you think this
 
3852
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
3853
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3854
whose name does not start with the host triplet.  If you think this
 
3855
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3856
ac_tool_warned=yes ;;
 
3857
esac
 
3858
    RC=$ac_ct_RC
 
3859
  fi
3309
3860
else
3310
3861
  RC="$ac_cv_prog_RC"
3311
3862
fi
3315
3866
 
3316
3867
 
3317
3868
 
3318
 
# Check whether --enable-shared or --disable-shared was given.
 
3869
# Check whether --enable-shared was given.
3319
3870
if test "${enable_shared+set}" = set; then
3320
 
  enableval="$enable_shared"
3321
 
  p=${PACKAGE-default}
 
3871
  enableval=$enable_shared; p=${PACKAGE-default}
3322
3872
    case $enableval in
3323
3873
    yes) enable_shared=yes ;;
3324
3874
    no) enable_shared=no ;;
3337
3887
    esac
3338
3888
else
3339
3889
  enable_shared=yes
3340
 
fi;
3341
 
 
3342
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
3890
fi
 
3891
 
 
3892
 
 
3893
# Check whether --enable-fast-install was given.
3343
3894
if test "${enable_fast_install+set}" = set; then
3344
 
  enableval="$enable_fast_install"
3345
 
  p=${PACKAGE-default}
 
3895
  enableval=$enable_fast_install; p=${PACKAGE-default}
3346
3896
    case $enableval in
3347
3897
    yes) enable_fast_install=yes ;;
3348
3898
    no) enable_fast_install=no ;;
3361
3911
    esac
3362
3912
else
3363
3913
  enable_fast_install=yes
3364
 
fi;
3365
 
 
3366
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3367
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3914
fi
 
3915
 
 
3916
 
 
3917
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3918
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3368
3919
if test "${lt_cv_path_SED+set}" = set; then
3369
3920
  echo $ECHO_N "(cached) $ECHO_C" >&6
3370
3921
else
3417
3968
 
3418
3969
fi
3419
3970
 
3420
 
echo "$as_me:$LINENO: result: $SED" >&5
3421
 
echo "${ECHO_T}$SED" >&6
3422
 
 
3423
 
echo "$as_me:$LINENO: checking for egrep" >&5
3424
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3425
 
if test "${ac_cv_prog_egrep+set}" = set; then
3426
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3427
 
else
3428
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3429
 
    then ac_cv_prog_egrep='grep -E'
3430
 
    else ac_cv_prog_egrep='egrep'
3431
 
    fi
3432
 
fi
3433
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3434
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3435
 
 EGREP=$ac_cv_prog_egrep
3436
 
 
3437
 
 
3438
 
 
3439
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3971
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3972
echo "${ECHO_T}$SED" >&6; }
 
3973
 
 
3974
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3975
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3976
if test "${ac_cv_path_GREP+set}" = set; then
 
3977
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3978
else
 
3979
  # Extract the first word of "grep ggrep" to use in msg output
 
3980
if test -z "$GREP"; then
 
3981
set dummy grep ggrep; ac_prog_name=$2
 
3982
if test "${ac_cv_path_GREP+set}" = set; then
 
3983
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3984
else
 
3985
  ac_path_GREP_found=false
 
3986
# Loop through the user's path and test for each of PROGNAME-LIST
 
3987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3988
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3989
do
 
3990
  IFS=$as_save_IFS
 
3991
  test -z "$as_dir" && as_dir=.
 
3992
  for ac_prog in grep ggrep; do
 
3993
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3994
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3995
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3996
    # Check for GNU ac_path_GREP and select it if it is found.
 
3997
  # Check for GNU $ac_path_GREP
 
3998
case `"$ac_path_GREP" --version 2>&1` in
 
3999
*GNU*)
 
4000
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4001
*)
 
4002
  ac_count=0
 
4003
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4004
  while :
 
4005
  do
 
4006
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4007
    mv "conftest.tmp" "conftest.in"
 
4008
    cp "conftest.in" "conftest.nl"
 
4009
    echo 'GREP' >> "conftest.nl"
 
4010
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4011
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4012
    ac_count=`expr $ac_count + 1`
 
4013
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4014
      # Best one so far, save it but keep looking for a better one
 
4015
      ac_cv_path_GREP="$ac_path_GREP"
 
4016
      ac_path_GREP_max=$ac_count
 
4017
    fi
 
4018
    # 10*(2^10) chars as input seems more than enough
 
4019
    test $ac_count -gt 10 && break
 
4020
  done
 
4021
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4022
esac
 
4023
 
 
4024
 
 
4025
    $ac_path_GREP_found && break 3
 
4026
  done
 
4027
done
 
4028
 
 
4029
done
 
4030
IFS=$as_save_IFS
 
4031
 
 
4032
 
 
4033
fi
 
4034
 
 
4035
GREP="$ac_cv_path_GREP"
 
4036
if test -z "$GREP"; then
 
4037
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4038
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4039
   { (exit 1); exit 1; }; }
 
4040
fi
 
4041
 
 
4042
else
 
4043
  ac_cv_path_GREP=$GREP
 
4044
fi
 
4045
 
 
4046
 
 
4047
fi
 
4048
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4049
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4050
 GREP="$ac_cv_path_GREP"
 
4051
 
 
4052
 
 
4053
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4054
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4055
if test "${ac_cv_path_EGREP+set}" = set; then
 
4056
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4057
else
 
4058
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4059
   then ac_cv_path_EGREP="$GREP -E"
 
4060
   else
 
4061
     # Extract the first word of "egrep" to use in msg output
 
4062
if test -z "$EGREP"; then
 
4063
set dummy egrep; ac_prog_name=$2
 
4064
if test "${ac_cv_path_EGREP+set}" = set; then
 
4065
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4066
else
 
4067
  ac_path_EGREP_found=false
 
4068
# Loop through the user's path and test for each of PROGNAME-LIST
 
4069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4070
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4071
do
 
4072
  IFS=$as_save_IFS
 
4073
  test -z "$as_dir" && as_dir=.
 
4074
  for ac_prog in egrep; do
 
4075
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4076
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4077
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4078
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4079
  # Check for GNU $ac_path_EGREP
 
4080
case `"$ac_path_EGREP" --version 2>&1` in
 
4081
*GNU*)
 
4082
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4083
*)
 
4084
  ac_count=0
 
4085
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4086
  while :
 
4087
  do
 
4088
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4089
    mv "conftest.tmp" "conftest.in"
 
4090
    cp "conftest.in" "conftest.nl"
 
4091
    echo 'EGREP' >> "conftest.nl"
 
4092
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4093
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4094
    ac_count=`expr $ac_count + 1`
 
4095
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4096
      # Best one so far, save it but keep looking for a better one
 
4097
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4098
      ac_path_EGREP_max=$ac_count
 
4099
    fi
 
4100
    # 10*(2^10) chars as input seems more than enough
 
4101
    test $ac_count -gt 10 && break
 
4102
  done
 
4103
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4104
esac
 
4105
 
 
4106
 
 
4107
    $ac_path_EGREP_found && break 3
 
4108
  done
 
4109
done
 
4110
 
 
4111
done
 
4112
IFS=$as_save_IFS
 
4113
 
 
4114
 
 
4115
fi
 
4116
 
 
4117
EGREP="$ac_cv_path_EGREP"
 
4118
if test -z "$EGREP"; then
 
4119
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4120
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4121
   { (exit 1); exit 1; }; }
 
4122
fi
 
4123
 
 
4124
else
 
4125
  ac_cv_path_EGREP=$EGREP
 
4126
fi
 
4127
 
 
4128
 
 
4129
   fi
 
4130
fi
 
4131
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4132
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4133
 EGREP="$ac_cv_path_EGREP"
 
4134
 
 
4135
 
 
4136
 
 
4137
# Check whether --with-gnu-ld was given.
3440
4138
if test "${with_gnu_ld+set}" = set; then
3441
 
  withval="$with_gnu_ld"
3442
 
  test "$withval" = no || with_gnu_ld=yes
 
4139
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3443
4140
else
3444
4141
  with_gnu_ld=no
3445
 
fi;
 
4142
fi
 
4143
 
3446
4144
ac_prog=ld
3447
4145
if test "$GCC" = yes; then
3448
4146
  # Check if gcc -print-prog-name=ld gives a path.
3449
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3450
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4147
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4148
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3451
4149
  case $host in
3452
4150
  *-*-mingw*)
3453
4151
    # gcc leaves a trailing carriage return which upsets mingw
3476
4174
    ;;
3477
4175
  esac
3478
4176
elif test "$with_gnu_ld" = yes; then
3479
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3480
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4177
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4178
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3481
4179
else
3482
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3483
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4180
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4181
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3484
4182
fi
3485
4183
if test "${lt_cv_path_LD+set}" = set; then
3486
4184
  echo $ECHO_N "(cached) $ECHO_C" >&6
3513
4211
 
3514
4212
LD="$lt_cv_path_LD"
3515
4213
if test -n "$LD"; then
3516
 
  echo "$as_me:$LINENO: result: $LD" >&5
3517
 
echo "${ECHO_T}$LD" >&6
 
4214
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4215
echo "${ECHO_T}$LD" >&6; }
3518
4216
else
3519
 
  echo "$as_me:$LINENO: result: no" >&5
3520
 
echo "${ECHO_T}no" >&6
 
4217
  { echo "$as_me:$LINENO: result: no" >&5
 
4218
echo "${ECHO_T}no" >&6; }
3521
4219
fi
3522
4220
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3523
4221
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3524
4222
   { (exit 1); exit 1; }; }
3525
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3526
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4223
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4224
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3527
4225
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3528
4226
  echo $ECHO_N "(cached) $ECHO_C" >&6
3529
4227
else
3537
4235
  ;;
3538
4236
esac
3539
4237
fi
3540
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3541
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4238
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4239
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3542
4240
with_gnu_ld=$lt_cv_prog_gnu_ld
3543
4241
 
3544
4242
 
3545
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3546
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4243
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4244
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3547
4245
if test "${lt_cv_ld_reload_flag+set}" = set; then
3548
4246
  echo $ECHO_N "(cached) $ECHO_C" >&6
3549
4247
else
3550
4248
  lt_cv_ld_reload_flag='-r'
3551
4249
fi
3552
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3553
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4250
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4251
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3554
4252
reload_flag=$lt_cv_ld_reload_flag
3555
4253
case $reload_flag in
3556
4254
"" | " "*) ;;
3558
4256
esac
3559
4257
reload_cmds='$LD$reload_flag -o $output$reload_objs'
3560
4258
 
3561
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3562
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4259
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4260
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3563
4261
if test "${lt_cv_path_NM+set}" = set; then
3564
4262
  echo $ECHO_N "(cached) $ECHO_C" >&6
3565
4263
else
3600
4298
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3601
4299
fi
3602
4300
fi
3603
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3604
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4301
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4302
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3605
4303
NM="$lt_cv_path_NM"
3606
4304
 
3607
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3608
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4305
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4306
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3609
4307
LN_S=$as_ln_s
3610
4308
if test "$LN_S" = "ln -s"; then
3611
 
  echo "$as_me:$LINENO: result: yes" >&5
3612
 
echo "${ECHO_T}yes" >&6
 
4309
  { echo "$as_me:$LINENO: result: yes" >&5
 
4310
echo "${ECHO_T}yes" >&6; }
3613
4311
else
3614
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3615
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4312
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4313
echo "${ECHO_T}no, using $LN_S" >&6; }
3616
4314
fi
3617
4315
 
3618
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3619
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4316
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4317
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3620
4318
if test "${lt_cv_deplibs_check_method+set}" = set; then
3621
4319
  echo $ECHO_N "(cached) $ECHO_C" >&6
3622
4320
else
3789
4487
esac
3790
4488
 
3791
4489
fi
3792
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3793
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4490
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4491
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3794
4492
file_magic_cmd=$lt_cv_file_magic_cmd
3795
4493
deplibs_check_method=$lt_cv_deplibs_check_method
3796
4494
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3805
4503
compiler=$CC
3806
4504
 
3807
4505
 
3808
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4506
# Check whether --enable-libtool-lock was given.
3809
4507
if test "${enable_libtool_lock+set}" = set; then
3810
 
  enableval="$enable_libtool_lock"
 
4508
  enableval=$enable_libtool_lock;
 
4509
fi
3811
4510
 
3812
 
fi;
3813
4511
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3814
4512
 
3815
4513
# Some flags need to be propagated to the compiler or linker for good
3836
4534
  ;;
3837
4535
*-*-irix6*)
3838
4536
  # Find out which ABI we are using.
3839
 
  echo '#line 3839 "configure"' > conftest.$ac_ext
 
4537
  echo '#line 4537 "configure"' > conftest.$ac_ext
3840
4538
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3841
4539
  (eval $ac_compile) 2>&5
3842
4540
  ac_status=$?
3921
4619
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3922
4620
  SAVE_CFLAGS="$CFLAGS"
3923
4621
  CFLAGS="$CFLAGS -belf"
3924
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3925
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4622
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4623
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3926
4624
if test "${lt_cv_cc_needs_belf+set}" = set; then
3927
4625
  echo $ECHO_N "(cached) $ECHO_C" >&6
3928
4626
else
3948
4646
}
3949
4647
_ACEOF
3950
4648
rm -f conftest.$ac_objext conftest$ac_exeext
3951
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3952
 
  (eval $ac_link) 2>conftest.er1
 
4649
if { (ac_try="$ac_link"
 
4650
case "(($ac_try" in
 
4651
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4652
  *) ac_try_echo=$ac_try;;
 
4653
esac
 
4654
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4655
  (eval "$ac_link") 2>conftest.er1
3953
4656
  ac_status=$?
3954
4657
  grep -v '^ *+' conftest.er1 >conftest.err
3955
4658
  rm -f conftest.er1
3956
4659
  cat conftest.err >&5
3957
4660
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958
 
  (exit $ac_status); } &&
3959
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3961
 
  (eval $ac_try) 2>&5
3962
 
  ac_status=$?
3963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964
 
  (exit $ac_status); }; } &&
3965
 
         { ac_try='test -s conftest$ac_exeext'
3966
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967
 
  (eval $ac_try) 2>&5
3968
 
  ac_status=$?
3969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
 
  (exit $ac_status); }; }; then
 
4661
  (exit $ac_status); } && {
 
4662
         test -z "$ac_c_werror_flag" ||
 
4663
         test ! -s conftest.err
 
4664
       } && test -s conftest$ac_exeext &&
 
4665
       $as_test_x conftest$ac_exeext; then
3971
4666
  lt_cv_cc_needs_belf=yes
3972
4667
else
3973
4668
  echo "$as_me: failed program was:" >&5
3974
4669
sed 's/^/| /' conftest.$ac_ext >&5
3975
4670
 
3976
 
lt_cv_cc_needs_belf=no
 
4671
        lt_cv_cc_needs_belf=no
3977
4672
fi
3978
 
rm -f conftest.err conftest.$ac_objext \
 
4673
 
 
4674
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3979
4675
      conftest$ac_exeext conftest.$ac_ext
3980
4676
     ac_ext=c
3981
4677
ac_cpp='$CPP $CPPFLAGS'
3984
4680
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3985
4681
 
3986
4682
fi
3987
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3988
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4683
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4684
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3989
4685
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3990
4686
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3991
4687
    CFLAGS="$SAVE_CFLAGS"
3995
4691
  if test -n "$ac_tool_prefix"; then
3996
4692
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3997
4693
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3998
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3999
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4694
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4695
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4000
4696
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4001
4697
  echo $ECHO_N "(cached) $ECHO_C" >&6
4002
4698
else
4009
4705
  IFS=$as_save_IFS
4010
4706
  test -z "$as_dir" && as_dir=.
4011
4707
  for ac_exec_ext in '' $ac_executable_extensions; do
4012
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4708
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4013
4709
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4014
4710
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4015
4711
    break 2
4016
4712
  fi
4017
4713
done
4018
4714
done
 
4715
IFS=$as_save_IFS
4019
4716
 
4020
4717
fi
4021
4718
fi
4022
4719
DLLTOOL=$ac_cv_prog_DLLTOOL
4023
4720
if test -n "$DLLTOOL"; then
4024
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4025
 
echo "${ECHO_T}$DLLTOOL" >&6
 
4721
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
4722
echo "${ECHO_T}$DLLTOOL" >&6; }
4026
4723
else
4027
 
  echo "$as_me:$LINENO: result: no" >&5
4028
 
echo "${ECHO_T}no" >&6
 
4724
  { echo "$as_me:$LINENO: result: no" >&5
 
4725
echo "${ECHO_T}no" >&6; }
4029
4726
fi
 
4727
 
4030
4728
 
4031
4729
fi
4032
4730
if test -z "$ac_cv_prog_DLLTOOL"; then
4033
4731
  ac_ct_DLLTOOL=$DLLTOOL
4034
4732
  # Extract the first word of "dlltool", so it can be a program name with args.
4035
4733
set dummy dlltool; ac_word=$2
4036
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4037
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4734
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4735
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4038
4736
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4039
4737
  echo $ECHO_N "(cached) $ECHO_C" >&6
4040
4738
else
4047
4745
  IFS=$as_save_IFS
4048
4746
  test -z "$as_dir" && as_dir=.
4049
4747
  for ac_exec_ext in '' $ac_executable_extensions; do
4050
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4748
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051
4749
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4052
4750
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4053
4751
    break 2
4054
4752
  fi
4055
4753
done
4056
4754
done
 
4755
IFS=$as_save_IFS
4057
4756
 
4058
 
  test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
4059
4757
fi
4060
4758
fi
4061
4759
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4062
4760
if test -n "$ac_ct_DLLTOOL"; then
4063
 
  echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4064
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 
4761
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
4762
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4065
4763
else
4066
 
  echo "$as_me:$LINENO: result: no" >&5
4067
 
echo "${ECHO_T}no" >&6
 
4764
  { echo "$as_me:$LINENO: result: no" >&5
 
4765
echo "${ECHO_T}no" >&6; }
4068
4766
fi
4069
4767
 
4070
 
  DLLTOOL=$ac_ct_DLLTOOL
 
4768
  if test "x$ac_ct_DLLTOOL" = x; then
 
4769
    DLLTOOL="false"
 
4770
  else
 
4771
    case $cross_compiling:$ac_tool_warned in
 
4772
yes:)
 
4773
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4774
whose name does not start with the host triplet.  If you think this
 
4775
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4776
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4777
whose name does not start with the host triplet.  If you think this
 
4778
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4779
ac_tool_warned=yes ;;
 
4780
esac
 
4781
    DLLTOOL=$ac_ct_DLLTOOL
 
4782
  fi
4071
4783
else
4072
4784
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4073
4785
fi
4075
4787
  if test -n "$ac_tool_prefix"; then
4076
4788
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4077
4789
set dummy ${ac_tool_prefix}as; ac_word=$2
4078
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4079
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4790
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4791
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4080
4792
if test "${ac_cv_prog_AS+set}" = set; then
4081
4793
  echo $ECHO_N "(cached) $ECHO_C" >&6
4082
4794
else
4089
4801
  IFS=$as_save_IFS
4090
4802
  test -z "$as_dir" && as_dir=.
4091
4803
  for ac_exec_ext in '' $ac_executable_extensions; do
4092
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093
4805
    ac_cv_prog_AS="${ac_tool_prefix}as"
4094
4806
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4095
4807
    break 2
4096
4808
  fi
4097
4809
done
4098
4810
done
 
4811
IFS=$as_save_IFS
4099
4812
 
4100
4813
fi
4101
4814
fi
4102
4815
AS=$ac_cv_prog_AS
4103
4816
if test -n "$AS"; then
4104
 
  echo "$as_me:$LINENO: result: $AS" >&5
4105
 
echo "${ECHO_T}$AS" >&6
 
4817
  { echo "$as_me:$LINENO: result: $AS" >&5
 
4818
echo "${ECHO_T}$AS" >&6; }
4106
4819
else
4107
 
  echo "$as_me:$LINENO: result: no" >&5
4108
 
echo "${ECHO_T}no" >&6
 
4820
  { echo "$as_me:$LINENO: result: no" >&5
 
4821
echo "${ECHO_T}no" >&6; }
4109
4822
fi
 
4823
 
4110
4824
 
4111
4825
fi
4112
4826
if test -z "$ac_cv_prog_AS"; then
4113
4827
  ac_ct_AS=$AS
4114
4828
  # Extract the first word of "as", so it can be a program name with args.
4115
4829
set dummy as; ac_word=$2
4116
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4117
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4830
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4831
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4118
4832
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4119
4833
  echo $ECHO_N "(cached) $ECHO_C" >&6
4120
4834
else
4127
4841
  IFS=$as_save_IFS
4128
4842
  test -z "$as_dir" && as_dir=.
4129
4843
  for ac_exec_ext in '' $ac_executable_extensions; do
4130
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4844
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131
4845
    ac_cv_prog_ac_ct_AS="as"
4132
4846
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4133
4847
    break 2
4134
4848
  fi
4135
4849
done
4136
4850
done
 
4851
IFS=$as_save_IFS
4137
4852
 
4138
 
  test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
4139
4853
fi
4140
4854
fi
4141
4855
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4142
4856
if test -n "$ac_ct_AS"; then
4143
 
  echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4144
 
echo "${ECHO_T}$ac_ct_AS" >&6
 
4857
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
4858
echo "${ECHO_T}$ac_ct_AS" >&6; }
4145
4859
else
4146
 
  echo "$as_me:$LINENO: result: no" >&5
4147
 
echo "${ECHO_T}no" >&6
 
4860
  { echo "$as_me:$LINENO: result: no" >&5
 
4861
echo "${ECHO_T}no" >&6; }
4148
4862
fi
4149
4863
 
4150
 
  AS=$ac_ct_AS
 
4864
  if test "x$ac_ct_AS" = x; then
 
4865
    AS="false"
 
4866
  else
 
4867
    case $cross_compiling:$ac_tool_warned in
 
4868
yes:)
 
4869
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4870
whose name does not start with the host triplet.  If you think this
 
4871
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4872
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4873
whose name does not start with the host triplet.  If you think this
 
4874
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4875
ac_tool_warned=yes ;;
 
4876
esac
 
4877
    AS=$ac_ct_AS
 
4878
  fi
4151
4879
else
4152
4880
  AS="$ac_cv_prog_AS"
4153
4881
fi
4155
4883
  if test -n "$ac_tool_prefix"; then
4156
4884
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4157
4885
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4158
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4159
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4886
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4887
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4160
4888
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4161
4889
  echo $ECHO_N "(cached) $ECHO_C" >&6
4162
4890
else
4169
4897
  IFS=$as_save_IFS
4170
4898
  test -z "$as_dir" && as_dir=.
4171
4899
  for ac_exec_ext in '' $ac_executable_extensions; do
4172
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173
4901
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4174
4902
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4175
4903
    break 2
4176
4904
  fi
4177
4905
done
4178
4906
done
 
4907
IFS=$as_save_IFS
4179
4908
 
4180
4909
fi
4181
4910
fi
4182
4911
OBJDUMP=$ac_cv_prog_OBJDUMP
4183
4912
if test -n "$OBJDUMP"; then
4184
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4185
 
echo "${ECHO_T}$OBJDUMP" >&6
 
4913
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4914
echo "${ECHO_T}$OBJDUMP" >&6; }
4186
4915
else
4187
 
  echo "$as_me:$LINENO: result: no" >&5
4188
 
echo "${ECHO_T}no" >&6
 
4916
  { echo "$as_me:$LINENO: result: no" >&5
 
4917
echo "${ECHO_T}no" >&6; }
4189
4918
fi
 
4919
 
4190
4920
 
4191
4921
fi
4192
4922
if test -z "$ac_cv_prog_OBJDUMP"; then
4193
4923
  ac_ct_OBJDUMP=$OBJDUMP
4194
4924
  # Extract the first word of "objdump", so it can be a program name with args.
4195
4925
set dummy objdump; ac_word=$2
4196
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4197
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4926
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4927
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4198
4928
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4199
4929
  echo $ECHO_N "(cached) $ECHO_C" >&6
4200
4930
else
4207
4937
  IFS=$as_save_IFS
4208
4938
  test -z "$as_dir" && as_dir=.
4209
4939
  for ac_exec_ext in '' $ac_executable_extensions; do
4210
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4211
4941
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4212
4942
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213
4943
    break 2
4214
4944
  fi
4215
4945
done
4216
4946
done
 
4947
IFS=$as_save_IFS
4217
4948
 
4218
 
  test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4219
4949
fi
4220
4950
fi
4221
4951
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4222
4952
if test -n "$ac_ct_OBJDUMP"; then
4223
 
  echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4224
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 
4953
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4954
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4225
4955
else
4226
 
  echo "$as_me:$LINENO: result: no" >&5
4227
 
echo "${ECHO_T}no" >&6
 
4956
  { echo "$as_me:$LINENO: result: no" >&5
 
4957
echo "${ECHO_T}no" >&6; }
4228
4958
fi
4229
4959
 
4230
 
  OBJDUMP=$ac_ct_OBJDUMP
 
4960
  if test "x$ac_ct_OBJDUMP" = x; then
 
4961
    OBJDUMP="false"
 
4962
  else
 
4963
    case $cross_compiling:$ac_tool_warned in
 
4964
yes:)
 
4965
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4966
whose name does not start with the host triplet.  If you think this
 
4967
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4968
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4969
whose name does not start with the host triplet.  If you think this
 
4970
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4971
ac_tool_warned=yes ;;
 
4972
esac
 
4973
    OBJDUMP=$ac_ct_OBJDUMP
 
4974
  fi
4231
4975
else
4232
4976
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4233
4977
fi
4244
4988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4245
4989
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4246
4990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4247
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4248
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4991
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4992
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4249
4993
# On Suns, sometimes $CPP names a directory.
4250
4994
if test -n "$CPP" && test -d "$CPP"; then
4251
4995
  CPP=
4279
5023
#endif
4280
5024
                     Syntax error
4281
5025
_ACEOF
4282
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4283
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5026
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5027
case "(($ac_try" in
 
5028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5029
  *) ac_try_echo=$ac_try;;
 
5030
esac
 
5031
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5032
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4284
5033
  ac_status=$?
4285
5034
  grep -v '^ *+' conftest.er1 >conftest.err
4286
5035
  rm -f conftest.er1
4287
5036
  cat conftest.err >&5
4288
5037
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289
 
  (exit $ac_status); } >/dev/null; then
4290
 
  if test -s conftest.err; then
4291
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4292
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4293
 
  else
4294
 
    ac_cpp_err=
4295
 
  fi
4296
 
else
4297
 
  ac_cpp_err=yes
4298
 
fi
4299
 
if test -z "$ac_cpp_err"; then
 
5038
  (exit $ac_status); } >/dev/null && {
 
5039
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5040
         test ! -s conftest.err
 
5041
       }; then
4300
5042
  :
4301
5043
else
4302
5044
  echo "$as_me: failed program was:" >&5
4305
5047
  # Broken: fails on valid input.
4306
5048
continue
4307
5049
fi
 
5050
 
4308
5051
rm -f conftest.err conftest.$ac_ext
4309
5052
 
4310
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5053
  # OK, works on sane cases.  Now check whether nonexistent headers
4311
5054
  # can be detected and how.
4312
5055
  cat >conftest.$ac_ext <<_ACEOF
4313
5056
/* confdefs.h.  */
4317
5060
/* end confdefs.h.  */
4318
5061
#include <ac_nonexistent.h>
4319
5062
_ACEOF
4320
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4321
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5063
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5064
case "(($ac_try" in
 
5065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5066
  *) ac_try_echo=$ac_try;;
 
5067
esac
 
5068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5069
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4322
5070
  ac_status=$?
4323
5071
  grep -v '^ *+' conftest.er1 >conftest.err
4324
5072
  rm -f conftest.er1
4325
5073
  cat conftest.err >&5
4326
5074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327
 
  (exit $ac_status); } >/dev/null; then
4328
 
  if test -s conftest.err; then
4329
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4330
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4331
 
  else
4332
 
    ac_cpp_err=
4333
 
  fi
4334
 
else
4335
 
  ac_cpp_err=yes
4336
 
fi
4337
 
if test -z "$ac_cpp_err"; then
 
5075
  (exit $ac_status); } >/dev/null && {
 
5076
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5077
         test ! -s conftest.err
 
5078
       }; then
4338
5079
  # Broken: success on invalid input.
4339
5080
continue
4340
5081
else
4345
5086
ac_preproc_ok=:
4346
5087
break
4347
5088
fi
 
5089
 
4348
5090
rm -f conftest.err conftest.$ac_ext
4349
5091
 
4350
5092
done
4362
5104
else
4363
5105
  ac_cv_prog_CPP=$CPP
4364
5106
fi
4365
 
echo "$as_me:$LINENO: result: $CPP" >&5
4366
 
echo "${ECHO_T}$CPP" >&6
 
5107
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
5108
echo "${ECHO_T}$CPP" >&6; }
4367
5109
ac_preproc_ok=false
4368
5110
for ac_c_preproc_warn_flag in '' yes
4369
5111
do
4386
5128
#endif
4387
5129
                     Syntax error
4388
5130
_ACEOF
4389
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4390
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5131
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5132
case "(($ac_try" in
 
5133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5134
  *) ac_try_echo=$ac_try;;
 
5135
esac
 
5136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5137
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4391
5138
  ac_status=$?
4392
5139
  grep -v '^ *+' conftest.er1 >conftest.err
4393
5140
  rm -f conftest.er1
4394
5141
  cat conftest.err >&5
4395
5142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396
 
  (exit $ac_status); } >/dev/null; then
4397
 
  if test -s conftest.err; then
4398
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4399
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4400
 
  else
4401
 
    ac_cpp_err=
4402
 
  fi
4403
 
else
4404
 
  ac_cpp_err=yes
4405
 
fi
4406
 
if test -z "$ac_cpp_err"; then
 
5143
  (exit $ac_status); } >/dev/null && {
 
5144
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5145
         test ! -s conftest.err
 
5146
       }; then
4407
5147
  :
4408
5148
else
4409
5149
  echo "$as_me: failed program was:" >&5
4412
5152
  # Broken: fails on valid input.
4413
5153
continue
4414
5154
fi
 
5155
 
4415
5156
rm -f conftest.err conftest.$ac_ext
4416
5157
 
4417
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5158
  # OK, works on sane cases.  Now check whether nonexistent headers
4418
5159
  # can be detected and how.
4419
5160
  cat >conftest.$ac_ext <<_ACEOF
4420
5161
/* confdefs.h.  */
4424
5165
/* end confdefs.h.  */
4425
5166
#include <ac_nonexistent.h>
4426
5167
_ACEOF
4427
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4428
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5168
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5169
case "(($ac_try" in
 
5170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5171
  *) ac_try_echo=$ac_try;;
 
5172
esac
 
5173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5174
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4429
5175
  ac_status=$?
4430
5176
  grep -v '^ *+' conftest.er1 >conftest.err
4431
5177
  rm -f conftest.er1
4432
5178
  cat conftest.err >&5
4433
5179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434
 
  (exit $ac_status); } >/dev/null; then
4435
 
  if test -s conftest.err; then
4436
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4437
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4438
 
  else
4439
 
    ac_cpp_err=
4440
 
  fi
4441
 
else
4442
 
  ac_cpp_err=yes
4443
 
fi
4444
 
if test -z "$ac_cpp_err"; then
 
5180
  (exit $ac_status); } >/dev/null && {
 
5181
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5182
         test ! -s conftest.err
 
5183
       }; then
4445
5184
  # Broken: success on invalid input.
4446
5185
continue
4447
5186
else
4452
5191
ac_preproc_ok=:
4453
5192
break
4454
5193
fi
 
5194
 
4455
5195
rm -f conftest.err conftest.$ac_ext
4456
5196
 
4457
5197
done
4474
5214
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4475
5215
 
4476
5216
 
4477
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4478
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5217
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5218
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4479
5219
if test "${ac_cv_header_stdc+set}" = set; then
4480
5220
  echo $ECHO_N "(cached) $ECHO_C" >&6
4481
5221
else
4499
5239
}
4500
5240
_ACEOF
4501
5241
rm -f conftest.$ac_objext
4502
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4503
 
  (eval $ac_compile) 2>conftest.er1
 
5242
if { (ac_try="$ac_compile"
 
5243
case "(($ac_try" in
 
5244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5245
  *) ac_try_echo=$ac_try;;
 
5246
esac
 
5247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5248
  (eval "$ac_compile") 2>conftest.er1
4504
5249
  ac_status=$?
4505
5250
  grep -v '^ *+' conftest.er1 >conftest.err
4506
5251
  rm -f conftest.er1
4507
5252
  cat conftest.err >&5
4508
5253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509
 
  (exit $ac_status); } &&
4510
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4511
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512
 
  (eval $ac_try) 2>&5
4513
 
  ac_status=$?
4514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515
 
  (exit $ac_status); }; } &&
4516
 
         { ac_try='test -s conftest.$ac_objext'
4517
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518
 
  (eval $ac_try) 2>&5
4519
 
  ac_status=$?
4520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521
 
  (exit $ac_status); }; }; then
 
5254
  (exit $ac_status); } && {
 
5255
         test -z "$ac_c_werror_flag" ||
 
5256
         test ! -s conftest.err
 
5257
       } && test -s conftest.$ac_objext; then
4522
5258
  ac_cv_header_stdc=yes
4523
5259
else
4524
5260
  echo "$as_me: failed program was:" >&5
4525
5261
sed 's/^/| /' conftest.$ac_ext >&5
4526
5262
 
4527
 
ac_cv_header_stdc=no
 
5263
        ac_cv_header_stdc=no
4528
5264
fi
4529
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5265
 
 
5266
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4530
5267
 
4531
5268
if test $ac_cv_header_stdc = yes; then
4532
5269
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4582
5319
cat >>conftest.$ac_ext <<_ACEOF
4583
5320
/* end confdefs.h.  */
4584
5321
#include <ctype.h>
 
5322
#include <stdlib.h>
4585
5323
#if ((' ' & 0x0FF) == 0x020)
4586
5324
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4587
5325
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4601
5339
  for (i = 0; i < 256; i++)
4602
5340
    if (XOR (islower (i), ISLOWER (i))
4603
5341
        || toupper (i) != TOUPPER (i))
4604
 
      exit(2);
4605
 
  exit (0);
 
5342
      return 2;
 
5343
  return 0;
4606
5344
}
4607
5345
_ACEOF
4608
5346
rm -f conftest$ac_exeext
4609
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4610
 
  (eval $ac_link) 2>&5
 
5347
if { (ac_try="$ac_link"
 
5348
case "(($ac_try" in
 
5349
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5350
  *) ac_try_echo=$ac_try;;
 
5351
esac
 
5352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5353
  (eval "$ac_link") 2>&5
4611
5354
  ac_status=$?
4612
5355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613
5356
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615
 
  (eval $ac_try) 2>&5
 
5357
  { (case "(($ac_try" in
 
5358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5359
  *) ac_try_echo=$ac_try;;
 
5360
esac
 
5361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5362
  (eval "$ac_try") 2>&5
4616
5363
  ac_status=$?
4617
5364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618
5365
  (exit $ac_status); }; }; then
4625
5372
( exit $ac_status )
4626
5373
ac_cv_header_stdc=no
4627
5374
fi
4628
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4629
 
fi
4630
 
fi
4631
 
fi
4632
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4633
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5375
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5376
fi
 
5377
 
 
5378
 
 
5379
fi
 
5380
fi
 
5381
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5382
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4634
5383
if test $ac_cv_header_stdc = yes; then
4635
5384
 
4636
5385
cat >>confdefs.h <<\_ACEOF
4653
5402
                  inttypes.h stdint.h unistd.h
4654
5403
do
4655
5404
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4656
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4657
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4658
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5405
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5406
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5407
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4659
5408
  echo $ECHO_N "(cached) $ECHO_C" >&6
4660
5409
else
4661
5410
  cat >conftest.$ac_ext <<_ACEOF
4669
5418
#include <$ac_header>
4670
5419
_ACEOF
4671
5420
rm -f conftest.$ac_objext
4672
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4673
 
  (eval $ac_compile) 2>conftest.er1
 
5421
if { (ac_try="$ac_compile"
 
5422
case "(($ac_try" in
 
5423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5424
  *) ac_try_echo=$ac_try;;
 
5425
esac
 
5426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5427
  (eval "$ac_compile") 2>conftest.er1
4674
5428
  ac_status=$?
4675
5429
  grep -v '^ *+' conftest.er1 >conftest.err
4676
5430
  rm -f conftest.er1
4677
5431
  cat conftest.err >&5
4678
5432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
 
  (exit $ac_status); } &&
4680
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682
 
  (eval $ac_try) 2>&5
4683
 
  ac_status=$?
4684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685
 
  (exit $ac_status); }; } &&
4686
 
         { ac_try='test -s conftest.$ac_objext'
4687
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688
 
  (eval $ac_try) 2>&5
4689
 
  ac_status=$?
4690
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691
 
  (exit $ac_status); }; }; then
 
5433
  (exit $ac_status); } && {
 
5434
         test -z "$ac_c_werror_flag" ||
 
5435
         test ! -s conftest.err
 
5436
       } && test -s conftest.$ac_objext; then
4692
5437
  eval "$as_ac_Header=yes"
4693
5438
else
4694
5439
  echo "$as_me: failed program was:" >&5
4695
5440
sed 's/^/| /' conftest.$ac_ext >&5
4696
5441
 
4697
 
eval "$as_ac_Header=no"
4698
 
fi
4699
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4700
 
fi
4701
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4702
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5442
        eval "$as_ac_Header=no"
 
5443
fi
 
5444
 
 
5445
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5446
fi
 
5447
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5448
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5449
echo "${ECHO_T}$ac_res" >&6; }
4703
5450
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4704
5451
  cat >>confdefs.h <<_ACEOF
4705
5452
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4714
5461
for ac_header in dlfcn.h
4715
5462
do
4716
5463
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4717
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4718
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4719
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4720
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5464
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5465
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5466
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5467
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4721
5468
  echo $ECHO_N "(cached) $ECHO_C" >&6
4722
5469
fi
4723
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4724
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5470
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5471
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5472
echo "${ECHO_T}$ac_res" >&6; }
4725
5473
else
4726
5474
  # Is the header compilable?
4727
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4728
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5475
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5476
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4729
5477
cat >conftest.$ac_ext <<_ACEOF
4730
5478
/* confdefs.h.  */
4731
5479
_ACEOF
4736
5484
#include <$ac_header>
4737
5485
_ACEOF
4738
5486
rm -f conftest.$ac_objext
4739
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740
 
  (eval $ac_compile) 2>conftest.er1
 
5487
if { (ac_try="$ac_compile"
 
5488
case "(($ac_try" in
 
5489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5490
  *) ac_try_echo=$ac_try;;
 
5491
esac
 
5492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5493
  (eval "$ac_compile") 2>conftest.er1
4741
5494
  ac_status=$?
4742
5495
  grep -v '^ *+' conftest.er1 >conftest.err
4743
5496
  rm -f conftest.er1
4744
5497
  cat conftest.err >&5
4745
5498
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746
 
  (exit $ac_status); } &&
4747
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749
 
  (eval $ac_try) 2>&5
4750
 
  ac_status=$?
4751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752
 
  (exit $ac_status); }; } &&
4753
 
         { ac_try='test -s conftest.$ac_objext'
4754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755
 
  (eval $ac_try) 2>&5
4756
 
  ac_status=$?
4757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
 
  (exit $ac_status); }; }; then
 
5499
  (exit $ac_status); } && {
 
5500
         test -z "$ac_c_werror_flag" ||
 
5501
         test ! -s conftest.err
 
5502
       } && test -s conftest.$ac_objext; then
4759
5503
  ac_header_compiler=yes
4760
5504
else
4761
5505
  echo "$as_me: failed program was:" >&5
4762
5506
sed 's/^/| /' conftest.$ac_ext >&5
4763
5507
 
4764
 
ac_header_compiler=no
 
5508
        ac_header_compiler=no
4765
5509
fi
4766
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4767
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4768
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5510
 
 
5511
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5512
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5513
echo "${ECHO_T}$ac_header_compiler" >&6; }
4769
5514
 
4770
5515
# Is the header present?
4771
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4772
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5516
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5517
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4773
5518
cat >conftest.$ac_ext <<_ACEOF
4774
5519
/* confdefs.h.  */
4775
5520
_ACEOF
4778
5523
/* end confdefs.h.  */
4779
5524
#include <$ac_header>
4780
5525
_ACEOF
4781
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4782
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5526
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5527
case "(($ac_try" in
 
5528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5529
  *) ac_try_echo=$ac_try;;
 
5530
esac
 
5531
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5532
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4783
5533
  ac_status=$?
4784
5534
  grep -v '^ *+' conftest.er1 >conftest.err
4785
5535
  rm -f conftest.er1
4786
5536
  cat conftest.err >&5
4787
5537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788
 
  (exit $ac_status); } >/dev/null; then
4789
 
  if test -s conftest.err; then
4790
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4791
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4792
 
  else
4793
 
    ac_cpp_err=
4794
 
  fi
4795
 
else
4796
 
  ac_cpp_err=yes
4797
 
fi
4798
 
if test -z "$ac_cpp_err"; then
 
5538
  (exit $ac_status); } >/dev/null && {
 
5539
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5540
         test ! -s conftest.err
 
5541
       }; then
4799
5542
  ac_header_preproc=yes
4800
5543
else
4801
5544
  echo "$as_me: failed program was:" >&5
4803
5546
 
4804
5547
  ac_header_preproc=no
4805
5548
fi
 
5549
 
4806
5550
rm -f conftest.err conftest.$ac_ext
4807
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4808
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5551
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5552
echo "${ECHO_T}$ac_header_preproc" >&6; }
4809
5553
 
4810
5554
# So?  What about this header?
4811
5555
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4829
5573
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4830
5574
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4831
5575
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4832
 
    (
4833
 
      cat <<\_ASBOX
 
5576
    ( cat <<\_ASBOX
4834
5577
## ---------------------------------- ##
4835
5578
## Report this to bug-gpgme@gnupg.org ##
4836
5579
## ---------------------------------- ##
4837
5580
_ASBOX
4838
 
    ) |
4839
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5581
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4840
5582
    ;;
4841
5583
esac
4842
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4843
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4844
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5584
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5585
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5586
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4845
5587
  echo $ECHO_N "(cached) $ECHO_C" >&6
4846
5588
else
4847
5589
  eval "$as_ac_Header=\$ac_header_preproc"
4848
5590
fi
4849
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4850
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5591
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5592
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5593
echo "${ECHO_T}$ac_res" >&6; }
4851
5594
 
4852
5595
fi
4853
5596
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4859
5602
 
4860
5603
done
4861
5604
 
4862
 
ac_ext=cc
 
5605
ac_ext=cpp
4863
5606
ac_cpp='$CXXCPP $CPPFLAGS'
4864
5607
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4865
5608
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4866
5609
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4867
 
if test -n "$ac_tool_prefix"; then
4868
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5610
if test -z "$CXX"; then
 
5611
  if test -n "$CCC"; then
 
5612
    CXX=$CCC
 
5613
  else
 
5614
    if test -n "$ac_tool_prefix"; then
 
5615
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4869
5616
  do
4870
5617
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4871
5618
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4872
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4873
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5619
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5620
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4874
5621
if test "${ac_cv_prog_CXX+set}" = set; then
4875
5622
  echo $ECHO_N "(cached) $ECHO_C" >&6
4876
5623
else
4883
5630
  IFS=$as_save_IFS
4884
5631
  test -z "$as_dir" && as_dir=.
4885
5632
  for ac_exec_ext in '' $ac_executable_extensions; do
4886
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5633
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887
5634
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4888
5635
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4889
5636
    break 2
4890
5637
  fi
4891
5638
done
4892
5639
done
 
5640
IFS=$as_save_IFS
4893
5641
 
4894
5642
fi
4895
5643
fi
4896
5644
CXX=$ac_cv_prog_CXX
4897
5645
if test -n "$CXX"; then
4898
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4899
 
echo "${ECHO_T}$CXX" >&6
 
5646
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5647
echo "${ECHO_T}$CXX" >&6; }
4900
5648
else
4901
 
  echo "$as_me:$LINENO: result: no" >&5
4902
 
echo "${ECHO_T}no" >&6
 
5649
  { echo "$as_me:$LINENO: result: no" >&5
 
5650
echo "${ECHO_T}no" >&6; }
4903
5651
fi
4904
5652
 
 
5653
 
4905
5654
    test -n "$CXX" && break
4906
5655
  done
4907
5656
fi
4908
5657
if test -z "$CXX"; then
4909
5658
  ac_ct_CXX=$CXX
4910
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5659
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4911
5660
do
4912
5661
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4913
5662
set dummy $ac_prog; ac_word=$2
4914
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4915
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5663
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5664
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4916
5665
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4917
5666
  echo $ECHO_N "(cached) $ECHO_C" >&6
4918
5667
else
4925
5674
  IFS=$as_save_IFS
4926
5675
  test -z "$as_dir" && as_dir=.
4927
5676
  for ac_exec_ext in '' $ac_executable_extensions; do
4928
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5677
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929
5678
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4930
5679
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4931
5680
    break 2
4932
5681
  fi
4933
5682
done
4934
5683
done
 
5684
IFS=$as_save_IFS
4935
5685
 
4936
5686
fi
4937
5687
fi
4938
5688
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4939
5689
if test -n "$ac_ct_CXX"; then
4940
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4941
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5690
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5691
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4942
5692
else
4943
 
  echo "$as_me:$LINENO: result: no" >&5
4944
 
echo "${ECHO_T}no" >&6
 
5693
  { echo "$as_me:$LINENO: result: no" >&5
 
5694
echo "${ECHO_T}no" >&6; }
4945
5695
fi
4946
5696
 
 
5697
 
4947
5698
  test -n "$ac_ct_CXX" && break
4948
5699
done
4949
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4950
 
 
4951
 
  CXX=$ac_ct_CXX
4952
 
fi
4953
 
 
4954
 
 
 
5700
 
 
5701
  if test "x$ac_ct_CXX" = x; then
 
5702
    CXX="g++"
 
5703
  else
 
5704
    case $cross_compiling:$ac_tool_warned in
 
5705
yes:)
 
5706
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5707
whose name does not start with the host triplet.  If you think this
 
5708
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5709
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5710
whose name does not start with the host triplet.  If you think this
 
5711
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5712
ac_tool_warned=yes ;;
 
5713
esac
 
5714
    CXX=$ac_ct_CXX
 
5715
  fi
 
5716
fi
 
5717
 
 
5718
  fi
 
5719
fi
4955
5720
# Provide some information about the compiler.
4956
 
echo "$as_me:$LINENO:" \
4957
 
     "checking for C++ compiler version" >&5
 
5721
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4958
5722
ac_compiler=`set X $ac_compile; echo $2`
4959
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4960
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4961
 
  ac_status=$?
4962
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
 
  (exit $ac_status); }
4964
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4965
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4966
 
  ac_status=$?
4967
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968
 
  (exit $ac_status); }
4969
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4970
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5723
{ (ac_try="$ac_compiler --version >&5"
 
5724
case "(($ac_try" in
 
5725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5726
  *) ac_try_echo=$ac_try;;
 
5727
esac
 
5728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5729
  (eval "$ac_compiler --version >&5") 2>&5
 
5730
  ac_status=$?
 
5731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5732
  (exit $ac_status); }
 
5733
{ (ac_try="$ac_compiler -v >&5"
 
5734
case "(($ac_try" in
 
5735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5736
  *) ac_try_echo=$ac_try;;
 
5737
esac
 
5738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5739
  (eval "$ac_compiler -v >&5") 2>&5
 
5740
  ac_status=$?
 
5741
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5742
  (exit $ac_status); }
 
5743
{ (ac_try="$ac_compiler -V >&5"
 
5744
case "(($ac_try" in
 
5745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5746
  *) ac_try_echo=$ac_try;;
 
5747
esac
 
5748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5749
  (eval "$ac_compiler -V >&5") 2>&5
4971
5750
  ac_status=$?
4972
5751
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973
5752
  (exit $ac_status); }
4974
5753
 
4975
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4976
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5754
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5755
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4977
5756
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4978
5757
  echo $ECHO_N "(cached) $ECHO_C" >&6
4979
5758
else
4996
5775
}
4997
5776
_ACEOF
4998
5777
rm -f conftest.$ac_objext
4999
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5000
 
  (eval $ac_compile) 2>conftest.er1
 
5778
if { (ac_try="$ac_compile"
 
5779
case "(($ac_try" in
 
5780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5781
  *) ac_try_echo=$ac_try;;
 
5782
esac
 
5783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5784
  (eval "$ac_compile") 2>conftest.er1
5001
5785
  ac_status=$?
5002
5786
  grep -v '^ *+' conftest.er1 >conftest.err
5003
5787
  rm -f conftest.er1
5004
5788
  cat conftest.err >&5
5005
5789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006
 
  (exit $ac_status); } &&
5007
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009
 
  (eval $ac_try) 2>&5
5010
 
  ac_status=$?
5011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012
 
  (exit $ac_status); }; } &&
5013
 
         { ac_try='test -s conftest.$ac_objext'
5014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015
 
  (eval $ac_try) 2>&5
5016
 
  ac_status=$?
5017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018
 
  (exit $ac_status); }; }; then
 
5790
  (exit $ac_status); } && {
 
5791
         test -z "$ac_cxx_werror_flag" ||
 
5792
         test ! -s conftest.err
 
5793
       } && test -s conftest.$ac_objext; then
5019
5794
  ac_compiler_gnu=yes
5020
5795
else
5021
5796
  echo "$as_me: failed program was:" >&5
5022
5797
sed 's/^/| /' conftest.$ac_ext >&5
5023
5798
 
5024
 
ac_compiler_gnu=no
 
5799
        ac_compiler_gnu=no
5025
5800
fi
5026
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5801
 
 
5802
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027
5803
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5028
5804
 
5029
5805
fi
5030
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5031
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5806
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5807
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5032
5808
GXX=`test $ac_compiler_gnu = yes && echo yes`
5033
5809
ac_test_CXXFLAGS=${CXXFLAGS+set}
5034
5810
ac_save_CXXFLAGS=$CXXFLAGS
5035
 
CXXFLAGS="-g"
5036
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5037
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5811
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5812
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5038
5813
if test "${ac_cv_prog_cxx_g+set}" = set; then
5039
5814
  echo $ECHO_N "(cached) $ECHO_C" >&6
5040
5815
else
5041
 
  cat >conftest.$ac_ext <<_ACEOF
5042
 
/* confdefs.h.  */
5043
 
_ACEOF
5044
 
cat confdefs.h >>conftest.$ac_ext
5045
 
cat >>conftest.$ac_ext <<_ACEOF
5046
 
/* end confdefs.h.  */
5047
 
 
5048
 
int
5049
 
main ()
5050
 
{
5051
 
 
5052
 
  ;
5053
 
  return 0;
5054
 
}
5055
 
_ACEOF
5056
 
rm -f conftest.$ac_objext
5057
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058
 
  (eval $ac_compile) 2>conftest.er1
5059
 
  ac_status=$?
5060
 
  grep -v '^ *+' conftest.er1 >conftest.err
5061
 
  rm -f conftest.er1
5062
 
  cat conftest.err >&5
5063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064
 
  (exit $ac_status); } &&
5065
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067
 
  (eval $ac_try) 2>&5
5068
 
  ac_status=$?
5069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
 
  (exit $ac_status); }; } &&
5071
 
         { ac_try='test -s conftest.$ac_objext'
5072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073
 
  (eval $ac_try) 2>&5
5074
 
  ac_status=$?
5075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076
 
  (exit $ac_status); }; }; then
5077
 
  ac_cv_prog_cxx_g=yes
5078
 
else
5079
 
  echo "$as_me: failed program was:" >&5
5080
 
sed 's/^/| /' conftest.$ac_ext >&5
5081
 
 
5082
 
ac_cv_prog_cxx_g=no
5083
 
fi
5084
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5085
 
fi
5086
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5087
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5816
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5817
   ac_cxx_werror_flag=yes
 
5818
   ac_cv_prog_cxx_g=no
 
5819
   CXXFLAGS="-g"
 
5820
   cat >conftest.$ac_ext <<_ACEOF
 
5821
/* confdefs.h.  */
 
5822
_ACEOF
 
5823
cat confdefs.h >>conftest.$ac_ext
 
5824
cat >>conftest.$ac_ext <<_ACEOF
 
5825
/* end confdefs.h.  */
 
5826
 
 
5827
int
 
5828
main ()
 
5829
{
 
5830
 
 
5831
  ;
 
5832
  return 0;
 
5833
}
 
5834
_ACEOF
 
5835
rm -f conftest.$ac_objext
 
5836
if { (ac_try="$ac_compile"
 
5837
case "(($ac_try" in
 
5838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5839
  *) ac_try_echo=$ac_try;;
 
5840
esac
 
5841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5842
  (eval "$ac_compile") 2>conftest.er1
 
5843
  ac_status=$?
 
5844
  grep -v '^ *+' conftest.er1 >conftest.err
 
5845
  rm -f conftest.er1
 
5846
  cat conftest.err >&5
 
5847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5848
  (exit $ac_status); } && {
 
5849
         test -z "$ac_cxx_werror_flag" ||
 
5850
         test ! -s conftest.err
 
5851
       } && test -s conftest.$ac_objext; then
 
5852
  ac_cv_prog_cxx_g=yes
 
5853
else
 
5854
  echo "$as_me: failed program was:" >&5
 
5855
sed 's/^/| /' conftest.$ac_ext >&5
 
5856
 
 
5857
        CXXFLAGS=""
 
5858
      cat >conftest.$ac_ext <<_ACEOF
 
5859
/* confdefs.h.  */
 
5860
_ACEOF
 
5861
cat confdefs.h >>conftest.$ac_ext
 
5862
cat >>conftest.$ac_ext <<_ACEOF
 
5863
/* end confdefs.h.  */
 
5864
 
 
5865
int
 
5866
main ()
 
5867
{
 
5868
 
 
5869
  ;
 
5870
  return 0;
 
5871
}
 
5872
_ACEOF
 
5873
rm -f conftest.$ac_objext
 
5874
if { (ac_try="$ac_compile"
 
5875
case "(($ac_try" in
 
5876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5877
  *) ac_try_echo=$ac_try;;
 
5878
esac
 
5879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5880
  (eval "$ac_compile") 2>conftest.er1
 
5881
  ac_status=$?
 
5882
  grep -v '^ *+' conftest.er1 >conftest.err
 
5883
  rm -f conftest.er1
 
5884
  cat conftest.err >&5
 
5885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5886
  (exit $ac_status); } && {
 
5887
         test -z "$ac_cxx_werror_flag" ||
 
5888
         test ! -s conftest.err
 
5889
       } && test -s conftest.$ac_objext; then
 
5890
  :
 
5891
else
 
5892
  echo "$as_me: failed program was:" >&5
 
5893
sed 's/^/| /' conftest.$ac_ext >&5
 
5894
 
 
5895
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5896
         CXXFLAGS="-g"
 
5897
         cat >conftest.$ac_ext <<_ACEOF
 
5898
/* confdefs.h.  */
 
5899
_ACEOF
 
5900
cat confdefs.h >>conftest.$ac_ext
 
5901
cat >>conftest.$ac_ext <<_ACEOF
 
5902
/* end confdefs.h.  */
 
5903
 
 
5904
int
 
5905
main ()
 
5906
{
 
5907
 
 
5908
  ;
 
5909
  return 0;
 
5910
}
 
5911
_ACEOF
 
5912
rm -f conftest.$ac_objext
 
5913
if { (ac_try="$ac_compile"
 
5914
case "(($ac_try" in
 
5915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5916
  *) ac_try_echo=$ac_try;;
 
5917
esac
 
5918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5919
  (eval "$ac_compile") 2>conftest.er1
 
5920
  ac_status=$?
 
5921
  grep -v '^ *+' conftest.er1 >conftest.err
 
5922
  rm -f conftest.er1
 
5923
  cat conftest.err >&5
 
5924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5925
  (exit $ac_status); } && {
 
5926
         test -z "$ac_cxx_werror_flag" ||
 
5927
         test ! -s conftest.err
 
5928
       } && test -s conftest.$ac_objext; then
 
5929
  ac_cv_prog_cxx_g=yes
 
5930
else
 
5931
  echo "$as_me: failed program was:" >&5
 
5932
sed 's/^/| /' conftest.$ac_ext >&5
 
5933
 
 
5934
 
 
5935
fi
 
5936
 
 
5937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5938
fi
 
5939
 
 
5940
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5941
fi
 
5942
 
 
5943
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5944
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5945
fi
 
5946
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5947
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5088
5948
if test "$ac_test_CXXFLAGS" = set; then
5089
5949
  CXXFLAGS=$ac_save_CXXFLAGS
5090
5950
elif test $ac_cv_prog_cxx_g = yes; then
5100
5960
    CXXFLAGS=
5101
5961
  fi
5102
5962
fi
5103
 
for ac_declaration in \
5104
 
   '' \
5105
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5106
 
   'extern "C" void std::exit (int); using std::exit;' \
5107
 
   'extern "C" void exit (int) throw ();' \
5108
 
   'extern "C" void exit (int);' \
5109
 
   'void exit (int);'
5110
 
do
5111
 
  cat >conftest.$ac_ext <<_ACEOF
5112
 
/* confdefs.h.  */
5113
 
_ACEOF
5114
 
cat confdefs.h >>conftest.$ac_ext
5115
 
cat >>conftest.$ac_ext <<_ACEOF
5116
 
/* end confdefs.h.  */
5117
 
$ac_declaration
5118
 
#include <stdlib.h>
5119
 
int
5120
 
main ()
5121
 
{
5122
 
exit (42);
5123
 
  ;
5124
 
  return 0;
5125
 
}
5126
 
_ACEOF
5127
 
rm -f conftest.$ac_objext
5128
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5129
 
  (eval $ac_compile) 2>conftest.er1
5130
 
  ac_status=$?
5131
 
  grep -v '^ *+' conftest.er1 >conftest.err
5132
 
  rm -f conftest.er1
5133
 
  cat conftest.err >&5
5134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135
 
  (exit $ac_status); } &&
5136
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5137
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5138
 
  (eval $ac_try) 2>&5
5139
 
  ac_status=$?
5140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141
 
  (exit $ac_status); }; } &&
5142
 
         { ac_try='test -s conftest.$ac_objext'
5143
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144
 
  (eval $ac_try) 2>&5
5145
 
  ac_status=$?
5146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147
 
  (exit $ac_status); }; }; then
5148
 
  :
5149
 
else
5150
 
  echo "$as_me: failed program was:" >&5
5151
 
sed 's/^/| /' conftest.$ac_ext >&5
5152
 
 
5153
 
continue
5154
 
fi
5155
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5156
 
  cat >conftest.$ac_ext <<_ACEOF
5157
 
/* confdefs.h.  */
5158
 
_ACEOF
5159
 
cat confdefs.h >>conftest.$ac_ext
5160
 
cat >>conftest.$ac_ext <<_ACEOF
5161
 
/* end confdefs.h.  */
5162
 
$ac_declaration
5163
 
int
5164
 
main ()
5165
 
{
5166
 
exit (42);
5167
 
  ;
5168
 
  return 0;
5169
 
}
5170
 
_ACEOF
5171
 
rm -f conftest.$ac_objext
5172
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5173
 
  (eval $ac_compile) 2>conftest.er1
5174
 
  ac_status=$?
5175
 
  grep -v '^ *+' conftest.er1 >conftest.err
5176
 
  rm -f conftest.er1
5177
 
  cat conftest.err >&5
5178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179
 
  (exit $ac_status); } &&
5180
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5181
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182
 
  (eval $ac_try) 2>&5
5183
 
  ac_status=$?
5184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185
 
  (exit $ac_status); }; } &&
5186
 
         { ac_try='test -s conftest.$ac_objext'
5187
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188
 
  (eval $ac_try) 2>&5
5189
 
  ac_status=$?
5190
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191
 
  (exit $ac_status); }; }; then
5192
 
  break
5193
 
else
5194
 
  echo "$as_me: failed program was:" >&5
5195
 
sed 's/^/| /' conftest.$ac_ext >&5
5196
 
 
5197
 
fi
5198
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5199
 
done
5200
 
rm -f conftest*
5201
 
if test -n "$ac_declaration"; then
5202
 
  echo '#ifdef __cplusplus' >>confdefs.h
5203
 
  echo $ac_declaration      >>confdefs.h
5204
 
  echo '#endif'             >>confdefs.h
5205
 
fi
5206
 
 
5207
 
ac_ext=cc
 
5963
ac_ext=cpp
5208
5964
ac_cpp='$CXXCPP $CPPFLAGS'
5209
5965
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5210
5966
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212
5968
 
5213
5969
depcc="$CXX"  am_compiler_list=
5214
5970
 
5215
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5216
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5971
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5972
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5217
5973
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5218
5974
  echo $ECHO_N "(cached) $ECHO_C" >&6
5219
5975
else
5277
6033
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5278
6034
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5279
6035
         >/dev/null 2>conftest.err &&
 
6036
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5280
6037
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5281
6038
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5282
6039
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5302
6059
fi
5303
6060
 
5304
6061
fi
5305
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5306
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
6062
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6063
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5307
6064
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5308
6065
 
5309
 
 
5310
 
 
5311
 
if
 
6066
 if
5312
6067
  test "x$enable_dependency_tracking" != xno \
5313
6068
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5314
6069
  am__fastdepCXX_TRUE=
5319
6074
fi
5320
6075
 
5321
6076
 
5322
 
ac_ext=cc
 
6077
ac_ext=cpp
5323
6078
ac_cpp='$CXXCPP $CPPFLAGS'
5324
6079
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5325
6080
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5326
6081
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5327
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5328
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
6082
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
6083
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5329
6084
if test -z "$CXXCPP"; then
5330
6085
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5331
6086
  echo $ECHO_N "(cached) $ECHO_C" >&6
5355
6110
#endif
5356
6111
                     Syntax error
5357
6112
_ACEOF
5358
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5359
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6113
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6114
case "(($ac_try" in
 
6115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6116
  *) ac_try_echo=$ac_try;;
 
6117
esac
 
6118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6119
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5360
6120
  ac_status=$?
5361
6121
  grep -v '^ *+' conftest.er1 >conftest.err
5362
6122
  rm -f conftest.er1
5363
6123
  cat conftest.err >&5
5364
6124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
 
  (exit $ac_status); } >/dev/null; then
5366
 
  if test -s conftest.err; then
5367
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5368
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5369
 
  else
5370
 
    ac_cpp_err=
5371
 
  fi
5372
 
else
5373
 
  ac_cpp_err=yes
5374
 
fi
5375
 
if test -z "$ac_cpp_err"; then
 
6125
  (exit $ac_status); } >/dev/null && {
 
6126
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6127
         test ! -s conftest.err
 
6128
       }; then
5376
6129
  :
5377
6130
else
5378
6131
  echo "$as_me: failed program was:" >&5
5381
6134
  # Broken: fails on valid input.
5382
6135
continue
5383
6136
fi
 
6137
 
5384
6138
rm -f conftest.err conftest.$ac_ext
5385
6139
 
5386
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6140
  # OK, works on sane cases.  Now check whether nonexistent headers
5387
6141
  # can be detected and how.
5388
6142
  cat >conftest.$ac_ext <<_ACEOF
5389
6143
/* confdefs.h.  */
5393
6147
/* end confdefs.h.  */
5394
6148
#include <ac_nonexistent.h>
5395
6149
_ACEOF
5396
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5397
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6150
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6151
case "(($ac_try" in
 
6152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6153
  *) ac_try_echo=$ac_try;;
 
6154
esac
 
6155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6156
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5398
6157
  ac_status=$?
5399
6158
  grep -v '^ *+' conftest.er1 >conftest.err
5400
6159
  rm -f conftest.er1
5401
6160
  cat conftest.err >&5
5402
6161
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403
 
  (exit $ac_status); } >/dev/null; then
5404
 
  if test -s conftest.err; then
5405
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5406
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5407
 
  else
5408
 
    ac_cpp_err=
5409
 
  fi
5410
 
else
5411
 
  ac_cpp_err=yes
5412
 
fi
5413
 
if test -z "$ac_cpp_err"; then
 
6162
  (exit $ac_status); } >/dev/null && {
 
6163
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6164
         test ! -s conftest.err
 
6165
       }; then
5414
6166
  # Broken: success on invalid input.
5415
6167
continue
5416
6168
else
5421
6173
ac_preproc_ok=:
5422
6174
break
5423
6175
fi
 
6176
 
5424
6177
rm -f conftest.err conftest.$ac_ext
5425
6178
 
5426
6179
done
5438
6191
else
5439
6192
  ac_cv_prog_CXXCPP=$CXXCPP
5440
6193
fi
5441
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5442
 
echo "${ECHO_T}$CXXCPP" >&6
 
6194
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
6195
echo "${ECHO_T}$CXXCPP" >&6; }
5443
6196
ac_preproc_ok=false
5444
6197
for ac_cxx_preproc_warn_flag in '' yes
5445
6198
do
5462
6215
#endif
5463
6216
                     Syntax error
5464
6217
_ACEOF
5465
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5466
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6218
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6219
case "(($ac_try" in
 
6220
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6221
  *) ac_try_echo=$ac_try;;
 
6222
esac
 
6223
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6224
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5467
6225
  ac_status=$?
5468
6226
  grep -v '^ *+' conftest.er1 >conftest.err
5469
6227
  rm -f conftest.er1
5470
6228
  cat conftest.err >&5
5471
6229
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472
 
  (exit $ac_status); } >/dev/null; then
5473
 
  if test -s conftest.err; then
5474
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5475
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5476
 
  else
5477
 
    ac_cpp_err=
5478
 
  fi
5479
 
else
5480
 
  ac_cpp_err=yes
5481
 
fi
5482
 
if test -z "$ac_cpp_err"; then
 
6230
  (exit $ac_status); } >/dev/null && {
 
6231
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6232
         test ! -s conftest.err
 
6233
       }; then
5483
6234
  :
5484
6235
else
5485
6236
  echo "$as_me: failed program was:" >&5
5488
6239
  # Broken: fails on valid input.
5489
6240
continue
5490
6241
fi
 
6242
 
5491
6243
rm -f conftest.err conftest.$ac_ext
5492
6244
 
5493
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6245
  # OK, works on sane cases.  Now check whether nonexistent headers
5494
6246
  # can be detected and how.
5495
6247
  cat >conftest.$ac_ext <<_ACEOF
5496
6248
/* confdefs.h.  */
5500
6252
/* end confdefs.h.  */
5501
6253
#include <ac_nonexistent.h>
5502
6254
_ACEOF
5503
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5504
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6255
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6256
case "(($ac_try" in
 
6257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6258
  *) ac_try_echo=$ac_try;;
 
6259
esac
 
6260
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6261
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5505
6262
  ac_status=$?
5506
6263
  grep -v '^ *+' conftest.er1 >conftest.err
5507
6264
  rm -f conftest.er1
5508
6265
  cat conftest.err >&5
5509
6266
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510
 
  (exit $ac_status); } >/dev/null; then
5511
 
  if test -s conftest.err; then
5512
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5513
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5514
 
  else
5515
 
    ac_cpp_err=
5516
 
  fi
5517
 
else
5518
 
  ac_cpp_err=yes
5519
 
fi
5520
 
if test -z "$ac_cpp_err"; then
 
6267
  (exit $ac_status); } >/dev/null && {
 
6268
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6269
         test ! -s conftest.err
 
6270
       }; then
5521
6271
  # Broken: success on invalid input.
5522
6272
continue
5523
6273
else
5528
6278
ac_preproc_ok=:
5529
6279
break
5530
6280
fi
 
6281
 
5531
6282
rm -f conftest.err conftest.$ac_ext
5532
6283
 
5533
6284
done
5543
6294
   { (exit 1); exit 1; }; }
5544
6295
fi
5545
6296
 
5546
 
ac_ext=cc
 
6297
ac_ext=cpp
5547
6298
ac_cpp='$CXXCPP $CPPFLAGS'
5548
6299
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5549
6300
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5555
6306
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556
6307
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5557
6308
if test -n "$ac_tool_prefix"; then
5558
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6309
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5559
6310
  do
5560
6311
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5561
6312
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5562
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5563
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6313
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6314
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5564
6315
if test "${ac_cv_prog_F77+set}" = set; then
5565
6316
  echo $ECHO_N "(cached) $ECHO_C" >&6
5566
6317
else
5573
6324
  IFS=$as_save_IFS
5574
6325
  test -z "$as_dir" && as_dir=.
5575
6326
  for ac_exec_ext in '' $ac_executable_extensions; do
5576
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577
6328
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5578
6329
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579
6330
    break 2
5580
6331
  fi
5581
6332
done
5582
6333
done
 
6334
IFS=$as_save_IFS
5583
6335
 
5584
6336
fi
5585
6337
fi
5586
6338
F77=$ac_cv_prog_F77
5587
6339
if test -n "$F77"; then
5588
 
  echo "$as_me:$LINENO: result: $F77" >&5
5589
 
echo "${ECHO_T}$F77" >&6
 
6340
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6341
echo "${ECHO_T}$F77" >&6; }
5590
6342
else
5591
 
  echo "$as_me:$LINENO: result: no" >&5
5592
 
echo "${ECHO_T}no" >&6
 
6343
  { echo "$as_me:$LINENO: result: no" >&5
 
6344
echo "${ECHO_T}no" >&6; }
5593
6345
fi
5594
6346
 
 
6347
 
5595
6348
    test -n "$F77" && break
5596
6349
  done
5597
6350
fi
5598
6351
if test -z "$F77"; then
5599
6352
  ac_ct_F77=$F77
5600
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6353
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5601
6354
do
5602
6355
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5603
6356
set dummy $ac_prog; ac_word=$2
5604
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5605
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6357
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5606
6359
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5607
6360
  echo $ECHO_N "(cached) $ECHO_C" >&6
5608
6361
else
5615
6368
  IFS=$as_save_IFS
5616
6369
  test -z "$as_dir" && as_dir=.
5617
6370
  for ac_exec_ext in '' $ac_executable_extensions; do
5618
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619
6372
    ac_cv_prog_ac_ct_F77="$ac_prog"
5620
6373
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621
6374
    break 2
5622
6375
  fi
5623
6376
done
5624
6377
done
 
6378
IFS=$as_save_IFS
5625
6379
 
5626
6380
fi
5627
6381
fi
5628
6382
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5629
6383
if test -n "$ac_ct_F77"; then
5630
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5631
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6384
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6385
echo "${ECHO_T}$ac_ct_F77" >&6; }
5632
6386
else
5633
 
  echo "$as_me:$LINENO: result: no" >&5
5634
 
echo "${ECHO_T}no" >&6
 
6387
  { echo "$as_me:$LINENO: result: no" >&5
 
6388
echo "${ECHO_T}no" >&6; }
5635
6389
fi
5636
6390
 
 
6391
 
5637
6392
  test -n "$ac_ct_F77" && break
5638
6393
done
5639
6394
 
5640
 
  F77=$ac_ct_F77
 
6395
  if test "x$ac_ct_F77" = x; then
 
6396
    F77=""
 
6397
  else
 
6398
    case $cross_compiling:$ac_tool_warned in
 
6399
yes:)
 
6400
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6401
whose name does not start with the host triplet.  If you think this
 
6402
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6403
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6404
whose name does not start with the host triplet.  If you think this
 
6405
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6406
ac_tool_warned=yes ;;
 
6407
esac
 
6408
    F77=$ac_ct_F77
 
6409
  fi
5641
6410
fi
5642
6411
 
5643
6412
 
5644
6413
# Provide some information about the compiler.
5645
 
echo "$as_me:5645:" \
5646
 
     "checking for Fortran 77 compiler version" >&5
 
6414
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5647
6415
ac_compiler=`set X $ac_compile; echo $2`
5648
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5649
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5650
 
  ac_status=$?
5651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652
 
  (exit $ac_status); }
5653
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5654
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5655
 
  ac_status=$?
5656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657
 
  (exit $ac_status); }
5658
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5659
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6416
{ (ac_try="$ac_compiler --version >&5"
 
6417
case "(($ac_try" in
 
6418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6419
  *) ac_try_echo=$ac_try;;
 
6420
esac
 
6421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6422
  (eval "$ac_compiler --version >&5") 2>&5
 
6423
  ac_status=$?
 
6424
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6425
  (exit $ac_status); }
 
6426
{ (ac_try="$ac_compiler -v >&5"
 
6427
case "(($ac_try" in
 
6428
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6429
  *) ac_try_echo=$ac_try;;
 
6430
esac
 
6431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6432
  (eval "$ac_compiler -v >&5") 2>&5
 
6433
  ac_status=$?
 
6434
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6435
  (exit $ac_status); }
 
6436
{ (ac_try="$ac_compiler -V >&5"
 
6437
case "(($ac_try" in
 
6438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6439
  *) ac_try_echo=$ac_try;;
 
6440
esac
 
6441
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6442
  (eval "$ac_compiler -V >&5") 2>&5
5660
6443
  ac_status=$?
5661
6444
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662
6445
  (exit $ac_status); }
5666
6449
# input file.  (Note that this only needs to work for GNU compilers.)
5667
6450
ac_save_ext=$ac_ext
5668
6451
ac_ext=F
5669
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5670
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6452
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6453
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5671
6454
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5672
6455
  echo $ECHO_N "(cached) $ECHO_C" >&6
5673
6456
else
5680
6463
      end
5681
6464
_ACEOF
5682
6465
rm -f conftest.$ac_objext
5683
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5684
 
  (eval $ac_compile) 2>conftest.er1
 
6466
if { (ac_try="$ac_compile"
 
6467
case "(($ac_try" in
 
6468
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6469
  *) ac_try_echo=$ac_try;;
 
6470
esac
 
6471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6472
  (eval "$ac_compile") 2>conftest.er1
5685
6473
  ac_status=$?
5686
6474
  grep -v '^ *+' conftest.er1 >conftest.err
5687
6475
  rm -f conftest.er1
5688
6476
  cat conftest.err >&5
5689
6477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
 
  (exit $ac_status); } &&
5691
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5692
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693
 
  (eval $ac_try) 2>&5
5694
 
  ac_status=$?
5695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696
 
  (exit $ac_status); }; } &&
5697
 
         { ac_try='test -s conftest.$ac_objext'
5698
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699
 
  (eval $ac_try) 2>&5
5700
 
  ac_status=$?
5701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702
 
  (exit $ac_status); }; }; then
 
6478
  (exit $ac_status); } && {
 
6479
         test -z "$ac_f77_werror_flag" ||
 
6480
         test ! -s conftest.err
 
6481
       } && test -s conftest.$ac_objext; then
5703
6482
  ac_compiler_gnu=yes
5704
6483
else
5705
6484
  echo "$as_me: failed program was:" >&5
5706
6485
sed 's/^/| /' conftest.$ac_ext >&5
5707
6486
 
5708
 
ac_compiler_gnu=no
 
6487
        ac_compiler_gnu=no
5709
6488
fi
5710
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6489
 
 
6490
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5711
6491
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5712
6492
 
5713
6493
fi
5714
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5715
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6494
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6495
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5716
6496
ac_ext=$ac_save_ext
5717
6497
ac_test_FFLAGS=${FFLAGS+set}
5718
6498
ac_save_FFLAGS=$FFLAGS
5719
6499
FFLAGS=
5720
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5721
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6500
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6501
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5722
6502
if test "${ac_cv_prog_f77_g+set}" = set; then
5723
6503
  echo $ECHO_N "(cached) $ECHO_C" >&6
5724
6504
else
5729
6509
      end
5730
6510
_ACEOF
5731
6511
rm -f conftest.$ac_objext
5732
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733
 
  (eval $ac_compile) 2>conftest.er1
 
6512
if { (ac_try="$ac_compile"
 
6513
case "(($ac_try" in
 
6514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6515
  *) ac_try_echo=$ac_try;;
 
6516
esac
 
6517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6518
  (eval "$ac_compile") 2>conftest.er1
5734
6519
  ac_status=$?
5735
6520
  grep -v '^ *+' conftest.er1 >conftest.err
5736
6521
  rm -f conftest.er1
5737
6522
  cat conftest.err >&5
5738
6523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739
 
  (exit $ac_status); } &&
5740
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
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); }; } &&
5746
 
         { ac_try='test -s conftest.$ac_objext'
5747
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748
 
  (eval $ac_try) 2>&5
5749
 
  ac_status=$?
5750
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751
 
  (exit $ac_status); }; }; then
 
6524
  (exit $ac_status); } && {
 
6525
         test -z "$ac_f77_werror_flag" ||
 
6526
         test ! -s conftest.err
 
6527
       } && test -s conftest.$ac_objext; then
5752
6528
  ac_cv_prog_f77_g=yes
5753
6529
else
5754
6530
  echo "$as_me: failed program was:" >&5
5755
6531
sed 's/^/| /' conftest.$ac_ext >&5
5756
6532
 
5757
 
ac_cv_prog_f77_g=no
5758
 
fi
5759
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5760
 
 
5761
 
fi
5762
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5763
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6533
        ac_cv_prog_f77_g=no
 
6534
fi
 
6535
 
 
6536
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6537
 
 
6538
fi
 
6539
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6540
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5764
6541
if test "$ac_test_FFLAGS" = set; then
5765
6542
  FFLAGS=$ac_save_FFLAGS
5766
6543
elif test $ac_cv_prog_f77_g = yes; then
5789
6566
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5790
6567
 
5791
6568
# find the maximum length of command line arguments
5792
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5793
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6569
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6570
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5794
6571
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5795
6572
  echo $ECHO_N "(cached) $ECHO_C" >&6
5796
6573
else
5854
6631
fi
5855
6632
 
5856
6633
if test -n $lt_cv_sys_max_cmd_len ; then
5857
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5858
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6634
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6635
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5859
6636
else
5860
 
  echo "$as_me:$LINENO: result: none" >&5
5861
 
echo "${ECHO_T}none" >&6
 
6637
  { echo "$as_me:$LINENO: result: none" >&5
 
6638
echo "${ECHO_T}none" >&6; }
5862
6639
fi
5863
6640
 
5864
6641
 
5865
6642
 
5866
6643
 
5867
6644
# Check for command to grab the raw symbol name followed by C symbol from nm.
5868
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5869
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6645
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6646
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5870
6647
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5871
6648
  echo $ECHO_N "(cached) $ECHO_C" >&6
5872
6649
else
6054
6831
  lt_cv_sys_global_symbol_to_cdecl=
6055
6832
fi
6056
6833
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6057
 
  echo "$as_me:$LINENO: result: failed" >&5
6058
 
echo "${ECHO_T}failed" >&6
 
6834
  { echo "$as_me:$LINENO: result: failed" >&5
 
6835
echo "${ECHO_T}failed" >&6; }
6059
6836
else
6060
 
  echo "$as_me:$LINENO: result: ok" >&5
6061
 
echo "${ECHO_T}ok" >&6
 
6837
  { echo "$as_me:$LINENO: result: ok" >&5
 
6838
echo "${ECHO_T}ok" >&6; }
6062
6839
fi
6063
6840
 
6064
 
echo "$as_me:$LINENO: checking for objdir" >&5
6065
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6841
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6842
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6066
6843
if test "${lt_cv_objdir+set}" = set; then
6067
6844
  echo $ECHO_N "(cached) $ECHO_C" >&6
6068
6845
else
6076
6853
fi
6077
6854
rmdir .libs 2>/dev/null
6078
6855
fi
6079
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6080
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6856
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6857
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6081
6858
objdir=$lt_cv_objdir
6082
6859
 
6083
6860
 
6128
6905
if test -n "$ac_tool_prefix"; then
6129
6906
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6130
6907
set dummy ${ac_tool_prefix}ar; ac_word=$2
6131
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6132
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6908
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6909
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6133
6910
if test "${ac_cv_prog_AR+set}" = set; then
6134
6911
  echo $ECHO_N "(cached) $ECHO_C" >&6
6135
6912
else
6142
6919
  IFS=$as_save_IFS
6143
6920
  test -z "$as_dir" && as_dir=.
6144
6921
  for ac_exec_ext in '' $ac_executable_extensions; do
6145
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6922
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146
6923
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6147
6924
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6148
6925
    break 2
6149
6926
  fi
6150
6927
done
6151
6928
done
 
6929
IFS=$as_save_IFS
6152
6930
 
6153
6931
fi
6154
6932
fi
6155
6933
AR=$ac_cv_prog_AR
6156
6934
if test -n "$AR"; then
6157
 
  echo "$as_me:$LINENO: result: $AR" >&5
6158
 
echo "${ECHO_T}$AR" >&6
 
6935
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6936
echo "${ECHO_T}$AR" >&6; }
6159
6937
else
6160
 
  echo "$as_me:$LINENO: result: no" >&5
6161
 
echo "${ECHO_T}no" >&6
 
6938
  { echo "$as_me:$LINENO: result: no" >&5
 
6939
echo "${ECHO_T}no" >&6; }
6162
6940
fi
 
6941
 
6163
6942
 
6164
6943
fi
6165
6944
if test -z "$ac_cv_prog_AR"; then
6166
6945
  ac_ct_AR=$AR
6167
6946
  # Extract the first word of "ar", so it can be a program name with args.
6168
6947
set dummy ar; ac_word=$2
6169
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6170
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6948
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6949
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6171
6950
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6172
6951
  echo $ECHO_N "(cached) $ECHO_C" >&6
6173
6952
else
6180
6959
  IFS=$as_save_IFS
6181
6960
  test -z "$as_dir" && as_dir=.
6182
6961
  for ac_exec_ext in '' $ac_executable_extensions; do
6183
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6962
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6184
6963
    ac_cv_prog_ac_ct_AR="ar"
6185
6964
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6186
6965
    break 2
6187
6966
  fi
6188
6967
done
6189
6968
done
 
6969
IFS=$as_save_IFS
6190
6970
 
6191
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6192
6971
fi
6193
6972
fi
6194
6973
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6195
6974
if test -n "$ac_ct_AR"; then
6196
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6197
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6975
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6976
echo "${ECHO_T}$ac_ct_AR" >&6; }
6198
6977
else
6199
 
  echo "$as_me:$LINENO: result: no" >&5
6200
 
echo "${ECHO_T}no" >&6
 
6978
  { echo "$as_me:$LINENO: result: no" >&5
 
6979
echo "${ECHO_T}no" >&6; }
6201
6980
fi
6202
6981
 
6203
 
  AR=$ac_ct_AR
 
6982
  if test "x$ac_ct_AR" = x; then
 
6983
    AR="false"
 
6984
  else
 
6985
    case $cross_compiling:$ac_tool_warned in
 
6986
yes:)
 
6987
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6988
whose name does not start with the host triplet.  If you think this
 
6989
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6990
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6991
whose name does not start with the host triplet.  If you think this
 
6992
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6993
ac_tool_warned=yes ;;
 
6994
esac
 
6995
    AR=$ac_ct_AR
 
6996
  fi
6204
6997
else
6205
6998
  AR="$ac_cv_prog_AR"
6206
6999
fi
6208
7001
if test -n "$ac_tool_prefix"; then
6209
7002
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6210
7003
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6211
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6212
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7004
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7005
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6213
7006
if test "${ac_cv_prog_RANLIB+set}" = set; then
6214
7007
  echo $ECHO_N "(cached) $ECHO_C" >&6
6215
7008
else
6222
7015
  IFS=$as_save_IFS
6223
7016
  test -z "$as_dir" && as_dir=.
6224
7017
  for ac_exec_ext in '' $ac_executable_extensions; do
6225
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7018
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226
7019
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6227
7020
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6228
7021
    break 2
6229
7022
  fi
6230
7023
done
6231
7024
done
 
7025
IFS=$as_save_IFS
6232
7026
 
6233
7027
fi
6234
7028
fi
6235
7029
RANLIB=$ac_cv_prog_RANLIB
6236
7030
if test -n "$RANLIB"; then
6237
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6238
 
echo "${ECHO_T}$RANLIB" >&6
 
7031
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7032
echo "${ECHO_T}$RANLIB" >&6; }
6239
7033
else
6240
 
  echo "$as_me:$LINENO: result: no" >&5
6241
 
echo "${ECHO_T}no" >&6
 
7034
  { echo "$as_me:$LINENO: result: no" >&5
 
7035
echo "${ECHO_T}no" >&6; }
6242
7036
fi
 
7037
 
6243
7038
 
6244
7039
fi
6245
7040
if test -z "$ac_cv_prog_RANLIB"; then
6246
7041
  ac_ct_RANLIB=$RANLIB
6247
7042
  # Extract the first word of "ranlib", so it can be a program name with args.
6248
7043
set dummy ranlib; ac_word=$2
6249
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6250
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7044
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7045
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6251
7046
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6252
7047
  echo $ECHO_N "(cached) $ECHO_C" >&6
6253
7048
else
6260
7055
  IFS=$as_save_IFS
6261
7056
  test -z "$as_dir" && as_dir=.
6262
7057
  for ac_exec_ext in '' $ac_executable_extensions; do
6263
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264
7059
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6265
7060
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6266
7061
    break 2
6267
7062
  fi
6268
7063
done
6269
7064
done
 
7065
IFS=$as_save_IFS
6270
7066
 
6271
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6272
7067
fi
6273
7068
fi
6274
7069
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6275
7070
if test -n "$ac_ct_RANLIB"; then
6276
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6277
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7071
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7072
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6278
7073
else
6279
 
  echo "$as_me:$LINENO: result: no" >&5
6280
 
echo "${ECHO_T}no" >&6
 
7074
  { echo "$as_me:$LINENO: result: no" >&5
 
7075
echo "${ECHO_T}no" >&6; }
6281
7076
fi
6282
7077
 
6283
 
  RANLIB=$ac_ct_RANLIB
 
7078
  if test "x$ac_ct_RANLIB" = x; then
 
7079
    RANLIB=":"
 
7080
  else
 
7081
    case $cross_compiling:$ac_tool_warned in
 
7082
yes:)
 
7083
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7084
whose name does not start with the host triplet.  If you think this
 
7085
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7086
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7087
whose name does not start with the host triplet.  If you think this
 
7088
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7089
ac_tool_warned=yes ;;
 
7090
esac
 
7091
    RANLIB=$ac_ct_RANLIB
 
7092
  fi
6284
7093
else
6285
7094
  RANLIB="$ac_cv_prog_RANLIB"
6286
7095
fi
6288
7097
if test -n "$ac_tool_prefix"; then
6289
7098
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6290
7099
set dummy ${ac_tool_prefix}strip; ac_word=$2
6291
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6292
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7100
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6293
7102
if test "${ac_cv_prog_STRIP+set}" = set; then
6294
7103
  echo $ECHO_N "(cached) $ECHO_C" >&6
6295
7104
else
6302
7111
  IFS=$as_save_IFS
6303
7112
  test -z "$as_dir" && as_dir=.
6304
7113
  for ac_exec_ext in '' $ac_executable_extensions; do
6305
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6306
7115
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6307
7116
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6308
7117
    break 2
6309
7118
  fi
6310
7119
done
6311
7120
done
 
7121
IFS=$as_save_IFS
6312
7122
 
6313
7123
fi
6314
7124
fi
6315
7125
STRIP=$ac_cv_prog_STRIP
6316
7126
if test -n "$STRIP"; then
6317
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6318
 
echo "${ECHO_T}$STRIP" >&6
 
7127
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
7128
echo "${ECHO_T}$STRIP" >&6; }
6319
7129
else
6320
 
  echo "$as_me:$LINENO: result: no" >&5
6321
 
echo "${ECHO_T}no" >&6
 
7130
  { echo "$as_me:$LINENO: result: no" >&5
 
7131
echo "${ECHO_T}no" >&6; }
6322
7132
fi
 
7133
 
6323
7134
 
6324
7135
fi
6325
7136
if test -z "$ac_cv_prog_STRIP"; then
6326
7137
  ac_ct_STRIP=$STRIP
6327
7138
  # Extract the first word of "strip", so it can be a program name with args.
6328
7139
set dummy strip; ac_word=$2
6329
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6330
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7140
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7141
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6331
7142
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6332
7143
  echo $ECHO_N "(cached) $ECHO_C" >&6
6333
7144
else
6340
7151
  IFS=$as_save_IFS
6341
7152
  test -z "$as_dir" && as_dir=.
6342
7153
  for ac_exec_ext in '' $ac_executable_extensions; do
6343
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344
7155
    ac_cv_prog_ac_ct_STRIP="strip"
6345
7156
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6346
7157
    break 2
6347
7158
  fi
6348
7159
done
6349
7160
done
 
7161
IFS=$as_save_IFS
6350
7162
 
6351
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6352
7163
fi
6353
7164
fi
6354
7165
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6355
7166
if test -n "$ac_ct_STRIP"; then
6356
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6357
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
7167
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7168
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6358
7169
else
6359
 
  echo "$as_me:$LINENO: result: no" >&5
6360
 
echo "${ECHO_T}no" >&6
 
7170
  { echo "$as_me:$LINENO: result: no" >&5
 
7171
echo "${ECHO_T}no" >&6; }
6361
7172
fi
6362
7173
 
6363
 
  STRIP=$ac_ct_STRIP
 
7174
  if test "x$ac_ct_STRIP" = x; then
 
7175
    STRIP=":"
 
7176
  else
 
7177
    case $cross_compiling:$ac_tool_warned in
 
7178
yes:)
 
7179
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7180
whose name does not start with the host triplet.  If you think this
 
7181
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7182
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7183
whose name does not start with the host triplet.  If you think this
 
7184
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7185
ac_tool_warned=yes ;;
 
7186
esac
 
7187
    STRIP=$ac_ct_STRIP
 
7188
  fi
6364
7189
else
6365
7190
  STRIP="$ac_cv_prog_STRIP"
6366
7191
fi
6407
7232
case $deplibs_check_method in
6408
7233
file_magic*)
6409
7234
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6410
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6411
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7235
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7236
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6412
7237
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6413
7238
  echo $ECHO_N "(cached) $ECHO_C" >&6
6414
7239
else
6460
7285
 
6461
7286
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6462
7287
if test -n "$MAGIC_CMD"; then
6463
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6464
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7288
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7289
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6465
7290
else
6466
 
  echo "$as_me:$LINENO: result: no" >&5
6467
 
echo "${ECHO_T}no" >&6
 
7291
  { echo "$as_me:$LINENO: result: no" >&5
 
7292
echo "${ECHO_T}no" >&6; }
6468
7293
fi
6469
7294
 
6470
7295
if test -z "$lt_cv_path_MAGIC_CMD"; then
6471
7296
  if test -n "$ac_tool_prefix"; then
6472
 
    echo "$as_me:$LINENO: checking for file" >&5
6473
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7297
    { echo "$as_me:$LINENO: checking for file" >&5
 
7298
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6474
7299
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6475
7300
  echo $ECHO_N "(cached) $ECHO_C" >&6
6476
7301
else
6522
7347
 
6523
7348
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6524
7349
if test -n "$MAGIC_CMD"; then
6525
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6526
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7350
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7351
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6527
7352
else
6528
 
  echo "$as_me:$LINENO: result: no" >&5
6529
 
echo "${ECHO_T}no" >&6
 
7353
  { echo "$as_me:$LINENO: result: no" >&5
 
7354
echo "${ECHO_T}no" >&6; }
6530
7355
fi
6531
7356
 
6532
7357
  else
6541
7366
enable_dlopen=no
6542
7367
enable_win32_dll=yes
6543
7368
 
6544
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7369
# Check whether --enable-libtool-lock was given.
6545
7370
if test "${enable_libtool_lock+set}" = set; then
6546
 
  enableval="$enable_libtool_lock"
 
7371
  enableval=$enable_libtool_lock;
 
7372
fi
6547
7373
 
6548
 
fi;
6549
7374
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6550
7375
 
6551
7376
 
6552
 
# Check whether --with-pic or --without-pic was given.
 
7377
# Check whether --with-pic was given.
6553
7378
if test "${with_pic+set}" = set; then
6554
 
  withval="$with_pic"
6555
 
  pic_mode="$withval"
 
7379
  withval=$with_pic; pic_mode="$withval"
6556
7380
else
6557
7381
  pic_mode=default
6558
 
fi;
 
7382
fi
 
7383
 
6559
7384
test -z "$pic_mode" && pic_mode=default
6560
7385
 
6561
7386
# Use C for the default configuration in the libtool script
6615
7440
#
6616
7441
# Check to make sure the static flag actually works.
6617
7442
#
6618
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6619
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
 
7443
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
 
7444
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6620
7445
if test "${lt_prog_compiler_static_works+set}" = set; then
6621
7446
  echo $ECHO_N "(cached) $ECHO_C" >&6
6622
7447
else
6638
7463
   LDFLAGS="$save_LDFLAGS"
6639
7464
 
6640
7465
fi
6641
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6642
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7466
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7467
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6643
7468
 
6644
7469
if test x"$lt_prog_compiler_static_works" = xyes; then
6645
7470
    :
6660
7485
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6661
7486
 
6662
7487
 
6663
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6664
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7488
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7489
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6665
7490
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6666
7491
  echo $ECHO_N "(cached) $ECHO_C" >&6
6667
7492
else
6678
7503
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6679
7504
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6680
7505
   -e 's:$: $lt_compiler_flag:'`
6681
 
   (eval echo "\"\$as_me:6681: $lt_compile\"" >&5)
 
7506
   (eval echo "\"\$as_me:7506: $lt_compile\"" >&5)
6682
7507
   (eval "$lt_compile" 2>conftest.err)
6683
7508
   ac_status=$?
6684
7509
   cat conftest.err >&5
6685
 
   echo "$as_me:6685: \$? = $ac_status" >&5
 
7510
   echo "$as_me:7510: \$? = $ac_status" >&5
6686
7511
   if (exit $ac_status) && test -s "$ac_outfile"; then
6687
7512
     # The compiler can only warn and ignore the option if not recognized
6688
7513
     # So say no if there are warnings
6693
7518
   $rm conftest*
6694
7519
 
6695
7520
fi
6696
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6697
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7521
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7522
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6698
7523
 
6699
7524
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6700
7525
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6708
7533
lt_prog_compiler_pic=
6709
7534
lt_prog_compiler_static=
6710
7535
 
6711
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6712
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7536
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7537
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6713
7538
 
6714
7539
  if test "$GCC" = yes; then
6715
7540
    lt_prog_compiler_wl='-Wl,'
6885
7710
    esac
6886
7711
  fi
6887
7712
 
6888
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6889
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7713
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7714
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6890
7715
 
6891
7716
#
6892
7717
# Check to make sure the PIC flag actually works.
6893
7718
#
6894
7719
if test -n "$lt_prog_compiler_pic"; then
6895
7720
 
6896
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6897
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7721
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7722
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6898
7723
if test "${lt_prog_compiler_pic_works+set}" = set; then
6899
7724
  echo $ECHO_N "(cached) $ECHO_C" >&6
6900
7725
else
6911
7736
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6912
7737
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6913
7738
   -e 's:$: $lt_compiler_flag:'`
6914
 
   (eval echo "\"\$as_me:6914: $lt_compile\"" >&5)
 
7739
   (eval echo "\"\$as_me:7739: $lt_compile\"" >&5)
6915
7740
   (eval "$lt_compile" 2>conftest.err)
6916
7741
   ac_status=$?
6917
7742
   cat conftest.err >&5
6918
 
   echo "$as_me:6918: \$? = $ac_status" >&5
 
7743
   echo "$as_me:7743: \$? = $ac_status" >&5
6919
7744
   if (exit $ac_status) && test -s "$ac_outfile"; then
6920
7745
     # The compiler can only warn and ignore the option if not recognized
6921
7746
     # So say no if there are warnings
6926
7751
   $rm conftest*
6927
7752
 
6928
7753
fi
6929
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6930
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7754
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7755
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6931
7756
 
6932
7757
if test x"$lt_prog_compiler_pic_works" = xyes; then
6933
7758
    case $lt_prog_compiler_pic in
6950
7775
    ;;
6951
7776
esac
6952
7777
 
6953
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6954
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7778
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7779
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6955
7780
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6956
7781
  echo $ECHO_N "(cached) $ECHO_C" >&6
6957
7782
else
6971
7796
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6972
7797
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6973
7798
   -e 's:$: $lt_compiler_flag:'`
6974
 
   (eval echo "\"\$as_me:6974: $lt_compile\"" >&5)
 
7799
   (eval echo "\"\$as_me:7799: $lt_compile\"" >&5)
6975
7800
   (eval "$lt_compile" 2>out/conftest.err)
6976
7801
   ac_status=$?
6977
7802
   cat out/conftest.err >&5
6978
 
   echo "$as_me:6978: \$? = $ac_status" >&5
 
7803
   echo "$as_me:7803: \$? = $ac_status" >&5
6979
7804
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6980
7805
   then
6981
7806
     # The compiler can only warn and ignore the option if not recognized
6995
7820
   $rm conftest*
6996
7821
 
6997
7822
fi
6998
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6999
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7823
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7824
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7000
7825
 
7001
7826
 
7002
7827
hard_links="nottested"
7003
7828
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7004
7829
  # do not overwrite the value of need_locks provided by the user
7005
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7006
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7830
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7831
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7007
7832
  hard_links=yes
7008
7833
  $rm conftest*
7009
7834
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7010
7835
  touch conftest.a
7011
7836
  ln conftest.a conftest.b 2>&5 || hard_links=no
7012
7837
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7013
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
7014
 
echo "${ECHO_T}$hard_links" >&6
 
7838
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7839
echo "${ECHO_T}$hard_links" >&6; }
7015
7840
  if test "$hard_links" = no; then
7016
7841
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7017
7842
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7021
7846
  need_locks=no
7022
7847
fi
7023
7848
 
7024
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7025
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7849
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7850
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7026
7851
 
7027
7852
  runpath_var=
7028
7853
  allow_undefined_flag=
7355
8180
}
7356
8181
_ACEOF
7357
8182
rm -f conftest.$ac_objext conftest$ac_exeext
7358
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7359
 
  (eval $ac_link) 2>conftest.er1
 
8183
if { (ac_try="$ac_link"
 
8184
case "(($ac_try" in
 
8185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8186
  *) ac_try_echo=$ac_try;;
 
8187
esac
 
8188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8189
  (eval "$ac_link") 2>conftest.er1
7360
8190
  ac_status=$?
7361
8191
  grep -v '^ *+' conftest.er1 >conftest.err
7362
8192
  rm -f conftest.er1
7363
8193
  cat conftest.err >&5
7364
8194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365
 
  (exit $ac_status); } &&
7366
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368
 
  (eval $ac_try) 2>&5
7369
 
  ac_status=$?
7370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371
 
  (exit $ac_status); }; } &&
7372
 
         { ac_try='test -s conftest$ac_exeext'
7373
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374
 
  (eval $ac_try) 2>&5
7375
 
  ac_status=$?
7376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377
 
  (exit $ac_status); }; }; then
 
8195
  (exit $ac_status); } && {
 
8196
         test -z "$ac_c_werror_flag" ||
 
8197
         test ! -s conftest.err
 
8198
       } && test -s conftest$ac_exeext &&
 
8199
       $as_test_x conftest$ac_exeext; then
7378
8200
 
7379
8201
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7380
8202
}'`
7385
8207
  echo "$as_me: failed program was:" >&5
7386
8208
sed 's/^/| /' conftest.$ac_ext >&5
7387
8209
 
 
8210
 
7388
8211
fi
7389
 
rm -f conftest.err conftest.$ac_objext \
 
8212
 
 
8213
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7390
8214
      conftest$ac_exeext conftest.$ac_ext
7391
8215
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7392
8216
 
7415
8239
}
7416
8240
_ACEOF
7417
8241
rm -f conftest.$ac_objext conftest$ac_exeext
7418
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7419
 
  (eval $ac_link) 2>conftest.er1
 
8242
if { (ac_try="$ac_link"
 
8243
case "(($ac_try" in
 
8244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8245
  *) ac_try_echo=$ac_try;;
 
8246
esac
 
8247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8248
  (eval "$ac_link") 2>conftest.er1
7420
8249
  ac_status=$?
7421
8250
  grep -v '^ *+' conftest.er1 >conftest.err
7422
8251
  rm -f conftest.er1
7423
8252
  cat conftest.err >&5
7424
8253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425
 
  (exit $ac_status); } &&
7426
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7427
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7428
 
  (eval $ac_try) 2>&5
7429
 
  ac_status=$?
7430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431
 
  (exit $ac_status); }; } &&
7432
 
         { ac_try='test -s conftest$ac_exeext'
7433
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434
 
  (eval $ac_try) 2>&5
7435
 
  ac_status=$?
7436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437
 
  (exit $ac_status); }; }; then
 
8254
  (exit $ac_status); } && {
 
8255
         test -z "$ac_c_werror_flag" ||
 
8256
         test ! -s conftest.err
 
8257
       } && test -s conftest$ac_exeext &&
 
8258
       $as_test_x conftest$ac_exeext; then
7438
8259
 
7439
8260
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7440
8261
}'`
7445
8266
  echo "$as_me: failed program was:" >&5
7446
8267
sed 's/^/| /' conftest.$ac_ext >&5
7447
8268
 
 
8269
 
7448
8270
fi
7449
 
rm -f conftest.err conftest.$ac_objext \
 
8271
 
 
8272
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7450
8273
      conftest$ac_exeext conftest.$ac_ext
7451
8274
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7452
8275
 
7868
8691
    esac
7869
8692
  fi
7870
8693
 
7871
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7872
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8694
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8695
echo "${ECHO_T}$ld_shlibs" >&6; }
7873
8696
test "$ld_shlibs" = no && can_build_shared=no
7874
8697
 
7875
8698
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7894
8717
      # Test whether the compiler implicitly links with -lc since on some
7895
8718
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7896
8719
      # to ld, don't add -lc before -lgcc.
7897
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7898
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8720
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8721
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7899
8722
      $rm conftest*
7900
8723
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7901
8724
 
7931
8754
        cat conftest.err 1>&5
7932
8755
      fi
7933
8756
      $rm conftest*
7934
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7935
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8757
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8758
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7936
8759
      ;;
7937
8760
    esac
7938
8761
  fi
7939
8762
  ;;
7940
8763
esac
7941
8764
 
7942
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7943
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8765
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8766
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7944
8767
library_names_spec=
7945
8768
libname_spec='lib$name'
7946
8769
soname_spec=
8479
9302
  dynamic_linker=no
8480
9303
  ;;
8481
9304
esac
8482
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8483
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9305
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9306
echo "${ECHO_T}$dynamic_linker" >&6; }
8484
9307
test "$dynamic_linker" = no && can_build_shared=no
8485
9308
 
8486
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8487
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9309
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9310
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8488
9311
hardcode_action=
8489
9312
if test -n "$hardcode_libdir_flag_spec" || \
8490
9313
   test -n "$runpath_var " || \
8508
9331
  # directories.
8509
9332
  hardcode_action=unsupported
8510
9333
fi
8511
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8512
 
echo "${ECHO_T}$hardcode_action" >&6
 
9334
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9335
echo "${ECHO_T}$hardcode_action" >&6; }
8513
9336
 
8514
9337
if test "$hardcode_action" = relink; then
8515
9338
  # Fast installation is not supported
8522
9345
 
8523
9346
striplib=
8524
9347
old_striplib=
8525
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8526
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9348
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9349
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8527
9350
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8528
9351
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8529
9352
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8530
 
  echo "$as_me:$LINENO: result: yes" >&5
8531
 
echo "${ECHO_T}yes" >&6
 
9353
  { echo "$as_me:$LINENO: result: yes" >&5
 
9354
echo "${ECHO_T}yes" >&6; }
8532
9355
else
8533
9356
# FIXME - insert some real tests, host_os isn't really good enough
8534
9357
  case $host_os in
8535
9358
   darwin*)
8536
9359
       if test -n "$STRIP" ; then
8537
9360
         striplib="$STRIP -x"
8538
 
         echo "$as_me:$LINENO: result: yes" >&5
8539
 
echo "${ECHO_T}yes" >&6
 
9361
         { echo "$as_me:$LINENO: result: yes" >&5
 
9362
echo "${ECHO_T}yes" >&6; }
8540
9363
       else
8541
 
  echo "$as_me:$LINENO: result: no" >&5
8542
 
echo "${ECHO_T}no" >&6
 
9364
  { echo "$as_me:$LINENO: result: no" >&5
 
9365
echo "${ECHO_T}no" >&6; }
8543
9366
fi
8544
9367
       ;;
8545
9368
   *)
8546
 
  echo "$as_me:$LINENO: result: no" >&5
8547
 
echo "${ECHO_T}no" >&6
 
9369
  { echo "$as_me:$LINENO: result: no" >&5
 
9370
echo "${ECHO_T}no" >&6; }
8548
9371
    ;;
8549
9372
  esac
8550
9373
fi
8576
9399
 
8577
9400
  darwin*)
8578
9401
  # if libdl is installed we need to link against it
8579
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8580
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9402
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9403
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8581
9404
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8582
9405
  echo $ECHO_N "(cached) $ECHO_C" >&6
8583
9406
else
8590
9413
cat >>conftest.$ac_ext <<_ACEOF
8591
9414
/* end confdefs.h.  */
8592
9415
 
8593
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9416
/* Override any GCC internal prototype to avoid an error.
 
9417
   Use char because int might match the return type of a GCC
 
9418
   builtin and then its argument prototype would still apply.  */
8594
9419
#ifdef __cplusplus
8595
9420
extern "C"
8596
9421
#endif
8597
 
/* We use char because int might match the return type of a gcc2
8598
 
   builtin and then its argument prototype would still apply.  */
8599
9422
char dlopen ();
8600
9423
int
8601
9424
main ()
8602
9425
{
8603
 
dlopen ();
 
9426
return dlopen ();
8604
9427
  ;
8605
9428
  return 0;
8606
9429
}
8607
9430
_ACEOF
8608
9431
rm -f conftest.$ac_objext conftest$ac_exeext
8609
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8610
 
  (eval $ac_link) 2>conftest.er1
 
9432
if { (ac_try="$ac_link"
 
9433
case "(($ac_try" in
 
9434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9435
  *) ac_try_echo=$ac_try;;
 
9436
esac
 
9437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9438
  (eval "$ac_link") 2>conftest.er1
8611
9439
  ac_status=$?
8612
9440
  grep -v '^ *+' conftest.er1 >conftest.err
8613
9441
  rm -f conftest.er1
8614
9442
  cat conftest.err >&5
8615
9443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616
 
  (exit $ac_status); } &&
8617
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8618
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619
 
  (eval $ac_try) 2>&5
8620
 
  ac_status=$?
8621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622
 
  (exit $ac_status); }; } &&
8623
 
         { ac_try='test -s conftest$ac_exeext'
8624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625
 
  (eval $ac_try) 2>&5
8626
 
  ac_status=$?
8627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628
 
  (exit $ac_status); }; }; then
 
9444
  (exit $ac_status); } && {
 
9445
         test -z "$ac_c_werror_flag" ||
 
9446
         test ! -s conftest.err
 
9447
       } && test -s conftest$ac_exeext &&
 
9448
       $as_test_x conftest$ac_exeext; then
8629
9449
  ac_cv_lib_dl_dlopen=yes
8630
9450
else
8631
9451
  echo "$as_me: failed program was:" >&5
8632
9452
sed 's/^/| /' conftest.$ac_ext >&5
8633
9453
 
8634
 
ac_cv_lib_dl_dlopen=no
 
9454
        ac_cv_lib_dl_dlopen=no
8635
9455
fi
8636
 
rm -f conftest.err conftest.$ac_objext \
 
9456
 
 
9457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8637
9458
      conftest$ac_exeext conftest.$ac_ext
8638
9459
LIBS=$ac_check_lib_save_LIBS
8639
9460
fi
8640
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8641
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9461
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9462
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8642
9463
if test $ac_cv_lib_dl_dlopen = yes; then
8643
9464
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8644
9465
else
8652
9473
   ;;
8653
9474
 
8654
9475
  *)
8655
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8656
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9476
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9477
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8657
9478
if test "${ac_cv_func_shl_load+set}" = set; then
8658
9479
  echo $ECHO_N "(cached) $ECHO_C" >&6
8659
9480
else
8680
9501
 
8681
9502
#undef shl_load
8682
9503
 
8683
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9504
/* Override any GCC internal prototype to avoid an error.
 
9505
   Use char because int might match the return type of a GCC
 
9506
   builtin and then its argument prototype would still apply.  */
8684
9507
#ifdef __cplusplus
8685
9508
extern "C"
8686
 
{
8687
9509
#endif
8688
 
/* We use char because int might match the return type of a gcc2
8689
 
   builtin and then its argument prototype would still apply.  */
8690
9510
char shl_load ();
8691
9511
/* The GNU C library defines this for functions which it implements
8692
9512
    to always fail with ENOSYS.  Some functions are actually named
8693
9513
    something starting with __ and the normal name is an alias.  */
8694
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9514
#if defined __stub_shl_load || defined __stub___shl_load
8695
9515
choke me
8696
 
#else
8697
 
char (*f) () = shl_load;
8698
 
#endif
8699
 
#ifdef __cplusplus
8700
 
}
8701
9516
#endif
8702
9517
 
8703
9518
int
8704
9519
main ()
8705
9520
{
8706
 
return f != shl_load;
 
9521
return shl_load ();
8707
9522
  ;
8708
9523
  return 0;
8709
9524
}
8710
9525
_ACEOF
8711
9526
rm -f conftest.$ac_objext conftest$ac_exeext
8712
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8713
 
  (eval $ac_link) 2>conftest.er1
 
9527
if { (ac_try="$ac_link"
 
9528
case "(($ac_try" in
 
9529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9530
  *) ac_try_echo=$ac_try;;
 
9531
esac
 
9532
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9533
  (eval "$ac_link") 2>conftest.er1
8714
9534
  ac_status=$?
8715
9535
  grep -v '^ *+' conftest.er1 >conftest.err
8716
9536
  rm -f conftest.er1
8717
9537
  cat conftest.err >&5
8718
9538
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719
 
  (exit $ac_status); } &&
8720
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8721
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722
 
  (eval $ac_try) 2>&5
8723
 
  ac_status=$?
8724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725
 
  (exit $ac_status); }; } &&
8726
 
         { ac_try='test -s conftest$ac_exeext'
8727
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728
 
  (eval $ac_try) 2>&5
8729
 
  ac_status=$?
8730
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731
 
  (exit $ac_status); }; }; then
 
9539
  (exit $ac_status); } && {
 
9540
         test -z "$ac_c_werror_flag" ||
 
9541
         test ! -s conftest.err
 
9542
       } && test -s conftest$ac_exeext &&
 
9543
       $as_test_x conftest$ac_exeext; then
8732
9544
  ac_cv_func_shl_load=yes
8733
9545
else
8734
9546
  echo "$as_me: failed program was:" >&5
8735
9547
sed 's/^/| /' conftest.$ac_ext >&5
8736
9548
 
8737
 
ac_cv_func_shl_load=no
 
9549
        ac_cv_func_shl_load=no
8738
9550
fi
8739
 
rm -f conftest.err conftest.$ac_objext \
 
9551
 
 
9552
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8740
9553
      conftest$ac_exeext conftest.$ac_ext
8741
9554
fi
8742
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8743
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9555
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9556
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8744
9557
if test $ac_cv_func_shl_load = yes; then
8745
9558
  lt_cv_dlopen="shl_load"
8746
9559
else
8747
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8748
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9560
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9561
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8749
9562
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8750
9563
  echo $ECHO_N "(cached) $ECHO_C" >&6
8751
9564
else
8758
9571
cat >>conftest.$ac_ext <<_ACEOF
8759
9572
/* end confdefs.h.  */
8760
9573
 
8761
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9574
/* Override any GCC internal prototype to avoid an error.
 
9575
   Use char because int might match the return type of a GCC
 
9576
   builtin and then its argument prototype would still apply.  */
8762
9577
#ifdef __cplusplus
8763
9578
extern "C"
8764
9579
#endif
8765
 
/* We use char because int might match the return type of a gcc2
8766
 
   builtin and then its argument prototype would still apply.  */
8767
9580
char shl_load ();
8768
9581
int
8769
9582
main ()
8770
9583
{
8771
 
shl_load ();
 
9584
return shl_load ();
8772
9585
  ;
8773
9586
  return 0;
8774
9587
}
8775
9588
_ACEOF
8776
9589
rm -f conftest.$ac_objext conftest$ac_exeext
8777
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8778
 
  (eval $ac_link) 2>conftest.er1
 
9590
if { (ac_try="$ac_link"
 
9591
case "(($ac_try" in
 
9592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9593
  *) ac_try_echo=$ac_try;;
 
9594
esac
 
9595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9596
  (eval "$ac_link") 2>conftest.er1
8779
9597
  ac_status=$?
8780
9598
  grep -v '^ *+' conftest.er1 >conftest.err
8781
9599
  rm -f conftest.er1
8782
9600
  cat conftest.err >&5
8783
9601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784
 
  (exit $ac_status); } &&
8785
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8787
 
  (eval $ac_try) 2>&5
8788
 
  ac_status=$?
8789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790
 
  (exit $ac_status); }; } &&
8791
 
         { ac_try='test -s conftest$ac_exeext'
8792
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8793
 
  (eval $ac_try) 2>&5
8794
 
  ac_status=$?
8795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796
 
  (exit $ac_status); }; }; then
 
9602
  (exit $ac_status); } && {
 
9603
         test -z "$ac_c_werror_flag" ||
 
9604
         test ! -s conftest.err
 
9605
       } && test -s conftest$ac_exeext &&
 
9606
       $as_test_x conftest$ac_exeext; then
8797
9607
  ac_cv_lib_dld_shl_load=yes
8798
9608
else
8799
9609
  echo "$as_me: failed program was:" >&5
8800
9610
sed 's/^/| /' conftest.$ac_ext >&5
8801
9611
 
8802
 
ac_cv_lib_dld_shl_load=no
 
9612
        ac_cv_lib_dld_shl_load=no
8803
9613
fi
8804
 
rm -f conftest.err conftest.$ac_objext \
 
9614
 
 
9615
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8805
9616
      conftest$ac_exeext conftest.$ac_ext
8806
9617
LIBS=$ac_check_lib_save_LIBS
8807
9618
fi
8808
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8809
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9619
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9620
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8810
9621
if test $ac_cv_lib_dld_shl_load = yes; then
8811
9622
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8812
9623
else
8813
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8814
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9624
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9625
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8815
9626
if test "${ac_cv_func_dlopen+set}" = set; then
8816
9627
  echo $ECHO_N "(cached) $ECHO_C" >&6
8817
9628
else
8838
9649
 
8839
9650
#undef dlopen
8840
9651
 
8841
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9652
/* Override any GCC internal prototype to avoid an error.
 
9653
   Use char because int might match the return type of a GCC
 
9654
   builtin and then its argument prototype would still apply.  */
8842
9655
#ifdef __cplusplus
8843
9656
extern "C"
8844
 
{
8845
9657
#endif
8846
 
/* We use char because int might match the return type of a gcc2
8847
 
   builtin and then its argument prototype would still apply.  */
8848
9658
char dlopen ();
8849
9659
/* The GNU C library defines this for functions which it implements
8850
9660
    to always fail with ENOSYS.  Some functions are actually named
8851
9661
    something starting with __ and the normal name is an alias.  */
8852
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9662
#if defined __stub_dlopen || defined __stub___dlopen
8853
9663
choke me
8854
 
#else
8855
 
char (*f) () = dlopen;
8856
 
#endif
8857
 
#ifdef __cplusplus
8858
 
}
8859
9664
#endif
8860
9665
 
8861
9666
int
8862
9667
main ()
8863
9668
{
8864
 
return f != dlopen;
 
9669
return dlopen ();
8865
9670
  ;
8866
9671
  return 0;
8867
9672
}
8868
9673
_ACEOF
8869
9674
rm -f conftest.$ac_objext conftest$ac_exeext
8870
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8871
 
  (eval $ac_link) 2>conftest.er1
 
9675
if { (ac_try="$ac_link"
 
9676
case "(($ac_try" in
 
9677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9678
  *) ac_try_echo=$ac_try;;
 
9679
esac
 
9680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9681
  (eval "$ac_link") 2>conftest.er1
8872
9682
  ac_status=$?
8873
9683
  grep -v '^ *+' conftest.er1 >conftest.err
8874
9684
  rm -f conftest.er1
8875
9685
  cat conftest.err >&5
8876
9686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877
 
  (exit $ac_status); } &&
8878
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8879
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8880
 
  (eval $ac_try) 2>&5
8881
 
  ac_status=$?
8882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883
 
  (exit $ac_status); }; } &&
8884
 
         { ac_try='test -s conftest$ac_exeext'
8885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886
 
  (eval $ac_try) 2>&5
8887
 
  ac_status=$?
8888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889
 
  (exit $ac_status); }; }; then
 
9687
  (exit $ac_status); } && {
 
9688
         test -z "$ac_c_werror_flag" ||
 
9689
         test ! -s conftest.err
 
9690
       } && test -s conftest$ac_exeext &&
 
9691
       $as_test_x conftest$ac_exeext; then
8890
9692
  ac_cv_func_dlopen=yes
8891
9693
else
8892
9694
  echo "$as_me: failed program was:" >&5
8893
9695
sed 's/^/| /' conftest.$ac_ext >&5
8894
9696
 
8895
 
ac_cv_func_dlopen=no
 
9697
        ac_cv_func_dlopen=no
8896
9698
fi
8897
 
rm -f conftest.err conftest.$ac_objext \
 
9699
 
 
9700
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8898
9701
      conftest$ac_exeext conftest.$ac_ext
8899
9702
fi
8900
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8901
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9703
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9704
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8902
9705
if test $ac_cv_func_dlopen = yes; then
8903
9706
  lt_cv_dlopen="dlopen"
8904
9707
else
8905
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8906
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9708
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9709
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8907
9710
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8908
9711
  echo $ECHO_N "(cached) $ECHO_C" >&6
8909
9712
else
8916
9719
cat >>conftest.$ac_ext <<_ACEOF
8917
9720
/* end confdefs.h.  */
8918
9721
 
8919
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9722
/* Override any GCC internal prototype to avoid an error.
 
9723
   Use char because int might match the return type of a GCC
 
9724
   builtin and then its argument prototype would still apply.  */
8920
9725
#ifdef __cplusplus
8921
9726
extern "C"
8922
9727
#endif
8923
 
/* We use char because int might match the return type of a gcc2
8924
 
   builtin and then its argument prototype would still apply.  */
8925
9728
char dlopen ();
8926
9729
int
8927
9730
main ()
8928
9731
{
8929
 
dlopen ();
 
9732
return dlopen ();
8930
9733
  ;
8931
9734
  return 0;
8932
9735
}
8933
9736
_ACEOF
8934
9737
rm -f conftest.$ac_objext conftest$ac_exeext
8935
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8936
 
  (eval $ac_link) 2>conftest.er1
 
9738
if { (ac_try="$ac_link"
 
9739
case "(($ac_try" in
 
9740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9741
  *) ac_try_echo=$ac_try;;
 
9742
esac
 
9743
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9744
  (eval "$ac_link") 2>conftest.er1
8937
9745
  ac_status=$?
8938
9746
  grep -v '^ *+' conftest.er1 >conftest.err
8939
9747
  rm -f conftest.er1
8940
9748
  cat conftest.err >&5
8941
9749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942
 
  (exit $ac_status); } &&
8943
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8944
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945
 
  (eval $ac_try) 2>&5
8946
 
  ac_status=$?
8947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948
 
  (exit $ac_status); }; } &&
8949
 
         { ac_try='test -s conftest$ac_exeext'
8950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951
 
  (eval $ac_try) 2>&5
8952
 
  ac_status=$?
8953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954
 
  (exit $ac_status); }; }; then
 
9750
  (exit $ac_status); } && {
 
9751
         test -z "$ac_c_werror_flag" ||
 
9752
         test ! -s conftest.err
 
9753
       } && test -s conftest$ac_exeext &&
 
9754
       $as_test_x conftest$ac_exeext; then
8955
9755
  ac_cv_lib_dl_dlopen=yes
8956
9756
else
8957
9757
  echo "$as_me: failed program was:" >&5
8958
9758
sed 's/^/| /' conftest.$ac_ext >&5
8959
9759
 
8960
 
ac_cv_lib_dl_dlopen=no
 
9760
        ac_cv_lib_dl_dlopen=no
8961
9761
fi
8962
 
rm -f conftest.err conftest.$ac_objext \
 
9762
 
 
9763
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8963
9764
      conftest$ac_exeext conftest.$ac_ext
8964
9765
LIBS=$ac_check_lib_save_LIBS
8965
9766
fi
8966
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8967
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9767
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9768
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8968
9769
if test $ac_cv_lib_dl_dlopen = yes; then
8969
9770
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8970
9771
else
8971
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8972
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9772
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9773
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8973
9774
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8974
9775
  echo $ECHO_N "(cached) $ECHO_C" >&6
8975
9776
else
8982
9783
cat >>conftest.$ac_ext <<_ACEOF
8983
9784
/* end confdefs.h.  */
8984
9785
 
8985
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9786
/* Override any GCC internal prototype to avoid an error.
 
9787
   Use char because int might match the return type of a GCC
 
9788
   builtin and then its argument prototype would still apply.  */
8986
9789
#ifdef __cplusplus
8987
9790
extern "C"
8988
9791
#endif
8989
 
/* We use char because int might match the return type of a gcc2
8990
 
   builtin and then its argument prototype would still apply.  */
8991
9792
char dlopen ();
8992
9793
int
8993
9794
main ()
8994
9795
{
8995
 
dlopen ();
 
9796
return dlopen ();
8996
9797
  ;
8997
9798
  return 0;
8998
9799
}
8999
9800
_ACEOF
9000
9801
rm -f conftest.$ac_objext conftest$ac_exeext
9001
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9002
 
  (eval $ac_link) 2>conftest.er1
 
9802
if { (ac_try="$ac_link"
 
9803
case "(($ac_try" in
 
9804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9805
  *) ac_try_echo=$ac_try;;
 
9806
esac
 
9807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9808
  (eval "$ac_link") 2>conftest.er1
9003
9809
  ac_status=$?
9004
9810
  grep -v '^ *+' conftest.er1 >conftest.err
9005
9811
  rm -f conftest.er1
9006
9812
  cat conftest.err >&5
9007
9813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008
 
  (exit $ac_status); } &&
9009
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9011
 
  (eval $ac_try) 2>&5
9012
 
  ac_status=$?
9013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014
 
  (exit $ac_status); }; } &&
9015
 
         { ac_try='test -s conftest$ac_exeext'
9016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017
 
  (eval $ac_try) 2>&5
9018
 
  ac_status=$?
9019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020
 
  (exit $ac_status); }; }; then
 
9814
  (exit $ac_status); } && {
 
9815
         test -z "$ac_c_werror_flag" ||
 
9816
         test ! -s conftest.err
 
9817
       } && test -s conftest$ac_exeext &&
 
9818
       $as_test_x conftest$ac_exeext; then
9021
9819
  ac_cv_lib_svld_dlopen=yes
9022
9820
else
9023
9821
  echo "$as_me: failed program was:" >&5
9024
9822
sed 's/^/| /' conftest.$ac_ext >&5
9025
9823
 
9026
 
ac_cv_lib_svld_dlopen=no
 
9824
        ac_cv_lib_svld_dlopen=no
9027
9825
fi
9028
 
rm -f conftest.err conftest.$ac_objext \
 
9826
 
 
9827
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9029
9828
      conftest$ac_exeext conftest.$ac_ext
9030
9829
LIBS=$ac_check_lib_save_LIBS
9031
9830
fi
9032
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9033
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9831
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9832
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9034
9833
if test $ac_cv_lib_svld_dlopen = yes; then
9035
9834
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9036
9835
else
9037
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9038
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9836
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9837
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9039
9838
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9040
9839
  echo $ECHO_N "(cached) $ECHO_C" >&6
9041
9840
else
9048
9847
cat >>conftest.$ac_ext <<_ACEOF
9049
9848
/* end confdefs.h.  */
9050
9849
 
9051
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9850
/* Override any GCC internal prototype to avoid an error.
 
9851
   Use char because int might match the return type of a GCC
 
9852
   builtin and then its argument prototype would still apply.  */
9052
9853
#ifdef __cplusplus
9053
9854
extern "C"
9054
9855
#endif
9055
 
/* We use char because int might match the return type of a gcc2
9056
 
   builtin and then its argument prototype would still apply.  */
9057
9856
char dld_link ();
9058
9857
int
9059
9858
main ()
9060
9859
{
9061
 
dld_link ();
 
9860
return dld_link ();
9062
9861
  ;
9063
9862
  return 0;
9064
9863
}
9065
9864
_ACEOF
9066
9865
rm -f conftest.$ac_objext conftest$ac_exeext
9067
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9068
 
  (eval $ac_link) 2>conftest.er1
 
9866
if { (ac_try="$ac_link"
 
9867
case "(($ac_try" in
 
9868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9869
  *) ac_try_echo=$ac_try;;
 
9870
esac
 
9871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9872
  (eval "$ac_link") 2>conftest.er1
9069
9873
  ac_status=$?
9070
9874
  grep -v '^ *+' conftest.er1 >conftest.err
9071
9875
  rm -f conftest.er1
9072
9876
  cat conftest.err >&5
9073
9877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
 
  (exit $ac_status); } &&
9075
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9076
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077
 
  (eval $ac_try) 2>&5
9078
 
  ac_status=$?
9079
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080
 
  (exit $ac_status); }; } &&
9081
 
         { ac_try='test -s conftest$ac_exeext'
9082
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083
 
  (eval $ac_try) 2>&5
9084
 
  ac_status=$?
9085
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086
 
  (exit $ac_status); }; }; then
 
9878
  (exit $ac_status); } && {
 
9879
         test -z "$ac_c_werror_flag" ||
 
9880
         test ! -s conftest.err
 
9881
       } && test -s conftest$ac_exeext &&
 
9882
       $as_test_x conftest$ac_exeext; then
9087
9883
  ac_cv_lib_dld_dld_link=yes
9088
9884
else
9089
9885
  echo "$as_me: failed program was:" >&5
9090
9886
sed 's/^/| /' conftest.$ac_ext >&5
9091
9887
 
9092
 
ac_cv_lib_dld_dld_link=no
 
9888
        ac_cv_lib_dld_dld_link=no
9093
9889
fi
9094
 
rm -f conftest.err conftest.$ac_objext \
 
9890
 
 
9891
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9095
9892
      conftest$ac_exeext conftest.$ac_ext
9096
9893
LIBS=$ac_check_lib_save_LIBS
9097
9894
fi
9098
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9099
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9895
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9896
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9100
9897
if test $ac_cv_lib_dld_dld_link = yes; then
9101
9898
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9102
9899
fi
9136
9933
    save_LIBS="$LIBS"
9137
9934
    LIBS="$lt_cv_dlopen_libs $LIBS"
9138
9935
 
9139
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9140
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9936
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9937
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9141
9938
if test "${lt_cv_dlopen_self+set}" = set; then
9142
9939
  echo $ECHO_N "(cached) $ECHO_C" >&6
9143
9940
else
9147
9944
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9148
9945
  lt_status=$lt_dlunknown
9149
9946
  cat > conftest.$ac_ext <<EOF
9150
 
#line 9150 "configure"
 
9947
#line 9947 "configure"
9151
9948
#include "confdefs.h"
9152
9949
 
9153
9950
#if HAVE_DLFCN_H
9229
10026
 
9230
10027
 
9231
10028
fi
9232
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9233
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10029
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10030
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9234
10031
 
9235
10032
    if test "x$lt_cv_dlopen_self" = xyes; then
9236
10033
      LDFLAGS="$LDFLAGS $link_static_flag"
9237
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9238
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10034
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10035
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9239
10036
if test "${lt_cv_dlopen_self_static+set}" = set; then
9240
10037
  echo $ECHO_N "(cached) $ECHO_C" >&6
9241
10038
else
9245
10042
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9246
10043
  lt_status=$lt_dlunknown
9247
10044
  cat > conftest.$ac_ext <<EOF
9248
 
#line 9248 "configure"
 
10045
#line 10045 "configure"
9249
10046
#include "confdefs.h"
9250
10047
 
9251
10048
#if HAVE_DLFCN_H
9327
10124
 
9328
10125
 
9329
10126
fi
9330
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9331
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10127
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10128
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9332
10129
    fi
9333
10130
 
9334
10131
    CPPFLAGS="$save_CPPFLAGS"
9350
10147
 
9351
10148
 
9352
10149
# Report which librarie types wil actually be built
9353
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9354
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9355
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9356
 
echo "${ECHO_T}$can_build_shared" >&6
 
10150
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10151
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10152
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10153
echo "${ECHO_T}$can_build_shared" >&6; }
9357
10154
 
9358
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9359
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10155
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10156
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9360
10157
test "$can_build_shared" = "no" && enable_shared=no
9361
10158
 
9362
10159
# On AIX, shared libraries and static libraries use the same namespace, and
9413
10210
  fi
9414
10211
    ;;
9415
10212
esac
9416
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9417
 
echo "${ECHO_T}$enable_shared" >&6
 
10213
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10214
echo "${ECHO_T}$enable_shared" >&6; }
9418
10215
 
9419
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9420
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10216
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10217
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9421
10218
# Make sure either enable_shared or enable_static is yes.
9422
10219
test "$enable_shared" = yes || enable_static=yes
9423
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9424
 
echo "${ECHO_T}$enable_static" >&6
 
10220
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10221
echo "${ECHO_T}$enable_static" >&6; }
9425
10222
 
9426
10223
# The else clause should only fire when bootstrapping the
9427
10224
# libtool distribution, otherwise you forgot to ship ltmain.sh
9904
10701
CC="$lt_save_CC"
9905
10702
 
9906
10703
 
9907
 
# Check whether --with-tags or --without-tags was given.
 
10704
# Check whether --with-tags was given.
9908
10705
if test "${with_tags+set}" = set; then
9909
 
  withval="$with_tags"
9910
 
  tagnames="$withval"
9911
 
fi;
 
10706
  withval=$with_tags; tagnames="$withval"
 
10707
fi
 
10708
 
9912
10709
 
9913
10710
if test -f "$ltmain" && test -n "$tagnames"; then
9914
10711
  if test ! -f "${ofile}"; then
9957
10754
      case $tagname in
9958
10755
      CXX)
9959
10756
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
9960
 
          ac_ext=cc
 
10757
          ac_ext=cpp
9961
10758
ac_cpp='$CXXCPP $CPPFLAGS'
9962
10759
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9963
10760
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10049
10846
  # Set up default GNU C++ configuration
10050
10847
 
10051
10848
 
10052
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10849
# Check whether --with-gnu-ld was given.
10053
10850
if test "${with_gnu_ld+set}" = set; then
10054
 
  withval="$with_gnu_ld"
10055
 
  test "$withval" = no || with_gnu_ld=yes
 
10851
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10056
10852
else
10057
10853
  with_gnu_ld=no
10058
 
fi;
 
10854
fi
 
10855
 
10059
10856
ac_prog=ld
10060
10857
if test "$GCC" = yes; then
10061
10858
  # Check if gcc -print-prog-name=ld gives a path.
10062
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10063
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10859
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10860
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10064
10861
  case $host in
10065
10862
  *-*-mingw*)
10066
10863
    # gcc leaves a trailing carriage return which upsets mingw
10089
10886
    ;;
10090
10887
  esac
10091
10888
elif test "$with_gnu_ld" = yes; then
10092
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10093
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10889
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10890
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10094
10891
else
10095
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10096
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10892
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10893
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10097
10894
fi
10098
10895
if test "${lt_cv_path_LD+set}" = set; then
10099
10896
  echo $ECHO_N "(cached) $ECHO_C" >&6
10126
10923
 
10127
10924
LD="$lt_cv_path_LD"
10128
10925
if test -n "$LD"; then
10129
 
  echo "$as_me:$LINENO: result: $LD" >&5
10130
 
echo "${ECHO_T}$LD" >&6
 
10926
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10927
echo "${ECHO_T}$LD" >&6; }
10131
10928
else
10132
 
  echo "$as_me:$LINENO: result: no" >&5
10133
 
echo "${ECHO_T}no" >&6
 
10929
  { echo "$as_me:$LINENO: result: no" >&5
 
10930
echo "${ECHO_T}no" >&6; }
10134
10931
fi
10135
10932
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10136
10933
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10137
10934
   { (exit 1); exit 1; }; }
10138
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10139
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10935
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10936
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10140
10937
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10141
10938
  echo $ECHO_N "(cached) $ECHO_C" >&6
10142
10939
else
10150
10947
  ;;
10151
10948
esac
10152
10949
fi
10153
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10154
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10950
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10951
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10155
10952
with_gnu_ld=$lt_cv_prog_gnu_ld
10156
10953
 
10157
10954
 
10201
10998
fi
10202
10999
 
10203
11000
# PORTME: fill in a description of your system's C++ link characteristics
10204
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10205
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11001
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11002
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10206
11003
ld_shlibs_CXX=yes
10207
11004
case $host_os in
10208
11005
  aix3*)
10309
11106
}
10310
11107
_ACEOF
10311
11108
rm -f conftest.$ac_objext conftest$ac_exeext
10312
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10313
 
  (eval $ac_link) 2>conftest.er1
 
11109
if { (ac_try="$ac_link"
 
11110
case "(($ac_try" in
 
11111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11112
  *) ac_try_echo=$ac_try;;
 
11113
esac
 
11114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11115
  (eval "$ac_link") 2>conftest.er1
10314
11116
  ac_status=$?
10315
11117
  grep -v '^ *+' conftest.er1 >conftest.err
10316
11118
  rm -f conftest.er1
10317
11119
  cat conftest.err >&5
10318
11120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319
 
  (exit $ac_status); } &&
10320
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10322
 
  (eval $ac_try) 2>&5
10323
 
  ac_status=$?
10324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325
 
  (exit $ac_status); }; } &&
10326
 
         { ac_try='test -s conftest$ac_exeext'
10327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328
 
  (eval $ac_try) 2>&5
10329
 
  ac_status=$?
10330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331
 
  (exit $ac_status); }; }; then
 
11121
  (exit $ac_status); } && {
 
11122
         test -z "$ac_cxx_werror_flag" ||
 
11123
         test ! -s conftest.err
 
11124
       } && test -s conftest$ac_exeext &&
 
11125
       $as_test_x conftest$ac_exeext; then
10332
11126
 
10333
11127
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10334
11128
}'`
10339
11133
  echo "$as_me: failed program was:" >&5
10340
11134
sed 's/^/| /' conftest.$ac_ext >&5
10341
11135
 
 
11136
 
10342
11137
fi
10343
 
rm -f conftest.err conftest.$ac_objext \
 
11138
 
 
11139
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10344
11140
      conftest$ac_exeext conftest.$ac_ext
10345
11141
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10346
11142
 
10370
11166
}
10371
11167
_ACEOF
10372
11168
rm -f conftest.$ac_objext conftest$ac_exeext
10373
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374
 
  (eval $ac_link) 2>conftest.er1
 
11169
if { (ac_try="$ac_link"
 
11170
case "(($ac_try" in
 
11171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11172
  *) ac_try_echo=$ac_try;;
 
11173
esac
 
11174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11175
  (eval "$ac_link") 2>conftest.er1
10375
11176
  ac_status=$?
10376
11177
  grep -v '^ *+' conftest.er1 >conftest.err
10377
11178
  rm -f conftest.er1
10378
11179
  cat conftest.err >&5
10379
11180
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380
 
  (exit $ac_status); } &&
10381
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10382
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383
 
  (eval $ac_try) 2>&5
10384
 
  ac_status=$?
10385
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386
 
  (exit $ac_status); }; } &&
10387
 
         { ac_try='test -s conftest$ac_exeext'
10388
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389
 
  (eval $ac_try) 2>&5
10390
 
  ac_status=$?
10391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392
 
  (exit $ac_status); }; }; then
 
11181
  (exit $ac_status); } && {
 
11182
         test -z "$ac_cxx_werror_flag" ||
 
11183
         test ! -s conftest.err
 
11184
       } && test -s conftest$ac_exeext &&
 
11185
       $as_test_x conftest$ac_exeext; then
10393
11186
 
10394
11187
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10395
11188
}'`
10400
11193
  echo "$as_me: failed program was:" >&5
10401
11194
sed 's/^/| /' conftest.$ac_ext >&5
10402
11195
 
 
11196
 
10403
11197
fi
10404
 
rm -f conftest.err conftest.$ac_objext \
 
11198
 
 
11199
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10405
11200
      conftest$ac_exeext conftest.$ac_ext
10406
11201
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10407
11202
 
11027
11822
    ld_shlibs_CXX=no
11028
11823
    ;;
11029
11824
esac
11030
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11031
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11825
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11826
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11032
11827
test "$ld_shlibs_CXX" = no && can_build_shared=no
11033
11828
 
11034
11829
GCC_CXX="$GXX"
11148
11943
lt_prog_compiler_pic_CXX=
11149
11944
lt_prog_compiler_static_CXX=
11150
11945
 
11151
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11152
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
11946
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11947
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11153
11948
 
11154
11949
  # C++ specific cases for pic, static, wl, etc.
11155
11950
  if test "$GXX" = yes; then
11400
12195
    esac
11401
12196
  fi
11402
12197
 
11403
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11404
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12198
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12199
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11405
12200
 
11406
12201
#
11407
12202
# Check to make sure the PIC flag actually works.
11408
12203
#
11409
12204
if test -n "$lt_prog_compiler_pic_CXX"; then
11410
12205
 
11411
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11412
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12206
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12207
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11413
12208
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11414
12209
  echo $ECHO_N "(cached) $ECHO_C" >&6
11415
12210
else
11426
12221
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11427
12222
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11428
12223
   -e 's:$: $lt_compiler_flag:'`
11429
 
   (eval echo "\"\$as_me:11429: $lt_compile\"" >&5)
 
12224
   (eval echo "\"\$as_me:12224: $lt_compile\"" >&5)
11430
12225
   (eval "$lt_compile" 2>conftest.err)
11431
12226
   ac_status=$?
11432
12227
   cat conftest.err >&5
11433
 
   echo "$as_me:11433: \$? = $ac_status" >&5
 
12228
   echo "$as_me:12228: \$? = $ac_status" >&5
11434
12229
   if (exit $ac_status) && test -s "$ac_outfile"; then
11435
12230
     # The compiler can only warn and ignore the option if not recognized
11436
12231
     # So say no if there are warnings
11441
12236
   $rm conftest*
11442
12237
 
11443
12238
fi
11444
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11445
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12239
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12240
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11446
12241
 
11447
12242
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11448
12243
    case $lt_prog_compiler_pic_CXX in
11465
12260
    ;;
11466
12261
esac
11467
12262
 
11468
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11469
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12263
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12264
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11470
12265
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11471
12266
  echo $ECHO_N "(cached) $ECHO_C" >&6
11472
12267
else
11486
12281
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11487
12282
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11488
12283
   -e 's:$: $lt_compiler_flag:'`
11489
 
   (eval echo "\"\$as_me:11489: $lt_compile\"" >&5)
 
12284
   (eval echo "\"\$as_me:12284: $lt_compile\"" >&5)
11490
12285
   (eval "$lt_compile" 2>out/conftest.err)
11491
12286
   ac_status=$?
11492
12287
   cat out/conftest.err >&5
11493
 
   echo "$as_me:11493: \$? = $ac_status" >&5
 
12288
   echo "$as_me:12288: \$? = $ac_status" >&5
11494
12289
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11495
12290
   then
11496
12291
     # The compiler can only warn and ignore the option if not recognized
11510
12305
   $rm conftest*
11511
12306
 
11512
12307
fi
11513
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11514
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12308
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12309
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11515
12310
 
11516
12311
 
11517
12312
hard_links="nottested"
11518
12313
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11519
12314
  # do not overwrite the value of need_locks provided by the user
11520
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11521
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12315
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12316
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11522
12317
  hard_links=yes
11523
12318
  $rm conftest*
11524
12319
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11525
12320
  touch conftest.a
11526
12321
  ln conftest.a conftest.b 2>&5 || hard_links=no
11527
12322
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11528
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11529
 
echo "${ECHO_T}$hard_links" >&6
 
12323
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12324
echo "${ECHO_T}$hard_links" >&6; }
11530
12325
  if test "$hard_links" = no; then
11531
12326
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11532
12327
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11536
12331
  need_locks=no
11537
12332
fi
11538
12333
 
11539
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11540
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12334
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12335
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11541
12336
 
11542
12337
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11543
12338
  case $host_os in
11564
12359
  ;;
11565
12360
  esac
11566
12361
 
11567
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11568
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12362
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12363
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11569
12364
test "$ld_shlibs_CXX" = no && can_build_shared=no
11570
12365
 
11571
12366
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11590
12385
      # Test whether the compiler implicitly links with -lc since on some
11591
12386
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11592
12387
      # to ld, don't add -lc before -lgcc.
11593
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11594
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12388
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12389
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11595
12390
      $rm conftest*
11596
12391
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11597
12392
 
11627
12422
        cat conftest.err 1>&5
11628
12423
      fi
11629
12424
      $rm conftest*
11630
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11631
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12425
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12426
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11632
12427
      ;;
11633
12428
    esac
11634
12429
  fi
11635
12430
  ;;
11636
12431
esac
11637
12432
 
11638
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11639
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12433
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12434
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11640
12435
library_names_spec=
11641
12436
libname_spec='lib$name'
11642
12437
soname_spec=
12175
12970
  dynamic_linker=no
12176
12971
  ;;
12177
12972
esac
12178
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12179
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12973
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12974
echo "${ECHO_T}$dynamic_linker" >&6; }
12180
12975
test "$dynamic_linker" = no && can_build_shared=no
12181
12976
 
12182
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12183
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12977
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12978
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12184
12979
hardcode_action_CXX=
12185
12980
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12186
12981
   test -n "$runpath_var CXX" || \
12204
12999
  # directories.
12205
13000
  hardcode_action_CXX=unsupported
12206
13001
fi
12207
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12208
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13002
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13003
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12209
13004
 
12210
13005
if test "$hardcode_action_CXX" = relink; then
12211
13006
  # Fast installation is not supported
12218
13013
 
12219
13014
striplib=
12220
13015
old_striplib=
12221
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12222
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
13016
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
13017
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12223
13018
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12224
13019
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12225
13020
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12226
 
  echo "$as_me:$LINENO: result: yes" >&5
12227
 
echo "${ECHO_T}yes" >&6
 
13021
  { echo "$as_me:$LINENO: result: yes" >&5
 
13022
echo "${ECHO_T}yes" >&6; }
12228
13023
else
12229
13024
# FIXME - insert some real tests, host_os isn't really good enough
12230
13025
  case $host_os in
12231
13026
   darwin*)
12232
13027
       if test -n "$STRIP" ; then
12233
13028
         striplib="$STRIP -x"
12234
 
         echo "$as_me:$LINENO: result: yes" >&5
12235
 
echo "${ECHO_T}yes" >&6
 
13029
         { echo "$as_me:$LINENO: result: yes" >&5
 
13030
echo "${ECHO_T}yes" >&6; }
12236
13031
       else
12237
 
  echo "$as_me:$LINENO: result: no" >&5
12238
 
echo "${ECHO_T}no" >&6
 
13032
  { echo "$as_me:$LINENO: result: no" >&5
 
13033
echo "${ECHO_T}no" >&6; }
12239
13034
fi
12240
13035
       ;;
12241
13036
   *)
12242
 
  echo "$as_me:$LINENO: result: no" >&5
12243
 
echo "${ECHO_T}no" >&6
 
13037
  { echo "$as_me:$LINENO: result: no" >&5
 
13038
echo "${ECHO_T}no" >&6; }
12244
13039
    ;;
12245
13040
  esac
12246
13041
fi
12272
13067
 
12273
13068
  darwin*)
12274
13069
  # if libdl is installed we need to link against it
12275
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12276
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
13070
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13071
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12277
13072
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12278
13073
  echo $ECHO_N "(cached) $ECHO_C" >&6
12279
13074
else
12286
13081
cat >>conftest.$ac_ext <<_ACEOF
12287
13082
/* end confdefs.h.  */
12288
13083
 
12289
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13084
/* Override any GCC internal prototype to avoid an error.
 
13085
   Use char because int might match the return type of a GCC
 
13086
   builtin and then its argument prototype would still apply.  */
12290
13087
#ifdef __cplusplus
12291
13088
extern "C"
12292
13089
#endif
12293
 
/* We use char because int might match the return type of a gcc2
12294
 
   builtin and then its argument prototype would still apply.  */
12295
13090
char dlopen ();
12296
13091
int
12297
13092
main ()
12298
13093
{
12299
 
dlopen ();
 
13094
return dlopen ();
12300
13095
  ;
12301
13096
  return 0;
12302
13097
}
12303
13098
_ACEOF
12304
13099
rm -f conftest.$ac_objext conftest$ac_exeext
12305
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12306
 
  (eval $ac_link) 2>conftest.er1
 
13100
if { (ac_try="$ac_link"
 
13101
case "(($ac_try" in
 
13102
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13103
  *) ac_try_echo=$ac_try;;
 
13104
esac
 
13105
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13106
  (eval "$ac_link") 2>conftest.er1
12307
13107
  ac_status=$?
12308
13108
  grep -v '^ *+' conftest.er1 >conftest.err
12309
13109
  rm -f conftest.er1
12310
13110
  cat conftest.err >&5
12311
13111
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312
 
  (exit $ac_status); } &&
12313
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12314
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315
 
  (eval $ac_try) 2>&5
12316
 
  ac_status=$?
12317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318
 
  (exit $ac_status); }; } &&
12319
 
         { ac_try='test -s conftest$ac_exeext'
12320
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321
 
  (eval $ac_try) 2>&5
12322
 
  ac_status=$?
12323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324
 
  (exit $ac_status); }; }; then
 
13112
  (exit $ac_status); } && {
 
13113
         test -z "$ac_cxx_werror_flag" ||
 
13114
         test ! -s conftest.err
 
13115
       } && test -s conftest$ac_exeext &&
 
13116
       $as_test_x conftest$ac_exeext; then
12325
13117
  ac_cv_lib_dl_dlopen=yes
12326
13118
else
12327
13119
  echo "$as_me: failed program was:" >&5
12328
13120
sed 's/^/| /' conftest.$ac_ext >&5
12329
13121
 
12330
 
ac_cv_lib_dl_dlopen=no
 
13122
        ac_cv_lib_dl_dlopen=no
12331
13123
fi
12332
 
rm -f conftest.err conftest.$ac_objext \
 
13124
 
 
13125
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12333
13126
      conftest$ac_exeext conftest.$ac_ext
12334
13127
LIBS=$ac_check_lib_save_LIBS
12335
13128
fi
12336
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12337
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
13129
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13130
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12338
13131
if test $ac_cv_lib_dl_dlopen = yes; then
12339
13132
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12340
13133
else
12348
13141
   ;;
12349
13142
 
12350
13143
  *)
12351
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12352
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
13144
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
13145
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12353
13146
if test "${ac_cv_func_shl_load+set}" = set; then
12354
13147
  echo $ECHO_N "(cached) $ECHO_C" >&6
12355
13148
else
12376
13169
 
12377
13170
#undef shl_load
12378
13171
 
12379
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13172
/* Override any GCC internal prototype to avoid an error.
 
13173
   Use char because int might match the return type of a GCC
 
13174
   builtin and then its argument prototype would still apply.  */
12380
13175
#ifdef __cplusplus
12381
13176
extern "C"
12382
 
{
12383
13177
#endif
12384
 
/* We use char because int might match the return type of a gcc2
12385
 
   builtin and then its argument prototype would still apply.  */
12386
13178
char shl_load ();
12387
13179
/* The GNU C library defines this for functions which it implements
12388
13180
    to always fail with ENOSYS.  Some functions are actually named
12389
13181
    something starting with __ and the normal name is an alias.  */
12390
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
13182
#if defined __stub_shl_load || defined __stub___shl_load
12391
13183
choke me
12392
 
#else
12393
 
char (*f) () = shl_load;
12394
 
#endif
12395
 
#ifdef __cplusplus
12396
 
}
12397
13184
#endif
12398
13185
 
12399
13186
int
12400
13187
main ()
12401
13188
{
12402
 
return f != shl_load;
 
13189
return shl_load ();
12403
13190
  ;
12404
13191
  return 0;
12405
13192
}
12406
13193
_ACEOF
12407
13194
rm -f conftest.$ac_objext conftest$ac_exeext
12408
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12409
 
  (eval $ac_link) 2>conftest.er1
 
13195
if { (ac_try="$ac_link"
 
13196
case "(($ac_try" in
 
13197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13198
  *) ac_try_echo=$ac_try;;
 
13199
esac
 
13200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13201
  (eval "$ac_link") 2>conftest.er1
12410
13202
  ac_status=$?
12411
13203
  grep -v '^ *+' conftest.er1 >conftest.err
12412
13204
  rm -f conftest.er1
12413
13205
  cat conftest.err >&5
12414
13206
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415
 
  (exit $ac_status); } &&
12416
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12417
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418
 
  (eval $ac_try) 2>&5
12419
 
  ac_status=$?
12420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421
 
  (exit $ac_status); }; } &&
12422
 
         { ac_try='test -s conftest$ac_exeext'
12423
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424
 
  (eval $ac_try) 2>&5
12425
 
  ac_status=$?
12426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427
 
  (exit $ac_status); }; }; then
 
13207
  (exit $ac_status); } && {
 
13208
         test -z "$ac_cxx_werror_flag" ||
 
13209
         test ! -s conftest.err
 
13210
       } && test -s conftest$ac_exeext &&
 
13211
       $as_test_x conftest$ac_exeext; then
12428
13212
  ac_cv_func_shl_load=yes
12429
13213
else
12430
13214
  echo "$as_me: failed program was:" >&5
12431
13215
sed 's/^/| /' conftest.$ac_ext >&5
12432
13216
 
12433
 
ac_cv_func_shl_load=no
 
13217
        ac_cv_func_shl_load=no
12434
13218
fi
12435
 
rm -f conftest.err conftest.$ac_objext \
 
13219
 
 
13220
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12436
13221
      conftest$ac_exeext conftest.$ac_ext
12437
13222
fi
12438
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12439
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
13223
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
13224
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12440
13225
if test $ac_cv_func_shl_load = yes; then
12441
13226
  lt_cv_dlopen="shl_load"
12442
13227
else
12443
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12444
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
13228
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
13229
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12445
13230
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12446
13231
  echo $ECHO_N "(cached) $ECHO_C" >&6
12447
13232
else
12454
13239
cat >>conftest.$ac_ext <<_ACEOF
12455
13240
/* end confdefs.h.  */
12456
13241
 
12457
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13242
/* Override any GCC internal prototype to avoid an error.
 
13243
   Use char because int might match the return type of a GCC
 
13244
   builtin and then its argument prototype would still apply.  */
12458
13245
#ifdef __cplusplus
12459
13246
extern "C"
12460
13247
#endif
12461
 
/* We use char because int might match the return type of a gcc2
12462
 
   builtin and then its argument prototype would still apply.  */
12463
13248
char shl_load ();
12464
13249
int
12465
13250
main ()
12466
13251
{
12467
 
shl_load ();
 
13252
return shl_load ();
12468
13253
  ;
12469
13254
  return 0;
12470
13255
}
12471
13256
_ACEOF
12472
13257
rm -f conftest.$ac_objext conftest$ac_exeext
12473
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474
 
  (eval $ac_link) 2>conftest.er1
 
13258
if { (ac_try="$ac_link"
 
13259
case "(($ac_try" in
 
13260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13261
  *) ac_try_echo=$ac_try;;
 
13262
esac
 
13263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13264
  (eval "$ac_link") 2>conftest.er1
12475
13265
  ac_status=$?
12476
13266
  grep -v '^ *+' conftest.er1 >conftest.err
12477
13267
  rm -f conftest.er1
12478
13268
  cat conftest.err >&5
12479
13269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480
 
  (exit $ac_status); } &&
12481
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12482
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483
 
  (eval $ac_try) 2>&5
12484
 
  ac_status=$?
12485
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486
 
  (exit $ac_status); }; } &&
12487
 
         { ac_try='test -s conftest$ac_exeext'
12488
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489
 
  (eval $ac_try) 2>&5
12490
 
  ac_status=$?
12491
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492
 
  (exit $ac_status); }; }; then
 
13270
  (exit $ac_status); } && {
 
13271
         test -z "$ac_cxx_werror_flag" ||
 
13272
         test ! -s conftest.err
 
13273
       } && test -s conftest$ac_exeext &&
 
13274
       $as_test_x conftest$ac_exeext; then
12493
13275
  ac_cv_lib_dld_shl_load=yes
12494
13276
else
12495
13277
  echo "$as_me: failed program was:" >&5
12496
13278
sed 's/^/| /' conftest.$ac_ext >&5
12497
13279
 
12498
 
ac_cv_lib_dld_shl_load=no
 
13280
        ac_cv_lib_dld_shl_load=no
12499
13281
fi
12500
 
rm -f conftest.err conftest.$ac_objext \
 
13282
 
 
13283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12501
13284
      conftest$ac_exeext conftest.$ac_ext
12502
13285
LIBS=$ac_check_lib_save_LIBS
12503
13286
fi
12504
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12505
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
13287
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
13288
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12506
13289
if test $ac_cv_lib_dld_shl_load = yes; then
12507
13290
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12508
13291
else
12509
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12510
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
13292
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
13293
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12511
13294
if test "${ac_cv_func_dlopen+set}" = set; then
12512
13295
  echo $ECHO_N "(cached) $ECHO_C" >&6
12513
13296
else
12534
13317
 
12535
13318
#undef dlopen
12536
13319
 
12537
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13320
/* Override any GCC internal prototype to avoid an error.
 
13321
   Use char because int might match the return type of a GCC
 
13322
   builtin and then its argument prototype would still apply.  */
12538
13323
#ifdef __cplusplus
12539
13324
extern "C"
12540
 
{
12541
13325
#endif
12542
 
/* We use char because int might match the return type of a gcc2
12543
 
   builtin and then its argument prototype would still apply.  */
12544
13326
char dlopen ();
12545
13327
/* The GNU C library defines this for functions which it implements
12546
13328
    to always fail with ENOSYS.  Some functions are actually named
12547
13329
    something starting with __ and the normal name is an alias.  */
12548
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
13330
#if defined __stub_dlopen || defined __stub___dlopen
12549
13331
choke me
12550
 
#else
12551
 
char (*f) () = dlopen;
12552
 
#endif
12553
 
#ifdef __cplusplus
12554
 
}
12555
13332
#endif
12556
13333
 
12557
13334
int
12558
13335
main ()
12559
13336
{
12560
 
return f != dlopen;
 
13337
return dlopen ();
12561
13338
  ;
12562
13339
  return 0;
12563
13340
}
12564
13341
_ACEOF
12565
13342
rm -f conftest.$ac_objext conftest$ac_exeext
12566
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567
 
  (eval $ac_link) 2>conftest.er1
 
13343
if { (ac_try="$ac_link"
 
13344
case "(($ac_try" in
 
13345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13346
  *) ac_try_echo=$ac_try;;
 
13347
esac
 
13348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13349
  (eval "$ac_link") 2>conftest.er1
12568
13350
  ac_status=$?
12569
13351
  grep -v '^ *+' conftest.er1 >conftest.err
12570
13352
  rm -f conftest.er1
12571
13353
  cat conftest.err >&5
12572
13354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573
 
  (exit $ac_status); } &&
12574
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12575
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576
 
  (eval $ac_try) 2>&5
12577
 
  ac_status=$?
12578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579
 
  (exit $ac_status); }; } &&
12580
 
         { ac_try='test -s conftest$ac_exeext'
12581
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582
 
  (eval $ac_try) 2>&5
12583
 
  ac_status=$?
12584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585
 
  (exit $ac_status); }; }; then
 
13355
  (exit $ac_status); } && {
 
13356
         test -z "$ac_cxx_werror_flag" ||
 
13357
         test ! -s conftest.err
 
13358
       } && test -s conftest$ac_exeext &&
 
13359
       $as_test_x conftest$ac_exeext; then
12586
13360
  ac_cv_func_dlopen=yes
12587
13361
else
12588
13362
  echo "$as_me: failed program was:" >&5
12589
13363
sed 's/^/| /' conftest.$ac_ext >&5
12590
13364
 
12591
 
ac_cv_func_dlopen=no
 
13365
        ac_cv_func_dlopen=no
12592
13366
fi
12593
 
rm -f conftest.err conftest.$ac_objext \
 
13367
 
 
13368
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12594
13369
      conftest$ac_exeext conftest.$ac_ext
12595
13370
fi
12596
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12597
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
13371
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
13372
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12598
13373
if test $ac_cv_func_dlopen = yes; then
12599
13374
  lt_cv_dlopen="dlopen"
12600
13375
else
12601
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12602
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
13376
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13377
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12603
13378
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12604
13379
  echo $ECHO_N "(cached) $ECHO_C" >&6
12605
13380
else
12612
13387
cat >>conftest.$ac_ext <<_ACEOF
12613
13388
/* end confdefs.h.  */
12614
13389
 
12615
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13390
/* Override any GCC internal prototype to avoid an error.
 
13391
   Use char because int might match the return type of a GCC
 
13392
   builtin and then its argument prototype would still apply.  */
12616
13393
#ifdef __cplusplus
12617
13394
extern "C"
12618
13395
#endif
12619
 
/* We use char because int might match the return type of a gcc2
12620
 
   builtin and then its argument prototype would still apply.  */
12621
13396
char dlopen ();
12622
13397
int
12623
13398
main ()
12624
13399
{
12625
 
dlopen ();
 
13400
return dlopen ();
12626
13401
  ;
12627
13402
  return 0;
12628
13403
}
12629
13404
_ACEOF
12630
13405
rm -f conftest.$ac_objext conftest$ac_exeext
12631
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12632
 
  (eval $ac_link) 2>conftest.er1
 
13406
if { (ac_try="$ac_link"
 
13407
case "(($ac_try" in
 
13408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13409
  *) ac_try_echo=$ac_try;;
 
13410
esac
 
13411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13412
  (eval "$ac_link") 2>conftest.er1
12633
13413
  ac_status=$?
12634
13414
  grep -v '^ *+' conftest.er1 >conftest.err
12635
13415
  rm -f conftest.er1
12636
13416
  cat conftest.err >&5
12637
13417
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638
 
  (exit $ac_status); } &&
12639
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641
 
  (eval $ac_try) 2>&5
12642
 
  ac_status=$?
12643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644
 
  (exit $ac_status); }; } &&
12645
 
         { ac_try='test -s conftest$ac_exeext'
12646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647
 
  (eval $ac_try) 2>&5
12648
 
  ac_status=$?
12649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650
 
  (exit $ac_status); }; }; then
 
13418
  (exit $ac_status); } && {
 
13419
         test -z "$ac_cxx_werror_flag" ||
 
13420
         test ! -s conftest.err
 
13421
       } && test -s conftest$ac_exeext &&
 
13422
       $as_test_x conftest$ac_exeext; then
12651
13423
  ac_cv_lib_dl_dlopen=yes
12652
13424
else
12653
13425
  echo "$as_me: failed program was:" >&5
12654
13426
sed 's/^/| /' conftest.$ac_ext >&5
12655
13427
 
12656
 
ac_cv_lib_dl_dlopen=no
 
13428
        ac_cv_lib_dl_dlopen=no
12657
13429
fi
12658
 
rm -f conftest.err conftest.$ac_objext \
 
13430
 
 
13431
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12659
13432
      conftest$ac_exeext conftest.$ac_ext
12660
13433
LIBS=$ac_check_lib_save_LIBS
12661
13434
fi
12662
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12663
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
13435
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13436
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12664
13437
if test $ac_cv_lib_dl_dlopen = yes; then
12665
13438
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12666
13439
else
12667
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12668
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
13440
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
13441
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12669
13442
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12670
13443
  echo $ECHO_N "(cached) $ECHO_C" >&6
12671
13444
else
12678
13451
cat >>conftest.$ac_ext <<_ACEOF
12679
13452
/* end confdefs.h.  */
12680
13453
 
12681
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13454
/* Override any GCC internal prototype to avoid an error.
 
13455
   Use char because int might match the return type of a GCC
 
13456
   builtin and then its argument prototype would still apply.  */
12682
13457
#ifdef __cplusplus
12683
13458
extern "C"
12684
13459
#endif
12685
 
/* We use char because int might match the return type of a gcc2
12686
 
   builtin and then its argument prototype would still apply.  */
12687
13460
char dlopen ();
12688
13461
int
12689
13462
main ()
12690
13463
{
12691
 
dlopen ();
 
13464
return dlopen ();
12692
13465
  ;
12693
13466
  return 0;
12694
13467
}
12695
13468
_ACEOF
12696
13469
rm -f conftest.$ac_objext conftest$ac_exeext
12697
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12698
 
  (eval $ac_link) 2>conftest.er1
 
13470
if { (ac_try="$ac_link"
 
13471
case "(($ac_try" in
 
13472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13473
  *) ac_try_echo=$ac_try;;
 
13474
esac
 
13475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13476
  (eval "$ac_link") 2>conftest.er1
12699
13477
  ac_status=$?
12700
13478
  grep -v '^ *+' conftest.er1 >conftest.err
12701
13479
  rm -f conftest.er1
12702
13480
  cat conftest.err >&5
12703
13481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704
 
  (exit $ac_status); } &&
12705
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12706
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707
 
  (eval $ac_try) 2>&5
12708
 
  ac_status=$?
12709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710
 
  (exit $ac_status); }; } &&
12711
 
         { ac_try='test -s conftest$ac_exeext'
12712
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713
 
  (eval $ac_try) 2>&5
12714
 
  ac_status=$?
12715
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716
 
  (exit $ac_status); }; }; then
 
13482
  (exit $ac_status); } && {
 
13483
         test -z "$ac_cxx_werror_flag" ||
 
13484
         test ! -s conftest.err
 
13485
       } && test -s conftest$ac_exeext &&
 
13486
       $as_test_x conftest$ac_exeext; then
12717
13487
  ac_cv_lib_svld_dlopen=yes
12718
13488
else
12719
13489
  echo "$as_me: failed program was:" >&5
12720
13490
sed 's/^/| /' conftest.$ac_ext >&5
12721
13491
 
12722
 
ac_cv_lib_svld_dlopen=no
 
13492
        ac_cv_lib_svld_dlopen=no
12723
13493
fi
12724
 
rm -f conftest.err conftest.$ac_objext \
 
13494
 
 
13495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12725
13496
      conftest$ac_exeext conftest.$ac_ext
12726
13497
LIBS=$ac_check_lib_save_LIBS
12727
13498
fi
12728
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12729
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
13499
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
13500
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12730
13501
if test $ac_cv_lib_svld_dlopen = yes; then
12731
13502
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12732
13503
else
12733
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12734
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
13504
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
13505
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12735
13506
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12736
13507
  echo $ECHO_N "(cached) $ECHO_C" >&6
12737
13508
else
12744
13515
cat >>conftest.$ac_ext <<_ACEOF
12745
13516
/* end confdefs.h.  */
12746
13517
 
12747
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13518
/* Override any GCC internal prototype to avoid an error.
 
13519
   Use char because int might match the return type of a GCC
 
13520
   builtin and then its argument prototype would still apply.  */
12748
13521
#ifdef __cplusplus
12749
13522
extern "C"
12750
13523
#endif
12751
 
/* We use char because int might match the return type of a gcc2
12752
 
   builtin and then its argument prototype would still apply.  */
12753
13524
char dld_link ();
12754
13525
int
12755
13526
main ()
12756
13527
{
12757
 
dld_link ();
 
13528
return dld_link ();
12758
13529
  ;
12759
13530
  return 0;
12760
13531
}
12761
13532
_ACEOF
12762
13533
rm -f conftest.$ac_objext conftest$ac_exeext
12763
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12764
 
  (eval $ac_link) 2>conftest.er1
 
13534
if { (ac_try="$ac_link"
 
13535
case "(($ac_try" in
 
13536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13537
  *) ac_try_echo=$ac_try;;
 
13538
esac
 
13539
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13540
  (eval "$ac_link") 2>conftest.er1
12765
13541
  ac_status=$?
12766
13542
  grep -v '^ *+' conftest.er1 >conftest.err
12767
13543
  rm -f conftest.er1
12768
13544
  cat conftest.err >&5
12769
13545
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770
 
  (exit $ac_status); } &&
12771
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773
 
  (eval $ac_try) 2>&5
12774
 
  ac_status=$?
12775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776
 
  (exit $ac_status); }; } &&
12777
 
         { ac_try='test -s conftest$ac_exeext'
12778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779
 
  (eval $ac_try) 2>&5
12780
 
  ac_status=$?
12781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782
 
  (exit $ac_status); }; }; then
 
13546
  (exit $ac_status); } && {
 
13547
         test -z "$ac_cxx_werror_flag" ||
 
13548
         test ! -s conftest.err
 
13549
       } && test -s conftest$ac_exeext &&
 
13550
       $as_test_x conftest$ac_exeext; then
12783
13551
  ac_cv_lib_dld_dld_link=yes
12784
13552
else
12785
13553
  echo "$as_me: failed program was:" >&5
12786
13554
sed 's/^/| /' conftest.$ac_ext >&5
12787
13555
 
12788
 
ac_cv_lib_dld_dld_link=no
 
13556
        ac_cv_lib_dld_dld_link=no
12789
13557
fi
12790
 
rm -f conftest.err conftest.$ac_objext \
 
13558
 
 
13559
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12791
13560
      conftest$ac_exeext conftest.$ac_ext
12792
13561
LIBS=$ac_check_lib_save_LIBS
12793
13562
fi
12794
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12795
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
13563
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
13564
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12796
13565
if test $ac_cv_lib_dld_dld_link = yes; then
12797
13566
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12798
13567
fi
12832
13601
    save_LIBS="$LIBS"
12833
13602
    LIBS="$lt_cv_dlopen_libs $LIBS"
12834
13603
 
12835
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12836
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
13604
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
13605
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12837
13606
if test "${lt_cv_dlopen_self+set}" = set; then
12838
13607
  echo $ECHO_N "(cached) $ECHO_C" >&6
12839
13608
else
12843
13612
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12844
13613
  lt_status=$lt_dlunknown
12845
13614
  cat > conftest.$ac_ext <<EOF
12846
 
#line 12846 "configure"
 
13615
#line 13615 "configure"
12847
13616
#include "confdefs.h"
12848
13617
 
12849
13618
#if HAVE_DLFCN_H
12925
13694
 
12926
13695
 
12927
13696
fi
12928
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12929
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
13697
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13698
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12930
13699
 
12931
13700
    if test "x$lt_cv_dlopen_self" = xyes; then
12932
13701
      LDFLAGS="$LDFLAGS $link_static_flag"
12933
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12934
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
13702
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13703
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12935
13704
if test "${lt_cv_dlopen_self_static+set}" = set; then
12936
13705
  echo $ECHO_N "(cached) $ECHO_C" >&6
12937
13706
else
12941
13710
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12942
13711
  lt_status=$lt_dlunknown
12943
13712
  cat > conftest.$ac_ext <<EOF
12944
 
#line 12944 "configure"
 
13713
#line 13713 "configure"
12945
13714
#include "confdefs.h"
12946
13715
 
12947
13716
#if HAVE_DLFCN_H
13023
13792
 
13024
13793
 
13025
13794
fi
13026
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13027
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
13795
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13796
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13028
13797
    fi
13029
13798
 
13030
13799
    CPPFLAGS="$save_CPPFLAGS"
13523
14292
compiler_F77=$CC
13524
14293
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13525
14294
 
13526
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13527
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13528
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13529
 
echo "${ECHO_T}$can_build_shared" >&6
 
14295
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14296
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14297
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14298
echo "${ECHO_T}$can_build_shared" >&6; }
13530
14299
 
13531
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13532
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14300
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14301
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13533
14302
test "$can_build_shared" = "no" && enable_shared=no
13534
14303
 
13535
14304
# On AIX, shared libraries and static libraries use the same namespace, and
13546
14315
  test "$enable_shared" = yes && enable_static=no
13547
14316
  ;;
13548
14317
esac
13549
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13550
 
echo "${ECHO_T}$enable_shared" >&6
 
14318
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14319
echo "${ECHO_T}$enable_shared" >&6; }
13551
14320
 
13552
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13553
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14321
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14322
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13554
14323
# Make sure either enable_shared or enable_static is yes.
13555
14324
test "$enable_shared" = yes || enable_static=yes
13556
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13557
 
echo "${ECHO_T}$enable_static" >&6
 
14325
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14326
echo "${ECHO_T}$enable_static" >&6; }
13558
14327
 
13559
14328
test "$ld_shlibs_F77" = no && can_build_shared=no
13560
14329
 
13565
14334
lt_prog_compiler_pic_F77=
13566
14335
lt_prog_compiler_static_F77=
13567
14336
 
13568
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13569
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14337
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14338
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13570
14339
 
13571
14340
  if test "$GCC" = yes; then
13572
14341
    lt_prog_compiler_wl_F77='-Wl,'
13742
14511
    esac
13743
14512
  fi
13744
14513
 
13745
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13746
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14514
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14515
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13747
14516
 
13748
14517
#
13749
14518
# Check to make sure the PIC flag actually works.
13750
14519
#
13751
14520
if test -n "$lt_prog_compiler_pic_F77"; then
13752
14521
 
13753
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13754
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14522
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14523
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13755
14524
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13756
14525
  echo $ECHO_N "(cached) $ECHO_C" >&6
13757
14526
else
13768
14537
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13769
14538
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13770
14539
   -e 's:$: $lt_compiler_flag:'`
13771
 
   (eval echo "\"\$as_me:13771: $lt_compile\"" >&5)
 
14540
   (eval echo "\"\$as_me:14540: $lt_compile\"" >&5)
13772
14541
   (eval "$lt_compile" 2>conftest.err)
13773
14542
   ac_status=$?
13774
14543
   cat conftest.err >&5
13775
 
   echo "$as_me:13775: \$? = $ac_status" >&5
 
14544
   echo "$as_me:14544: \$? = $ac_status" >&5
13776
14545
   if (exit $ac_status) && test -s "$ac_outfile"; then
13777
14546
     # The compiler can only warn and ignore the option if not recognized
13778
14547
     # So say no if there are warnings
13783
14552
   $rm conftest*
13784
14553
 
13785
14554
fi
13786
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13787
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14555
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14556
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13788
14557
 
13789
14558
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13790
14559
    case $lt_prog_compiler_pic_F77 in
13807
14576
    ;;
13808
14577
esac
13809
14578
 
13810
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13811
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14579
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14580
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13812
14581
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13813
14582
  echo $ECHO_N "(cached) $ECHO_C" >&6
13814
14583
else
13828
14597
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13829
14598
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13830
14599
   -e 's:$: $lt_compiler_flag:'`
13831
 
   (eval echo "\"\$as_me:13831: $lt_compile\"" >&5)
 
14600
   (eval echo "\"\$as_me:14600: $lt_compile\"" >&5)
13832
14601
   (eval "$lt_compile" 2>out/conftest.err)
13833
14602
   ac_status=$?
13834
14603
   cat out/conftest.err >&5
13835
 
   echo "$as_me:13835: \$? = $ac_status" >&5
 
14604
   echo "$as_me:14604: \$? = $ac_status" >&5
13836
14605
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13837
14606
   then
13838
14607
     # The compiler can only warn and ignore the option if not recognized
13852
14621
   $rm conftest*
13853
14622
 
13854
14623
fi
13855
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13856
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14624
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14625
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13857
14626
 
13858
14627
 
13859
14628
hard_links="nottested"
13860
14629
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13861
14630
  # do not overwrite the value of need_locks provided by the user
13862
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13863
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14631
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14632
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13864
14633
  hard_links=yes
13865
14634
  $rm conftest*
13866
14635
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13867
14636
  touch conftest.a
13868
14637
  ln conftest.a conftest.b 2>&5 || hard_links=no
13869
14638
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13870
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13871
 
echo "${ECHO_T}$hard_links" >&6
 
14639
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14640
echo "${ECHO_T}$hard_links" >&6; }
13872
14641
  if test "$hard_links" = no; then
13873
14642
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13874
14643
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13878
14647
  need_locks=no
13879
14648
fi
13880
14649
 
13881
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13882
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14650
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14651
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13883
14652
 
13884
14653
  runpath_var=
13885
14654
  allow_undefined_flag_F77=
14202
14971
      end
14203
14972
_ACEOF
14204
14973
rm -f conftest.$ac_objext conftest$ac_exeext
14205
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206
 
  (eval $ac_link) 2>conftest.er1
 
14974
if { (ac_try="$ac_link"
 
14975
case "(($ac_try" in
 
14976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14977
  *) ac_try_echo=$ac_try;;
 
14978
esac
 
14979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14980
  (eval "$ac_link") 2>conftest.er1
14207
14981
  ac_status=$?
14208
14982
  grep -v '^ *+' conftest.er1 >conftest.err
14209
14983
  rm -f conftest.er1
14210
14984
  cat conftest.err >&5
14211
14985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212
 
  (exit $ac_status); } &&
14213
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14214
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215
 
  (eval $ac_try) 2>&5
14216
 
  ac_status=$?
14217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218
 
  (exit $ac_status); }; } &&
14219
 
         { ac_try='test -s conftest$ac_exeext'
14220
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221
 
  (eval $ac_try) 2>&5
14222
 
  ac_status=$?
14223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224
 
  (exit $ac_status); }; }; then
 
14986
  (exit $ac_status); } && {
 
14987
         test -z "$ac_f77_werror_flag" ||
 
14988
         test ! -s conftest.err
 
14989
       } && test -s conftest$ac_exeext &&
 
14990
       $as_test_x conftest$ac_exeext; then
14225
14991
 
14226
14992
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14227
14993
}'`
14232
14998
  echo "$as_me: failed program was:" >&5
14233
14999
sed 's/^/| /' conftest.$ac_ext >&5
14234
15000
 
 
15001
 
14235
15002
fi
14236
 
rm -f conftest.err conftest.$ac_objext \
 
15003
 
 
15004
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14237
15005
      conftest$ac_exeext conftest.$ac_ext
14238
15006
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14239
15007
 
14252
15020
      end
14253
15021
_ACEOF
14254
15022
rm -f conftest.$ac_objext conftest$ac_exeext
14255
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14256
 
  (eval $ac_link) 2>conftest.er1
 
15023
if { (ac_try="$ac_link"
 
15024
case "(($ac_try" in
 
15025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15026
  *) ac_try_echo=$ac_try;;
 
15027
esac
 
15028
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15029
  (eval "$ac_link") 2>conftest.er1
14257
15030
  ac_status=$?
14258
15031
  grep -v '^ *+' conftest.er1 >conftest.err
14259
15032
  rm -f conftest.er1
14260
15033
  cat conftest.err >&5
14261
15034
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262
 
  (exit $ac_status); } &&
14263
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14265
 
  (eval $ac_try) 2>&5
14266
 
  ac_status=$?
14267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268
 
  (exit $ac_status); }; } &&
14269
 
         { ac_try='test -s conftest$ac_exeext'
14270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271
 
  (eval $ac_try) 2>&5
14272
 
  ac_status=$?
14273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274
 
  (exit $ac_status); }; }; then
 
15035
  (exit $ac_status); } && {
 
15036
         test -z "$ac_f77_werror_flag" ||
 
15037
         test ! -s conftest.err
 
15038
       } && test -s conftest$ac_exeext &&
 
15039
       $as_test_x conftest$ac_exeext; then
14275
15040
 
14276
15041
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14277
15042
}'`
14282
15047
  echo "$as_me: failed program was:" >&5
14283
15048
sed 's/^/| /' conftest.$ac_ext >&5
14284
15049
 
 
15050
 
14285
15051
fi
14286
 
rm -f conftest.err conftest.$ac_objext \
 
15052
 
 
15053
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14287
15054
      conftest$ac_exeext conftest.$ac_ext
14288
15055
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14289
15056
 
14705
15472
    esac
14706
15473
  fi
14707
15474
 
14708
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14709
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15475
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15476
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14710
15477
test "$ld_shlibs_F77" = no && can_build_shared=no
14711
15478
 
14712
15479
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14731
15498
      # Test whether the compiler implicitly links with -lc since on some
14732
15499
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14733
15500
      # to ld, don't add -lc before -lgcc.
14734
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14735
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15501
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15502
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14736
15503
      $rm conftest*
14737
15504
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14738
15505
 
14768
15535
        cat conftest.err 1>&5
14769
15536
      fi
14770
15537
      $rm conftest*
14771
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14772
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15538
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15539
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14773
15540
      ;;
14774
15541
    esac
14775
15542
  fi
14776
15543
  ;;
14777
15544
esac
14778
15545
 
14779
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14780
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15546
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15547
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14781
15548
library_names_spec=
14782
15549
libname_spec='lib$name'
14783
15550
soname_spec=
15316
16083
  dynamic_linker=no
15317
16084
  ;;
15318
16085
esac
15319
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15320
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16086
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16087
echo "${ECHO_T}$dynamic_linker" >&6; }
15321
16088
test "$dynamic_linker" = no && can_build_shared=no
15322
16089
 
15323
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15324
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16090
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16091
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15325
16092
hardcode_action_F77=
15326
16093
if test -n "$hardcode_libdir_flag_spec_F77" || \
15327
16094
   test -n "$runpath_var F77" || \
15345
16112
  # directories.
15346
16113
  hardcode_action_F77=unsupported
15347
16114
fi
15348
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15349
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16115
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16116
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15350
16117
 
15351
16118
if test "$hardcode_action_F77" = relink; then
15352
16119
  # Fast installation is not supported
15359
16126
 
15360
16127
striplib=
15361
16128
old_striplib=
15362
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15363
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
16129
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
16130
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15364
16131
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15365
16132
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15366
16133
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15367
 
  echo "$as_me:$LINENO: result: yes" >&5
15368
 
echo "${ECHO_T}yes" >&6
 
16134
  { echo "$as_me:$LINENO: result: yes" >&5
 
16135
echo "${ECHO_T}yes" >&6; }
15369
16136
else
15370
16137
# FIXME - insert some real tests, host_os isn't really good enough
15371
16138
  case $host_os in
15372
16139
   darwin*)
15373
16140
       if test -n "$STRIP" ; then
15374
16141
         striplib="$STRIP -x"
15375
 
         echo "$as_me:$LINENO: result: yes" >&5
15376
 
echo "${ECHO_T}yes" >&6
 
16142
         { echo "$as_me:$LINENO: result: yes" >&5
 
16143
echo "${ECHO_T}yes" >&6; }
15377
16144
       else
15378
 
  echo "$as_me:$LINENO: result: no" >&5
15379
 
echo "${ECHO_T}no" >&6
 
16145
  { echo "$as_me:$LINENO: result: no" >&5
 
16146
echo "${ECHO_T}no" >&6; }
15380
16147
fi
15381
16148
       ;;
15382
16149
   *)
15383
 
  echo "$as_me:$LINENO: result: no" >&5
15384
 
echo "${ECHO_T}no" >&6
 
16150
  { echo "$as_me:$LINENO: result: no" >&5
 
16151
echo "${ECHO_T}no" >&6; }
15385
16152
    ;;
15386
16153
  esac
15387
16154
fi
15804
16571
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15805
16572
 
15806
16573
 
15807
 
 
15808
16574
# Source file extension for Java test sources.
15809
16575
ac_ext=java
15810
16576
 
15847
16613
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15848
16614
 
15849
16615
 
15850
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15851
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16616
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16617
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15852
16618
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15853
16619
  echo $ECHO_N "(cached) $ECHO_C" >&6
15854
16620
else
15865
16631
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15866
16632
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15867
16633
   -e 's:$: $lt_compiler_flag:'`
15868
 
   (eval echo "\"\$as_me:15868: $lt_compile\"" >&5)
 
16634
   (eval echo "\"\$as_me:16634: $lt_compile\"" >&5)
15869
16635
   (eval "$lt_compile" 2>conftest.err)
15870
16636
   ac_status=$?
15871
16637
   cat conftest.err >&5
15872
 
   echo "$as_me:15872: \$? = $ac_status" >&5
 
16638
   echo "$as_me:16638: \$? = $ac_status" >&5
15873
16639
   if (exit $ac_status) && test -s "$ac_outfile"; then
15874
16640
     # The compiler can only warn and ignore the option if not recognized
15875
16641
     # So say no if there are warnings
15880
16646
   $rm conftest*
15881
16647
 
15882
16648
fi
15883
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15884
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16649
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16650
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15885
16651
 
15886
16652
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15887
16653
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15895
16661
lt_prog_compiler_pic_GCJ=
15896
16662
lt_prog_compiler_static_GCJ=
15897
16663
 
15898
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15899
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16664
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16665
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15900
16666
 
15901
16667
  if test "$GCC" = yes; then
15902
16668
    lt_prog_compiler_wl_GCJ='-Wl,'
16072
16838
    esac
16073
16839
  fi
16074
16840
 
16075
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16076
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16841
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16842
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16077
16843
 
16078
16844
#
16079
16845
# Check to make sure the PIC flag actually works.
16080
16846
#
16081
16847
if test -n "$lt_prog_compiler_pic_GCJ"; then
16082
16848
 
16083
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16084
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16849
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16850
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16085
16851
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16086
16852
  echo $ECHO_N "(cached) $ECHO_C" >&6
16087
16853
else
16098
16864
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16099
16865
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16100
16866
   -e 's:$: $lt_compiler_flag:'`
16101
 
   (eval echo "\"\$as_me:16101: $lt_compile\"" >&5)
 
16867
   (eval echo "\"\$as_me:16867: $lt_compile\"" >&5)
16102
16868
   (eval "$lt_compile" 2>conftest.err)
16103
16869
   ac_status=$?
16104
16870
   cat conftest.err >&5
16105
 
   echo "$as_me:16105: \$? = $ac_status" >&5
 
16871
   echo "$as_me:16871: \$? = $ac_status" >&5
16106
16872
   if (exit $ac_status) && test -s "$ac_outfile"; then
16107
16873
     # The compiler can only warn and ignore the option if not recognized
16108
16874
     # So say no if there are warnings
16113
16879
   $rm conftest*
16114
16880
 
16115
16881
fi
16116
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16117
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16882
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16883
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16118
16884
 
16119
16885
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16120
16886
    case $lt_prog_compiler_pic_GCJ in
16137
16903
    ;;
16138
16904
esac
16139
16905
 
16140
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16141
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16906
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16907
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16142
16908
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16143
16909
  echo $ECHO_N "(cached) $ECHO_C" >&6
16144
16910
else
16158
16924
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16159
16925
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16160
16926
   -e 's:$: $lt_compiler_flag:'`
16161
 
   (eval echo "\"\$as_me:16161: $lt_compile\"" >&5)
 
16927
   (eval echo "\"\$as_me:16927: $lt_compile\"" >&5)
16162
16928
   (eval "$lt_compile" 2>out/conftest.err)
16163
16929
   ac_status=$?
16164
16930
   cat out/conftest.err >&5
16165
 
   echo "$as_me:16165: \$? = $ac_status" >&5
 
16931
   echo "$as_me:16931: \$? = $ac_status" >&5
16166
16932
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16167
16933
   then
16168
16934
     # The compiler can only warn and ignore the option if not recognized
16182
16948
   $rm conftest*
16183
16949
 
16184
16950
fi
16185
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16186
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16951
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16952
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16187
16953
 
16188
16954
 
16189
16955
hard_links="nottested"
16190
16956
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16191
16957
  # do not overwrite the value of need_locks provided by the user
16192
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16193
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16958
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16959
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16194
16960
  hard_links=yes
16195
16961
  $rm conftest*
16196
16962
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16197
16963
  touch conftest.a
16198
16964
  ln conftest.a conftest.b 2>&5 || hard_links=no
16199
16965
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16200
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16201
 
echo "${ECHO_T}$hard_links" >&6
 
16966
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16967
echo "${ECHO_T}$hard_links" >&6; }
16202
16968
  if test "$hard_links" = no; then
16203
16969
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16204
16970
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16208
16974
  need_locks=no
16209
16975
fi
16210
16976
 
16211
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16212
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16977
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16978
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16213
16979
 
16214
16980
  runpath_var=
16215
16981
  allow_undefined_flag_GCJ=
16542
17308
}
16543
17309
_ACEOF
16544
17310
rm -f conftest.$ac_objext conftest$ac_exeext
16545
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16546
 
  (eval $ac_link) 2>conftest.er1
 
17311
if { (ac_try="$ac_link"
 
17312
case "(($ac_try" in
 
17313
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17314
  *) ac_try_echo=$ac_try;;
 
17315
esac
 
17316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17317
  (eval "$ac_link") 2>conftest.er1
16547
17318
  ac_status=$?
16548
17319
  grep -v '^ *+' conftest.er1 >conftest.err
16549
17320
  rm -f conftest.er1
16550
17321
  cat conftest.err >&5
16551
17322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552
 
  (exit $ac_status); } &&
16553
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16554
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555
 
  (eval $ac_try) 2>&5
16556
 
  ac_status=$?
16557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558
 
  (exit $ac_status); }; } &&
16559
 
         { ac_try='test -s conftest$ac_exeext'
16560
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561
 
  (eval $ac_try) 2>&5
16562
 
  ac_status=$?
16563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564
 
  (exit $ac_status); }; }; then
 
17323
  (exit $ac_status); } && {
 
17324
         test -z "$ac_c_werror_flag" ||
 
17325
         test ! -s conftest.err
 
17326
       } && test -s conftest$ac_exeext &&
 
17327
       $as_test_x conftest$ac_exeext; then
16565
17328
 
16566
17329
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16567
17330
}'`
16572
17335
  echo "$as_me: failed program was:" >&5
16573
17336
sed 's/^/| /' conftest.$ac_ext >&5
16574
17337
 
 
17338
 
16575
17339
fi
16576
 
rm -f conftest.err conftest.$ac_objext \
 
17340
 
 
17341
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16577
17342
      conftest$ac_exeext conftest.$ac_ext
16578
17343
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16579
17344
 
16602
17367
}
16603
17368
_ACEOF
16604
17369
rm -f conftest.$ac_objext conftest$ac_exeext
16605
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16606
 
  (eval $ac_link) 2>conftest.er1
 
17370
if { (ac_try="$ac_link"
 
17371
case "(($ac_try" in
 
17372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17373
  *) ac_try_echo=$ac_try;;
 
17374
esac
 
17375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17376
  (eval "$ac_link") 2>conftest.er1
16607
17377
  ac_status=$?
16608
17378
  grep -v '^ *+' conftest.er1 >conftest.err
16609
17379
  rm -f conftest.er1
16610
17380
  cat conftest.err >&5
16611
17381
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612
 
  (exit $ac_status); } &&
16613
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16614
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615
 
  (eval $ac_try) 2>&5
16616
 
  ac_status=$?
16617
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618
 
  (exit $ac_status); }; } &&
16619
 
         { ac_try='test -s conftest$ac_exeext'
16620
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621
 
  (eval $ac_try) 2>&5
16622
 
  ac_status=$?
16623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624
 
  (exit $ac_status); }; }; then
 
17382
  (exit $ac_status); } && {
 
17383
         test -z "$ac_c_werror_flag" ||
 
17384
         test ! -s conftest.err
 
17385
       } && test -s conftest$ac_exeext &&
 
17386
       $as_test_x conftest$ac_exeext; then
16625
17387
 
16626
17388
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16627
17389
}'`
16632
17394
  echo "$as_me: failed program was:" >&5
16633
17395
sed 's/^/| /' conftest.$ac_ext >&5
16634
17396
 
 
17397
 
16635
17398
fi
16636
 
rm -f conftest.err conftest.$ac_objext \
 
17399
 
 
17400
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16637
17401
      conftest$ac_exeext conftest.$ac_ext
16638
17402
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16639
17403
 
17055
17819
    esac
17056
17820
  fi
17057
17821
 
17058
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17059
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17822
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17823
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17060
17824
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17061
17825
 
17062
17826
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17081
17845
      # Test whether the compiler implicitly links with -lc since on some
17082
17846
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17083
17847
      # to ld, don't add -lc before -lgcc.
17084
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17085
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17848
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17849
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17086
17850
      $rm conftest*
17087
17851
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17088
17852
 
17118
17882
        cat conftest.err 1>&5
17119
17883
      fi
17120
17884
      $rm conftest*
17121
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17122
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17885
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17886
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17123
17887
      ;;
17124
17888
    esac
17125
17889
  fi
17126
17890
  ;;
17127
17891
esac
17128
17892
 
17129
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17130
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17893
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17894
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17131
17895
library_names_spec=
17132
17896
libname_spec='lib$name'
17133
17897
soname_spec=
17666
18430
  dynamic_linker=no
17667
18431
  ;;
17668
18432
esac
17669
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17670
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18433
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18434
echo "${ECHO_T}$dynamic_linker" >&6; }
17671
18435
test "$dynamic_linker" = no && can_build_shared=no
17672
18436
 
17673
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17674
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18437
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18438
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17675
18439
hardcode_action_GCJ=
17676
18440
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17677
18441
   test -n "$runpath_var GCJ" || \
17695
18459
  # directories.
17696
18460
  hardcode_action_GCJ=unsupported
17697
18461
fi
17698
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17699
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18462
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18463
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17700
18464
 
17701
18465
if test "$hardcode_action_GCJ" = relink; then
17702
18466
  # Fast installation is not supported
17709
18473
 
17710
18474
striplib=
17711
18475
old_striplib=
17712
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17713
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
18476
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
18477
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17714
18478
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17715
18479
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17716
18480
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17717
 
  echo "$as_me:$LINENO: result: yes" >&5
17718
 
echo "${ECHO_T}yes" >&6
 
18481
  { echo "$as_me:$LINENO: result: yes" >&5
 
18482
echo "${ECHO_T}yes" >&6; }
17719
18483
else
17720
18484
# FIXME - insert some real tests, host_os isn't really good enough
17721
18485
  case $host_os in
17722
18486
   darwin*)
17723
18487
       if test -n "$STRIP" ; then
17724
18488
         striplib="$STRIP -x"
17725
 
         echo "$as_me:$LINENO: result: yes" >&5
17726
 
echo "${ECHO_T}yes" >&6
 
18489
         { echo "$as_me:$LINENO: result: yes" >&5
 
18490
echo "${ECHO_T}yes" >&6; }
17727
18491
       else
17728
 
  echo "$as_me:$LINENO: result: no" >&5
17729
 
echo "${ECHO_T}no" >&6
 
18492
  { echo "$as_me:$LINENO: result: no" >&5
 
18493
echo "${ECHO_T}no" >&6; }
17730
18494
fi
17731
18495
       ;;
17732
18496
   *)
17733
 
  echo "$as_me:$LINENO: result: no" >&5
17734
 
echo "${ECHO_T}no" >&6
 
18497
  { echo "$as_me:$LINENO: result: no" >&5
 
18498
echo "${ECHO_T}no" >&6; }
17735
18499
    ;;
17736
18500
  esac
17737
18501
fi
17763
18527
 
17764
18528
  darwin*)
17765
18529
  # if libdl is installed we need to link against it
17766
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17767
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
18530
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
18531
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17768
18532
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17769
18533
  echo $ECHO_N "(cached) $ECHO_C" >&6
17770
18534
else
17777
18541
cat >>conftest.$ac_ext <<_ACEOF
17778
18542
/* end confdefs.h.  */
17779
18543
 
17780
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18544
/* Override any GCC internal prototype to avoid an error.
 
18545
   Use char because int might match the return type of a GCC
 
18546
   builtin and then its argument prototype would still apply.  */
17781
18547
#ifdef __cplusplus
17782
18548
extern "C"
17783
18549
#endif
17784
 
/* We use char because int might match the return type of a gcc2
17785
 
   builtin and then its argument prototype would still apply.  */
17786
18550
char dlopen ();
17787
18551
int
17788
18552
main ()
17789
18553
{
17790
 
dlopen ();
 
18554
return dlopen ();
17791
18555
  ;
17792
18556
  return 0;
17793
18557
}
17794
18558
_ACEOF
17795
18559
rm -f conftest.$ac_objext conftest$ac_exeext
17796
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17797
 
  (eval $ac_link) 2>conftest.er1
 
18560
if { (ac_try="$ac_link"
 
18561
case "(($ac_try" in
 
18562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18563
  *) ac_try_echo=$ac_try;;
 
18564
esac
 
18565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18566
  (eval "$ac_link") 2>conftest.er1
17798
18567
  ac_status=$?
17799
18568
  grep -v '^ *+' conftest.er1 >conftest.err
17800
18569
  rm -f conftest.er1
17801
18570
  cat conftest.err >&5
17802
18571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803
 
  (exit $ac_status); } &&
17804
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806
 
  (eval $ac_try) 2>&5
17807
 
  ac_status=$?
17808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809
 
  (exit $ac_status); }; } &&
17810
 
         { ac_try='test -s conftest$ac_exeext'
17811
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812
 
  (eval $ac_try) 2>&5
17813
 
  ac_status=$?
17814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815
 
  (exit $ac_status); }; }; then
 
18572
  (exit $ac_status); } && {
 
18573
         test -z "$ac_c_werror_flag" ||
 
18574
         test ! -s conftest.err
 
18575
       } && test -s conftest$ac_exeext &&
 
18576
       $as_test_x conftest$ac_exeext; then
17816
18577
  ac_cv_lib_dl_dlopen=yes
17817
18578
else
17818
18579
  echo "$as_me: failed program was:" >&5
17819
18580
sed 's/^/| /' conftest.$ac_ext >&5
17820
18581
 
17821
 
ac_cv_lib_dl_dlopen=no
 
18582
        ac_cv_lib_dl_dlopen=no
17822
18583
fi
17823
 
rm -f conftest.err conftest.$ac_objext \
 
18584
 
 
18585
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17824
18586
      conftest$ac_exeext conftest.$ac_ext
17825
18587
LIBS=$ac_check_lib_save_LIBS
17826
18588
fi
17827
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17828
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
18589
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
18590
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17829
18591
if test $ac_cv_lib_dl_dlopen = yes; then
17830
18592
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17831
18593
else
17839
18601
   ;;
17840
18602
 
17841
18603
  *)
17842
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17843
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
18604
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
18605
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17844
18606
if test "${ac_cv_func_shl_load+set}" = set; then
17845
18607
  echo $ECHO_N "(cached) $ECHO_C" >&6
17846
18608
else
17867
18629
 
17868
18630
#undef shl_load
17869
18631
 
17870
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18632
/* Override any GCC internal prototype to avoid an error.
 
18633
   Use char because int might match the return type of a GCC
 
18634
   builtin and then its argument prototype would still apply.  */
17871
18635
#ifdef __cplusplus
17872
18636
extern "C"
17873
 
{
17874
18637
#endif
17875
 
/* We use char because int might match the return type of a gcc2
17876
 
   builtin and then its argument prototype would still apply.  */
17877
18638
char shl_load ();
17878
18639
/* The GNU C library defines this for functions which it implements
17879
18640
    to always fail with ENOSYS.  Some functions are actually named
17880
18641
    something starting with __ and the normal name is an alias.  */
17881
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
18642
#if defined __stub_shl_load || defined __stub___shl_load
17882
18643
choke me
17883
 
#else
17884
 
char (*f) () = shl_load;
17885
 
#endif
17886
 
#ifdef __cplusplus
17887
 
}
17888
18644
#endif
17889
18645
 
17890
18646
int
17891
18647
main ()
17892
18648
{
17893
 
return f != shl_load;
 
18649
return shl_load ();
17894
18650
  ;
17895
18651
  return 0;
17896
18652
}
17897
18653
_ACEOF
17898
18654
rm -f conftest.$ac_objext conftest$ac_exeext
17899
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17900
 
  (eval $ac_link) 2>conftest.er1
 
18655
if { (ac_try="$ac_link"
 
18656
case "(($ac_try" in
 
18657
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18658
  *) ac_try_echo=$ac_try;;
 
18659
esac
 
18660
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18661
  (eval "$ac_link") 2>conftest.er1
17901
18662
  ac_status=$?
17902
18663
  grep -v '^ *+' conftest.er1 >conftest.err
17903
18664
  rm -f conftest.er1
17904
18665
  cat conftest.err >&5
17905
18666
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906
 
  (exit $ac_status); } &&
17907
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17908
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909
 
  (eval $ac_try) 2>&5
17910
 
  ac_status=$?
17911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912
 
  (exit $ac_status); }; } &&
17913
 
         { ac_try='test -s conftest$ac_exeext'
17914
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915
 
  (eval $ac_try) 2>&5
17916
 
  ac_status=$?
17917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918
 
  (exit $ac_status); }; }; then
 
18667
  (exit $ac_status); } && {
 
18668
         test -z "$ac_c_werror_flag" ||
 
18669
         test ! -s conftest.err
 
18670
       } && test -s conftest$ac_exeext &&
 
18671
       $as_test_x conftest$ac_exeext; then
17919
18672
  ac_cv_func_shl_load=yes
17920
18673
else
17921
18674
  echo "$as_me: failed program was:" >&5
17922
18675
sed 's/^/| /' conftest.$ac_ext >&5
17923
18676
 
17924
 
ac_cv_func_shl_load=no
 
18677
        ac_cv_func_shl_load=no
17925
18678
fi
17926
 
rm -f conftest.err conftest.$ac_objext \
 
18679
 
 
18680
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17927
18681
      conftest$ac_exeext conftest.$ac_ext
17928
18682
fi
17929
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17930
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
18683
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
18684
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17931
18685
if test $ac_cv_func_shl_load = yes; then
17932
18686
  lt_cv_dlopen="shl_load"
17933
18687
else
17934
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17935
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
18688
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
18689
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17936
18690
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17937
18691
  echo $ECHO_N "(cached) $ECHO_C" >&6
17938
18692
else
17945
18699
cat >>conftest.$ac_ext <<_ACEOF
17946
18700
/* end confdefs.h.  */
17947
18701
 
17948
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18702
/* Override any GCC internal prototype to avoid an error.
 
18703
   Use char because int might match the return type of a GCC
 
18704
   builtin and then its argument prototype would still apply.  */
17949
18705
#ifdef __cplusplus
17950
18706
extern "C"
17951
18707
#endif
17952
 
/* We use char because int might match the return type of a gcc2
17953
 
   builtin and then its argument prototype would still apply.  */
17954
18708
char shl_load ();
17955
18709
int
17956
18710
main ()
17957
18711
{
17958
 
shl_load ();
 
18712
return shl_load ();
17959
18713
  ;
17960
18714
  return 0;
17961
18715
}
17962
18716
_ACEOF
17963
18717
rm -f conftest.$ac_objext conftest$ac_exeext
17964
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17965
 
  (eval $ac_link) 2>conftest.er1
 
18718
if { (ac_try="$ac_link"
 
18719
case "(($ac_try" in
 
18720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18721
  *) ac_try_echo=$ac_try;;
 
18722
esac
 
18723
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18724
  (eval "$ac_link") 2>conftest.er1
17966
18725
  ac_status=$?
17967
18726
  grep -v '^ *+' conftest.er1 >conftest.err
17968
18727
  rm -f conftest.er1
17969
18728
  cat conftest.err >&5
17970
18729
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971
 
  (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
17975
 
  ac_status=$?
17976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977
 
  (exit $ac_status); }; } &&
17978
 
         { ac_try='test -s conftest$ac_exeext'
17979
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980
 
  (eval $ac_try) 2>&5
17981
 
  ac_status=$?
17982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983
 
  (exit $ac_status); }; }; then
 
18730
  (exit $ac_status); } && {
 
18731
         test -z "$ac_c_werror_flag" ||
 
18732
         test ! -s conftest.err
 
18733
       } && test -s conftest$ac_exeext &&
 
18734
       $as_test_x conftest$ac_exeext; then
17984
18735
  ac_cv_lib_dld_shl_load=yes
17985
18736
else
17986
18737
  echo "$as_me: failed program was:" >&5
17987
18738
sed 's/^/| /' conftest.$ac_ext >&5
17988
18739
 
17989
 
ac_cv_lib_dld_shl_load=no
 
18740
        ac_cv_lib_dld_shl_load=no
17990
18741
fi
17991
 
rm -f conftest.err conftest.$ac_objext \
 
18742
 
 
18743
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17992
18744
      conftest$ac_exeext conftest.$ac_ext
17993
18745
LIBS=$ac_check_lib_save_LIBS
17994
18746
fi
17995
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17996
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
18747
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
18748
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17997
18749
if test $ac_cv_lib_dld_shl_load = yes; then
17998
18750
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17999
18751
else
18000
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
18001
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
18752
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
18753
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
18002
18754
if test "${ac_cv_func_dlopen+set}" = set; then
18003
18755
  echo $ECHO_N "(cached) $ECHO_C" >&6
18004
18756
else
18025
18777
 
18026
18778
#undef dlopen
18027
18779
 
18028
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18780
/* Override any GCC internal prototype to avoid an error.
 
18781
   Use char because int might match the return type of a GCC
 
18782
   builtin and then its argument prototype would still apply.  */
18029
18783
#ifdef __cplusplus
18030
18784
extern "C"
18031
 
{
18032
18785
#endif
18033
 
/* We use char because int might match the return type of a gcc2
18034
 
   builtin and then its argument prototype would still apply.  */
18035
18786
char dlopen ();
18036
18787
/* The GNU C library defines this for functions which it implements
18037
18788
    to always fail with ENOSYS.  Some functions are actually named
18038
18789
    something starting with __ and the normal name is an alias.  */
18039
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
18790
#if defined __stub_dlopen || defined __stub___dlopen
18040
18791
choke me
18041
 
#else
18042
 
char (*f) () = dlopen;
18043
 
#endif
18044
 
#ifdef __cplusplus
18045
 
}
18046
18792
#endif
18047
18793
 
18048
18794
int
18049
18795
main ()
18050
18796
{
18051
 
return f != dlopen;
 
18797
return dlopen ();
18052
18798
  ;
18053
18799
  return 0;
18054
18800
}
18055
18801
_ACEOF
18056
18802
rm -f conftest.$ac_objext conftest$ac_exeext
18057
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18058
 
  (eval $ac_link) 2>conftest.er1
 
18803
if { (ac_try="$ac_link"
 
18804
case "(($ac_try" in
 
18805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18806
  *) ac_try_echo=$ac_try;;
 
18807
esac
 
18808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18809
  (eval "$ac_link") 2>conftest.er1
18059
18810
  ac_status=$?
18060
18811
  grep -v '^ *+' conftest.er1 >conftest.err
18061
18812
  rm -f conftest.er1
18062
18813
  cat conftest.err >&5
18063
18814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064
 
  (exit $ac_status); } &&
18065
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18066
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067
 
  (eval $ac_try) 2>&5
18068
 
  ac_status=$?
18069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070
 
  (exit $ac_status); }; } &&
18071
 
         { ac_try='test -s conftest$ac_exeext'
18072
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073
 
  (eval $ac_try) 2>&5
18074
 
  ac_status=$?
18075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076
 
  (exit $ac_status); }; }; then
 
18815
  (exit $ac_status); } && {
 
18816
         test -z "$ac_c_werror_flag" ||
 
18817
         test ! -s conftest.err
 
18818
       } && test -s conftest$ac_exeext &&
 
18819
       $as_test_x conftest$ac_exeext; then
18077
18820
  ac_cv_func_dlopen=yes
18078
18821
else
18079
18822
  echo "$as_me: failed program was:" >&5
18080
18823
sed 's/^/| /' conftest.$ac_ext >&5
18081
18824
 
18082
 
ac_cv_func_dlopen=no
 
18825
        ac_cv_func_dlopen=no
18083
18826
fi
18084
 
rm -f conftest.err conftest.$ac_objext \
 
18827
 
 
18828
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18085
18829
      conftest$ac_exeext conftest.$ac_ext
18086
18830
fi
18087
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18088
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
18831
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
18832
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
18089
18833
if test $ac_cv_func_dlopen = yes; then
18090
18834
  lt_cv_dlopen="dlopen"
18091
18835
else
18092
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18093
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
18836
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
18837
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18094
18838
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18095
18839
  echo $ECHO_N "(cached) $ECHO_C" >&6
18096
18840
else
18103
18847
cat >>conftest.$ac_ext <<_ACEOF
18104
18848
/* end confdefs.h.  */
18105
18849
 
18106
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18850
/* Override any GCC internal prototype to avoid an error.
 
18851
   Use char because int might match the return type of a GCC
 
18852
   builtin and then its argument prototype would still apply.  */
18107
18853
#ifdef __cplusplus
18108
18854
extern "C"
18109
18855
#endif
18110
 
/* We use char because int might match the return type of a gcc2
18111
 
   builtin and then its argument prototype would still apply.  */
18112
18856
char dlopen ();
18113
18857
int
18114
18858
main ()
18115
18859
{
18116
 
dlopen ();
 
18860
return dlopen ();
18117
18861
  ;
18118
18862
  return 0;
18119
18863
}
18120
18864
_ACEOF
18121
18865
rm -f conftest.$ac_objext conftest$ac_exeext
18122
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18123
 
  (eval $ac_link) 2>conftest.er1
 
18866
if { (ac_try="$ac_link"
 
18867
case "(($ac_try" in
 
18868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18869
  *) ac_try_echo=$ac_try;;
 
18870
esac
 
18871
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18872
  (eval "$ac_link") 2>conftest.er1
18124
18873
  ac_status=$?
18125
18874
  grep -v '^ *+' conftest.er1 >conftest.err
18126
18875
  rm -f conftest.er1
18127
18876
  cat conftest.err >&5
18128
18877
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129
 
  (exit $ac_status); } &&
18130
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18131
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132
 
  (eval $ac_try) 2>&5
18133
 
  ac_status=$?
18134
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135
 
  (exit $ac_status); }; } &&
18136
 
         { ac_try='test -s conftest$ac_exeext'
18137
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138
 
  (eval $ac_try) 2>&5
18139
 
  ac_status=$?
18140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141
 
  (exit $ac_status); }; }; then
 
18878
  (exit $ac_status); } && {
 
18879
         test -z "$ac_c_werror_flag" ||
 
18880
         test ! -s conftest.err
 
18881
       } && test -s conftest$ac_exeext &&
 
18882
       $as_test_x conftest$ac_exeext; then
18142
18883
  ac_cv_lib_dl_dlopen=yes
18143
18884
else
18144
18885
  echo "$as_me: failed program was:" >&5
18145
18886
sed 's/^/| /' conftest.$ac_ext >&5
18146
18887
 
18147
 
ac_cv_lib_dl_dlopen=no
 
18888
        ac_cv_lib_dl_dlopen=no
18148
18889
fi
18149
 
rm -f conftest.err conftest.$ac_objext \
 
18890
 
 
18891
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18150
18892
      conftest$ac_exeext conftest.$ac_ext
18151
18893
LIBS=$ac_check_lib_save_LIBS
18152
18894
fi
18153
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18154
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
18895
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
18896
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18155
18897
if test $ac_cv_lib_dl_dlopen = yes; then
18156
18898
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18157
18899
else
18158
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18159
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
18900
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
18901
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
18160
18902
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18161
18903
  echo $ECHO_N "(cached) $ECHO_C" >&6
18162
18904
else
18169
18911
cat >>conftest.$ac_ext <<_ACEOF
18170
18912
/* end confdefs.h.  */
18171
18913
 
18172
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18914
/* Override any GCC internal prototype to avoid an error.
 
18915
   Use char because int might match the return type of a GCC
 
18916
   builtin and then its argument prototype would still apply.  */
18173
18917
#ifdef __cplusplus
18174
18918
extern "C"
18175
18919
#endif
18176
 
/* We use char because int might match the return type of a gcc2
18177
 
   builtin and then its argument prototype would still apply.  */
18178
18920
char dlopen ();
18179
18921
int
18180
18922
main ()
18181
18923
{
18182
 
dlopen ();
 
18924
return dlopen ();
18183
18925
  ;
18184
18926
  return 0;
18185
18927
}
18186
18928
_ACEOF
18187
18929
rm -f conftest.$ac_objext conftest$ac_exeext
18188
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18189
 
  (eval $ac_link) 2>conftest.er1
 
18930
if { (ac_try="$ac_link"
 
18931
case "(($ac_try" in
 
18932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18933
  *) ac_try_echo=$ac_try;;
 
18934
esac
 
18935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18936
  (eval "$ac_link") 2>conftest.er1
18190
18937
  ac_status=$?
18191
18938
  grep -v '^ *+' conftest.er1 >conftest.err
18192
18939
  rm -f conftest.er1
18193
18940
  cat conftest.err >&5
18194
18941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195
 
  (exit $ac_status); } &&
18196
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18197
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198
 
  (eval $ac_try) 2>&5
18199
 
  ac_status=$?
18200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201
 
  (exit $ac_status); }; } &&
18202
 
         { ac_try='test -s conftest$ac_exeext'
18203
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204
 
  (eval $ac_try) 2>&5
18205
 
  ac_status=$?
18206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207
 
  (exit $ac_status); }; }; then
 
18942
  (exit $ac_status); } && {
 
18943
         test -z "$ac_c_werror_flag" ||
 
18944
         test ! -s conftest.err
 
18945
       } && test -s conftest$ac_exeext &&
 
18946
       $as_test_x conftest$ac_exeext; then
18208
18947
  ac_cv_lib_svld_dlopen=yes
18209
18948
else
18210
18949
  echo "$as_me: failed program was:" >&5
18211
18950
sed 's/^/| /' conftest.$ac_ext >&5
18212
18951
 
18213
 
ac_cv_lib_svld_dlopen=no
 
18952
        ac_cv_lib_svld_dlopen=no
18214
18953
fi
18215
 
rm -f conftest.err conftest.$ac_objext \
 
18954
 
 
18955
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18216
18956
      conftest$ac_exeext conftest.$ac_ext
18217
18957
LIBS=$ac_check_lib_save_LIBS
18218
18958
fi
18219
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18220
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
18959
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
18960
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
18221
18961
if test $ac_cv_lib_svld_dlopen = yes; then
18222
18962
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18223
18963
else
18224
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18225
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
18964
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
18965
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
18226
18966
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18227
18967
  echo $ECHO_N "(cached) $ECHO_C" >&6
18228
18968
else
18235
18975
cat >>conftest.$ac_ext <<_ACEOF
18236
18976
/* end confdefs.h.  */
18237
18977
 
18238
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18978
/* Override any GCC internal prototype to avoid an error.
 
18979
   Use char because int might match the return type of a GCC
 
18980
   builtin and then its argument prototype would still apply.  */
18239
18981
#ifdef __cplusplus
18240
18982
extern "C"
18241
18983
#endif
18242
 
/* We use char because int might match the return type of a gcc2
18243
 
   builtin and then its argument prototype would still apply.  */
18244
18984
char dld_link ();
18245
18985
int
18246
18986
main ()
18247
18987
{
18248
 
dld_link ();
 
18988
return dld_link ();
18249
18989
  ;
18250
18990
  return 0;
18251
18991
}
18252
18992
_ACEOF
18253
18993
rm -f conftest.$ac_objext conftest$ac_exeext
18254
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18255
 
  (eval $ac_link) 2>conftest.er1
 
18994
if { (ac_try="$ac_link"
 
18995
case "(($ac_try" in
 
18996
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18997
  *) ac_try_echo=$ac_try;;
 
18998
esac
 
18999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19000
  (eval "$ac_link") 2>conftest.er1
18256
19001
  ac_status=$?
18257
19002
  grep -v '^ *+' conftest.er1 >conftest.err
18258
19003
  rm -f conftest.er1
18259
19004
  cat conftest.err >&5
18260
19005
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261
 
  (exit $ac_status); } &&
18262
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18263
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264
 
  (eval $ac_try) 2>&5
18265
 
  ac_status=$?
18266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267
 
  (exit $ac_status); }; } &&
18268
 
         { ac_try='test -s conftest$ac_exeext'
18269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270
 
  (eval $ac_try) 2>&5
18271
 
  ac_status=$?
18272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273
 
  (exit $ac_status); }; }; then
 
19006
  (exit $ac_status); } && {
 
19007
         test -z "$ac_c_werror_flag" ||
 
19008
         test ! -s conftest.err
 
19009
       } && test -s conftest$ac_exeext &&
 
19010
       $as_test_x conftest$ac_exeext; then
18274
19011
  ac_cv_lib_dld_dld_link=yes
18275
19012
else
18276
19013
  echo "$as_me: failed program was:" >&5
18277
19014
sed 's/^/| /' conftest.$ac_ext >&5
18278
19015
 
18279
 
ac_cv_lib_dld_dld_link=no
 
19016
        ac_cv_lib_dld_dld_link=no
18280
19017
fi
18281
 
rm -f conftest.err conftest.$ac_objext \
 
19018
 
 
19019
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18282
19020
      conftest$ac_exeext conftest.$ac_ext
18283
19021
LIBS=$ac_check_lib_save_LIBS
18284
19022
fi
18285
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18286
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
19023
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
19024
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18287
19025
if test $ac_cv_lib_dld_dld_link = yes; then
18288
19026
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18289
19027
fi
18323
19061
    save_LIBS="$LIBS"
18324
19062
    LIBS="$lt_cv_dlopen_libs $LIBS"
18325
19063
 
18326
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18327
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
19064
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
19065
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18328
19066
if test "${lt_cv_dlopen_self+set}" = set; then
18329
19067
  echo $ECHO_N "(cached) $ECHO_C" >&6
18330
19068
else
18334
19072
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18335
19073
  lt_status=$lt_dlunknown
18336
19074
  cat > conftest.$ac_ext <<EOF
18337
 
#line 18337 "configure"
 
19075
#line 19075 "configure"
18338
19076
#include "confdefs.h"
18339
19077
 
18340
19078
#if HAVE_DLFCN_H
18416
19154
 
18417
19155
 
18418
19156
fi
18419
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18420
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
19157
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
19158
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18421
19159
 
18422
19160
    if test "x$lt_cv_dlopen_self" = xyes; then
18423
19161
      LDFLAGS="$LDFLAGS $link_static_flag"
18424
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18425
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
19162
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
19163
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18426
19164
if test "${lt_cv_dlopen_self_static+set}" = set; then
18427
19165
  echo $ECHO_N "(cached) $ECHO_C" >&6
18428
19166
else
18432
19170
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18433
19171
  lt_status=$lt_dlunknown
18434
19172
  cat > conftest.$ac_ext <<EOF
18435
 
#line 18435 "configure"
 
19173
#line 19173 "configure"
18436
19174
#include "confdefs.h"
18437
19175
 
18438
19176
#if HAVE_DLFCN_H
18514
19252
 
18515
19253
 
18516
19254
fi
18517
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18518
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
19255
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
19256
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
18519
19257
    fi
18520
19258
 
18521
19259
    CPPFLAGS="$save_CPPFLAGS"
18951
19689
      RC)
18952
19690
 
18953
19691
 
18954
 
 
18955
19692
# Source file extension for RC test sources.
18956
19693
ac_ext=rc
18957
19694
 
19458
20195
        have_ld_version_script=yes
19459
20196
        ;;
19460
20197
esac
19461
 
 
19462
 
 
19463
 
if test "$have_ld_version_script" = "yes"; then
 
20198
 if test "$have_ld_version_script" = "yes"; then
19464
20199
  HAVE_LD_VERSION_SCRIPT_TRUE=
19465
20200
  HAVE_LD_VERSION_SCRIPT_FALSE='#'
19466
20201
else
19480
20215
        have_dosish_system=yes
19481
20216
        have_w32_system=yes
19482
20217
        GPG_DEFAULT='c:\\gnupg\\gpg.exe'
19483
 
        # XXX Assuan is not supported in this configuration.
19484
 
        #GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe'
 
20218
        GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe'
19485
20219
        #component_system='COM+'
19486
20220
        ;;
19487
20221
    *)
19493
20227
 
19494
20228
 
19495
20229
 
19496
 
echo "$as_me:$LINENO: checking for GNU Pth" >&5
19497
 
echo $ECHO_N "checking for GNU Pth... $ECHO_C" >&6
 
20230
{ echo "$as_me:$LINENO: checking for GNU Pth" >&5
 
20231
echo $ECHO_N "checking for GNU Pth... $ECHO_C" >&6; }
19498
20232
if test ".$verbose" = .yes; then
19499
 
    echo "$as_me:$LINENO: result:   " >&5
19500
 
echo "${ECHO_T}  " >&6
 
20233
    { echo "$as_me:$LINENO: result:   " >&5
 
20234
echo "${ECHO_T}  " >&6; }
19501
20235
fi
19502
20236
 
19503
20237
 
19504
 
# Check whether --with-pth or --without-pth was given.
 
20238
# Check whether --with-pth was given.
19505
20239
if test "${with_pth+set}" = set; then
19506
 
  withval="$with_pth"
19507
 
 
 
20240
  withval=$with_pth;
19508
20241
else
19509
20242
  with_pth="yes"
19510
20243
 
19511
 
fi;
19512
 
# Check whether --with-pth-test or --without-pth-test was given.
 
20244
fi
 
20245
 
 
20246
# Check whether --with-pth-test was given.
19513
20247
if test "${with_pth_test+set}" = set; then
19514
 
  withval="$with_pth_test"
19515
 
 
 
20248
  withval=$with_pth_test;
19516
20249
else
19517
20250
  with_pth_test="yes"
19518
20251
 
19519
 
fi; if test ".$verbose" = .yes; then
19520
 
    echo "$as_me:$LINENO: result:   + Command Line Options:" >&5
19521
 
echo "${ECHO_T}  + Command Line Options:" >&6
19522
 
fi
19523
 
 
19524
 
if test ".$verbose" = .yes; then
19525
 
    echo "$as_me:$LINENO: result:       o --with-pth=$with_pth" >&5
19526
 
echo "${ECHO_T}      o --with-pth=$with_pth" >&6
19527
 
fi
19528
 
 
19529
 
if test ".$verbose" = .yes; then
19530
 
    echo "$as_me:$LINENO: result:       o --with-pth-test=$with_pth_test" >&5
19531
 
echo "${ECHO_T}      o --with-pth-test=$with_pth_test" >&6
 
20252
fi
 
20253
if test ".$verbose" = .yes; then
 
20254
    { echo "$as_me:$LINENO: result:   + Command Line Options:" >&5
 
20255
echo "${ECHO_T}  + Command Line Options:" >&6; }
 
20256
fi
 
20257
 
 
20258
if test ".$verbose" = .yes; then
 
20259
    { echo "$as_me:$LINENO: result:       o --with-pth=$with_pth" >&5
 
20260
echo "${ECHO_T}      o --with-pth=$with_pth" >&6; }
 
20261
fi
 
20262
 
 
20263
if test ".$verbose" = .yes; then
 
20264
    { echo "$as_me:$LINENO: result:       o --with-pth-test=$with_pth_test" >&5
 
20265
echo "${ECHO_T}      o --with-pth-test=$with_pth_test" >&6; }
19532
20266
fi
19533
20267
 
19534
20268
if test ".$with_pth" != .no; then
19558
20292
            _pth_cppflags=`pth-config --cflags`
19559
20293
            _pth_cflags=`pth-config --cflags`
19560
20294
            _pth_ldflags=`pth-config --ldflags`
19561
 
            _pth_libs=`pth-config --libs`
 
20295
            _pth_libs=`pth-config --libs --all`
19562
20296
        fi
19563
20297
    elif test -d "$with_pth"; then
19564
20298
        with_pth=`echo $with_pth | sed -e 's;/*$;;'`
19595
20329
                        _pth_cppflags=`$_dir/pth-config --cflags`
19596
20330
                        _pth_cflags=`$_dir/pth-config --cflags`
19597
20331
                        _pth_ldflags=`$_dir/pth-config --ldflags`
19598
 
                        _pth_libs=`$_dir/pth-config --libs`
 
20332
                        _pth_libs=`$_dir/pth-config --libs --all`
19599
20333
                        _pth_found=yes
19600
20334
                        break
19601
20335
                    fi
19635
20369
        fi
19636
20370
    fi
19637
20371
    if test ".$verbose" = .yes; then
19638
 
    echo "$as_me:$LINENO: result:   + Determined Location:" >&5
19639
 
echo "${ECHO_T}  + Determined Location:" >&6
19640
 
fi
19641
 
 
19642
 
    if test ".$verbose" = .yes; then
19643
 
    echo "$as_me:$LINENO: result:       o path: $_pth_location" >&5
19644
 
echo "${ECHO_T}      o path: $_pth_location" >&6
19645
 
fi
19646
 
 
19647
 
    if test ".$verbose" = .yes; then
19648
 
    echo "$as_me:$LINENO: result:       o type: $_pth_type" >&5
19649
 
echo "${ECHO_T}      o type: $_pth_type" >&6
 
20372
    { echo "$as_me:$LINENO: result:   + Determined Location:" >&5
 
20373
echo "${ECHO_T}  + Determined Location:" >&6; }
 
20374
fi
 
20375
 
 
20376
    if test ".$verbose" = .yes; then
 
20377
    { echo "$as_me:$LINENO: result:       o path: $_pth_location" >&5
 
20378
echo "${ECHO_T}      o path: $_pth_location" >&6; }
 
20379
fi
 
20380
 
 
20381
    if test ".$verbose" = .yes; then
 
20382
    { echo "$as_me:$LINENO: result:       o type: $_pth_type" >&5
 
20383
echo "${ECHO_T}      o type: $_pth_type" >&6; }
19650
20384
fi
19651
20385
 
19652
20386
    if test ".$_pth_version" = .; then
19669
20403
        eval "${_var}_hex=\"\$_hex\""
19670
20404
    done
19671
20405
    if test ".$verbose" = .yes; then
19672
 
    echo "$as_me:$LINENO: result:   + Determined Versions:" >&5
19673
 
echo "${ECHO_T}  + Determined Versions:" >&6
19674
 
fi
19675
 
 
19676
 
    if test ".$verbose" = .yes; then
19677
 
    echo "$as_me:$LINENO: result:       o existing: $_pth_version -> 0x$_pth_version_hex" >&5
19678
 
echo "${ECHO_T}      o existing: $_pth_version -> 0x$_pth_version_hex" >&6
19679
 
fi
19680
 
 
19681
 
    if test ".$verbose" = .yes; then
19682
 
    echo "$as_me:$LINENO: result:       o required: $_req_version -> 0x$_req_version_hex" >&5
19683
 
echo "${ECHO_T}      o required: $_req_version -> 0x$_req_version_hex" >&6
 
20406
    { echo "$as_me:$LINENO: result:   + Determined Versions:" >&5
 
20407
echo "${ECHO_T}  + Determined Versions:" >&6; }
 
20408
fi
 
20409
 
 
20410
    if test ".$verbose" = .yes; then
 
20411
    { echo "$as_me:$LINENO: result:       o existing: $_pth_version -> 0x$_pth_version_hex" >&5
 
20412
echo "${ECHO_T}      o existing: $_pth_version -> 0x$_pth_version_hex" >&6; }
 
20413
fi
 
20414
 
 
20415
    if test ".$verbose" = .yes; then
 
20416
    { echo "$as_me:$LINENO: result:       o required: $_req_version -> 0x$_req_version_hex" >&5
 
20417
echo "${ECHO_T}      o required: $_req_version -> 0x$_req_version_hex" >&6; }
19684
20418
fi
19685
20419
 
19686
20420
    _ok=0
19692
20426
        fi
19693
20427
    fi
19694
20428
    if test ".$_ok" = .0; then
19695
 
        echo "$as_me:$LINENO: result: *FAILED*" >&5
19696
 
echo "${ECHO_T}*FAILED*" >&6
 
20429
        { echo "$as_me:$LINENO: result: *FAILED*" >&5
 
20430
echo "${ECHO_T}*FAILED*" >&6; }
19697
20431
cat <<EOT | sed -e 's/^[        ]*/ | /' -e 's/>>/  /' 1>&2
19698
20432
        Found Pth version $_pth_version, but required at least version $_req_version.
19699
20433
        Upgrade Pth under $_pth_location to $_req_version or higher first, please.
19711
20445
        LDFLAGS="$LDFLAGS $_pth_ldflags"
19712
20446
        LIBS="$LIBS $_pth_libs"
19713
20447
        if test ".$verbose" = .yes; then
19714
 
    echo "$as_me:$LINENO: result:   + Test Build Environment:" >&5
19715
 
echo "${ECHO_T}  + Test Build Environment:" >&6
19716
 
fi
19717
 
 
19718
 
        if test ".$verbose" = .yes; then
19719
 
    echo "$as_me:$LINENO: result:       o CPPFLAGS=\"$CPPFLAGS\"" >&5
19720
 
echo "${ECHO_T}      o CPPFLAGS=\"$CPPFLAGS\"" >&6
19721
 
fi
19722
 
 
19723
 
        if test ".$verbose" = .yes; then
19724
 
    echo "$as_me:$LINENO: result:       o CFLAGS=\"$CFLAGS\"" >&5
19725
 
echo "${ECHO_T}      o CFLAGS=\"$CFLAGS\"" >&6
19726
 
fi
19727
 
 
19728
 
        if test ".$verbose" = .yes; then
19729
 
    echo "$as_me:$LINENO: result:       o LDFLAGS=\"$LDFLAGS\"" >&5
19730
 
echo "${ECHO_T}      o LDFLAGS=\"$LDFLAGS\"" >&6
19731
 
fi
19732
 
 
19733
 
        if test ".$verbose" = .yes; then
19734
 
    echo "$as_me:$LINENO: result:       o LIBS=\"$LIBS\"" >&5
19735
 
echo "${ECHO_T}      o LIBS=\"$LIBS\"" >&6
 
20448
    { echo "$as_me:$LINENO: result:   + Test Build Environment:" >&5
 
20449
echo "${ECHO_T}  + Test Build Environment:" >&6; }
 
20450
fi
 
20451
 
 
20452
        if test ".$verbose" = .yes; then
 
20453
    { echo "$as_me:$LINENO: result:       o CPPFLAGS=\"$CPPFLAGS\"" >&5
 
20454
echo "${ECHO_T}      o CPPFLAGS=\"$CPPFLAGS\"" >&6; }
 
20455
fi
 
20456
 
 
20457
        if test ".$verbose" = .yes; then
 
20458
    { echo "$as_me:$LINENO: result:       o CFLAGS=\"$CFLAGS\"" >&5
 
20459
echo "${ECHO_T}      o CFLAGS=\"$CFLAGS\"" >&6; }
 
20460
fi
 
20461
 
 
20462
        if test ".$verbose" = .yes; then
 
20463
    { echo "$as_me:$LINENO: result:       o LDFLAGS=\"$LDFLAGS\"" >&5
 
20464
echo "${ECHO_T}      o LDFLAGS=\"$LDFLAGS\"" >&6; }
 
20465
fi
 
20466
 
 
20467
        if test ".$verbose" = .yes; then
 
20468
    { echo "$as_me:$LINENO: result:       o LIBS=\"$LIBS\"" >&5
 
20469
echo "${ECHO_T}      o LIBS=\"$LIBS\"" >&6; }
19736
20470
fi
19737
20471
 
19738
20472
        cross_compile=no
19739
20473
 
19740
20474
 
19741
20475
        if test ".$verbose" = .yes; then
19742
 
    echo "$as_me:$LINENO: result:   + Performing Sanity Checks:" >&5
19743
 
echo "${ECHO_T}  + Performing Sanity Checks:" >&6
 
20476
    { echo "$as_me:$LINENO: result:   + Performing Sanity Checks:" >&5
 
20477
echo "${ECHO_T}  + Performing Sanity Checks:" >&6; }
19744
20478
fi
19745
20479
 
19746
20480
        if test ".$verbose" = .yes; then
19747
 
    echo "$as_me:$LINENO: result:       o pre-processor test" >&5
19748
 
echo "${ECHO_T}      o pre-processor test" >&6
 
20481
    { echo "$as_me:$LINENO: result:       o pre-processor test" >&5
 
20482
echo "${ECHO_T}      o pre-processor test" >&6; }
19749
20483
fi
19750
20484
 
19751
20485
        cat >conftest.$ac_ext <<_ACEOF
19758
20492
        #include <pth.h>
19759
20493
 
19760
20494
_ACEOF
19761
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19762
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20495
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20496
case "(($ac_try" in
 
20497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20498
  *) ac_try_echo=$ac_try;;
 
20499
esac
 
20500
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20501
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19763
20502
  ac_status=$?
19764
20503
  grep -v '^ *+' conftest.er1 >conftest.err
19765
20504
  rm -f conftest.er1
19766
20505
  cat conftest.err >&5
19767
20506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768
 
  (exit $ac_status); } >/dev/null; then
19769
 
  if test -s conftest.err; then
19770
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19771
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19772
 
  else
19773
 
    ac_cpp_err=
19774
 
  fi
19775
 
else
19776
 
  ac_cpp_err=yes
19777
 
fi
19778
 
if test -z "$ac_cpp_err"; then
 
20507
  (exit $ac_status); } >/dev/null && {
 
20508
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20509
         test ! -s conftest.err
 
20510
       }; then
19779
20511
  _ok=yes
19780
20512
else
19781
20513
  echo "$as_me: failed program was:" >&5
19783
20515
 
19784
20516
  _ok=no
19785
20517
fi
 
20518
 
19786
20519
rm -f conftest.err conftest.$ac_ext
19787
20520
        if test ".$_ok" != .yes; then
19788
 
            echo "$as_me:$LINENO: result: *FAILED*" >&5
19789
 
echo "${ECHO_T}*FAILED*" >&6
 
20521
            { echo "$as_me:$LINENO: result: *FAILED*" >&5
 
20522
echo "${ECHO_T}*FAILED*" >&6; }
19790
20523
cat <<EOT | sed -e 's/^[        ]*/ | /' -e 's/>>/  /' 1>&2
19791
20524
            Found GNU Pth $_pth_version under $_pth_location, but
19792
20525
            was unable to perform a sanity pre-processor check. This means
19800
20533
 
19801
20534
        fi
19802
20535
        if test ".$verbose" = .yes; then
19803
 
    echo "$as_me:$LINENO: result:       o link check" >&5
19804
 
echo "${ECHO_T}      o link check" >&6
 
20536
    { echo "$as_me:$LINENO: result:       o link check" >&5
 
20537
echo "${ECHO_T}      o link check" >&6; }
19805
20538
fi
19806
20539
 
19807
20540
        cat >conftest.$ac_ext <<_ACEOF
19834
20567
}
19835
20568
_ACEOF
19836
20569
rm -f conftest.$ac_objext conftest$ac_exeext
19837
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19838
 
  (eval $ac_link) 2>conftest.er1
 
20570
if { (ac_try="$ac_link"
 
20571
case "(($ac_try" in
 
20572
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20573
  *) ac_try_echo=$ac_try;;
 
20574
esac
 
20575
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20576
  (eval "$ac_link") 2>conftest.er1
19839
20577
  ac_status=$?
19840
20578
  grep -v '^ *+' conftest.er1 >conftest.err
19841
20579
  rm -f conftest.er1
19842
20580
  cat conftest.err >&5
19843
20581
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844
 
  (exit $ac_status); } &&
19845
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847
 
  (eval $ac_try) 2>&5
19848
 
  ac_status=$?
19849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850
 
  (exit $ac_status); }; } &&
19851
 
         { ac_try='test -s conftest$ac_exeext'
19852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853
 
  (eval $ac_try) 2>&5
19854
 
  ac_status=$?
19855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856
 
  (exit $ac_status); }; }; then
 
20582
  (exit $ac_status); } && {
 
20583
         test -z "$ac_c_werror_flag" ||
 
20584
         test ! -s conftest.err
 
20585
       } && test -s conftest$ac_exeext &&
 
20586
       $as_test_x conftest$ac_exeext; then
19857
20587
  _ok=yes
19858
20588
else
19859
20589
  echo "$as_me: failed program was:" >&5
19860
20590
sed 's/^/| /' conftest.$ac_ext >&5
19861
20591
 
19862
 
_ok=no
 
20592
        _ok=no
19863
20593
fi
19864
 
rm -f conftest.err conftest.$ac_objext \
 
20594
 
 
20595
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19865
20596
      conftest$ac_exeext conftest.$ac_ext
19866
20597
        if test ".$_ok" != .yes; then
19867
 
            echo "$as_me:$LINENO: result: *FAILED*" >&5
19868
 
echo "${ECHO_T}*FAILED*" >&6
 
20598
            { echo "$as_me:$LINENO: result: *FAILED*" >&5
 
20599
echo "${ECHO_T}*FAILED*" >&6; }
19869
20600
cat <<EOT | sed -e 's/^[        ]*/ | /' -e 's/>>/  /' 1>&2
19870
20601
            Found GNU Pth $_pth_version under $_pth_location, but
19871
20602
            was unable to perform a sanity linker check. This means
19881
20612
 
19882
20613
        fi
19883
20614
        if test ".$verbose" = .yes; then
19884
 
    echo "$as_me:$LINENO: result:       o run-time check" >&5
19885
 
echo "${ECHO_T}      o run-time check" >&6
 
20615
    { echo "$as_me:$LINENO: result:       o run-time check" >&5
 
20616
echo "${ECHO_T}      o run-time check" >&6; }
19886
20617
fi
19887
20618
 
19888
20619
        if test "$cross_compiling" = yes; then
19923
20654
}
19924
20655
_ACEOF
19925
20656
rm -f conftest$ac_exeext
19926
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19927
 
  (eval $ac_link) 2>&5
 
20657
if { (ac_try="$ac_link"
 
20658
case "(($ac_try" in
 
20659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20660
  *) ac_try_echo=$ac_try;;
 
20661
esac
 
20662
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20663
  (eval "$ac_link") 2>&5
19928
20664
  ac_status=$?
19929
20665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930
20666
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19931
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932
 
  (eval $ac_try) 2>&5
 
20667
  { (case "(($ac_try" in
 
20668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20669
  *) ac_try_echo=$ac_try;;
 
20670
esac
 
20671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20672
  (eval "$ac_try") 2>&5
19933
20673
  ac_status=$?
19934
20674
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935
20675
  (exit $ac_status); }; }; then
19942
20682
( exit $ac_status )
19943
20683
_ok=no
19944
20684
fi
19945
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20685
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19946
20686
fi
 
20687
 
 
20688
 
19947
20689
        if test ".$_ok" != .yes; then
19948
20690
            if test ".$_ok" = .no; then
19949
 
                echo "$as_me:$LINENO: result: *FAILED*" >&5
19950
 
echo "${ECHO_T}*FAILED*" >&6
 
20691
                { echo "$as_me:$LINENO: result: *FAILED*" >&5
 
20692
echo "${ECHO_T}*FAILED*" >&6; }
19951
20693
cat <<EOT | sed -e 's/^[        ]*/ | /' -e 's/>>/  /' 1>&2
19952
20694
                Found GNU Pth $_pth_version under $_pth_location, but
19953
20695
                was unable to perform a sanity execution check. This usually
19966
20708
exit 1
19967
20709
 
19968
20710
            else
19969
 
                echo "$as_me:$LINENO: result: *FAILED*" >&5
19970
 
echo "${ECHO_T}*FAILED*" >&6
 
20711
                { echo "$as_me:$LINENO: result: *FAILED*" >&5
 
20712
echo "${ECHO_T}*FAILED*" >&6; }
19971
20713
cat <<EOT | sed -e 's/^[        ]*/ | /' -e 's/>>/  /' 1>&2
19972
20714
                Found GNU Pth $_pth_version under $_pth_location, but
19973
20715
                was unable to perform a sanity run-time check. This usually
20013
20755
 
20014
20756
 
20015
20757
    if test ".$verbose" = .yes; then
20016
 
    echo "$as_me:$LINENO: result:   + Final Results:" >&5
20017
 
echo "${ECHO_T}  + Final Results:" >&6
20018
 
fi
20019
 
 
20020
 
    if test ".$verbose" = .yes; then
20021
 
    echo "$as_me:$LINENO: result:       o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"" >&5
20022
 
echo "${ECHO_T}      o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"" >&6
20023
 
fi
20024
 
 
20025
 
    if test ".$verbose" = .yes; then
20026
 
    echo "$as_me:$LINENO: result:       o PTH_CFLAGS=\"$PTH_CFLAGS\"" >&5
20027
 
echo "${ECHO_T}      o PTH_CFLAGS=\"$PTH_CFLAGS\"" >&6
20028
 
fi
20029
 
 
20030
 
    if test ".$verbose" = .yes; then
20031
 
    echo "$as_me:$LINENO: result:       o PTH_LDFLAGS=\"$PTH_LDFLAGS\"" >&5
20032
 
echo "${ECHO_T}      o PTH_LDFLAGS=\"$PTH_LDFLAGS\"" >&6
20033
 
fi
20034
 
 
20035
 
    if test ".$verbose" = .yes; then
20036
 
    echo "$as_me:$LINENO: result:       o PTH_LIBS=\"$PTH_LIBS\"" >&5
20037
 
echo "${ECHO_T}      o PTH_LIBS=\"$PTH_LIBS\"" >&6
 
20758
    { echo "$as_me:$LINENO: result:   + Final Results:" >&5
 
20759
echo "${ECHO_T}  + Final Results:" >&6; }
 
20760
fi
 
20761
 
 
20762
    if test ".$verbose" = .yes; then
 
20763
    { echo "$as_me:$LINENO: result:       o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"" >&5
 
20764
echo "${ECHO_T}      o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"" >&6; }
 
20765
fi
 
20766
 
 
20767
    if test ".$verbose" = .yes; then
 
20768
    { echo "$as_me:$LINENO: result:       o PTH_CFLAGS=\"$PTH_CFLAGS\"" >&5
 
20769
echo "${ECHO_T}      o PTH_CFLAGS=\"$PTH_CFLAGS\"" >&6; }
 
20770
fi
 
20771
 
 
20772
    if test ".$verbose" = .yes; then
 
20773
    { echo "$as_me:$LINENO: result:       o PTH_LDFLAGS=\"$PTH_LDFLAGS\"" >&5
 
20774
echo "${ECHO_T}      o PTH_LDFLAGS=\"$PTH_LDFLAGS\"" >&6; }
 
20775
fi
 
20776
 
 
20777
    if test ".$verbose" = .yes; then
 
20778
    { echo "$as_me:$LINENO: result:       o PTH_LIBS=\"$PTH_LIBS\"" >&5
 
20779
echo "${ECHO_T}      o PTH_LIBS=\"$PTH_LIBS\"" >&6; }
20038
20780
fi
20039
20781
 
20040
20782
fi
20041
20783
fi
20042
20784
if test ".$with_pth" != .no; then
20043
 
    echo "$as_me:$LINENO: result: version $_pth_version, $_pth_type under $_pth_location" >&5
20044
 
echo "${ECHO_T}version $_pth_version, $_pth_type under $_pth_location" >&6
 
20785
    { echo "$as_me:$LINENO: result: version $_pth_version, $_pth_type under $_pth_location" >&5
 
20786
echo "${ECHO_T}version $_pth_version, $_pth_type under $_pth_location" >&6; }
20045
20787
    have_pth=yes
20046
20788
else
20047
 
    echo "$as_me:$LINENO: result: no" >&5
20048
 
echo "${ECHO_T}no" >&6
 
20789
    { echo "$as_me:$LINENO: result: no" >&5
 
20790
echo "${ECHO_T}no" >&6; }
20049
20791
    :
20050
20792
fi
20051
20793
 
20056
20798
_ACEOF
20057
20799
 
20058
20800
        fi
20059
 
        echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20060
 
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
 
20801
        { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
 
20802
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20061
20803
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20062
20804
  echo $ECHO_N "(cached) $ECHO_C" >&6
20063
20805
else
20070
20812
cat >>conftest.$ac_ext <<_ACEOF
20071
20813
/* end confdefs.h.  */
20072
20814
 
20073
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20815
/* Override any GCC internal prototype to avoid an error.
 
20816
   Use char because int might match the return type of a GCC
 
20817
   builtin and then its argument prototype would still apply.  */
20074
20818
#ifdef __cplusplus
20075
20819
extern "C"
20076
20820
#endif
20077
 
/* We use char because int might match the return type of a gcc2
20078
 
   builtin and then its argument prototype would still apply.  */
20079
20821
char pthread_create ();
20080
20822
int
20081
20823
main ()
20082
20824
{
20083
 
pthread_create ();
 
20825
return pthread_create ();
20084
20826
  ;
20085
20827
  return 0;
20086
20828
}
20087
20829
_ACEOF
20088
20830
rm -f conftest.$ac_objext conftest$ac_exeext
20089
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20090
 
  (eval $ac_link) 2>conftest.er1
 
20831
if { (ac_try="$ac_link"
 
20832
case "(($ac_try" in
 
20833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20834
  *) ac_try_echo=$ac_try;;
 
20835
esac
 
20836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20837
  (eval "$ac_link") 2>conftest.er1
20091
20838
  ac_status=$?
20092
20839
  grep -v '^ *+' conftest.er1 >conftest.err
20093
20840
  rm -f conftest.er1
20094
20841
  cat conftest.err >&5
20095
20842
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096
 
  (exit $ac_status); } &&
20097
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20098
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099
 
  (eval $ac_try) 2>&5
20100
 
  ac_status=$?
20101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102
 
  (exit $ac_status); }; } &&
20103
 
         { ac_try='test -s conftest$ac_exeext'
20104
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105
 
  (eval $ac_try) 2>&5
20106
 
  ac_status=$?
20107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108
 
  (exit $ac_status); }; }; then
 
20843
  (exit $ac_status); } && {
 
20844
         test -z "$ac_c_werror_flag" ||
 
20845
         test ! -s conftest.err
 
20846
       } && test -s conftest$ac_exeext &&
 
20847
       $as_test_x conftest$ac_exeext; then
20109
20848
  ac_cv_lib_pthread_pthread_create=yes
20110
20849
else
20111
20850
  echo "$as_me: failed program was:" >&5
20112
20851
sed 's/^/| /' conftest.$ac_ext >&5
20113
20852
 
20114
 
ac_cv_lib_pthread_pthread_create=no
 
20853
        ac_cv_lib_pthread_pthread_create=no
20115
20854
fi
20116
 
rm -f conftest.err conftest.$ac_objext \
 
20855
 
 
20856
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20117
20857
      conftest$ac_exeext conftest.$ac_ext
20118
20858
LIBS=$ac_check_lib_save_LIBS
20119
20859
fi
20120
 
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20121
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
 
20860
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 
20861
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20122
20862
if test $ac_cv_lib_pthread_pthread_create = yes; then
20123
20863
  have_pthread=yes
20124
20864
fi
20144
20884
_ACEOF
20145
20885
 
20146
20886
fi
20147
 
 
20148
 
 
20149
 
if test "$have_dosish_system" = yes; then
 
20887
 if test "$have_dosish_system" = yes; then
20150
20888
  HAVE_DOSISH_SYSTEM_TRUE=
20151
20889
  HAVE_DOSISH_SYSTEM_FALSE='#'
20152
20890
else
20162
20900
_ACEOF
20163
20901
 
20164
20902
fi
20165
 
 
20166
 
 
20167
 
if test "$have_w32_system" = yes; then
 
20903
 if test "$have_w32_system" = yes; then
20168
20904
  HAVE_W32_SYSTEM_TRUE=
20169
20905
  HAVE_W32_SYSTEM_FALSE='#'
20170
20906
else
20174
20910
 
20175
20911
 
20176
20912
build_w32_glib=no
20177
 
# Check whether --enable-glibtest or --disable-glibtest was given.
 
20913
# Check whether --enable-glibtest was given.
20178
20914
if test "${enable_glibtest+set}" = set; then
20179
 
  enableval="$enable_glibtest"
20180
 
 
 
20915
  enableval=$enable_glibtest;
20181
20916
else
20182
20917
  enable_glibtest=yes
20183
 
fi;
 
20918
fi
 
20919
 
20184
20920
 
20185
20921
  pkg_config_args=glib-2.0
20186
20922
  for module in .
20203
20939
 
20204
20940
  # Extract the first word of "pkg-config", so it can be a program name with args.
20205
20941
set dummy pkg-config; ac_word=$2
20206
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
20207
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20942
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20943
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20208
20944
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20209
20945
  echo $ECHO_N "(cached) $ECHO_C" >&6
20210
20946
else
20219
20955
  IFS=$as_save_IFS
20220
20956
  test -z "$as_dir" && as_dir=.
20221
20957
  for ac_exec_ext in '' $ac_executable_extensions; do
20222
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20958
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20223
20959
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20224
20960
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20225
20961
    break 2
20226
20962
  fi
20227
20963
done
20228
20964
done
 
20965
IFS=$as_save_IFS
20229
20966
 
20230
20967
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20231
20968
  ;;
20232
20969
esac
20233
20970
fi
20234
20971
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20235
 
 
20236
20972
if test -n "$PKG_CONFIG"; then
20237
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20238
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
20973
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
20974
echo "${ECHO_T}$PKG_CONFIG" >&6; }
20239
20975
else
20240
 
  echo "$as_me:$LINENO: result: no" >&5
20241
 
echo "${ECHO_T}no" >&6
 
20976
  { echo "$as_me:$LINENO: result: no" >&5
 
20977
echo "${ECHO_T}no" >&6; }
20242
20978
fi
20243
20979
 
20244
20980
 
 
20981
 
20245
20982
  no_glib=""
20246
20983
 
20247
20984
  if test x$PKG_CONFIG != xno ; then
20257
20994
  fi
20258
20995
 
20259
20996
  min_glib_version=2.0.0
20260
 
  echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
20261
 
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
 
20997
  { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
 
20998
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
20262
20999
 
20263
21000
  if test x$PKG_CONFIG != xno ; then
20264
21001
    ## don't try to run the test against uninstalled libtool libs
20376
21113
 
20377
21114
_ACEOF
20378
21115
rm -f conftest$ac_exeext
20379
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20380
 
  (eval $ac_link) 2>&5
 
21116
if { (ac_try="$ac_link"
 
21117
case "(($ac_try" in
 
21118
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21119
  *) ac_try_echo=$ac_try;;
 
21120
esac
 
21121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21122
  (eval "$ac_link") 2>&5
20381
21123
  ac_status=$?
20382
21124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383
21125
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385
 
  (eval $ac_try) 2>&5
 
21126
  { (case "(($ac_try" in
 
21127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21128
  *) ac_try_echo=$ac_try;;
 
21129
esac
 
21130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21131
  (eval "$ac_try") 2>&5
20386
21132
  ac_status=$?
20387
21133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388
21134
  (exit $ac_status); }; }; then
20395
21141
( exit $ac_status )
20396
21142
no_glib=yes
20397
21143
fi
20398
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21144
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20399
21145
fi
 
21146
 
 
21147
 
20400
21148
       CFLAGS="$ac_save_CFLAGS"
20401
21149
       LIBS="$ac_save_LIBS"
20402
21150
     fi
20403
21151
  fi
20404
21152
  if test "x$no_glib" = x ; then
20405
 
     echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
20406
 
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6
 
21153
     { echo "$as_me:$LINENO: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
 
21154
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
20407
21155
     :
20408
21156
  else
20409
 
     echo "$as_me:$LINENO: result: no" >&5
20410
 
echo "${ECHO_T}no" >&6
 
21157
     { echo "$as_me:$LINENO: result: no" >&5
 
21158
echo "${ECHO_T}no" >&6; }
20411
21159
     if test "$PKG_CONFIG" = "no" ; then
20412
21160
       echo "*** A new enough version of pkg-config was not found."
20413
21161
       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
20439
21187
}
20440
21188
_ACEOF
20441
21189
rm -f conftest.$ac_objext conftest$ac_exeext
20442
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443
 
  (eval $ac_link) 2>conftest.er1
 
21190
if { (ac_try="$ac_link"
 
21191
case "(($ac_try" in
 
21192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21193
  *) ac_try_echo=$ac_try;;
 
21194
esac
 
21195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21196
  (eval "$ac_link") 2>conftest.er1
20444
21197
  ac_status=$?
20445
21198
  grep -v '^ *+' conftest.er1 >conftest.err
20446
21199
  rm -f conftest.er1
20447
21200
  cat conftest.err >&5
20448
21201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449
 
  (exit $ac_status); } &&
20450
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20451
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452
 
  (eval $ac_try) 2>&5
20453
 
  ac_status=$?
20454
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455
 
  (exit $ac_status); }; } &&
20456
 
         { ac_try='test -s conftest$ac_exeext'
20457
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458
 
  (eval $ac_try) 2>&5
20459
 
  ac_status=$?
20460
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461
 
  (exit $ac_status); }; }; then
 
21202
  (exit $ac_status); } && {
 
21203
         test -z "$ac_c_werror_flag" ||
 
21204
         test ! -s conftest.err
 
21205
       } && test -s conftest$ac_exeext &&
 
21206
       $as_test_x conftest$ac_exeext; then
20462
21207
   echo "*** The test program compiled, but did not run. This usually means"
20463
21208
          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
20464
21209
          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
20472
21217
  echo "$as_me: failed program was:" >&5
20473
21218
sed 's/^/| /' conftest.$ac_ext >&5
20474
21219
 
20475
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
 
21220
         echo "*** The test program failed to compile or link. See the file config.log for the"
20476
21221
          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
20477
21222
fi
20478
 
rm -f conftest.err conftest.$ac_objext \
 
21223
 
 
21224
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20479
21225
      conftest$ac_exeext conftest.$ac_ext
20480
21226
          CFLAGS="$ac_save_CFLAGS"
20481
21227
          LIBS="$ac_save_LIBS"
20495
21241
 
20496
21242
  rm -f conf.glibtest
20497
21243
 
20498
 
# Check whether --enable-w32-glib or --disable-w32-glib was given.
 
21244
# Check whether --enable-w32-glib was given.
20499
21245
if test "${enable_w32_glib+set}" = set; then
20500
 
  enableval="$enable_w32_glib"
20501
 
  build_w32_glib=$withval
20502
 
fi;
20503
 
 
20504
 
 
20505
 
if test "$build_w32_glib" = yes; then
 
21246
  enableval=$enable_w32_glib; build_w32_glib=$withval
 
21247
fi
 
21248
 
 
21249
 if test "$build_w32_glib" = yes; then
20506
21250
  BUILD_W32_GLIB_TRUE=
20507
21251
  BUILD_W32_GLIB_FALSE='#'
20508
21252
else
20511
21255
fi
20512
21256
 
20513
21257
 
20514
 
 
20515
 
 
20516
 
if test "$have_pth" = "yes"; then
 
21258
 if test "$have_pth" = "yes"; then
20517
21259
  HAVE_PTH_TRUE=
20518
21260
  HAVE_PTH_FALSE='#'
20519
21261
else
20521
21263
  HAVE_PTH_FALSE=
20522
21264
fi
20523
21265
 
20524
 
 
20525
 
 
20526
 
if test "$have_pthread" = "yes"; then
 
21266
 if test "$have_pthread" = "yes"; then
20527
21267
  HAVE_PTHREAD_TRUE=
20528
21268
  HAVE_PTHREAD_FALSE='#'
20529
21269
else
20538
21278
for ac_header in sys/select.h
20539
21279
do
20540
21280
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20541
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20542
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
20543
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20544
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21281
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
21282
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21283
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21284
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20545
21285
  echo $ECHO_N "(cached) $ECHO_C" >&6
20546
21286
fi
20547
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20548
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21287
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21288
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21289
echo "${ECHO_T}$ac_res" >&6; }
20549
21290
else
20550
21291
  # Is the header compilable?
20551
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20552
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
21292
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
21293
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20553
21294
cat >conftest.$ac_ext <<_ACEOF
20554
21295
/* confdefs.h.  */
20555
21296
_ACEOF
20560
21301
#include <$ac_header>
20561
21302
_ACEOF
20562
21303
rm -f conftest.$ac_objext
20563
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20564
 
  (eval $ac_compile) 2>conftest.er1
 
21304
if { (ac_try="$ac_compile"
 
21305
case "(($ac_try" in
 
21306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21307
  *) ac_try_echo=$ac_try;;
 
21308
esac
 
21309
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21310
  (eval "$ac_compile") 2>conftest.er1
20565
21311
  ac_status=$?
20566
21312
  grep -v '^ *+' conftest.er1 >conftest.err
20567
21313
  rm -f conftest.er1
20568
21314
  cat conftest.err >&5
20569
21315
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570
 
  (exit $ac_status); } &&
20571
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20573
 
  (eval $ac_try) 2>&5
20574
 
  ac_status=$?
20575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576
 
  (exit $ac_status); }; } &&
20577
 
         { ac_try='test -s conftest.$ac_objext'
20578
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20579
 
  (eval $ac_try) 2>&5
20580
 
  ac_status=$?
20581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582
 
  (exit $ac_status); }; }; then
 
21316
  (exit $ac_status); } && {
 
21317
         test -z "$ac_c_werror_flag" ||
 
21318
         test ! -s conftest.err
 
21319
       } && test -s conftest.$ac_objext; then
20583
21320
  ac_header_compiler=yes
20584
21321
else
20585
21322
  echo "$as_me: failed program was:" >&5
20586
21323
sed 's/^/| /' conftest.$ac_ext >&5
20587
21324
 
20588
 
ac_header_compiler=no
 
21325
        ac_header_compiler=no
20589
21326
fi
20590
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20591
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20592
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21327
 
 
21328
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21329
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21330
echo "${ECHO_T}$ac_header_compiler" >&6; }
20593
21331
 
20594
21332
# Is the header present?
20595
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20596
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
21333
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
21334
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20597
21335
cat >conftest.$ac_ext <<_ACEOF
20598
21336
/* confdefs.h.  */
20599
21337
_ACEOF
20602
21340
/* end confdefs.h.  */
20603
21341
#include <$ac_header>
20604
21342
_ACEOF
20605
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20606
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21343
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21344
case "(($ac_try" in
 
21345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21346
  *) ac_try_echo=$ac_try;;
 
21347
esac
 
21348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21349
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20607
21350
  ac_status=$?
20608
21351
  grep -v '^ *+' conftest.er1 >conftest.err
20609
21352
  rm -f conftest.er1
20610
21353
  cat conftest.err >&5
20611
21354
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612
 
  (exit $ac_status); } >/dev/null; then
20613
 
  if test -s conftest.err; then
20614
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20615
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20616
 
  else
20617
 
    ac_cpp_err=
20618
 
  fi
20619
 
else
20620
 
  ac_cpp_err=yes
20621
 
fi
20622
 
if test -z "$ac_cpp_err"; then
 
21355
  (exit $ac_status); } >/dev/null && {
 
21356
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21357
         test ! -s conftest.err
 
21358
       }; then
20623
21359
  ac_header_preproc=yes
20624
21360
else
20625
21361
  echo "$as_me: failed program was:" >&5
20627
21363
 
20628
21364
  ac_header_preproc=no
20629
21365
fi
 
21366
 
20630
21367
rm -f conftest.err conftest.$ac_ext
20631
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20632
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21368
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21369
echo "${ECHO_T}$ac_header_preproc" >&6; }
20633
21370
 
20634
21371
# So?  What about this header?
20635
21372
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20653
21390
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20654
21391
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20655
21392
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20656
 
    (
20657
 
      cat <<\_ASBOX
 
21393
    ( cat <<\_ASBOX
20658
21394
## ---------------------------------- ##
20659
21395
## Report this to bug-gpgme@gnupg.org ##
20660
21396
## ---------------------------------- ##
20661
21397
_ASBOX
20662
 
    ) |
20663
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21398
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20664
21399
    ;;
20665
21400
esac
20666
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
20667
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20668
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
21401
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
21402
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
21403
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20669
21404
  echo $ECHO_N "(cached) $ECHO_C" >&6
20670
21405
else
20671
21406
  eval "$as_ac_Header=\$ac_header_preproc"
20672
21407
fi
20673
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20674
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
21408
ac_res=`eval echo '${'$as_ac_Header'}'`
 
21409
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
21410
echo "${ECHO_T}$ac_res" >&6; }
20675
21411
 
20676
21412
fi
20677
21413
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20686
21422
 
20687
21423
 
20688
21424
# Type checks.
20689
 
echo "$as_me:$LINENO: checking for inline" >&5
20690
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
21425
{ echo "$as_me:$LINENO: checking for inline" >&5
 
21426
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20691
21427
if test "${ac_cv_c_inline+set}" = set; then
20692
21428
  echo $ECHO_N "(cached) $ECHO_C" >&6
20693
21429
else
20707
21443
 
20708
21444
_ACEOF
20709
21445
rm -f conftest.$ac_objext
20710
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20711
 
  (eval $ac_compile) 2>conftest.er1
 
21446
if { (ac_try="$ac_compile"
 
21447
case "(($ac_try" in
 
21448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21449
  *) ac_try_echo=$ac_try;;
 
21450
esac
 
21451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21452
  (eval "$ac_compile") 2>conftest.er1
20712
21453
  ac_status=$?
20713
21454
  grep -v '^ *+' conftest.er1 >conftest.err
20714
21455
  rm -f conftest.er1
20715
21456
  cat conftest.err >&5
20716
21457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717
 
  (exit $ac_status); } &&
20718
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20719
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720
 
  (eval $ac_try) 2>&5
20721
 
  ac_status=$?
20722
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723
 
  (exit $ac_status); }; } &&
20724
 
         { ac_try='test -s conftest.$ac_objext'
20725
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726
 
  (eval $ac_try) 2>&5
20727
 
  ac_status=$?
20728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729
 
  (exit $ac_status); }; }; then
20730
 
  ac_cv_c_inline=$ac_kw; break
 
21458
  (exit $ac_status); } && {
 
21459
         test -z "$ac_c_werror_flag" ||
 
21460
         test ! -s conftest.err
 
21461
       } && test -s conftest.$ac_objext; then
 
21462
  ac_cv_c_inline=$ac_kw
20731
21463
else
20732
21464
  echo "$as_me: failed program was:" >&5
20733
21465
sed 's/^/| /' conftest.$ac_ext >&5
20734
21466
 
 
21467
 
20735
21468
fi
20736
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21469
 
 
21470
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21471
  test "$ac_cv_c_inline" != no && break
20737
21472
done
20738
21473
 
20739
21474
fi
20740
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20741
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
21475
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
21476
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20742
21477
 
20743
21478
 
20744
21479
case $ac_cv_c_inline in
20756
21491
    ;;
20757
21492
esac
20758
21493
 
20759
 
echo "$as_me:$LINENO: checking for unsigned int" >&5
20760
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 
21494
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
 
21495
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
20761
21496
if test "${ac_cv_type_unsigned_int+set}" = set; then
20762
21497
  echo $ECHO_N "(cached) $ECHO_C" >&6
20763
21498
else
20768
21503
cat >>conftest.$ac_ext <<_ACEOF
20769
21504
/* end confdefs.h.  */
20770
21505
$ac_includes_default
 
21506
typedef unsigned int ac__type_new_;
20771
21507
int
20772
21508
main ()
20773
21509
{
20774
 
if ((unsigned int *) 0)
 
21510
if ((ac__type_new_ *) 0)
20775
21511
  return 0;
20776
 
if (sizeof (unsigned int))
 
21512
if (sizeof (ac__type_new_))
20777
21513
  return 0;
20778
21514
  ;
20779
21515
  return 0;
20780
21516
}
20781
21517
_ACEOF
20782
21518
rm -f conftest.$ac_objext
20783
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20784
 
  (eval $ac_compile) 2>conftest.er1
 
21519
if { (ac_try="$ac_compile"
 
21520
case "(($ac_try" in
 
21521
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21522
  *) ac_try_echo=$ac_try;;
 
21523
esac
 
21524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21525
  (eval "$ac_compile") 2>conftest.er1
20785
21526
  ac_status=$?
20786
21527
  grep -v '^ *+' conftest.er1 >conftest.err
20787
21528
  rm -f conftest.er1
20788
21529
  cat conftest.err >&5
20789
21530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790
 
  (exit $ac_status); } &&
20791
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20792
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793
 
  (eval $ac_try) 2>&5
20794
 
  ac_status=$?
20795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796
 
  (exit $ac_status); }; } &&
20797
 
         { ac_try='test -s conftest.$ac_objext'
20798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799
 
  (eval $ac_try) 2>&5
20800
 
  ac_status=$?
20801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802
 
  (exit $ac_status); }; }; then
 
21531
  (exit $ac_status); } && {
 
21532
         test -z "$ac_c_werror_flag" ||
 
21533
         test ! -s conftest.err
 
21534
       } && test -s conftest.$ac_objext; then
20803
21535
  ac_cv_type_unsigned_int=yes
20804
21536
else
20805
21537
  echo "$as_me: failed program was:" >&5
20806
21538
sed 's/^/| /' conftest.$ac_ext >&5
20807
21539
 
20808
 
ac_cv_type_unsigned_int=no
20809
 
fi
20810
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20811
 
fi
20812
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
20813
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
20814
 
 
20815
 
echo "$as_me:$LINENO: checking size of unsigned int" >&5
20816
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 
21540
        ac_cv_type_unsigned_int=no
 
21541
fi
 
21542
 
 
21543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21544
fi
 
21545
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 
21546
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
 
21547
 
 
21548
# The cast to long int works around a bug in the HP C Compiler
 
21549
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
21550
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
21551
# This bug is HP SR number 8606223364.
 
21552
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
 
21553
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
20817
21554
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
20818
21555
  echo $ECHO_N "(cached) $ECHO_C" >&6
20819
21556
else
20820
 
  if test "$ac_cv_type_unsigned_int" = yes; then
20821
 
  # The cast to unsigned long works around a bug in the HP C Compiler
20822
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20823
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20824
 
  # This bug is HP SR number 8606223364.
20825
21557
  if test "$cross_compiling" = yes; then
20826
21558
  # Depending upon the size, compute the lo and hi bounds.
20827
21559
cat >conftest.$ac_ext <<_ACEOF
20831
21563
cat >>conftest.$ac_ext <<_ACEOF
20832
21564
/* end confdefs.h.  */
20833
21565
$ac_includes_default
 
21566
   typedef unsigned int ac__type_sizeof_;
20834
21567
int
20835
21568
main ()
20836
21569
{
20837
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
 
21570
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20838
21571
test_array [0] = 0
20839
21572
 
20840
21573
  ;
20842
21575
}
20843
21576
_ACEOF
20844
21577
rm -f conftest.$ac_objext
20845
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20846
 
  (eval $ac_compile) 2>conftest.er1
 
21578
if { (ac_try="$ac_compile"
 
21579
case "(($ac_try" in
 
21580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21581
  *) ac_try_echo=$ac_try;;
 
21582
esac
 
21583
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21584
  (eval "$ac_compile") 2>conftest.er1
20847
21585
  ac_status=$?
20848
21586
  grep -v '^ *+' conftest.er1 >conftest.err
20849
21587
  rm -f conftest.er1
20850
21588
  cat conftest.err >&5
20851
21589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852
 
  (exit $ac_status); } &&
20853
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20854
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855
 
  (eval $ac_try) 2>&5
20856
 
  ac_status=$?
20857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858
 
  (exit $ac_status); }; } &&
20859
 
         { ac_try='test -s conftest.$ac_objext'
20860
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861
 
  (eval $ac_try) 2>&5
20862
 
  ac_status=$?
20863
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864
 
  (exit $ac_status); }; }; then
 
21590
  (exit $ac_status); } && {
 
21591
         test -z "$ac_c_werror_flag" ||
 
21592
         test ! -s conftest.err
 
21593
       } && test -s conftest.$ac_objext; then
20865
21594
  ac_lo=0 ac_mid=0
20866
21595
  while :; do
20867
21596
    cat >conftest.$ac_ext <<_ACEOF
20871
21600
cat >>conftest.$ac_ext <<_ACEOF
20872
21601
/* end confdefs.h.  */
20873
21602
$ac_includes_default
 
21603
   typedef unsigned int ac__type_sizeof_;
20874
21604
int
20875
21605
main ()
20876
21606
{
20877
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
21607
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20878
21608
test_array [0] = 0
20879
21609
 
20880
21610
  ;
20882
21612
}
20883
21613
_ACEOF
20884
21614
rm -f conftest.$ac_objext
20885
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886
 
  (eval $ac_compile) 2>conftest.er1
 
21615
if { (ac_try="$ac_compile"
 
21616
case "(($ac_try" in
 
21617
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21618
  *) ac_try_echo=$ac_try;;
 
21619
esac
 
21620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21621
  (eval "$ac_compile") 2>conftest.er1
20887
21622
  ac_status=$?
20888
21623
  grep -v '^ *+' conftest.er1 >conftest.err
20889
21624
  rm -f conftest.er1
20890
21625
  cat conftest.err >&5
20891
21626
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892
 
  (exit $ac_status); } &&
20893
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895
 
  (eval $ac_try) 2>&5
20896
 
  ac_status=$?
20897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898
 
  (exit $ac_status); }; } &&
20899
 
         { ac_try='test -s conftest.$ac_objext'
20900
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901
 
  (eval $ac_try) 2>&5
20902
 
  ac_status=$?
20903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904
 
  (exit $ac_status); }; }; then
 
21627
  (exit $ac_status); } && {
 
21628
         test -z "$ac_c_werror_flag" ||
 
21629
         test ! -s conftest.err
 
21630
       } && test -s conftest.$ac_objext; then
20905
21631
  ac_hi=$ac_mid; break
20906
21632
else
20907
21633
  echo "$as_me: failed program was:" >&5
20908
21634
sed 's/^/| /' conftest.$ac_ext >&5
20909
21635
 
20910
 
ac_lo=`expr $ac_mid + 1`
20911
 
                    if test $ac_lo -le $ac_mid; then
20912
 
                      ac_lo= ac_hi=
20913
 
                      break
20914
 
                    fi
20915
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
21636
        ac_lo=`expr $ac_mid + 1`
 
21637
                        if test $ac_lo -le $ac_mid; then
 
21638
                          ac_lo= ac_hi=
 
21639
                          break
 
21640
                        fi
 
21641
                        ac_mid=`expr 2 '*' $ac_mid + 1`
20916
21642
fi
20917
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21643
 
 
21644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20918
21645
  done
20919
21646
else
20920
21647
  echo "$as_me: failed program was:" >&5
20921
21648
sed 's/^/| /' conftest.$ac_ext >&5
20922
21649
 
20923
 
cat >conftest.$ac_ext <<_ACEOF
 
21650
        cat >conftest.$ac_ext <<_ACEOF
20924
21651
/* confdefs.h.  */
20925
21652
_ACEOF
20926
21653
cat confdefs.h >>conftest.$ac_ext
20927
21654
cat >>conftest.$ac_ext <<_ACEOF
20928
21655
/* end confdefs.h.  */
20929
21656
$ac_includes_default
 
21657
   typedef unsigned int ac__type_sizeof_;
20930
21658
int
20931
21659
main ()
20932
21660
{
20933
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
 
21661
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20934
21662
test_array [0] = 0
20935
21663
 
20936
21664
  ;
20938
21666
}
20939
21667
_ACEOF
20940
21668
rm -f conftest.$ac_objext
20941
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20942
 
  (eval $ac_compile) 2>conftest.er1
 
21669
if { (ac_try="$ac_compile"
 
21670
case "(($ac_try" in
 
21671
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21672
  *) ac_try_echo=$ac_try;;
 
21673
esac
 
21674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21675
  (eval "$ac_compile") 2>conftest.er1
20943
21676
  ac_status=$?
20944
21677
  grep -v '^ *+' conftest.er1 >conftest.err
20945
21678
  rm -f conftest.er1
20946
21679
  cat conftest.err >&5
20947
21680
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948
 
  (exit $ac_status); } &&
20949
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20951
 
  (eval $ac_try) 2>&5
20952
 
  ac_status=$?
20953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954
 
  (exit $ac_status); }; } &&
20955
 
         { ac_try='test -s conftest.$ac_objext'
20956
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957
 
  (eval $ac_try) 2>&5
20958
 
  ac_status=$?
20959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960
 
  (exit $ac_status); }; }; then
 
21681
  (exit $ac_status); } && {
 
21682
         test -z "$ac_c_werror_flag" ||
 
21683
         test ! -s conftest.err
 
21684
       } && test -s conftest.$ac_objext; then
20961
21685
  ac_hi=-1 ac_mid=-1
20962
21686
  while :; do
20963
21687
    cat >conftest.$ac_ext <<_ACEOF
20967
21691
cat >>conftest.$ac_ext <<_ACEOF
20968
21692
/* end confdefs.h.  */
20969
21693
$ac_includes_default
 
21694
   typedef unsigned int ac__type_sizeof_;
20970
21695
int
20971
21696
main ()
20972
21697
{
20973
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
 
21698
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20974
21699
test_array [0] = 0
20975
21700
 
20976
21701
  ;
20978
21703
}
20979
21704
_ACEOF
20980
21705
rm -f conftest.$ac_objext
20981
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20982
 
  (eval $ac_compile) 2>conftest.er1
 
21706
if { (ac_try="$ac_compile"
 
21707
case "(($ac_try" in
 
21708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21709
  *) ac_try_echo=$ac_try;;
 
21710
esac
 
21711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21712
  (eval "$ac_compile") 2>conftest.er1
20983
21713
  ac_status=$?
20984
21714
  grep -v '^ *+' conftest.er1 >conftest.err
20985
21715
  rm -f conftest.er1
20986
21716
  cat conftest.err >&5
20987
21717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988
 
  (exit $ac_status); } &&
20989
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20990
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991
 
  (eval $ac_try) 2>&5
20992
 
  ac_status=$?
20993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994
 
  (exit $ac_status); }; } &&
20995
 
         { ac_try='test -s conftest.$ac_objext'
20996
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997
 
  (eval $ac_try) 2>&5
20998
 
  ac_status=$?
20999
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000
 
  (exit $ac_status); }; }; then
 
21718
  (exit $ac_status); } && {
 
21719
         test -z "$ac_c_werror_flag" ||
 
21720
         test ! -s conftest.err
 
21721
       } && test -s conftest.$ac_objext; then
21001
21722
  ac_lo=$ac_mid; break
21002
21723
else
21003
21724
  echo "$as_me: failed program was:" >&5
21004
21725
sed 's/^/| /' conftest.$ac_ext >&5
21005
21726
 
21006
 
ac_hi=`expr '(' $ac_mid ')' - 1`
21007
 
                       if test $ac_mid -le $ac_hi; then
21008
 
                         ac_lo= ac_hi=
21009
 
                         break
21010
 
                       fi
21011
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
21727
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
21728
                        if test $ac_mid -le $ac_hi; then
 
21729
                          ac_lo= ac_hi=
 
21730
                          break
 
21731
                        fi
 
21732
                        ac_mid=`expr 2 '*' $ac_mid`
21012
21733
fi
21013
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21734
 
 
21735
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014
21736
  done
21015
21737
else
21016
21738
  echo "$as_me: failed program was:" >&5
21017
21739
sed 's/^/| /' conftest.$ac_ext >&5
21018
21740
 
21019
 
ac_lo= ac_hi=
21020
 
fi
21021
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21022
 
fi
21023
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21741
        ac_lo= ac_hi=
 
21742
fi
 
21743
 
 
21744
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21745
fi
 
21746
 
 
21747
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024
21748
# Binary search between lo and hi bounds.
21025
21749
while test "x$ac_lo" != "x$ac_hi"; do
21026
21750
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21031
21755
cat >>conftest.$ac_ext <<_ACEOF
21032
21756
/* end confdefs.h.  */
21033
21757
$ac_includes_default
 
21758
   typedef unsigned int ac__type_sizeof_;
21034
21759
int
21035
21760
main ()
21036
21761
{
21037
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
21762
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21038
21763
test_array [0] = 0
21039
21764
 
21040
21765
  ;
21042
21767
}
21043
21768
_ACEOF
21044
21769
rm -f conftest.$ac_objext
21045
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046
 
  (eval $ac_compile) 2>conftest.er1
 
21770
if { (ac_try="$ac_compile"
 
21771
case "(($ac_try" in
 
21772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21773
  *) ac_try_echo=$ac_try;;
 
21774
esac
 
21775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21776
  (eval "$ac_compile") 2>conftest.er1
21047
21777
  ac_status=$?
21048
21778
  grep -v '^ *+' conftest.er1 >conftest.err
21049
21779
  rm -f conftest.er1
21050
21780
  cat conftest.err >&5
21051
21781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052
 
  (exit $ac_status); } &&
21053
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21054
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055
 
  (eval $ac_try) 2>&5
21056
 
  ac_status=$?
21057
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058
 
  (exit $ac_status); }; } &&
21059
 
         { ac_try='test -s conftest.$ac_objext'
21060
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061
 
  (eval $ac_try) 2>&5
21062
 
  ac_status=$?
21063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064
 
  (exit $ac_status); }; }; then
 
21782
  (exit $ac_status); } && {
 
21783
         test -z "$ac_c_werror_flag" ||
 
21784
         test ! -s conftest.err
 
21785
       } && test -s conftest.$ac_objext; then
21065
21786
  ac_hi=$ac_mid
21066
21787
else
21067
21788
  echo "$as_me: failed program was:" >&5
21068
21789
sed 's/^/| /' conftest.$ac_ext >&5
21069
21790
 
21070
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
21791
        ac_lo=`expr '(' $ac_mid ')' + 1`
21071
21792
fi
21072
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21793
 
 
21794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21073
21795
done
21074
21796
case $ac_lo in
21075
21797
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
21076
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
21798
'') if test "$ac_cv_type_unsigned_int" = yes; then
 
21799
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
21077
21800
See \`config.log' for more details." >&5
21078
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
21801
echo "$as_me: error: cannot compute sizeof (unsigned int)
21079
21802
See \`config.log' for more details." >&2;}
21080
 
   { (exit 1); exit 1; }; } ;;
 
21803
   { (exit 77); exit 77; }; }
 
21804
   else
 
21805
     ac_cv_sizeof_unsigned_int=0
 
21806
   fi ;;
21081
21807
esac
21082
21808
else
21083
 
  if test "$cross_compiling" = yes; then
21084
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21085
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21086
 
   { (exit 1); exit 1; }; }
21087
 
else
21088
21809
  cat >conftest.$ac_ext <<_ACEOF
21089
21810
/* confdefs.h.  */
21090
21811
_ACEOF
21092
21813
cat >>conftest.$ac_ext <<_ACEOF
21093
21814
/* end confdefs.h.  */
21094
21815
$ac_includes_default
21095
 
long longval () { return (long) (sizeof (unsigned int)); }
21096
 
unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 
21816
   typedef unsigned int ac__type_sizeof_;
 
21817
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
21818
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21097
21819
#include <stdio.h>
21098
21820
#include <stdlib.h>
21099
21821
int
21102
21824
 
21103
21825
  FILE *f = fopen ("conftest.val", "w");
21104
21826
  if (! f)
21105
 
    exit (1);
21106
 
  if (((long) (sizeof (unsigned int))) < 0)
 
21827
    return 1;
 
21828
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21107
21829
    {
21108
 
      long i = longval ();
21109
 
      if (i != ((long) (sizeof (unsigned int))))
21110
 
        exit (1);
 
21830
      long int i = longval ();
 
21831
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
21832
        return 1;
21111
21833
      fprintf (f, "%ld\n", i);
21112
21834
    }
21113
21835
  else
21114
21836
    {
21115
 
      unsigned long i = ulongval ();
21116
 
      if (i != ((long) (sizeof (unsigned int))))
21117
 
        exit (1);
 
21837
      unsigned long int i = ulongval ();
 
21838
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
21839
        return 1;
21118
21840
      fprintf (f, "%lu\n", i);
21119
21841
    }
21120
 
  exit (ferror (f) || fclose (f) != 0);
 
21842
  return ferror (f) || fclose (f) != 0;
21121
21843
 
21122
21844
  ;
21123
21845
  return 0;
21124
21846
}
21125
21847
_ACEOF
21126
21848
rm -f conftest$ac_exeext
21127
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21128
 
  (eval $ac_link) 2>&5
 
21849
if { (ac_try="$ac_link"
 
21850
case "(($ac_try" in
 
21851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21852
  *) ac_try_echo=$ac_try;;
 
21853
esac
 
21854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21855
  (eval "$ac_link") 2>&5
21129
21856
  ac_status=$?
21130
21857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131
21858
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133
 
  (eval $ac_try) 2>&5
 
21859
  { (case "(($ac_try" in
 
21860
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21861
  *) ac_try_echo=$ac_try;;
 
21862
esac
 
21863
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21864
  (eval "$ac_try") 2>&5
21134
21865
  ac_status=$?
21135
21866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136
21867
  (exit $ac_status); }; }; then
21141
21872
sed 's/^/| /' conftest.$ac_ext >&5
21142
21873
 
21143
21874
( exit $ac_status )
21144
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
21875
if test "$ac_cv_type_unsigned_int" = yes; then
 
21876
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
21145
21877
See \`config.log' for more details." >&5
21146
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
21878
echo "$as_me: error: cannot compute sizeof (unsigned int)
21147
21879
See \`config.log' for more details." >&2;}
21148
 
   { (exit 1); exit 1; }; }
21149
 
fi
21150
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21151
 
fi
 
21880
   { (exit 77); exit 77; }; }
 
21881
   else
 
21882
     ac_cv_sizeof_unsigned_int=0
 
21883
   fi
 
21884
fi
 
21885
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21152
21886
fi
21153
21887
rm -f conftest.val
21154
 
else
21155
 
  ac_cv_sizeof_unsigned_int=0
21156
 
fi
21157
 
fi
21158
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
21159
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 
21888
fi
 
21889
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 
21890
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
 
21891
 
 
21892
 
 
21893
 
21160
21894
cat >>confdefs.h <<_ACEOF
21161
21895
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21162
21896
_ACEOF
21163
21897
 
21164
21898
 
21165
 
# Check whether --enable-largefile or --disable-largefile was given.
 
21899
# Check whether --enable-largefile was given.
21166
21900
if test "${enable_largefile+set}" = set; then
21167
 
  enableval="$enable_largefile"
 
21901
  enableval=$enable_largefile;
 
21902
fi
21168
21903
 
21169
 
fi;
21170
21904
if test "$enable_largefile" != no; then
21171
21905
 
21172
 
  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
21173
 
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
 
21906
  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
21907
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
21174
21908
if test "${ac_cv_sys_largefile_CC+set}" = set; then
21175
21909
  echo $ECHO_N "(cached) $ECHO_C" >&6
21176
21910
else
21178
21912
     if test "$GCC" != yes; then
21179
21913
       ac_save_CC=$CC
21180
21914
       while :; do
21181
 
         # IRIX 6.2 and later do not support large files by default,
21182
 
         # so use the C compiler's -n32 option if that helps.
 
21915
         # IRIX 6.2 and later do not support large files by default,
 
21916
         # so use the C compiler's -n32 option if that helps.
21183
21917
         cat >conftest.$ac_ext <<_ACEOF
21184
21918
/* confdefs.h.  */
21185
21919
_ACEOF
21203
21937
  return 0;
21204
21938
}
21205
21939
_ACEOF
21206
 
         rm -f conftest.$ac_objext
21207
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21208
 
  (eval $ac_compile) 2>conftest.er1
 
21940
         rm -f conftest.$ac_objext
 
21941
if { (ac_try="$ac_compile"
 
21942
case "(($ac_try" in
 
21943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21944
  *) ac_try_echo=$ac_try;;
 
21945
esac
 
21946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21947
  (eval "$ac_compile") 2>conftest.er1
21209
21948
  ac_status=$?
21210
21949
  grep -v '^ *+' conftest.er1 >conftest.err
21211
21950
  rm -f conftest.er1
21212
21951
  cat conftest.err >&5
21213
21952
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214
 
  (exit $ac_status); } &&
21215
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21216
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217
 
  (eval $ac_try) 2>&5
21218
 
  ac_status=$?
21219
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220
 
  (exit $ac_status); }; } &&
21221
 
         { ac_try='test -s conftest.$ac_objext'
21222
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223
 
  (eval $ac_try) 2>&5
21224
 
  ac_status=$?
21225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226
 
  (exit $ac_status); }; }; then
 
21953
  (exit $ac_status); } && {
 
21954
         test -z "$ac_c_werror_flag" ||
 
21955
         test ! -s conftest.err
 
21956
       } && test -s conftest.$ac_objext; then
21227
21957
  break
21228
21958
else
21229
21959
  echo "$as_me: failed program was:" >&5
21230
21960
sed 's/^/| /' conftest.$ac_ext >&5
21231
21961
 
 
21962
 
21232
21963
fi
21233
 
rm -f conftest.err conftest.$ac_objext
21234
 
         CC="$CC -n32"
21235
 
         rm -f conftest.$ac_objext
21236
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21237
 
  (eval $ac_compile) 2>conftest.er1
 
21964
 
 
21965
rm -f core conftest.err conftest.$ac_objext
 
21966
         CC="$CC -n32"
 
21967
         rm -f conftest.$ac_objext
 
21968
if { (ac_try="$ac_compile"
 
21969
case "(($ac_try" in
 
21970
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21971
  *) ac_try_echo=$ac_try;;
 
21972
esac
 
21973
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21974
  (eval "$ac_compile") 2>conftest.er1
21238
21975
  ac_status=$?
21239
21976
  grep -v '^ *+' conftest.er1 >conftest.err
21240
21977
  rm -f conftest.er1
21241
21978
  cat conftest.err >&5
21242
21979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243
 
  (exit $ac_status); } &&
21244
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246
 
  (eval $ac_try) 2>&5
21247
 
  ac_status=$?
21248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249
 
  (exit $ac_status); }; } &&
21250
 
         { ac_try='test -s conftest.$ac_objext'
21251
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252
 
  (eval $ac_try) 2>&5
21253
 
  ac_status=$?
21254
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255
 
  (exit $ac_status); }; }; then
 
21980
  (exit $ac_status); } && {
 
21981
         test -z "$ac_c_werror_flag" ||
 
21982
         test ! -s conftest.err
 
21983
       } && test -s conftest.$ac_objext; then
21256
21984
  ac_cv_sys_largefile_CC=' -n32'; break
21257
21985
else
21258
21986
  echo "$as_me: failed program was:" >&5
21259
21987
sed 's/^/| /' conftest.$ac_ext >&5
21260
21988
 
 
21989
 
21261
21990
fi
21262
 
rm -f conftest.err conftest.$ac_objext
 
21991
 
 
21992
rm -f core conftest.err conftest.$ac_objext
21263
21993
         break
21264
21994
       done
21265
21995
       CC=$ac_save_CC
21266
21996
       rm -f conftest.$ac_ext
21267
21997
    fi
21268
21998
fi
21269
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
21270
 
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
 
21999
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
22000
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
21271
22001
  if test "$ac_cv_sys_largefile_CC" != no; then
21272
22002
    CC=$CC$ac_cv_sys_largefile_CC
21273
22003
  fi
21274
22004
 
21275
 
  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21276
 
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
 
22005
  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
22006
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
21277
22007
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21278
22008
  echo $ECHO_N "(cached) $ECHO_C" >&6
21279
22009
else
21280
22010
  while :; do
21281
 
  ac_cv_sys_file_offset_bits=no
21282
22011
  cat >conftest.$ac_ext <<_ACEOF
21283
22012
/* confdefs.h.  */
21284
22013
_ACEOF
21303
22032
}
21304
22033
_ACEOF
21305
22034
rm -f conftest.$ac_objext
21306
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21307
 
  (eval $ac_compile) 2>conftest.er1
 
22035
if { (ac_try="$ac_compile"
 
22036
case "(($ac_try" in
 
22037
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22038
  *) ac_try_echo=$ac_try;;
 
22039
esac
 
22040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22041
  (eval "$ac_compile") 2>conftest.er1
21308
22042
  ac_status=$?
21309
22043
  grep -v '^ *+' conftest.er1 >conftest.err
21310
22044
  rm -f conftest.er1
21311
22045
  cat conftest.err >&5
21312
22046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313
 
  (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
21317
 
  ac_status=$?
21318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319
 
  (exit $ac_status); }; } &&
21320
 
         { ac_try='test -s conftest.$ac_objext'
21321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322
 
  (eval $ac_try) 2>&5
21323
 
  ac_status=$?
21324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325
 
  (exit $ac_status); }; }; then
21326
 
  break
 
22047
  (exit $ac_status); } && {
 
22048
         test -z "$ac_c_werror_flag" ||
 
22049
         test ! -s conftest.err
 
22050
       } && test -s conftest.$ac_objext; then
 
22051
  ac_cv_sys_file_offset_bits=no; break
21327
22052
else
21328
22053
  echo "$as_me: failed program was:" >&5
21329
22054
sed 's/^/| /' conftest.$ac_ext >&5
21330
22055
 
 
22056
 
21331
22057
fi
21332
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22058
 
 
22059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21333
22060
  cat >conftest.$ac_ext <<_ACEOF
21334
22061
/* confdefs.h.  */
21335
22062
_ACEOF
21355
22082
}
21356
22083
_ACEOF
21357
22084
rm -f conftest.$ac_objext
21358
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21359
 
  (eval $ac_compile) 2>conftest.er1
 
22085
if { (ac_try="$ac_compile"
 
22086
case "(($ac_try" in
 
22087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22088
  *) ac_try_echo=$ac_try;;
 
22089
esac
 
22090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22091
  (eval "$ac_compile") 2>conftest.er1
21360
22092
  ac_status=$?
21361
22093
  grep -v '^ *+' conftest.er1 >conftest.err
21362
22094
  rm -f conftest.er1
21363
22095
  cat conftest.err >&5
21364
22096
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365
 
  (exit $ac_status); } &&
21366
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21367
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368
 
  (eval $ac_try) 2>&5
21369
 
  ac_status=$?
21370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371
 
  (exit $ac_status); }; } &&
21372
 
         { ac_try='test -s conftest.$ac_objext'
21373
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374
 
  (eval $ac_try) 2>&5
21375
 
  ac_status=$?
21376
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377
 
  (exit $ac_status); }; }; then
 
22097
  (exit $ac_status); } && {
 
22098
         test -z "$ac_c_werror_flag" ||
 
22099
         test ! -s conftest.err
 
22100
       } && test -s conftest.$ac_objext; then
21378
22101
  ac_cv_sys_file_offset_bits=64; break
21379
22102
else
21380
22103
  echo "$as_me: failed program was:" >&5
21381
22104
sed 's/^/| /' conftest.$ac_ext >&5
21382
22105
 
 
22106
 
21383
22107
fi
21384
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22108
 
 
22109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22110
  ac_cv_sys_file_offset_bits=unknown
21385
22111
  break
21386
22112
done
21387
22113
fi
21388
 
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21389
 
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21390
 
if test "$ac_cv_sys_file_offset_bits" != no; then
21391
 
 
 
22114
{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
22115
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
 
22116
case $ac_cv_sys_file_offset_bits in #(
 
22117
  no | unknown) ;;
 
22118
  *)
21392
22119
cat >>confdefs.h <<_ACEOF
21393
22120
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21394
22121
_ACEOF
21395
 
 
21396
 
fi
 
22122
;;
 
22123
esac
21397
22124
rm -f conftest*
21398
 
  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21399
 
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
 
22125
  if test $ac_cv_sys_file_offset_bits = unknown; then
 
22126
    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
22127
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
21400
22128
if test "${ac_cv_sys_large_files+set}" = set; then
21401
22129
  echo $ECHO_N "(cached) $ECHO_C" >&6
21402
22130
else
21403
22131
  while :; do
21404
 
  ac_cv_sys_large_files=no
21405
22132
  cat >conftest.$ac_ext <<_ACEOF
21406
22133
/* confdefs.h.  */
21407
22134
_ACEOF
21426
22153
}
21427
22154
_ACEOF
21428
22155
rm -f conftest.$ac_objext
21429
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21430
 
  (eval $ac_compile) 2>conftest.er1
 
22156
if { (ac_try="$ac_compile"
 
22157
case "(($ac_try" in
 
22158
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22159
  *) ac_try_echo=$ac_try;;
 
22160
esac
 
22161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22162
  (eval "$ac_compile") 2>conftest.er1
21431
22163
  ac_status=$?
21432
22164
  grep -v '^ *+' conftest.er1 >conftest.err
21433
22165
  rm -f conftest.er1
21434
22166
  cat conftest.err >&5
21435
22167
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436
 
  (exit $ac_status); } &&
21437
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21438
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439
 
  (eval $ac_try) 2>&5
21440
 
  ac_status=$?
21441
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442
 
  (exit $ac_status); }; } &&
21443
 
         { ac_try='test -s conftest.$ac_objext'
21444
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445
 
  (eval $ac_try) 2>&5
21446
 
  ac_status=$?
21447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448
 
  (exit $ac_status); }; }; then
21449
 
  break
 
22168
  (exit $ac_status); } && {
 
22169
         test -z "$ac_c_werror_flag" ||
 
22170
         test ! -s conftest.err
 
22171
       } && test -s conftest.$ac_objext; then
 
22172
  ac_cv_sys_large_files=no; break
21450
22173
else
21451
22174
  echo "$as_me: failed program was:" >&5
21452
22175
sed 's/^/| /' conftest.$ac_ext >&5
21453
22176
 
 
22177
 
21454
22178
fi
21455
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22179
 
 
22180
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456
22181
  cat >conftest.$ac_ext <<_ACEOF
21457
22182
/* confdefs.h.  */
21458
22183
_ACEOF
21478
22203
}
21479
22204
_ACEOF
21480
22205
rm -f conftest.$ac_objext
21481
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21482
 
  (eval $ac_compile) 2>conftest.er1
 
22206
if { (ac_try="$ac_compile"
 
22207
case "(($ac_try" in
 
22208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22209
  *) ac_try_echo=$ac_try;;
 
22210
esac
 
22211
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22212
  (eval "$ac_compile") 2>conftest.er1
21483
22213
  ac_status=$?
21484
22214
  grep -v '^ *+' conftest.er1 >conftest.err
21485
22215
  rm -f conftest.er1
21486
22216
  cat conftest.err >&5
21487
22217
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488
 
  (exit $ac_status); } &&
21489
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21490
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491
 
  (eval $ac_try) 2>&5
21492
 
  ac_status=$?
21493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494
 
  (exit $ac_status); }; } &&
21495
 
         { ac_try='test -s conftest.$ac_objext'
21496
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497
 
  (eval $ac_try) 2>&5
21498
 
  ac_status=$?
21499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500
 
  (exit $ac_status); }; }; then
 
22218
  (exit $ac_status); } && {
 
22219
         test -z "$ac_c_werror_flag" ||
 
22220
         test ! -s conftest.err
 
22221
       } && test -s conftest.$ac_objext; then
21501
22222
  ac_cv_sys_large_files=1; break
21502
22223
else
21503
22224
  echo "$as_me: failed program was:" >&5
21504
22225
sed 's/^/| /' conftest.$ac_ext >&5
21505
22226
 
 
22227
 
21506
22228
fi
21507
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22229
 
 
22230
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22231
  ac_cv_sys_large_files=unknown
21508
22232
  break
21509
22233
done
21510
22234
fi
21511
 
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21512
 
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21513
 
if test "$ac_cv_sys_large_files" != no; then
21514
 
 
 
22235
{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
22236
echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
 
22237
case $ac_cv_sys_large_files in #(
 
22238
  no | unknown) ;;
 
22239
  *)
21515
22240
cat >>confdefs.h <<_ACEOF
21516
22241
#define _LARGE_FILES $ac_cv_sys_large_files
21517
22242
_ACEOF
21518
 
 
21519
 
fi
 
22243
;;
 
22244
esac
21520
22245
rm -f conftest*
 
22246
  fi
21521
22247
fi
21522
22248
 
21523
 
echo "$as_me:$LINENO: checking for off_t" >&5
21524
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
22249
{ echo "$as_me:$LINENO: checking for off_t" >&5
 
22250
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
21525
22251
if test "${ac_cv_type_off_t+set}" = set; then
21526
22252
  echo $ECHO_N "(cached) $ECHO_C" >&6
21527
22253
else
21532
22258
cat >>conftest.$ac_ext <<_ACEOF
21533
22259
/* end confdefs.h.  */
21534
22260
$ac_includes_default
 
22261
typedef off_t ac__type_new_;
21535
22262
int
21536
22263
main ()
21537
22264
{
21538
 
if ((off_t *) 0)
 
22265
if ((ac__type_new_ *) 0)
21539
22266
  return 0;
21540
 
if (sizeof (off_t))
 
22267
if (sizeof (ac__type_new_))
21541
22268
  return 0;
21542
22269
  ;
21543
22270
  return 0;
21544
22271
}
21545
22272
_ACEOF
21546
22273
rm -f conftest.$ac_objext
21547
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21548
 
  (eval $ac_compile) 2>conftest.er1
 
22274
if { (ac_try="$ac_compile"
 
22275
case "(($ac_try" in
 
22276
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22277
  *) ac_try_echo=$ac_try;;
 
22278
esac
 
22279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22280
  (eval "$ac_compile") 2>conftest.er1
21549
22281
  ac_status=$?
21550
22282
  grep -v '^ *+' conftest.er1 >conftest.err
21551
22283
  rm -f conftest.er1
21552
22284
  cat conftest.err >&5
21553
22285
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554
 
  (exit $ac_status); } &&
21555
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21556
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557
 
  (eval $ac_try) 2>&5
21558
 
  ac_status=$?
21559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560
 
  (exit $ac_status); }; } &&
21561
 
         { ac_try='test -s conftest.$ac_objext'
21562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563
 
  (eval $ac_try) 2>&5
21564
 
  ac_status=$?
21565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566
 
  (exit $ac_status); }; }; then
 
22286
  (exit $ac_status); } && {
 
22287
         test -z "$ac_c_werror_flag" ||
 
22288
         test ! -s conftest.err
 
22289
       } && test -s conftest.$ac_objext; then
21567
22290
  ac_cv_type_off_t=yes
21568
22291
else
21569
22292
  echo "$as_me: failed program was:" >&5
21570
22293
sed 's/^/| /' conftest.$ac_ext >&5
21571
22294
 
21572
 
ac_cv_type_off_t=no
21573
 
fi
21574
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21575
 
fi
21576
 
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
21577
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6
 
22295
        ac_cv_type_off_t=no
 
22296
fi
 
22297
 
 
22298
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22299
fi
 
22300
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
22301
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
21578
22302
if test $ac_cv_type_off_t = yes; then
21579
22303
  :
21580
22304
else
21581
22305
 
21582
22306
cat >>confdefs.h <<_ACEOF
21583
 
#define off_t long
 
22307
#define off_t long int
21584
22308
_ACEOF
21585
22309
 
21586
22310
fi
21594
22318
    fi
21595
22319
fi
21596
22320
 
 
22321
# Network library fun.
 
22322
{ echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
22323
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 
22324
if test "${ac_cv_func_gethostbyname+set}" = set; then
 
22325
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22326
else
 
22327
  cat >conftest.$ac_ext <<_ACEOF
 
22328
/* confdefs.h.  */
 
22329
_ACEOF
 
22330
cat confdefs.h >>conftest.$ac_ext
 
22331
cat >>conftest.$ac_ext <<_ACEOF
 
22332
/* end confdefs.h.  */
 
22333
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
 
22334
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22335
#define gethostbyname innocuous_gethostbyname
 
22336
 
 
22337
/* System header to define __stub macros and hopefully few prototypes,
 
22338
    which can conflict with char gethostbyname (); below.
 
22339
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
22340
    <limits.h> exists even on freestanding compilers.  */
 
22341
 
 
22342
#ifdef __STDC__
 
22343
# include <limits.h>
 
22344
#else
 
22345
# include <assert.h>
 
22346
#endif
 
22347
 
 
22348
#undef gethostbyname
 
22349
 
 
22350
/* Override any GCC internal prototype to avoid an error.
 
22351
   Use char because int might match the return type of a GCC
 
22352
   builtin and then its argument prototype would still apply.  */
 
22353
#ifdef __cplusplus
 
22354
extern "C"
 
22355
#endif
 
22356
char gethostbyname ();
 
22357
/* The GNU C library defines this for functions which it implements
 
22358
    to always fail with ENOSYS.  Some functions are actually named
 
22359
    something starting with __ and the normal name is an alias.  */
 
22360
#if defined __stub_gethostbyname || defined __stub___gethostbyname
 
22361
choke me
 
22362
#endif
 
22363
 
 
22364
int
 
22365
main ()
 
22366
{
 
22367
return gethostbyname ();
 
22368
  ;
 
22369
  return 0;
 
22370
}
 
22371
_ACEOF
 
22372
rm -f conftest.$ac_objext conftest$ac_exeext
 
22373
if { (ac_try="$ac_link"
 
22374
case "(($ac_try" in
 
22375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22376
  *) ac_try_echo=$ac_try;;
 
22377
esac
 
22378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22379
  (eval "$ac_link") 2>conftest.er1
 
22380
  ac_status=$?
 
22381
  grep -v '^ *+' conftest.er1 >conftest.err
 
22382
  rm -f conftest.er1
 
22383
  cat conftest.err >&5
 
22384
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22385
  (exit $ac_status); } && {
 
22386
         test -z "$ac_c_werror_flag" ||
 
22387
         test ! -s conftest.err
 
22388
       } && test -s conftest$ac_exeext &&
 
22389
       $as_test_x conftest$ac_exeext; then
 
22390
  ac_cv_func_gethostbyname=yes
 
22391
else
 
22392
  echo "$as_me: failed program was:" >&5
 
22393
sed 's/^/| /' conftest.$ac_ext >&5
 
22394
 
 
22395
        ac_cv_func_gethostbyname=no
 
22396
fi
 
22397
 
 
22398
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22399
      conftest$ac_exeext conftest.$ac_ext
 
22400
fi
 
22401
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
22402
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
22403
if test $ac_cv_func_gethostbyname = yes; then
 
22404
  :
 
22405
else
 
22406
  { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
22407
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
22408
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
22409
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22410
else
 
22411
  ac_check_lib_save_LIBS=$LIBS
 
22412
LIBS="-lnsl  $LIBS"
 
22413
cat >conftest.$ac_ext <<_ACEOF
 
22414
/* confdefs.h.  */
 
22415
_ACEOF
 
22416
cat confdefs.h >>conftest.$ac_ext
 
22417
cat >>conftest.$ac_ext <<_ACEOF
 
22418
/* end confdefs.h.  */
 
22419
 
 
22420
/* Override any GCC internal prototype to avoid an error.
 
22421
   Use char because int might match the return type of a GCC
 
22422
   builtin and then its argument prototype would still apply.  */
 
22423
#ifdef __cplusplus
 
22424
extern "C"
 
22425
#endif
 
22426
char gethostbyname ();
 
22427
int
 
22428
main ()
 
22429
{
 
22430
return gethostbyname ();
 
22431
  ;
 
22432
  return 0;
 
22433
}
 
22434
_ACEOF
 
22435
rm -f conftest.$ac_objext conftest$ac_exeext
 
22436
if { (ac_try="$ac_link"
 
22437
case "(($ac_try" in
 
22438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22439
  *) ac_try_echo=$ac_try;;
 
22440
esac
 
22441
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22442
  (eval "$ac_link") 2>conftest.er1
 
22443
  ac_status=$?
 
22444
  grep -v '^ *+' conftest.er1 >conftest.err
 
22445
  rm -f conftest.er1
 
22446
  cat conftest.err >&5
 
22447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22448
  (exit $ac_status); } && {
 
22449
         test -z "$ac_c_werror_flag" ||
 
22450
         test ! -s conftest.err
 
22451
       } && test -s conftest$ac_exeext &&
 
22452
       $as_test_x conftest$ac_exeext; then
 
22453
  ac_cv_lib_nsl_gethostbyname=yes
 
22454
else
 
22455
  echo "$as_me: failed program was:" >&5
 
22456
sed 's/^/| /' conftest.$ac_ext >&5
 
22457
 
 
22458
        ac_cv_lib_nsl_gethostbyname=no
 
22459
fi
 
22460
 
 
22461
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22462
      conftest$ac_exeext conftest.$ac_ext
 
22463
LIBS=$ac_check_lib_save_LIBS
 
22464
fi
 
22465
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
22466
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
 
22467
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
22468
  NETLIBS="-lnsl $NETLIBS"
 
22469
fi
 
22470
 
 
22471
fi
 
22472
 
 
22473
{ echo "$as_me:$LINENO: checking for setsockopt" >&5
 
22474
echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; }
 
22475
if test "${ac_cv_func_setsockopt+set}" = set; then
 
22476
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22477
else
 
22478
  cat >conftest.$ac_ext <<_ACEOF
 
22479
/* confdefs.h.  */
 
22480
_ACEOF
 
22481
cat confdefs.h >>conftest.$ac_ext
 
22482
cat >>conftest.$ac_ext <<_ACEOF
 
22483
/* end confdefs.h.  */
 
22484
/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
 
22485
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
22486
#define setsockopt innocuous_setsockopt
 
22487
 
 
22488
/* System header to define __stub macros and hopefully few prototypes,
 
22489
    which can conflict with char setsockopt (); below.
 
22490
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
22491
    <limits.h> exists even on freestanding compilers.  */
 
22492
 
 
22493
#ifdef __STDC__
 
22494
# include <limits.h>
 
22495
#else
 
22496
# include <assert.h>
 
22497
#endif
 
22498
 
 
22499
#undef setsockopt
 
22500
 
 
22501
/* Override any GCC internal prototype to avoid an error.
 
22502
   Use char because int might match the return type of a GCC
 
22503
   builtin and then its argument prototype would still apply.  */
 
22504
#ifdef __cplusplus
 
22505
extern "C"
 
22506
#endif
 
22507
char setsockopt ();
 
22508
/* The GNU C library defines this for functions which it implements
 
22509
    to always fail with ENOSYS.  Some functions are actually named
 
22510
    something starting with __ and the normal name is an alias.  */
 
22511
#if defined __stub_setsockopt || defined __stub___setsockopt
 
22512
choke me
 
22513
#endif
 
22514
 
 
22515
int
 
22516
main ()
 
22517
{
 
22518
return setsockopt ();
 
22519
  ;
 
22520
  return 0;
 
22521
}
 
22522
_ACEOF
 
22523
rm -f conftest.$ac_objext conftest$ac_exeext
 
22524
if { (ac_try="$ac_link"
 
22525
case "(($ac_try" in
 
22526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22527
  *) ac_try_echo=$ac_try;;
 
22528
esac
 
22529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22530
  (eval "$ac_link") 2>conftest.er1
 
22531
  ac_status=$?
 
22532
  grep -v '^ *+' conftest.er1 >conftest.err
 
22533
  rm -f conftest.er1
 
22534
  cat conftest.err >&5
 
22535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22536
  (exit $ac_status); } && {
 
22537
         test -z "$ac_c_werror_flag" ||
 
22538
         test ! -s conftest.err
 
22539
       } && test -s conftest$ac_exeext &&
 
22540
       $as_test_x conftest$ac_exeext; then
 
22541
  ac_cv_func_setsockopt=yes
 
22542
else
 
22543
  echo "$as_me: failed program was:" >&5
 
22544
sed 's/^/| /' conftest.$ac_ext >&5
 
22545
 
 
22546
        ac_cv_func_setsockopt=no
 
22547
fi
 
22548
 
 
22549
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22550
      conftest$ac_exeext conftest.$ac_ext
 
22551
fi
 
22552
{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
 
22553
echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; }
 
22554
if test $ac_cv_func_setsockopt = yes; then
 
22555
  :
 
22556
else
 
22557
  { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
 
22558
echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; }
 
22559
if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
 
22560
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22561
else
 
22562
  ac_check_lib_save_LIBS=$LIBS
 
22563
LIBS="-lsocket  $LIBS"
 
22564
cat >conftest.$ac_ext <<_ACEOF
 
22565
/* confdefs.h.  */
 
22566
_ACEOF
 
22567
cat confdefs.h >>conftest.$ac_ext
 
22568
cat >>conftest.$ac_ext <<_ACEOF
 
22569
/* end confdefs.h.  */
 
22570
 
 
22571
/* Override any GCC internal prototype to avoid an error.
 
22572
   Use char because int might match the return type of a GCC
 
22573
   builtin and then its argument prototype would still apply.  */
 
22574
#ifdef __cplusplus
 
22575
extern "C"
 
22576
#endif
 
22577
char setsockopt ();
 
22578
int
 
22579
main ()
 
22580
{
 
22581
return setsockopt ();
 
22582
  ;
 
22583
  return 0;
 
22584
}
 
22585
_ACEOF
 
22586
rm -f conftest.$ac_objext conftest$ac_exeext
 
22587
if { (ac_try="$ac_link"
 
22588
case "(($ac_try" in
 
22589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22590
  *) ac_try_echo=$ac_try;;
 
22591
esac
 
22592
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22593
  (eval "$ac_link") 2>conftest.er1
 
22594
  ac_status=$?
 
22595
  grep -v '^ *+' conftest.er1 >conftest.err
 
22596
  rm -f conftest.er1
 
22597
  cat conftest.err >&5
 
22598
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22599
  (exit $ac_status); } && {
 
22600
         test -z "$ac_c_werror_flag" ||
 
22601
         test ! -s conftest.err
 
22602
       } && test -s conftest$ac_exeext &&
 
22603
       $as_test_x conftest$ac_exeext; then
 
22604
  ac_cv_lib_socket_setsockopt=yes
 
22605
else
 
22606
  echo "$as_me: failed program was:" >&5
 
22607
sed 's/^/| /' conftest.$ac_ext >&5
 
22608
 
 
22609
        ac_cv_lib_socket_setsockopt=no
 
22610
fi
 
22611
 
 
22612
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22613
      conftest$ac_exeext conftest.$ac_ext
 
22614
LIBS=$ac_check_lib_save_LIBS
 
22615
fi
 
22616
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
 
22617
echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; }
 
22618
if test $ac_cv_lib_socket_setsockopt = yes; then
 
22619
  NETLIBS="-lsocket $NETLIBS"
 
22620
fi
 
22621
 
 
22622
fi
 
22623
 
 
22624
 
21597
22625
 
21598
22626
# Checks for library functions.
21599
 
echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21600
 
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
 
22627
{ echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
 
22628
echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
21601
22629
if test "${ac_cv_sys_largefile_source+set}" = set; then
21602
22630
  echo $ECHO_N "(cached) $ECHO_C" >&6
21603
22631
else
21604
22632
  while :; do
21605
 
  ac_cv_sys_largefile_source=no
21606
22633
  cat >conftest.$ac_ext <<_ACEOF
21607
22634
/* confdefs.h.  */
21608
22635
_ACEOF
21609
22636
cat confdefs.h >>conftest.$ac_ext
21610
22637
cat >>conftest.$ac_ext <<_ACEOF
21611
22638
/* end confdefs.h.  */
21612
 
#include <stdio.h>
 
22639
#include <sys/types.h> /* for off_t */
 
22640
     #include <stdio.h>
21613
22641
int
21614
22642
main ()
21615
22643
{
21616
 
return !fseeko;
 
22644
int (*fp) (FILE *, off_t, int) = fseeko;
 
22645
     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21617
22646
  ;
21618
22647
  return 0;
21619
22648
}
21620
22649
_ACEOF
21621
 
rm -f conftest.$ac_objext
21622
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21623
 
  (eval $ac_compile) 2>conftest.er1
 
22650
rm -f conftest.$ac_objext conftest$ac_exeext
 
22651
if { (ac_try="$ac_link"
 
22652
case "(($ac_try" in
 
22653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22654
  *) ac_try_echo=$ac_try;;
 
22655
esac
 
22656
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22657
  (eval "$ac_link") 2>conftest.er1
21624
22658
  ac_status=$?
21625
22659
  grep -v '^ *+' conftest.er1 >conftest.err
21626
22660
  rm -f conftest.er1
21627
22661
  cat conftest.err >&5
21628
22662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629
 
  (exit $ac_status); } &&
21630
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21631
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632
 
  (eval $ac_try) 2>&5
21633
 
  ac_status=$?
21634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635
 
  (exit $ac_status); }; } &&
21636
 
         { ac_try='test -s conftest.$ac_objext'
21637
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638
 
  (eval $ac_try) 2>&5
21639
 
  ac_status=$?
21640
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641
 
  (exit $ac_status); }; }; then
21642
 
  break
 
22663
  (exit $ac_status); } && {
 
22664
         test -z "$ac_c_werror_flag" ||
 
22665
         test ! -s conftest.err
 
22666
       } && test -s conftest$ac_exeext &&
 
22667
       $as_test_x conftest$ac_exeext; then
 
22668
  ac_cv_sys_largefile_source=no; break
21643
22669
else
21644
22670
  echo "$as_me: failed program was:" >&5
21645
22671
sed 's/^/| /' conftest.$ac_ext >&5
21646
22672
 
 
22673
 
21647
22674
fi
21648
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22675
 
 
22676
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22677
      conftest$ac_exeext conftest.$ac_ext
21649
22678
  cat >conftest.$ac_ext <<_ACEOF
21650
22679
/* confdefs.h.  */
21651
22680
_ACEOF
21653
22682
cat >>conftest.$ac_ext <<_ACEOF
21654
22683
/* end confdefs.h.  */
21655
22684
#define _LARGEFILE_SOURCE 1
21656
 
#include <stdio.h>
 
22685
#include <sys/types.h> /* for off_t */
 
22686
     #include <stdio.h>
21657
22687
int
21658
22688
main ()
21659
22689
{
21660
 
return !fseeko;
 
22690
int (*fp) (FILE *, off_t, int) = fseeko;
 
22691
     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21661
22692
  ;
21662
22693
  return 0;
21663
22694
}
21664
22695
_ACEOF
21665
 
rm -f conftest.$ac_objext
21666
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21667
 
  (eval $ac_compile) 2>conftest.er1
 
22696
rm -f conftest.$ac_objext conftest$ac_exeext
 
22697
if { (ac_try="$ac_link"
 
22698
case "(($ac_try" in
 
22699
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22700
  *) ac_try_echo=$ac_try;;
 
22701
esac
 
22702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22703
  (eval "$ac_link") 2>conftest.er1
21668
22704
  ac_status=$?
21669
22705
  grep -v '^ *+' conftest.er1 >conftest.err
21670
22706
  rm -f conftest.er1
21671
22707
  cat conftest.err >&5
21672
22708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673
 
  (exit $ac_status); } &&
21674
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21675
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676
 
  (eval $ac_try) 2>&5
21677
 
  ac_status=$?
21678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679
 
  (exit $ac_status); }; } &&
21680
 
         { ac_try='test -s conftest.$ac_objext'
21681
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682
 
  (eval $ac_try) 2>&5
21683
 
  ac_status=$?
21684
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685
 
  (exit $ac_status); }; }; then
 
22709
  (exit $ac_status); } && {
 
22710
         test -z "$ac_c_werror_flag" ||
 
22711
         test ! -s conftest.err
 
22712
       } && test -s conftest$ac_exeext &&
 
22713
       $as_test_x conftest$ac_exeext; then
21686
22714
  ac_cv_sys_largefile_source=1; break
21687
22715
else
21688
22716
  echo "$as_me: failed program was:" >&5
21689
22717
sed 's/^/| /' conftest.$ac_ext >&5
21690
22718
 
 
22719
 
21691
22720
fi
21692
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22721
 
 
22722
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
22723
      conftest$ac_exeext conftest.$ac_ext
 
22724
  ac_cv_sys_largefile_source=unknown
21693
22725
  break
21694
22726
done
21695
22727
fi
21696
 
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21697
 
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21698
 
if test "$ac_cv_sys_largefile_source" != no; then
21699
 
 
 
22728
{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
 
22729
echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
 
22730
case $ac_cv_sys_largefile_source in #(
 
22731
  no | unknown) ;;
 
22732
  *)
21700
22733
cat >>confdefs.h <<_ACEOF
21701
22734
#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21702
22735
_ACEOF
21703
 
 
21704
 
fi
 
22736
;;
 
22737
esac
21705
22738
rm -f conftest*
21706
22739
 
21707
22740
# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21708
22741
# in glibc 2.1.3, but that breaks too many other things.
21709
22742
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21710
 
echo "$as_me:$LINENO: checking for fseeko" >&5
21711
 
echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21712
 
if test "${ac_cv_func_fseeko+set}" = set; then
21713
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21714
 
else
21715
 
  cat >conftest.$ac_ext <<_ACEOF
21716
 
/* confdefs.h.  */
21717
 
_ACEOF
21718
 
cat confdefs.h >>conftest.$ac_ext
21719
 
cat >>conftest.$ac_ext <<_ACEOF
21720
 
/* end confdefs.h.  */
21721
 
#include <stdio.h>
21722
 
int
21723
 
main ()
21724
 
{
21725
 
return fseeko && fseeko (stdin, 0, 0);
21726
 
  ;
21727
 
  return 0;
21728
 
}
21729
 
_ACEOF
21730
 
rm -f conftest.$ac_objext conftest$ac_exeext
21731
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21732
 
  (eval $ac_link) 2>conftest.er1
21733
 
  ac_status=$?
21734
 
  grep -v '^ *+' conftest.er1 >conftest.err
21735
 
  rm -f conftest.er1
21736
 
  cat conftest.err >&5
21737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738
 
  (exit $ac_status); } &&
21739
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21740
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741
 
  (eval $ac_try) 2>&5
21742
 
  ac_status=$?
21743
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744
 
  (exit $ac_status); }; } &&
21745
 
         { ac_try='test -s conftest$ac_exeext'
21746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747
 
  (eval $ac_try) 2>&5
21748
 
  ac_status=$?
21749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750
 
  (exit $ac_status); }; }; then
21751
 
  ac_cv_func_fseeko=yes
21752
 
else
21753
 
  echo "$as_me: failed program was:" >&5
21754
 
sed 's/^/| /' conftest.$ac_ext >&5
21755
 
 
21756
 
ac_cv_func_fseeko=no
21757
 
fi
21758
 
rm -f conftest.err conftest.$ac_objext \
21759
 
      conftest$ac_exeext conftest.$ac_ext
21760
 
fi
21761
 
echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21762
 
echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21763
 
if test $ac_cv_func_fseeko = yes; then
 
22743
if test $ac_cv_sys_largefile_source != unknown; then
21764
22744
 
21765
22745
cat >>confdefs.h <<\_ACEOF
21766
22746
#define HAVE_FSEEKO 1
21770
22750
 
21771
22751
 
21772
22752
 
21773
 
for ac_func in stpcpy
21774
 
do
21775
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21776
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
21777
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21778
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
21779
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21780
 
else
21781
 
  cat >conftest.$ac_ext <<_ACEOF
21782
 
/* confdefs.h.  */
21783
 
_ACEOF
21784
 
cat confdefs.h >>conftest.$ac_ext
21785
 
cat >>conftest.$ac_ext <<_ACEOF
21786
 
/* end confdefs.h.  */
21787
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21788
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21789
 
#define $ac_func innocuous_$ac_func
21790
 
 
21791
 
/* System header to define __stub macros and hopefully few prototypes,
21792
 
    which can conflict with char $ac_func (); below.
21793
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21794
 
    <limits.h> exists even on freestanding compilers.  */
21795
 
 
21796
 
#ifdef __STDC__
21797
 
# include <limits.h>
21798
 
#else
21799
 
# include <assert.h>
21800
 
#endif
21801
 
 
21802
 
#undef $ac_func
21803
 
 
21804
 
/* Override any gcc2 internal prototype to avoid an error.  */
21805
 
#ifdef __cplusplus
21806
 
extern "C"
21807
 
{
21808
 
#endif
21809
 
/* We use char because int might match the return type of a gcc2
21810
 
   builtin and then its argument prototype would still apply.  */
21811
 
char $ac_func ();
21812
 
/* The GNU C library defines this for functions which it implements
21813
 
    to always fail with ENOSYS.  Some functions are actually named
21814
 
    something starting with __ and the normal name is an alias.  */
21815
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21816
 
choke me
21817
 
#else
21818
 
char (*f) () = $ac_func;
21819
 
#endif
21820
 
#ifdef __cplusplus
21821
 
}
21822
 
#endif
21823
 
 
21824
 
int
21825
 
main ()
21826
 
{
21827
 
return f != $ac_func;
21828
 
  ;
21829
 
  return 0;
21830
 
}
21831
 
_ACEOF
21832
 
rm -f conftest.$ac_objext conftest$ac_exeext
21833
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21834
 
  (eval $ac_link) 2>conftest.er1
21835
 
  ac_status=$?
21836
 
  grep -v '^ *+' conftest.er1 >conftest.err
21837
 
  rm -f conftest.er1
21838
 
  cat conftest.err >&5
21839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840
 
  (exit $ac_status); } &&
21841
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21842
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21843
 
  (eval $ac_try) 2>&5
21844
 
  ac_status=$?
21845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846
 
  (exit $ac_status); }; } &&
21847
 
         { ac_try='test -s conftest$ac_exeext'
21848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849
 
  (eval $ac_try) 2>&5
21850
 
  ac_status=$?
21851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852
 
  (exit $ac_status); }; }; then
21853
 
  eval "$as_ac_var=yes"
21854
 
else
21855
 
  echo "$as_me: failed program was:" >&5
21856
 
sed 's/^/| /' conftest.$ac_ext >&5
21857
 
 
21858
 
eval "$as_ac_var=no"
21859
 
fi
21860
 
rm -f conftest.err conftest.$ac_objext \
21861
 
      conftest$ac_exeext conftest.$ac_ext
21862
 
fi
21863
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21864
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21865
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
21866
 
  cat >>confdefs.h <<_ACEOF
21867
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21868
 
_ACEOF
21869
 
 
21870
 
fi
21871
 
done
21872
 
 
21873
 
 
21874
 
 
21875
22753
for ac_func in vasprintf
21876
22754
do
21877
22755
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21878
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
21879
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21880
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22756
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22757
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22758
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21881
22759
  echo $ECHO_N "(cached) $ECHO_C" >&6
21882
22760
else
21883
22761
  cat >conftest.$ac_ext <<_ACEOF
21903
22781
 
21904
22782
#undef $ac_func
21905
22783
 
21906
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22784
/* Override any GCC internal prototype to avoid an error.
 
22785
   Use char because int might match the return type of a GCC
 
22786
   builtin and then its argument prototype would still apply.  */
21907
22787
#ifdef __cplusplus
21908
22788
extern "C"
21909
 
{
21910
22789
#endif
21911
 
/* We use char because int might match the return type of a gcc2
21912
 
   builtin and then its argument prototype would still apply.  */
21913
22790
char $ac_func ();
21914
22791
/* The GNU C library defines this for functions which it implements
21915
22792
    to always fail with ENOSYS.  Some functions are actually named
21916
22793
    something starting with __ and the normal name is an alias.  */
21917
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22794
#if defined __stub_$ac_func || defined __stub___$ac_func
21918
22795
choke me
21919
 
#else
21920
 
char (*f) () = $ac_func;
21921
 
#endif
21922
 
#ifdef __cplusplus
21923
 
}
21924
22796
#endif
21925
22797
 
21926
22798
int
21927
22799
main ()
21928
22800
{
21929
 
return f != $ac_func;
 
22801
return $ac_func ();
21930
22802
  ;
21931
22803
  return 0;
21932
22804
}
21933
22805
_ACEOF
21934
22806
rm -f conftest.$ac_objext conftest$ac_exeext
21935
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21936
 
  (eval $ac_link) 2>conftest.er1
 
22807
if { (ac_try="$ac_link"
 
22808
case "(($ac_try" in
 
22809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22810
  *) ac_try_echo=$ac_try;;
 
22811
esac
 
22812
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22813
  (eval "$ac_link") 2>conftest.er1
21937
22814
  ac_status=$?
21938
22815
  grep -v '^ *+' conftest.er1 >conftest.err
21939
22816
  rm -f conftest.er1
21940
22817
  cat conftest.err >&5
21941
22818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942
 
  (exit $ac_status); } &&
21943
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21944
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945
 
  (eval $ac_try) 2>&5
21946
 
  ac_status=$?
21947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948
 
  (exit $ac_status); }; } &&
21949
 
         { ac_try='test -s conftest$ac_exeext'
21950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21951
 
  (eval $ac_try) 2>&5
21952
 
  ac_status=$?
21953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954
 
  (exit $ac_status); }; }; then
 
22819
  (exit $ac_status); } && {
 
22820
         test -z "$ac_c_werror_flag" ||
 
22821
         test ! -s conftest.err
 
22822
       } && test -s conftest$ac_exeext &&
 
22823
       $as_test_x conftest$ac_exeext; then
21955
22824
  eval "$as_ac_var=yes"
21956
22825
else
21957
22826
  echo "$as_me: failed program was:" >&5
21958
22827
sed 's/^/| /' conftest.$ac_ext >&5
21959
22828
 
21960
 
eval "$as_ac_var=no"
 
22829
        eval "$as_ac_var=no"
21961
22830
fi
21962
 
rm -f conftest.err conftest.$ac_objext \
 
22831
 
 
22832
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21963
22833
      conftest$ac_exeext conftest.$ac_ext
21964
22834
fi
21965
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21966
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
22835
ac_res=`eval echo '${'$as_ac_var'}'`
 
22836
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22837
echo "${ECHO_T}$ac_res" >&6; }
21967
22838
if test `eval echo '${'$as_ac_var'}'` = yes; then
21968
22839
  cat >>confdefs.h <<_ACEOF
21969
22840
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21970
22841
_ACEOF
21971
22842
 
21972
22843
else
21973
 
  case $LIBOBJS in
21974
 
    "$ac_func.$ac_objext"   | \
21975
 
  *" $ac_func.$ac_objext"   | \
21976
 
    "$ac_func.$ac_objext "* | \
 
22844
  case " $LIBOBJS " in
21977
22845
  *" $ac_func.$ac_objext "* ) ;;
21978
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
22846
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
22847
 ;;
21979
22848
esac
21980
22849
 
21981
22850
fi
21983
22852
 
21984
22853
 
21985
22854
if test "$ac_cv_func_vasprintf" != yes; then
21986
 
   echo "$as_me:$LINENO: checking whether va_lists must be copied by value" >&5
21987
 
echo $ECHO_N "checking whether va_lists must be copied by value... $ECHO_C" >&6
 
22855
   { echo "$as_me:$LINENO: checking whether va_lists must be copied by value" >&5
 
22856
echo $ECHO_N "checking whether va_lists must be copied by value... $ECHO_C" >&6; }
21988
22857
  if test "${gnupg_cv_must_copy_va_byval+set}" = set; then
21989
22858
  echo $ECHO_N "(cached) $ECHO_C" >&6
21990
22859
else
22027
22896
 
22028
22897
_ACEOF
22029
22898
rm -f conftest$ac_exeext
22030
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22031
 
  (eval $ac_link) 2>&5
 
22899
if { (ac_try="$ac_link"
 
22900
case "(($ac_try" in
 
22901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22902
  *) ac_try_echo=$ac_try;;
 
22903
esac
 
22904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22905
  (eval "$ac_link") 2>&5
22032
22906
  ac_status=$?
22033
22907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034
22908
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22035
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22036
 
  (eval $ac_try) 2>&5
 
22909
  { (case "(($ac_try" in
 
22910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22911
  *) ac_try_echo=$ac_try;;
 
22912
esac
 
22913
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22914
  (eval "$ac_try") 2>&5
22037
22915
  ac_status=$?
22038
22916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039
22917
  (exit $ac_status); }; }; then
22044
22922
sed 's/^/| /' conftest.$ac_ext >&5
22045
22923
 
22046
22924
fi
22047
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22925
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22048
22926
fi
 
22927
 
 
22928
 
22049
22929
    fi
22050
22930
 
22051
22931
fi
22058
22938
 
22059
22939
  fi
22060
22940
  if test "$cross_compiling" = yes; then
22061
 
    echo "$as_me:$LINENO: result: assuming $gnupg_cv_must_copy_va_byval" >&5
22062
 
echo "${ECHO_T}assuming $gnupg_cv_must_copy_va_byval" >&6
 
22941
    { echo "$as_me:$LINENO: result: assuming $gnupg_cv_must_copy_va_byval" >&5
 
22942
echo "${ECHO_T}assuming $gnupg_cv_must_copy_va_byval" >&6; }
22063
22943
  else
22064
 
    echo "$as_me:$LINENO: result: $gnupg_cv_must_copy_va_byval" >&5
22065
 
echo "${ECHO_T}$gnupg_cv_must_copy_va_byval" >&6
 
22944
    { echo "$as_me:$LINENO: result: $gnupg_cv_must_copy_va_byval" >&5
 
22945
echo "${ECHO_T}$gnupg_cv_must_copy_va_byval" >&6; }
22066
22946
  fi
22067
22947
 
22068
22948
fi
22072
22952
for ac_func in ttyname_r
22073
22953
do
22074
22954
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22075
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22076
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22077
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
22955
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22956
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22957
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22078
22958
  echo $ECHO_N "(cached) $ECHO_C" >&6
22079
22959
else
22080
22960
  cat >conftest.$ac_ext <<_ACEOF
22100
22980
 
22101
22981
#undef $ac_func
22102
22982
 
22103
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
22983
/* Override any GCC internal prototype to avoid an error.
 
22984
   Use char because int might match the return type of a GCC
 
22985
   builtin and then its argument prototype would still apply.  */
22104
22986
#ifdef __cplusplus
22105
22987
extern "C"
22106
 
{
22107
22988
#endif
22108
 
/* We use char because int might match the return type of a gcc2
22109
 
   builtin and then its argument prototype would still apply.  */
22110
22989
char $ac_func ();
22111
22990
/* The GNU C library defines this for functions which it implements
22112
22991
    to always fail with ENOSYS.  Some functions are actually named
22113
22992
    something starting with __ and the normal name is an alias.  */
22114
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
22993
#if defined __stub_$ac_func || defined __stub___$ac_func
22115
22994
choke me
22116
 
#else
22117
 
char (*f) () = $ac_func;
22118
 
#endif
22119
 
#ifdef __cplusplus
22120
 
}
22121
22995
#endif
22122
22996
 
22123
22997
int
22124
22998
main ()
22125
22999
{
22126
 
return f != $ac_func;
 
23000
return $ac_func ();
22127
23001
  ;
22128
23002
  return 0;
22129
23003
}
22130
23004
_ACEOF
22131
23005
rm -f conftest.$ac_objext conftest$ac_exeext
22132
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22133
 
  (eval $ac_link) 2>conftest.er1
 
23006
if { (ac_try="$ac_link"
 
23007
case "(($ac_try" in
 
23008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23009
  *) ac_try_echo=$ac_try;;
 
23010
esac
 
23011
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23012
  (eval "$ac_link") 2>conftest.er1
22134
23013
  ac_status=$?
22135
23014
  grep -v '^ *+' conftest.er1 >conftest.err
22136
23015
  rm -f conftest.er1
22137
23016
  cat conftest.err >&5
22138
23017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139
 
  (exit $ac_status); } &&
22140
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142
 
  (eval $ac_try) 2>&5
22143
 
  ac_status=$?
22144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145
 
  (exit $ac_status); }; } &&
22146
 
         { ac_try='test -s conftest$ac_exeext'
22147
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22148
 
  (eval $ac_try) 2>&5
22149
 
  ac_status=$?
22150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151
 
  (exit $ac_status); }; }; then
 
23018
  (exit $ac_status); } && {
 
23019
         test -z "$ac_c_werror_flag" ||
 
23020
         test ! -s conftest.err
 
23021
       } && test -s conftest$ac_exeext &&
 
23022
       $as_test_x conftest$ac_exeext; then
22152
23023
  eval "$as_ac_var=yes"
22153
23024
else
22154
23025
  echo "$as_me: failed program was:" >&5
22155
23026
sed 's/^/| /' conftest.$ac_ext >&5
22156
23027
 
22157
 
eval "$as_ac_var=no"
 
23028
        eval "$as_ac_var=no"
22158
23029
fi
22159
 
rm -f conftest.err conftest.$ac_objext \
 
23030
 
 
23031
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22160
23032
      conftest$ac_exeext conftest.$ac_ext
22161
23033
fi
22162
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22163
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23034
ac_res=`eval echo '${'$as_ac_var'}'`
 
23035
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23036
echo "${ECHO_T}$ac_res" >&6; }
22164
23037
if test `eval echo '${'$as_ac_var'}'` = yes; then
22165
23038
  cat >>confdefs.h <<_ACEOF
22166
23039
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22167
23040
_ACEOF
22168
23041
 
22169
23042
else
22170
 
  case $LIBOBJS in
22171
 
    "$ac_func.$ac_objext"   | \
22172
 
  *" $ac_func.$ac_objext"   | \
22173
 
    "$ac_func.$ac_objext "* | \
 
23043
  case " $LIBOBJS " in
22174
23044
  *" $ac_func.$ac_objext "* ) ;;
22175
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
23045
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
23046
 ;;
22176
23047
esac
22177
23048
 
22178
23049
fi
22193
23064
# Try to find a thread-safe version of getenv().
22194
23065
have_thread_safe_getenv=no
22195
23066
 
22196
 
    echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
22197
 
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
 
23067
    { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
 
23068
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
22198
23069
if test "${ac_cv_gnu_library_2_1+set}" = set; then
22199
23070
  echo $ECHO_N "(cached) $ECHO_C" >&6
22200
23071
else
22224
23095
 
22225
23096
 
22226
23097
fi
22227
 
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
22228
 
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
 
23098
{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
 
23099
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
22229
23100
 
22230
23101
    GLIBC21="$ac_cv_gnu_library_2_1"
22231
23102
 
22245
23116
for ac_func in getenv_r
22246
23117
do
22247
23118
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22248
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22249
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22250
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23119
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23120
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23121
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22251
23122
  echo $ECHO_N "(cached) $ECHO_C" >&6
22252
23123
else
22253
23124
  cat >conftest.$ac_ext <<_ACEOF
22273
23144
 
22274
23145
#undef $ac_func
22275
23146
 
22276
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23147
/* Override any GCC internal prototype to avoid an error.
 
23148
   Use char because int might match the return type of a GCC
 
23149
   builtin and then its argument prototype would still apply.  */
22277
23150
#ifdef __cplusplus
22278
23151
extern "C"
22279
 
{
22280
23152
#endif
22281
 
/* We use char because int might match the return type of a gcc2
22282
 
   builtin and then its argument prototype would still apply.  */
22283
23153
char $ac_func ();
22284
23154
/* The GNU C library defines this for functions which it implements
22285
23155
    to always fail with ENOSYS.  Some functions are actually named
22286
23156
    something starting with __ and the normal name is an alias.  */
22287
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23157
#if defined __stub_$ac_func || defined __stub___$ac_func
22288
23158
choke me
22289
 
#else
22290
 
char (*f) () = $ac_func;
22291
 
#endif
22292
 
#ifdef __cplusplus
22293
 
}
22294
23159
#endif
22295
23160
 
22296
23161
int
22297
23162
main ()
22298
23163
{
22299
 
return f != $ac_func;
 
23164
return $ac_func ();
22300
23165
  ;
22301
23166
  return 0;
22302
23167
}
22303
23168
_ACEOF
22304
23169
rm -f conftest.$ac_objext conftest$ac_exeext
22305
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22306
 
  (eval $ac_link) 2>conftest.er1
 
23170
if { (ac_try="$ac_link"
 
23171
case "(($ac_try" in
 
23172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23173
  *) ac_try_echo=$ac_try;;
 
23174
esac
 
23175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23176
  (eval "$ac_link") 2>conftest.er1
22307
23177
  ac_status=$?
22308
23178
  grep -v '^ *+' conftest.er1 >conftest.err
22309
23179
  rm -f conftest.er1
22310
23180
  cat conftest.err >&5
22311
23181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312
 
  (exit $ac_status); } &&
22313
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22314
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315
 
  (eval $ac_try) 2>&5
22316
 
  ac_status=$?
22317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318
 
  (exit $ac_status); }; } &&
22319
 
         { ac_try='test -s conftest$ac_exeext'
22320
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321
 
  (eval $ac_try) 2>&5
22322
 
  ac_status=$?
22323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324
 
  (exit $ac_status); }; }; then
 
23182
  (exit $ac_status); } && {
 
23183
         test -z "$ac_c_werror_flag" ||
 
23184
         test ! -s conftest.err
 
23185
       } && test -s conftest$ac_exeext &&
 
23186
       $as_test_x conftest$ac_exeext; then
22325
23187
  eval "$as_ac_var=yes"
22326
23188
else
22327
23189
  echo "$as_me: failed program was:" >&5
22328
23190
sed 's/^/| /' conftest.$ac_ext >&5
22329
23191
 
22330
 
eval "$as_ac_var=no"
 
23192
        eval "$as_ac_var=no"
22331
23193
fi
22332
 
rm -f conftest.err conftest.$ac_objext \
 
23194
 
 
23195
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22333
23196
      conftest$ac_exeext conftest.$ac_ext
22334
23197
fi
22335
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22336
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23198
ac_res=`eval echo '${'$as_ac_var'}'`
 
23199
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23200
echo "${ECHO_T}$ac_res" >&6; }
22337
23201
if test `eval echo '${'$as_ac_var'}'` = yes; then
22338
23202
  cat >>confdefs.h <<_ACEOF
22339
23203
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22359
23223
for ac_func in timegm
22360
23224
do
22361
23225
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22362
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22363
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22364
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23226
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23227
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23228
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22365
23229
  echo $ECHO_N "(cached) $ECHO_C" >&6
22366
23230
else
22367
23231
  cat >conftest.$ac_ext <<_ACEOF
22387
23251
 
22388
23252
#undef $ac_func
22389
23253
 
22390
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23254
/* Override any GCC internal prototype to avoid an error.
 
23255
   Use char because int might match the return type of a GCC
 
23256
   builtin and then its argument prototype would still apply.  */
22391
23257
#ifdef __cplusplus
22392
23258
extern "C"
22393
 
{
22394
23259
#endif
22395
 
/* We use char because int might match the return type of a gcc2
22396
 
   builtin and then its argument prototype would still apply.  */
22397
23260
char $ac_func ();
22398
23261
/* The GNU C library defines this for functions which it implements
22399
23262
    to always fail with ENOSYS.  Some functions are actually named
22400
23263
    something starting with __ and the normal name is an alias.  */
22401
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23264
#if defined __stub_$ac_func || defined __stub___$ac_func
22402
23265
choke me
22403
 
#else
22404
 
char (*f) () = $ac_func;
22405
 
#endif
22406
 
#ifdef __cplusplus
22407
 
}
22408
23266
#endif
22409
23267
 
22410
23268
int
22411
23269
main ()
22412
23270
{
22413
 
return f != $ac_func;
 
23271
return $ac_func ();
22414
23272
  ;
22415
23273
  return 0;
22416
23274
}
22417
23275
_ACEOF
22418
23276
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
 
23277
if { (ac_try="$ac_link"
 
23278
case "(($ac_try" in
 
23279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23280
  *) ac_try_echo=$ac_try;;
 
23281
esac
 
23282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23283
  (eval "$ac_link") 2>conftest.er1
22421
23284
  ac_status=$?
22422
23285
  grep -v '^ *+' conftest.er1 >conftest.err
22423
23286
  rm -f conftest.er1
22424
23287
  cat conftest.err >&5
22425
23288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426
 
  (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
22430
 
  ac_status=$?
22431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432
 
  (exit $ac_status); }; } &&
22433
 
         { ac_try='test -s conftest$ac_exeext'
22434
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435
 
  (eval $ac_try) 2>&5
22436
 
  ac_status=$?
22437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438
 
  (exit $ac_status); }; }; then
 
23289
  (exit $ac_status); } && {
 
23290
         test -z "$ac_c_werror_flag" ||
 
23291
         test ! -s conftest.err
 
23292
       } && test -s conftest$ac_exeext &&
 
23293
       $as_test_x conftest$ac_exeext; then
22439
23294
  eval "$as_ac_var=yes"
22440
23295
else
22441
23296
  echo "$as_me: failed program was:" >&5
22442
23297
sed 's/^/| /' conftest.$ac_ext >&5
22443
23298
 
22444
 
eval "$as_ac_var=no"
 
23299
        eval "$as_ac_var=no"
22445
23300
fi
22446
 
rm -f conftest.err conftest.$ac_objext \
 
23301
 
 
23302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22447
23303
      conftest$ac_exeext conftest.$ac_ext
22448
23304
fi
22449
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22450
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23305
ac_res=`eval echo '${'$as_ac_var'}'`
 
23306
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23307
echo "${ECHO_T}$ac_res" >&6; }
22451
23308
if test `eval echo '${'$as_ac_var'}'` = yes; then
22452
23309
  cat >>confdefs.h <<_ACEOF
22453
23310
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22471
23328
 
22472
23329
# Checking for libgpg-error.
22473
23330
 
22474
 
# Check whether --with-gpg-error-prefix or --without-gpg-error-prefix was given.
 
23331
# Check whether --with-gpg-error-prefix was given.
22475
23332
if test "${with_gpg_error_prefix+set}" = set; then
22476
 
  withval="$with_gpg_error_prefix"
22477
 
  gpg_error_config_prefix="$withval"
 
23333
  withval=$with_gpg_error_prefix; gpg_error_config_prefix="$withval"
22478
23334
else
22479
23335
  gpg_error_config_prefix=""
22480
 
fi;
 
23336
fi
 
23337
 
22481
23338
  if test x$gpg_error_config_prefix != x ; then
22482
23339
     if test x${GPG_ERROR_CONFIG+set} != xset ; then
22483
23340
        GPG_ERROR_CONFIG=$gpg_error_config_prefix/bin/gpg-error-config
22486
23343
 
22487
23344
  # Extract the first word of "gpg-error-config", so it can be a program name with args.
22488
23345
set dummy gpg-error-config; ac_word=$2
22489
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22490
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23346
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23347
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22491
23348
if test "${ac_cv_path_GPG_ERROR_CONFIG+set}" = set; then
22492
23349
  echo $ECHO_N "(cached) $ECHO_C" >&6
22493
23350
else
22502
23359
  IFS=$as_save_IFS
22503
23360
  test -z "$as_dir" && as_dir=.
22504
23361
  for ac_exec_ext in '' $ac_executable_extensions; do
22505
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23362
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22506
23363
    ac_cv_path_GPG_ERROR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22507
23364
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22508
23365
    break 2
22509
23366
  fi
22510
23367
done
22511
23368
done
 
23369
IFS=$as_save_IFS
22512
23370
 
22513
23371
  test -z "$ac_cv_path_GPG_ERROR_CONFIG" && ac_cv_path_GPG_ERROR_CONFIG="no"
22514
23372
  ;;
22515
23373
esac
22516
23374
fi
22517
23375
GPG_ERROR_CONFIG=$ac_cv_path_GPG_ERROR_CONFIG
22518
 
 
22519
23376
if test -n "$GPG_ERROR_CONFIG"; then
22520
 
  echo "$as_me:$LINENO: result: $GPG_ERROR_CONFIG" >&5
22521
 
echo "${ECHO_T}$GPG_ERROR_CONFIG" >&6
 
23377
  { echo "$as_me:$LINENO: result: $GPG_ERROR_CONFIG" >&5
 
23378
echo "${ECHO_T}$GPG_ERROR_CONFIG" >&6; }
22522
23379
else
22523
 
  echo "$as_me:$LINENO: result: no" >&5
22524
 
echo "${ECHO_T}no" >&6
 
23380
  { echo "$as_me:$LINENO: result: no" >&5
 
23381
echo "${ECHO_T}no" >&6; }
22525
23382
fi
22526
23383
 
22527
 
  min_gpg_error_version=0.5
22528
 
  echo "$as_me:$LINENO: checking for GPG Error - version >= $min_gpg_error_version" >&5
22529
 
echo $ECHO_N "checking for GPG Error - version >= $min_gpg_error_version... $ECHO_C" >&6
 
23384
 
 
23385
  min_gpg_error_version=1.4
 
23386
  { echo "$as_me:$LINENO: checking for GPG Error - version >= $min_gpg_error_version" >&5
 
23387
echo $ECHO_N "checking for GPG Error - version >= $min_gpg_error_version... $ECHO_C" >&6; }
22530
23388
  ok=no
22531
23389
  if test "$GPG_ERROR_CONFIG" != "no" ; then
22532
23390
    req_major=`echo $min_gpg_error_version | \
22551
23409
  if test $ok = yes; then
22552
23410
    GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags`
22553
23411
    GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs`
22554
 
    echo "$as_me:$LINENO: result: yes" >&5
22555
 
echo "${ECHO_T}yes" >&6
 
23412
    { echo "$as_me:$LINENO: result: yes" >&5
 
23413
echo "${ECHO_T}yes" >&6; }
22556
23414
    :
22557
23415
  else
22558
23416
    GPG_ERROR_CFLAGS=""
22559
23417
    GPG_ERROR_LIBS=""
22560
 
    echo "$as_me:$LINENO: result: no" >&5
22561
 
echo "${ECHO_T}no" >&6
 
23418
    { echo "$as_me:$LINENO: result: no" >&5
 
23419
echo "${ECHO_T}no" >&6; }
22562
23420
    { { echo "$as_me:$LINENO: error: libgpg-error was not found" >&5
22563
23421
echo "$as_me: error: libgpg-error was not found" >&2;}
22564
23422
   { (exit 1); exit 1; }; }
22575
23433
 
22576
23434
 
22577
23435
# Checks for system services
 
23436
NEED_GPG_VERSION_DEFAULT=1.3.0
 
23437
NEED_GPGSM_VERSION_DEFAULT=1.9.6
 
23438
NEED_GPG_VERSION="$NEED_GPG_VERSION_DEFAULT"
 
23439
NEED_GPGSM_VERSION="$NEED_GPGSM_VERSION_DEFAULT"
 
23440
 
 
23441
# Check whether --with-gpg-version was given.
 
23442
if test "${with_gpg_version+set}" = set; then
 
23443
  withval=$with_gpg_version; NEED_GPG_VERSION=$withval
 
23444
fi
 
23445
 
 
23446
if test "$NEED_GPG_VERSION" = "yes"; then
 
23447
  NEED_GPG_VERSION="$NEED_GPG_VERSION_DEFAULT"
 
23448
fi
 
23449
if test "$NEED_GPG_VERSION" = "no"; then
 
23450
  NEED_GPG_VERSION=0.0.0
 
23451
fi
 
23452
 
 
23453
# Check whether --with-gpgsm-version was given.
 
23454
if test "${with_gpgsm_version+set}" = set; then
 
23455
  withval=$with_gpgsm_version; NEED_GPGSM_VERSION=$withval
 
23456
fi
 
23457
 
 
23458
if test "$NEED_GPGSM_VERSION" = "yes"; then
 
23459
  NEED_GPGSM_VERSION="$NEED_GPGSM_VERSION_DEFAULT"
 
23460
fi
 
23461
if test "$NEED_GPGSM_VERSION" = "no"; then
 
23462
  NEED_GPGSM_VERSION=0.0.0
 
23463
fi
 
23464
 
 
23465
 
 
23466
cat >>confdefs.h <<_ACEOF
 
23467
#define NEED_GPG_VERSION "$NEED_GPG_VERSION"
 
23468
_ACEOF
 
23469
 
 
23470
 
 
23471
cat >>confdefs.h <<_ACEOF
 
23472
#define NEED_GPGSM_VERSION "$NEED_GPGSM_VERSION"
 
23473
_ACEOF
 
23474
 
 
23475
 
 
23476
 
22578
23477
NO_OVERRIDE=no
22579
23478
 
22580
 
# Check whether --with-gpg or --without-gpg was given.
 
23479
# Check whether --with-gpg was given.
22581
23480
if test "${with_gpg+set}" = set; then
22582
 
  withval="$with_gpg"
22583
 
  GPG=$withval
 
23481
  withval=$with_gpg; GPG=$withval
22584
23482
else
22585
23483
  NO_OVERRIDE=yes
22586
 
fi;
 
23484
fi
 
23485
 
22587
23486
if test "$NO_OVERRIDE" = "yes" || test "$GPG" = "yes"; then
22588
23487
  GPG=
22589
23488
  NO_OVERRIDE=yes
22590
23489
  if test "$cross_compiling" != "yes"; then
22591
23490
    # Extract the first word of "gpg", so it can be a program name with args.
22592
23491
set dummy gpg; ac_word=$2
22593
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22594
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23492
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23493
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22595
23494
if test "${ac_cv_path_GPG+set}" = set; then
22596
23495
  echo $ECHO_N "(cached) $ECHO_C" >&6
22597
23496
else
22606
23505
  IFS=$as_save_IFS
22607
23506
  test -z "$as_dir" && as_dir=.
22608
23507
  for ac_exec_ext in '' $ac_executable_extensions; do
22609
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22610
23509
    ac_cv_path_GPG="$as_dir/$ac_word$ac_exec_ext"
22611
23510
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22612
23511
    break 2
22613
23512
  fi
22614
23513
done
22615
23514
done
 
23515
IFS=$as_save_IFS
22616
23516
 
22617
23517
  ;;
22618
23518
esac
22619
23519
fi
22620
23520
GPG=$ac_cv_path_GPG
22621
 
 
22622
23521
if test -n "$GPG"; then
22623
 
  echo "$as_me:$LINENO: result: $GPG" >&5
22624
 
echo "${ECHO_T}$GPG" >&6
 
23522
  { echo "$as_me:$LINENO: result: $GPG" >&5
 
23523
echo "${ECHO_T}$GPG" >&6; }
22625
23524
else
22626
 
  echo "$as_me:$LINENO: result: no" >&5
22627
 
echo "${ECHO_T}no" >&6
 
23525
  { echo "$as_me:$LINENO: result: no" >&5
 
23526
echo "${ECHO_T}no" >&6; }
22628
23527
fi
22629
23528
 
 
23529
 
22630
23530
  fi
22631
23531
  if test -z "$GPG"; then
22632
23532
    GPG="$GPG_DEFAULT"
22681
23581
  fi
22682
23582
fi
22683
23583
if test "$ok" = "maybe"; then
22684
 
  echo "$as_me:$LINENO: checking for GnuPG >= $NEED_GPG_VERSION" >&5
22685
 
echo $ECHO_N "checking for GnuPG >= $NEED_GPG_VERSION... $ECHO_C" >&6
 
23584
  { echo "$as_me:$LINENO: checking for GPG >= $NEED_GPG_VERSION" >&5
 
23585
echo $ECHO_N "checking for GPG >= $NEED_GPG_VERSION... $ECHO_C" >&6; }
22686
23586
  req_major=`echo $NEED_GPG_VERSION | \
22687
23587
             sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
22688
23588
  req_minor=`echo $NEED_GPG_VERSION | \
22689
23589
             sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
22690
23590
  req_micro=`echo $NEED_GPG_VERSION | \
22691
23591
             sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
22692
 
  gpg_version=`$GPG --version | grep ^gpg`
22693
 
  major=`echo $gpg_version | \
22694
 
         sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
22695
 
  minor=`echo $gpg_version | \
22696
 
         sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
22697
 
  micro=`echo $gpg_version | \
22698
 
         sed 's/^gpg (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
22699
 
  GPG_VERSION=`echo $gpg_version | sed 's/^gpg (GnuPG) //'`
 
23592
  GPG_VERSION=`$GPG --version | sed -n '1 s/[^0-9]*\(.*\)/\1/p'`
 
23593
  major=`echo $GPG_VERSION | \
 
23594
         sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
 
23595
  minor=`echo $GPG_VERSION | \
 
23596
         sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
 
23597
  micro=`echo $GPG_VERSION | \
 
23598
         sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
22700
23599
 
22701
23600
  if test "$major" -gt "$req_major"; then
22702
23601
    ok=yes
22714
23613
    fi
22715
23614
  fi
22716
23615
  if test "$ok" = "yes"; then
22717
 
    echo "$as_me:$LINENO: result: yes" >&5
22718
 
echo "${ECHO_T}yes" >&6
 
23616
    { echo "$as_me:$LINENO: result: yes" >&5
 
23617
echo "${ECHO_T}yes" >&6; }
22719
23618
  else
22720
 
    echo "$as_me:$LINENO: result: no" >&5
22721
 
echo "${ECHO_T}no" >&6
22722
 
    { echo "$as_me:$LINENO: WARNING: GnuPG must be at least version $NEED_GPG_VERSION" >&5
22723
 
echo "$as_me: WARNING: GnuPG must be at least version $NEED_GPG_VERSION" >&2;}
 
23619
    { echo "$as_me:$LINENO: result: no" >&5
 
23620
echo "${ECHO_T}no" >&6; }
 
23621
    { echo "$as_me:$LINENO: WARNING: GPG must be at least version $NEED_GPG_VERSION" >&5
 
23622
echo "$as_me: WARNING: GPG must be at least version $NEED_GPG_VERSION" >&2;}
22724
23623
  fi
22725
23624
fi
22726
 
 
22727
 
 
22728
 
if test "$ok" = "yes"; then
 
23625
run_gpg_test="$ok"
 
23626
# Check whether --enable-gpg-test was given.
 
23627
if test "${enable_gpg_test+set}" = set; then
 
23628
  enableval=$enable_gpg_test; run_gpg_test=$enableval
 
23629
fi
 
23630
 
 
23631
 if test "$run_gpg_test" = "yes"; then
22729
23632
  RUN_GPG_TESTS_TRUE=
22730
23633
  RUN_GPG_TESTS_FALSE='#'
22731
23634
else
22737
23640
 
22738
23641
NO_OVERRIDE=no
22739
23642
 
22740
 
# Check whether --with-gpgsm or --without-gpgsm was given.
 
23643
# Check whether --with-gpgsm was given.
22741
23644
if test "${with_gpgsm+set}" = set; then
22742
 
  withval="$with_gpgsm"
22743
 
  GPGSM=$withval
 
23645
  withval=$with_gpgsm; GPGSM=$withval
22744
23646
else
22745
23647
  NO_OVERRIDE=yes
22746
 
fi;
 
23648
fi
 
23649
 
22747
23650
if test "$NO_OVERRIDE" = "yes" || test "$GPGSM" = "yes"; then
22748
23651
  GPGSM=
22749
23652
  NO_OVERRIDE=yes
22750
23653
  if test "$cross_compiling" != "yes"; then
22751
23654
    # Extract the first word of "gpgsm", so it can be a program name with args.
22752
23655
set dummy gpgsm; ac_word=$2
22753
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
22754
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
23656
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23657
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22755
23658
if test "${ac_cv_path_GPGSM+set}" = set; then
22756
23659
  echo $ECHO_N "(cached) $ECHO_C" >&6
22757
23660
else
22766
23669
  IFS=$as_save_IFS
22767
23670
  test -z "$as_dir" && as_dir=.
22768
23671
  for ac_exec_ext in '' $ac_executable_extensions; do
22769
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
23672
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22770
23673
    ac_cv_path_GPGSM="$as_dir/$ac_word$ac_exec_ext"
22771
23674
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22772
23675
    break 2
22773
23676
  fi
22774
23677
done
22775
23678
done
 
23679
IFS=$as_save_IFS
22776
23680
 
22777
23681
  ;;
22778
23682
esac
22779
23683
fi
22780
23684
GPGSM=$ac_cv_path_GPGSM
22781
 
 
22782
23685
if test -n "$GPGSM"; then
22783
 
  echo "$as_me:$LINENO: result: $GPGSM" >&5
22784
 
echo "${ECHO_T}$GPGSM" >&6
 
23686
  { echo "$as_me:$LINENO: result: $GPGSM" >&5
 
23687
echo "${ECHO_T}$GPGSM" >&6; }
22785
23688
else
22786
 
  echo "$as_me:$LINENO: result: no" >&5
22787
 
echo "${ECHO_T}no" >&6
 
23689
  { echo "$as_me:$LINENO: result: no" >&5
 
23690
echo "${ECHO_T}no" >&6; }
22788
23691
fi
22789
23692
 
 
23693
 
22790
23694
  fi
22791
23695
  if test -z "$GPGSM"; then
22792
23696
    GPGSM="$GPGSM_DEFAULT"
22827
23731
_ACEOF
22828
23732
 
22829
23733
fi
22830
 
 
22831
 
 
22832
 
if test "$GPGSM" != "no"; then
 
23734
 if test "$GPGSM" != "no"; then
22833
23735
  HAVE_GPGSM_TRUE=
22834
23736
  HAVE_GPGSM_FALSE='#'
22835
23737
else
22857
23759
  fi
22858
23760
fi
22859
23761
if test "$ok" = "maybe"; then
22860
 
  echo "$as_me:$LINENO: checking for GPGSM >= $NEED_GPGSM_VERSION" >&5
22861
 
echo $ECHO_N "checking for GPGSM >= $NEED_GPGSM_VERSION... $ECHO_C" >&6
 
23762
  { echo "$as_me:$LINENO: checking for GPGSM >= $NEED_GPGSM_VERSION" >&5
 
23763
echo $ECHO_N "checking for GPGSM >= $NEED_GPGSM_VERSION... $ECHO_C" >&6; }
22862
23764
  req_major=`echo $NEED_GPGSM_VERSION | \
22863
23765
             sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
22864
23766
  req_minor=`echo $NEED_GPGSM_VERSION | \
22865
23767
             sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
22866
23768
  req_micro=`echo $NEED_GPGSM_VERSION | \
22867
23769
             sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
22868
 
  gpgsm_version=`$GPGSM --version | grep ^gpgsm`
22869
 
  major=`echo $gpgsm_version | \
22870
 
         sed 's/^gpgsm (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
22871
 
  minor=`echo $gpgsm_version | \
22872
 
         sed 's/^gpgsm (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
22873
 
  micro=`echo $gpgsm_version | \
22874
 
         sed 's/^gpgsm (GnuPG) \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
22875
 
  GPGSM_VERSION=`echo $gpgsm_version | sed 's/^gpgsm (GnuPG) //'`
 
23770
  GPGSM_VERSION=`$GPGSM --version | sed -n '1 s/[^0-9]*\(.*\)/\1/p'`
 
23771
  major=`echo $GPGSM_VERSION | \
 
23772
         sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
 
23773
  minor=`echo $GPGSM_VERSION | \
 
23774
         sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
 
23775
  micro=`echo $GPGSM_VERSION | \
 
23776
         sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
22876
23777
 
22877
23778
  if test "$major" -gt "$req_major"; then
22878
23779
    ok=yes
22890
23791
    fi
22891
23792
  fi
22892
23793
  if test "$ok" = "yes"; then
22893
 
    echo "$as_me:$LINENO: result: yes" >&5
22894
 
echo "${ECHO_T}yes" >&6
 
23794
    { echo "$as_me:$LINENO: result: yes" >&5
 
23795
echo "${ECHO_T}yes" >&6; }
22895
23796
  else
22896
 
    echo "$as_me:$LINENO: result: no" >&5
22897
 
echo "${ECHO_T}no" >&6
 
23797
    { echo "$as_me:$LINENO: result: no" >&5
 
23798
echo "${ECHO_T}no" >&6; }
22898
23799
    { echo "$as_me:$LINENO: WARNING: GPGSM must be at least version $NEED_GPGSM_VERSION" >&5
22899
23800
echo "$as_me: WARNING: GPGSM must be at least version $NEED_GPGSM_VERSION" >&2;}
22900
23801
  fi
22901
23802
fi
22902
 
 
22903
 
 
22904
 
if test "$ok" = "yes"; then
 
23803
run_gpgsm_test="$ok"
 
23804
# Check whether --enable-gpgsm-test was given.
 
23805
if test "${enable_gpgsm_test+set}" = set; then
 
23806
  enableval=$enable_gpgsm_test; run_gpgsm_test=$enableval
 
23807
fi
 
23808
 
 
23809
 if test "$run_gpgsm_test" = "yes"; then
22905
23810
  RUN_GPGSM_TESTS_TRUE=
22906
23811
  RUN_GPGSM_TESTS_FALSE='#'
22907
23812
else
22910
23815
fi
22911
23816
 
22912
23817
 
 
23818
 
22913
23819
# FIXME: Only build if supported.
22914
 
 
22915
 
 
22916
 
if test "$GPGSM" != "no"; then
 
23820
 if test "$GPGSM" != "no"; then
22917
23821
  BUILD_ASSUAN_TRUE=
22918
23822
  BUILD_ASSUAN_FALSE='#'
22919
23823
else
22921
23825
  BUILD_ASSUAN_FALSE=
22922
23826
fi
22923
23827
 
22924
 
 
22925
 
 
22926
 
# The assuan code uses funopen but it will also build without it.  So
22927
 
# test for it.  Frankly, this is not required in gpgme, but thats the
22928
 
# way we handle it in libassuan.
 
23828
if test "$GPGSM" != "no"; then
 
23829
 
 
23830
cat >>confdefs.h <<\_ACEOF
 
23831
#define HAVE_ASSUAN_H 1
 
23832
_ACEOF
 
23833
 
 
23834
fi
 
23835
 
 
23836
# Check for funopen
22929
23837
 
22930
23838
for ac_func in funopen
22931
23839
do
22932
23840
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22933
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
22934
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22935
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23841
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23842
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23843
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22936
23844
  echo $ECHO_N "(cached) $ECHO_C" >&6
22937
23845
else
22938
23846
  cat >conftest.$ac_ext <<_ACEOF
22958
23866
 
22959
23867
#undef $ac_func
22960
23868
 
22961
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23869
/* Override any GCC internal prototype to avoid an error.
 
23870
   Use char because int might match the return type of a GCC
 
23871
   builtin and then its argument prototype would still apply.  */
22962
23872
#ifdef __cplusplus
22963
23873
extern "C"
22964
 
{
22965
23874
#endif
22966
 
/* We use char because int might match the return type of a gcc2
22967
 
   builtin and then its argument prototype would still apply.  */
22968
23875
char $ac_func ();
22969
23876
/* The GNU C library defines this for functions which it implements
22970
23877
    to always fail with ENOSYS.  Some functions are actually named
22971
23878
    something starting with __ and the normal name is an alias.  */
22972
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23879
#if defined __stub_$ac_func || defined __stub___$ac_func
22973
23880
choke me
22974
 
#else
22975
 
char (*f) () = $ac_func;
22976
 
#endif
22977
 
#ifdef __cplusplus
22978
 
}
22979
23881
#endif
22980
23882
 
22981
23883
int
22982
23884
main ()
22983
23885
{
22984
 
return f != $ac_func;
 
23886
return $ac_func ();
22985
23887
  ;
22986
23888
  return 0;
22987
23889
}
22988
23890
_ACEOF
22989
23891
rm -f conftest.$ac_objext conftest$ac_exeext
22990
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22991
 
  (eval $ac_link) 2>conftest.er1
 
23892
if { (ac_try="$ac_link"
 
23893
case "(($ac_try" in
 
23894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23895
  *) ac_try_echo=$ac_try;;
 
23896
esac
 
23897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23898
  (eval "$ac_link") 2>conftest.er1
22992
23899
  ac_status=$?
22993
23900
  grep -v '^ *+' conftest.er1 >conftest.err
22994
23901
  rm -f conftest.er1
22995
23902
  cat conftest.err >&5
22996
23903
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997
 
  (exit $ac_status); } &&
22998
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22999
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23000
 
  (eval $ac_try) 2>&5
23001
 
  ac_status=$?
23002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003
 
  (exit $ac_status); }; } &&
23004
 
         { ac_try='test -s conftest$ac_exeext'
23005
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23006
 
  (eval $ac_try) 2>&5
23007
 
  ac_status=$?
23008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009
 
  (exit $ac_status); }; }; then
 
23904
  (exit $ac_status); } && {
 
23905
         test -z "$ac_c_werror_flag" ||
 
23906
         test ! -s conftest.err
 
23907
       } && test -s conftest$ac_exeext &&
 
23908
       $as_test_x conftest$ac_exeext; then
23010
23909
  eval "$as_ac_var=yes"
23011
23910
else
23012
23911
  echo "$as_me: failed program was:" >&5
23013
23912
sed 's/^/| /' conftest.$ac_ext >&5
23014
23913
 
23015
 
eval "$as_ac_var=no"
 
23914
        eval "$as_ac_var=no"
23016
23915
fi
23017
 
rm -f conftest.err conftest.$ac_objext \
 
23916
 
 
23917
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23018
23918
      conftest$ac_exeext conftest.$ac_ext
23019
23919
fi
23020
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23021
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
23920
ac_res=`eval echo '${'$as_ac_var'}'`
 
23921
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23922
echo "${ECHO_T}$ac_res" >&6; }
23022
23923
if test `eval echo '${'$as_ac_var'}'` = yes; then
23023
23924
  cat >>confdefs.h <<_ACEOF
23024
23925
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23033
23934
for ac_func in fopencookie
23034
23935
do
23035
23936
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23036
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23037
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23038
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
23937
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23938
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23939
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23039
23940
  echo $ECHO_N "(cached) $ECHO_C" >&6
23040
23941
else
23041
23942
  cat >conftest.$ac_ext <<_ACEOF
23061
23962
 
23062
23963
#undef $ac_func
23063
23964
 
23064
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
23965
/* Override any GCC internal prototype to avoid an error.
 
23966
   Use char because int might match the return type of a GCC
 
23967
   builtin and then its argument prototype would still apply.  */
23065
23968
#ifdef __cplusplus
23066
23969
extern "C"
23067
 
{
23068
23970
#endif
23069
 
/* We use char because int might match the return type of a gcc2
23070
 
   builtin and then its argument prototype would still apply.  */
23071
23971
char $ac_func ();
23072
23972
/* The GNU C library defines this for functions which it implements
23073
23973
    to always fail with ENOSYS.  Some functions are actually named
23074
23974
    something starting with __ and the normal name is an alias.  */
23075
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
23975
#if defined __stub_$ac_func || defined __stub___$ac_func
23076
23976
choke me
23077
 
#else
23078
 
char (*f) () = $ac_func;
23079
 
#endif
23080
 
#ifdef __cplusplus
23081
 
}
23082
23977
#endif
23083
23978
 
23084
23979
int
23085
23980
main ()
23086
23981
{
23087
 
return f != $ac_func;
 
23982
return $ac_func ();
23088
23983
  ;
23089
23984
  return 0;
23090
23985
}
23091
23986
_ACEOF
23092
23987
rm -f conftest.$ac_objext conftest$ac_exeext
23093
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23094
 
  (eval $ac_link) 2>conftest.er1
 
23988
if { (ac_try="$ac_link"
 
23989
case "(($ac_try" in
 
23990
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23991
  *) ac_try_echo=$ac_try;;
 
23992
esac
 
23993
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23994
  (eval "$ac_link") 2>conftest.er1
23095
23995
  ac_status=$?
23096
23996
  grep -v '^ *+' conftest.er1 >conftest.err
23097
23997
  rm -f conftest.er1
23098
23998
  cat conftest.err >&5
23099
23999
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100
 
  (exit $ac_status); } &&
23101
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23102
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103
 
  (eval $ac_try) 2>&5
23104
 
  ac_status=$?
23105
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106
 
  (exit $ac_status); }; } &&
23107
 
         { ac_try='test -s conftest$ac_exeext'
23108
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109
 
  (eval $ac_try) 2>&5
23110
 
  ac_status=$?
23111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112
 
  (exit $ac_status); }; }; then
 
24000
  (exit $ac_status); } && {
 
24001
         test -z "$ac_c_werror_flag" ||
 
24002
         test ! -s conftest.err
 
24003
       } && test -s conftest$ac_exeext &&
 
24004
       $as_test_x conftest$ac_exeext; then
23113
24005
  eval "$as_ac_var=yes"
23114
24006
else
23115
24007
  echo "$as_me: failed program was:" >&5
23116
24008
sed 's/^/| /' conftest.$ac_ext >&5
23117
24009
 
23118
 
eval "$as_ac_var=no"
 
24010
        eval "$as_ac_var=no"
23119
24011
fi
23120
 
rm -f conftest.err conftest.$ac_objext \
 
24012
 
 
24013
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23121
24014
      conftest$ac_exeext conftest.$ac_ext
23122
24015
fi
23123
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23124
 
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; }
23125
24019
if test `eval echo '${'$as_ac_var'}'` = yes; then
23126
24020
  cat >>confdefs.h <<_ACEOF
23127
24021
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23131
24025
done
23132
24026
 
23133
24027
    if test $ac_cv_func_fopencookie = yes; then
23134
 
        case $LIBOBJS in
23135
 
    "funopen.$ac_objext"   | \
23136
 
  *" funopen.$ac_objext"   | \
23137
 
    "funopen.$ac_objext "* | \
23138
 
  *" funopen.$ac_objext "* ) ;;
23139
 
  *) LIBOBJS="$LIBOBJS funopen.$ac_objext" ;;
23140
 
esac
 
24028
 
 
24029
for ac_func in funopen
 
24030
do
 
24031
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
24032
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24033
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24034
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24035
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24036
else
 
24037
  cat >conftest.$ac_ext <<_ACEOF
 
24038
/* confdefs.h.  */
 
24039
_ACEOF
 
24040
cat confdefs.h >>conftest.$ac_ext
 
24041
cat >>conftest.$ac_ext <<_ACEOF
 
24042
/* end confdefs.h.  */
 
24043
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
24044
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24045
#define $ac_func innocuous_$ac_func
 
24046
 
 
24047
/* System header to define __stub macros and hopefully few prototypes,
 
24048
    which can conflict with char $ac_func (); below.
 
24049
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
24050
    <limits.h> exists even on freestanding compilers.  */
 
24051
 
 
24052
#ifdef __STDC__
 
24053
# include <limits.h>
 
24054
#else
 
24055
# include <assert.h>
 
24056
#endif
 
24057
 
 
24058
#undef $ac_func
 
24059
 
 
24060
/* Override any GCC internal prototype to avoid an error.
 
24061
   Use char because int might match the return type of a GCC
 
24062
   builtin and then its argument prototype would still apply.  */
 
24063
#ifdef __cplusplus
 
24064
extern "C"
 
24065
#endif
 
24066
char $ac_func ();
 
24067
/* The GNU C library defines this for functions which it implements
 
24068
    to always fail with ENOSYS.  Some functions are actually named
 
24069
    something starting with __ and the normal name is an alias.  */
 
24070
#if defined __stub_$ac_func || defined __stub___$ac_func
 
24071
choke me
 
24072
#endif
 
24073
 
 
24074
int
 
24075
main ()
 
24076
{
 
24077
return $ac_func ();
 
24078
  ;
 
24079
  return 0;
 
24080
}
 
24081
_ACEOF
 
24082
rm -f conftest.$ac_objext conftest$ac_exeext
 
24083
if { (ac_try="$ac_link"
 
24084
case "(($ac_try" in
 
24085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24086
  *) ac_try_echo=$ac_try;;
 
24087
esac
 
24088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24089
  (eval "$ac_link") 2>conftest.er1
 
24090
  ac_status=$?
 
24091
  grep -v '^ *+' conftest.er1 >conftest.err
 
24092
  rm -f conftest.er1
 
24093
  cat conftest.err >&5
 
24094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24095
  (exit $ac_status); } && {
 
24096
         test -z "$ac_c_werror_flag" ||
 
24097
         test ! -s conftest.err
 
24098
       } && test -s conftest$ac_exeext &&
 
24099
       $as_test_x conftest$ac_exeext; then
 
24100
  eval "$as_ac_var=yes"
 
24101
else
 
24102
  echo "$as_me: failed program was:" >&5
 
24103
sed 's/^/| /' conftest.$ac_ext >&5
 
24104
 
 
24105
        eval "$as_ac_var=no"
 
24106
fi
 
24107
 
 
24108
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24109
      conftest$ac_exeext conftest.$ac_ext
 
24110
fi
 
24111
ac_res=`eval echo '${'$as_ac_var'}'`
 
24112
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24113
echo "${ECHO_T}$ac_res" >&6; }
 
24114
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
24115
  cat >>confdefs.h <<_ACEOF
 
24116
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
24117
_ACEOF
 
24118
 
 
24119
else
 
24120
  case " $LIBOBJS " in
 
24121
  *" $ac_func.$ac_objext "* ) ;;
 
24122
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
24123
 ;;
 
24124
esac
 
24125
 
 
24126
fi
 
24127
done
 
24128
 
23141
24129
 
23142
24130
    else
23143
24131
        { echo "$as_me:$LINENO: WARNING:
23156
24144
for ac_func in isascii
23157
24145
do
23158
24146
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23159
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23160
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23161
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
24147
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24148
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24149
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23162
24150
  echo $ECHO_N "(cached) $ECHO_C" >&6
23163
24151
else
23164
24152
  cat >conftest.$ac_ext <<_ACEOF
23184
24172
 
23185
24173
#undef $ac_func
23186
24174
 
23187
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24175
/* Override any GCC internal prototype to avoid an error.
 
24176
   Use char because int might match the return type of a GCC
 
24177
   builtin and then its argument prototype would still apply.  */
23188
24178
#ifdef __cplusplus
23189
24179
extern "C"
23190
 
{
23191
24180
#endif
23192
 
/* We use char because int might match the return type of a gcc2
23193
 
   builtin and then its argument prototype would still apply.  */
23194
24181
char $ac_func ();
23195
24182
/* The GNU C library defines this for functions which it implements
23196
24183
    to always fail with ENOSYS.  Some functions are actually named
23197
24184
    something starting with __ and the normal name is an alias.  */
23198
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
24185
#if defined __stub_$ac_func || defined __stub___$ac_func
23199
24186
choke me
23200
 
#else
23201
 
char (*f) () = $ac_func;
23202
 
#endif
23203
 
#ifdef __cplusplus
23204
 
}
23205
24187
#endif
23206
24188
 
23207
24189
int
23208
24190
main ()
23209
24191
{
23210
 
return f != $ac_func;
 
24192
return $ac_func ();
23211
24193
  ;
23212
24194
  return 0;
23213
24195
}
23214
24196
_ACEOF
23215
24197
rm -f conftest.$ac_objext conftest$ac_exeext
23216
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217
 
  (eval $ac_link) 2>conftest.er1
 
24198
if { (ac_try="$ac_link"
 
24199
case "(($ac_try" in
 
24200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24201
  *) ac_try_echo=$ac_try;;
 
24202
esac
 
24203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24204
  (eval "$ac_link") 2>conftest.er1
23218
24205
  ac_status=$?
23219
24206
  grep -v '^ *+' conftest.er1 >conftest.err
23220
24207
  rm -f conftest.er1
23221
24208
  cat conftest.err >&5
23222
24209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223
 
  (exit $ac_status); } &&
23224
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23225
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226
 
  (eval $ac_try) 2>&5
23227
 
  ac_status=$?
23228
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229
 
  (exit $ac_status); }; } &&
23230
 
         { ac_try='test -s conftest$ac_exeext'
23231
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232
 
  (eval $ac_try) 2>&5
23233
 
  ac_status=$?
23234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235
 
  (exit $ac_status); }; }; then
 
24210
  (exit $ac_status); } && {
 
24211
         test -z "$ac_c_werror_flag" ||
 
24212
         test ! -s conftest.err
 
24213
       } && test -s conftest$ac_exeext &&
 
24214
       $as_test_x conftest$ac_exeext; then
23236
24215
  eval "$as_ac_var=yes"
23237
24216
else
23238
24217
  echo "$as_me: failed program was:" >&5
23239
24218
sed 's/^/| /' conftest.$ac_ext >&5
23240
24219
 
23241
 
eval "$as_ac_var=no"
 
24220
        eval "$as_ac_var=no"
23242
24221
fi
23243
 
rm -f conftest.err conftest.$ac_objext \
 
24222
 
 
24223
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23244
24224
      conftest$ac_exeext conftest.$ac_ext
23245
24225
fi
23246
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23247
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
24226
ac_res=`eval echo '${'$as_ac_var'}'`
 
24227
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24228
echo "${ECHO_T}$ac_res" >&6; }
23248
24229
if test `eval echo '${'$as_ac_var'}'` = yes; then
23249
24230
  cat >>confdefs.h <<_ACEOF
23250
24231
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23251
24232
_ACEOF
23252
24233
 
23253
24234
else
23254
 
  case $LIBOBJS in
23255
 
    "$ac_func.$ac_objext"   | \
23256
 
  *" $ac_func.$ac_objext"   | \
23257
 
    "$ac_func.$ac_objext "* | \
 
24235
  case " $LIBOBJS " in
23258
24236
  *" $ac_func.$ac_objext "* ) ;;
23259
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
24237
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
24238
 ;;
23260
24239
esac
23261
24240
 
23262
24241
fi
23267
24246
for ac_func in putc_unlocked
23268
24247
do
23269
24248
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23270
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23271
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23272
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
24249
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24250
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24251
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23273
24252
  echo $ECHO_N "(cached) $ECHO_C" >&6
23274
24253
else
23275
24254
  cat >conftest.$ac_ext <<_ACEOF
23295
24274
 
23296
24275
#undef $ac_func
23297
24276
 
23298
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
24277
/* Override any GCC internal prototype to avoid an error.
 
24278
   Use char because int might match the return type of a GCC
 
24279
   builtin and then its argument prototype would still apply.  */
23299
24280
#ifdef __cplusplus
23300
24281
extern "C"
23301
 
{
23302
24282
#endif
23303
 
/* We use char because int might match the return type of a gcc2
23304
 
   builtin and then its argument prototype would still apply.  */
23305
24283
char $ac_func ();
23306
24284
/* The GNU C library defines this for functions which it implements
23307
24285
    to always fail with ENOSYS.  Some functions are actually named
23308
24286
    something starting with __ and the normal name is an alias.  */
23309
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
24287
#if defined __stub_$ac_func || defined __stub___$ac_func
23310
24288
choke me
23311
 
#else
23312
 
char (*f) () = $ac_func;
23313
 
#endif
23314
 
#ifdef __cplusplus
23315
 
}
23316
24289
#endif
23317
24290
 
23318
24291
int
23319
24292
main ()
23320
24293
{
23321
 
return f != $ac_func;
 
24294
return $ac_func ();
23322
24295
  ;
23323
24296
  return 0;
23324
24297
}
23325
24298
_ACEOF
23326
24299
rm -f conftest.$ac_objext conftest$ac_exeext
23327
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328
 
  (eval $ac_link) 2>conftest.er1
 
24300
if { (ac_try="$ac_link"
 
24301
case "(($ac_try" in
 
24302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24303
  *) ac_try_echo=$ac_try;;
 
24304
esac
 
24305
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24306
  (eval "$ac_link") 2>conftest.er1
23329
24307
  ac_status=$?
23330
24308
  grep -v '^ *+' conftest.er1 >conftest.err
23331
24309
  rm -f conftest.er1
23332
24310
  cat conftest.err >&5
23333
24311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334
 
  (exit $ac_status); } &&
23335
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23336
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337
 
  (eval $ac_try) 2>&5
23338
 
  ac_status=$?
23339
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340
 
  (exit $ac_status); }; } &&
23341
 
         { ac_try='test -s conftest$ac_exeext'
23342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343
 
  (eval $ac_try) 2>&5
23344
 
  ac_status=$?
23345
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346
 
  (exit $ac_status); }; }; then
 
24312
  (exit $ac_status); } && {
 
24313
         test -z "$ac_c_werror_flag" ||
 
24314
         test ! -s conftest.err
 
24315
       } && test -s conftest$ac_exeext &&
 
24316
       $as_test_x conftest$ac_exeext; then
23347
24317
  eval "$as_ac_var=yes"
23348
24318
else
23349
24319
  echo "$as_me: failed program was:" >&5
23350
24320
sed 's/^/| /' conftest.$ac_ext >&5
23351
24321
 
23352
 
eval "$as_ac_var=no"
 
24322
        eval "$as_ac_var=no"
23353
24323
fi
23354
 
rm -f conftest.err conftest.$ac_objext \
 
24324
 
 
24325
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355
24326
      conftest$ac_exeext conftest.$ac_ext
23356
24327
fi
23357
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23358
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
24328
ac_res=`eval echo '${'$as_ac_var'}'`
 
24329
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24330
echo "${ECHO_T}$ac_res" >&6; }
23359
24331
if test `eval echo '${'$as_ac_var'}'` = yes; then
23360
24332
  cat >>confdefs.h <<_ACEOF
23361
24333
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23362
24334
_ACEOF
23363
24335
 
23364
24336
else
23365
 
  case $LIBOBJS in
23366
 
    "$ac_func.$ac_objext"   | \
23367
 
  *" $ac_func.$ac_objext"   | \
23368
 
    "$ac_func.$ac_objext "* | \
 
24337
  case " $LIBOBJS " in
23369
24338
  *" $ac_func.$ac_objext "* ) ;;
23370
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
24339
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
24340
 ;;
23371
24341
esac
23372
24342
 
23373
24343
fi
23378
24348
for ac_func in memrchr
23379
24349
do
23380
24350
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23381
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
23382
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23383
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
23384
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
23385
 
else
23386
 
  cat >conftest.$ac_ext <<_ACEOF
23387
 
/* confdefs.h.  */
23388
 
_ACEOF
23389
 
cat confdefs.h >>conftest.$ac_ext
23390
 
cat >>conftest.$ac_ext <<_ACEOF
23391
 
/* end confdefs.h.  */
23392
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23393
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23394
 
#define $ac_func innocuous_$ac_func
23395
 
 
23396
 
/* System header to define __stub macros and hopefully few prototypes,
23397
 
    which can conflict with char $ac_func (); below.
23398
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23399
 
    <limits.h> exists even on freestanding compilers.  */
23400
 
 
23401
 
#ifdef __STDC__
23402
 
# include <limits.h>
23403
 
#else
23404
 
# include <assert.h>
23405
 
#endif
23406
 
 
23407
 
#undef $ac_func
23408
 
 
23409
 
/* Override any gcc2 internal prototype to avoid an error.  */
23410
 
#ifdef __cplusplus
23411
 
extern "C"
23412
 
{
23413
 
#endif
23414
 
/* We use char because int might match the return type of a gcc2
23415
 
   builtin and then its argument prototype would still apply.  */
23416
 
char $ac_func ();
23417
 
/* The GNU C library defines this for functions which it implements
23418
 
    to always fail with ENOSYS.  Some functions are actually named
23419
 
    something starting with __ and the normal name is an alias.  */
23420
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23421
 
choke me
23422
 
#else
23423
 
char (*f) () = $ac_func;
23424
 
#endif
23425
 
#ifdef __cplusplus
23426
 
}
23427
 
#endif
23428
 
 
23429
 
int
23430
 
main ()
23431
 
{
23432
 
return f != $ac_func;
23433
 
  ;
23434
 
  return 0;
23435
 
}
23436
 
_ACEOF
23437
 
rm -f conftest.$ac_objext conftest$ac_exeext
23438
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23439
 
  (eval $ac_link) 2>conftest.er1
23440
 
  ac_status=$?
23441
 
  grep -v '^ *+' conftest.er1 >conftest.err
23442
 
  rm -f conftest.er1
23443
 
  cat conftest.err >&5
23444
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445
 
  (exit $ac_status); } &&
23446
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23447
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448
 
  (eval $ac_try) 2>&5
23449
 
  ac_status=$?
23450
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451
 
  (exit $ac_status); }; } &&
23452
 
         { ac_try='test -s conftest$ac_exeext'
23453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454
 
  (eval $ac_try) 2>&5
23455
 
  ac_status=$?
23456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457
 
  (exit $ac_status); }; }; then
23458
 
  eval "$as_ac_var=yes"
23459
 
else
23460
 
  echo "$as_me: failed program was:" >&5
23461
 
sed 's/^/| /' conftest.$ac_ext >&5
23462
 
 
23463
 
eval "$as_ac_var=no"
23464
 
fi
23465
 
rm -f conftest.err conftest.$ac_objext \
23466
 
      conftest$ac_exeext conftest.$ac_ext
23467
 
fi
23468
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23469
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23470
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
23471
 
  cat >>confdefs.h <<_ACEOF
23472
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23473
 
_ACEOF
23474
 
 
23475
 
else
23476
 
  case $LIBOBJS in
23477
 
    "$ac_func.$ac_objext"   | \
23478
 
  *" $ac_func.$ac_objext"   | \
23479
 
    "$ac_func.$ac_objext "* | \
23480
 
  *" $ac_func.$ac_objext "* ) ;;
23481
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
 
24351
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24352
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24353
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24354
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24355
else
 
24356
  cat >conftest.$ac_ext <<_ACEOF
 
24357
/* confdefs.h.  */
 
24358
_ACEOF
 
24359
cat confdefs.h >>conftest.$ac_ext
 
24360
cat >>conftest.$ac_ext <<_ACEOF
 
24361
/* end confdefs.h.  */
 
24362
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
24363
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24364
#define $ac_func innocuous_$ac_func
 
24365
 
 
24366
/* System header to define __stub macros and hopefully few prototypes,
 
24367
    which can conflict with char $ac_func (); below.
 
24368
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
24369
    <limits.h> exists even on freestanding compilers.  */
 
24370
 
 
24371
#ifdef __STDC__
 
24372
# include <limits.h>
 
24373
#else
 
24374
# include <assert.h>
 
24375
#endif
 
24376
 
 
24377
#undef $ac_func
 
24378
 
 
24379
/* Override any GCC internal prototype to avoid an error.
 
24380
   Use char because int might match the return type of a GCC
 
24381
   builtin and then its argument prototype would still apply.  */
 
24382
#ifdef __cplusplus
 
24383
extern "C"
 
24384
#endif
 
24385
char $ac_func ();
 
24386
/* The GNU C library defines this for functions which it implements
 
24387
    to always fail with ENOSYS.  Some functions are actually named
 
24388
    something starting with __ and the normal name is an alias.  */
 
24389
#if defined __stub_$ac_func || defined __stub___$ac_func
 
24390
choke me
 
24391
#endif
 
24392
 
 
24393
int
 
24394
main ()
 
24395
{
 
24396
return $ac_func ();
 
24397
  ;
 
24398
  return 0;
 
24399
}
 
24400
_ACEOF
 
24401
rm -f conftest.$ac_objext conftest$ac_exeext
 
24402
if { (ac_try="$ac_link"
 
24403
case "(($ac_try" in
 
24404
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24405
  *) ac_try_echo=$ac_try;;
 
24406
esac
 
24407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24408
  (eval "$ac_link") 2>conftest.er1
 
24409
  ac_status=$?
 
24410
  grep -v '^ *+' conftest.er1 >conftest.err
 
24411
  rm -f conftest.er1
 
24412
  cat conftest.err >&5
 
24413
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24414
  (exit $ac_status); } && {
 
24415
         test -z "$ac_c_werror_flag" ||
 
24416
         test ! -s conftest.err
 
24417
       } && test -s conftest$ac_exeext &&
 
24418
       $as_test_x conftest$ac_exeext; then
 
24419
  eval "$as_ac_var=yes"
 
24420
else
 
24421
  echo "$as_me: failed program was:" >&5
 
24422
sed 's/^/| /' conftest.$ac_ext >&5
 
24423
 
 
24424
        eval "$as_ac_var=no"
 
24425
fi
 
24426
 
 
24427
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24428
      conftest$ac_exeext conftest.$ac_ext
 
24429
fi
 
24430
ac_res=`eval echo '${'$as_ac_var'}'`
 
24431
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24432
echo "${ECHO_T}$ac_res" >&6; }
 
24433
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
24434
  cat >>confdefs.h <<_ACEOF
 
24435
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
24436
_ACEOF
 
24437
 
 
24438
else
 
24439
  case " $LIBOBJS " in
 
24440
  *" $ac_func.$ac_objext "* ) ;;
 
24441
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
24442
 ;;
 
24443
esac
 
24444
 
 
24445
fi
 
24446
done
 
24447
 
 
24448
 
 
24449
 
 
24450
for ac_func in stpcpy
 
24451
do
 
24452
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
24453
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24454
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24455
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24456
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24457
else
 
24458
  cat >conftest.$ac_ext <<_ACEOF
 
24459
/* confdefs.h.  */
 
24460
_ACEOF
 
24461
cat confdefs.h >>conftest.$ac_ext
 
24462
cat >>conftest.$ac_ext <<_ACEOF
 
24463
/* end confdefs.h.  */
 
24464
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
24465
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24466
#define $ac_func innocuous_$ac_func
 
24467
 
 
24468
/* System header to define __stub macros and hopefully few prototypes,
 
24469
    which can conflict with char $ac_func (); below.
 
24470
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
24471
    <limits.h> exists even on freestanding compilers.  */
 
24472
 
 
24473
#ifdef __STDC__
 
24474
# include <limits.h>
 
24475
#else
 
24476
# include <assert.h>
 
24477
#endif
 
24478
 
 
24479
#undef $ac_func
 
24480
 
 
24481
/* Override any GCC internal prototype to avoid an error.
 
24482
   Use char because int might match the return type of a GCC
 
24483
   builtin and then its argument prototype would still apply.  */
 
24484
#ifdef __cplusplus
 
24485
extern "C"
 
24486
#endif
 
24487
char $ac_func ();
 
24488
/* The GNU C library defines this for functions which it implements
 
24489
    to always fail with ENOSYS.  Some functions are actually named
 
24490
    something starting with __ and the normal name is an alias.  */
 
24491
#if defined __stub_$ac_func || defined __stub___$ac_func
 
24492
choke me
 
24493
#endif
 
24494
 
 
24495
int
 
24496
main ()
 
24497
{
 
24498
return $ac_func ();
 
24499
  ;
 
24500
  return 0;
 
24501
}
 
24502
_ACEOF
 
24503
rm -f conftest.$ac_objext conftest$ac_exeext
 
24504
if { (ac_try="$ac_link"
 
24505
case "(($ac_try" in
 
24506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24507
  *) ac_try_echo=$ac_try;;
 
24508
esac
 
24509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24510
  (eval "$ac_link") 2>conftest.er1
 
24511
  ac_status=$?
 
24512
  grep -v '^ *+' conftest.er1 >conftest.err
 
24513
  rm -f conftest.er1
 
24514
  cat conftest.err >&5
 
24515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24516
  (exit $ac_status); } && {
 
24517
         test -z "$ac_c_werror_flag" ||
 
24518
         test ! -s conftest.err
 
24519
       } && test -s conftest$ac_exeext &&
 
24520
       $as_test_x conftest$ac_exeext; then
 
24521
  eval "$as_ac_var=yes"
 
24522
else
 
24523
  echo "$as_me: failed program was:" >&5
 
24524
sed 's/^/| /' conftest.$ac_ext >&5
 
24525
 
 
24526
        eval "$as_ac_var=no"
 
24527
fi
 
24528
 
 
24529
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24530
      conftest$ac_exeext conftest.$ac_ext
 
24531
fi
 
24532
ac_res=`eval echo '${'$as_ac_var'}'`
 
24533
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24534
echo "${ECHO_T}$ac_res" >&6; }
 
24535
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
24536
  cat >>confdefs.h <<_ACEOF
 
24537
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
24538
_ACEOF
 
24539
 
 
24540
else
 
24541
  case " $LIBOBJS " in
 
24542
  *" $ac_func.$ac_objext "* ) ;;
 
24543
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
24544
 ;;
 
24545
esac
 
24546
 
 
24547
fi
 
24548
done
 
24549
 
 
24550
 
 
24551
# Check for unistd.h for setenv replacement function.
 
24552
 
 
24553
for ac_header in unistd.h
 
24554
do
 
24555
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
24556
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24557
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24558
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24559
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24560
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24561
fi
 
24562
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24563
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24564
echo "${ECHO_T}$ac_res" >&6; }
 
24565
else
 
24566
  # Is the header compilable?
 
24567
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24568
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
24569
cat >conftest.$ac_ext <<_ACEOF
 
24570
/* confdefs.h.  */
 
24571
_ACEOF
 
24572
cat confdefs.h >>conftest.$ac_ext
 
24573
cat >>conftest.$ac_ext <<_ACEOF
 
24574
/* end confdefs.h.  */
 
24575
$ac_includes_default
 
24576
#include <$ac_header>
 
24577
_ACEOF
 
24578
rm -f conftest.$ac_objext
 
24579
if { (ac_try="$ac_compile"
 
24580
case "(($ac_try" in
 
24581
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24582
  *) ac_try_echo=$ac_try;;
 
24583
esac
 
24584
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24585
  (eval "$ac_compile") 2>conftest.er1
 
24586
  ac_status=$?
 
24587
  grep -v '^ *+' conftest.er1 >conftest.err
 
24588
  rm -f conftest.er1
 
24589
  cat conftest.err >&5
 
24590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24591
  (exit $ac_status); } && {
 
24592
         test -z "$ac_c_werror_flag" ||
 
24593
         test ! -s conftest.err
 
24594
       } && test -s conftest.$ac_objext; then
 
24595
  ac_header_compiler=yes
 
24596
else
 
24597
  echo "$as_me: failed program was:" >&5
 
24598
sed 's/^/| /' conftest.$ac_ext >&5
 
24599
 
 
24600
        ac_header_compiler=no
 
24601
fi
 
24602
 
 
24603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24604
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24605
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
24606
 
 
24607
# Is the header present?
 
24608
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24609
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
24610
cat >conftest.$ac_ext <<_ACEOF
 
24611
/* confdefs.h.  */
 
24612
_ACEOF
 
24613
cat confdefs.h >>conftest.$ac_ext
 
24614
cat >>conftest.$ac_ext <<_ACEOF
 
24615
/* end confdefs.h.  */
 
24616
#include <$ac_header>
 
24617
_ACEOF
 
24618
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24619
case "(($ac_try" in
 
24620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24621
  *) ac_try_echo=$ac_try;;
 
24622
esac
 
24623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24624
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
24625
  ac_status=$?
 
24626
  grep -v '^ *+' conftest.er1 >conftest.err
 
24627
  rm -f conftest.er1
 
24628
  cat conftest.err >&5
 
24629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24630
  (exit $ac_status); } >/dev/null && {
 
24631
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24632
         test ! -s conftest.err
 
24633
       }; then
 
24634
  ac_header_preproc=yes
 
24635
else
 
24636
  echo "$as_me: failed program was:" >&5
 
24637
sed 's/^/| /' conftest.$ac_ext >&5
 
24638
 
 
24639
  ac_header_preproc=no
 
24640
fi
 
24641
 
 
24642
rm -f conftest.err conftest.$ac_ext
 
24643
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24644
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
24645
 
 
24646
# So?  What about this header?
 
24647
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
24648
  yes:no: )
 
24649
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
24650
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
24651
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
24652
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
24653
    ac_header_preproc=yes
 
24654
    ;;
 
24655
  no:yes:* )
 
24656
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
24657
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
24658
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
24659
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
24660
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
24661
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
24662
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
24663
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
24664
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
24665
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
24666
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
24667
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
24668
    ( cat <<\_ASBOX
 
24669
## ---------------------------------- ##
 
24670
## Report this to bug-gpgme@gnupg.org ##
 
24671
## ---------------------------------- ##
 
24672
_ASBOX
 
24673
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
24674
    ;;
 
24675
esac
 
24676
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24677
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24678
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24679
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24680
else
 
24681
  eval "$as_ac_Header=\$ac_header_preproc"
 
24682
fi
 
24683
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24684
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24685
echo "${ECHO_T}$ac_res" >&6; }
 
24686
 
 
24687
fi
 
24688
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
24689
  cat >>confdefs.h <<_ACEOF
 
24690
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
24691
_ACEOF
 
24692
 
 
24693
fi
 
24694
 
 
24695
done
 
24696
 
 
24697
 
 
24698
for ac_func in setenv
 
24699
do
 
24700
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
24701
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
24702
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
24703
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
24704
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24705
else
 
24706
  cat >conftest.$ac_ext <<_ACEOF
 
24707
/* confdefs.h.  */
 
24708
_ACEOF
 
24709
cat confdefs.h >>conftest.$ac_ext
 
24710
cat >>conftest.$ac_ext <<_ACEOF
 
24711
/* end confdefs.h.  */
 
24712
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
24713
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
24714
#define $ac_func innocuous_$ac_func
 
24715
 
 
24716
/* System header to define __stub macros and hopefully few prototypes,
 
24717
    which can conflict with char $ac_func (); below.
 
24718
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
24719
    <limits.h> exists even on freestanding compilers.  */
 
24720
 
 
24721
#ifdef __STDC__
 
24722
# include <limits.h>
 
24723
#else
 
24724
# include <assert.h>
 
24725
#endif
 
24726
 
 
24727
#undef $ac_func
 
24728
 
 
24729
/* Override any GCC internal prototype to avoid an error.
 
24730
   Use char because int might match the return type of a GCC
 
24731
   builtin and then its argument prototype would still apply.  */
 
24732
#ifdef __cplusplus
 
24733
extern "C"
 
24734
#endif
 
24735
char $ac_func ();
 
24736
/* The GNU C library defines this for functions which it implements
 
24737
    to always fail with ENOSYS.  Some functions are actually named
 
24738
    something starting with __ and the normal name is an alias.  */
 
24739
#if defined __stub_$ac_func || defined __stub___$ac_func
 
24740
choke me
 
24741
#endif
 
24742
 
 
24743
int
 
24744
main ()
 
24745
{
 
24746
return $ac_func ();
 
24747
  ;
 
24748
  return 0;
 
24749
}
 
24750
_ACEOF
 
24751
rm -f conftest.$ac_objext conftest$ac_exeext
 
24752
if { (ac_try="$ac_link"
 
24753
case "(($ac_try" in
 
24754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24755
  *) ac_try_echo=$ac_try;;
 
24756
esac
 
24757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24758
  (eval "$ac_link") 2>conftest.er1
 
24759
  ac_status=$?
 
24760
  grep -v '^ *+' conftest.er1 >conftest.err
 
24761
  rm -f conftest.er1
 
24762
  cat conftest.err >&5
 
24763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24764
  (exit $ac_status); } && {
 
24765
         test -z "$ac_c_werror_flag" ||
 
24766
         test ! -s conftest.err
 
24767
       } && test -s conftest$ac_exeext &&
 
24768
       $as_test_x conftest$ac_exeext; then
 
24769
  eval "$as_ac_var=yes"
 
24770
else
 
24771
  echo "$as_me: failed program was:" >&5
 
24772
sed 's/^/| /' conftest.$ac_ext >&5
 
24773
 
 
24774
        eval "$as_ac_var=no"
 
24775
fi
 
24776
 
 
24777
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
24778
      conftest$ac_exeext conftest.$ac_ext
 
24779
fi
 
24780
ac_res=`eval echo '${'$as_ac_var'}'`
 
24781
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24782
echo "${ECHO_T}$ac_res" >&6; }
 
24783
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
24784
  cat >>confdefs.h <<_ACEOF
 
24785
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
24786
_ACEOF
 
24787
 
 
24788
else
 
24789
  case " $LIBOBJS " in
 
24790
  *" $ac_func.$ac_objext "* ) ;;
 
24791
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 
24792
 ;;
23482
24793
esac
23483
24794
 
23484
24795
fi
23491
24802
for ac_header in sys/uio.h
23492
24803
do
23493
24804
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23494
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23495
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
23496
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23497
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24805
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
24806
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24807
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24808
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23498
24809
  echo $ECHO_N "(cached) $ECHO_C" >&6
23499
24810
fi
23500
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23501
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24811
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24812
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24813
echo "${ECHO_T}$ac_res" >&6; }
23502
24814
else
23503
24815
  # Is the header compilable?
23504
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23505
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
24816
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
24817
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23506
24818
cat >conftest.$ac_ext <<_ACEOF
23507
24819
/* confdefs.h.  */
23508
24820
_ACEOF
23513
24825
#include <$ac_header>
23514
24826
_ACEOF
23515
24827
rm -f conftest.$ac_objext
23516
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23517
 
  (eval $ac_compile) 2>conftest.er1
 
24828
if { (ac_try="$ac_compile"
 
24829
case "(($ac_try" in
 
24830
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24831
  *) ac_try_echo=$ac_try;;
 
24832
esac
 
24833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24834
  (eval "$ac_compile") 2>conftest.er1
23518
24835
  ac_status=$?
23519
24836
  grep -v '^ *+' conftest.er1 >conftest.err
23520
24837
  rm -f conftest.er1
23521
24838
  cat conftest.err >&5
23522
24839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523
 
  (exit $ac_status); } &&
23524
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23525
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23526
 
  (eval $ac_try) 2>&5
23527
 
  ac_status=$?
23528
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529
 
  (exit $ac_status); }; } &&
23530
 
         { ac_try='test -s conftest.$ac_objext'
23531
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532
 
  (eval $ac_try) 2>&5
23533
 
  ac_status=$?
23534
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535
 
  (exit $ac_status); }; }; then
 
24840
  (exit $ac_status); } && {
 
24841
         test -z "$ac_c_werror_flag" ||
 
24842
         test ! -s conftest.err
 
24843
       } && test -s conftest.$ac_objext; then
23536
24844
  ac_header_compiler=yes
23537
24845
else
23538
24846
  echo "$as_me: failed program was:" >&5
23539
24847
sed 's/^/| /' conftest.$ac_ext >&5
23540
24848
 
23541
 
ac_header_compiler=no
 
24849
        ac_header_compiler=no
23542
24850
fi
23543
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23544
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23545
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
24851
 
 
24852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24853
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
24854
echo "${ECHO_T}$ac_header_compiler" >&6; }
23546
24855
 
23547
24856
# Is the header present?
23548
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23549
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
24857
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
24858
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23550
24859
cat >conftest.$ac_ext <<_ACEOF
23551
24860
/* confdefs.h.  */
23552
24861
_ACEOF
23555
24864
/* end confdefs.h.  */
23556
24865
#include <$ac_header>
23557
24866
_ACEOF
23558
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23559
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
24867
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
24868
case "(($ac_try" in
 
24869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24870
  *) ac_try_echo=$ac_try;;
 
24871
esac
 
24872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24873
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23560
24874
  ac_status=$?
23561
24875
  grep -v '^ *+' conftest.er1 >conftest.err
23562
24876
  rm -f conftest.er1
23563
24877
  cat conftest.err >&5
23564
24878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565
 
  (exit $ac_status); } >/dev/null; then
23566
 
  if test -s conftest.err; then
23567
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23568
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23569
 
  else
23570
 
    ac_cpp_err=
23571
 
  fi
23572
 
else
23573
 
  ac_cpp_err=yes
23574
 
fi
23575
 
if test -z "$ac_cpp_err"; then
 
24879
  (exit $ac_status); } >/dev/null && {
 
24880
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
24881
         test ! -s conftest.err
 
24882
       }; then
23576
24883
  ac_header_preproc=yes
23577
24884
else
23578
24885
  echo "$as_me: failed program was:" >&5
23580
24887
 
23581
24888
  ac_header_preproc=no
23582
24889
fi
 
24890
 
23583
24891
rm -f conftest.err conftest.$ac_ext
23584
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23585
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
24892
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
24893
echo "${ECHO_T}$ac_header_preproc" >&6; }
23586
24894
 
23587
24895
# So?  What about this header?
23588
24896
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23606
24914
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23607
24915
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23608
24916
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23609
 
    (
23610
 
      cat <<\_ASBOX
 
24917
    ( cat <<\_ASBOX
23611
24918
## ---------------------------------- ##
23612
24919
## Report this to bug-gpgme@gnupg.org ##
23613
24920
## ---------------------------------- ##
23614
24921
_ASBOX
23615
 
    ) |
23616
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
24922
     ) | sed "s/^/$as_me: WARNING:     /" >&2
23617
24923
    ;;
23618
24924
esac
23619
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
23620
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23621
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
24925
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
24926
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
24927
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23622
24928
  echo $ECHO_N "(cached) $ECHO_C" >&6
23623
24929
else
23624
24930
  eval "$as_ac_Header=\$ac_header_preproc"
23625
24931
fi
23626
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23627
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
24932
ac_res=`eval echo '${'$as_ac_Header'}'`
 
24933
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
24934
echo "${ECHO_T}$ac_res" >&6; }
23628
24935
 
23629
24936
fi
23630
24937
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23637
24944
done
23638
24945
 
23639
24946
 
 
24947
# Assuan check for descriptor passing.
 
24948
{ echo "$as_me:$LINENO: checking for struct cmsghdr.cmsg_len" >&5
 
24949
echo $ECHO_N "checking for struct cmsghdr.cmsg_len... $ECHO_C" >&6; }
 
24950
if test "${ac_cv_member_struct_cmsghdr_cmsg_len+set}" = set; then
 
24951
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
24952
else
 
24953
  cat >conftest.$ac_ext <<_ACEOF
 
24954
/* confdefs.h.  */
 
24955
_ACEOF
 
24956
cat confdefs.h >>conftest.$ac_ext
 
24957
cat >>conftest.$ac_ext <<_ACEOF
 
24958
/* end confdefs.h.  */
 
24959
 
 
24960
#include <stdlib.h>
 
24961
#include <stddef.h>
 
24962
#include <stdio.h>
 
24963
#include <sys/types.h>
 
24964
#include <sys/socket.h>
 
24965
#include <sys/un.h>
 
24966
#if HAVE_SYS_UIO_H
 
24967
#include <sys/uio.h>
 
24968
#endif
 
24969
#include <unistd.h>
 
24970
 
 
24971
 
 
24972
int
 
24973
main ()
 
24974
{
 
24975
static struct cmsghdr ac_aggr;
 
24976
if (ac_aggr.cmsg_len)
 
24977
return 0;
 
24978
  ;
 
24979
  return 0;
 
24980
}
 
24981
_ACEOF
 
24982
rm -f conftest.$ac_objext
 
24983
if { (ac_try="$ac_compile"
 
24984
case "(($ac_try" in
 
24985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24986
  *) ac_try_echo=$ac_try;;
 
24987
esac
 
24988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24989
  (eval "$ac_compile") 2>conftest.er1
 
24990
  ac_status=$?
 
24991
  grep -v '^ *+' conftest.er1 >conftest.err
 
24992
  rm -f conftest.er1
 
24993
  cat conftest.err >&5
 
24994
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
24995
  (exit $ac_status); } && {
 
24996
         test -z "$ac_c_werror_flag" ||
 
24997
         test ! -s conftest.err
 
24998
       } && test -s conftest.$ac_objext; then
 
24999
  ac_cv_member_struct_cmsghdr_cmsg_len=yes
 
25000
else
 
25001
  echo "$as_me: failed program was:" >&5
 
25002
sed 's/^/| /' conftest.$ac_ext >&5
 
25003
 
 
25004
        cat >conftest.$ac_ext <<_ACEOF
 
25005
/* confdefs.h.  */
 
25006
_ACEOF
 
25007
cat confdefs.h >>conftest.$ac_ext
 
25008
cat >>conftest.$ac_ext <<_ACEOF
 
25009
/* end confdefs.h.  */
 
25010
 
 
25011
#include <stdlib.h>
 
25012
#include <stddef.h>
 
25013
#include <stdio.h>
 
25014
#include <sys/types.h>
 
25015
#include <sys/socket.h>
 
25016
#include <sys/un.h>
 
25017
#if HAVE_SYS_UIO_H
 
25018
#include <sys/uio.h>
 
25019
#endif
 
25020
#include <unistd.h>
 
25021
 
 
25022
 
 
25023
int
 
25024
main ()
 
25025
{
 
25026
static struct cmsghdr ac_aggr;
 
25027
if (sizeof ac_aggr.cmsg_len)
 
25028
return 0;
 
25029
  ;
 
25030
  return 0;
 
25031
}
 
25032
_ACEOF
 
25033
rm -f conftest.$ac_objext
 
25034
if { (ac_try="$ac_compile"
 
25035
case "(($ac_try" in
 
25036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25037
  *) ac_try_echo=$ac_try;;
 
25038
esac
 
25039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25040
  (eval "$ac_compile") 2>conftest.er1
 
25041
  ac_status=$?
 
25042
  grep -v '^ *+' conftest.er1 >conftest.err
 
25043
  rm -f conftest.er1
 
25044
  cat conftest.err >&5
 
25045
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25046
  (exit $ac_status); } && {
 
25047
         test -z "$ac_c_werror_flag" ||
 
25048
         test ! -s conftest.err
 
25049
       } && test -s conftest.$ac_objext; then
 
25050
  ac_cv_member_struct_cmsghdr_cmsg_len=yes
 
25051
else
 
25052
  echo "$as_me: failed program was:" >&5
 
25053
sed 's/^/| /' conftest.$ac_ext >&5
 
25054
 
 
25055
        ac_cv_member_struct_cmsghdr_cmsg_len=no
 
25056
fi
 
25057
 
 
25058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25059
fi
 
25060
 
 
25061
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25062
fi
 
25063
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_cmsghdr_cmsg_len" >&5
 
25064
echo "${ECHO_T}$ac_cv_member_struct_cmsghdr_cmsg_len" >&6; }
 
25065
if test $ac_cv_member_struct_cmsghdr_cmsg_len = yes; then
 
25066
  supports_descriptor_passing=yes
 
25067
else
 
25068
  supports_descriptor_passing=no
 
25069
                 { echo "$as_me:$LINENO: WARNING:
 
25070
***
 
25071
*** Data structure for sending ancillary data missing.
 
25072
*** Descriptor passing won't work.
 
25073
***" >&5
 
25074
echo "$as_me: WARNING:
 
25075
***
 
25076
*** Data structure for sending ancillary data missing.
 
25077
*** Descriptor passing won't work.
 
25078
***" >&2;}
 
25079
fi
 
25080
 
 
25081
 
 
25082
# Check whether --enable-fd-passing was given.
 
25083
if test "${enable_fd_passing+set}" = set; then
 
25084
  enableval=$enable_fd_passing; use_descriptor_passing=$enableval
 
25085
fi
 
25086
 
 
25087
 
 
25088
if test "$supports_descriptor_passing" != "yes"; then
 
25089
  use_descriptor_passing=no
 
25090
fi
 
25091
 
 
25092
if test "$use_descriptor_passing" = "yes"; then
 
25093
 
 
25094
cat >>confdefs.h <<\_ACEOF
 
25095
#define USE_DESCRIPTOR_PASSING 1
 
25096
_ACEOF
 
25097
 
 
25098
fi
 
25099
 
 
25100
 if test "$use_descriptor_passing" = "yes"; then
 
25101
  USE_DESCRIPTOR_PASSING_TRUE=
 
25102
  USE_DESCRIPTOR_PASSING_FALSE='#'
 
25103
else
 
25104
  USE_DESCRIPTOR_PASSING_TRUE='#'
 
25105
  USE_DESCRIPTOR_PASSING_FALSE=
 
25106
fi
 
25107
 
 
25108
 
 
25109
# Assuan check for the getsockopt SO_PEERCRED
 
25110
{ echo "$as_me:$LINENO: checking for SO_PEERCRED" >&5
 
25111
echo $ECHO_N "checking for SO_PEERCRED... $ECHO_C" >&6; }
 
25112
if test "${assuan_cv_sys_so_peercred+set}" = set; then
 
25113
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25114
else
 
25115
  cat >conftest.$ac_ext <<_ACEOF
 
25116
/* confdefs.h.  */
 
25117
_ACEOF
 
25118
cat confdefs.h >>conftest.$ac_ext
 
25119
cat >>conftest.$ac_ext <<_ACEOF
 
25120
/* end confdefs.h.  */
 
25121
#include <sys/socket.h>
 
25122
int
 
25123
main ()
 
25124
{
 
25125
struct ucred cr;
 
25126
          int cl = sizeof cr;
 
25127
          getsockopt (1, SOL_SOCKET, SO_PEERCRED, &cr, &cl);
 
25128
  ;
 
25129
  return 0;
 
25130
}
 
25131
_ACEOF
 
25132
rm -f conftest.$ac_objext
 
25133
if { (ac_try="$ac_compile"
 
25134
case "(($ac_try" in
 
25135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25136
  *) ac_try_echo=$ac_try;;
 
25137
esac
 
25138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25139
  (eval "$ac_compile") 2>conftest.er1
 
25140
  ac_status=$?
 
25141
  grep -v '^ *+' conftest.er1 >conftest.err
 
25142
  rm -f conftest.er1
 
25143
  cat conftest.err >&5
 
25144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25145
  (exit $ac_status); } && {
 
25146
         test -z "$ac_c_werror_flag" ||
 
25147
         test ! -s conftest.err
 
25148
       } && test -s conftest.$ac_objext; then
 
25149
  assuan_cv_sys_so_peercred=yes
 
25150
else
 
25151
  echo "$as_me: failed program was:" >&5
 
25152
sed 's/^/| /' conftest.$ac_ext >&5
 
25153
 
 
25154
        assuan_cv_sys_so_peercred=no
 
25155
fi
 
25156
 
 
25157
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25158
 
 
25159
fi
 
25160
 
 
25161
{ echo "$as_me:$LINENO: result: $assuan_cv_sys_so_peercred" >&5
 
25162
echo "${ECHO_T}$assuan_cv_sys_so_peercred" >&6; }
 
25163
if test $assuan_cv_sys_so_peercred = yes; then
 
25164
 
 
25165
cat >>confdefs.h <<\_ACEOF
 
25166
#define HAVE_SO_PEERCRED 1
 
25167
_ACEOF
 
25168
 
 
25169
fi
 
25170
 
 
25171
if test "$have_w32_system" = yes; then
 
25172
   NETLIBS="-lws2_32 $NETLIBS"
 
25173
fi
 
25174
 
23640
25175
# End of assuan checks.
23641
25176
 
23642
 
 
23643
 
 
23644
 
if test "$component_system" = "COM+"; then
 
25177
 if test "$component_system" = "COM+"; then
23645
25178
  BUILD_COMPLUS_TRUE=
23646
25179
  BUILD_COMPLUS_FALSE='#'
23647
25180
else
23678
25211
 
23679
25212
 
23680
25213
# Generate values for the DLL version info
23681
 
BUILD_REVISION="`echo '$Revision: 1163 $' | sed 's/[^0-9]//g'`"
 
25214
BUILD_REVISION="`echo '$Revision: 1225 $' | sed 's/[^0-9]//g'`"
23682
25215
test -z "$BUILD_REVISION" && BUILD_REVISION="0"
23683
25216
if test "$have_w32_system" = yes; then
23684
25217
    BUILD_TIMESTAMP=`date --iso-8601=minutes`
23712
25245
#
23713
25246
# Create config files
23714
25247
 
23715
 
                                                                                          ac_config_files="$ac_config_files Makefile assuan/Makefile gpgme/Makefile tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile doc/Makefile complus/Makefile gpgme/versioninfo.rc"
23716
 
 
23717
 
          ac_config_files="$ac_config_files gpgme/gpgme-config"
 
25248
ac_config_files="$ac_config_files Makefile assuan/Makefile gpgme/Makefile tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile doc/Makefile complus/Makefile gpgme/versioninfo.rc"
 
25249
 
 
25250
ac_config_files="$ac_config_files gpgme/gpgme-config"
 
25251
 
 
25252
ac_config_files="$ac_config_files lang/Makefile lang/cl/Makefile lang/cl/gpgme.asd"
23718
25253
 
23719
25254
cat >confcache <<\_ACEOF
23720
25255
# This file is a shell script that caches the results of configure
23734
25269
 
23735
25270
# The following way of writing the cache mishandles newlines in values,
23736
25271
# but we know of no workaround that is simple, portable, and efficient.
23737
 
# So, don't put newlines in cache variables' values.
 
25272
# So, we kill variables containing newlines.
23738
25273
# Ultrix sh set writes to stderr and can't be redirected directly,
23739
25274
# and sets the high bit in the cache file unless we assign to the vars.
23740
 
{
 
25275
(
 
25276
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
25277
    eval ac_val=\$$ac_var
 
25278
    case $ac_val in #(
 
25279
    *${as_nl}*)
 
25280
      case $ac_var in #(
 
25281
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
25282
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
25283
      esac
 
25284
      case $ac_var in #(
 
25285
      _ | IFS | as_nl) ;; #(
 
25286
      *) $as_unset $ac_var ;;
 
25287
      esac ;;
 
25288
    esac
 
25289
  done
 
25290
 
23741
25291
  (set) 2>&1 |
23742
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
23743
 
    *ac_space=\ *)
 
25292
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
25293
    *${as_nl}ac_space=\ *)
23744
25294
      # `set' does not quote correctly, so add quotes (double-quote
23745
25295
      # substitution turns \\\\ into \\, and sed turns \\ into \).
23746
25296
      sed -n \
23747
25297
        "s/'/'\\\\''/g;
23748
25298
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23749
 
      ;;
 
25299
      ;; #(
23750
25300
    *)
23751
25301
      # `set' quotes correctly as required by POSIX, so do not add quotes.
23752
 
      sed -n \
23753
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
25302
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23754
25303
      ;;
23755
 
    esac;
23756
 
} |
 
25304
    esac |
 
25305
    sort
 
25306
) |
23757
25307
  sed '
 
25308
     /^ac_cv_env_/b end
23758
25309
     t clear
23759
 
     : clear
 
25310
     :clear
23760
25311
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23761
25312
     t end
23762
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23763
 
     : end' >>confcache
23764
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
23765
 
  if test -w $cache_file; then
23766
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
25313
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
25314
     :end' >>confcache
 
25315
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
25316
  if test -w "$cache_file"; then
 
25317
    test "x$cache_file" != "x/dev/null" &&
 
25318
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
25319
echo "$as_me: updating cache $cache_file" >&6;}
23767
25320
    cat confcache >$cache_file
23768
25321
  else
23769
 
    echo "not updating unwritable cache $cache_file"
 
25322
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
25323
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23770
25324
  fi
23771
25325
fi
23772
25326
rm -f confcache
23775
25329
# Let make expand exec_prefix.
23776
25330
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23777
25331
 
23778
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23779
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23780
 
# trailing colons and then remove the whole line if VPATH becomes empty
23781
 
# (actually we leave an empty line to preserve line numbers).
23782
 
if test "x$srcdir" = x.; then
23783
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
23784
 
s/:*\$(srcdir):*/:/;
23785
 
s/:*\${srcdir}:*/:/;
23786
 
s/:*@srcdir@:*/:/;
23787
 
s/^\([^=]*=[     ]*\):*/\1/;
23788
 
s/:*$//;
23789
 
s/^[^=]*=[       ]*$//;
23790
 
}'
23791
 
fi
23792
 
 
23793
25332
DEFS=-DHAVE_CONFIG_H
23794
25333
 
23795
25334
ac_libobjs=
23796
25335
ac_ltlibobjs=
23797
25336
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23798
25337
  # 1. Remove the extension, and $U if already installed.
23799
 
  ac_i=`echo "$ac_i" |
23800
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23801
 
  # 2. Add them.
23802
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23803
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
25338
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
25339
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
25340
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
25341
  #    will be set to the directory where LIBOBJS objects are built.
 
25342
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
25343
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23804
25344
done
23805
25345
LIBOBJS=$ac_libobjs
23806
25346
 
23905
25445
Usually this means the macro was only invoked conditionally." >&2;}
23906
25446
   { (exit 1); exit 1; }; }
23907
25447
fi
 
25448
if test -z "${USE_DESCRIPTOR_PASSING_TRUE}" && test -z "${USE_DESCRIPTOR_PASSING_FALSE}"; then
 
25449
  { { echo "$as_me:$LINENO: error: conditional \"USE_DESCRIPTOR_PASSING\" was never defined.
 
25450
Usually this means the macro was only invoked conditionally." >&5
 
25451
echo "$as_me: error: conditional \"USE_DESCRIPTOR_PASSING\" was never defined.
 
25452
Usually this means the macro was only invoked conditionally." >&2;}
 
25453
   { (exit 1); exit 1; }; }
 
25454
fi
23908
25455
if test -z "${BUILD_COMPLUS_TRUE}" && test -z "${BUILD_COMPLUS_FALSE}"; then
23909
25456
  { { echo "$as_me:$LINENO: error: conditional \"BUILD_COMPLUS\" was never defined.
23910
25457
Usually this means the macro was only invoked conditionally." >&5
23936
25483
## M4sh Initialization.  ##
23937
25484
## --------------------- ##
23938
25485
 
23939
 
# Be Bourne compatible
 
25486
# Be more Bourne compatible
 
25487
DUALCASE=1; export DUALCASE # for MKS sh
23940
25488
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23941
25489
  emulate sh
23942
25490
  NULLCMD=:
23943
25491
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23944
25492
  # is contrary to our usage.  Disable this feature.
23945
25493
  alias -g '${1+"$@"}'='"$@"'
23946
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23947
 
  set -o posix
23948
 
fi
23949
 
DUALCASE=1; export DUALCASE # for MKS sh
 
25494
  setopt NO_GLOB_SUBST
 
25495
else
 
25496
  case `(set -o) 2>/dev/null` in
 
25497
  *posix*) set -o posix ;;
 
25498
esac
 
25499
 
 
25500
fi
 
25501
 
 
25502
 
 
25503
 
 
25504
 
 
25505
# PATH needs CR
 
25506
# Avoid depending upon Character Ranges.
 
25507
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
25508
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
25509
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
25510
as_cr_digits='0123456789'
 
25511
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
25512
 
 
25513
# The user is always right.
 
25514
if test "${PATH_SEPARATOR+set}" != set; then
 
25515
  echo "#! /bin/sh" >conf$$.sh
 
25516
  echo  "exit 0"   >>conf$$.sh
 
25517
  chmod +x conf$$.sh
 
25518
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
25519
    PATH_SEPARATOR=';'
 
25520
  else
 
25521
    PATH_SEPARATOR=:
 
25522
  fi
 
25523
  rm -f conf$$.sh
 
25524
fi
23950
25525
 
23951
25526
# Support unset when possible.
23952
25527
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23956
25531
fi
23957
25532
 
23958
25533
 
 
25534
# IFS
 
25535
# We need space, tab and new line, in precisely that order.  Quoting is
 
25536
# there to prevent editors from complaining about space-tab.
 
25537
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
25538
# splitting by setting IFS to empty value.)
 
25539
as_nl='
 
25540
'
 
25541
IFS=" ""        $as_nl"
 
25542
 
 
25543
# Find who we are.  Look in the path if we contain no directory separator.
 
25544
case $0 in
 
25545
  *[\\/]* ) as_myself=$0 ;;
 
25546
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
25547
for as_dir in $PATH
 
25548
do
 
25549
  IFS=$as_save_IFS
 
25550
  test -z "$as_dir" && as_dir=.
 
25551
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
25552
done
 
25553
IFS=$as_save_IFS
 
25554
 
 
25555
     ;;
 
25556
esac
 
25557
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
25558
# in which case we are not to be found in the path.
 
25559
if test "x$as_myself" = x; then
 
25560
  as_myself=$0
 
25561
fi
 
25562
if test ! -f "$as_myself"; then
 
25563
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
25564
  { (exit 1); exit 1; }
 
25565
fi
 
25566
 
23959
25567
# Work around bugs in pre-3.0 UWIN ksh.
23960
 
$as_unset ENV MAIL MAILPATH
 
25568
for as_var in ENV MAIL MAILPATH
 
25569
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
25570
done
23961
25571
PS1='$ '
23962
25572
PS2='> '
23963
25573
PS4='+ '
23971
25581
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23972
25582
    eval $as_var=C; export $as_var
23973
25583
  else
23974
 
    $as_unset $as_var
 
25584
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23975
25585
  fi
23976
25586
done
23977
25587
 
23978
25588
# Required to use basename.
23979
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
25589
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
25590
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23980
25591
  as_expr=expr
23981
25592
else
23982
25593
  as_expr=false
23983
25594
fi
23984
25595
 
23985
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
25596
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23986
25597
  as_basename=basename
23987
25598
else
23988
25599
  as_basename=false
23990
25601
 
23991
25602
 
23992
25603
# Name of the executable.
23993
 
as_me=`$as_basename "$0" ||
 
25604
as_me=`$as_basename -- "$0" ||
23994
25605
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23995
25606
         X"$0" : 'X\(//\)$' \| \
23996
 
         X"$0" : 'X\(/\)$' \| \
23997
 
         .     : '\(.\)' 2>/dev/null ||
 
25607
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23998
25608
echo X/"$0" |
23999
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24000
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
24001
 
          /^X\/\(\/\).*/{ s//\1/; q; }
24002
 
          s/.*/./; q'`
24003
 
 
24004
 
 
24005
 
# PATH needs CR, and LINENO needs CR and PATH.
24006
 
# Avoid depending upon Character Ranges.
24007
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24008
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24009
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24010
 
as_cr_digits='0123456789'
24011
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
24012
 
 
24013
 
# The user is always right.
24014
 
if test "${PATH_SEPARATOR+set}" != set; then
24015
 
  echo "#! /bin/sh" >conf$$.sh
24016
 
  echo  "exit 0"   >>conf$$.sh
24017
 
  chmod +x conf$$.sh
24018
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24019
 
    PATH_SEPARATOR=';'
24020
 
  else
24021
 
    PATH_SEPARATOR=:
24022
 
  fi
24023
 
  rm -f conf$$.sh
24024
 
fi
24025
 
 
24026
 
 
24027
 
  as_lineno_1=$LINENO
24028
 
  as_lineno_2=$LINENO
24029
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24030
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
24031
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
24032
 
  # Find who we are.  Look in the path if we contain no path at all
24033
 
  # relative or not.
24034
 
  case $0 in
24035
 
    *[\\/]* ) as_myself=$0 ;;
24036
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24037
 
for as_dir in $PATH
24038
 
do
24039
 
  IFS=$as_save_IFS
24040
 
  test -z "$as_dir" && as_dir=.
24041
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24042
 
done
24043
 
 
24044
 
       ;;
24045
 
  esac
24046
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
24047
 
  # in which case we are not to be found in the path.
24048
 
  if test "x$as_myself" = x; then
24049
 
    as_myself=$0
24050
 
  fi
24051
 
  if test ! -f "$as_myself"; then
24052
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24053
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24054
 
   { (exit 1); exit 1; }; }
24055
 
  fi
24056
 
  case $CONFIG_SHELL in
24057
 
  '')
24058
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24059
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24060
 
do
24061
 
  IFS=$as_save_IFS
24062
 
  test -z "$as_dir" && as_dir=.
24063
 
  for as_base in sh bash ksh sh5; do
24064
 
         case $as_dir in
24065
 
         /*)
24066
 
           if ("$as_dir/$as_base" -c '
24067
 
  as_lineno_1=$LINENO
24068
 
  as_lineno_2=$LINENO
24069
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24070
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
24071
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
24072
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24073
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24074
 
             CONFIG_SHELL=$as_dir/$as_base
24075
 
             export CONFIG_SHELL
24076
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24077
 
           fi;;
24078
 
         esac
24079
 
       done
24080
 
done
24081
 
;;
24082
 
  esac
 
25609
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
25610
            s//\1/
 
25611
            q
 
25612
          }
 
25613
          /^X\/\(\/\/\)$/{
 
25614
            s//\1/
 
25615
            q
 
25616
          }
 
25617
          /^X\/\(\/\).*/{
 
25618
            s//\1/
 
25619
            q
 
25620
          }
 
25621
          s/.*/./; q'`
 
25622
 
 
25623
# CDPATH.
 
25624
$as_unset CDPATH
 
25625
 
 
25626
 
 
25627
 
 
25628
  as_lineno_1=$LINENO
 
25629
  as_lineno_2=$LINENO
 
25630
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
25631
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24083
25632
 
24084
25633
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24085
25634
  # uniformly replaced by the line number.  The first 'sed' inserts a
24086
 
  # line-number line before each line; the second 'sed' does the real
24087
 
  # work.  The second script uses 'N' to pair each line-number line
24088
 
  # with the numbered line, and appends trailing '-' during
24089
 
  # substitution so that $LINENO is not a special case at line end.
 
25635
  # line-number line after each line using $LINENO; the second 'sed'
 
25636
  # does the real work.  The second script uses 'N' to pair each
 
25637
  # line-number line with the line containing $LINENO, and appends
 
25638
  # trailing '-' during substitution so that $LINENO is not a special
 
25639
  # case at line end.
24090
25640
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24091
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
24092
 
  sed '=' <$as_myself |
 
25641
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
25642
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
25643
  sed -n '
 
25644
    p
 
25645
    /[$]LINENO/=
 
25646
  ' <$as_myself |
24093
25647
    sed '
 
25648
      s/[$]LINENO.*/&-/
 
25649
      t lineno
 
25650
      b
 
25651
      :lineno
24094
25652
      N
24095
 
      s,$,-,
24096
 
      : loop
24097
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
25653
      :loop
 
25654
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24098
25655
      t loop
24099
 
      s,-$,,
24100
 
      s,^['$as_cr_digits']*\n,,
 
25656
      s/-\n.*//
24101
25657
    ' >$as_me.lineno &&
24102
 
  chmod +x $as_me.lineno ||
24103
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24104
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
25658
  chmod +x "$as_me.lineno" ||
 
25659
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24105
25660
   { (exit 1); exit 1; }; }
24106
25661
 
24107
25662
  # Don't try to exec as it changes $[0], causing all sort of problems
24108
25663
  # (the dirname of $[0] is not the place where we might find the
24109
 
  # original and so on.  Autoconf is especially sensible to this).
24110
 
  . ./$as_me.lineno
 
25664
  # original and so on.  Autoconf is especially sensitive to this).
 
25665
  . "./$as_me.lineno"
24111
25666
  # Exit status is that of the last command.
24112
25667
  exit
24113
25668
}
24114
25669
 
24115
25670
 
24116
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24117
 
  *c*,-n*) ECHO_N= ECHO_C='
24118
 
' ECHO_T='      ' ;;
24119
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24120
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
25671
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
25672
  as_dirname=dirname
 
25673
else
 
25674
  as_dirname=false
 
25675
fi
 
25676
 
 
25677
ECHO_C= ECHO_N= ECHO_T=
 
25678
case `echo -n x` in
 
25679
-n*)
 
25680
  case `echo 'x\c'` in
 
25681
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
25682
  *)   ECHO_C='\c';;
 
25683
  esac;;
 
25684
*)
 
25685
  ECHO_N='-n';;
24121
25686
esac
24122
25687
 
24123
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
25688
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
25689
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24124
25690
  as_expr=expr
24125
25691
else
24126
25692
  as_expr=false
24127
25693
fi
24128
25694
 
24129
25695
rm -f conf$$ conf$$.exe conf$$.file
 
25696
if test -d conf$$.dir; then
 
25697
  rm -f conf$$.dir/conf$$.file
 
25698
else
 
25699
  rm -f conf$$.dir
 
25700
  mkdir conf$$.dir
 
25701
fi
24130
25702
echo >conf$$.file
24131
25703
if ln -s conf$$.file conf$$ 2>/dev/null; then
24132
 
  # We could just check for DJGPP; but this test a) works b) is more generic
24133
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24134
 
  if test -f conf$$.exe; then
24135
 
    # Don't use ln at all; we don't have any links
 
25704
  as_ln_s='ln -s'
 
25705
  # ... but there are two gotchas:
 
25706
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
25707
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
25708
  # In both cases, we have to default to `cp -p'.
 
25709
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24136
25710
    as_ln_s='cp -p'
24137
 
  else
24138
 
    as_ln_s='ln -s'
24139
 
  fi
24140
25711
elif ln conf$$.file conf$$ 2>/dev/null; then
24141
25712
  as_ln_s=ln
24142
25713
else
24143
25714
  as_ln_s='cp -p'
24144
25715
fi
24145
 
rm -f conf$$ conf$$.exe conf$$.file
 
25716
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
25717
rmdir conf$$.dir 2>/dev/null
24146
25718
 
24147
25719
if mkdir -p . 2>/dev/null; then
24148
25720
  as_mkdir_p=:
24151
25723
  as_mkdir_p=false
24152
25724
fi
24153
25725
 
24154
 
as_executable_p="test -f"
 
25726
if test -x / >/dev/null 2>&1; then
 
25727
  as_test_x='test -x'
 
25728
else
 
25729
  if ls -dL / >/dev/null 2>&1; then
 
25730
    as_ls_L_option=L
 
25731
  else
 
25732
    as_ls_L_option=
 
25733
  fi
 
25734
  as_test_x='
 
25735
    eval sh -c '\''
 
25736
      if test -d "$1"; then
 
25737
        test -d "$1/.";
 
25738
      else
 
25739
        case $1 in
 
25740
        -*)set "./$1";;
 
25741
        esac;
 
25742
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
25743
        ???[sx]*):;;*)false;;esac;fi
 
25744
    '\'' sh
 
25745
  '
 
25746
fi
 
25747
as_executable_p=$as_test_x
24155
25748
 
24156
25749
# Sed expression to map a string onto a valid CPP name.
24157
25750
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24160
25753
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24161
25754
 
24162
25755
 
24163
 
# IFS
24164
 
# We need space, tab and new line, in precisely that order.
24165
 
as_nl='
24166
 
'
24167
 
IFS="   $as_nl"
24168
 
 
24169
 
# CDPATH.
24170
 
$as_unset CDPATH
24171
 
 
24172
25756
exec 6>&1
24173
25757
 
24174
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
25758
# Save the log message, to keep $[0] and so on meaningful, and to
24175
25759
# report actual input values of CONFIG_FILES etc. instead of their
24176
 
# values after options handling.  Logging --version etc. is OK.
24177
 
exec 5>>config.log
24178
 
{
24179
 
  echo
24180
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24181
 
## Running $as_me. ##
24182
 
_ASBOX
24183
 
} >&5
24184
 
cat >&5 <<_CSEOF
24185
 
 
24186
 
This file was extended by gpgme $as_me 1.1.2, which was
24187
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
25760
# values after options handling.
 
25761
ac_log="
 
25762
This file was extended by gpgme $as_me 1.1.5, which was
 
25763
generated by GNU Autoconf 2.61.  Invocation command line was
24188
25764
 
24189
25765
  CONFIG_FILES    = $CONFIG_FILES
24190
25766
  CONFIG_HEADERS  = $CONFIG_HEADERS
24192
25768
  CONFIG_COMMANDS = $CONFIG_COMMANDS
24193
25769
  $ $0 $@
24194
25770
 
24195
 
_CSEOF
24196
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24197
 
echo >&5
 
25771
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
25772
"
 
25773
 
24198
25774
_ACEOF
24199
25775
 
 
25776
cat >>$CONFIG_STATUS <<_ACEOF
24200
25777
# Files that config.status was made for.
24201
 
if test -n "$ac_config_files"; then
24202
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24203
 
fi
24204
 
 
24205
 
if test -n "$ac_config_headers"; then
24206
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24207
 
fi
24208
 
 
24209
 
if test -n "$ac_config_links"; then
24210
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24211
 
fi
24212
 
 
24213
 
if test -n "$ac_config_commands"; then
24214
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24215
 
fi
 
25778
config_files="$ac_config_files"
 
25779
config_headers="$ac_config_headers"
 
25780
config_commands="$ac_config_commands"
 
25781
 
 
25782
_ACEOF
24216
25783
 
24217
25784
cat >>$CONFIG_STATUS <<\_ACEOF
24218
 
 
24219
25785
ac_cs_usage="\
24220
25786
\`$as_me' instantiates files from templates according to the
24221
25787
current configuration.
24223
25789
Usage: $0 [OPTIONS] [FILE]...
24224
25790
 
24225
25791
  -h, --help       print this help, then exit
24226
 
  -V, --version    print version number, then exit
 
25792
  -V, --version    print version number and configuration settings, then exit
24227
25793
  -q, --quiet      do not print progress messages
24228
25794
  -d, --debug      don't remove temporary files
24229
25795
      --recheck    update $as_me by reconfiguring in the same conditions
24242
25808
$config_commands
24243
25809
 
24244
25810
Report bugs to <bug-autoconf@gnu.org>."
 
25811
 
24245
25812
_ACEOF
24246
 
 
24247
25813
cat >>$CONFIG_STATUS <<_ACEOF
24248
25814
ac_cs_version="\\
24249
 
gpgme config.status 1.1.2
24250
 
configured by $0, generated by GNU Autoconf 2.59,
24251
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
25815
gpgme config.status 1.1.5
 
25816
configured by $0, generated by GNU Autoconf 2.61,
 
25817
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24252
25818
 
24253
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
25819
Copyright (C) 2006 Free Software Foundation, Inc.
24254
25820
This config.status script is free software; the Free Software Foundation
24255
25821
gives unlimited permission to copy, distribute and modify it."
24256
 
srcdir=$srcdir
24257
 
INSTALL="$INSTALL"
 
25822
 
 
25823
ac_pwd='$ac_pwd'
 
25824
srcdir='$srcdir'
 
25825
INSTALL='$INSTALL'
 
25826
MKDIR_P='$MKDIR_P'
24258
25827
_ACEOF
24259
25828
 
24260
25829
cat >>$CONFIG_STATUS <<\_ACEOF
24265
25834
do
24266
25835
  case $1 in
24267
25836
  --*=*)
24268
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
24269
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
25837
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
25838
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24270
25839
    ac_shift=:
24271
25840
    ;;
24272
 
  -*)
 
25841
  *)
24273
25842
    ac_option=$1
24274
25843
    ac_optarg=$2
24275
25844
    ac_shift=shift
24276
25845
    ;;
24277
 
  *) # This is not an option, so the user has probably given explicit
24278
 
     # arguments.
24279
 
     ac_option=$1
24280
 
     ac_need_defaults=false;;
24281
25846
  esac
24282
25847
 
24283
25848
  case $ac_option in
24284
25849
  # Handling of the options.
24285
 
_ACEOF
24286
 
cat >>$CONFIG_STATUS <<\_ACEOF
24287
25850
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24288
25851
    ac_cs_recheck=: ;;
24289
 
  --version | --vers* | -V )
24290
 
    echo "$ac_cs_version"; exit 0 ;;
24291
 
  --he | --h)
24292
 
    # Conflict between --help and --header
24293
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
24294
 
Try \`$0 --help' for more information." >&5
24295
 
echo "$as_me: error: ambiguous option: $1
24296
 
Try \`$0 --help' for more information." >&2;}
24297
 
   { (exit 1); exit 1; }; };;
24298
 
  --help | --hel | -h )
24299
 
    echo "$ac_cs_usage"; exit 0 ;;
24300
 
  --debug | --d* | -d )
 
25852
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
25853
    echo "$ac_cs_version"; exit ;;
 
25854
  --debug | --debu | --deb | --de | --d | -d )
24301
25855
    debug=: ;;
24302
25856
  --file | --fil | --fi | --f )
24303
25857
    $ac_shift
24307
25861
    $ac_shift
24308
25862
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24309
25863
    ac_need_defaults=false;;
 
25864
  --he | --h)
 
25865
    # Conflict between --help and --header
 
25866
    { echo "$as_me: error: ambiguous option: $1
 
25867
Try \`$0 --help' for more information." >&2
 
25868
   { (exit 1); exit 1; }; };;
 
25869
  --help | --hel | -h )
 
25870
    echo "$ac_cs_usage"; exit ;;
24310
25871
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24311
25872
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24312
25873
    ac_cs_silent=: ;;
24313
25874
 
24314
25875
  # This is an error.
24315
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24316
 
Try \`$0 --help' for more information." >&5
24317
 
echo "$as_me: error: unrecognized option: $1
24318
 
Try \`$0 --help' for more information." >&2;}
 
25876
  -*) { echo "$as_me: error: unrecognized option: $1
 
25877
Try \`$0 --help' for more information." >&2
24319
25878
   { (exit 1); exit 1; }; } ;;
24320
25879
 
24321
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
25880
  *) ac_config_targets="$ac_config_targets $1"
 
25881
     ac_need_defaults=false ;;
24322
25882
 
24323
25883
  esac
24324
25884
  shift
24334
25894
_ACEOF
24335
25895
cat >>$CONFIG_STATUS <<_ACEOF
24336
25896
if \$ac_cs_recheck; then
24337
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24338
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
25897
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
25898
  CONFIG_SHELL=$SHELL
 
25899
  export CONFIG_SHELL
 
25900
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24339
25901
fi
24340
25902
 
24341
25903
_ACEOF
 
25904
cat >>$CONFIG_STATUS <<\_ACEOF
 
25905
exec 5>>config.log
 
25906
{
 
25907
  echo
 
25908
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
25909
## Running $as_me. ##
 
25910
_ASBOX
 
25911
  echo "$ac_log"
 
25912
} >&5
24342
25913
 
 
25914
_ACEOF
24343
25915
cat >>$CONFIG_STATUS <<_ACEOF
24344
25916
#
24345
 
# INIT-COMMANDS section.
 
25917
# INIT-COMMANDS
24346
25918
#
24347
 
 
24348
25919
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24349
25920
 
24350
25921
_ACEOF
24351
25922
 
24352
 
 
24353
 
 
24354
25923
cat >>$CONFIG_STATUS <<\_ACEOF
 
25924
 
 
25925
# Handling of arguments.
24355
25926
for ac_config_target in $ac_config_targets
24356
25927
do
24357
 
  case "$ac_config_target" in
24358
 
  # Handling of arguments.
24359
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24360
 
  "assuan/Makefile" ) CONFIG_FILES="$CONFIG_FILES assuan/Makefile" ;;
24361
 
  "gpgme/Makefile" ) CONFIG_FILES="$CONFIG_FILES gpgme/Makefile" ;;
24362
 
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
24363
 
  "tests/gpg/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/gpg/Makefile" ;;
24364
 
  "tests/gpgsm/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/gpgsm/Makefile" ;;
24365
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
24366
 
  "complus/Makefile" ) CONFIG_FILES="$CONFIG_FILES complus/Makefile" ;;
24367
 
  "gpgme/versioninfo.rc" ) CONFIG_FILES="$CONFIG_FILES gpgme/versioninfo.rc" ;;
24368
 
  "gpgme/gpgme-config" ) CONFIG_FILES="$CONFIG_FILES gpgme/gpgme-config" ;;
24369
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24370
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
25928
  case $ac_config_target in
 
25929
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
25930
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
25931
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
25932
    "assuan/Makefile") CONFIG_FILES="$CONFIG_FILES assuan/Makefile" ;;
 
25933
    "gpgme/Makefile") CONFIG_FILES="$CONFIG_FILES gpgme/Makefile" ;;
 
25934
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
25935
    "tests/gpg/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gpg/Makefile" ;;
 
25936
    "tests/gpgsm/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gpgsm/Makefile" ;;
 
25937
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
25938
    "complus/Makefile") CONFIG_FILES="$CONFIG_FILES complus/Makefile" ;;
 
25939
    "gpgme/versioninfo.rc") CONFIG_FILES="$CONFIG_FILES gpgme/versioninfo.rc" ;;
 
25940
    "gpgme/gpgme-config") CONFIG_FILES="$CONFIG_FILES gpgme/gpgme-config" ;;
 
25941
    "lang/Makefile") CONFIG_FILES="$CONFIG_FILES lang/Makefile" ;;
 
25942
    "lang/cl/Makefile") CONFIG_FILES="$CONFIG_FILES lang/cl/Makefile" ;;
 
25943
    "lang/cl/gpgme.asd") CONFIG_FILES="$CONFIG_FILES lang/cl/gpgme.asd" ;;
 
25944
 
24371
25945
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24372
25946
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24373
25947
   { (exit 1); exit 1; }; };;
24374
25948
  esac
24375
25949
done
24376
25950
 
 
25951
 
24377
25952
# If the user did not use the arguments to specify the items to instantiate,
24378
25953
# then the envvar interface is used.  Set only those that are not.
24379
25954
# We use the long form for the default assignment because of an extremely
24385
25960
fi
24386
25961
 
24387
25962
# Have a temporary directory for convenience.  Make it in the build tree
24388
 
# simply because there is no reason to put it here, and in addition,
 
25963
# simply because there is no reason against having it here, and in addition,
24389
25964
# creating and moving files from /tmp can sometimes cause problems.
24390
 
# Create a temporary directory, and hook for its removal unless debugging.
 
25965
# Hook for its removal unless debugging.
 
25966
# Note that there is a small window in which the directory will not be cleaned:
 
25967
# after its creation but before its name has been assigned to `$tmp'.
24391
25968
$debug ||
24392
25969
{
24393
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
25970
  tmp=
 
25971
  trap 'exit_status=$?
 
25972
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
25973
' 0
24394
25974
  trap '{ (exit 1); exit 1; }' 1 2 13 15
24395
25975
}
24396
 
 
24397
25976
# Create a (secure) tmp directory for tmp files.
24398
25977
 
24399
25978
{
24400
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
25979
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24401
25980
  test -n "$tmp" && test -d "$tmp"
24402
25981
}  ||
24403
25982
{
24404
 
  tmp=./confstat$$-$RANDOM
24405
 
  (umask 077 && mkdir $tmp)
 
25983
  tmp=./conf$$-$RANDOM
 
25984
  (umask 077 && mkdir "$tmp")
24406
25985
} ||
24407
25986
{
24408
25987
   echo "$me: cannot create a temporary directory in ." >&2
24409
25988
   { (exit 1); exit 1; }
24410
25989
}
24411
25990
 
24412
 
_ACEOF
24413
 
 
24414
 
cat >>$CONFIG_STATUS <<_ACEOF
24415
 
 
24416
25991
#
24417
 
# CONFIG_FILES section.
 
25992
# Set up the sed scripts for CONFIG_FILES section.
24418
25993
#
24419
25994
 
24420
25995
# No need to generate the scripts if there are no CONFIG_FILES.
24421
25996
# This happens for instance when ./config.status config.h
24422
 
if test -n "\$CONFIG_FILES"; then
24423
 
  # Protect against being on the right side of a sed subst in config.status.
24424
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24425
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24426
 
s,@SHELL@,$SHELL,;t t
24427
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24428
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24429
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24430
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24431
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24432
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24433
 
s,@exec_prefix@,$exec_prefix,;t t
24434
 
s,@prefix@,$prefix,;t t
24435
 
s,@program_transform_name@,$program_transform_name,;t t
24436
 
s,@bindir@,$bindir,;t t
24437
 
s,@sbindir@,$sbindir,;t t
24438
 
s,@libexecdir@,$libexecdir,;t t
24439
 
s,@datadir@,$datadir,;t t
24440
 
s,@sysconfdir@,$sysconfdir,;t t
24441
 
s,@sharedstatedir@,$sharedstatedir,;t t
24442
 
s,@localstatedir@,$localstatedir,;t t
24443
 
s,@libdir@,$libdir,;t t
24444
 
s,@includedir@,$includedir,;t t
24445
 
s,@oldincludedir@,$oldincludedir,;t t
24446
 
s,@infodir@,$infodir,;t t
24447
 
s,@mandir@,$mandir,;t t
24448
 
s,@build_alias@,$build_alias,;t t
24449
 
s,@host_alias@,$host_alias,;t t
24450
 
s,@target_alias@,$target_alias,;t t
24451
 
s,@DEFS@,$DEFS,;t t
24452
 
s,@ECHO_C@,$ECHO_C,;t t
24453
 
s,@ECHO_N@,$ECHO_N,;t t
24454
 
s,@ECHO_T@,$ECHO_T,;t t
24455
 
s,@LIBS@,$LIBS,;t t
24456
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24457
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24458
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24459
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
24460
 
s,@PACKAGE@,$PACKAGE,;t t
24461
 
s,@VERSION@,$VERSION,;t t
24462
 
s,@ACLOCAL@,$ACLOCAL,;t t
24463
 
s,@AUTOCONF@,$AUTOCONF,;t t
24464
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
24465
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
24466
 
s,@MAKEINFO@,$MAKEINFO,;t t
24467
 
s,@install_sh@,$install_sh,;t t
24468
 
s,@STRIP@,$STRIP,;t t
24469
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24470
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24471
 
s,@mkdir_p@,$mkdir_p,;t t
24472
 
s,@AWK@,$AWK,;t t
24473
 
s,@SET_MAKE@,$SET_MAKE,;t t
24474
 
s,@am__leading_dot@,$am__leading_dot,;t t
24475
 
s,@AMTAR@,$AMTAR,;t t
24476
 
s,@am__tar@,$am__tar,;t t
24477
 
s,@am__untar@,$am__untar,;t t
24478
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24479
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24480
 
s,@MAINT@,$MAINT,;t t
24481
 
s,@build@,$build,;t t
24482
 
s,@build_cpu@,$build_cpu,;t t
24483
 
s,@build_vendor@,$build_vendor,;t t
24484
 
s,@build_os@,$build_os,;t t
24485
 
s,@host@,$host,;t t
24486
 
s,@host_cpu@,$host_cpu,;t t
24487
 
s,@host_vendor@,$host_vendor,;t t
24488
 
s,@host_os@,$host_os,;t t
24489
 
s,@CC@,$CC,;t t
24490
 
s,@CFLAGS@,$CFLAGS,;t t
24491
 
s,@LDFLAGS@,$LDFLAGS,;t t
24492
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
24493
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
24494
 
s,@EXEEXT@,$EXEEXT,;t t
24495
 
s,@OBJEXT@,$OBJEXT,;t t
24496
 
s,@DEPDIR@,$DEPDIR,;t t
24497
 
s,@am__include@,$am__include,;t t
24498
 
s,@am__quote@,$am__quote,;t t
24499
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24500
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24501
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24502
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
24503
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24504
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24505
 
s,@LIBGPGME_LT_CURRENT@,$LIBGPGME_LT_CURRENT,;t t
24506
 
s,@LIBGPGME_LT_AGE@,$LIBGPGME_LT_AGE,;t t
24507
 
s,@LIBGPGME_LT_REVISION@,$LIBGPGME_LT_REVISION,;t t
24508
 
s,@RC@,$RC,;t t
24509
 
s,@ac_ct_RC@,$ac_ct_RC,;t t
24510
 
s,@EGREP@,$EGREP,;t t
24511
 
s,@LN_S@,$LN_S,;t t
24512
 
s,@ECHO@,$ECHO,;t t
24513
 
s,@AR@,$AR,;t t
24514
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
24515
 
s,@RANLIB@,$RANLIB,;t t
24516
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24517
 
s,@DLLTOOL@,$DLLTOOL,;t t
24518
 
s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
24519
 
s,@AS@,$AS,;t t
24520
 
s,@ac_ct_AS@,$ac_ct_AS,;t t
24521
 
s,@OBJDUMP@,$OBJDUMP,;t t
24522
 
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
24523
 
s,@CPP@,$CPP,;t t
24524
 
s,@CXX@,$CXX,;t t
24525
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
24526
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24527
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
24528
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
24529
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
24530
 
s,@CXXCPP@,$CXXCPP,;t t
24531
 
s,@F77@,$F77,;t t
24532
 
s,@FFLAGS@,$FFLAGS,;t t
24533
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
24534
 
s,@LIBTOOL@,$LIBTOOL,;t t
24535
 
s,@HAVE_LD_VERSION_SCRIPT_TRUE@,$HAVE_LD_VERSION_SCRIPT_TRUE,;t t
24536
 
s,@HAVE_LD_VERSION_SCRIPT_FALSE@,$HAVE_LD_VERSION_SCRIPT_FALSE,;t t
24537
 
s,@PTH_CPPFLAGS@,$PTH_CPPFLAGS,;t t
24538
 
s,@PTH_CFLAGS@,$PTH_CFLAGS,;t t
24539
 
s,@PTH_LDFLAGS@,$PTH_LDFLAGS,;t t
24540
 
s,@PTH_LIBS@,$PTH_LIBS,;t t
24541
 
s,@HAVE_DOSISH_SYSTEM_TRUE@,$HAVE_DOSISH_SYSTEM_TRUE,;t t
24542
 
s,@HAVE_DOSISH_SYSTEM_FALSE@,$HAVE_DOSISH_SYSTEM_FALSE,;t t
24543
 
s,@HAVE_W32_SYSTEM_TRUE@,$HAVE_W32_SYSTEM_TRUE,;t t
24544
 
s,@HAVE_W32_SYSTEM_FALSE@,$HAVE_W32_SYSTEM_FALSE,;t t
24545
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
24546
 
s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
24547
 
s,@GLIB_LIBS@,$GLIB_LIBS,;t t
24548
 
s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
24549
 
s,@GOBJECT_QUERY@,$GOBJECT_QUERY,;t t
24550
 
s,@GLIB_MKENUMS@,$GLIB_MKENUMS,;t t
24551
 
s,@BUILD_W32_GLIB_TRUE@,$BUILD_W32_GLIB_TRUE,;t t
24552
 
s,@BUILD_W32_GLIB_FALSE@,$BUILD_W32_GLIB_FALSE,;t t
24553
 
s,@HAVE_PTH_TRUE@,$HAVE_PTH_TRUE,;t t
24554
 
s,@HAVE_PTH_FALSE@,$HAVE_PTH_FALSE,;t t
24555
 
s,@HAVE_PTHREAD_TRUE@,$HAVE_PTHREAD_TRUE,;t t
24556
 
s,@HAVE_PTHREAD_FALSE@,$HAVE_PTHREAD_FALSE,;t t
24557
 
s,@LIBOBJS@,$LIBOBJS,;t t
24558
 
s,@GLIBC21@,$GLIBC21,;t t
24559
 
s,@GPG_ERROR_CONFIG@,$GPG_ERROR_CONFIG,;t t
24560
 
s,@GPG_ERROR_CFLAGS@,$GPG_ERROR_CFLAGS,;t t
24561
 
s,@GPG_ERROR_LIBS@,$GPG_ERROR_LIBS,;t t
24562
 
s,@GPG@,$GPG,;t t
24563
 
s,@RUN_GPG_TESTS_TRUE@,$RUN_GPG_TESTS_TRUE,;t t
24564
 
s,@RUN_GPG_TESTS_FALSE@,$RUN_GPG_TESTS_FALSE,;t t
24565
 
s,@GPG_PATH@,$GPG_PATH,;t t
24566
 
s,@GPGSM@,$GPGSM,;t t
24567
 
s,@HAVE_GPGSM_TRUE@,$HAVE_GPGSM_TRUE,;t t
24568
 
s,@HAVE_GPGSM_FALSE@,$HAVE_GPGSM_FALSE,;t t
24569
 
s,@RUN_GPGSM_TESTS_TRUE@,$RUN_GPGSM_TESTS_TRUE,;t t
24570
 
s,@RUN_GPGSM_TESTS_FALSE@,$RUN_GPGSM_TESTS_FALSE,;t t
24571
 
s,@BUILD_ASSUAN_TRUE@,$BUILD_ASSUAN_TRUE,;t t
24572
 
s,@BUILD_ASSUAN_FALSE@,$BUILD_ASSUAN_FALSE,;t t
24573
 
s,@BUILD_COMPLUS_TRUE@,$BUILD_COMPLUS_TRUE,;t t
24574
 
s,@BUILD_COMPLUS_FALSE@,$BUILD_COMPLUS_FALSE,;t t
24575
 
s,@BUILD_REVISION@,$BUILD_REVISION,;t t
24576
 
s,@BUILD_TIMESTAMP@,$BUILD_TIMESTAMP,;t t
24577
 
s,@BUILD_FILEVERSION@,$BUILD_FILEVERSION,;t t
24578
 
s,@GPGME_CONFIG_API_VERSION@,$GPGME_CONFIG_API_VERSION,;t t
24579
 
s,@GPGME_CONFIG_LIBS@,$GPGME_CONFIG_LIBS,;t t
24580
 
s,@GPGME_CONFIG_CFLAGS@,$GPGME_CONFIG_CFLAGS,;t t
24581
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24582
 
CEOF
24583
 
 
24584
 
_ACEOF
24585
 
 
24586
 
  cat >>$CONFIG_STATUS <<\_ACEOF
24587
 
  # Split the substitutions into bite-sized pieces for seds with
24588
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
24589
 
  ac_max_sed_lines=48
24590
 
  ac_sed_frag=1 # Number of current file.
24591
 
  ac_beg=1 # First line for current file.
24592
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
24593
 
  ac_more_lines=:
24594
 
  ac_sed_cmds=
24595
 
  while $ac_more_lines; do
24596
 
    if test $ac_beg -gt 1; then
24597
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24598
 
    else
24599
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24600
 
    fi
24601
 
    if test ! -s $tmp/subs.frag; then
24602
 
      ac_more_lines=false
24603
 
    else
24604
 
      # The purpose of the label and of the branching condition is to
24605
 
      # speed up the sed processing (if there are no `@' at all, there
24606
 
      # is no need to browse any of the substitutions).
24607
 
      # These are the two extra sed commands mentioned above.
24608
 
      (echo ':t
24609
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24610
 
      if test -z "$ac_sed_cmds"; then
24611
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24612
 
      else
24613
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24614
 
      fi
24615
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
24616
 
      ac_beg=$ac_end
24617
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
24618
 
    fi
24619
 
  done
24620
 
  if test -z "$ac_sed_cmds"; then
24621
 
    ac_sed_cmds=cat
24622
 
  fi
 
25997
if test -n "$CONFIG_FILES"; then
 
25998
 
 
25999
_ACEOF
 
26000
 
 
26001
 
 
26002
 
 
26003
ac_delim='%!_!# '
 
26004
for ac_last_try in false false false false false :; do
 
26005
  cat >conf$$subs.sed <<_ACEOF
 
26006
SHELL!$SHELL$ac_delim
 
26007
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
26008
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
26009
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
26010
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
26011
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
26012
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
26013
exec_prefix!$exec_prefix$ac_delim
 
26014
prefix!$prefix$ac_delim
 
26015
program_transform_name!$program_transform_name$ac_delim
 
26016
bindir!$bindir$ac_delim
 
26017
sbindir!$sbindir$ac_delim
 
26018
libexecdir!$libexecdir$ac_delim
 
26019
datarootdir!$datarootdir$ac_delim
 
26020
datadir!$datadir$ac_delim
 
26021
sysconfdir!$sysconfdir$ac_delim
 
26022
sharedstatedir!$sharedstatedir$ac_delim
 
26023
localstatedir!$localstatedir$ac_delim
 
26024
includedir!$includedir$ac_delim
 
26025
oldincludedir!$oldincludedir$ac_delim
 
26026
docdir!$docdir$ac_delim
 
26027
infodir!$infodir$ac_delim
 
26028
htmldir!$htmldir$ac_delim
 
26029
dvidir!$dvidir$ac_delim
 
26030
pdfdir!$pdfdir$ac_delim
 
26031
psdir!$psdir$ac_delim
 
26032
libdir!$libdir$ac_delim
 
26033
localedir!$localedir$ac_delim
 
26034
mandir!$mandir$ac_delim
 
26035
DEFS!$DEFS$ac_delim
 
26036
ECHO_C!$ECHO_C$ac_delim
 
26037
ECHO_N!$ECHO_N$ac_delim
 
26038
ECHO_T!$ECHO_T$ac_delim
 
26039
LIBS!$LIBS$ac_delim
 
26040
build_alias!$build_alias$ac_delim
 
26041
host_alias!$host_alias$ac_delim
 
26042
target_alias!$target_alias$ac_delim
 
26043
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
26044
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
26045
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
26046
am__isrc!$am__isrc$ac_delim
 
26047
CYGPATH_W!$CYGPATH_W$ac_delim
 
26048
PACKAGE!$PACKAGE$ac_delim
 
26049
VERSION!$VERSION$ac_delim
 
26050
ACLOCAL!$ACLOCAL$ac_delim
 
26051
AUTOCONF!$AUTOCONF$ac_delim
 
26052
AUTOMAKE!$AUTOMAKE$ac_delim
 
26053
AUTOHEADER!$AUTOHEADER$ac_delim
 
26054
MAKEINFO!$MAKEINFO$ac_delim
 
26055
install_sh!$install_sh$ac_delim
 
26056
STRIP!$STRIP$ac_delim
 
26057
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
26058
mkdir_p!$mkdir_p$ac_delim
 
26059
AWK!$AWK$ac_delim
 
26060
SET_MAKE!$SET_MAKE$ac_delim
 
26061
am__leading_dot!$am__leading_dot$ac_delim
 
26062
AMTAR!$AMTAR$ac_delim
 
26063
am__tar!$am__tar$ac_delim
 
26064
am__untar!$am__untar$ac_delim
 
26065
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
26066
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
26067
MAINT!$MAINT$ac_delim
 
26068
build!$build$ac_delim
 
26069
build_cpu!$build_cpu$ac_delim
 
26070
build_vendor!$build_vendor$ac_delim
 
26071
build_os!$build_os$ac_delim
 
26072
host!$host$ac_delim
 
26073
host_cpu!$host_cpu$ac_delim
 
26074
host_vendor!$host_vendor$ac_delim
 
26075
host_os!$host_os$ac_delim
 
26076
CC!$CC$ac_delim
 
26077
CFLAGS!$CFLAGS$ac_delim
 
26078
LDFLAGS!$LDFLAGS$ac_delim
 
26079
CPPFLAGS!$CPPFLAGS$ac_delim
 
26080
ac_ct_CC!$ac_ct_CC$ac_delim
 
26081
EXEEXT!$EXEEXT$ac_delim
 
26082
OBJEXT!$OBJEXT$ac_delim
 
26083
DEPDIR!$DEPDIR$ac_delim
 
26084
am__include!$am__include$ac_delim
 
26085
am__quote!$am__quote$ac_delim
 
26086
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
26087
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
26088
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
26089
CCDEPMODE!$CCDEPMODE$ac_delim
 
26090
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
26091
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
26092
LIBGPGME_LT_CURRENT!$LIBGPGME_LT_CURRENT$ac_delim
 
26093
LIBGPGME_LT_AGE!$LIBGPGME_LT_AGE$ac_delim
 
26094
LIBGPGME_LT_REVISION!$LIBGPGME_LT_REVISION$ac_delim
 
26095
RC!$RC$ac_delim
 
26096
GREP!$GREP$ac_delim
 
26097
EGREP!$EGREP$ac_delim
 
26098
LN_S!$LN_S$ac_delim
 
26099
ECHO!$ECHO$ac_delim
 
26100
AR!$AR$ac_delim
 
26101
RANLIB!$RANLIB$ac_delim
 
26102
DLLTOOL!$DLLTOOL$ac_delim
 
26103
_ACEOF
 
26104
 
 
26105
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
26106
    break
 
26107
  elif $ac_last_try; then
 
26108
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
26109
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
26110
   { (exit 1); exit 1; }; }
 
26111
  else
 
26112
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
26113
  fi
 
26114
done
 
26115
 
 
26116
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
26117
if test -n "$ac_eof"; then
 
26118
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
26119
  ac_eof=`expr $ac_eof + 1`
 
26120
fi
 
26121
 
 
26122
cat >>$CONFIG_STATUS <<_ACEOF
 
26123
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
26124
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
26125
_ACEOF
 
26126
sed '
 
26127
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
26128
s/^/s,@/; s/!/@,|#_!!_#|/
 
26129
:n
 
26130
t n
 
26131
s/'"$ac_delim"'$/,g/; t
 
26132
s/$/\\/; p
 
26133
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
26134
' >>$CONFIG_STATUS <conf$$subs.sed
 
26135
rm -f conf$$subs.sed
 
26136
cat >>$CONFIG_STATUS <<_ACEOF
 
26137
CEOF$ac_eof
 
26138
_ACEOF
 
26139
 
 
26140
 
 
26141
ac_delim='%!_!# '
 
26142
for ac_last_try in false false false false false :; do
 
26143
  cat >conf$$subs.sed <<_ACEOF
 
26144
AS!$AS$ac_delim
 
26145
OBJDUMP!$OBJDUMP$ac_delim
 
26146
CPP!$CPP$ac_delim
 
26147
CXX!$CXX$ac_delim
 
26148
CXXFLAGS!$CXXFLAGS$ac_delim
 
26149
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
26150
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
26151
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
26152
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
26153
CXXCPP!$CXXCPP$ac_delim
 
26154
F77!$F77$ac_delim
 
26155
FFLAGS!$FFLAGS$ac_delim
 
26156
ac_ct_F77!$ac_ct_F77$ac_delim
 
26157
LIBTOOL!$LIBTOOL$ac_delim
 
26158
HAVE_LD_VERSION_SCRIPT_TRUE!$HAVE_LD_VERSION_SCRIPT_TRUE$ac_delim
 
26159
HAVE_LD_VERSION_SCRIPT_FALSE!$HAVE_LD_VERSION_SCRIPT_FALSE$ac_delim
 
26160
PTH_CPPFLAGS!$PTH_CPPFLAGS$ac_delim
 
26161
PTH_CFLAGS!$PTH_CFLAGS$ac_delim
 
26162
PTH_LDFLAGS!$PTH_LDFLAGS$ac_delim
 
26163
PTH_LIBS!$PTH_LIBS$ac_delim
 
26164
HAVE_DOSISH_SYSTEM_TRUE!$HAVE_DOSISH_SYSTEM_TRUE$ac_delim
 
26165
HAVE_DOSISH_SYSTEM_FALSE!$HAVE_DOSISH_SYSTEM_FALSE$ac_delim
 
26166
HAVE_W32_SYSTEM_TRUE!$HAVE_W32_SYSTEM_TRUE$ac_delim
 
26167
HAVE_W32_SYSTEM_FALSE!$HAVE_W32_SYSTEM_FALSE$ac_delim
 
26168
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
26169
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
 
26170
GLIB_LIBS!$GLIB_LIBS$ac_delim
 
26171
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
 
26172
GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
 
26173
GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
 
26174
BUILD_W32_GLIB_TRUE!$BUILD_W32_GLIB_TRUE$ac_delim
 
26175
BUILD_W32_GLIB_FALSE!$BUILD_W32_GLIB_FALSE$ac_delim
 
26176
HAVE_PTH_TRUE!$HAVE_PTH_TRUE$ac_delim
 
26177
HAVE_PTH_FALSE!$HAVE_PTH_FALSE$ac_delim
 
26178
HAVE_PTHREAD_TRUE!$HAVE_PTHREAD_TRUE$ac_delim
 
26179
HAVE_PTHREAD_FALSE!$HAVE_PTHREAD_FALSE$ac_delim
 
26180
NETLIBS!$NETLIBS$ac_delim
 
26181
LIBOBJS!$LIBOBJS$ac_delim
 
26182
GLIBC21!$GLIBC21$ac_delim
 
26183
GPG_ERROR_CONFIG!$GPG_ERROR_CONFIG$ac_delim
 
26184
GPG_ERROR_CFLAGS!$GPG_ERROR_CFLAGS$ac_delim
 
26185
GPG_ERROR_LIBS!$GPG_ERROR_LIBS$ac_delim
 
26186
GPG!$GPG$ac_delim
 
26187
RUN_GPG_TESTS_TRUE!$RUN_GPG_TESTS_TRUE$ac_delim
 
26188
RUN_GPG_TESTS_FALSE!$RUN_GPG_TESTS_FALSE$ac_delim
 
26189
GPG_PATH!$GPG_PATH$ac_delim
 
26190
GPGSM!$GPGSM$ac_delim
 
26191
HAVE_GPGSM_TRUE!$HAVE_GPGSM_TRUE$ac_delim
 
26192
HAVE_GPGSM_FALSE!$HAVE_GPGSM_FALSE$ac_delim
 
26193
RUN_GPGSM_TESTS_TRUE!$RUN_GPGSM_TESTS_TRUE$ac_delim
 
26194
RUN_GPGSM_TESTS_FALSE!$RUN_GPGSM_TESTS_FALSE$ac_delim
 
26195
BUILD_ASSUAN_TRUE!$BUILD_ASSUAN_TRUE$ac_delim
 
26196
BUILD_ASSUAN_FALSE!$BUILD_ASSUAN_FALSE$ac_delim
 
26197
USE_DESCRIPTOR_PASSING_TRUE!$USE_DESCRIPTOR_PASSING_TRUE$ac_delim
 
26198
USE_DESCRIPTOR_PASSING_FALSE!$USE_DESCRIPTOR_PASSING_FALSE$ac_delim
 
26199
BUILD_COMPLUS_TRUE!$BUILD_COMPLUS_TRUE$ac_delim
 
26200
BUILD_COMPLUS_FALSE!$BUILD_COMPLUS_FALSE$ac_delim
 
26201
BUILD_REVISION!$BUILD_REVISION$ac_delim
 
26202
BUILD_TIMESTAMP!$BUILD_TIMESTAMP$ac_delim
 
26203
BUILD_FILEVERSION!$BUILD_FILEVERSION$ac_delim
 
26204
GPGME_CONFIG_API_VERSION!$GPGME_CONFIG_API_VERSION$ac_delim
 
26205
GPGME_CONFIG_LIBS!$GPGME_CONFIG_LIBS$ac_delim
 
26206
GPGME_CONFIG_CFLAGS!$GPGME_CONFIG_CFLAGS$ac_delim
 
26207
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
26208
_ACEOF
 
26209
 
 
26210
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
 
26211
    break
 
26212
  elif $ac_last_try; then
 
26213
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
26214
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
26215
   { (exit 1); exit 1; }; }
 
26216
  else
 
26217
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
26218
  fi
 
26219
done
 
26220
 
 
26221
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
26222
if test -n "$ac_eof"; then
 
26223
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
26224
  ac_eof=`expr $ac_eof + 1`
 
26225
fi
 
26226
 
 
26227
cat >>$CONFIG_STATUS <<_ACEOF
 
26228
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
26229
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
26230
_ACEOF
 
26231
sed '
 
26232
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
26233
s/^/s,@/; s/!/@,|#_!!_#|/
 
26234
:n
 
26235
t n
 
26236
s/'"$ac_delim"'$/,g/; t
 
26237
s/$/\\/; p
 
26238
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
26239
' >>$CONFIG_STATUS <conf$$subs.sed
 
26240
rm -f conf$$subs.sed
 
26241
cat >>$CONFIG_STATUS <<_ACEOF
 
26242
:end
 
26243
s/|#_!!_#|//g
 
26244
CEOF$ac_eof
 
26245
_ACEOF
 
26246
 
 
26247
 
 
26248
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
26249
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
26250
# trailing colons and then remove the whole line if VPATH becomes empty
 
26251
# (actually we leave an empty line to preserve line numbers).
 
26252
if test "x$srcdir" = x.; then
 
26253
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
26254
s/:*\$(srcdir):*/:/
 
26255
s/:*\${srcdir}:*/:/
 
26256
s/:*@srcdir@:*/:/
 
26257
s/^\([^=]*=[     ]*\):*/\1/
 
26258
s/:*$//
 
26259
s/^[^=]*=[       ]*$//
 
26260
}'
 
26261
fi
 
26262
 
 
26263
cat >>$CONFIG_STATUS <<\_ACEOF
24623
26264
fi # test -n "$CONFIG_FILES"
24624
26265
 
24625
 
_ACEOF
24626
 
cat >>$CONFIG_STATUS <<\_ACEOF
24627
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24628
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24629
 
  case $ac_file in
24630
 
  - | *:- | *:-:* ) # input from stdin
24631
 
        cat >$tmp/stdin
24632
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24633
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24634
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24635
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24636
 
  * )   ac_file_in=$ac_file.in ;;
24637
 
  esac
24638
 
 
24639
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24640
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
26266
 
 
26267
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
26268
do
 
26269
  case $ac_tag in
 
26270
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
26271
  esac
 
26272
  case $ac_mode$ac_tag in
 
26273
  :[FHL]*:*);;
 
26274
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
26275
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
26276
   { (exit 1); exit 1; }; };;
 
26277
  :[FH]-) ac_tag=-:-;;
 
26278
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
26279
  esac
 
26280
  ac_save_IFS=$IFS
 
26281
  IFS=:
 
26282
  set x $ac_tag
 
26283
  IFS=$ac_save_IFS
 
26284
  shift
 
26285
  ac_file=$1
 
26286
  shift
 
26287
 
 
26288
  case $ac_mode in
 
26289
  :L) ac_source=$1;;
 
26290
  :[FH])
 
26291
    ac_file_inputs=
 
26292
    for ac_f
 
26293
    do
 
26294
      case $ac_f in
 
26295
      -) ac_f="$tmp/stdin";;
 
26296
      *) # Look for the file first in the build tree, then in the source tree
 
26297
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
26298
         # because $ac_f cannot contain `:'.
 
26299
         test -f "$ac_f" ||
 
26300
           case $ac_f in
 
26301
           [\\/$]*) false;;
 
26302
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
26303
           esac ||
 
26304
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
26305
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
26306
   { (exit 1); exit 1; }; };;
 
26307
      esac
 
26308
      ac_file_inputs="$ac_file_inputs $ac_f"
 
26309
    done
 
26310
 
 
26311
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
26312
    # use $as_me), people would be surprised to read:
 
26313
    #    /* config.h.  Generated by config.status.  */
 
26314
    configure_input="Generated from "`IFS=:
 
26315
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
26316
    if test x"$ac_file" != x-; then
 
26317
      configure_input="$ac_file.  $configure_input"
 
26318
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
26319
echo "$as_me: creating $ac_file" >&6;}
 
26320
    fi
 
26321
 
 
26322
    case $ac_tag in
 
26323
    *:-:* | *:-) cat >"$tmp/stdin";;
 
26324
    esac
 
26325
    ;;
 
26326
  esac
 
26327
 
 
26328
  ac_dir=`$as_dirname -- "$ac_file" ||
24641
26329
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24642
26330
         X"$ac_file" : 'X\(//\)[^/]' \| \
24643
26331
         X"$ac_file" : 'X\(//\)$' \| \
24644
 
         X"$ac_file" : 'X\(/\)' \| \
24645
 
         .     : '\(.\)' 2>/dev/null ||
 
26332
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24646
26333
echo X"$ac_file" |
24647
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24648
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24649
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24650
 
          /^X\(\/\).*/{ s//\1/; q; }
24651
 
          s/.*/./; q'`
24652
 
  { if $as_mkdir_p; then
24653
 
    mkdir -p "$ac_dir"
24654
 
  else
24655
 
    as_dir="$ac_dir"
 
26334
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
26335
            s//\1/
 
26336
            q
 
26337
          }
 
26338
          /^X\(\/\/\)[^/].*/{
 
26339
            s//\1/
 
26340
            q
 
26341
          }
 
26342
          /^X\(\/\/\)$/{
 
26343
            s//\1/
 
26344
            q
 
26345
          }
 
26346
          /^X\(\/\).*/{
 
26347
            s//\1/
 
26348
            q
 
26349
          }
 
26350
          s/.*/./; q'`
 
26351
  { as_dir="$ac_dir"
 
26352
  case $as_dir in #(
 
26353
  -*) as_dir=./$as_dir;;
 
26354
  esac
 
26355
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24656
26356
    as_dirs=
24657
 
    while test ! -d "$as_dir"; do
24658
 
      as_dirs="$as_dir $as_dirs"
24659
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
26357
    while :; do
 
26358
      case $as_dir in #(
 
26359
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
26360
      *) as_qdir=$as_dir;;
 
26361
      esac
 
26362
      as_dirs="'$as_qdir' $as_dirs"
 
26363
      as_dir=`$as_dirname -- "$as_dir" ||
24660
26364
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24661
26365
         X"$as_dir" : 'X\(//\)[^/]' \| \
24662
26366
         X"$as_dir" : 'X\(//\)$' \| \
24663
 
         X"$as_dir" : 'X\(/\)' \| \
24664
 
         .     : '\(.\)' 2>/dev/null ||
 
26367
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24665
26368
echo X"$as_dir" |
24666
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24667
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24668
 
          /^X\(\/\/\)$/{ s//\1/; q; }
24669
 
          /^X\(\/\).*/{ s//\1/; q; }
24670
 
          s/.*/./; q'`
 
26369
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
26370
            s//\1/
 
26371
            q
 
26372
          }
 
26373
          /^X\(\/\/\)[^/].*/{
 
26374
            s//\1/
 
26375
            q
 
26376
          }
 
26377
          /^X\(\/\/\)$/{
 
26378
            s//\1/
 
26379
            q
 
26380
          }
 
26381
          /^X\(\/\).*/{
 
26382
            s//\1/
 
26383
            q
 
26384
          }
 
26385
          s/.*/./; q'`
 
26386
      test -d "$as_dir" && break
24671
26387
    done
24672
 
    test ! -n "$as_dirs" || mkdir $as_dirs
24673
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24674
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
26388
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
26389
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
26390
echo "$as_me: error: cannot create directory $as_dir" >&2;}
24675
26391
   { (exit 1); exit 1; }; }; }
24676
 
 
24677
26392
  ac_builddir=.
24678
26393
 
24679
 
if test "$ac_dir" != .; then
 
26394
case "$ac_dir" in
 
26395
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
26396
*)
24680
26397
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24681
 
  # A "../" for each directory in $ac_dir_suffix.
24682
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24683
 
else
24684
 
  ac_dir_suffix= ac_top_builddir=
24685
 
fi
 
26398
  # A ".." for each directory in $ac_dir_suffix.
 
26399
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
26400
  case $ac_top_builddir_sub in
 
26401
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
26402
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
26403
  esac ;;
 
26404
esac
 
26405
ac_abs_top_builddir=$ac_pwd
 
26406
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
26407
# for backward compatibility:
 
26408
ac_top_builddir=$ac_top_build_prefix
24686
26409
 
24687
26410
case $srcdir in
24688
 
  .)  # No --srcdir option.  We are building in place.
 
26411
  .)  # We are building in place.
24689
26412
    ac_srcdir=.
24690
 
    if test -z "$ac_top_builddir"; then
24691
 
       ac_top_srcdir=.
24692
 
    else
24693
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24694
 
    fi ;;
24695
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
26413
    ac_top_srcdir=$ac_top_builddir_sub
 
26414
    ac_abs_top_srcdir=$ac_pwd ;;
 
26415
  [\\/]* | ?:[\\/]* )  # Absolute name.
24696
26416
    ac_srcdir=$srcdir$ac_dir_suffix;
24697
 
    ac_top_srcdir=$srcdir ;;
24698
 
  *) # Relative path.
24699
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24700
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
24701
 
esac
24702
 
 
24703
 
# Do not use `cd foo && pwd` to compute absolute paths, because
24704
 
# the directories may not exist.
24705
 
case `pwd` in
24706
 
.) ac_abs_builddir="$ac_dir";;
24707
 
*)
24708
 
  case "$ac_dir" in
24709
 
  .) ac_abs_builddir=`pwd`;;
24710
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24711
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
24712
 
  esac;;
24713
 
esac
24714
 
case $ac_abs_builddir in
24715
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
24716
 
*)
24717
 
  case ${ac_top_builddir}. in
24718
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
24719
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24720
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24721
 
  esac;;
24722
 
esac
24723
 
case $ac_abs_builddir in
24724
 
.) ac_abs_srcdir=$ac_srcdir;;
24725
 
*)
24726
 
  case $ac_srcdir in
24727
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
24728
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24729
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24730
 
  esac;;
24731
 
esac
24732
 
case $ac_abs_builddir in
24733
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
24734
 
*)
24735
 
  case $ac_top_srcdir in
24736
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
24737
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24738
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24739
 
  esac;;
24740
 
esac
24741
 
 
 
26417
    ac_top_srcdir=$srcdir
 
26418
    ac_abs_top_srcdir=$srcdir ;;
 
26419
  *) # Relative name.
 
26420
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
26421
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
26422
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
26423
esac
 
26424
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
26425
 
 
26426
 
 
26427
  case $ac_mode in
 
26428
  :F)
 
26429
  #
 
26430
  # CONFIG_FILE
 
26431
  #
24742
26432
 
24743
26433
  case $INSTALL in
24744
26434
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24745
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24746
 
  esac
24747
 
 
24748
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
24749
 
  # use $as_me), people would be surprised to read:
24750
 
  #    /* config.h.  Generated by config.status.  */
24751
 
  if test x"$ac_file" = x-; then
24752
 
    configure_input=
24753
 
  else
24754
 
    configure_input="$ac_file.  "
24755
 
  fi
24756
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
24757
 
                                     sed 's,.*/,,'` by configure."
24758
 
 
24759
 
  # First look for the input files in the build tree, otherwise in the
24760
 
  # src tree.
24761
 
  ac_file_inputs=`IFS=:
24762
 
    for f in $ac_file_in; do
24763
 
      case $f in
24764
 
      -) echo $tmp/stdin ;;
24765
 
      [\\/$]*)
24766
 
         # Absolute (can't be DOS-style, as IFS=:)
24767
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24768
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24769
 
   { (exit 1); exit 1; }; }
24770
 
         echo "$f";;
24771
 
      *) # Relative
24772
 
         if test -f "$f"; then
24773
 
           # Build tree
24774
 
           echo "$f"
24775
 
         elif test -f "$srcdir/$f"; then
24776
 
           # Source tree
24777
 
           echo "$srcdir/$f"
24778
 
         else
24779
 
           # /dev/null tree
24780
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24781
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24782
 
   { (exit 1); exit 1; }; }
24783
 
         fi;;
24784
 
      esac
24785
 
    done` || { (exit 1); exit 1; }
24786
 
 
24787
 
  if test x"$ac_file" != x-; then
24788
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
24789
 
echo "$as_me: creating $ac_file" >&6;}
24790
 
    rm -f "$ac_file"
24791
 
  fi
24792
 
_ACEOF
 
26435
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
26436
  esac
 
26437
  ac_MKDIR_P=$MKDIR_P
 
26438
  case $MKDIR_P in
 
26439
  [\\/$]* | ?:[\\/]* ) ;;
 
26440
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
26441
  esac
 
26442
_ACEOF
 
26443
 
 
26444
cat >>$CONFIG_STATUS <<\_ACEOF
 
26445
# If the template does not know about datarootdir, expand it.
 
26446
# FIXME: This hack should be removed a few years after 2.60.
 
26447
ac_datarootdir_hack=; ac_datarootdir_seen=
 
26448
 
 
26449
case `sed -n '/datarootdir/ {
 
26450
  p
 
26451
  q
 
26452
}
 
26453
/@datadir@/p
 
26454
/@docdir@/p
 
26455
/@infodir@/p
 
26456
/@localedir@/p
 
26457
/@mandir@/p
 
26458
' $ac_file_inputs` in
 
26459
*datarootdir*) ac_datarootdir_seen=yes;;
 
26460
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
26461
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
26462
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
26463
_ACEOF
 
26464
cat >>$CONFIG_STATUS <<_ACEOF
 
26465
  ac_datarootdir_hack='
 
26466
  s&@datadir@&$datadir&g
 
26467
  s&@docdir@&$docdir&g
 
26468
  s&@infodir@&$infodir&g
 
26469
  s&@localedir@&$localedir&g
 
26470
  s&@mandir@&$mandir&g
 
26471
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
26472
esac
 
26473
_ACEOF
 
26474
 
 
26475
# Neutralize VPATH when `$srcdir' = `.'.
 
26476
# Shell code in configure.ac might set extrasub.
 
26477
# FIXME: do we really want to maintain this feature?
24793
26478
cat >>$CONFIG_STATUS <<_ACEOF
24794
26479
  sed "$ac_vpsub
24795
26480
$extrasub
24797
26482
cat >>$CONFIG_STATUS <<\_ACEOF
24798
26483
:t
24799
26484
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24800
 
s,@configure_input@,$configure_input,;t t
24801
 
s,@srcdir@,$ac_srcdir,;t t
24802
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
24803
 
s,@top_srcdir@,$ac_top_srcdir,;t t
24804
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24805
 
s,@builddir@,$ac_builddir,;t t
24806
 
s,@abs_builddir@,$ac_abs_builddir,;t t
24807
 
s,@top_builddir@,$ac_top_builddir,;t t
24808
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24809
 
s,@INSTALL@,$ac_INSTALL,;t t
24810
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24811
 
  rm -f $tmp/stdin
24812
 
  if test x"$ac_file" != x-; then
24813
 
    mv $tmp/out $ac_file
24814
 
  else
24815
 
    cat $tmp/out
24816
 
    rm -f $tmp/out
24817
 
  fi
24818
 
 
24819
 
  # Run the commands associated with the file.
 
26485
s&@configure_input@&$configure_input&;t t
 
26486
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
26487
s&@srcdir@&$ac_srcdir&;t t
 
26488
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
26489
s&@top_srcdir@&$ac_top_srcdir&;t t
 
26490
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
26491
s&@builddir@&$ac_builddir&;t t
 
26492
s&@abs_builddir@&$ac_abs_builddir&;t t
 
26493
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
26494
s&@INSTALL@&$ac_INSTALL&;t t
 
26495
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
26496
$ac_datarootdir_hack
 
26497
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
26498
 
 
26499
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
26500
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
26501
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
26502
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
26503
which seems to be undefined.  Please make sure it is defined." >&5
 
26504
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
26505
which seems to be undefined.  Please make sure it is defined." >&2;}
 
26506
 
 
26507
  rm -f "$tmp/stdin"
24820
26508
  case $ac_file in
24821
 
    gpgme/gpgme-config ) chmod +x gpgme/gpgme-config ;;
 
26509
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
26510
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24822
26511
  esac
24823
 
done
 
26512
 ;;
 
26513
  :H)
 
26514
  #
 
26515
  # CONFIG_HEADER
 
26516
  #
24824
26517
_ACEOF
24825
 
cat >>$CONFIG_STATUS <<\_ACEOF
24826
 
 
24827
 
#
24828
 
# CONFIG_HEADER section.
24829
 
#
24830
 
 
24831
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24832
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
24833
 
#
24834
 
# ac_d sets the value in "#define NAME VALUE" lines.
24835
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
24836
 
ac_dB='[         ].*$,\1#\2'
 
26518
 
 
26519
# Transform confdefs.h into a sed script `conftest.defines', that
 
26520
# substitutes the proper values into config.h.in to produce config.h.
 
26521
rm -f conftest.defines conftest.tail
 
26522
# First, append a space to every undef/define line, to ease matching.
 
26523
echo 's/$/ /' >conftest.defines
 
26524
# Then, protect against being on the right side of a sed subst, or in
 
26525
# an unquoted here document, in config.status.  If some macros were
 
26526
# called several times there might be several #defines for the same
 
26527
# symbol, which is useless.  But do not sort them, since the last
 
26528
# AC_DEFINE must be honored.
 
26529
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
26530
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
26531
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
26532
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
26533
# just an empty string.
 
26534
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
26535
ac_dB='\\)[      (].*,\\1define\\2'
24837
26536
ac_dC=' '
24838
 
ac_dD=',;t'
24839
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24840
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24841
 
ac_uB='$,\1#\2define\3'
24842
 
ac_uC=' '
24843
 
ac_uD=',;t'
24844
 
 
24845
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24846
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24847
 
  case $ac_file in
24848
 
  - | *:- | *:-:* ) # input from stdin
24849
 
        cat >$tmp/stdin
24850
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24851
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24852
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24853
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24854
 
  * )   ac_file_in=$ac_file.in ;;
24855
 
  esac
24856
 
 
24857
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24858
 
echo "$as_me: creating $ac_file" >&6;}
24859
 
 
24860
 
  # First look for the input files in the build tree, otherwise in the
24861
 
  # src tree.
24862
 
  ac_file_inputs=`IFS=:
24863
 
    for f in $ac_file_in; do
24864
 
      case $f in
24865
 
      -) echo $tmp/stdin ;;
24866
 
      [\\/$]*)
24867
 
         # Absolute (can't be DOS-style, as IFS=:)
24868
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24869
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24870
 
   { (exit 1); exit 1; }; }
24871
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
24872
 
         echo "$f";;
24873
 
      *) # Relative
24874
 
         if test -f "$f"; then
24875
 
           # Build tree
24876
 
           echo "$f"
24877
 
         elif test -f "$srcdir/$f"; then
24878
 
           # Source tree
24879
 
           echo "$srcdir/$f"
24880
 
         else
24881
 
           # /dev/null tree
24882
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24883
 
echo "$as_me: error: cannot find input file: $f" >&2;}
24884
 
   { (exit 1); exit 1; }; }
24885
 
         fi;;
24886
 
      esac
24887
 
    done` || { (exit 1); exit 1; }
24888
 
  # Remove the trailing spaces.
24889
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24890
 
 
24891
 
_ACEOF
24892
 
 
24893
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
24894
 
# `conftest.undefs', that substitutes the proper values into
24895
 
# config.h.in to produce config.h.  The first handles `#define'
24896
 
# templates, and the second `#undef' templates.
24897
 
# And first: Protect against being on the right side of a sed subst in
24898
 
# config.status.  Protect against being in an unquoted here document
24899
 
# in config.status.
24900
 
rm -f conftest.defines conftest.undefs
24901
 
# Using a here document instead of a string reduces the quoting nightmare.
24902
 
# Putting comments in sed scripts is not portable.
24903
 
#
24904
 
# `end' is used to avoid that the second main sed command (meant for
24905
 
# 0-ary CPP macros) applies to n-ary macro definitions.
24906
 
# See the Autoconf documentation for `clear'.
24907
 
cat >confdef2sed.sed <<\_ACEOF
24908
 
s/[\\&,]/\\&/g
24909
 
s,[\\$`],\\&,g
24910
 
t clear
24911
 
: clear
24912
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24913
 
t end
24914
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24915
 
: end
24916
 
_ACEOF
24917
 
# If some macros were called several times there might be several times
24918
 
# the same #defines, which is useless.  Nevertheless, we may not want to
24919
 
# sort them, since we want the *last* AC-DEFINE to be honored.
24920
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24921
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24922
 
rm -f confdef2sed.sed
24923
 
 
24924
 
# This sed command replaces #undef with comments.  This is necessary, for
 
26537
ac_dD=' ,'
 
26538
 
 
26539
uniq confdefs.h |
 
26540
  sed -n '
 
26541
        t rset
 
26542
        :rset
 
26543
        s/^[     ]*#[    ]*define[       ][      ]*//
 
26544
        t ok
 
26545
        d
 
26546
        :ok
 
26547
        s/[\\&,]/\\&/g
 
26548
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
26549
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
26550
  ' >>conftest.defines
 
26551
 
 
26552
# Remove the space that was appended to ease matching.
 
26553
# Then replace #undef with comments.  This is necessary, for
24925
26554
# example, in the case of _POSIX_SOURCE, which is predefined and required
24926
26555
# on some systems where configure will not decide to define it.
24927
 
cat >>conftest.undefs <<\_ACEOF
24928
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
26556
# (The regexp can be short, since the line contains either #define or #undef.)
 
26557
echo 's/ $//
 
26558
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
26559
 
 
26560
# Break up conftest.defines:
 
26561
ac_max_sed_lines=50
 
26562
 
 
26563
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
26564
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
26565
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
26566
# et cetera.
 
26567
ac_in='$ac_file_inputs'
 
26568
ac_out='"$tmp/out1"'
 
26569
ac_nxt='"$tmp/out2"'
 
26570
 
 
26571
while :
 
26572
do
 
26573
  # Write a here document:
 
26574
    cat >>$CONFIG_STATUS <<_ACEOF
 
26575
    # First, check the format of the line:
 
26576
    cat >"\$tmp/defines.sed" <<\\CEOF
 
26577
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
26578
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
26579
b
 
26580
:def
24929
26581
_ACEOF
24930
 
 
24931
 
# Break up conftest.defines because some shells have a limit on the size
24932
 
# of here documents, and old seds have small limits too (100 cmds).
24933
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24934
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24935
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24936
 
echo '  :' >>$CONFIG_STATUS
24937
 
rm -f conftest.tail
24938
 
while grep . conftest.defines >/dev/null
24939
 
do
24940
 
  # Write a limited-size here document to $tmp/defines.sed.
24941
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24942
 
  # Speed up: don't consider the non `#define' lines.
24943
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24944
 
  # Work around the forget-to-reset-the-flag bug.
24945
 
  echo 't clr' >>$CONFIG_STATUS
24946
 
  echo ': clr' >>$CONFIG_STATUS
24947
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
26582
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24948
26583
  echo 'CEOF
24949
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
24950
 
  rm -f $tmp/in
24951
 
  mv $tmp/out $tmp/in
24952
 
' >>$CONFIG_STATUS
24953
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
26584
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
26585
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
26586
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
26587
  grep . conftest.tail >/dev/null || break
24954
26588
  rm -f conftest.defines
24955
26589
  mv conftest.tail conftest.defines
24956
26590
done
24957
 
rm -f conftest.defines
24958
 
echo '  fi # grep' >>$CONFIG_STATUS
24959
 
echo >>$CONFIG_STATUS
24960
 
 
24961
 
# Break up conftest.undefs because some shells have a limit on the size
24962
 
# of here documents, and old seds have small limits too (100 cmds).
24963
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
24964
 
rm -f conftest.tail
24965
 
while grep . conftest.undefs >/dev/null
24966
 
do
24967
 
  # Write a limited-size here document to $tmp/undefs.sed.
24968
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24969
 
  # Speed up: don't consider the non `#undef'
24970
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24971
 
  # Work around the forget-to-reset-the-flag bug.
24972
 
  echo 't clr' >>$CONFIG_STATUS
24973
 
  echo ': clr' >>$CONFIG_STATUS
24974
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24975
 
  echo 'CEOF
24976
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24977
 
  rm -f $tmp/in
24978
 
  mv $tmp/out $tmp/in
24979
 
' >>$CONFIG_STATUS
24980
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24981
 
  rm -f conftest.undefs
24982
 
  mv conftest.tail conftest.undefs
24983
 
done
24984
 
rm -f conftest.undefs
24985
 
 
 
26591
rm -f conftest.defines conftest.tail
 
26592
 
 
26593
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24986
26594
cat >>$CONFIG_STATUS <<\_ACEOF
24987
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
24988
 
  # use $as_me), people would be surprised to read:
24989
 
  #    /* config.h.  Generated by config.status.  */
24990
 
  if test x"$ac_file" = x-; then
24991
 
    echo "/* Generated by configure.  */" >$tmp/config.h
24992
 
  else
24993
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
24994
 
  fi
24995
 
  cat $tmp/in >>$tmp/config.h
24996
 
  rm -f $tmp/in
24997
26595
  if test x"$ac_file" != x-; then
24998
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
26596
    echo "/* $configure_input  */" >"$tmp/config.h"
 
26597
    cat "$ac_result" >>"$tmp/config.h"
 
26598
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24999
26599
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25000
26600
echo "$as_me: $ac_file is unchanged" >&6;}
25001
26601
    else
25002
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25003
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25004
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
25005
 
         X"$ac_file" : 'X\(//\)$' \| \
25006
 
         X"$ac_file" : 'X\(/\)' \| \
25007
 
         .     : '\(.\)' 2>/dev/null ||
25008
 
echo X"$ac_file" |
25009
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25010
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25011
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25012
 
          /^X\(\/\).*/{ s//\1/; q; }
25013
 
          s/.*/./; q'`
25014
 
      { if $as_mkdir_p; then
25015
 
    mkdir -p "$ac_dir"
25016
 
  else
25017
 
    as_dir="$ac_dir"
25018
 
    as_dirs=
25019
 
    while test ! -d "$as_dir"; do
25020
 
      as_dirs="$as_dir $as_dirs"
25021
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
25022
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25023
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
25024
 
         X"$as_dir" : 'X\(//\)$' \| \
25025
 
         X"$as_dir" : 'X\(/\)' \| \
25026
 
         .     : '\(.\)' 2>/dev/null ||
25027
 
echo X"$as_dir" |
25028
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25029
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25030
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25031
 
          /^X\(\/\).*/{ s//\1/; q; }
25032
 
          s/.*/./; q'`
25033
 
    done
25034
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25035
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25036
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25037
 
   { (exit 1); exit 1; }; }; }
25038
 
 
25039
26602
      rm -f $ac_file
25040
 
      mv $tmp/config.h $ac_file
 
26603
      mv "$tmp/config.h" $ac_file
25041
26604
    fi
25042
26605
  else
25043
 
    cat $tmp/config.h
25044
 
    rm -f $tmp/config.h
 
26606
    echo "/* $configure_input  */"
 
26607
    cat "$ac_result"
25045
26608
  fi
 
26609
  rm -f "$tmp/out12"
25046
26610
# Compute $ac_file's index in $config_headers.
25047
26611
_am_stamp_count=1
25048
26612
for _am_header in $config_headers :; do
25053
26617
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25054
26618
  esac
25055
26619
done
25056
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
26620
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25057
26621
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25058
26622
         X$ac_file : 'X\(//\)[^/]' \| \
25059
26623
         X$ac_file : 'X\(//\)$' \| \
25060
 
         X$ac_file : 'X\(/\)' \| \
25061
 
         .     : '\(.\)' 2>/dev/null ||
 
26624
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25062
26625
echo X$ac_file |
25063
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25064
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25065
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25066
 
          /^X\(\/\).*/{ s//\1/; q; }
25067
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
25068
 
done
25069
 
_ACEOF
25070
 
cat >>$CONFIG_STATUS <<\_ACEOF
25071
 
 
25072
 
#
25073
 
# CONFIG_COMMANDS section.
25074
 
#
25075
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25076
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25077
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25078
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25079
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25080
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
25081
 
         X"$ac_dest" : 'X\(//\)$' \| \
25082
 
         X"$ac_dest" : 'X\(/\)' \| \
25083
 
         .     : '\(.\)' 2>/dev/null ||
25084
 
echo X"$ac_dest" |
25085
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25086
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25087
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25088
 
          /^X\(\/\).*/{ s//\1/; q; }
25089
 
          s/.*/./; q'`
25090
 
  { if $as_mkdir_p; then
25091
 
    mkdir -p "$ac_dir"
25092
 
  else
25093
 
    as_dir="$ac_dir"
25094
 
    as_dirs=
25095
 
    while test ! -d "$as_dir"; do
25096
 
      as_dirs="$as_dir $as_dirs"
25097
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
25098
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25099
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
25100
 
         X"$as_dir" : 'X\(//\)$' \| \
25101
 
         X"$as_dir" : 'X\(/\)' \| \
25102
 
         .     : '\(.\)' 2>/dev/null ||
25103
 
echo X"$as_dir" |
25104
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25105
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25106
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25107
 
          /^X\(\/\).*/{ s//\1/; q; }
25108
 
          s/.*/./; q'`
25109
 
    done
25110
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25111
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25112
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25113
 
   { (exit 1); exit 1; }; }; }
25114
 
 
25115
 
  ac_builddir=.
25116
 
 
25117
 
if test "$ac_dir" != .; then
25118
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25119
 
  # A "../" for each directory in $ac_dir_suffix.
25120
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25121
 
else
25122
 
  ac_dir_suffix= ac_top_builddir=
25123
 
fi
25124
 
 
25125
 
case $srcdir in
25126
 
  .)  # No --srcdir option.  We are building in place.
25127
 
    ac_srcdir=.
25128
 
    if test -z "$ac_top_builddir"; then
25129
 
       ac_top_srcdir=.
25130
 
    else
25131
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25132
 
    fi ;;
25133
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
25134
 
    ac_srcdir=$srcdir$ac_dir_suffix;
25135
 
    ac_top_srcdir=$srcdir ;;
25136
 
  *) # Relative path.
25137
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25138
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
25139
 
esac
25140
 
 
25141
 
# Do not use `cd foo && pwd` to compute absolute paths, because
25142
 
# the directories may not exist.
25143
 
case `pwd` in
25144
 
.) ac_abs_builddir="$ac_dir";;
25145
 
*)
25146
 
  case "$ac_dir" in
25147
 
  .) ac_abs_builddir=`pwd`;;
25148
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25149
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
25150
 
  esac;;
25151
 
esac
25152
 
case $ac_abs_builddir in
25153
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
25154
 
*)
25155
 
  case ${ac_top_builddir}. in
25156
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
25157
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25158
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25159
 
  esac;;
25160
 
esac
25161
 
case $ac_abs_builddir in
25162
 
.) ac_abs_srcdir=$ac_srcdir;;
25163
 
*)
25164
 
  case $ac_srcdir in
25165
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
25166
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25167
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25168
 
  esac;;
25169
 
esac
25170
 
case $ac_abs_builddir in
25171
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
25172
 
*)
25173
 
  case $ac_top_srcdir in
25174
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
25175
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25176
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25177
 
  esac;;
25178
 
esac
25179
 
 
25180
 
 
25181
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25182
 
echo "$as_me: executing $ac_dest commands" >&6;}
25183
 
  case $ac_dest in
25184
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
26626
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
26627
            s//\1/
 
26628
            q
 
26629
          }
 
26630
          /^X\(\/\/\)[^/].*/{
 
26631
            s//\1/
 
26632
            q
 
26633
          }
 
26634
          /^X\(\/\/\)$/{
 
26635
            s//\1/
 
26636
            q
 
26637
          }
 
26638
          /^X\(\/\).*/{
 
26639
            s//\1/
 
26640
            q
 
26641
          }
 
26642
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
26643
 ;;
 
26644
 
 
26645
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
26646
echo "$as_me: executing $ac_file commands" >&6;}
 
26647
 ;;
 
26648
  esac
 
26649
 
 
26650
 
 
26651
  case $ac_file$ac_mode in
 
26652
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25185
26653
  # Strip MF so we end up with the name of the file.
25186
26654
  mf=`echo "$mf" | sed -e 's/:.*$//'`
25187
26655
  # Check whether this is an Automake generated Makefile or not.
25189
26657
  # some people rename them; so instead we look at the file content.
25190
26658
  # Grep'ing the first line is not enough: some people post-process
25191
26659
  # each Makefile.in and add a new line on top of each file to say so.
25192
 
  # So let's grep whole file.
25193
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25194
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
26660
  # Grep'ing the whole file is not good either: AIX grep has a line
 
26661
  # limit of 2048, but all sed's we know have understand at least 4000.
 
26662
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
26663
    dirpart=`$as_dirname -- "$mf" ||
25195
26664
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25196
26665
         X"$mf" : 'X\(//\)[^/]' \| \
25197
26666
         X"$mf" : 'X\(//\)$' \| \
25198
 
         X"$mf" : 'X\(/\)' \| \
25199
 
         .     : '\(.\)' 2>/dev/null ||
 
26667
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25200
26668
echo X"$mf" |
25201
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25202
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25203
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25204
 
          /^X\(\/\).*/{ s//\1/; q; }
25205
 
          s/.*/./; q'`
 
26669
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
26670
            s//\1/
 
26671
            q
 
26672
          }
 
26673
          /^X\(\/\/\)[^/].*/{
 
26674
            s//\1/
 
26675
            q
 
26676
          }
 
26677
          /^X\(\/\/\)$/{
 
26678
            s//\1/
 
26679
            q
 
26680
          }
 
26681
          /^X\(\/\).*/{
 
26682
            s//\1/
 
26683
            q
 
26684
          }
 
26685
          s/.*/./; q'`
25206
26686
  else
25207
26687
    continue
25208
26688
  fi
25224
26704
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25225
26705
    # Make sure the directory exists.
25226
26706
    test -f "$dirpart/$file" && continue
25227
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
26707
    fdir=`$as_dirname -- "$file" ||
25228
26708
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25229
26709
         X"$file" : 'X\(//\)[^/]' \| \
25230
26710
         X"$file" : 'X\(//\)$' \| \
25231
 
         X"$file" : 'X\(/\)' \| \
25232
 
         .     : '\(.\)' 2>/dev/null ||
 
26711
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25233
26712
echo X"$file" |
25234
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25235
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25236
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25237
 
          /^X\(\/\).*/{ s//\1/; q; }
25238
 
          s/.*/./; q'`
25239
 
    { if $as_mkdir_p; then
25240
 
    mkdir -p $dirpart/$fdir
25241
 
  else
25242
 
    as_dir=$dirpart/$fdir
 
26713
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
26714
            s//\1/
 
26715
            q
 
26716
          }
 
26717
          /^X\(\/\/\)[^/].*/{
 
26718
            s//\1/
 
26719
            q
 
26720
          }
 
26721
          /^X\(\/\/\)$/{
 
26722
            s//\1/
 
26723
            q
 
26724
          }
 
26725
          /^X\(\/\).*/{
 
26726
            s//\1/
 
26727
            q
 
26728
          }
 
26729
          s/.*/./; q'`
 
26730
    { as_dir=$dirpart/$fdir
 
26731
  case $as_dir in #(
 
26732
  -*) as_dir=./$as_dir;;
 
26733
  esac
 
26734
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25243
26735
    as_dirs=
25244
 
    while test ! -d "$as_dir"; do
25245
 
      as_dirs="$as_dir $as_dirs"
25246
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
26736
    while :; do
 
26737
      case $as_dir in #(
 
26738
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
26739
      *) as_qdir=$as_dir;;
 
26740
      esac
 
26741
      as_dirs="'$as_qdir' $as_dirs"
 
26742
      as_dir=`$as_dirname -- "$as_dir" ||
25247
26743
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25248
26744
         X"$as_dir" : 'X\(//\)[^/]' \| \
25249
26745
         X"$as_dir" : 'X\(//\)$' \| \
25250
 
         X"$as_dir" : 'X\(/\)' \| \
25251
 
         .     : '\(.\)' 2>/dev/null ||
 
26746
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25252
26747
echo X"$as_dir" |
25253
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25254
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25255
 
          /^X\(\/\/\)$/{ s//\1/; q; }
25256
 
          /^X\(\/\).*/{ s//\1/; q; }
25257
 
          s/.*/./; q'`
 
26748
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
26749
            s//\1/
 
26750
            q
 
26751
          }
 
26752
          /^X\(\/\/\)[^/].*/{
 
26753
            s//\1/
 
26754
            q
 
26755
          }
 
26756
          /^X\(\/\/\)$/{
 
26757
            s//\1/
 
26758
            q
 
26759
          }
 
26760
          /^X\(\/\).*/{
 
26761
            s//\1/
 
26762
            q
 
26763
          }
 
26764
          s/.*/./; q'`
 
26765
      test -d "$as_dir" && break
25258
26766
    done
25259
 
    test ! -n "$as_dirs" || mkdir $as_dirs
25260
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25261
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
26767
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
26768
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
26769
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25262
26770
   { (exit 1); exit 1; }; }; }
25263
 
 
25264
26771
    # echo "creating $dirpart/$file"
25265
26772
    echo '# dummy' > "$dirpart/$file"
25266
26773
  done
25267
26774
done
25268
26775
 ;;
 
26776
    "gpgme/gpgme-config":F) chmod +x gpgme/gpgme-config ;;
 
26777
 
25269
26778
  esac
25270
 
done
25271
 
_ACEOF
 
26779
done # for ac_tag
25272
26780
 
25273
 
cat >>$CONFIG_STATUS <<\_ACEOF
25274
26781
 
25275
26782
{ (exit 0); exit 0; }
25276
26783
_ACEOF