~ubuntu-branches/ubuntu/hardy/pidgin-otr/hardy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thibaut VARENE
  • Date: 2007-08-20 21:49:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070820214914-x2a69xcnr215uo0u
Tags: 3.1.0-1
* New upstream release (closes: #435055, #435836)
* Build depend on newer libotr (closes: #430349)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
 
3
# Generated by GNU Autoconf 2.59 for pidgin-otr 3.1.0.
4
4
#
5
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
10
9
## M4sh Initialization.  ##
11
10
## --------------------- ##
12
11
 
13
 
# Be more Bourne compatible
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17
  # is contrary to our usage.  Disable this feature.
 
18
  alias -g '${1+"$@"}'='"$@"'
 
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
20
  set -o posix
 
21
fi
14
22
DUALCASE=1; export DUALCASE # for MKS sh
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
 
  setopt NO_GLOB_SUBST
22
 
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
25
 
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
 
# The user is always right.
41
 
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
23
 
53
24
# Support unset when possible.
54
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58
29
fi
59
30
 
60
31
 
61
 
# IFS
62
 
# We need space, tab and new line, in precisely that order.  Quoting is
63
 
# there to prevent editors from complaining about space-tab.
64
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
 
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
 
IFS=" ""        $as_nl"
69
 
 
70
 
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
72
 
  *[\\/]* ) as_myself=$0 ;;
73
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
 
for as_dir in $PATH
75
 
do
76
 
  IFS=$as_save_IFS
77
 
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
80
 
IFS=$as_save_IFS
81
 
 
82
 
     ;;
83
 
esac
84
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
 
# in which case we are not to be found in the path.
86
 
if test "x$as_myself" = x; then
87
 
  as_myself=$0
88
 
fi
89
 
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
92
 
fi
93
 
 
94
32
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
 
done
 
33
$as_unset ENV MAIL MAILPATH
98
34
PS1='$ '
99
35
PS2='> '
100
36
PS4='+ '
108
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
45
    eval $as_var=C; export $as_var
110
46
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
47
    $as_unset $as_var
112
48
  fi
113
49
done
114
50
 
115
51
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
118
53
  as_expr=expr
119
54
else
120
55
  as_expr=false
121
56
fi
122
57
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
124
59
  as_basename=basename
125
60
else
126
61
  as_basename=false
128
63
 
129
64
 
130
65
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
 
66
as_me=`$as_basename "$0" ||
132
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
68
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
69
         X"$0" : 'X\(/\)$' \| \
 
70
         .     : '\(.\)' 2>/dev/null ||
135
71
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
149
 
 
150
 
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
153
 
 
154
 
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
156
 
  as_have_required=yes
157
 
else
158
 
  as_have_required=no
159
 
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
 
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
74
          /^X\/\(\/\).*/{ s//\1/; q; }
 
75
          s/.*/./; q'`
 
76
 
 
77
 
 
78
# PATH needs CR, and LINENO needs CR and PATH.
 
79
# Avoid depending upon Character Ranges.
 
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
83
as_cr_digits='0123456789'
 
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
85
 
 
86
# The user is always right.
 
87
if test "${PATH_SEPARATOR+set}" != set; then
 
88
  echo "#! /bin/sh" >conf$$.sh
 
89
  echo  "exit 0"   >>conf$$.sh
 
90
  chmod +x conf$$.sh
 
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
92
    PATH_SEPARATOR=';'
 
93
  else
 
94
    PATH_SEPARATOR=:
 
95
  fi
 
96
  rm -f conf$$.sh
 
97
fi
 
98
 
 
99
 
 
100
  as_lineno_1=$LINENO
 
101
  as_lineno_2=$LINENO
 
102
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
103
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
104
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
105
  # Find who we are.  Look in the path if we contain no path at all
 
106
  # relative or not.
 
107
  case $0 in
 
108
    *[\\/]* ) as_myself=$0 ;;
 
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
110
for as_dir in $PATH
 
111
do
 
112
  IFS=$as_save_IFS
 
113
  test -z "$as_dir" && as_dir=.
 
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
115
done
 
116
 
 
117
       ;;
 
118
  esac
 
119
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
120
  # in which case we are not to be found in the path.
 
121
  if test "x$as_myself" = x; then
 
122
    as_myself=$0
 
123
  fi
 
124
  if test ! -f "$as_myself"; then
 
125
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
126
   { (exit 1); exit 1; }; }
 
127
  fi
 
128
  case $CONFIG_SHELL in
 
129
  '')
221
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
132
do
224
133
  IFS=$as_save_IFS
225
134
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
227
137
         /*)
228
 
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
 
           done;;
231
 
       esac
 
138
           if ("$as_dir/$as_base" -c '
 
139
  as_lineno_1=$LINENO
 
140
  as_lineno_2=$LINENO
 
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
144
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
145
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
146
             CONFIG_SHELL=$as_dir/$as_base
 
147
             export CONFIG_SHELL
 
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
149
           fi;;
 
150
         esac
 
151
       done
232
152
done
233
 
IFS=$as_save_IFS
234
 
 
235
 
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
153
;;
 
154
  esac
427
155
 
428
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
 
158
  # line-number line before each line; the second 'sed' does the real
 
159
  # work.  The second script uses 'N' to pair each line-number line
 
160
  # with the numbered line, and appends trailing '-' during
 
161
  # substitution so that $LINENO is not a special case at line end.
435
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
 
  sed -n '
439
 
    p
440
 
    /[$]LINENO/=
441
 
  ' <$as_myself |
 
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
164
  sed '=' <$as_myself |
442
165
    sed '
443
 
      s/[$]LINENO.*/&-/
444
 
      t lineno
445
 
      b
446
 
      :lineno
447
166
      N
448
 
      :loop
449
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
450
170
      t loop
451
 
      s/-\n.*//
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
452
173
    ' >$as_me.lineno &&
453
 
  chmod +x "$as_me.lineno" ||
 
174
  chmod +x $as_me.lineno ||
454
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
176
   { (exit 1); exit 1; }; }
456
177
 
457
178
  # Don't try to exec as it changes $[0], causing all sort of problems
458
179
  # (the dirname of $[0] is not the place where we might find the
459
 
  # original and so on.  Autoconf is especially sensitive to this).
460
 
  . "./$as_me.lineno"
 
180
  # original and so on.  Autoconf is especially sensible to this).
 
181
  . ./$as_me.lineno
461
182
  # Exit status is that of the last command.
462
183
  exit
463
184
}
464
185
 
465
186
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
 
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
474
 
-n*)
475
 
  case `echo 'x\c'` in
476
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
478
 
  esac;;
479
 
*)
480
 
  ECHO_N='-n';;
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
188
  *c*,-n*) ECHO_N= ECHO_C='
 
189
' ECHO_T='      ' ;;
 
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
481
192
esac
482
193
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
485
195
  as_expr=expr
486
196
else
487
197
  as_expr=false
488
198
fi
489
199
 
490
200
rm -f conf$$ conf$$.exe conf$$.file
491
 
if test -d conf$$.dir; then
492
 
  rm -f conf$$.dir/conf$$.file
493
 
else
494
 
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
496
 
fi
497
201
echo >conf$$.file
498
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
203
  # We could just check for DJGPP; but this test a) works b) is more generic
 
204
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
205
  if test -f conf$$.exe; then
 
206
    # Don't use ln at all; we don't have any links
505
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
506
211
elif ln conf$$.file conf$$ 2>/dev/null; then
507
212
  as_ln_s=ln
508
213
else
509
214
  as_ln_s='cp -p'
510
215
fi
511
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
rmdir conf$$.dir 2>/dev/null
 
216
rm -f conf$$ conf$$.exe conf$$.file
513
217
 
514
218
if mkdir -p . 2>/dev/null; then
515
219
  as_mkdir_p=:
518
222
  as_mkdir_p=false
519
223
fi
520
224
 
521
 
if test -x / >/dev/null 2>&1; then
522
 
  as_test_x='test -x'
523
 
else
524
 
  if ls -dL / >/dev/null 2>&1; then
525
 
    as_ls_L_option=L
526
 
  else
527
 
    as_ls_L_option=
528
 
  fi
529
 
  as_test_x='
530
 
    eval sh -c '\''
531
 
      if test -d "$1"; then
532
 
        test -d "$1/.";
533
 
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
536
 
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
 
        ???[sx]*):;;*)false;;esac;fi
539
 
    '\'' sh
540
 
  '
541
 
fi
542
 
as_executable_p=$as_test_x
 
225
as_executable_p="test -f"
543
226
 
544
227
# Sed expression to map a string onto a valid CPP name.
545
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
232
 
550
233
 
 
234
# IFS
 
235
# We need space, tab and new line, in precisely that order.
 
236
as_nl='
 
237
'
 
238
IFS="   $as_nl"
 
239
 
 
240
# CDPATH.
 
241
$as_unset CDPATH
 
242
 
551
243
 
552
244
 
553
245
# Check that we are running under the correct shell.
703
395
 
704
396
tagnames=${tagnames+${tagnames},}F77
705
397
 
706
 
exec 7<&0 </dev/null 6>&1
707
 
 
708
398
# Name of the host.
709
399
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
400
# so uname gets run too.
711
401
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
712
402
 
 
403
exec 6>&1
 
404
 
713
405
#
714
406
# Initializations.
715
407
#
716
408
ac_default_prefix=/usr/local
717
 
ac_clean_files=
718
409
ac_config_libobj_dir=.
719
 
LIBOBJS=
720
410
cross_compiling=no
721
411
subdirs=
722
412
MFLAGS=
723
413
MAKEFLAGS=
724
414
SHELL=${CONFIG_SHELL-/bin/sh}
725
415
 
 
416
# Maximum number of lines to put in a shell here document.
 
417
# This variable seems obsolete.  It should probably be removed, and
 
418
# only ac_max_sed_lines should be used.
 
419
: ${ac_max_here_lines=38}
 
420
 
726
421
# Identity of this package.
727
 
PACKAGE_NAME=
728
 
PACKAGE_TARNAME=
729
 
PACKAGE_VERSION=
730
 
PACKAGE_STRING=
731
 
PACKAGE_BUGREPORT=
 
422
PACKAGE_NAME='pidgin-otr'
 
423
PACKAGE_TARNAME='pidgin-otr'
 
424
PACKAGE_VERSION='3.1.0'
 
425
PACKAGE_STRING='pidgin-otr 3.1.0'
 
426
PACKAGE_BUGREPORT=''
732
427
 
733
 
ac_unique_file="otr-plugin.c"
734
428
# Factoring default headers for most tests.
735
429
ac_includes_default="\
736
430
#include <stdio.h>
737
 
#ifdef HAVE_SYS_TYPES_H
 
431
#if HAVE_SYS_TYPES_H
738
432
# include <sys/types.h>
739
433
#endif
740
 
#ifdef HAVE_SYS_STAT_H
 
434
#if HAVE_SYS_STAT_H
741
435
# include <sys/stat.h>
742
436
#endif
743
 
#ifdef STDC_HEADERS
 
437
#if STDC_HEADERS
744
438
# include <stdlib.h>
745
439
# include <stddef.h>
746
440
#else
747
 
# ifdef HAVE_STDLIB_H
 
441
# if HAVE_STDLIB_H
748
442
#  include <stdlib.h>
749
443
# endif
750
444
#endif
751
 
#ifdef HAVE_STRING_H
752
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
445
#if HAVE_STRING_H
 
446
# if !STDC_HEADERS && HAVE_MEMORY_H
753
447
#  include <memory.h>
754
448
# endif
755
449
# include <string.h>
756
450
#endif
757
 
#ifdef HAVE_STRINGS_H
 
451
#if HAVE_STRINGS_H
758
452
# include <strings.h>
759
453
#endif
760
 
#ifdef HAVE_INTTYPES_H
 
454
#if HAVE_INTTYPES_H
761
455
# include <inttypes.h>
762
 
#endif
763
 
#ifdef HAVE_STDINT_H
764
 
# include <stdint.h>
765
 
#endif
766
 
#ifdef HAVE_UNISTD_H
 
456
#else
 
457
# if HAVE_STDINT_H
 
458
#  include <stdint.h>
 
459
# endif
 
460
#endif
 
461
#if HAVE_UNISTD_H
767
462
# include <unistd.h>
768
463
#endif"
769
464
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
INSTALL_PROGRAM
808
 
INSTALL_SCRIPT
809
 
INSTALL_DATA
810
 
am__isrc
811
 
CYGPATH_W
812
 
PACKAGE
813
 
VERSION
814
 
ACLOCAL
815
 
AUTOCONF
816
 
AUTOMAKE
817
 
AUTOHEADER
818
 
MAKEINFO
819
 
install_sh
820
 
STRIP
821
 
INSTALL_STRIP_PROGRAM
822
 
mkdir_p
823
 
AWK
824
 
SET_MAKE
825
 
am__leading_dot
826
 
AMTAR
827
 
am__tar
828
 
am__untar
829
 
CC
830
 
CFLAGS
831
 
LDFLAGS
832
 
CPPFLAGS
833
 
ac_ct_CC
834
 
EXEEXT
835
 
OBJEXT
836
 
DEPDIR
837
 
am__include
838
 
am__quote
839
 
AMDEP_TRUE
840
 
AMDEP_FALSE
841
 
AMDEPBACKSLASH
842
 
CCDEPMODE
843
 
am__fastdepCC_TRUE
844
 
am__fastdepCC_FALSE
845
 
build
846
 
build_cpu
847
 
build_vendor
848
 
build_os
849
 
host
850
 
host_cpu
851
 
host_vendor
852
 
host_os
853
 
GREP
854
 
EGREP
855
 
LN_S
856
 
ECHO
857
 
AR
858
 
RANLIB
859
 
CPP
860
 
CXX
861
 
CXXFLAGS
862
 
ac_ct_CXX
863
 
CXXDEPMODE
864
 
am__fastdepCXX_TRUE
865
 
am__fastdepCXX_FALSE
866
 
CXXCPP
867
 
F77
868
 
FFLAGS
869
 
ac_ct_F77
870
 
LIBTOOL
871
 
LIBGCRYPT_CONFIG
872
 
LIBGCRYPT_CFLAGS
873
 
LIBGCRYPT_LIBS
874
 
LIBOTR_CFLAGS
875
 
LIBOTR_LIBS
876
 
PKG_CONFIG
877
 
EXTRA_CFLAGS
878
 
EXTRA_LIBS
879
 
LIBOBJS
880
 
LTLIBOBJS'
 
465
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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBGCRYPT_CONFIG LIBGCRYPT_CFLAGS LIBGCRYPT_LIBS LIBOTR_CFLAGS LIBOTR_LIBS PKG_CONFIG ac_pt_PKG_CONFIG EXTRA_CFLAGS EXTRA_LIBS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'
881
466
ac_subst_files=''
882
 
      ac_precious_vars='build_alias
883
 
host_alias
884
 
target_alias
885
 
CC
886
 
CFLAGS
887
 
LDFLAGS
888
 
LIBS
889
 
CPPFLAGS
890
 
CPP
891
 
CXX
892
 
CXXFLAGS
893
 
CCC
894
 
CXXCPP
895
 
F77
896
 
FFLAGS
897
 
PKG_CONFIG
898
 
EXTRA_CFLAGS
899
 
EXTRA_LIBS'
900
 
 
901
467
 
902
468
# Initialize some variables set by options.
903
469
ac_init_help=
924
490
# and all the variables that are supposed to be based on exec_prefix
925
491
# by default will actually change.
926
492
# Use braces instead of parens because sh, perl, etc. also accept them.
927
 
# (The list follows the same order as the GNU Coding Standards.)
928
493
bindir='${exec_prefix}/bin'
929
494
sbindir='${exec_prefix}/sbin'
930
495
libexecdir='${exec_prefix}/libexec'
931
 
datarootdir='${prefix}/share'
932
 
datadir='${datarootdir}'
 
496
datadir='${prefix}/share'
933
497
sysconfdir='${prefix}/etc'
934
498
sharedstatedir='${prefix}/com'
935
499
localstatedir='${prefix}/var'
 
500
libdir='${exec_prefix}/lib'
936
501
includedir='${prefix}/include'
937
502
oldincludedir='/usr/include'
938
 
docdir='${datarootdir}/doc/${PACKAGE}'
939
 
infodir='${datarootdir}/info'
940
 
htmldir='${docdir}'
941
 
dvidir='${docdir}'
942
 
pdfdir='${docdir}'
943
 
psdir='${docdir}'
944
 
libdir='${exec_prefix}/lib'
945
 
localedir='${datarootdir}/locale'
946
 
mandir='${datarootdir}/man'
 
503
infodir='${prefix}/info'
 
504
mandir='${prefix}/man'
947
505
 
948
506
ac_prev=
949
 
ac_dashdash=
950
507
for ac_option
951
508
do
952
509
  # If the previous option needs an argument, assign it.
953
510
  if test -n "$ac_prev"; then
954
 
    eval $ac_prev=\$ac_option
 
511
    eval "$ac_prev=\$ac_option"
955
512
    ac_prev=
956
513
    continue
957
514
  fi
958
515
 
959
 
  case $ac_option in
960
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
961
 
  *)    ac_optarg=yes ;;
962
 
  esac
 
516
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
963
517
 
964
518
  # Accept the important Cygnus configure options, so we can diagnose typos.
965
519
 
966
 
  case $ac_dashdash$ac_option in
967
 
  --)
968
 
    ac_dashdash=yes ;;
 
520
  case $ac_option in
969
521
 
970
522
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
971
523
    ac_prev=bindir ;;
987
539
  --config-cache | -C)
988
540
    cache_file=config.cache ;;
989
541
 
990
 
  -datadir | --datadir | --datadi | --datad)
 
542
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
991
543
    ac_prev=datadir ;;
992
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
544
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 
545
  | --da=*)
993
546
    datadir=$ac_optarg ;;
994
547
 
995
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996
 
  | --dataroo | --dataro | --datar)
997
 
    ac_prev=datarootdir ;;
998
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000
 
    datarootdir=$ac_optarg ;;
1001
 
 
1002
548
  -disable-* | --disable-*)
1003
549
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004
550
    # Reject names that are not valid shell variable names.
1005
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
551
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1006
552
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1007
553
   { (exit 1); exit 1; }; }
1008
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1009
 
    eval enable_$ac_feature=no ;;
1010
 
 
1011
 
  -docdir | --docdir | --docdi | --doc | --do)
1012
 
    ac_prev=docdir ;;
1013
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1014
 
    docdir=$ac_optarg ;;
1015
 
 
1016
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1017
 
    ac_prev=dvidir ;;
1018
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1019
 
    dvidir=$ac_optarg ;;
 
554
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
555
    eval "enable_$ac_feature=no" ;;
1020
556
 
1021
557
  -enable-* | --enable-*)
1022
558
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023
559
    # Reject names that are not valid shell variable names.
1024
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
560
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1025
561
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1026
562
   { (exit 1); exit 1; }; }
1027
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1028
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
563
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
564
    case $ac_option in
 
565
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
566
      *) ac_optarg=yes ;;
 
567
    esac
 
568
    eval "enable_$ac_feature='$ac_optarg'" ;;
1029
569
 
1030
570
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031
571
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052
592
  -host=* | --host=* | --hos=* | --ho=*)
1053
593
    host_alias=$ac_optarg ;;
1054
594
 
1055
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056
 
    ac_prev=htmldir ;;
1057
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058
 
  | --ht=*)
1059
 
    htmldir=$ac_optarg ;;
1060
 
 
1061
595
  -includedir | --includedir | --includedi | --included | --include \
1062
596
  | --includ | --inclu | --incl | --inc)
1063
597
    ac_prev=includedir ;;
1082
616
  | --libexe=* | --libex=* | --libe=*)
1083
617
    libexecdir=$ac_optarg ;;
1084
618
 
1085
 
  -localedir | --localedir | --localedi | --localed | --locale)
1086
 
    ac_prev=localedir ;;
1087
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088
 
    localedir=$ac_optarg ;;
1089
 
 
1090
619
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1091
 
  | --localstate | --localstat | --localsta | --localst | --locals)
 
620
  | --localstate | --localstat | --localsta | --localst \
 
621
  | --locals | --local | --loca | --loc | --lo)
1092
622
    ac_prev=localstatedir ;;
1093
623
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
624
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 
625
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1095
626
    localstatedir=$ac_optarg ;;
1096
627
 
1097
628
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1156
687
  | --progr-tra=* | --program-tr=* | --program-t=*)
1157
688
    program_transform_name=$ac_optarg ;;
1158
689
 
1159
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160
 
    ac_prev=pdfdir ;;
1161
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162
 
    pdfdir=$ac_optarg ;;
1163
 
 
1164
 
  -psdir | --psdir | --psdi | --psd | --ps)
1165
 
    ac_prev=psdir ;;
1166
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1167
 
    psdir=$ac_optarg ;;
1168
 
 
1169
690
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170
691
  | -silent | --silent | --silen | --sile | --sil)
1171
692
    silent=yes ;;
1218
739
  -with-* | --with-*)
1219
740
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220
741
    # Reject names that are not valid shell variable names.
1221
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
742
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1222
743
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1223
744
   { (exit 1); exit 1; }; }
1224
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1225
 
    eval with_$ac_package=\$ac_optarg ;;
 
745
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
746
    case $ac_option in
 
747
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
 
748
      *) ac_optarg=yes ;;
 
749
    esac
 
750
    eval "with_$ac_package='$ac_optarg'" ;;
1226
751
 
1227
752
  -without-* | --without-*)
1228
753
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229
754
    # Reject names that are not valid shell variable names.
1230
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
755
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1231
756
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1232
757
   { (exit 1); exit 1; }; }
1233
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1234
 
    eval with_$ac_package=no ;;
 
758
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
759
    eval "with_$ac_package=no" ;;
1235
760
 
1236
761
  --x)
1237
762
    # Obsolete; use --with-x.
1262
787
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1263
788
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1264
789
   { (exit 1); exit 1; }; }
1265
 
    eval $ac_envvar=\$ac_optarg
 
790
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
791
    eval "$ac_envvar='$ac_optarg'"
1266
792
    export $ac_envvar ;;
1267
793
 
1268
794
  *)
1282
808
   { (exit 1); exit 1; }; }
1283
809
fi
1284
810
 
1285
 
# Be sure to have absolute directory names.
1286
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1288
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289
 
                libdir localedir mandir
1290
 
do
1291
 
  eval ac_val=\$$ac_var
1292
 
  case $ac_val in
1293
 
    [\\/$]* | ?:[\\/]* )  continue;;
1294
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295
 
  esac
1296
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1297
 
   { (exit 1); exit 1; }; }
 
811
# Be sure to have absolute paths.
 
812
for ac_var in exec_prefix prefix
 
813
do
 
814
  eval ac_val=$`echo $ac_var`
 
815
  case $ac_val in
 
816
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
817
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
818
   { (exit 1); exit 1; }; };;
 
819
  esac
 
820
done
 
821
 
 
822
# Be sure to have absolute paths.
 
823
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
824
              localstatedir libdir includedir oldincludedir infodir mandir
 
825
do
 
826
  eval ac_val=$`echo $ac_var`
 
827
  case $ac_val in
 
828
    [\\/$]* | ?:[\\/]* ) ;;
 
829
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
830
   { (exit 1); exit 1; }; };;
 
831
  esac
1298
832
done
1299
833
 
1300
834
# There might be people who depend on the old broken behavior: `$host'
1321
855
test "$silent" = yes && exec 6>/dev/null
1322
856
 
1323
857
 
1324
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1325
 
ac_ls_di=`ls -di .` &&
1326
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1327
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1328
 
   { (exit 1); exit 1; }; }
1329
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1331
 
   { (exit 1); exit 1; }; }
1332
 
 
1333
 
 
1334
858
# Find the source files, if location was not specified.
1335
859
if test -z "$srcdir"; then
1336
860
  ac_srcdir_defaulted=yes
1337
 
  # Try the directory containing this script, then the parent directory.
1338
 
  ac_confdir=`$as_dirname -- "$0" ||
 
861
  # Try the directory containing this script, then its parent.
 
862
  ac_confdir=`(dirname "$0") 2>/dev/null ||
1339
863
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340
864
         X"$0" : 'X\(//\)[^/]' \| \
1341
865
         X"$0" : 'X\(//\)$' \| \
1342
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
866
         X"$0" : 'X\(/\)' \| \
 
867
         .     : '\(.\)' 2>/dev/null ||
1343
868
echo X"$0" |
1344
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345
 
            s//\1/
1346
 
            q
1347
 
          }
1348
 
          /^X\(\/\/\)[^/].*/{
1349
 
            s//\1/
1350
 
            q
1351
 
          }
1352
 
          /^X\(\/\/\)$/{
1353
 
            s//\1/
1354
 
            q
1355
 
          }
1356
 
          /^X\(\/\).*/{
1357
 
            s//\1/
1358
 
            q
1359
 
          }
1360
 
          s/.*/./; q'`
 
869
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
870
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
871
          /^X\(\/\/\)$/{ s//\1/; q; }
 
872
          /^X\(\/\).*/{ s//\1/; q; }
 
873
          s/.*/./; q'`
1361
874
  srcdir=$ac_confdir
1362
 
  if test ! -r "$srcdir/$ac_unique_file"; then
 
875
  if test ! -r $srcdir/$ac_unique_file; then
1363
876
    srcdir=..
1364
877
  fi
1365
878
else
1366
879
  ac_srcdir_defaulted=no
1367
880
fi
1368
 
if test ! -r "$srcdir/$ac_unique_file"; then
1369
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1370
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1371
 
   { (exit 1); exit 1; }; }
1372
 
fi
1373
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1374
 
ac_abs_confdir=`(
1375
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1376
 
   { (exit 1); exit 1; }; }
1377
 
        pwd)`
1378
 
# When building in place, set srcdir=.
1379
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1380
 
  srcdir=.
1381
 
fi
1382
 
# Remove unnecessary trailing slashes from srcdir.
1383
 
# Double slashes in file names in object file debugging info
1384
 
# mess up M-x gdb in Emacs.
1385
 
case $srcdir in
1386
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387
 
esac
1388
 
for ac_var in $ac_precious_vars; do
1389
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1391
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1393
 
done
 
881
if test ! -r $srcdir/$ac_unique_file; then
 
882
  if test "$ac_srcdir_defaulted" = yes; then
 
883
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
 
884
   { (exit 1); exit 1; }; }
 
885
  else
 
886
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
887
   { (exit 1); exit 1; }; }
 
888
  fi
 
889
fi
 
890
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
 
891
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
 
892
   { (exit 1); exit 1; }; }
 
893
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
 
894
ac_env_build_alias_set=${build_alias+set}
 
895
ac_env_build_alias_value=$build_alias
 
896
ac_cv_env_build_alias_set=${build_alias+set}
 
897
ac_cv_env_build_alias_value=$build_alias
 
898
ac_env_host_alias_set=${host_alias+set}
 
899
ac_env_host_alias_value=$host_alias
 
900
ac_cv_env_host_alias_set=${host_alias+set}
 
901
ac_cv_env_host_alias_value=$host_alias
 
902
ac_env_target_alias_set=${target_alias+set}
 
903
ac_env_target_alias_value=$target_alias
 
904
ac_cv_env_target_alias_set=${target_alias+set}
 
905
ac_cv_env_target_alias_value=$target_alias
 
906
ac_env_CC_set=${CC+set}
 
907
ac_env_CC_value=$CC
 
908
ac_cv_env_CC_set=${CC+set}
 
909
ac_cv_env_CC_value=$CC
 
910
ac_env_CFLAGS_set=${CFLAGS+set}
 
911
ac_env_CFLAGS_value=$CFLAGS
 
912
ac_cv_env_CFLAGS_set=${CFLAGS+set}
 
913
ac_cv_env_CFLAGS_value=$CFLAGS
 
914
ac_env_LDFLAGS_set=${LDFLAGS+set}
 
915
ac_env_LDFLAGS_value=$LDFLAGS
 
916
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
 
917
ac_cv_env_LDFLAGS_value=$LDFLAGS
 
918
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
 
919
ac_env_CPPFLAGS_value=$CPPFLAGS
 
920
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
 
921
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
922
ac_env_CPP_set=${CPP+set}
 
923
ac_env_CPP_value=$CPP
 
924
ac_cv_env_CPP_set=${CPP+set}
 
925
ac_cv_env_CPP_value=$CPP
 
926
ac_env_CXX_set=${CXX+set}
 
927
ac_env_CXX_value=$CXX
 
928
ac_cv_env_CXX_set=${CXX+set}
 
929
ac_cv_env_CXX_value=$CXX
 
930
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
 
931
ac_env_CXXFLAGS_value=$CXXFLAGS
 
932
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
 
933
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
 
934
ac_env_CXXCPP_set=${CXXCPP+set}
 
935
ac_env_CXXCPP_value=$CXXCPP
 
936
ac_cv_env_CXXCPP_set=${CXXCPP+set}
 
937
ac_cv_env_CXXCPP_value=$CXXCPP
 
938
ac_env_F77_set=${F77+set}
 
939
ac_env_F77_value=$F77
 
940
ac_cv_env_F77_set=${F77+set}
 
941
ac_cv_env_F77_value=$F77
 
942
ac_env_FFLAGS_set=${FFLAGS+set}
 
943
ac_env_FFLAGS_value=$FFLAGS
 
944
ac_cv_env_FFLAGS_set=${FFLAGS+set}
 
945
ac_cv_env_FFLAGS_value=$FFLAGS
 
946
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
947
ac_env_PKG_CONFIG_value=$PKG_CONFIG
 
948
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
949
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
 
950
ac_env_EXTRA_CFLAGS_set=${EXTRA_CFLAGS+set}
 
951
ac_env_EXTRA_CFLAGS_value=$EXTRA_CFLAGS
 
952
ac_cv_env_EXTRA_CFLAGS_set=${EXTRA_CFLAGS+set}
 
953
ac_cv_env_EXTRA_CFLAGS_value=$EXTRA_CFLAGS
 
954
ac_env_EXTRA_LIBS_set=${EXTRA_LIBS+set}
 
955
ac_env_EXTRA_LIBS_value=$EXTRA_LIBS
 
956
ac_cv_env_EXTRA_LIBS_set=${EXTRA_LIBS+set}
 
957
ac_cv_env_EXTRA_LIBS_value=$EXTRA_LIBS
1394
958
 
1395
959
#
1396
960
# Report the --help message.
1399
963
  # Omit some internal or obsolete options to make the list less imposing.
1400
964
  # This message is too long to be a string in the A/UX 3.1 sh.
1401
965
  cat <<_ACEOF
1402
 
\`configure' configures this package to adapt to many kinds of systems.
 
966
\`configure' configures pidgin-otr 3.1.0 to adapt to many kinds of systems.
1403
967
 
1404
968
Usage: $0 [OPTION]... [VAR=VALUE]...
1405
969
 
1419
983
  -n, --no-create         do not create output files
1420
984
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1421
985
 
 
986
_ACEOF
 
987
 
 
988
  cat <<_ACEOF
1422
989
Installation directories:
1423
990
  --prefix=PREFIX         install architecture-independent files in PREFIX
1424
991
                          [$ac_default_prefix]
1436
1003
  --bindir=DIR           user executables [EPREFIX/bin]
1437
1004
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1438
1005
  --libexecdir=DIR       program executables [EPREFIX/libexec]
 
1006
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1439
1007
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1440
1008
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1441
1009
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1442
1010
  --libdir=DIR           object code libraries [EPREFIX/lib]
1443
1011
  --includedir=DIR       C header files [PREFIX/include]
1444
1012
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1445
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1446
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1447
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1448
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1449
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1450
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1451
 
  --htmldir=DIR          html documentation [DOCDIR]
1452
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1453
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1454
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1013
  --infodir=DIR          info documentation [PREFIX/info]
 
1014
  --mandir=DIR           man documentation [PREFIX/man]
1455
1015
_ACEOF
1456
1016
 
1457
1017
  cat <<\_ACEOF
1468
1028
fi
1469
1029
 
1470
1030
if test -n "$ac_init_help"; then
1471
 
 
 
1031
  case $ac_init_help in
 
1032
     short | recursive ) echo "Configuration of pidgin-otr 3.1.0:";;
 
1033
   esac
1472
1034
  cat <<\_ACEOF
1473
1035
 
1474
1036
Optional Features:
1476
1038
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1477
1039
  --disable-dependency-tracking  speeds up one-time build
1478
1040
  --enable-dependency-tracking   do not reject slow dependency extractors
1479
 
  --enable-static[=PKGS]  build static libraries [default=no]
1480
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1041
  --enable-static[=PKGS]
 
1042
                          build static libraries [default=no]
 
1043
  --enable-shared[=PKGS]
 
1044
                          build shared libraries [default=yes]
1481
1045
  --enable-fast-install[=PKGS]
1482
1046
                          optimize for fast installation [default=yes]
1483
1047
  --disable-libtool-lock  avoid locking (might break parallel builds)
1488
1052
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1489
1053
  --with-pic              try to use only PIC/non-PIC objects [default=use
1490
1054
                          both]
1491
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1055
  --with-tags[=TAGS]
 
1056
                          include additional configurations [automatic]
1492
1057
  --with-libgcrypt-prefix=PFX
1493
1058
                          prefix where LIBGCRYPT is installed (optional)
1494
1059
  --with-libotr-prefix=PFX  Prefix where libotr is installed(optional)
1499
1064
  CFLAGS      C compiler flags
1500
1065
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1501
1066
              nonstandard directory <lib dir>
1502
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1503
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1504
 
              you have headers in a nonstandard directory <include dir>
 
1067
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 
1068
              headers in a nonstandard directory <include dir>
1505
1069
  CPP         C preprocessor
1506
1070
  CXX         C++ compiler command
1507
1071
  CXXFLAGS    C++ compiler flags
1517
1081
it to find libraries and programs with nonstandard names/locations.
1518
1082
 
1519
1083
_ACEOF
1520
 
ac_status=$?
1521
1084
fi
1522
1085
 
1523
1086
if test "$ac_init_help" = "recursive"; then
1524
1087
  # If there are subdirs, report their specific --help.
 
1088
  ac_popdir=`pwd`
1525
1089
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526
 
    test -d "$ac_dir" || continue
 
1090
    test -d $ac_dir || continue
1527
1091
    ac_builddir=.
1528
1092
 
1529
 
case "$ac_dir" in
1530
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531
 
*)
 
1093
if test "$ac_dir" != .; then
1532
1094
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1533
 
  # A ".." for each directory in $ac_dir_suffix.
1534
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1535
 
  case $ac_top_builddir_sub in
1536
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538
 
  esac ;;
1539
 
esac
1540
 
ac_abs_top_builddir=$ac_pwd
1541
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542
 
# for backward compatibility:
1543
 
ac_top_builddir=$ac_top_build_prefix
 
1095
  # A "../" for each directory in $ac_dir_suffix.
 
1096
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
1097
else
 
1098
  ac_dir_suffix= ac_top_builddir=
 
1099
fi
1544
1100
 
1545
1101
case $srcdir in
1546
 
  .)  # We are building in place.
 
1102
  .)  # No --srcdir option.  We are building in place.
1547
1103
    ac_srcdir=.
1548
 
    ac_top_srcdir=$ac_top_builddir_sub
1549
 
    ac_abs_top_srcdir=$ac_pwd ;;
1550
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1104
    if test -z "$ac_top_builddir"; then
 
1105
       ac_top_srcdir=.
 
1106
    else
 
1107
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
1108
    fi ;;
 
1109
  [\\/]* | ?:[\\/]* )  # Absolute path.
1551
1110
    ac_srcdir=$srcdir$ac_dir_suffix;
1552
 
    ac_top_srcdir=$srcdir
1553
 
    ac_abs_top_srcdir=$srcdir ;;
1554
 
  *) # Relative name.
1555
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1557
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558
 
esac
1559
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560
 
 
1561
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1562
 
    # Check for guested configure.
1563
 
    if test -f "$ac_srcdir/configure.gnu"; then
1564
 
      echo &&
1565
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566
 
    elif test -f "$ac_srcdir/configure"; then
1567
 
      echo &&
1568
 
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1111
    ac_top_srcdir=$srcdir ;;
 
1112
  *) # Relative path.
 
1113
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
1114
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
1115
esac
 
1116
 
 
1117
# Do not use `cd foo && pwd` to compute absolute paths, because
 
1118
# the directories may not exist.
 
1119
case `pwd` in
 
1120
.) ac_abs_builddir="$ac_dir";;
 
1121
*)
 
1122
  case "$ac_dir" in
 
1123
  .) ac_abs_builddir=`pwd`;;
 
1124
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
1125
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
1126
  esac;;
 
1127
esac
 
1128
case $ac_abs_builddir in
 
1129
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1130
*)
 
1131
  case ${ac_top_builddir}. in
 
1132
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
1133
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
1134
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
1135
  esac;;
 
1136
esac
 
1137
case $ac_abs_builddir in
 
1138
.) ac_abs_srcdir=$ac_srcdir;;
 
1139
*)
 
1140
  case $ac_srcdir in
 
1141
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
1142
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
1143
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
1144
  esac;;
 
1145
esac
 
1146
case $ac_abs_builddir in
 
1147
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1148
*)
 
1149
  case $ac_top_srcdir in
 
1150
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
1151
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
1152
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
1153
  esac;;
 
1154
esac
 
1155
 
 
1156
    cd $ac_dir
 
1157
    # Check for guested configure; otherwise get Cygnus style configure.
 
1158
    if test -f $ac_srcdir/configure.gnu; then
 
1159
      echo
 
1160
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
1161
    elif test -f $ac_srcdir/configure; then
 
1162
      echo
 
1163
      $SHELL $ac_srcdir/configure  --help=recursive
 
1164
    elif test -f $ac_srcdir/configure.ac ||
 
1165
           test -f $ac_srcdir/configure.in; then
 
1166
      echo
 
1167
      $ac_configure --help
1569
1168
    else
1570
1169
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571
 
    fi || ac_status=$?
1572
 
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1170
    fi
 
1171
    cd "$ac_popdir"
1573
1172
  done
1574
1173
fi
1575
1174
 
1576
 
test -n "$ac_init_help" && exit $ac_status
 
1175
test -n "$ac_init_help" && exit 0
1577
1176
if $ac_init_version; then
1578
1177
  cat <<\_ACEOF
1579
 
configure
1580
 
generated by GNU Autoconf 2.61
 
1178
pidgin-otr configure 3.1.0
 
1179
generated by GNU Autoconf 2.59
1581
1180
 
1582
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1583
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1181
Copyright (C) 2003 Free Software Foundation, Inc.
1584
1182
This configure script is free software; the Free Software Foundation
1585
1183
gives unlimited permission to copy, distribute and modify it.
1586
1184
_ACEOF
1587
 
  exit
 
1185
  exit 0
1588
1186
fi
1589
 
cat >config.log <<_ACEOF
 
1187
exec 5>config.log
 
1188
cat >&5 <<_ACEOF
1590
1189
This file contains any messages produced by compilers while
1591
1190
running configure, to aid debugging if configure makes a mistake.
1592
1191
 
1593
 
It was created by $as_me, which was
1594
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1192
It was created by pidgin-otr $as_me 3.1.0, which was
 
1193
generated by GNU Autoconf 2.59.  Invocation command line was
1595
1194
 
1596
1195
  $ $0 $@
1597
1196
 
1598
1197
_ACEOF
1599
 
exec 5>>config.log
1600
1198
{
1601
1199
cat <<_ASUNAME
1602
1200
## --------- ##
1615
1213
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1616
1214
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1617
1215
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1618
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1216
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1619
1217
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1620
1218
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1621
1219
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1629
1227
  test -z "$as_dir" && as_dir=.
1630
1228
  echo "PATH: $as_dir"
1631
1229
done
1632
 
IFS=$as_save_IFS
1633
1230
 
1634
1231
} >&5
1635
1232
 
1651
1248
ac_configure_args=
1652
1249
ac_configure_args0=
1653
1250
ac_configure_args1=
 
1251
ac_sep=
1654
1252
ac_must_keep_next=false
1655
1253
for ac_pass in 1 2
1656
1254
do
1661
1259
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1662
1260
    | -silent | --silent | --silen | --sile | --sil)
1663
1261
      continue ;;
1664
 
    *\'*)
 
1262
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1665
1263
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1666
1264
    esac
1667
1265
    case $ac_pass in
1683
1281
          -* ) ac_must_keep_next=true ;;
1684
1282
        esac
1685
1283
      fi
1686
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1284
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1285
      # Get rid of the leading space.
 
1286
      ac_sep=" "
1687
1287
      ;;
1688
1288
    esac
1689
1289
  done
1694
1294
# When interrupted or exit'd, cleanup temporary files, and complete
1695
1295
# config.log.  We remove comments because anyway the quotes in there
1696
1296
# would cause problems or look ugly.
1697
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1698
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1297
# WARNING: Be sure not to use single quotes in there, as some shells,
 
1298
# such as our DU 5.0 friend, will then `close' the trap.
1699
1299
trap 'exit_status=$?
1700
1300
  # Save into config.log some information that might help in debugging.
1701
1301
  {
1708
1308
_ASBOX
1709
1309
    echo
1710
1310
    # The following way of writing the cache mishandles newlines in values,
1711
 
(
1712
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1713
 
    eval ac_val=\$$ac_var
1714
 
    case $ac_val in #(
1715
 
    *${as_nl}*)
1716
 
      case $ac_var in #(
1717
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1718
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1719
 
      esac
1720
 
      case $ac_var in #(
1721
 
      _ | IFS | as_nl) ;; #(
1722
 
      *) $as_unset $ac_var ;;
1723
 
      esac ;;
1724
 
    esac
1725
 
  done
 
1311
{
1726
1312
  (set) 2>&1 |
1727
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1728
 
    *${as_nl}ac_space=\ *)
 
1313
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1314
    *ac_space=\ *)
1729
1315
      sed -n \
1730
 
        "s/'\''/'\''\\\\'\'''\''/g;
1731
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1732
 
      ;; #(
 
1316
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1317
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1318
      ;;
1733
1319
    *)
1734
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1320
      sed -n \
 
1321
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1735
1322
      ;;
1736
 
    esac |
1737
 
    sort
1738
 
)
 
1323
    esac;
 
1324
}
1739
1325
    echo
1740
1326
 
1741
1327
    cat <<\_ASBOX
1746
1332
    echo
1747
1333
    for ac_var in $ac_subst_vars
1748
1334
    do
1749
 
      eval ac_val=\$$ac_var
1750
 
      case $ac_val in
1751
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1752
 
      esac
1753
 
      echo "$ac_var='\''$ac_val'\''"
 
1335
      eval ac_val=$`echo $ac_var`
 
1336
      echo "$ac_var='"'"'$ac_val'"'"'"
1754
1337
    done | sort
1755
1338
    echo
1756
1339
 
1757
1340
    if test -n "$ac_subst_files"; then
1758
1341
      cat <<\_ASBOX
1759
 
## ------------------- ##
1760
 
## File substitutions. ##
1761
 
## ------------------- ##
 
1342
## ------------- ##
 
1343
## Output files. ##
 
1344
## ------------- ##
1762
1345
_ASBOX
1763
1346
      echo
1764
1347
      for ac_var in $ac_subst_files
1765
1348
      do
1766
 
        eval ac_val=\$$ac_var
1767
 
        case $ac_val in
1768
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1769
 
        esac
1770
 
        echo "$ac_var='\''$ac_val'\''"
 
1349
        eval ac_val=$`echo $ac_var`
 
1350
        echo "$ac_var='"'"'$ac_val'"'"'"
1771
1351
      done | sort
1772
1352
      echo
1773
1353
    fi
1779
1359
## ----------- ##
1780
1360
_ASBOX
1781
1361
      echo
1782
 
      cat confdefs.h
 
1362
      sed "/^$/d" confdefs.h | sort
1783
1363
      echo
1784
1364
    fi
1785
1365
    test "$ac_signal" != 0 &&
1786
1366
      echo "$as_me: caught signal $ac_signal"
1787
1367
    echo "$as_me: exit $exit_status"
1788
1368
  } >&5
1789
 
  rm -f core *.core core.conftest.* &&
1790
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1369
  rm -f core *.core &&
 
1370
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1791
1371
    exit $exit_status
1792
 
' 0
 
1372
     ' 0
1793
1373
for ac_signal in 1 2 13 15; do
1794
1374
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1795
1375
done
1796
1376
ac_signal=0
1797
1377
 
1798
1378
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1799
 
rm -f -r conftest* confdefs.h
 
1379
rm -rf conftest* confdefs.h
 
1380
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
 
1381
echo >confdefs.h
1800
1382
 
1801
1383
# Predefined preprocessor variables.
1802
1384
 
1827
1409
 
1828
1410
# Let the site file select an alternate cache file if it wants to.
1829
1411
# Prefer explicitly selected file to automatically selected ones.
1830
 
if test -n "$CONFIG_SITE"; then
1831
 
  set x "$CONFIG_SITE"
1832
 
elif test "x$prefix" != xNONE; then
1833
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1834
 
else
1835
 
  set x "$ac_default_prefix/share/config.site" \
1836
 
        "$ac_default_prefix/etc/config.site"
 
1412
if test -z "$CONFIG_SITE"; then
 
1413
  if test "x$prefix" != xNONE; then
 
1414
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 
1415
  else
 
1416
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 
1417
  fi
1837
1418
fi
1838
 
shift
1839
 
for ac_site_file
1840
 
do
 
1419
for ac_site_file in $CONFIG_SITE; do
1841
1420
  if test -r "$ac_site_file"; then
1842
1421
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1843
1422
echo "$as_me: loading site script $ac_site_file" >&6;}
1853
1432
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1854
1433
echo "$as_me: loading cache $cache_file" >&6;}
1855
1434
    case $cache_file in
1856
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1857
 
      *)                      . "./$cache_file";;
 
1435
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1436
      *)                      . ./$cache_file;;
1858
1437
    esac
1859
1438
  fi
1860
1439
else
1866
1445
# Check that the precious variables saved in the cache have kept the same
1867
1446
# value.
1868
1447
ac_cache_corrupted=false
1869
 
for ac_var in $ac_precious_vars; do
 
1448
for ac_var in `(set) 2>&1 |
 
1449
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1870
1450
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1871
1451
  eval ac_new_set=\$ac_env_${ac_var}_set
1872
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1873
 
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1452
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1453
  eval ac_new_val="\$ac_env_${ac_var}_value"
1874
1454
  case $ac_old_set,$ac_new_set in
1875
1455
    set,)
1876
1456
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1895
1475
  # Pass precious variables to config.status.
1896
1476
  if test "$ac_new_set" = set; then
1897
1477
    case $ac_new_val in
1898
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1478
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1479
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1899
1480
    *) ac_arg=$ac_var=$ac_new_val ;;
1900
1481
    esac
1901
1482
    case " $ac_configure_args " in
1912
1493
   { (exit 1); exit 1; }; }
1913
1494
fi
1914
1495
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
 
1924
 
 
1925
 
 
1926
 
 
1927
 
 
1928
 
 
1929
 
 
1930
 
 
1931
1496
ac_ext=c
1932
1497
ac_cpp='$CPP $CPPFLAGS'
1933
1498
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1936
1501
 
1937
1502
 
1938
1503
 
1939
 
ac_config_headers="$ac_config_headers config.h"
1940
 
 
1941
 
 
1942
 
am__api_version='1.10'
1943
 
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
          ac_config_headers="$ac_config_headers config.h"
 
1530
 
 
1531
 
 
1532
am__api_version="1.9"
1944
1533
ac_aux_dir=
1945
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1946
 
  if test -f "$ac_dir/install-sh"; then
 
1534
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 
1535
  if test -f $ac_dir/install-sh; then
1947
1536
    ac_aux_dir=$ac_dir
1948
1537
    ac_install_sh="$ac_aux_dir/install-sh -c"
1949
1538
    break
1950
 
  elif test -f "$ac_dir/install.sh"; then
 
1539
  elif test -f $ac_dir/install.sh; then
1951
1540
    ac_aux_dir=$ac_dir
1952
1541
    ac_install_sh="$ac_aux_dir/install.sh -c"
1953
1542
    break
1954
 
  elif test -f "$ac_dir/shtool"; then
 
1543
  elif test -f $ac_dir/shtool; then
1955
1544
    ac_aux_dir=$ac_dir
1956
1545
    ac_install_sh="$ac_aux_dir/shtool install -c"
1957
1546
    break
1958
1547
  fi
1959
1548
done
1960
1549
if test -z "$ac_aux_dir"; then
1961
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1962
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1550
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1551
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1963
1552
   { (exit 1); exit 1; }; }
1964
1553
fi
1965
 
 
1966
 
# These three variables are undocumented and unsupported,
1967
 
# and are intended to be withdrawn in a future Autoconf release.
1968
 
# They can cause serious problems if a builder's source tree is in a directory
1969
 
# whose full name contains unusual characters.
1970
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1971
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1972
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1973
 
 
 
1554
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1555
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1556
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1974
1557
 
1975
1558
# Find a good install program.  We prefer a C program (faster),
1976
1559
# so one script is as good as another.  But avoid the broken or
1985
1568
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1986
1569
# OS/2's system install, which has a completely different semantic
1987
1570
# ./install, which can be erroneously created by make from ./install.sh.
1988
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1989
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1571
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1572
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1990
1573
if test -z "$INSTALL"; then
1991
1574
if test "${ac_cv_path_install+set}" = set; then
1992
1575
  echo $ECHO_N "(cached) $ECHO_C" >&6
2008
1591
    # by default.
2009
1592
    for ac_prog in ginstall scoinst install; do
2010
1593
      for ac_exec_ext in '' $ac_executable_extensions; do
2011
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1594
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2012
1595
          if test $ac_prog = install &&
2013
1596
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2014
1597
            # AIX install.  It has an incompatible calling convention.
2027
1610
    ;;
2028
1611
esac
2029
1612
done
2030
 
IFS=$as_save_IFS
2031
1613
 
2032
1614
 
2033
1615
fi
2034
1616
  if test "${ac_cv_path_install+set}" = set; then
2035
1617
    INSTALL=$ac_cv_path_install
2036
1618
  else
2037
 
    # As a last resort, use the slow shell script.  Don't cache a
2038
 
    # value for INSTALL within a source directory, because that will
 
1619
    # As a last resort, use the slow shell script.  We don't cache a
 
1620
    # path for INSTALL within a source directory, because that will
2039
1621
    # break other packages using the cache if that directory is
2040
 
    # removed, or if the value is a relative name.
 
1622
    # removed, or if the path is relative.
2041
1623
    INSTALL=$ac_install_sh
2042
1624
  fi
2043
1625
fi
2044
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2045
 
echo "${ECHO_T}$INSTALL" >&6; }
 
1626
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1627
echo "${ECHO_T}$INSTALL" >&6
2046
1628
 
2047
1629
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2048
1630
# It thinks the first close brace ends the variable substitution.
2052
1634
 
2053
1635
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2054
1636
 
2055
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2056
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1637
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1638
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2057
1639
# Just in case
2058
1640
sleep 1
2059
1641
echo timestamp > conftest.file
2095
1677
Check your system clock" >&2;}
2096
1678
   { (exit 1); exit 1; }; }
2097
1679
fi
2098
 
{ echo "$as_me:$LINENO: result: yes" >&5
2099
 
echo "${ECHO_T}yes" >&6; }
 
1680
echo "$as_me:$LINENO: result: yes" >&5
 
1681
echo "${ECHO_T}yes" >&6
2100
1682
test "$program_prefix" != NONE &&
2101
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
1683
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
2102
1684
# Use a double $ so make ignores it.
2103
1685
test "$program_suffix" != NONE &&
2104
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
1686
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2105
1687
# Double any \ or $.  echo might interpret backslashes.
2106
1688
# By default was `s,x,x', remove it if useless.
2107
1689
cat <<\_ACEOF >conftest.sed
2108
1690
s/[\\$]/&&/g;s/;s,x,x,$//
2109
1691
_ACEOF
2110
1692
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2111
 
rm -f conftest.sed
 
1693
rm conftest.sed
2112
1694
 
2113
1695
# expand $ac_aux_dir to an absolute path
2114
1696
am_aux_dir=`cd $ac_aux_dir && pwd`
2123
1705
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2124
1706
fi
2125
1707
 
2126
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2127
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2128
 
if test -z "$MKDIR_P"; then
2129
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2130
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1708
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1709
  # We used to keeping the `.' as first argument, in order to
 
1710
  # allow $(mkdir_p) to be used without argument.  As in
 
1711
  #   $(mkdir_p) $(somedir)
 
1712
  # where $(somedir) is conditionally defined.  However this is wrong
 
1713
  # for two reasons:
 
1714
  #  1. if the package is installed by a user who cannot write `.'
 
1715
  #     make install will fail,
 
1716
  #  2. the above comment should most certainly read
 
1717
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1718
  #     so it does not work when $(somedir) is undefined and
 
1719
  #     $(DESTDIR) is not.
 
1720
  #  To support the latter case, we have to write
 
1721
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1722
  #  so the `.' trick is pointless.
 
1723
  mkdir_p='mkdir -p --'
2131
1724
else
2132
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2134
 
do
2135
 
  IFS=$as_save_IFS
2136
 
  test -z "$as_dir" && as_dir=.
2137
 
  for ac_prog in mkdir gmkdir; do
2138
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2139
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2140
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2141
 
             'mkdir (GNU coreutils) '* | \
2142
 
             'mkdir (coreutils) '* | \
2143
 
             'mkdir (fileutils) '4.1*)
2144
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2145
 
               break 3;;
2146
 
           esac
2147
 
         done
2148
 
       done
2149
 
done
2150
 
IFS=$as_save_IFS
2151
 
 
2152
 
fi
2153
 
 
2154
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2155
 
    MKDIR_P="$ac_cv_path_mkdir -p"
 
1725
  # On NextStep and OpenStep, the `mkdir' command does not
 
1726
  # recognize any option.  It will interpret all options as
 
1727
  # directories to create, and then abort because `.' already
 
1728
  # exists.
 
1729
  for d in ./-p ./--version;
 
1730
  do
 
1731
    test -d $d && rmdir $d
 
1732
  done
 
1733
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1734
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1735
    mkdir_p='$(mkinstalldirs)'
2156
1736
  else
2157
 
    # As a last resort, use the slow shell script.  Don't cache a
2158
 
    # value for MKDIR_P within a source directory, because that will
2159
 
    # break other packages using the cache if that directory is
2160
 
    # removed, or if the value is a relative name.
2161
 
    test -d ./--version && rmdir ./--version
2162
 
    MKDIR_P="$ac_install_sh -d"
 
1737
    mkdir_p='$(install_sh) -d'
2163
1738
  fi
2164
1739
fi
2165
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2166
 
echo "${ECHO_T}$MKDIR_P" >&6; }
2167
 
 
2168
 
mkdir_p="$MKDIR_P"
2169
 
case $mkdir_p in
2170
 
  [\\/$]* | ?:[\\/]*) ;;
2171
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2172
 
esac
2173
1740
 
2174
1741
for ac_prog in gawk mawk nawk awk
2175
1742
do
2176
1743
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2177
1744
set dummy $ac_prog; ac_word=$2
2178
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2179
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1745
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1746
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2180
1747
if test "${ac_cv_prog_AWK+set}" = set; then
2181
1748
  echo $ECHO_N "(cached) $ECHO_C" >&6
2182
1749
else
2189
1756
  IFS=$as_save_IFS
2190
1757
  test -z "$as_dir" && as_dir=.
2191
1758
  for ac_exec_ext in '' $ac_executable_extensions; do
2192
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1759
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193
1760
    ac_cv_prog_AWK="$ac_prog"
2194
1761
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195
1762
    break 2
2196
1763
  fi
2197
1764
done
2198
1765
done
2199
 
IFS=$as_save_IFS
2200
1766
 
2201
1767
fi
2202
1768
fi
2203
1769
AWK=$ac_cv_prog_AWK
2204
1770
if test -n "$AWK"; then
2205
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2206
 
echo "${ECHO_T}$AWK" >&6; }
 
1771
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1772
echo "${ECHO_T}$AWK" >&6
2207
1773
else
2208
 
  { echo "$as_me:$LINENO: result: no" >&5
2209
 
echo "${ECHO_T}no" >&6; }
 
1774
  echo "$as_me:$LINENO: result: no" >&5
 
1775
echo "${ECHO_T}no" >&6
2210
1776
fi
2211
1777
 
2212
 
 
2213
1778
  test -n "$AWK" && break
2214
1779
done
2215
1780
 
2216
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2217
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2218
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2219
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
1781
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1782
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
1783
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
1784
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2220
1785
  echo $ECHO_N "(cached) $ECHO_C" >&6
2221
1786
else
2222
1787
  cat >conftest.make <<\_ACEOF
2223
 
SHELL = /bin/sh
2224
1788
all:
2225
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
1789
        @echo 'ac_maketemp="$(MAKE)"'
2226
1790
_ACEOF
2227
1791
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2228
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2229
 
  *@@@%%%=?*=@@@%%%*)
2230
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2231
 
  *)
2232
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2233
 
esac
 
1792
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
1793
if test -n "$ac_maketemp"; then
 
1794
  eval ac_cv_prog_make_${ac_make}_set=yes
 
1795
else
 
1796
  eval ac_cv_prog_make_${ac_make}_set=no
 
1797
fi
2234
1798
rm -f conftest.make
2235
1799
fi
2236
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2237
 
  { echo "$as_me:$LINENO: result: yes" >&5
2238
 
echo "${ECHO_T}yes" >&6; }
 
1800
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
1801
  echo "$as_me:$LINENO: result: yes" >&5
 
1802
echo "${ECHO_T}yes" >&6
2239
1803
  SET_MAKE=
2240
1804
else
2241
 
  { echo "$as_me:$LINENO: result: no" >&5
2242
 
echo "${ECHO_T}no" >&6; }
 
1805
  echo "$as_me:$LINENO: result: no" >&5
 
1806
echo "${ECHO_T}no" >&6
2243
1807
  SET_MAKE="MAKE=${MAKE-make}"
2244
1808
fi
2245
1809
 
2252
1816
fi
2253
1817
rmdir .tst 2>/dev/null
2254
1818
 
2255
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2256
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2257
 
  # is not polluted with repeated "-I."
2258
 
  am__isrc=' -I$(srcdir)'
2259
 
  # test to see if srcdir already configured
2260
 
  if test -f $srcdir/config.status; then
2261
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
1819
# test to see if srcdir already configured
 
1820
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1821
   test -f $srcdir/config.status; then
 
1822
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2262
1823
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2263
1824
   { (exit 1); exit 1; }; }
2264
 
  fi
2265
1825
fi
2266
1826
 
2267
1827
# test whether we have cygpath
2275
1835
 
2276
1836
 
2277
1837
# Define the identity of the package.
2278
 
 PACKAGE=pidgin-otr
2279
 
 VERSION=3.0.0
 
1838
 PACKAGE='pidgin-otr'
 
1839
 VERSION='3.1.0'
2280
1840
 
2281
1841
 
2282
1842
cat >>confdefs.h <<_ACEOF
2304
1864
 
2305
1865
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2306
1866
 
2307
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
1867
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2308
1868
 
2309
1869
# Installed binaries are usually stripped using `strip' when the user
2310
1870
# run `make install-strip'.  However `strip' might not be the right
2314
1874
  if test -n "$ac_tool_prefix"; then
2315
1875
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2316
1876
set dummy ${ac_tool_prefix}strip; ac_word=$2
2317
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2318
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1877
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1878
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2319
1879
if test "${ac_cv_prog_STRIP+set}" = set; then
2320
1880
  echo $ECHO_N "(cached) $ECHO_C" >&6
2321
1881
else
2328
1888
  IFS=$as_save_IFS
2329
1889
  test -z "$as_dir" && as_dir=.
2330
1890
  for ac_exec_ext in '' $ac_executable_extensions; do
2331
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1891
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2332
1892
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2333
1893
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334
1894
    break 2
2335
1895
  fi
2336
1896
done
2337
1897
done
2338
 
IFS=$as_save_IFS
2339
1898
 
2340
1899
fi
2341
1900
fi
2342
1901
STRIP=$ac_cv_prog_STRIP
2343
1902
if test -n "$STRIP"; then
2344
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2345
 
echo "${ECHO_T}$STRIP" >&6; }
 
1903
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1904
echo "${ECHO_T}$STRIP" >&6
2346
1905
else
2347
 
  { echo "$as_me:$LINENO: result: no" >&5
2348
 
echo "${ECHO_T}no" >&6; }
 
1906
  echo "$as_me:$LINENO: result: no" >&5
 
1907
echo "${ECHO_T}no" >&6
2349
1908
fi
2350
 
 
2351
1909
 
2352
1910
fi
2353
1911
if test -z "$ac_cv_prog_STRIP"; then
2354
1912
  ac_ct_STRIP=$STRIP
2355
1913
  # Extract the first word of "strip", so it can be a program name with args.
2356
1914
set dummy strip; ac_word=$2
2357
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2358
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1915
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1916
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359
1917
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2360
1918
  echo $ECHO_N "(cached) $ECHO_C" >&6
2361
1919
else
2368
1926
  IFS=$as_save_IFS
2369
1927
  test -z "$as_dir" && as_dir=.
2370
1928
  for ac_exec_ext in '' $ac_executable_extensions; do
2371
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1929
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372
1930
    ac_cv_prog_ac_ct_STRIP="strip"
2373
1931
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374
1932
    break 2
2375
1933
  fi
2376
1934
done
2377
1935
done
2378
 
IFS=$as_save_IFS
2379
1936
 
 
1937
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2380
1938
fi
2381
1939
fi
2382
1940
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2383
1941
if test -n "$ac_ct_STRIP"; then
2384
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2385
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
1942
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
1943
echo "${ECHO_T}$ac_ct_STRIP" >&6
2386
1944
else
2387
 
  { echo "$as_me:$LINENO: result: no" >&5
2388
 
echo "${ECHO_T}no" >&6; }
 
1945
  echo "$as_me:$LINENO: result: no" >&5
 
1946
echo "${ECHO_T}no" >&6
2389
1947
fi
2390
1948
 
2391
 
  if test "x$ac_ct_STRIP" = x; then
2392
 
    STRIP=":"
2393
 
  else
2394
 
    case $cross_compiling:$ac_tool_warned in
2395
 
yes:)
2396
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2397
 
whose name does not start with the host triplet.  If you think this
2398
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2399
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2400
 
whose name does not start with the host triplet.  If you think this
2401
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2402
 
ac_tool_warned=yes ;;
2403
 
esac
2404
 
    STRIP=$ac_ct_STRIP
2405
 
  fi
 
1949
  STRIP=$ac_ct_STRIP
2406
1950
else
2407
1951
  STRIP="$ac_cv_prog_STRIP"
2408
1952
fi
2409
1953
 
2410
1954
fi
2411
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
1955
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2412
1956
 
2413
1957
# We need awk for the "check" target.  The system "awk" is bad on
2414
1958
# some platforms.
2431
1975
if test -n "$ac_tool_prefix"; then
2432
1976
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2433
1977
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2434
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2435
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
1978
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1979
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436
1980
if test "${ac_cv_prog_CC+set}" = set; then
2437
1981
  echo $ECHO_N "(cached) $ECHO_C" >&6
2438
1982
else
2445
1989
  IFS=$as_save_IFS
2446
1990
  test -z "$as_dir" && as_dir=.
2447
1991
  for ac_exec_ext in '' $ac_executable_extensions; do
2448
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1992
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449
1993
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2450
1994
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451
1995
    break 2
2452
1996
  fi
2453
1997
done
2454
1998
done
2455
 
IFS=$as_save_IFS
2456
1999
 
2457
2000
fi
2458
2001
fi
2459
2002
CC=$ac_cv_prog_CC
2460
2003
if test -n "$CC"; then
2461
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2462
 
echo "${ECHO_T}$CC" >&6; }
 
2004
  echo "$as_me:$LINENO: result: $CC" >&5
 
2005
echo "${ECHO_T}$CC" >&6
2463
2006
else
2464
 
  { echo "$as_me:$LINENO: result: no" >&5
2465
 
echo "${ECHO_T}no" >&6; }
 
2007
  echo "$as_me:$LINENO: result: no" >&5
 
2008
echo "${ECHO_T}no" >&6
2466
2009
fi
2467
 
 
2468
2010
 
2469
2011
fi
2470
2012
if test -z "$ac_cv_prog_CC"; then
2471
2013
  ac_ct_CC=$CC
2472
2014
  # Extract the first word of "gcc", so it can be a program name with args.
2473
2015
set dummy gcc; ac_word=$2
2474
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2475
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2016
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2017
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2476
2018
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2477
2019
  echo $ECHO_N "(cached) $ECHO_C" >&6
2478
2020
else
2485
2027
  IFS=$as_save_IFS
2486
2028
  test -z "$as_dir" && as_dir=.
2487
2029
  for ac_exec_ext in '' $ac_executable_extensions; do
2488
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2030
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2489
2031
    ac_cv_prog_ac_ct_CC="gcc"
2490
2032
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491
2033
    break 2
2492
2034
  fi
2493
2035
done
2494
2036
done
2495
 
IFS=$as_save_IFS
2496
2037
 
2497
2038
fi
2498
2039
fi
2499
2040
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2500
2041
if test -n "$ac_ct_CC"; then
2501
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2502
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2042
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2043
echo "${ECHO_T}$ac_ct_CC" >&6
2503
2044
else
2504
 
  { echo "$as_me:$LINENO: result: no" >&5
2505
 
echo "${ECHO_T}no" >&6; }
 
2045
  echo "$as_me:$LINENO: result: no" >&5
 
2046
echo "${ECHO_T}no" >&6
2506
2047
fi
2507
2048
 
2508
 
  if test "x$ac_ct_CC" = x; then
2509
 
    CC=""
2510
 
  else
2511
 
    case $cross_compiling:$ac_tool_warned in
2512
 
yes:)
2513
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2514
 
whose name does not start with the host triplet.  If you think this
2515
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2516
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2517
 
whose name does not start with the host triplet.  If you think this
2518
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2519
 
ac_tool_warned=yes ;;
2520
 
esac
2521
 
    CC=$ac_ct_CC
2522
 
  fi
 
2049
  CC=$ac_ct_CC
2523
2050
else
2524
2051
  CC="$ac_cv_prog_CC"
2525
2052
fi
2526
2053
 
2527
2054
if test -z "$CC"; then
2528
 
          if test -n "$ac_tool_prefix"; then
2529
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2055
  if test -n "$ac_tool_prefix"; then
 
2056
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2530
2057
set dummy ${ac_tool_prefix}cc; ac_word=$2
2531
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2532
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2058
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2059
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533
2060
if test "${ac_cv_prog_CC+set}" = set; then
2534
2061
  echo $ECHO_N "(cached) $ECHO_C" >&6
2535
2062
else
2542
2069
  IFS=$as_save_IFS
2543
2070
  test -z "$as_dir" && as_dir=.
2544
2071
  for ac_exec_ext in '' $ac_executable_extensions; do
2545
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2072
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546
2073
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2547
2074
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548
2075
    break 2
2549
2076
  fi
2550
2077
done
2551
2078
done
2552
 
IFS=$as_save_IFS
2553
2079
 
2554
2080
fi
2555
2081
fi
2556
2082
CC=$ac_cv_prog_CC
2557
2083
if test -n "$CC"; then
2558
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2559
 
echo "${ECHO_T}$CC" >&6; }
2560
 
else
2561
 
  { echo "$as_me:$LINENO: result: no" >&5
2562
 
echo "${ECHO_T}no" >&6; }
2563
 
fi
2564
 
 
2565
 
 
 
2084
  echo "$as_me:$LINENO: result: $CC" >&5
 
2085
echo "${ECHO_T}$CC" >&6
 
2086
else
 
2087
  echo "$as_me:$LINENO: result: no" >&5
 
2088
echo "${ECHO_T}no" >&6
 
2089
fi
 
2090
 
 
2091
fi
 
2092
if test -z "$ac_cv_prog_CC"; then
 
2093
  ac_ct_CC=$CC
 
2094
  # Extract the first word of "cc", so it can be a program name with args.
 
2095
set dummy cc; ac_word=$2
 
2096
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2097
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2098
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2099
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2100
else
 
2101
  if test -n "$ac_ct_CC"; then
 
2102
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2103
else
 
2104
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2105
for as_dir in $PATH
 
2106
do
 
2107
  IFS=$as_save_IFS
 
2108
  test -z "$as_dir" && as_dir=.
 
2109
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2110
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2111
    ac_cv_prog_ac_ct_CC="cc"
 
2112
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2113
    break 2
2566
2114
  fi
 
2115
done
 
2116
done
 
2117
 
 
2118
fi
 
2119
fi
 
2120
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2121
if test -n "$ac_ct_CC"; then
 
2122
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2123
echo "${ECHO_T}$ac_ct_CC" >&6
 
2124
else
 
2125
  echo "$as_me:$LINENO: result: no" >&5
 
2126
echo "${ECHO_T}no" >&6
 
2127
fi
 
2128
 
 
2129
  CC=$ac_ct_CC
 
2130
else
 
2131
  CC="$ac_cv_prog_CC"
 
2132
fi
 
2133
 
2567
2134
fi
2568
2135
if test -z "$CC"; then
2569
2136
  # Extract the first word of "cc", so it can be a program name with args.
2570
2137
set dummy cc; ac_word=$2
2571
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2138
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2139
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573
2140
if test "${ac_cv_prog_CC+set}" = set; then
2574
2141
  echo $ECHO_N "(cached) $ECHO_C" >&6
2575
2142
else
2583
2150
  IFS=$as_save_IFS
2584
2151
  test -z "$as_dir" && as_dir=.
2585
2152
  for ac_exec_ext in '' $ac_executable_extensions; do
2586
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2153
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587
2154
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2588
2155
       ac_prog_rejected=yes
2589
2156
       continue
2594
2161
  fi
2595
2162
done
2596
2163
done
2597
 
IFS=$as_save_IFS
2598
2164
 
2599
2165
if test $ac_prog_rejected = yes; then
2600
2166
  # We found a bogon in the path, so make sure we never use it.
2612
2178
fi
2613
2179
CC=$ac_cv_prog_CC
2614
2180
if test -n "$CC"; then
2615
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2616
 
echo "${ECHO_T}$CC" >&6; }
 
2181
  echo "$as_me:$LINENO: result: $CC" >&5
 
2182
echo "${ECHO_T}$CC" >&6
2617
2183
else
2618
 
  { echo "$as_me:$LINENO: result: no" >&5
2619
 
echo "${ECHO_T}no" >&6; }
 
2184
  echo "$as_me:$LINENO: result: no" >&5
 
2185
echo "${ECHO_T}no" >&6
2620
2186
fi
2621
 
 
2622
2187
 
2623
2188
fi
2624
2189
if test -z "$CC"; then
2625
2190
  if test -n "$ac_tool_prefix"; then
2626
 
  for ac_prog in cl.exe
 
2191
  for ac_prog in cl
2627
2192
  do
2628
2193
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2629
2194
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2630
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2631
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2195
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2196
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2632
2197
if test "${ac_cv_prog_CC+set}" = set; then
2633
2198
  echo $ECHO_N "(cached) $ECHO_C" >&6
2634
2199
else
2641
2206
  IFS=$as_save_IFS
2642
2207
  test -z "$as_dir" && as_dir=.
2643
2208
  for ac_exec_ext in '' $ac_executable_extensions; do
2644
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2209
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2645
2210
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2646
2211
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647
2212
    break 2
2648
2213
  fi
2649
2214
done
2650
2215
done
2651
 
IFS=$as_save_IFS
2652
2216
 
2653
2217
fi
2654
2218
fi
2655
2219
CC=$ac_cv_prog_CC
2656
2220
if test -n "$CC"; then
2657
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2658
 
echo "${ECHO_T}$CC" >&6; }
 
2221
  echo "$as_me:$LINENO: result: $CC" >&5
 
2222
echo "${ECHO_T}$CC" >&6
2659
2223
else
2660
 
  { echo "$as_me:$LINENO: result: no" >&5
2661
 
echo "${ECHO_T}no" >&6; }
 
2224
  echo "$as_me:$LINENO: result: no" >&5
 
2225
echo "${ECHO_T}no" >&6
2662
2226
fi
2663
2227
 
2664
 
 
2665
2228
    test -n "$CC" && break
2666
2229
  done
2667
2230
fi
2668
2231
if test -z "$CC"; then
2669
2232
  ac_ct_CC=$CC
2670
 
  for ac_prog in cl.exe
 
2233
  for ac_prog in cl
2671
2234
do
2672
2235
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2673
2236
set dummy $ac_prog; ac_word=$2
2674
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2675
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2237
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2238
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2676
2239
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2677
2240
  echo $ECHO_N "(cached) $ECHO_C" >&6
2678
2241
else
2685
2248
  IFS=$as_save_IFS
2686
2249
  test -z "$as_dir" && as_dir=.
2687
2250
  for ac_exec_ext in '' $ac_executable_extensions; do
2688
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2251
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689
2252
    ac_cv_prog_ac_ct_CC="$ac_prog"
2690
2253
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691
2254
    break 2
2692
2255
  fi
2693
2256
done
2694
2257
done
2695
 
IFS=$as_save_IFS
2696
2258
 
2697
2259
fi
2698
2260
fi
2699
2261
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2700
2262
if test -n "$ac_ct_CC"; then
2701
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2702
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2263
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2264
echo "${ECHO_T}$ac_ct_CC" >&6
2703
2265
else
2704
 
  { echo "$as_me:$LINENO: result: no" >&5
2705
 
echo "${ECHO_T}no" >&6; }
 
2266
  echo "$as_me:$LINENO: result: no" >&5
 
2267
echo "${ECHO_T}no" >&6
2706
2268
fi
2707
2269
 
2708
 
 
2709
2270
  test -n "$ac_ct_CC" && break
2710
2271
done
2711
2272
 
2712
 
  if test "x$ac_ct_CC" = x; then
2713
 
    CC=""
2714
 
  else
2715
 
    case $cross_compiling:$ac_tool_warned in
2716
 
yes:)
2717
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2718
 
whose name does not start with the host triplet.  If you think this
2719
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2720
 
echo "$as_me: 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." >&2;}
2723
 
ac_tool_warned=yes ;;
2724
 
esac
2725
 
    CC=$ac_ct_CC
2726
 
  fi
 
2273
  CC=$ac_ct_CC
2727
2274
fi
2728
2275
 
2729
2276
fi
2736
2283
   { (exit 1); exit 1; }; }
2737
2284
 
2738
2285
# Provide some information about the compiler.
2739
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2286
echo "$as_me:$LINENO:" \
 
2287
     "checking for C compiler version" >&5
2740
2288
ac_compiler=`set X $ac_compile; echo $2`
2741
 
{ (ac_try="$ac_compiler --version >&5"
2742
 
case "(($ac_try" in
2743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744
 
  *) ac_try_echo=$ac_try;;
2745
 
esac
2746
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747
 
  (eval "$ac_compiler --version >&5") 2>&5
2748
 
  ac_status=$?
2749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
 
  (exit $ac_status); }
2751
 
{ (ac_try="$ac_compiler -v >&5"
2752
 
case "(($ac_try" in
2753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754
 
  *) ac_try_echo=$ac_try;;
2755
 
esac
2756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757
 
  (eval "$ac_compiler -v >&5") 2>&5
2758
 
  ac_status=$?
2759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760
 
  (exit $ac_status); }
2761
 
{ (ac_try="$ac_compiler -V >&5"
2762
 
case "(($ac_try" in
2763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764
 
  *) ac_try_echo=$ac_try;;
2765
 
esac
2766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767
 
  (eval "$ac_compiler -V >&5") 2>&5
 
2289
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
2290
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
2291
  ac_status=$?
 
2292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2293
  (exit $ac_status); }
 
2294
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
2295
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
2296
  ac_status=$?
 
2297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2298
  (exit $ac_status); }
 
2299
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
2300
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2768
2301
  ac_status=$?
2769
2302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
2303
  (exit $ac_status); }
2789
2322
# Try to create an executable without -o first, disregard a.out.
2790
2323
# It will help us diagnose broken compilers, and finding out an intuition
2791
2324
# of exeext.
2792
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2793
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 
2325
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2326
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2794
2327
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2795
 
#
2796
 
# List of possible output files, starting from the most likely.
2797
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2798
 
# only as a last resort.  b.out is created by i960 compilers.
2799
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2800
 
#
2801
 
# The IRIX 6 linker writes into existing files which may not be
2802
 
# executable, retaining their permissions.  Remove them first so a
2803
 
# subsequent execution test works.
2804
 
ac_rmfiles=
2805
 
for ac_file in $ac_files
2806
 
do
2807
 
  case $ac_file in
2808
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2809
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2810
 
  esac
2811
 
done
2812
 
rm -f $ac_rmfiles
2813
 
 
2814
 
if { (ac_try="$ac_link_default"
2815
 
case "(($ac_try" in
2816
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817
 
  *) ac_try_echo=$ac_try;;
2818
 
esac
2819
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820
 
  (eval "$ac_link_default") 2>&5
 
2328
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 
2329
  (eval $ac_link_default) 2>&5
2821
2330
  ac_status=$?
2822
2331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
2332
  (exit $ac_status); }; then
2824
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2825
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2826
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2827
 
# so that the user can short-circuit this test for compilers unknown to
2828
 
# Autoconf.
2829
 
for ac_file in $ac_files ''
 
2333
  # Find the output, starting from the most likely.  This scheme is
 
2334
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
 
2335
# resort.
 
2336
 
 
2337
# Be careful to initialize this variable, since it used to be cached.
 
2338
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 
2339
ac_cv_exeext=
 
2340
# b.out is created by i960 compilers.
 
2341
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2830
2342
do
2831
2343
  test -f "$ac_file" || continue
2832
2344
  case $ac_file in
2833
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2345
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 
2346
        ;;
 
2347
    conftest.$ac_ext )
 
2348
        # This is the source file.
2834
2349
        ;;
2835
2350
    [ab].out )
2836
2351
        # We found the default executable, but exeext='' is most
2837
2352
        # certainly right.
2838
2353
        break;;
2839
2354
    *.* )
2840
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2841
 
        then :; else
2842
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2843
 
        fi
2844
 
        # We set ac_cv_exeext here because the later test for it is not
2845
 
        # safe: cross compilers may not add the suffix if given an `-o'
2846
 
        # argument, so we may need to know it at that point already.
2847
 
        # Even if this section looks crufty: it has the advantage of
2848
 
        # actually working.
 
2355
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2356
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2357
        # but it would be cool to find out if it's true.  Does anybody
 
2358
        # maintain Libtool? --akim.
 
2359
        export ac_cv_exeext
2849
2360
        break;;
2850
2361
    * )
2851
2362
        break;;
2852
2363
  esac
2853
2364
done
2854
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
2855
 
 
2856
2365
else
2857
 
  ac_file=''
2858
 
fi
2859
 
 
2860
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2861
 
echo "${ECHO_T}$ac_file" >&6; }
2862
 
if test -z "$ac_file"; then
2863
2366
  echo "$as_me: failed program was:" >&5
2864
2367
sed 's/^/| /' conftest.$ac_ext >&5
2865
2368
 
2871
2374
fi
2872
2375
 
2873
2376
ac_exeext=$ac_cv_exeext
 
2377
echo "$as_me:$LINENO: result: $ac_file" >&5
 
2378
echo "${ECHO_T}$ac_file" >&6
2874
2379
 
2875
 
# Check that the compiler produces executables we can run.  If not, either
 
2380
# Check the compiler produces executables we can run.  If not, either
2876
2381
# the compiler is broken, or we cross compile.
2877
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2878
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2382
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2383
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2879
2384
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2880
2385
# If not cross compiling, check that we can run a simple program.
2881
2386
if test "$cross_compiling" != yes; then
2882
2387
  if { ac_try='./$ac_file'
2883
 
  { (case "(($ac_try" in
2884
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885
 
  *) ac_try_echo=$ac_try;;
2886
 
esac
2887
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888
 
  (eval "$ac_try") 2>&5
 
2388
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2389
  (eval $ac_try) 2>&5
2889
2390
  ac_status=$?
2890
2391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891
2392
  (exit $ac_status); }; }; then
2904
2405
    fi
2905
2406
  fi
2906
2407
fi
2907
 
{ echo "$as_me:$LINENO: result: yes" >&5
2908
 
echo "${ECHO_T}yes" >&6; }
 
2408
echo "$as_me:$LINENO: result: yes" >&5
 
2409
echo "${ECHO_T}yes" >&6
2909
2410
 
2910
2411
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2911
2412
ac_clean_files=$ac_clean_files_save
2912
 
# Check that the compiler produces executables we can run.  If not, either
 
2413
# Check the compiler produces executables we can run.  If not, either
2913
2414
# the compiler is broken, or we cross compile.
2914
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2915
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2916
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2917
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2415
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2416
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 
2417
echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2418
echo "${ECHO_T}$cross_compiling" >&6
2918
2419
 
2919
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2920
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2921
 
if { (ac_try="$ac_link"
2922
 
case "(($ac_try" in
2923
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924
 
  *) ac_try_echo=$ac_try;;
2925
 
esac
2926
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927
 
  (eval "$ac_link") 2>&5
 
2420
echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2421
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 
2422
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
2423
  (eval $ac_link) 2>&5
2928
2424
  ac_status=$?
2929
2425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930
2426
  (exit $ac_status); }; then
2935
2431
for ac_file in conftest.exe conftest conftest.*; do
2936
2432
  test -f "$ac_file" || continue
2937
2433
  case $ac_file in
2938
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2434
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2939
2435
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2436
          export ac_cv_exeext
2940
2437
          break;;
2941
2438
    * ) break;;
2942
2439
  esac
2950
2447
fi
2951
2448
 
2952
2449
rm -f conftest$ac_cv_exeext
2953
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2954
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2450
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2451
echo "${ECHO_T}$ac_cv_exeext" >&6
2955
2452
 
2956
2453
rm -f conftest.$ac_ext
2957
2454
EXEEXT=$ac_cv_exeext
2958
2455
ac_exeext=$EXEEXT
2959
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2960
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2456
echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2457
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2961
2458
if test "${ac_cv_objext+set}" = set; then
2962
2459
  echo $ECHO_N "(cached) $ECHO_C" >&6
2963
2460
else
2977
2474
}
2978
2475
_ACEOF
2979
2476
rm -f conftest.o conftest.obj
2980
 
if { (ac_try="$ac_compile"
2981
 
case "(($ac_try" in
2982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983
 
  *) ac_try_echo=$ac_try;;
2984
 
esac
2985
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986
 
  (eval "$ac_compile") 2>&5
 
2477
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2478
  (eval $ac_compile) 2>&5
2987
2479
  ac_status=$?
2988
2480
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989
2481
  (exit $ac_status); }; then
2990
 
  for ac_file in conftest.o conftest.obj conftest.*; do
2991
 
  test -f "$ac_file" || continue;
 
2482
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2992
2483
  case $ac_file in
2993
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2484
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2994
2485
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2995
2486
       break;;
2996
2487
  esac
3008
2499
 
3009
2500
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3010
2501
fi
3011
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3012
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2502
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2503
echo "${ECHO_T}$ac_cv_objext" >&6
3013
2504
OBJEXT=$ac_cv_objext
3014
2505
ac_objext=$OBJEXT
3015
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3016
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2506
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2507
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3017
2508
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3018
2509
  echo $ECHO_N "(cached) $ECHO_C" >&6
3019
2510
else
3036
2527
}
3037
2528
_ACEOF
3038
2529
rm -f conftest.$ac_objext
3039
 
if { (ac_try="$ac_compile"
3040
 
case "(($ac_try" in
3041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042
 
  *) ac_try_echo=$ac_try;;
3043
 
esac
3044
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3045
 
  (eval "$ac_compile") 2>conftest.er1
 
2530
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2531
  (eval $ac_compile) 2>conftest.er1
3046
2532
  ac_status=$?
3047
2533
  grep -v '^ *+' conftest.er1 >conftest.err
3048
2534
  rm -f conftest.er1
3049
2535
  cat conftest.err >&5
3050
2536
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051
 
  (exit $ac_status); } && {
3052
 
         test -z "$ac_c_werror_flag" ||
3053
 
         test ! -s conftest.err
3054
 
       } && test -s conftest.$ac_objext; then
 
2537
  (exit $ac_status); } &&
 
2538
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2539
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2540
  (eval $ac_try) 2>&5
 
2541
  ac_status=$?
 
2542
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2543
  (exit $ac_status); }; } &&
 
2544
         { ac_try='test -s conftest.$ac_objext'
 
2545
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2546
  (eval $ac_try) 2>&5
 
2547
  ac_status=$?
 
2548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2549
  (exit $ac_status); }; }; then
3055
2550
  ac_compiler_gnu=yes
3056
2551
else
3057
2552
  echo "$as_me: failed program was:" >&5
3058
2553
sed 's/^/| /' conftest.$ac_ext >&5
3059
2554
 
3060
 
        ac_compiler_gnu=no
 
2555
ac_compiler_gnu=no
3061
2556
fi
3062
 
 
3063
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2557
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3064
2558
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3065
2559
 
3066
2560
fi
3067
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3068
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 
2561
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2562
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3069
2563
GCC=`test $ac_compiler_gnu = yes && echo yes`
3070
2564
ac_test_CFLAGS=${CFLAGS+set}
3071
2565
ac_save_CFLAGS=$CFLAGS
3072
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3073
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2566
CFLAGS="-g"
 
2567
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2568
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3074
2569
if test "${ac_cv_prog_cc_g+set}" = set; then
3075
2570
  echo $ECHO_N "(cached) $ECHO_C" >&6
3076
2571
else
3077
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3078
 
   ac_c_werror_flag=yes
3079
 
   ac_cv_prog_cc_g=no
3080
 
   CFLAGS="-g"
3081
 
   cat >conftest.$ac_ext <<_ACEOF
3082
 
/* confdefs.h.  */
3083
 
_ACEOF
3084
 
cat confdefs.h >>conftest.$ac_ext
3085
 
cat >>conftest.$ac_ext <<_ACEOF
3086
 
/* end confdefs.h.  */
3087
 
 
3088
 
int
3089
 
main ()
3090
 
{
3091
 
 
3092
 
  ;
3093
 
  return 0;
3094
 
}
3095
 
_ACEOF
3096
 
rm -f conftest.$ac_objext
3097
 
if { (ac_try="$ac_compile"
3098
 
case "(($ac_try" in
3099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100
 
  *) ac_try_echo=$ac_try;;
3101
 
esac
3102
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103
 
  (eval "$ac_compile") 2>conftest.er1
3104
 
  ac_status=$?
3105
 
  grep -v '^ *+' conftest.er1 >conftest.err
3106
 
  rm -f conftest.er1
3107
 
  cat conftest.err >&5
3108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109
 
  (exit $ac_status); } && {
3110
 
         test -z "$ac_c_werror_flag" ||
3111
 
         test ! -s conftest.err
3112
 
       } && test -s conftest.$ac_objext; then
3113
 
  ac_cv_prog_cc_g=yes
3114
 
else
3115
 
  echo "$as_me: failed program was:" >&5
3116
 
sed 's/^/| /' conftest.$ac_ext >&5
3117
 
 
3118
 
        CFLAGS=""
3119
 
      cat >conftest.$ac_ext <<_ACEOF
3120
 
/* confdefs.h.  */
3121
 
_ACEOF
3122
 
cat confdefs.h >>conftest.$ac_ext
3123
 
cat >>conftest.$ac_ext <<_ACEOF
3124
 
/* end confdefs.h.  */
3125
 
 
3126
 
int
3127
 
main ()
3128
 
{
3129
 
 
3130
 
  ;
3131
 
  return 0;
3132
 
}
3133
 
_ACEOF
3134
 
rm -f conftest.$ac_objext
3135
 
if { (ac_try="$ac_compile"
3136
 
case "(($ac_try" in
3137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
 
  *) ac_try_echo=$ac_try;;
3139
 
esac
3140
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141
 
  (eval "$ac_compile") 2>conftest.er1
3142
 
  ac_status=$?
3143
 
  grep -v '^ *+' conftest.er1 >conftest.err
3144
 
  rm -f conftest.er1
3145
 
  cat conftest.err >&5
3146
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147
 
  (exit $ac_status); } && {
3148
 
         test -z "$ac_c_werror_flag" ||
3149
 
         test ! -s conftest.err
3150
 
       } && test -s conftest.$ac_objext; then
3151
 
  :
3152
 
else
3153
 
  echo "$as_me: failed program was:" >&5
3154
 
sed 's/^/| /' conftest.$ac_ext >&5
3155
 
 
3156
 
        ac_c_werror_flag=$ac_save_c_werror_flag
3157
 
         CFLAGS="-g"
3158
 
         cat >conftest.$ac_ext <<_ACEOF
3159
 
/* confdefs.h.  */
3160
 
_ACEOF
3161
 
cat confdefs.h >>conftest.$ac_ext
3162
 
cat >>conftest.$ac_ext <<_ACEOF
3163
 
/* end confdefs.h.  */
3164
 
 
3165
 
int
3166
 
main ()
3167
 
{
3168
 
 
3169
 
  ;
3170
 
  return 0;
3171
 
}
3172
 
_ACEOF
3173
 
rm -f conftest.$ac_objext
3174
 
if { (ac_try="$ac_compile"
3175
 
case "(($ac_try" in
3176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177
 
  *) ac_try_echo=$ac_try;;
3178
 
esac
3179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3180
 
  (eval "$ac_compile") 2>conftest.er1
3181
 
  ac_status=$?
3182
 
  grep -v '^ *+' conftest.er1 >conftest.err
3183
 
  rm -f conftest.er1
3184
 
  cat conftest.err >&5
3185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186
 
  (exit $ac_status); } && {
3187
 
         test -z "$ac_c_werror_flag" ||
3188
 
         test ! -s conftest.err
3189
 
       } && test -s conftest.$ac_objext; then
3190
 
  ac_cv_prog_cc_g=yes
3191
 
else
3192
 
  echo "$as_me: failed program was:" >&5
3193
 
sed 's/^/| /' conftest.$ac_ext >&5
3194
 
 
3195
 
 
3196
 
fi
3197
 
 
3198
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199
 
fi
3200
 
 
3201
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3202
 
fi
3203
 
 
3204
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3206
 
fi
3207
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3208
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
2572
  cat >conftest.$ac_ext <<_ACEOF
 
2573
/* confdefs.h.  */
 
2574
_ACEOF
 
2575
cat confdefs.h >>conftest.$ac_ext
 
2576
cat >>conftest.$ac_ext <<_ACEOF
 
2577
/* end confdefs.h.  */
 
2578
 
 
2579
int
 
2580
main ()
 
2581
{
 
2582
 
 
2583
  ;
 
2584
  return 0;
 
2585
}
 
2586
_ACEOF
 
2587
rm -f conftest.$ac_objext
 
2588
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2589
  (eval $ac_compile) 2>conftest.er1
 
2590
  ac_status=$?
 
2591
  grep -v '^ *+' conftest.er1 >conftest.err
 
2592
  rm -f conftest.er1
 
2593
  cat conftest.err >&5
 
2594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2595
  (exit $ac_status); } &&
 
2596
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2597
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2598
  (eval $ac_try) 2>&5
 
2599
  ac_status=$?
 
2600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2601
  (exit $ac_status); }; } &&
 
2602
         { ac_try='test -s conftest.$ac_objext'
 
2603
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2604
  (eval $ac_try) 2>&5
 
2605
  ac_status=$?
 
2606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2607
  (exit $ac_status); }; }; then
 
2608
  ac_cv_prog_cc_g=yes
 
2609
else
 
2610
  echo "$as_me: failed program was:" >&5
 
2611
sed 's/^/| /' conftest.$ac_ext >&5
 
2612
 
 
2613
ac_cv_prog_cc_g=no
 
2614
fi
 
2615
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2616
fi
 
2617
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2618
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3209
2619
if test "$ac_test_CFLAGS" = set; then
3210
2620
  CFLAGS=$ac_save_CFLAGS
3211
2621
elif test $ac_cv_prog_cc_g = yes; then
3221
2631
    CFLAGS=
3222
2632
  fi
3223
2633
fi
3224
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3225
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3226
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
2634
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 
2635
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 
2636
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3227
2637
  echo $ECHO_N "(cached) $ECHO_C" >&6
3228
2638
else
3229
 
  ac_cv_prog_cc_c89=no
 
2639
  ac_cv_prog_cc_stdc=no
3230
2640
ac_save_CC=$CC
3231
2641
cat >conftest.$ac_ext <<_ACEOF
3232
2642
/* confdefs.h.  */
3260
2670
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3261
2671
   function prototypes and stuff, but not '\xHH' hex character constants.
3262
2672
   These don't provoke an error unfortunately, instead are silently treated
3263
 
   as 'x'.  The following induces an error, until -std is added to get
 
2673
   as 'x'.  The following induces an error, until -std1 is added to get
3264
2674
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3265
2675
   array size at least.  It's necessary to write '\x00'==0 to get something
3266
 
   that's true only with -std.  */
 
2676
   that's true only with -std1.  */
3267
2677
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3268
2678
 
3269
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3270
 
   inside strings and character constants.  */
3271
 
#define FOO(x) 'x'
3272
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3273
 
 
3274
2679
int test (int i, double x);
3275
2680
struct s1 {int (*f) (int a);};
3276
2681
struct s2 {int (*f) (double a);};
3285
2690
  return 0;
3286
2691
}
3287
2692
_ACEOF
3288
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3289
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2693
# Don't try gcc -ansi; that turns off useful extensions and
 
2694
# breaks some systems' header files.
 
2695
# AIX                   -qlanglvl=ansi
 
2696
# Ultrix and OSF/1      -std1
 
2697
# HP-UX 10.20 and later -Ae
 
2698
# HP-UX older versions  -Aa -D_HPUX_SOURCE
 
2699
# SVR4                  -Xc -D__EXTENSIONS__
 
2700
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3290
2701
do
3291
2702
  CC="$ac_save_CC $ac_arg"
3292
2703
  rm -f conftest.$ac_objext
3293
 
if { (ac_try="$ac_compile"
3294
 
case "(($ac_try" in
3295
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296
 
  *) ac_try_echo=$ac_try;;
3297
 
esac
3298
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299
 
  (eval "$ac_compile") 2>conftest.er1
 
2704
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2705
  (eval $ac_compile) 2>conftest.er1
3300
2706
  ac_status=$?
3301
2707
  grep -v '^ *+' conftest.er1 >conftest.err
3302
2708
  rm -f conftest.er1
3303
2709
  cat conftest.err >&5
3304
2710
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305
 
  (exit $ac_status); } && {
3306
 
         test -z "$ac_c_werror_flag" ||
3307
 
         test ! -s conftest.err
3308
 
       } && test -s conftest.$ac_objext; then
3309
 
  ac_cv_prog_cc_c89=$ac_arg
 
2711
  (exit $ac_status); } &&
 
2712
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2713
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2714
  (eval $ac_try) 2>&5
 
2715
  ac_status=$?
 
2716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2717
  (exit $ac_status); }; } &&
 
2718
         { ac_try='test -s conftest.$ac_objext'
 
2719
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2720
  (eval $ac_try) 2>&5
 
2721
  ac_status=$?
 
2722
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2723
  (exit $ac_status); }; }; then
 
2724
  ac_cv_prog_cc_stdc=$ac_arg
 
2725
break
3310
2726
else
3311
2727
  echo "$as_me: failed program was:" >&5
3312
2728
sed 's/^/| /' conftest.$ac_ext >&5
3313
2729
 
3314
 
 
3315
2730
fi
3316
 
 
3317
 
rm -f core conftest.err conftest.$ac_objext
3318
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
2731
rm -f conftest.err conftest.$ac_objext
3319
2732
done
3320
 
rm -f conftest.$ac_ext
 
2733
rm -f conftest.$ac_ext conftest.$ac_objext
3321
2734
CC=$ac_save_CC
3322
2735
 
3323
2736
fi
3324
 
# AC_CACHE_VAL
3325
 
case "x$ac_cv_prog_cc_c89" in
3326
 
  x)
3327
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3328
 
echo "${ECHO_T}none needed" >&6; } ;;
3329
 
  xno)
3330
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3331
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
2737
 
 
2738
case "x$ac_cv_prog_cc_stdc" in
 
2739
  x|xno)
 
2740
    echo "$as_me:$LINENO: result: none needed" >&5
 
2741
echo "${ECHO_T}none needed" >&6 ;;
3332
2742
  *)
3333
 
    CC="$CC $ac_cv_prog_cc_c89"
3334
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3335
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
2743
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 
2744
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 
2745
    CC="$CC $ac_cv_prog_cc_stdc" ;;
3336
2746
esac
3337
2747
 
3338
 
 
 
2748
# Some people use a C++ compiler to compile C.  Since we use `exit',
 
2749
# in C++ we need to declare it.  In case someone uses the same compiler
 
2750
# for both compiling C and C++ we need to have the C++ compiler decide
 
2751
# the declaration of exit, since it's the most demanding environment.
 
2752
cat >conftest.$ac_ext <<_ACEOF
 
2753
#ifndef __cplusplus
 
2754
  choke me
 
2755
#endif
 
2756
_ACEOF
 
2757
rm -f conftest.$ac_objext
 
2758
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2759
  (eval $ac_compile) 2>conftest.er1
 
2760
  ac_status=$?
 
2761
  grep -v '^ *+' conftest.er1 >conftest.err
 
2762
  rm -f conftest.er1
 
2763
  cat conftest.err >&5
 
2764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2765
  (exit $ac_status); } &&
 
2766
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2767
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2768
  (eval $ac_try) 2>&5
 
2769
  ac_status=$?
 
2770
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2771
  (exit $ac_status); }; } &&
 
2772
         { ac_try='test -s conftest.$ac_objext'
 
2773
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2774
  (eval $ac_try) 2>&5
 
2775
  ac_status=$?
 
2776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2777
  (exit $ac_status); }; }; then
 
2778
  for ac_declaration in \
 
2779
   '' \
 
2780
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
2781
   'extern "C" void std::exit (int); using std::exit;' \
 
2782
   'extern "C" void exit (int) throw ();' \
 
2783
   'extern "C" void exit (int);' \
 
2784
   'void exit (int);'
 
2785
do
 
2786
  cat >conftest.$ac_ext <<_ACEOF
 
2787
/* confdefs.h.  */
 
2788
_ACEOF
 
2789
cat confdefs.h >>conftest.$ac_ext
 
2790
cat >>conftest.$ac_ext <<_ACEOF
 
2791
/* end confdefs.h.  */
 
2792
$ac_declaration
 
2793
#include <stdlib.h>
 
2794
int
 
2795
main ()
 
2796
{
 
2797
exit (42);
 
2798
  ;
 
2799
  return 0;
 
2800
}
 
2801
_ACEOF
 
2802
rm -f conftest.$ac_objext
 
2803
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2804
  (eval $ac_compile) 2>conftest.er1
 
2805
  ac_status=$?
 
2806
  grep -v '^ *+' conftest.er1 >conftest.err
 
2807
  rm -f conftest.er1
 
2808
  cat conftest.err >&5
 
2809
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2810
  (exit $ac_status); } &&
 
2811
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2812
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2813
  (eval $ac_try) 2>&5
 
2814
  ac_status=$?
 
2815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2816
  (exit $ac_status); }; } &&
 
2817
         { ac_try='test -s conftest.$ac_objext'
 
2818
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2819
  (eval $ac_try) 2>&5
 
2820
  ac_status=$?
 
2821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2822
  (exit $ac_status); }; }; then
 
2823
  :
 
2824
else
 
2825
  echo "$as_me: failed program was:" >&5
 
2826
sed 's/^/| /' conftest.$ac_ext >&5
 
2827
 
 
2828
continue
 
2829
fi
 
2830
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2831
  cat >conftest.$ac_ext <<_ACEOF
 
2832
/* confdefs.h.  */
 
2833
_ACEOF
 
2834
cat confdefs.h >>conftest.$ac_ext
 
2835
cat >>conftest.$ac_ext <<_ACEOF
 
2836
/* end confdefs.h.  */
 
2837
$ac_declaration
 
2838
int
 
2839
main ()
 
2840
{
 
2841
exit (42);
 
2842
  ;
 
2843
  return 0;
 
2844
}
 
2845
_ACEOF
 
2846
rm -f conftest.$ac_objext
 
2847
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
2848
  (eval $ac_compile) 2>conftest.er1
 
2849
  ac_status=$?
 
2850
  grep -v '^ *+' conftest.er1 >conftest.err
 
2851
  rm -f conftest.er1
 
2852
  cat conftest.err >&5
 
2853
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2854
  (exit $ac_status); } &&
 
2855
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2856
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2857
  (eval $ac_try) 2>&5
 
2858
  ac_status=$?
 
2859
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2860
  (exit $ac_status); }; } &&
 
2861
         { ac_try='test -s conftest.$ac_objext'
 
2862
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2863
  (eval $ac_try) 2>&5
 
2864
  ac_status=$?
 
2865
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2866
  (exit $ac_status); }; }; then
 
2867
  break
 
2868
else
 
2869
  echo "$as_me: failed program was:" >&5
 
2870
sed 's/^/| /' conftest.$ac_ext >&5
 
2871
 
 
2872
fi
 
2873
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2874
done
 
2875
rm -f conftest*
 
2876
if test -n "$ac_declaration"; then
 
2877
  echo '#ifdef __cplusplus' >>confdefs.h
 
2878
  echo $ac_declaration      >>confdefs.h
 
2879
  echo '#endif'             >>confdefs.h
 
2880
fi
 
2881
 
 
2882
else
 
2883
  echo "$as_me: failed program was:" >&5
 
2884
sed 's/^/| /' conftest.$ac_ext >&5
 
2885
 
 
2886
fi
 
2887
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3339
2888
ac_ext=c
3340
2889
ac_cpp='$CPP $CPPFLAGS'
3341
2890
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343
2892
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344
2893
DEPDIR="${am__leading_dot}deps"
3345
2894
 
3346
 
ac_config_commands="$ac_config_commands depfiles"
 
2895
          ac_config_commands="$ac_config_commands depfiles"
3347
2896
 
3348
2897
 
3349
2898
am_make=${MAKE-make}
3353
2902
.PHONY: am__doit
3354
2903
END
3355
2904
# If we don't find an include directive, just comment out the code.
3356
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3357
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2905
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2906
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3358
2907
am__include="#"
3359
2908
am__quote=
3360
2909
_am_result=none
3381
2930
fi
3382
2931
 
3383
2932
 
3384
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3385
 
echo "${ECHO_T}$_am_result" >&6; }
 
2933
echo "$as_me:$LINENO: result: $_am_result" >&5
 
2934
echo "${ECHO_T}$_am_result" >&6
3386
2935
rm -f confinc confmf
3387
2936
 
3388
 
# Check whether --enable-dependency-tracking was given.
 
2937
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3389
2938
if test "${enable_dependency_tracking+set}" = set; then
3390
 
  enableval=$enable_dependency_tracking;
3391
 
fi
 
2939
  enableval="$enable_dependency_tracking"
3392
2940
 
 
2941
fi;
3393
2942
if test "x$enable_dependency_tracking" != xno; then
3394
2943
  am_depcomp="$ac_aux_dir/depcomp"
3395
2944
  AMDEPBACKSLASH='\'
3396
2945
fi
3397
 
 if test "x$enable_dependency_tracking" != xno; then
 
2946
 
 
2947
 
 
2948
if test "x$enable_dependency_tracking" != xno; then
3398
2949
  AMDEP_TRUE=
3399
2950
  AMDEP_FALSE='#'
3400
2951
else
3404
2955
 
3405
2956
 
3406
2957
 
 
2958
 
3407
2959
depcc="$CC"   am_compiler_list=
3408
2960
 
3409
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3410
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
2961
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
2962
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3411
2963
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3412
2964
  echo $ECHO_N "(cached) $ECHO_C" >&6
3413
2965
else
3471
3023
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3472
3024
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3473
3025
         >/dev/null 2>conftest.err &&
3474
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3475
3026
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3476
3027
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3477
3028
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3497
3048
fi
3498
3049
 
3499
3050
fi
3500
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3501
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3051
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3052
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3502
3053
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3503
3054
 
3504
 
 if
 
3055
 
 
3056
 
 
3057
if
3505
3058
  test "x$enable_dependency_tracking" != xno \
3506
3059
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3507
3060
  am__fastdepCC_TRUE=
3513
3066
 
3514
3067
 
3515
3068
 
3516
 
# Check whether --enable-static was given.
 
3069
# Check whether --enable-static or --disable-static was given.
3517
3070
if test "${enable_static+set}" = set; then
3518
 
  enableval=$enable_static; p=${PACKAGE-default}
 
3071
  enableval="$enable_static"
 
3072
  p=${PACKAGE-default}
3519
3073
    case $enableval in
3520
3074
    yes) enable_static=yes ;;
3521
3075
    no) enable_static=no ;;
3534
3088
    esac
3535
3089
else
3536
3090
  enable_static=no
3537
 
fi
3538
 
 
3539
 
 
3540
 
 
3541
 
# Check whether --enable-shared was given.
 
3091
fi;
 
3092
 
 
3093
 
 
3094
# Check whether --enable-shared or --disable-shared was given.
3542
3095
if test "${enable_shared+set}" = set; then
3543
 
  enableval=$enable_shared; p=${PACKAGE-default}
 
3096
  enableval="$enable_shared"
 
3097
  p=${PACKAGE-default}
3544
3098
    case $enableval in
3545
3099
    yes) enable_shared=yes ;;
3546
3100
    no) enable_shared=no ;;
3559
3113
    esac
3560
3114
else
3561
3115
  enable_shared=yes
3562
 
fi
3563
 
 
3564
 
 
3565
 
# Check whether --enable-fast-install was given.
 
3116
fi;
 
3117
 
 
3118
# Check whether --enable-fast-install or --disable-fast-install was given.
3566
3119
if test "${enable_fast_install+set}" = set; then
3567
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
3120
  enableval="$enable_fast_install"
 
3121
  p=${PACKAGE-default}
3568
3122
    case $enableval in
3569
3123
    yes) enable_fast_install=yes ;;
3570
3124
    no) enable_fast_install=no ;;
3583
3137
    esac
3584
3138
else
3585
3139
  enable_fast_install=yes
3586
 
fi
3587
 
 
 
3140
fi;
3588
3141
 
3589
3142
# Make sure we can run config.sub.
3590
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3591
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3592
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
3143
$ac_config_sub sun4 >/dev/null 2>&1 ||
 
3144
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
3145
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3593
3146
   { (exit 1); exit 1; }; }
3594
3147
 
3595
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3596
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
3148
echo "$as_me:$LINENO: checking build system type" >&5
 
3149
echo $ECHO_N "checking build system type... $ECHO_C" >&6
3597
3150
if test "${ac_cv_build+set}" = set; then
3598
3151
  echo $ECHO_N "(cached) $ECHO_C" >&6
3599
3152
else
3600
 
  ac_build_alias=$build_alias
3601
 
test "x$ac_build_alias" = x &&
3602
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3603
 
test "x$ac_build_alias" = x &&
 
3153
  ac_cv_build_alias=$build_alias
 
3154
test -z "$ac_cv_build_alias" &&
 
3155
  ac_cv_build_alias=`$ac_config_guess`
 
3156
test -z "$ac_cv_build_alias" &&
3604
3157
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3605
3158
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3606
3159
   { (exit 1); exit 1; }; }
3607
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3608
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3609
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
3160
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 
3161
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 
3162
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3610
3163
   { (exit 1); exit 1; }; }
3611
3164
 
3612
3165
fi
3613
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3614
 
echo "${ECHO_T}$ac_cv_build" >&6; }
3615
 
case $ac_cv_build in
3616
 
*-*-*) ;;
3617
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3618
 
echo "$as_me: error: invalid value of canonical build" >&2;}
3619
 
   { (exit 1); exit 1; }; };;
3620
 
esac
 
3166
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3167
echo "${ECHO_T}$ac_cv_build" >&6
3621
3168
build=$ac_cv_build
3622
 
ac_save_IFS=$IFS; IFS='-'
3623
 
set x $ac_cv_build
3624
 
shift
3625
 
build_cpu=$1
3626
 
build_vendor=$2
3627
 
shift; shift
3628
 
# Remember, the first character of IFS is used to create $*,
3629
 
# except with old shells:
3630
 
build_os=$*
3631
 
IFS=$ac_save_IFS
3632
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3633
 
 
3634
 
 
3635
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3636
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
3169
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
3170
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
3171
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
3172
 
 
3173
 
 
3174
echo "$as_me:$LINENO: checking host system type" >&5
 
3175
echo $ECHO_N "checking host system type... $ECHO_C" >&6
3637
3176
if test "${ac_cv_host+set}" = set; then
3638
3177
  echo $ECHO_N "(cached) $ECHO_C" >&6
3639
3178
else
3640
 
  if test "x$host_alias" = x; then
3641
 
  ac_cv_host=$ac_cv_build
3642
 
else
3643
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3644
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3645
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
3179
  ac_cv_host_alias=$host_alias
 
3180
test -z "$ac_cv_host_alias" &&
 
3181
  ac_cv_host_alias=$ac_cv_build_alias
 
3182
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 
3183
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 
3184
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3646
3185
   { (exit 1); exit 1; }; }
3647
 
fi
3648
3186
 
3649
3187
fi
3650
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3651
 
echo "${ECHO_T}$ac_cv_host" >&6; }
3652
 
case $ac_cv_host in
3653
 
*-*-*) ;;
3654
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3655
 
echo "$as_me: error: invalid value of canonical host" >&2;}
3656
 
   { (exit 1); exit 1; }; };;
3657
 
esac
 
3188
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3189
echo "${ECHO_T}$ac_cv_host" >&6
3658
3190
host=$ac_cv_host
3659
 
ac_save_IFS=$IFS; IFS='-'
3660
 
set x $ac_cv_host
3661
 
shift
3662
 
host_cpu=$1
3663
 
host_vendor=$2
3664
 
shift; shift
3665
 
# Remember, the first character of IFS is used to create $*,
3666
 
# except with old shells:
3667
 
host_os=$*
3668
 
IFS=$ac_save_IFS
3669
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3670
 
 
3671
 
 
3672
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3673
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
3191
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
3192
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
3193
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
3194
 
 
3195
 
 
3196
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3197
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3674
3198
if test "${lt_cv_path_SED+set}" = set; then
3675
3199
  echo $ECHO_N "(cached) $ECHO_C" >&6
3676
3200
else
3723
3247
fi
3724
3248
 
3725
3249
SED=$lt_cv_path_SED
3726
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3727
 
echo "${ECHO_T}$SED" >&6; }
3728
 
 
3729
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3730
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3731
 
if test "${ac_cv_path_GREP+set}" = set; then
3732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3733
 
else
3734
 
  # Extract the first word of "grep ggrep" to use in msg output
3735
 
if test -z "$GREP"; then
3736
 
set dummy grep ggrep; ac_prog_name=$2
3737
 
if test "${ac_cv_path_GREP+set}" = set; then
3738
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3739
 
else
3740
 
  ac_path_GREP_found=false
3741
 
# Loop through the user's path and test for each of PROGNAME-LIST
3742
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3744
 
do
3745
 
  IFS=$as_save_IFS
3746
 
  test -z "$as_dir" && as_dir=.
3747
 
  for ac_prog in grep ggrep; do
3748
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3749
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3750
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3751
 
    # Check for GNU ac_path_GREP and select it if it is found.
3752
 
  # Check for GNU $ac_path_GREP
3753
 
case `"$ac_path_GREP" --version 2>&1` in
3754
 
*GNU*)
3755
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3756
 
*)
3757
 
  ac_count=0
3758
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3759
 
  while :
3760
 
  do
3761
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3762
 
    mv "conftest.tmp" "conftest.in"
3763
 
    cp "conftest.in" "conftest.nl"
3764
 
    echo 'GREP' >> "conftest.nl"
3765
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3766
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3767
 
    ac_count=`expr $ac_count + 1`
3768
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3769
 
      # Best one so far, save it but keep looking for a better one
3770
 
      ac_cv_path_GREP="$ac_path_GREP"
3771
 
      ac_path_GREP_max=$ac_count
3772
 
    fi
3773
 
    # 10*(2^10) chars as input seems more than enough
3774
 
    test $ac_count -gt 10 && break
3775
 
  done
3776
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3777
 
esac
3778
 
 
3779
 
 
3780
 
    $ac_path_GREP_found && break 3
3781
 
  done
3782
 
done
3783
 
 
3784
 
done
3785
 
IFS=$as_save_IFS
3786
 
 
3787
 
 
3788
 
fi
3789
 
 
3790
 
GREP="$ac_cv_path_GREP"
3791
 
if test -z "$GREP"; then
3792
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3793
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3794
 
   { (exit 1); exit 1; }; }
3795
 
fi
3796
 
 
3797
 
else
3798
 
  ac_cv_path_GREP=$GREP
3799
 
fi
3800
 
 
3801
 
 
3802
 
fi
3803
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3804
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3805
 
 GREP="$ac_cv_path_GREP"
3806
 
 
3807
 
 
3808
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3809
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3810
 
if test "${ac_cv_path_EGREP+set}" = set; then
3811
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3812
 
else
3813
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3814
 
   then ac_cv_path_EGREP="$GREP -E"
3815
 
   else
3816
 
     # Extract the first word of "egrep" to use in msg output
3817
 
if test -z "$EGREP"; then
3818
 
set dummy egrep; ac_prog_name=$2
3819
 
if test "${ac_cv_path_EGREP+set}" = set; then
3820
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3821
 
else
3822
 
  ac_path_EGREP_found=false
3823
 
# Loop through the user's path and test for each of PROGNAME-LIST
3824
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3826
 
do
3827
 
  IFS=$as_save_IFS
3828
 
  test -z "$as_dir" && as_dir=.
3829
 
  for ac_prog in egrep; do
3830
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3831
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3832
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3833
 
    # Check for GNU ac_path_EGREP and select it if it is found.
3834
 
  # Check for GNU $ac_path_EGREP
3835
 
case `"$ac_path_EGREP" --version 2>&1` in
3836
 
*GNU*)
3837
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3838
 
*)
3839
 
  ac_count=0
3840
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3841
 
  while :
3842
 
  do
3843
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3844
 
    mv "conftest.tmp" "conftest.in"
3845
 
    cp "conftest.in" "conftest.nl"
3846
 
    echo 'EGREP' >> "conftest.nl"
3847
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3848
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3849
 
    ac_count=`expr $ac_count + 1`
3850
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3851
 
      # Best one so far, save it but keep looking for a better one
3852
 
      ac_cv_path_EGREP="$ac_path_EGREP"
3853
 
      ac_path_EGREP_max=$ac_count
3854
 
    fi
3855
 
    # 10*(2^10) chars as input seems more than enough
3856
 
    test $ac_count -gt 10 && break
3857
 
  done
3858
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3859
 
esac
3860
 
 
3861
 
 
3862
 
    $ac_path_EGREP_found && break 3
3863
 
  done
3864
 
done
3865
 
 
3866
 
done
3867
 
IFS=$as_save_IFS
3868
 
 
3869
 
 
3870
 
fi
3871
 
 
3872
 
EGREP="$ac_cv_path_EGREP"
3873
 
if test -z "$EGREP"; then
3874
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3875
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3876
 
   { (exit 1); exit 1; }; }
3877
 
fi
3878
 
 
3879
 
else
3880
 
  ac_cv_path_EGREP=$EGREP
3881
 
fi
3882
 
 
3883
 
 
3884
 
   fi
3885
 
fi
3886
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3887
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3888
 
 EGREP="$ac_cv_path_EGREP"
3889
 
 
3890
 
 
3891
 
 
3892
 
# Check whether --with-gnu-ld was given.
 
3250
echo "$as_me:$LINENO: result: $SED" >&5
 
3251
echo "${ECHO_T}$SED" >&6
 
3252
 
 
3253
echo "$as_me:$LINENO: checking for egrep" >&5
 
3254
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 
3255
if test "${ac_cv_prog_egrep+set}" = set; then
 
3256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3257
else
 
3258
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 
3259
    then ac_cv_prog_egrep='grep -E'
 
3260
    else ac_cv_prog_egrep='egrep'
 
3261
    fi
 
3262
fi
 
3263
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 
3264
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 
3265
 EGREP=$ac_cv_prog_egrep
 
3266
 
 
3267
 
 
3268
 
 
3269
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3893
3270
if test "${with_gnu_ld+set}" = set; then
3894
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
3271
  withval="$with_gnu_ld"
 
3272
  test "$withval" = no || with_gnu_ld=yes
3895
3273
else
3896
3274
  with_gnu_ld=no
3897
 
fi
3898
 
 
 
3275
fi;
3899
3276
ac_prog=ld
3900
3277
if test "$GCC" = yes; then
3901
3278
  # Check if gcc -print-prog-name=ld gives a path.
3902
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3903
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
3279
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3280
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3904
3281
  case $host in
3905
3282
  *-*-mingw*)
3906
3283
    # gcc leaves a trailing carriage return which upsets mingw
3929
3306
    ;;
3930
3307
  esac
3931
3308
elif test "$with_gnu_ld" = yes; then
3932
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
3933
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
3309
  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
3310
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3934
3311
else
3935
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3936
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
3312
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
3313
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3937
3314
fi
3938
3315
if test "${lt_cv_path_LD+set}" = set; then
3939
3316
  echo $ECHO_N "(cached) $ECHO_C" >&6
3966
3343
 
3967
3344
LD="$lt_cv_path_LD"
3968
3345
if test -n "$LD"; then
3969
 
  { echo "$as_me:$LINENO: result: $LD" >&5
3970
 
echo "${ECHO_T}$LD" >&6; }
 
3346
  echo "$as_me:$LINENO: result: $LD" >&5
 
3347
echo "${ECHO_T}$LD" >&6
3971
3348
else
3972
 
  { echo "$as_me:$LINENO: result: no" >&5
3973
 
echo "${ECHO_T}no" >&6; }
 
3349
  echo "$as_me:$LINENO: result: no" >&5
 
3350
echo "${ECHO_T}no" >&6
3974
3351
fi
3975
3352
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3976
3353
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3977
3354
   { (exit 1); exit 1; }; }
3978
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3979
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
3355
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
3356
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3980
3357
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3981
3358
  echo $ECHO_N "(cached) $ECHO_C" >&6
3982
3359
else
3990
3367
  ;;
3991
3368
esac
3992
3369
fi
3993
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3994
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
3370
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
3371
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3995
3372
with_gnu_ld=$lt_cv_prog_gnu_ld
3996
3373
 
3997
3374
 
3998
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3999
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
3375
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
3376
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4000
3377
if test "${lt_cv_ld_reload_flag+set}" = set; then
4001
3378
  echo $ECHO_N "(cached) $ECHO_C" >&6
4002
3379
else
4003
3380
  lt_cv_ld_reload_flag='-r'
4004
3381
fi
4005
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4006
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
3382
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
3383
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4007
3384
reload_flag=$lt_cv_ld_reload_flag
4008
3385
case $reload_flag in
4009
3386
"" | " "*) ;;
4020
3397
    ;;
4021
3398
esac
4022
3399
 
4023
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4024
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
3400
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
3401
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4025
3402
if test "${lt_cv_path_NM+set}" = set; then
4026
3403
  echo $ECHO_N "(cached) $ECHO_C" >&6
4027
3404
else
4069
3446
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4070
3447
fi
4071
3448
fi
4072
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4073
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
3449
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
3450
echo "${ECHO_T}$lt_cv_path_NM" >&6
4074
3451
NM="$lt_cv_path_NM"
4075
3452
 
4076
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4077
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
3453
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
3454
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4078
3455
LN_S=$as_ln_s
4079
3456
if test "$LN_S" = "ln -s"; then
4080
 
  { echo "$as_me:$LINENO: result: yes" >&5
4081
 
echo "${ECHO_T}yes" >&6; }
 
3457
  echo "$as_me:$LINENO: result: yes" >&5
 
3458
echo "${ECHO_T}yes" >&6
4082
3459
else
4083
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4084
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
3460
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
3461
echo "${ECHO_T}no, using $LN_S" >&6
4085
3462
fi
4086
3463
 
4087
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4088
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
3464
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
3465
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4089
3466
if test "${lt_cv_deplibs_check_method+set}" = set; then
4090
3467
  echo $ECHO_N "(cached) $ECHO_C" >&6
4091
3468
else
4135
3512
  lt_cv_deplibs_check_method=pass_all
4136
3513
  ;;
4137
3514
 
4138
 
freebsd* | dragonfly*)
 
3515
freebsd* | kfreebsd*-gnu | dragonfly*)
4139
3516
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4140
3517
    case $host_cpu in
4141
3518
    i*86 )
4189
3566
  ;;
4190
3567
 
4191
3568
# This must be Linux ELF.
4192
 
linux* | k*bsd*-gnu)
 
3569
linux*)
4193
3570
  lt_cv_deplibs_check_method=pass_all
4194
3571
  ;;
4195
3572
 
4196
 
netbsd* | netbsdelf*-gnu)
 
3573
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4197
3574
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4198
3575
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4199
3576
  else
4260
3637
esac
4261
3638
 
4262
3639
fi
4263
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4264
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
3640
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
3641
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4265
3642
file_magic_cmd=$lt_cv_file_magic_cmd
4266
3643
deplibs_check_method=$lt_cv_deplibs_check_method
4267
3644
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4279
3656
compiler=$CC
4280
3657
 
4281
3658
 
4282
 
# Check whether --enable-libtool-lock was given.
 
3659
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4283
3660
if test "${enable_libtool_lock+set}" = set; then
4284
 
  enableval=$enable_libtool_lock;
4285
 
fi
 
3661
  enableval="$enable_libtool_lock"
4286
3662
 
 
3663
fi;
4287
3664
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4288
3665
 
4289
3666
# Some flags need to be propagated to the compiler or linker for good
4310
3687
  ;;
4311
3688
*-*-irix6*)
4312
3689
  # Find out which ABI we are using.
4313
 
  echo '#line 4313 "configure"' > conftest.$ac_ext
 
3690
  echo '#line 3690 "configure"' > conftest.$ac_ext
4314
3691
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4315
3692
  (eval $ac_compile) 2>&5
4316
3693
  ac_status=$?
4395
3772
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4396
3773
  SAVE_CFLAGS="$CFLAGS"
4397
3774
  CFLAGS="$CFLAGS -belf"
4398
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4399
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
3775
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
3776
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4400
3777
if test "${lt_cv_cc_needs_belf+set}" = set; then
4401
3778
  echo $ECHO_N "(cached) $ECHO_C" >&6
4402
3779
else
4422
3799
}
4423
3800
_ACEOF
4424
3801
rm -f conftest.$ac_objext conftest$ac_exeext
4425
 
if { (ac_try="$ac_link"
4426
 
case "(($ac_try" in
4427
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4428
 
  *) ac_try_echo=$ac_try;;
4429
 
esac
4430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4431
 
  (eval "$ac_link") 2>conftest.er1
 
3802
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3803
  (eval $ac_link) 2>conftest.er1
4432
3804
  ac_status=$?
4433
3805
  grep -v '^ *+' conftest.er1 >conftest.err
4434
3806
  rm -f conftest.er1
4435
3807
  cat conftest.err >&5
4436
3808
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437
 
  (exit $ac_status); } && {
4438
 
         test -z "$ac_c_werror_flag" ||
4439
 
         test ! -s conftest.err
4440
 
       } && test -s conftest$ac_exeext &&
4441
 
       $as_test_x conftest$ac_exeext; then
 
3809
  (exit $ac_status); } &&
 
3810
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3811
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3812
  (eval $ac_try) 2>&5
 
3813
  ac_status=$?
 
3814
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3815
  (exit $ac_status); }; } &&
 
3816
         { ac_try='test -s conftest$ac_exeext'
 
3817
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3818
  (eval $ac_try) 2>&5
 
3819
  ac_status=$?
 
3820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3821
  (exit $ac_status); }; }; then
4442
3822
  lt_cv_cc_needs_belf=yes
4443
3823
else
4444
3824
  echo "$as_me: failed program was:" >&5
4445
3825
sed 's/^/| /' conftest.$ac_ext >&5
4446
3826
 
4447
 
        lt_cv_cc_needs_belf=no
 
3827
lt_cv_cc_needs_belf=no
4448
3828
fi
4449
 
 
4450
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
3829
rm -f conftest.err conftest.$ac_objext \
4451
3830
      conftest$ac_exeext conftest.$ac_ext
4452
3831
     ac_ext=c
4453
3832
ac_cpp='$CPP $CPPFLAGS'
4456
3835
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457
3836
 
4458
3837
fi
4459
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4460
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
3838
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
3839
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4461
3840
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4462
3841
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4463
3842
    CFLAGS="$SAVE_CFLAGS"
4494
3873
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495
3874
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496
3875
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4498
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3876
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3877
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4499
3878
# On Suns, sometimes $CPP names a directory.
4500
3879
if test -n "$CPP" && test -d "$CPP"; then
4501
3880
  CPP=
4529
3908
#endif
4530
3909
                     Syntax error
4531
3910
_ACEOF
4532
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4533
 
case "(($ac_try" in
4534
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535
 
  *) ac_try_echo=$ac_try;;
4536
 
esac
4537
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4538
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3911
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3912
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4539
3913
  ac_status=$?
4540
3914
  grep -v '^ *+' conftest.er1 >conftest.err
4541
3915
  rm -f conftest.er1
4542
3916
  cat conftest.err >&5
4543
3917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544
 
  (exit $ac_status); } >/dev/null && {
4545
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4546
 
         test ! -s conftest.err
4547
 
       }; then
 
3918
  (exit $ac_status); } >/dev/null; then
 
3919
  if test -s conftest.err; then
 
3920
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3921
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3922
  else
 
3923
    ac_cpp_err=
 
3924
  fi
 
3925
else
 
3926
  ac_cpp_err=yes
 
3927
fi
 
3928
if test -z "$ac_cpp_err"; then
4548
3929
  :
4549
3930
else
4550
3931
  echo "$as_me: failed program was:" >&5
4553
3934
  # Broken: fails on valid input.
4554
3935
continue
4555
3936
fi
4556
 
 
4557
3937
rm -f conftest.err conftest.$ac_ext
4558
3938
 
4559
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3939
  # OK, works on sane cases.  Now check whether non-existent headers
4560
3940
  # can be detected and how.
4561
3941
  cat >conftest.$ac_ext <<_ACEOF
4562
3942
/* confdefs.h.  */
4566
3946
/* end confdefs.h.  */
4567
3947
#include <ac_nonexistent.h>
4568
3948
_ACEOF
4569
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4570
 
case "(($ac_try" in
4571
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572
 
  *) ac_try_echo=$ac_try;;
4573
 
esac
4574
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4575
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3949
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
3950
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4576
3951
  ac_status=$?
4577
3952
  grep -v '^ *+' conftest.er1 >conftest.err
4578
3953
  rm -f conftest.er1
4579
3954
  cat conftest.err >&5
4580
3955
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581
 
  (exit $ac_status); } >/dev/null && {
4582
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4583
 
         test ! -s conftest.err
4584
 
       }; then
 
3956
  (exit $ac_status); } >/dev/null; then
 
3957
  if test -s conftest.err; then
 
3958
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3959
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
3960
  else
 
3961
    ac_cpp_err=
 
3962
  fi
 
3963
else
 
3964
  ac_cpp_err=yes
 
3965
fi
 
3966
if test -z "$ac_cpp_err"; then
4585
3967
  # Broken: success on invalid input.
4586
3968
continue
4587
3969
else
4592
3974
ac_preproc_ok=:
4593
3975
break
4594
3976
fi
4595
 
 
4596
3977
rm -f conftest.err conftest.$ac_ext
4597
3978
 
4598
3979
done
4610
3991
else
4611
3992
  ac_cv_prog_CPP=$CPP
4612
3993
fi
4613
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
4614
 
echo "${ECHO_T}$CPP" >&6; }
 
3994
echo "$as_me:$LINENO: result: $CPP" >&5
 
3995
echo "${ECHO_T}$CPP" >&6
4615
3996
ac_preproc_ok=false
4616
3997
for ac_c_preproc_warn_flag in '' yes
4617
3998
do
4634
4015
#endif
4635
4016
                     Syntax error
4636
4017
_ACEOF
4637
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4638
 
case "(($ac_try" in
4639
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640
 
  *) ac_try_echo=$ac_try;;
4641
 
esac
4642
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4018
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4019
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4644
4020
  ac_status=$?
4645
4021
  grep -v '^ *+' conftest.er1 >conftest.err
4646
4022
  rm -f conftest.er1
4647
4023
  cat conftest.err >&5
4648
4024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649
 
  (exit $ac_status); } >/dev/null && {
4650
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4651
 
         test ! -s conftest.err
4652
 
       }; then
 
4025
  (exit $ac_status); } >/dev/null; then
 
4026
  if test -s conftest.err; then
 
4027
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4028
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
4029
  else
 
4030
    ac_cpp_err=
 
4031
  fi
 
4032
else
 
4033
  ac_cpp_err=yes
 
4034
fi
 
4035
if test -z "$ac_cpp_err"; then
4653
4036
  :
4654
4037
else
4655
4038
  echo "$as_me: failed program was:" >&5
4658
4041
  # Broken: fails on valid input.
4659
4042
continue
4660
4043
fi
4661
 
 
4662
4044
rm -f conftest.err conftest.$ac_ext
4663
4045
 
4664
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4046
  # OK, works on sane cases.  Now check whether non-existent headers
4665
4047
  # can be detected and how.
4666
4048
  cat >conftest.$ac_ext <<_ACEOF
4667
4049
/* confdefs.h.  */
4671
4053
/* end confdefs.h.  */
4672
4054
#include <ac_nonexistent.h>
4673
4055
_ACEOF
4674
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4675
 
case "(($ac_try" in
4676
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4677
 
  *) ac_try_echo=$ac_try;;
4678
 
esac
4679
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4680
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4056
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4057
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4681
4058
  ac_status=$?
4682
4059
  grep -v '^ *+' conftest.er1 >conftest.err
4683
4060
  rm -f conftest.er1
4684
4061
  cat conftest.err >&5
4685
4062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686
 
  (exit $ac_status); } >/dev/null && {
4687
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4688
 
         test ! -s conftest.err
4689
 
       }; then
 
4063
  (exit $ac_status); } >/dev/null; then
 
4064
  if test -s conftest.err; then
 
4065
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4066
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
4067
  else
 
4068
    ac_cpp_err=
 
4069
  fi
 
4070
else
 
4071
  ac_cpp_err=yes
 
4072
fi
 
4073
if test -z "$ac_cpp_err"; then
4690
4074
  # Broken: success on invalid input.
4691
4075
continue
4692
4076
else
4697
4081
ac_preproc_ok=:
4698
4082
break
4699
4083
fi
4700
 
 
4701
4084
rm -f conftest.err conftest.$ac_ext
4702
4085
 
4703
4086
done
4720
4103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4721
4104
 
4722
4105
 
4723
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4724
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4106
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4107
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4725
4108
if test "${ac_cv_header_stdc+set}" = set; then
4726
4109
  echo $ECHO_N "(cached) $ECHO_C" >&6
4727
4110
else
4745
4128
}
4746
4129
_ACEOF
4747
4130
rm -f conftest.$ac_objext
4748
 
if { (ac_try="$ac_compile"
4749
 
case "(($ac_try" in
4750
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751
 
  *) ac_try_echo=$ac_try;;
4752
 
esac
4753
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754
 
  (eval "$ac_compile") 2>conftest.er1
 
4131
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4132
  (eval $ac_compile) 2>conftest.er1
4755
4133
  ac_status=$?
4756
4134
  grep -v '^ *+' conftest.er1 >conftest.err
4757
4135
  rm -f conftest.er1
4758
4136
  cat conftest.err >&5
4759
4137
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760
 
  (exit $ac_status); } && {
4761
 
         test -z "$ac_c_werror_flag" ||
4762
 
         test ! -s conftest.err
4763
 
       } && test -s conftest.$ac_objext; then
 
4138
  (exit $ac_status); } &&
 
4139
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4140
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4141
  (eval $ac_try) 2>&5
 
4142
  ac_status=$?
 
4143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4144
  (exit $ac_status); }; } &&
 
4145
         { ac_try='test -s conftest.$ac_objext'
 
4146
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4147
  (eval $ac_try) 2>&5
 
4148
  ac_status=$?
 
4149
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4150
  (exit $ac_status); }; }; then
4764
4151
  ac_cv_header_stdc=yes
4765
4152
else
4766
4153
  echo "$as_me: failed program was:" >&5
4767
4154
sed 's/^/| /' conftest.$ac_ext >&5
4768
4155
 
4769
 
        ac_cv_header_stdc=no
 
4156
ac_cv_header_stdc=no
4770
4157
fi
4771
 
 
4772
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4158
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4773
4159
 
4774
4160
if test $ac_cv_header_stdc = yes; then
4775
4161
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4825
4211
cat >>conftest.$ac_ext <<_ACEOF
4826
4212
/* end confdefs.h.  */
4827
4213
#include <ctype.h>
4828
 
#include <stdlib.h>
4829
4214
#if ((' ' & 0x0FF) == 0x020)
4830
4215
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4831
4216
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4845
4230
  for (i = 0; i < 256; i++)
4846
4231
    if (XOR (islower (i), ISLOWER (i))
4847
4232
        || toupper (i) != TOUPPER (i))
4848
 
      return 2;
4849
 
  return 0;
 
4233
      exit(2);
 
4234
  exit (0);
4850
4235
}
4851
4236
_ACEOF
4852
4237
rm -f conftest$ac_exeext
4853
 
if { (ac_try="$ac_link"
4854
 
case "(($ac_try" in
4855
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856
 
  *) ac_try_echo=$ac_try;;
4857
 
esac
4858
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4859
 
  (eval "$ac_link") 2>&5
 
4238
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
4239
  (eval $ac_link) 2>&5
4860
4240
  ac_status=$?
4861
4241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862
4242
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4863
 
  { (case "(($ac_try" in
4864
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865
 
  *) ac_try_echo=$ac_try;;
4866
 
esac
4867
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868
 
  (eval "$ac_try") 2>&5
 
4243
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4244
  (eval $ac_try) 2>&5
4869
4245
  ac_status=$?
4870
4246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871
4247
  (exit $ac_status); }; }; then
4878
4254
( exit $ac_status )
4879
4255
ac_cv_header_stdc=no
4880
4256
fi
4881
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4882
 
fi
4883
 
 
4884
 
 
4885
 
fi
4886
 
fi
4887
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4888
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4257
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4258
fi
 
4259
fi
 
4260
fi
 
4261
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4262
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4889
4263
if test $ac_cv_header_stdc = yes; then
4890
4264
 
4891
4265
cat >>confdefs.h <<\_ACEOF
4908
4282
                  inttypes.h stdint.h unistd.h
4909
4283
do
4910
4284
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4911
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4912
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4913
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4285
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4286
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4287
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4914
4288
  echo $ECHO_N "(cached) $ECHO_C" >&6
4915
4289
else
4916
4290
  cat >conftest.$ac_ext <<_ACEOF
4924
4298
#include <$ac_header>
4925
4299
_ACEOF
4926
4300
rm -f conftest.$ac_objext
4927
 
if { (ac_try="$ac_compile"
4928
 
case "(($ac_try" in
4929
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930
 
  *) ac_try_echo=$ac_try;;
4931
 
esac
4932
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933
 
  (eval "$ac_compile") 2>conftest.er1
 
4301
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4302
  (eval $ac_compile) 2>conftest.er1
4934
4303
  ac_status=$?
4935
4304
  grep -v '^ *+' conftest.er1 >conftest.err
4936
4305
  rm -f conftest.er1
4937
4306
  cat conftest.err >&5
4938
4307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939
 
  (exit $ac_status); } && {
4940
 
         test -z "$ac_c_werror_flag" ||
4941
 
         test ! -s conftest.err
4942
 
       } && test -s conftest.$ac_objext; then
 
4308
  (exit $ac_status); } &&
 
4309
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4310
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4311
  (eval $ac_try) 2>&5
 
4312
  ac_status=$?
 
4313
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4314
  (exit $ac_status); }; } &&
 
4315
         { ac_try='test -s conftest.$ac_objext'
 
4316
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4317
  (eval $ac_try) 2>&5
 
4318
  ac_status=$?
 
4319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4320
  (exit $ac_status); }; }; then
4943
4321
  eval "$as_ac_Header=yes"
4944
4322
else
4945
4323
  echo "$as_me: failed program was:" >&5
4946
4324
sed 's/^/| /' conftest.$ac_ext >&5
4947
4325
 
4948
 
        eval "$as_ac_Header=no"
4949
 
fi
4950
 
 
4951
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952
 
fi
4953
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4954
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4955
 
echo "${ECHO_T}$ac_res" >&6; }
 
4326
eval "$as_ac_Header=no"
 
4327
fi
 
4328
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4329
fi
 
4330
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4331
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4956
4332
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4957
4333
  cat >>confdefs.h <<_ACEOF
4958
4334
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4967
4343
for ac_header in dlfcn.h
4968
4344
do
4969
4345
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4970
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4971
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4972
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4973
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4346
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
4347
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4348
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4349
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4974
4350
  echo $ECHO_N "(cached) $ECHO_C" >&6
4975
4351
fi
4976
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4977
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4978
 
echo "${ECHO_T}$ac_res" >&6; }
 
4352
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4353
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4979
4354
else
4980
4355
  # Is the header compilable?
4981
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4982
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4356
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4357
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4983
4358
cat >conftest.$ac_ext <<_ACEOF
4984
4359
/* confdefs.h.  */
4985
4360
_ACEOF
4990
4365
#include <$ac_header>
4991
4366
_ACEOF
4992
4367
rm -f conftest.$ac_objext
4993
 
if { (ac_try="$ac_compile"
4994
 
case "(($ac_try" in
4995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4996
 
  *) ac_try_echo=$ac_try;;
4997
 
esac
4998
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4999
 
  (eval "$ac_compile") 2>conftest.er1
 
4368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4369
  (eval $ac_compile) 2>conftest.er1
5000
4370
  ac_status=$?
5001
4371
  grep -v '^ *+' conftest.er1 >conftest.err
5002
4372
  rm -f conftest.er1
5003
4373
  cat conftest.err >&5
5004
4374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
 
  (exit $ac_status); } && {
5006
 
         test -z "$ac_c_werror_flag" ||
5007
 
         test ! -s conftest.err
5008
 
       } && test -s conftest.$ac_objext; then
 
4375
  (exit $ac_status); } &&
 
4376
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4377
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4378
  (eval $ac_try) 2>&5
 
4379
  ac_status=$?
 
4380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4381
  (exit $ac_status); }; } &&
 
4382
         { ac_try='test -s conftest.$ac_objext'
 
4383
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4384
  (eval $ac_try) 2>&5
 
4385
  ac_status=$?
 
4386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4387
  (exit $ac_status); }; }; then
5009
4388
  ac_header_compiler=yes
5010
4389
else
5011
4390
  echo "$as_me: failed program was:" >&5
5012
4391
sed 's/^/| /' conftest.$ac_ext >&5
5013
4392
 
5014
 
        ac_header_compiler=no
 
4393
ac_header_compiler=no
5015
4394
fi
5016
 
 
5017
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5019
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4395
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4396
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4397
echo "${ECHO_T}$ac_header_compiler" >&6
5020
4398
 
5021
4399
# Is the header present?
5022
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5023
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4400
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4401
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5024
4402
cat >conftest.$ac_ext <<_ACEOF
5025
4403
/* confdefs.h.  */
5026
4404
_ACEOF
5029
4407
/* end confdefs.h.  */
5030
4408
#include <$ac_header>
5031
4409
_ACEOF
5032
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5033
 
case "(($ac_try" in
5034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5035
 
  *) ac_try_echo=$ac_try;;
5036
 
esac
5037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5038
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4410
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4411
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5039
4412
  ac_status=$?
5040
4413
  grep -v '^ *+' conftest.er1 >conftest.err
5041
4414
  rm -f conftest.er1
5042
4415
  cat conftest.err >&5
5043
4416
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044
 
  (exit $ac_status); } >/dev/null && {
5045
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5046
 
         test ! -s conftest.err
5047
 
       }; then
 
4417
  (exit $ac_status); } >/dev/null; then
 
4418
  if test -s conftest.err; then
 
4419
    ac_cpp_err=$ac_c_preproc_warn_flag
 
4420
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
4421
  else
 
4422
    ac_cpp_err=
 
4423
  fi
 
4424
else
 
4425
  ac_cpp_err=yes
 
4426
fi
 
4427
if test -z "$ac_cpp_err"; then
5048
4428
  ac_header_preproc=yes
5049
4429
else
5050
4430
  echo "$as_me: failed program was:" >&5
5052
4432
 
5053
4433
  ac_header_preproc=no
5054
4434
fi
5055
 
 
5056
4435
rm -f conftest.err conftest.$ac_ext
5057
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5058
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4436
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4437
echo "${ECHO_T}$ac_header_preproc" >&6
5059
4438
 
5060
4439
# So?  What about this header?
5061
4440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5079
4458
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5080
4459
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5081
4460
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5082
 
 
 
4461
    (
 
4462
      cat <<\_ASBOX
 
4463
## ------------------------------------- ##
 
4464
## Report this to the pidgin-otr lists.  ##
 
4465
## ------------------------------------- ##
 
4466
_ASBOX
 
4467
    ) |
 
4468
      sed "s/^/$as_me: WARNING:     /" >&2
5083
4469
    ;;
5084
4470
esac
5085
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5086
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5087
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4471
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4472
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
4473
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5088
4474
  echo $ECHO_N "(cached) $ECHO_C" >&6
5089
4475
else
5090
4476
  eval "$as_ac_Header=\$ac_header_preproc"
5091
4477
fi
5092
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5093
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5094
 
echo "${ECHO_T}$ac_res" >&6; }
 
4478
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
4479
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5095
4480
 
5096
4481
fi
5097
4482
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5103
4488
 
5104
4489
done
5105
4490
 
5106
 
ac_ext=cpp
 
4491
ac_ext=cc
5107
4492
ac_cpp='$CXXCPP $CPPFLAGS'
5108
4493
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109
4494
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110
4495
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5111
 
if test -z "$CXX"; then
5112
 
  if test -n "$CCC"; then
5113
 
    CXX=$CCC
5114
 
  else
5115
 
    if test -n "$ac_tool_prefix"; then
5116
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
4496
if test -n "$ac_tool_prefix"; then
 
4497
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5117
4498
  do
5118
4499
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119
4500
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5120
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4501
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4502
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5122
4503
if test "${ac_cv_prog_CXX+set}" = set; then
5123
4504
  echo $ECHO_N "(cached) $ECHO_C" >&6
5124
4505
else
5131
4512
  IFS=$as_save_IFS
5132
4513
  test -z "$as_dir" && as_dir=.
5133
4514
  for ac_exec_ext in '' $ac_executable_extensions; do
5134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4515
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5135
4516
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5136
4517
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137
4518
    break 2
5138
4519
  fi
5139
4520
done
5140
4521
done
5141
 
IFS=$as_save_IFS
5142
4522
 
5143
4523
fi
5144
4524
fi
5145
4525
CXX=$ac_cv_prog_CXX
5146
4526
if test -n "$CXX"; then
5147
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5148
 
echo "${ECHO_T}$CXX" >&6; }
 
4527
  echo "$as_me:$LINENO: result: $CXX" >&5
 
4528
echo "${ECHO_T}$CXX" >&6
5149
4529
else
5150
 
  { echo "$as_me:$LINENO: result: no" >&5
5151
 
echo "${ECHO_T}no" >&6; }
 
4530
  echo "$as_me:$LINENO: result: no" >&5
 
4531
echo "${ECHO_T}no" >&6
5152
4532
fi
5153
4533
 
5154
 
 
5155
4534
    test -n "$CXX" && break
5156
4535
  done
5157
4536
fi
5158
4537
if test -z "$CXX"; then
5159
4538
  ac_ct_CXX=$CXX
5160
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
4539
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5161
4540
do
5162
4541
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5163
4542
set dummy $ac_prog; ac_word=$2
5164
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5165
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4543
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4544
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5166
4545
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5167
4546
  echo $ECHO_N "(cached) $ECHO_C" >&6
5168
4547
else
5175
4554
  IFS=$as_save_IFS
5176
4555
  test -z "$as_dir" && as_dir=.
5177
4556
  for ac_exec_ext in '' $ac_executable_extensions; do
5178
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4557
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5179
4558
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5180
4559
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181
4560
    break 2
5182
4561
  fi
5183
4562
done
5184
4563
done
5185
 
IFS=$as_save_IFS
5186
4564
 
5187
4565
fi
5188
4566
fi
5189
4567
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5190
4568
if test -n "$ac_ct_CXX"; then
5191
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5192
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
4569
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
4570
echo "${ECHO_T}$ac_ct_CXX" >&6
5193
4571
else
5194
 
  { echo "$as_me:$LINENO: result: no" >&5
5195
 
echo "${ECHO_T}no" >&6; }
 
4572
  echo "$as_me:$LINENO: result: no" >&5
 
4573
echo "${ECHO_T}no" >&6
5196
4574
fi
5197
4575
 
5198
 
 
5199
4576
  test -n "$ac_ct_CXX" && break
5200
4577
done
5201
 
 
5202
 
  if test "x$ac_ct_CXX" = x; then
5203
 
    CXX="g++"
5204
 
  else
5205
 
    case $cross_compiling:$ac_tool_warned in
5206
 
yes:)
5207
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208
 
whose name does not start with the host triplet.  If you think this
5209
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5210
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211
 
whose name does not start with the host triplet.  If you think this
5212
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213
 
ac_tool_warned=yes ;;
5214
 
esac
5215
 
    CXX=$ac_ct_CXX
5216
 
  fi
5217
 
fi
5218
 
 
5219
 
  fi
5220
 
fi
 
4578
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 
4579
 
 
4580
  CXX=$ac_ct_CXX
 
4581
fi
 
4582
 
 
4583
 
5221
4584
# Provide some information about the compiler.
5222
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
4585
echo "$as_me:$LINENO:" \
 
4586
     "checking for C++ compiler version" >&5
5223
4587
ac_compiler=`set X $ac_compile; echo $2`
5224
 
{ (ac_try="$ac_compiler --version >&5"
5225
 
case "(($ac_try" in
5226
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227
 
  *) ac_try_echo=$ac_try;;
5228
 
esac
5229
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5230
 
  (eval "$ac_compiler --version >&5") 2>&5
5231
 
  ac_status=$?
5232
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233
 
  (exit $ac_status); }
5234
 
{ (ac_try="$ac_compiler -v >&5"
5235
 
case "(($ac_try" in
5236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237
 
  *) ac_try_echo=$ac_try;;
5238
 
esac
5239
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5240
 
  (eval "$ac_compiler -v >&5") 2>&5
5241
 
  ac_status=$?
5242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243
 
  (exit $ac_status); }
5244
 
{ (ac_try="$ac_compiler -V >&5"
5245
 
case "(($ac_try" in
5246
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247
 
  *) ac_try_echo=$ac_try;;
5248
 
esac
5249
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5250
 
  (eval "$ac_compiler -V >&5") 2>&5
 
4588
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
4589
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
4590
  ac_status=$?
 
4591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4592
  (exit $ac_status); }
 
4593
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
4594
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
4595
  ac_status=$?
 
4596
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4597
  (exit $ac_status); }
 
4598
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
4599
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5251
4600
  ac_status=$?
5252
4601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253
4602
  (exit $ac_status); }
5254
4603
 
5255
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5256
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
4604
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
4605
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5257
4606
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5258
4607
  echo $ECHO_N "(cached) $ECHO_C" >&6
5259
4608
else
5276
4625
}
5277
4626
_ACEOF
5278
4627
rm -f conftest.$ac_objext
5279
 
if { (ac_try="$ac_compile"
5280
 
case "(($ac_try" in
5281
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282
 
  *) ac_try_echo=$ac_try;;
5283
 
esac
5284
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5285
 
  (eval "$ac_compile") 2>conftest.er1
 
4628
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4629
  (eval $ac_compile) 2>conftest.er1
5286
4630
  ac_status=$?
5287
4631
  grep -v '^ *+' conftest.er1 >conftest.err
5288
4632
  rm -f conftest.er1
5289
4633
  cat conftest.err >&5
5290
4634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291
 
  (exit $ac_status); } && {
5292
 
         test -z "$ac_cxx_werror_flag" ||
5293
 
         test ! -s conftest.err
5294
 
       } && test -s conftest.$ac_objext; then
 
4635
  (exit $ac_status); } &&
 
4636
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
4637
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4638
  (eval $ac_try) 2>&5
 
4639
  ac_status=$?
 
4640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4641
  (exit $ac_status); }; } &&
 
4642
         { ac_try='test -s conftest.$ac_objext'
 
4643
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4644
  (eval $ac_try) 2>&5
 
4645
  ac_status=$?
 
4646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4647
  (exit $ac_status); }; }; then
5295
4648
  ac_compiler_gnu=yes
5296
4649
else
5297
4650
  echo "$as_me: failed program was:" >&5
5298
4651
sed 's/^/| /' conftest.$ac_ext >&5
5299
4652
 
5300
 
        ac_compiler_gnu=no
 
4653
ac_compiler_gnu=no
5301
4654
fi
5302
 
 
5303
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4655
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5304
4656
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5305
4657
 
5306
4658
fi
5307
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5308
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
 
4659
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
4660
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5309
4661
GXX=`test $ac_compiler_gnu = yes && echo yes`
5310
4662
ac_test_CXXFLAGS=${CXXFLAGS+set}
5311
4663
ac_save_CXXFLAGS=$CXXFLAGS
5312
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5313
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
4664
CXXFLAGS="-g"
 
4665
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
4666
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5314
4667
if test "${ac_cv_prog_cxx_g+set}" = set; then
5315
4668
  echo $ECHO_N "(cached) $ECHO_C" >&6
5316
4669
else
5317
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5318
 
   ac_cxx_werror_flag=yes
5319
 
   ac_cv_prog_cxx_g=no
5320
 
   CXXFLAGS="-g"
5321
 
   cat >conftest.$ac_ext <<_ACEOF
5322
 
/* confdefs.h.  */
5323
 
_ACEOF
5324
 
cat confdefs.h >>conftest.$ac_ext
5325
 
cat >>conftest.$ac_ext <<_ACEOF
5326
 
/* end confdefs.h.  */
5327
 
 
5328
 
int
5329
 
main ()
5330
 
{
5331
 
 
5332
 
  ;
5333
 
  return 0;
5334
 
}
5335
 
_ACEOF
5336
 
rm -f conftest.$ac_objext
5337
 
if { (ac_try="$ac_compile"
5338
 
case "(($ac_try" in
5339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5340
 
  *) ac_try_echo=$ac_try;;
5341
 
esac
5342
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343
 
  (eval "$ac_compile") 2>conftest.er1
5344
 
  ac_status=$?
5345
 
  grep -v '^ *+' conftest.er1 >conftest.err
5346
 
  rm -f conftest.er1
5347
 
  cat conftest.err >&5
5348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349
 
  (exit $ac_status); } && {
5350
 
         test -z "$ac_cxx_werror_flag" ||
5351
 
         test ! -s conftest.err
5352
 
       } && test -s conftest.$ac_objext; then
5353
 
  ac_cv_prog_cxx_g=yes
5354
 
else
5355
 
  echo "$as_me: failed program was:" >&5
5356
 
sed 's/^/| /' conftest.$ac_ext >&5
5357
 
 
5358
 
        CXXFLAGS=""
5359
 
      cat >conftest.$ac_ext <<_ACEOF
5360
 
/* confdefs.h.  */
5361
 
_ACEOF
5362
 
cat confdefs.h >>conftest.$ac_ext
5363
 
cat >>conftest.$ac_ext <<_ACEOF
5364
 
/* end confdefs.h.  */
5365
 
 
5366
 
int
5367
 
main ()
5368
 
{
5369
 
 
5370
 
  ;
5371
 
  return 0;
5372
 
}
5373
 
_ACEOF
5374
 
rm -f conftest.$ac_objext
5375
 
if { (ac_try="$ac_compile"
5376
 
case "(($ac_try" in
5377
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378
 
  *) ac_try_echo=$ac_try;;
5379
 
esac
5380
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381
 
  (eval "$ac_compile") 2>conftest.er1
5382
 
  ac_status=$?
5383
 
  grep -v '^ *+' conftest.er1 >conftest.err
5384
 
  rm -f conftest.er1
5385
 
  cat conftest.err >&5
5386
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387
 
  (exit $ac_status); } && {
5388
 
         test -z "$ac_cxx_werror_flag" ||
5389
 
         test ! -s conftest.err
5390
 
       } && test -s conftest.$ac_objext; then
5391
 
  :
5392
 
else
5393
 
  echo "$as_me: failed program was:" >&5
5394
 
sed 's/^/| /' conftest.$ac_ext >&5
5395
 
 
5396
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5397
 
         CXXFLAGS="-g"
5398
 
         cat >conftest.$ac_ext <<_ACEOF
5399
 
/* confdefs.h.  */
5400
 
_ACEOF
5401
 
cat confdefs.h >>conftest.$ac_ext
5402
 
cat >>conftest.$ac_ext <<_ACEOF
5403
 
/* end confdefs.h.  */
5404
 
 
5405
 
int
5406
 
main ()
5407
 
{
5408
 
 
5409
 
  ;
5410
 
  return 0;
5411
 
}
5412
 
_ACEOF
5413
 
rm -f conftest.$ac_objext
5414
 
if { (ac_try="$ac_compile"
5415
 
case "(($ac_try" in
5416
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5417
 
  *) ac_try_echo=$ac_try;;
5418
 
esac
5419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5420
 
  (eval "$ac_compile") 2>conftest.er1
5421
 
  ac_status=$?
5422
 
  grep -v '^ *+' conftest.er1 >conftest.err
5423
 
  rm -f conftest.er1
5424
 
  cat conftest.err >&5
5425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426
 
  (exit $ac_status); } && {
5427
 
         test -z "$ac_cxx_werror_flag" ||
5428
 
         test ! -s conftest.err
5429
 
       } && test -s conftest.$ac_objext; then
5430
 
  ac_cv_prog_cxx_g=yes
5431
 
else
5432
 
  echo "$as_me: failed program was:" >&5
5433
 
sed 's/^/| /' conftest.$ac_ext >&5
5434
 
 
5435
 
 
5436
 
fi
5437
 
 
5438
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439
 
fi
5440
 
 
5441
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442
 
fi
5443
 
 
5444
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5445
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5446
 
fi
5447
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5448
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
4670
  cat >conftest.$ac_ext <<_ACEOF
 
4671
/* confdefs.h.  */
 
4672
_ACEOF
 
4673
cat confdefs.h >>conftest.$ac_ext
 
4674
cat >>conftest.$ac_ext <<_ACEOF
 
4675
/* end confdefs.h.  */
 
4676
 
 
4677
int
 
4678
main ()
 
4679
{
 
4680
 
 
4681
  ;
 
4682
  return 0;
 
4683
}
 
4684
_ACEOF
 
4685
rm -f conftest.$ac_objext
 
4686
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4687
  (eval $ac_compile) 2>conftest.er1
 
4688
  ac_status=$?
 
4689
  grep -v '^ *+' conftest.er1 >conftest.err
 
4690
  rm -f conftest.er1
 
4691
  cat conftest.err >&5
 
4692
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4693
  (exit $ac_status); } &&
 
4694
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
4695
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4696
  (eval $ac_try) 2>&5
 
4697
  ac_status=$?
 
4698
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4699
  (exit $ac_status); }; } &&
 
4700
         { ac_try='test -s conftest.$ac_objext'
 
4701
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4702
  (eval $ac_try) 2>&5
 
4703
  ac_status=$?
 
4704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4705
  (exit $ac_status); }; }; then
 
4706
  ac_cv_prog_cxx_g=yes
 
4707
else
 
4708
  echo "$as_me: failed program was:" >&5
 
4709
sed 's/^/| /' conftest.$ac_ext >&5
 
4710
 
 
4711
ac_cv_prog_cxx_g=no
 
4712
fi
 
4713
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4714
fi
 
4715
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
4716
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5449
4717
if test "$ac_test_CXXFLAGS" = set; then
5450
4718
  CXXFLAGS=$ac_save_CXXFLAGS
5451
4719
elif test $ac_cv_prog_cxx_g = yes; then
5461
4729
    CXXFLAGS=
5462
4730
  fi
5463
4731
fi
5464
 
ac_ext=cpp
 
4732
for ac_declaration in \
 
4733
   '' \
 
4734
   'extern "C" void std::exit (int) throw (); using std::exit;' \
 
4735
   'extern "C" void std::exit (int); using std::exit;' \
 
4736
   'extern "C" void exit (int) throw ();' \
 
4737
   'extern "C" void exit (int);' \
 
4738
   'void exit (int);'
 
4739
do
 
4740
  cat >conftest.$ac_ext <<_ACEOF
 
4741
/* confdefs.h.  */
 
4742
_ACEOF
 
4743
cat confdefs.h >>conftest.$ac_ext
 
4744
cat >>conftest.$ac_ext <<_ACEOF
 
4745
/* end confdefs.h.  */
 
4746
$ac_declaration
 
4747
#include <stdlib.h>
 
4748
int
 
4749
main ()
 
4750
{
 
4751
exit (42);
 
4752
  ;
 
4753
  return 0;
 
4754
}
 
4755
_ACEOF
 
4756
rm -f conftest.$ac_objext
 
4757
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4758
  (eval $ac_compile) 2>conftest.er1
 
4759
  ac_status=$?
 
4760
  grep -v '^ *+' conftest.er1 >conftest.err
 
4761
  rm -f conftest.er1
 
4762
  cat conftest.err >&5
 
4763
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4764
  (exit $ac_status); } &&
 
4765
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
4766
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4767
  (eval $ac_try) 2>&5
 
4768
  ac_status=$?
 
4769
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4770
  (exit $ac_status); }; } &&
 
4771
         { ac_try='test -s conftest.$ac_objext'
 
4772
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4773
  (eval $ac_try) 2>&5
 
4774
  ac_status=$?
 
4775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4776
  (exit $ac_status); }; }; then
 
4777
  :
 
4778
else
 
4779
  echo "$as_me: failed program was:" >&5
 
4780
sed 's/^/| /' conftest.$ac_ext >&5
 
4781
 
 
4782
continue
 
4783
fi
 
4784
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4785
  cat >conftest.$ac_ext <<_ACEOF
 
4786
/* confdefs.h.  */
 
4787
_ACEOF
 
4788
cat confdefs.h >>conftest.$ac_ext
 
4789
cat >>conftest.$ac_ext <<_ACEOF
 
4790
/* end confdefs.h.  */
 
4791
$ac_declaration
 
4792
int
 
4793
main ()
 
4794
{
 
4795
exit (42);
 
4796
  ;
 
4797
  return 0;
 
4798
}
 
4799
_ACEOF
 
4800
rm -f conftest.$ac_objext
 
4801
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
4802
  (eval $ac_compile) 2>conftest.er1
 
4803
  ac_status=$?
 
4804
  grep -v '^ *+' conftest.er1 >conftest.err
 
4805
  rm -f conftest.er1
 
4806
  cat conftest.err >&5
 
4807
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4808
  (exit $ac_status); } &&
 
4809
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
4810
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4811
  (eval $ac_try) 2>&5
 
4812
  ac_status=$?
 
4813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4814
  (exit $ac_status); }; } &&
 
4815
         { ac_try='test -s conftest.$ac_objext'
 
4816
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4817
  (eval $ac_try) 2>&5
 
4818
  ac_status=$?
 
4819
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4820
  (exit $ac_status); }; }; then
 
4821
  break
 
4822
else
 
4823
  echo "$as_me: failed program was:" >&5
 
4824
sed 's/^/| /' conftest.$ac_ext >&5
 
4825
 
 
4826
fi
 
4827
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4828
done
 
4829
rm -f conftest*
 
4830
if test -n "$ac_declaration"; then
 
4831
  echo '#ifdef __cplusplus' >>confdefs.h
 
4832
  echo $ac_declaration      >>confdefs.h
 
4833
  echo '#endif'             >>confdefs.h
 
4834
fi
 
4835
 
 
4836
ac_ext=cc
5465
4837
ac_cpp='$CXXCPP $CPPFLAGS'
5466
4838
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467
4839
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5469
4841
 
5470
4842
depcc="$CXX"  am_compiler_list=
5471
4843
 
5472
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5473
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
4844
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4845
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5474
4846
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5475
4847
  echo $ECHO_N "(cached) $ECHO_C" >&6
5476
4848
else
5534
4906
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5535
4907
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5536
4908
         >/dev/null 2>conftest.err &&
5537
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5538
4909
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5539
4910
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5540
4911
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5560
4931
fi
5561
4932
 
5562
4933
fi
5563
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5564
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4934
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4935
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5565
4936
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5566
4937
 
5567
 
 if
 
4938
 
 
4939
 
 
4940
if
5568
4941
  test "x$enable_dependency_tracking" != xno \
5569
4942
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5570
4943
  am__fastdepCXX_TRUE=
5580
4953
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5581
4954
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5582
4955
    (test "X$CXX" != "Xg++"))) ; then
5583
 
  ac_ext=cpp
 
4956
  ac_ext=cc
5584
4957
ac_cpp='$CXXCPP $CPPFLAGS'
5585
4958
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5586
4959
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5587
4960
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5588
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5589
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
4961
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
4962
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5590
4963
if test -z "$CXXCPP"; then
5591
4964
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5592
4965
  echo $ECHO_N "(cached) $ECHO_C" >&6
5616
4989
#endif
5617
4990
                     Syntax error
5618
4991
_ACEOF
5619
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5620
 
case "(($ac_try" in
5621
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5622
 
  *) ac_try_echo=$ac_try;;
5623
 
esac
5624
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5625
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
4992
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
4993
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5626
4994
  ac_status=$?
5627
4995
  grep -v '^ *+' conftest.er1 >conftest.err
5628
4996
  rm -f conftest.er1
5629
4997
  cat conftest.err >&5
5630
4998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631
 
  (exit $ac_status); } >/dev/null && {
5632
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5633
 
         test ! -s conftest.err
5634
 
       }; then
 
4999
  (exit $ac_status); } >/dev/null; then
 
5000
  if test -s conftest.err; then
 
5001
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
5002
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
5003
  else
 
5004
    ac_cpp_err=
 
5005
  fi
 
5006
else
 
5007
  ac_cpp_err=yes
 
5008
fi
 
5009
if test -z "$ac_cpp_err"; then
5635
5010
  :
5636
5011
else
5637
5012
  echo "$as_me: failed program was:" >&5
5640
5015
  # Broken: fails on valid input.
5641
5016
continue
5642
5017
fi
5643
 
 
5644
5018
rm -f conftest.err conftest.$ac_ext
5645
5019
 
5646
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5020
  # OK, works on sane cases.  Now check whether non-existent headers
5647
5021
  # can be detected and how.
5648
5022
  cat >conftest.$ac_ext <<_ACEOF
5649
5023
/* confdefs.h.  */
5653
5027
/* end confdefs.h.  */
5654
5028
#include <ac_nonexistent.h>
5655
5029
_ACEOF
5656
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5657
 
case "(($ac_try" in
5658
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5659
 
  *) ac_try_echo=$ac_try;;
5660
 
esac
5661
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5662
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5030
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5031
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5663
5032
  ac_status=$?
5664
5033
  grep -v '^ *+' conftest.er1 >conftest.err
5665
5034
  rm -f conftest.er1
5666
5035
  cat conftest.err >&5
5667
5036
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668
 
  (exit $ac_status); } >/dev/null && {
5669
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5670
 
         test ! -s conftest.err
5671
 
       }; then
 
5037
  (exit $ac_status); } >/dev/null; then
 
5038
  if test -s conftest.err; then
 
5039
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
5040
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
5041
  else
 
5042
    ac_cpp_err=
 
5043
  fi
 
5044
else
 
5045
  ac_cpp_err=yes
 
5046
fi
 
5047
if test -z "$ac_cpp_err"; then
5672
5048
  # Broken: success on invalid input.
5673
5049
continue
5674
5050
else
5679
5055
ac_preproc_ok=:
5680
5056
break
5681
5057
fi
5682
 
 
5683
5058
rm -f conftest.err conftest.$ac_ext
5684
5059
 
5685
5060
done
5697
5072
else
5698
5073
  ac_cv_prog_CXXCPP=$CXXCPP
5699
5074
fi
5700
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5701
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
5075
echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5076
echo "${ECHO_T}$CXXCPP" >&6
5702
5077
ac_preproc_ok=false
5703
5078
for ac_cxx_preproc_warn_flag in '' yes
5704
5079
do
5721
5096
#endif
5722
5097
                     Syntax error
5723
5098
_ACEOF
5724
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5725
 
case "(($ac_try" in
5726
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5727
 
  *) ac_try_echo=$ac_try;;
5728
 
esac
5729
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5730
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5099
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5100
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5731
5101
  ac_status=$?
5732
5102
  grep -v '^ *+' conftest.er1 >conftest.err
5733
5103
  rm -f conftest.er1
5734
5104
  cat conftest.err >&5
5735
5105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736
 
  (exit $ac_status); } >/dev/null && {
5737
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5738
 
         test ! -s conftest.err
5739
 
       }; then
 
5106
  (exit $ac_status); } >/dev/null; then
 
5107
  if test -s conftest.err; then
 
5108
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
5109
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
5110
  else
 
5111
    ac_cpp_err=
 
5112
  fi
 
5113
else
 
5114
  ac_cpp_err=yes
 
5115
fi
 
5116
if test -z "$ac_cpp_err"; then
5740
5117
  :
5741
5118
else
5742
5119
  echo "$as_me: failed program was:" >&5
5745
5122
  # Broken: fails on valid input.
5746
5123
continue
5747
5124
fi
5748
 
 
5749
5125
rm -f conftest.err conftest.$ac_ext
5750
5126
 
5751
 
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5127
  # OK, works on sane cases.  Now check whether non-existent headers
5752
5128
  # can be detected and how.
5753
5129
  cat >conftest.$ac_ext <<_ACEOF
5754
5130
/* confdefs.h.  */
5758
5134
/* end confdefs.h.  */
5759
5135
#include <ac_nonexistent.h>
5760
5136
_ACEOF
5761
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5762
 
case "(($ac_try" in
5763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5764
 
  *) ac_try_echo=$ac_try;;
5765
 
esac
5766
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
5137
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
5138
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5768
5139
  ac_status=$?
5769
5140
  grep -v '^ *+' conftest.er1 >conftest.err
5770
5141
  rm -f conftest.er1
5771
5142
  cat conftest.err >&5
5772
5143
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773
 
  (exit $ac_status); } >/dev/null && {
5774
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5775
 
         test ! -s conftest.err
5776
 
       }; then
 
5144
  (exit $ac_status); } >/dev/null; then
 
5145
  if test -s conftest.err; then
 
5146
    ac_cpp_err=$ac_cxx_preproc_warn_flag
 
5147
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 
5148
  else
 
5149
    ac_cpp_err=
 
5150
  fi
 
5151
else
 
5152
  ac_cpp_err=yes
 
5153
fi
 
5154
if test -z "$ac_cpp_err"; then
5777
5155
  # Broken: success on invalid input.
5778
5156
continue
5779
5157
else
5784
5162
ac_preproc_ok=:
5785
5163
break
5786
5164
fi
5787
 
 
5788
5165
rm -f conftest.err conftest.$ac_ext
5789
5166
 
5790
5167
done
5800
5177
   { (exit 1); exit 1; }; }
5801
5178
fi
5802
5179
 
5803
 
ac_ext=cpp
 
5180
ac_ext=cc
5804
5181
ac_cpp='$CXXCPP $CPPFLAGS'
5805
5182
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5806
5183
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5814
5191
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815
5192
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5816
5193
if test -n "$ac_tool_prefix"; then
5817
 
  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
 
5194
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5818
5195
  do
5819
5196
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5820
5197
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5821
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5822
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5198
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5199
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5823
5200
if test "${ac_cv_prog_F77+set}" = set; then
5824
5201
  echo $ECHO_N "(cached) $ECHO_C" >&6
5825
5202
else
5832
5209
  IFS=$as_save_IFS
5833
5210
  test -z "$as_dir" && as_dir=.
5834
5211
  for ac_exec_ext in '' $ac_executable_extensions; do
5835
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5212
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836
5213
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5837
5214
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838
5215
    break 2
5839
5216
  fi
5840
5217
done
5841
5218
done
5842
 
IFS=$as_save_IFS
5843
5219
 
5844
5220
fi
5845
5221
fi
5846
5222
F77=$ac_cv_prog_F77
5847
5223
if test -n "$F77"; then
5848
 
  { echo "$as_me:$LINENO: result: $F77" >&5
5849
 
echo "${ECHO_T}$F77" >&6; }
 
5224
  echo "$as_me:$LINENO: result: $F77" >&5
 
5225
echo "${ECHO_T}$F77" >&6
5850
5226
else
5851
 
  { echo "$as_me:$LINENO: result: no" >&5
5852
 
echo "${ECHO_T}no" >&6; }
 
5227
  echo "$as_me:$LINENO: result: no" >&5
 
5228
echo "${ECHO_T}no" >&6
5853
5229
fi
5854
5230
 
5855
 
 
5856
5231
    test -n "$F77" && break
5857
5232
  done
5858
5233
fi
5859
5234
if test -z "$F77"; then
5860
5235
  ac_ct_F77=$F77
5861
 
  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
 
5236
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5862
5237
do
5863
5238
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5864
5239
set dummy $ac_prog; ac_word=$2
5865
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5866
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5240
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5241
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5867
5242
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5868
5243
  echo $ECHO_N "(cached) $ECHO_C" >&6
5869
5244
else
5876
5251
  IFS=$as_save_IFS
5877
5252
  test -z "$as_dir" && as_dir=.
5878
5253
  for ac_exec_ext in '' $ac_executable_extensions; do
5879
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5254
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880
5255
    ac_cv_prog_ac_ct_F77="$ac_prog"
5881
5256
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5882
5257
    break 2
5883
5258
  fi
5884
5259
done
5885
5260
done
5886
 
IFS=$as_save_IFS
5887
5261
 
5888
5262
fi
5889
5263
fi
5890
5264
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5891
5265
if test -n "$ac_ct_F77"; then
5892
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5893
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
 
5266
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
5267
echo "${ECHO_T}$ac_ct_F77" >&6
5894
5268
else
5895
 
  { echo "$as_me:$LINENO: result: no" >&5
5896
 
echo "${ECHO_T}no" >&6; }
 
5269
  echo "$as_me:$LINENO: result: no" >&5
 
5270
echo "${ECHO_T}no" >&6
5897
5271
fi
5898
5272
 
5899
 
 
5900
5273
  test -n "$ac_ct_F77" && break
5901
5274
done
5902
5275
 
5903
 
  if test "x$ac_ct_F77" = x; then
5904
 
    F77=""
5905
 
  else
5906
 
    case $cross_compiling:$ac_tool_warned in
5907
 
yes:)
5908
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5909
 
whose name does not start with the host triplet.  If you think this
5910
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5911
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5912
 
whose name does not start with the host triplet.  If you think this
5913
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5914
 
ac_tool_warned=yes ;;
5915
 
esac
5916
 
    F77=$ac_ct_F77
5917
 
  fi
 
5276
  F77=$ac_ct_F77
5918
5277
fi
5919
5278
 
5920
5279
 
5921
5280
# Provide some information about the compiler.
5922
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
5281
echo "$as_me:5281:" \
 
5282
     "checking for Fortran 77 compiler version" >&5
5923
5283
ac_compiler=`set X $ac_compile; echo $2`
5924
 
{ (ac_try="$ac_compiler --version >&5"
5925
 
case "(($ac_try" in
5926
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5927
 
  *) ac_try_echo=$ac_try;;
5928
 
esac
5929
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5930
 
  (eval "$ac_compiler --version >&5") 2>&5
5931
 
  ac_status=$?
5932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933
 
  (exit $ac_status); }
5934
 
{ (ac_try="$ac_compiler -v >&5"
5935
 
case "(($ac_try" in
5936
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5937
 
  *) ac_try_echo=$ac_try;;
5938
 
esac
5939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5940
 
  (eval "$ac_compiler -v >&5") 2>&5
5941
 
  ac_status=$?
5942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943
 
  (exit $ac_status); }
5944
 
{ (ac_try="$ac_compiler -V >&5"
5945
 
case "(($ac_try" in
5946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947
 
  *) ac_try_echo=$ac_try;;
5948
 
esac
5949
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950
 
  (eval "$ac_compiler -V >&5") 2>&5
 
5284
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 
5285
  (eval $ac_compiler --version </dev/null >&5) 2>&5
 
5286
  ac_status=$?
 
5287
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5288
  (exit $ac_status); }
 
5289
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 
5290
  (eval $ac_compiler -v </dev/null >&5) 2>&5
 
5291
  ac_status=$?
 
5292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5293
  (exit $ac_status); }
 
5294
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 
5295
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5951
5296
  ac_status=$?
5952
5297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953
5298
  (exit $ac_status); }
5957
5302
# input file.  (Note that this only needs to work for GNU compilers.)
5958
5303
ac_save_ext=$ac_ext
5959
5304
ac_ext=F
5960
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5961
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 
5305
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
5306
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5962
5307
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5963
5308
  echo $ECHO_N "(cached) $ECHO_C" >&6
5964
5309
else
5971
5316
      end
5972
5317
_ACEOF
5973
5318
rm -f conftest.$ac_objext
5974
 
if { (ac_try="$ac_compile"
5975
 
case "(($ac_try" in
5976
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5977
 
  *) ac_try_echo=$ac_try;;
5978
 
esac
5979
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5980
 
  (eval "$ac_compile") 2>conftest.er1
 
5319
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5320
  (eval $ac_compile) 2>conftest.er1
5981
5321
  ac_status=$?
5982
5322
  grep -v '^ *+' conftest.er1 >conftest.err
5983
5323
  rm -f conftest.er1
5984
5324
  cat conftest.err >&5
5985
5325
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986
 
  (exit $ac_status); } && {
5987
 
         test -z "$ac_f77_werror_flag" ||
5988
 
         test ! -s conftest.err
5989
 
       } && test -s conftest.$ac_objext; then
 
5326
  (exit $ac_status); } &&
 
5327
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
5328
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5329
  (eval $ac_try) 2>&5
 
5330
  ac_status=$?
 
5331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5332
  (exit $ac_status); }; } &&
 
5333
         { ac_try='test -s conftest.$ac_objext'
 
5334
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5335
  (eval $ac_try) 2>&5
 
5336
  ac_status=$?
 
5337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5338
  (exit $ac_status); }; }; then
5990
5339
  ac_compiler_gnu=yes
5991
5340
else
5992
5341
  echo "$as_me: failed program was:" >&5
5993
5342
sed 's/^/| /' conftest.$ac_ext >&5
5994
5343
 
5995
 
        ac_compiler_gnu=no
 
5344
ac_compiler_gnu=no
5996
5345
fi
5997
 
 
5998
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5346
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5999
5347
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6000
5348
 
6001
5349
fi
6002
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6003
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 
5350
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
5351
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6004
5352
ac_ext=$ac_save_ext
6005
5353
ac_test_FFLAGS=${FFLAGS+set}
6006
5354
ac_save_FFLAGS=$FFLAGS
6007
5355
FFLAGS=
6008
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6009
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 
5356
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
5357
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6010
5358
if test "${ac_cv_prog_f77_g+set}" = set; then
6011
5359
  echo $ECHO_N "(cached) $ECHO_C" >&6
6012
5360
else
6017
5365
      end
6018
5366
_ACEOF
6019
5367
rm -f conftest.$ac_objext
6020
 
if { (ac_try="$ac_compile"
6021
 
case "(($ac_try" in
6022
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6023
 
  *) ac_try_echo=$ac_try;;
6024
 
esac
6025
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6026
 
  (eval "$ac_compile") 2>conftest.er1
 
5368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5369
  (eval $ac_compile) 2>conftest.er1
6027
5370
  ac_status=$?
6028
5371
  grep -v '^ *+' conftest.er1 >conftest.err
6029
5372
  rm -f conftest.er1
6030
5373
  cat conftest.err >&5
6031
5374
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032
 
  (exit $ac_status); } && {
6033
 
         test -z "$ac_f77_werror_flag" ||
6034
 
         test ! -s conftest.err
6035
 
       } && test -s conftest.$ac_objext; then
 
5375
  (exit $ac_status); } &&
 
5376
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
5377
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5378
  (eval $ac_try) 2>&5
 
5379
  ac_status=$?
 
5380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5381
  (exit $ac_status); }; } &&
 
5382
         { ac_try='test -s conftest.$ac_objext'
 
5383
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5384
  (eval $ac_try) 2>&5
 
5385
  ac_status=$?
 
5386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5387
  (exit $ac_status); }; }; then
6036
5388
  ac_cv_prog_f77_g=yes
6037
5389
else
6038
5390
  echo "$as_me: failed program was:" >&5
6039
5391
sed 's/^/| /' conftest.$ac_ext >&5
6040
5392
 
6041
 
        ac_cv_prog_f77_g=no
6042
 
fi
6043
 
 
6044
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6045
 
 
6046
 
fi
6047
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6048
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 
5393
ac_cv_prog_f77_g=no
 
5394
fi
 
5395
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5396
 
 
5397
fi
 
5398
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
5399
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6049
5400
if test "$ac_test_FFLAGS" = set; then
6050
5401
  FFLAGS=$ac_save_FFLAGS
6051
5402
elif test $ac_cv_prog_f77_g = yes; then
6074
5425
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6075
5426
 
6076
5427
# find the maximum length of command line arguments
6077
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6078
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
5428
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5429
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6079
5430
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6080
5431
  echo $ECHO_N "(cached) $ECHO_C" >&6
6081
5432
else
6183
5534
fi
6184
5535
 
6185
5536
if test -n $lt_cv_sys_max_cmd_len ; then
6186
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6187
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
5537
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5538
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6188
5539
else
6189
 
  { echo "$as_me:$LINENO: result: none" >&5
6190
 
echo "${ECHO_T}none" >&6; }
 
5540
  echo "$as_me:$LINENO: result: none" >&5
 
5541
echo "${ECHO_T}none" >&6
6191
5542
fi
6192
5543
 
6193
5544
 
6194
5545
 
6195
5546
 
6196
5547
# Check for command to grab the raw symbol name followed by C symbol from nm.
6197
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6198
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
5548
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5549
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6199
5550
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6200
5551
  echo $ECHO_N "(cached) $ECHO_C" >&6
6201
5552
else
6230
5581
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6231
5582
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6232
5583
  ;;
6233
 
linux* | k*bsd*-gnu)
 
5584
linux*)
6234
5585
  if test "$host_cpu" = ia64; then
6235
5586
    symcode='[ABCDGIRSTW]'
6236
5587
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6399
5750
  lt_cv_sys_global_symbol_to_cdecl=
6400
5751
fi
6401
5752
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6402
 
  { echo "$as_me:$LINENO: result: failed" >&5
6403
 
echo "${ECHO_T}failed" >&6; }
 
5753
  echo "$as_me:$LINENO: result: failed" >&5
 
5754
echo "${ECHO_T}failed" >&6
6404
5755
else
6405
 
  { echo "$as_me:$LINENO: result: ok" >&5
6406
 
echo "${ECHO_T}ok" >&6; }
 
5756
  echo "$as_me:$LINENO: result: ok" >&5
 
5757
echo "${ECHO_T}ok" >&6
6407
5758
fi
6408
5759
 
6409
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6410
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
5760
echo "$as_me:$LINENO: checking for objdir" >&5
 
5761
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6411
5762
if test "${lt_cv_objdir+set}" = set; then
6412
5763
  echo $ECHO_N "(cached) $ECHO_C" >&6
6413
5764
else
6421
5772
fi
6422
5773
rmdir .libs 2>/dev/null
6423
5774
fi
6424
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6425
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
5775
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
5776
echo "${ECHO_T}$lt_cv_objdir" >&6
6426
5777
objdir=$lt_cv_objdir
6427
5778
 
6428
5779
 
6473
5824
if test -n "$ac_tool_prefix"; then
6474
5825
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6475
5826
set dummy ${ac_tool_prefix}ar; ac_word=$2
6476
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6477
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5827
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5828
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6478
5829
if test "${ac_cv_prog_AR+set}" = set; then
6479
5830
  echo $ECHO_N "(cached) $ECHO_C" >&6
6480
5831
else
6487
5838
  IFS=$as_save_IFS
6488
5839
  test -z "$as_dir" && as_dir=.
6489
5840
  for ac_exec_ext in '' $ac_executable_extensions; do
6490
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5841
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6491
5842
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6492
5843
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6493
5844
    break 2
6494
5845
  fi
6495
5846
done
6496
5847
done
6497
 
IFS=$as_save_IFS
6498
5848
 
6499
5849
fi
6500
5850
fi
6501
5851
AR=$ac_cv_prog_AR
6502
5852
if test -n "$AR"; then
6503
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6504
 
echo "${ECHO_T}$AR" >&6; }
 
5853
  echo "$as_me:$LINENO: result: $AR" >&5
 
5854
echo "${ECHO_T}$AR" >&6
6505
5855
else
6506
 
  { echo "$as_me:$LINENO: result: no" >&5
6507
 
echo "${ECHO_T}no" >&6; }
 
5856
  echo "$as_me:$LINENO: result: no" >&5
 
5857
echo "${ECHO_T}no" >&6
6508
5858
fi
6509
 
 
6510
5859
 
6511
5860
fi
6512
5861
if test -z "$ac_cv_prog_AR"; then
6513
5862
  ac_ct_AR=$AR
6514
5863
  # Extract the first word of "ar", so it can be a program name with args.
6515
5864
set dummy ar; ac_word=$2
6516
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6517
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5865
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5866
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6518
5867
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6519
5868
  echo $ECHO_N "(cached) $ECHO_C" >&6
6520
5869
else
6527
5876
  IFS=$as_save_IFS
6528
5877
  test -z "$as_dir" && as_dir=.
6529
5878
  for ac_exec_ext in '' $ac_executable_extensions; do
6530
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5879
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6531
5880
    ac_cv_prog_ac_ct_AR="ar"
6532
5881
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6533
5882
    break 2
6534
5883
  fi
6535
5884
done
6536
5885
done
6537
 
IFS=$as_save_IFS
6538
5886
 
 
5887
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6539
5888
fi
6540
5889
fi
6541
5890
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6542
5891
if test -n "$ac_ct_AR"; then
6543
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6544
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
5892
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5893
echo "${ECHO_T}$ac_ct_AR" >&6
6545
5894
else
6546
 
  { echo "$as_me:$LINENO: result: no" >&5
6547
 
echo "${ECHO_T}no" >&6; }
 
5895
  echo "$as_me:$LINENO: result: no" >&5
 
5896
echo "${ECHO_T}no" >&6
6548
5897
fi
6549
5898
 
6550
 
  if test "x$ac_ct_AR" = x; then
6551
 
    AR="false"
6552
 
  else
6553
 
    case $cross_compiling:$ac_tool_warned in
6554
 
yes:)
6555
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6556
 
whose name does not start with the host triplet.  If you think this
6557
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6558
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6559
 
whose name does not start with the host triplet.  If you think this
6560
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6561
 
ac_tool_warned=yes ;;
6562
 
esac
6563
 
    AR=$ac_ct_AR
6564
 
  fi
 
5899
  AR=$ac_ct_AR
6565
5900
else
6566
5901
  AR="$ac_cv_prog_AR"
6567
5902
fi
6569
5904
if test -n "$ac_tool_prefix"; then
6570
5905
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6571
5906
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6573
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5907
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5908
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6574
5909
if test "${ac_cv_prog_RANLIB+set}" = set; then
6575
5910
  echo $ECHO_N "(cached) $ECHO_C" >&6
6576
5911
else
6583
5918
  IFS=$as_save_IFS
6584
5919
  test -z "$as_dir" && as_dir=.
6585
5920
  for ac_exec_ext in '' $ac_executable_extensions; do
6586
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5921
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587
5922
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588
5923
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6589
5924
    break 2
6590
5925
  fi
6591
5926
done
6592
5927
done
6593
 
IFS=$as_save_IFS
6594
5928
 
6595
5929
fi
6596
5930
fi
6597
5931
RANLIB=$ac_cv_prog_RANLIB
6598
5932
if test -n "$RANLIB"; then
6599
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6600
 
echo "${ECHO_T}$RANLIB" >&6; }
 
5933
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5934
echo "${ECHO_T}$RANLIB" >&6
6601
5935
else
6602
 
  { echo "$as_me:$LINENO: result: no" >&5
6603
 
echo "${ECHO_T}no" >&6; }
 
5936
  echo "$as_me:$LINENO: result: no" >&5
 
5937
echo "${ECHO_T}no" >&6
6604
5938
fi
6605
 
 
6606
5939
 
6607
5940
fi
6608
5941
if test -z "$ac_cv_prog_RANLIB"; then
6609
5942
  ac_ct_RANLIB=$RANLIB
6610
5943
  # Extract the first word of "ranlib", so it can be a program name with args.
6611
5944
set dummy ranlib; ac_word=$2
6612
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6613
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5945
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5946
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6614
5947
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6615
5948
  echo $ECHO_N "(cached) $ECHO_C" >&6
6616
5949
else
6623
5956
  IFS=$as_save_IFS
6624
5957
  test -z "$as_dir" && as_dir=.
6625
5958
  for ac_exec_ext in '' $ac_executable_extensions; do
6626
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5959
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6627
5960
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6628
5961
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6629
5962
    break 2
6630
5963
  fi
6631
5964
done
6632
5965
done
6633
 
IFS=$as_save_IFS
6634
5966
 
 
5967
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6635
5968
fi
6636
5969
fi
6637
5970
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6638
5971
if test -n "$ac_ct_RANLIB"; then
6639
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6640
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
5972
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5973
echo "${ECHO_T}$ac_ct_RANLIB" >&6
6641
5974
else
6642
 
  { echo "$as_me:$LINENO: result: no" >&5
6643
 
echo "${ECHO_T}no" >&6; }
 
5975
  echo "$as_me:$LINENO: result: no" >&5
 
5976
echo "${ECHO_T}no" >&6
6644
5977
fi
6645
5978
 
6646
 
  if test "x$ac_ct_RANLIB" = x; then
6647
 
    RANLIB=":"
6648
 
  else
6649
 
    case $cross_compiling:$ac_tool_warned in
6650
 
yes:)
6651
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6652
 
whose name does not start with the host triplet.  If you think this
6653
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6654
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6655
 
whose name does not start with the host triplet.  If you think this
6656
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6657
 
ac_tool_warned=yes ;;
6658
 
esac
6659
 
    RANLIB=$ac_ct_RANLIB
6660
 
  fi
 
5979
  RANLIB=$ac_ct_RANLIB
6661
5980
else
6662
5981
  RANLIB="$ac_cv_prog_RANLIB"
6663
5982
fi
6665
5984
if test -n "$ac_tool_prefix"; then
6666
5985
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6667
5986
set dummy ${ac_tool_prefix}strip; ac_word=$2
6668
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6669
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5987
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5988
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6670
5989
if test "${ac_cv_prog_STRIP+set}" = set; then
6671
5990
  echo $ECHO_N "(cached) $ECHO_C" >&6
6672
5991
else
6679
5998
  IFS=$as_save_IFS
6680
5999
  test -z "$as_dir" && as_dir=.
6681
6000
  for ac_exec_ext in '' $ac_executable_extensions; do
6682
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6001
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683
6002
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6684
6003
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6685
6004
    break 2
6686
6005
  fi
6687
6006
done
6688
6007
done
6689
 
IFS=$as_save_IFS
6690
6008
 
6691
6009
fi
6692
6010
fi
6693
6011
STRIP=$ac_cv_prog_STRIP
6694
6012
if test -n "$STRIP"; then
6695
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
6696
 
echo "${ECHO_T}$STRIP" >&6; }
 
6013
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
6014
echo "${ECHO_T}$STRIP" >&6
6697
6015
else
6698
 
  { echo "$as_me:$LINENO: result: no" >&5
6699
 
echo "${ECHO_T}no" >&6; }
 
6016
  echo "$as_me:$LINENO: result: no" >&5
 
6017
echo "${ECHO_T}no" >&6
6700
6018
fi
6701
 
 
6702
6019
 
6703
6020
fi
6704
6021
if test -z "$ac_cv_prog_STRIP"; then
6705
6022
  ac_ct_STRIP=$STRIP
6706
6023
  # Extract the first word of "strip", so it can be a program name with args.
6707
6024
set dummy strip; ac_word=$2
6708
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6025
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6026
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6710
6027
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6711
6028
  echo $ECHO_N "(cached) $ECHO_C" >&6
6712
6029
else
6719
6036
  IFS=$as_save_IFS
6720
6037
  test -z "$as_dir" && as_dir=.
6721
6038
  for ac_exec_ext in '' $ac_executable_extensions; do
6722
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6039
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6723
6040
    ac_cv_prog_ac_ct_STRIP="strip"
6724
6041
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6725
6042
    break 2
6726
6043
  fi
6727
6044
done
6728
6045
done
6729
 
IFS=$as_save_IFS
6730
6046
 
 
6047
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6731
6048
fi
6732
6049
fi
6733
6050
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6734
6051
if test -n "$ac_ct_STRIP"; then
6735
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6736
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
6052
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6053
echo "${ECHO_T}$ac_ct_STRIP" >&6
6737
6054
else
6738
 
  { echo "$as_me:$LINENO: result: no" >&5
6739
 
echo "${ECHO_T}no" >&6; }
 
6055
  echo "$as_me:$LINENO: result: no" >&5
 
6056
echo "${ECHO_T}no" >&6
6740
6057
fi
6741
6058
 
6742
 
  if test "x$ac_ct_STRIP" = x; then
6743
 
    STRIP=":"
6744
 
  else
6745
 
    case $cross_compiling:$ac_tool_warned in
6746
 
yes:)
6747
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6748
 
whose name does not start with the host triplet.  If you think this
6749
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6750
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6751
 
whose name does not start with the host triplet.  If you think this
6752
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6753
 
ac_tool_warned=yes ;;
6754
 
esac
6755
 
    STRIP=$ac_ct_STRIP
6756
 
  fi
 
6059
  STRIP=$ac_ct_STRIP
6757
6060
else
6758
6061
  STRIP="$ac_cv_prog_STRIP"
6759
6062
fi
6812
6115
case $deplibs_check_method in
6813
6116
file_magic*)
6814
6117
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6815
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6816
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
6118
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6119
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6817
6120
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6818
6121
  echo $ECHO_N "(cached) $ECHO_C" >&6
6819
6122
else
6865
6168
 
6866
6169
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6867
6170
if test -n "$MAGIC_CMD"; then
6868
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6869
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
6171
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6172
echo "${ECHO_T}$MAGIC_CMD" >&6
6870
6173
else
6871
 
  { echo "$as_me:$LINENO: result: no" >&5
6872
 
echo "${ECHO_T}no" >&6; }
 
6174
  echo "$as_me:$LINENO: result: no" >&5
 
6175
echo "${ECHO_T}no" >&6
6873
6176
fi
6874
6177
 
6875
6178
if test -z "$lt_cv_path_MAGIC_CMD"; then
6876
6179
  if test -n "$ac_tool_prefix"; then
6877
 
    { echo "$as_me:$LINENO: checking for file" >&5
6878
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
6180
    echo "$as_me:$LINENO: checking for file" >&5
 
6181
echo $ECHO_N "checking for file... $ECHO_C" >&6
6879
6182
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6880
6183
  echo $ECHO_N "(cached) $ECHO_C" >&6
6881
6184
else
6927
6230
 
6928
6231
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6929
6232
if test -n "$MAGIC_CMD"; then
6930
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6931
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
6233
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6234
echo "${ECHO_T}$MAGIC_CMD" >&6
6932
6235
else
6933
 
  { echo "$as_me:$LINENO: result: no" >&5
6934
 
echo "${ECHO_T}no" >&6; }
 
6236
  echo "$as_me:$LINENO: result: no" >&5
 
6237
echo "${ECHO_T}no" >&6
6935
6238
fi
6936
6239
 
6937
6240
  else
6946
6249
enable_dlopen=no
6947
6250
enable_win32_dll=no
6948
6251
 
6949
 
# Check whether --enable-libtool-lock was given.
 
6252
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6950
6253
if test "${enable_libtool_lock+set}" = set; then
6951
 
  enableval=$enable_libtool_lock;
6952
 
fi
 
6254
  enableval="$enable_libtool_lock"
6953
6255
 
 
6256
fi;
6954
6257
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6955
6258
 
6956
6259
 
6957
 
# Check whether --with-pic was given.
 
6260
# Check whether --with-pic or --without-pic was given.
6958
6261
if test "${with_pic+set}" = set; then
6959
 
  withval=$with_pic; pic_mode="$withval"
 
6262
  withval="$with_pic"
 
6263
  pic_mode="$withval"
6960
6264
else
6961
6265
  pic_mode=default
6962
 
fi
6963
 
 
 
6266
fi;
6964
6267
test -z "$pic_mode" && pic_mode=default
6965
6268
 
6966
6269
# Use C for the default configuration in the libtool script
7018
6321
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7019
6322
 
7020
6323
 
7021
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7022
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
6324
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
6325
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7023
6326
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7024
6327
  echo $ECHO_N "(cached) $ECHO_C" >&6
7025
6328
else
7036
6339
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7037
6340
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7038
6341
   -e 's:$: $lt_compiler_flag:'`
7039
 
   (eval echo "\"\$as_me:7039: $lt_compile\"" >&5)
 
6342
   (eval echo "\"\$as_me:6342: $lt_compile\"" >&5)
7040
6343
   (eval "$lt_compile" 2>conftest.err)
7041
6344
   ac_status=$?
7042
6345
   cat conftest.err >&5
7043
 
   echo "$as_me:7043: \$? = $ac_status" >&5
 
6346
   echo "$as_me:6346: \$? = $ac_status" >&5
7044
6347
   if (exit $ac_status) && test -s "$ac_outfile"; then
7045
6348
     # The compiler can only warn and ignore the option if not recognized
7046
6349
     # So say no if there are warnings other than the usual output.
7053
6356
   $rm conftest*
7054
6357
 
7055
6358
fi
7056
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7057
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
6359
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
6360
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7058
6361
 
7059
6362
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7060
6363
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7068
6371
lt_prog_compiler_pic=
7069
6372
lt_prog_compiler_static=
7070
6373
 
7071
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7072
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
6374
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
6375
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7073
6376
 
7074
6377
  if test "$GCC" = yes; then
7075
6378
    lt_prog_compiler_wl='-Wl,'
7198
6501
      lt_prog_compiler_static='-Bstatic'
7199
6502
      ;;
7200
6503
 
7201
 
    linux* | k*bsd*-gnu)
 
6504
    linux*)
7202
6505
      case $cc_basename in
7203
6506
      icc* | ecc*)
7204
6507
        lt_prog_compiler_wl='-Wl,'
7278
6581
    esac
7279
6582
  fi
7280
6583
 
7281
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7282
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
6584
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
6585
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7283
6586
 
7284
6587
#
7285
6588
# Check to make sure the PIC flag actually works.
7286
6589
#
7287
6590
if test -n "$lt_prog_compiler_pic"; then
7288
6591
 
7289
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7290
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
6592
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
6593
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7291
6594
if test "${lt_prog_compiler_pic_works+set}" = set; then
7292
6595
  echo $ECHO_N "(cached) $ECHO_C" >&6
7293
6596
else
7304
6607
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7305
6608
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7306
6609
   -e 's:$: $lt_compiler_flag:'`
7307
 
   (eval echo "\"\$as_me:7307: $lt_compile\"" >&5)
 
6610
   (eval echo "\"\$as_me:6610: $lt_compile\"" >&5)
7308
6611
   (eval "$lt_compile" 2>conftest.err)
7309
6612
   ac_status=$?
7310
6613
   cat conftest.err >&5
7311
 
   echo "$as_me:7311: \$? = $ac_status" >&5
 
6614
   echo "$as_me:6614: \$? = $ac_status" >&5
7312
6615
   if (exit $ac_status) && test -s "$ac_outfile"; then
7313
6616
     # The compiler can only warn and ignore the option if not recognized
7314
6617
     # So say no if there are warnings other than the usual output.
7321
6624
   $rm conftest*
7322
6625
 
7323
6626
fi
7324
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7325
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
6627
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
6628
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7326
6629
 
7327
6630
if test x"$lt_prog_compiler_pic_works" = xyes; then
7328
6631
    case $lt_prog_compiler_pic in
7349
6652
# Check to make sure the static flag actually works.
7350
6653
#
7351
6654
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7352
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7353
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
6655
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
6656
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7354
6657
if test "${lt_prog_compiler_static_works+set}" = set; then
7355
6658
  echo $ECHO_N "(cached) $ECHO_C" >&6
7356
6659
else
7377
6680
   LDFLAGS="$save_LDFLAGS"
7378
6681
 
7379
6682
fi
7380
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7381
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
6683
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
6684
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7382
6685
 
7383
6686
if test x"$lt_prog_compiler_static_works" = xyes; then
7384
6687
    :
7387
6690
fi
7388
6691
 
7389
6692
 
7390
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7391
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
6693
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
6694
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7392
6695
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7393
6696
  echo $ECHO_N "(cached) $ECHO_C" >&6
7394
6697
else
7408
6711
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7409
6712
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7410
6713
   -e 's:$: $lt_compiler_flag:'`
7411
 
   (eval echo "\"\$as_me:7411: $lt_compile\"" >&5)
 
6714
   (eval echo "\"\$as_me:6714: $lt_compile\"" >&5)
7412
6715
   (eval "$lt_compile" 2>out/conftest.err)
7413
6716
   ac_status=$?
7414
6717
   cat out/conftest.err >&5
7415
 
   echo "$as_me:7415: \$? = $ac_status" >&5
 
6718
   echo "$as_me:6718: \$? = $ac_status" >&5
7416
6719
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7417
6720
   then
7418
6721
     # The compiler can only warn and ignore the option if not recognized
7434
6737
   $rm conftest*
7435
6738
 
7436
6739
fi
7437
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7438
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
6740
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
6741
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7439
6742
 
7440
6743
 
7441
6744
hard_links="nottested"
7442
6745
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7443
6746
  # do not overwrite the value of need_locks provided by the user
7444
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7445
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
6747
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
6748
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7446
6749
  hard_links=yes
7447
6750
  $rm conftest*
7448
6751
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7449
6752
  touch conftest.a
7450
6753
  ln conftest.a conftest.b 2>&5 || hard_links=no
7451
6754
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7452
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7453
 
echo "${ECHO_T}$hard_links" >&6; }
 
6755
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
6756
echo "${ECHO_T}$hard_links" >&6
7454
6757
  if test "$hard_links" = no; then
7455
6758
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7456
6759
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7460
6763
  need_locks=no
7461
6764
fi
7462
6765
 
7463
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7464
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
6766
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
6767
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7465
6768
 
7466
6769
  runpath_var=
7467
6770
  allow_undefined_flag=
7637
6940
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7638
6941
      ;;
7639
6942
 
7640
 
    linux* | k*bsd*-gnu)
 
6943
    linux*)
7641
6944
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7642
6945
        tmp_addflag=
7643
6946
        case $cc_basename,$host_cpu in
7669
6972
      fi
7670
6973
      ;;
7671
6974
 
7672
 
    netbsd* | netbsdelf*-gnu)
 
6975
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7673
6976
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7674
6977
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7675
6978
        wlarc=
7877
7180
}
7878
7181
_ACEOF
7879
7182
rm -f conftest.$ac_objext conftest$ac_exeext
7880
 
if { (ac_try="$ac_link"
7881
 
case "(($ac_try" in
7882
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7883
 
  *) ac_try_echo=$ac_try;;
7884
 
esac
7885
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7886
 
  (eval "$ac_link") 2>conftest.er1
 
7183
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7184
  (eval $ac_link) 2>conftest.er1
7887
7185
  ac_status=$?
7888
7186
  grep -v '^ *+' conftest.er1 >conftest.err
7889
7187
  rm -f conftest.er1
7890
7188
  cat conftest.err >&5
7891
7189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892
 
  (exit $ac_status); } && {
7893
 
         test -z "$ac_c_werror_flag" ||
7894
 
         test ! -s conftest.err
7895
 
       } && test -s conftest$ac_exeext &&
7896
 
       $as_test_x conftest$ac_exeext; then
 
7190
  (exit $ac_status); } &&
 
7191
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7192
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7193
  (eval $ac_try) 2>&5
 
7194
  ac_status=$?
 
7195
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7196
  (exit $ac_status); }; } &&
 
7197
         { ac_try='test -s conftest$ac_exeext'
 
7198
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7199
  (eval $ac_try) 2>&5
 
7200
  ac_status=$?
 
7201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7202
  (exit $ac_status); }; }; then
7897
7203
 
7898
7204
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7899
7205
}'`
7904
7210
  echo "$as_me: failed program was:" >&5
7905
7211
sed 's/^/| /' conftest.$ac_ext >&5
7906
7212
 
7907
 
 
7908
7213
fi
7909
 
 
7910
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7214
rm -f conftest.err conftest.$ac_objext \
7911
7215
      conftest$ac_exeext conftest.$ac_ext
7912
7216
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7913
7217
 
7936
7240
}
7937
7241
_ACEOF
7938
7242
rm -f conftest.$ac_objext conftest$ac_exeext
7939
 
if { (ac_try="$ac_link"
7940
 
case "(($ac_try" in
7941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7942
 
  *) ac_try_echo=$ac_try;;
7943
 
esac
7944
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7945
 
  (eval "$ac_link") 2>conftest.er1
 
7243
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7244
  (eval $ac_link) 2>conftest.er1
7946
7245
  ac_status=$?
7947
7246
  grep -v '^ *+' conftest.er1 >conftest.err
7948
7247
  rm -f conftest.er1
7949
7248
  cat conftest.err >&5
7950
7249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951
 
  (exit $ac_status); } && {
7952
 
         test -z "$ac_c_werror_flag" ||
7953
 
         test ! -s conftest.err
7954
 
       } && test -s conftest$ac_exeext &&
7955
 
       $as_test_x conftest$ac_exeext; then
 
7250
  (exit $ac_status); } &&
 
7251
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7252
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7253
  (eval $ac_try) 2>&5
 
7254
  ac_status=$?
 
7255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7256
  (exit $ac_status); }; } &&
 
7257
         { ac_try='test -s conftest$ac_exeext'
 
7258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7259
  (eval $ac_try) 2>&5
 
7260
  ac_status=$?
 
7261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7262
  (exit $ac_status); }; }; then
7956
7263
 
7957
7264
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7958
7265
}'`
7963
7270
  echo "$as_me: failed program was:" >&5
7964
7271
sed 's/^/| /' conftest.$ac_ext >&5
7965
7272
 
7966
 
 
7967
7273
fi
7968
 
 
7969
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7274
rm -f conftest.err conftest.$ac_objext \
7970
7275
      conftest$ac_exeext conftest.$ac_ext
7971
7276
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7972
7277
 
8104
7409
      hardcode_shlibpath_var=no
8105
7410
      ;;
8106
7411
 
 
7412
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
 
7413
    kfreebsd*-gnu)
 
7414
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
7415
      hardcode_libdir_flag_spec='-R$libdir'
 
7416
      hardcode_direct=yes
 
7417
      hardcode_shlibpath_var=no
 
7418
      link_all_deplibs=no
 
7419
      ;;
 
7420
 
8107
7421
    hpux9*)
8108
7422
      if test "$GCC" = yes; then
8109
7423
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8199
7513
      link_all_deplibs=yes
8200
7514
      ;;
8201
7515
 
8202
 
    netbsd* | netbsdelf*-gnu)
 
7516
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8203
7517
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8204
7518
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8205
7519
      else
8415
7729
    esac
8416
7730
  fi
8417
7731
 
8418
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8419
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
7732
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
7733
echo "${ECHO_T}$ld_shlibs" >&6
8420
7734
test "$ld_shlibs" = no && can_build_shared=no
8421
7735
 
8422
7736
#
8436
7750
      # Test whether the compiler implicitly links with -lc since on some
8437
7751
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8438
7752
      # to ld, don't add -lc before -lgcc.
8439
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8440
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
7753
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
7754
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8441
7755
      $rm conftest*
8442
7756
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8443
7757
 
8474
7788
        cat conftest.err 1>&5
8475
7789
      fi
8476
7790
      $rm conftest*
8477
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8478
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
7791
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
7792
echo "${ECHO_T}$archive_cmds_need_lc" >&6
8479
7793
      ;;
8480
7794
    esac
8481
7795
  fi
8482
7796
  ;;
8483
7797
esac
8484
7798
 
8485
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8486
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
7799
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
7800
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8487
7801
library_names_spec=
8488
7802
libname_spec='lib$name'
8489
7803
soname_spec=
8689
8003
  dynamic_linker=no
8690
8004
  ;;
8691
8005
 
 
8006
kfreebsd*-gnu)
 
8007
  version_type=linux
 
8008
  need_lib_prefix=no
 
8009
  need_version=no
 
8010
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
8011
  soname_spec='${libname}${release}${shared_ext}$major'
 
8012
  shlibpath_var=LD_LIBRARY_PATH
 
8013
  shlibpath_overrides_runpath=no
 
8014
  hardcode_into_libs=yes
 
8015
  dynamic_linker='GNU ld.so'
 
8016
  ;;
 
8017
 
8692
8018
freebsd* | dragonfly*)
8693
8019
  # DragonFly does not have aout.  When/if they implement a new
8694
8020
  # versioning mechanism, adjust this.
8844
8170
  ;;
8845
8171
 
8846
8172
# This must be Linux ELF.
8847
 
linux* | k*bsd*-gnu)
 
8173
linux*)
8848
8174
  version_type=linux
8849
8175
  need_lib_prefix=no
8850
8176
  need_version=no
8885
8211
  dynamic_linker='NetBSD ld.elf_so'
8886
8212
  ;;
8887
8213
 
 
8214
knetbsd*-gnu)
 
8215
  version_type=linux
 
8216
  need_lib_prefix=no
 
8217
  need_version=no
 
8218
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
8219
  soname_spec='${libname}${release}${shared_ext}$major'
 
8220
  shlibpath_var=LD_LIBRARY_PATH
 
8221
  shlibpath_overrides_runpath=no
 
8222
  hardcode_into_libs=yes
 
8223
  dynamic_linker='GNU ld.so'
 
8224
  ;;
 
8225
 
8888
8226
netbsd*)
8889
8227
  version_type=sunos
8890
8228
  need_lib_prefix=no
9058
8396
  dynamic_linker=no
9059
8397
  ;;
9060
8398
esac
9061
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9062
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
8399
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
8400
echo "${ECHO_T}$dynamic_linker" >&6
9063
8401
test "$dynamic_linker" = no && can_build_shared=no
9064
8402
 
9065
8403
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9067
8405
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9068
8406
fi
9069
8407
 
9070
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9071
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
8408
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
8409
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9072
8410
hardcode_action=
9073
8411
if test -n "$hardcode_libdir_flag_spec" || \
9074
8412
   test -n "$runpath_var" || \
9092
8430
  # directories.
9093
8431
  hardcode_action=unsupported
9094
8432
fi
9095
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9096
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
8433
echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
8434
echo "${ECHO_T}$hardcode_action" >&6
9097
8435
 
9098
8436
if test "$hardcode_action" = relink; then
9099
8437
  # Fast installation is not supported
9106
8444
 
9107
8445
striplib=
9108
8446
old_striplib=
9109
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9110
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
8447
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
8448
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9111
8449
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9112
8450
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9113
8451
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9114
 
  { echo "$as_me:$LINENO: result: yes" >&5
9115
 
echo "${ECHO_T}yes" >&6; }
 
8452
  echo "$as_me:$LINENO: result: yes" >&5
 
8453
echo "${ECHO_T}yes" >&6
9116
8454
else
9117
8455
# FIXME - insert some real tests, host_os isn't really good enough
9118
8456
  case $host_os in
9119
8457
   darwin*)
9120
8458
       if test -n "$STRIP" ; then
9121
8459
         striplib="$STRIP -x"
9122
 
         { echo "$as_me:$LINENO: result: yes" >&5
9123
 
echo "${ECHO_T}yes" >&6; }
 
8460
         echo "$as_me:$LINENO: result: yes" >&5
 
8461
echo "${ECHO_T}yes" >&6
9124
8462
       else
9125
 
  { echo "$as_me:$LINENO: result: no" >&5
9126
 
echo "${ECHO_T}no" >&6; }
 
8463
  echo "$as_me:$LINENO: result: no" >&5
 
8464
echo "${ECHO_T}no" >&6
9127
8465
fi
9128
8466
       ;;
9129
8467
   *)
9130
 
  { echo "$as_me:$LINENO: result: no" >&5
9131
 
echo "${ECHO_T}no" >&6; }
 
8468
  echo "$as_me:$LINENO: result: no" >&5
 
8469
echo "${ECHO_T}no" >&6
9132
8470
    ;;
9133
8471
  esac
9134
8472
fi
9160
8498
 
9161
8499
  darwin*)
9162
8500
  # if libdl is installed we need to link against it
9163
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9164
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
8501
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
8502
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9165
8503
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9166
8504
  echo $ECHO_N "(cached) $ECHO_C" >&6
9167
8505
else
9174
8512
cat >>conftest.$ac_ext <<_ACEOF
9175
8513
/* end confdefs.h.  */
9176
8514
 
9177
 
/* Override any GCC internal prototype to avoid an error.
9178
 
   Use char because int might match the return type of a GCC
9179
 
   builtin and then its argument prototype would still apply.  */
 
8515
/* Override any gcc2 internal prototype to avoid an error.  */
9180
8516
#ifdef __cplusplus
9181
8517
extern "C"
9182
8518
#endif
 
8519
/* We use char because int might match the return type of a gcc2
 
8520
   builtin and then its argument prototype would still apply.  */
9183
8521
char dlopen ();
9184
8522
int
9185
8523
main ()
9186
8524
{
9187
 
return dlopen ();
 
8525
dlopen ();
9188
8526
  ;
9189
8527
  return 0;
9190
8528
}
9191
8529
_ACEOF
9192
8530
rm -f conftest.$ac_objext conftest$ac_exeext
9193
 
if { (ac_try="$ac_link"
9194
 
case "(($ac_try" in
9195
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9196
 
  *) ac_try_echo=$ac_try;;
9197
 
esac
9198
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9199
 
  (eval "$ac_link") 2>conftest.er1
 
8531
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8532
  (eval $ac_link) 2>conftest.er1
9200
8533
  ac_status=$?
9201
8534
  grep -v '^ *+' conftest.er1 >conftest.err
9202
8535
  rm -f conftest.er1
9203
8536
  cat conftest.err >&5
9204
8537
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205
 
  (exit $ac_status); } && {
9206
 
         test -z "$ac_c_werror_flag" ||
9207
 
         test ! -s conftest.err
9208
 
       } && test -s conftest$ac_exeext &&
9209
 
       $as_test_x conftest$ac_exeext; then
 
8538
  (exit $ac_status); } &&
 
8539
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8540
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8541
  (eval $ac_try) 2>&5
 
8542
  ac_status=$?
 
8543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8544
  (exit $ac_status); }; } &&
 
8545
         { ac_try='test -s conftest$ac_exeext'
 
8546
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8547
  (eval $ac_try) 2>&5
 
8548
  ac_status=$?
 
8549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8550
  (exit $ac_status); }; }; then
9210
8551
  ac_cv_lib_dl_dlopen=yes
9211
8552
else
9212
8553
  echo "$as_me: failed program was:" >&5
9213
8554
sed 's/^/| /' conftest.$ac_ext >&5
9214
8555
 
9215
 
        ac_cv_lib_dl_dlopen=no
 
8556
ac_cv_lib_dl_dlopen=no
9216
8557
fi
9217
 
 
9218
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8558
rm -f conftest.err conftest.$ac_objext \
9219
8559
      conftest$ac_exeext conftest.$ac_ext
9220
8560
LIBS=$ac_check_lib_save_LIBS
9221
8561
fi
9222
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9223
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 
8562
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
8563
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9224
8564
if test $ac_cv_lib_dl_dlopen = yes; then
9225
8565
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9226
8566
else
9234
8574
   ;;
9235
8575
 
9236
8576
  *)
9237
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9238
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
8577
    echo "$as_me:$LINENO: checking for shl_load" >&5
 
8578
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9239
8579
if test "${ac_cv_func_shl_load+set}" = set; then
9240
8580
  echo $ECHO_N "(cached) $ECHO_C" >&6
9241
8581
else
9262
8602
 
9263
8603
#undef shl_load
9264
8604
 
9265
 
/* Override any GCC internal prototype to avoid an error.
9266
 
   Use char because int might match the return type of a GCC
 
8605
/* Override any gcc2 internal prototype to avoid an error.  */
 
8606
#ifdef __cplusplus
 
8607
extern "C"
 
8608
{
 
8609
#endif
 
8610
/* We use char because int might match the return type of a gcc2
9267
8611
   builtin and then its argument prototype would still apply.  */
9268
 
#ifdef __cplusplus
9269
 
extern "C"
9270
 
#endif
9271
8612
char shl_load ();
9272
8613
/* The GNU C library defines this for functions which it implements
9273
8614
    to always fail with ENOSYS.  Some functions are actually named
9274
8615
    something starting with __ and the normal name is an alias.  */
9275
 
#if defined __stub_shl_load || defined __stub___shl_load
 
8616
#if defined (__stub_shl_load) || defined (__stub___shl_load)
9276
8617
choke me
 
8618
#else
 
8619
char (*f) () = shl_load;
 
8620
#endif
 
8621
#ifdef __cplusplus
 
8622
}
9277
8623
#endif
9278
8624
 
9279
8625
int
9280
8626
main ()
9281
8627
{
9282
 
return shl_load ();
 
8628
return f != shl_load;
9283
8629
  ;
9284
8630
  return 0;
9285
8631
}
9286
8632
_ACEOF
9287
8633
rm -f conftest.$ac_objext conftest$ac_exeext
9288
 
if { (ac_try="$ac_link"
9289
 
case "(($ac_try" in
9290
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9291
 
  *) ac_try_echo=$ac_try;;
9292
 
esac
9293
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294
 
  (eval "$ac_link") 2>conftest.er1
 
8634
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8635
  (eval $ac_link) 2>conftest.er1
9295
8636
  ac_status=$?
9296
8637
  grep -v '^ *+' conftest.er1 >conftest.err
9297
8638
  rm -f conftest.er1
9298
8639
  cat conftest.err >&5
9299
8640
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300
 
  (exit $ac_status); } && {
9301
 
         test -z "$ac_c_werror_flag" ||
9302
 
         test ! -s conftest.err
9303
 
       } && test -s conftest$ac_exeext &&
9304
 
       $as_test_x conftest$ac_exeext; then
 
8641
  (exit $ac_status); } &&
 
8642
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8643
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8644
  (eval $ac_try) 2>&5
 
8645
  ac_status=$?
 
8646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8647
  (exit $ac_status); }; } &&
 
8648
         { ac_try='test -s conftest$ac_exeext'
 
8649
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8650
  (eval $ac_try) 2>&5
 
8651
  ac_status=$?
 
8652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8653
  (exit $ac_status); }; }; then
9305
8654
  ac_cv_func_shl_load=yes
9306
8655
else
9307
8656
  echo "$as_me: failed program was:" >&5
9308
8657
sed 's/^/| /' conftest.$ac_ext >&5
9309
8658
 
9310
 
        ac_cv_func_shl_load=no
 
8659
ac_cv_func_shl_load=no
9311
8660
fi
9312
 
 
9313
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8661
rm -f conftest.err conftest.$ac_objext \
9314
8662
      conftest$ac_exeext conftest.$ac_ext
9315
8663
fi
9316
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9317
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
 
8664
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
8665
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9318
8666
if test $ac_cv_func_shl_load = yes; then
9319
8667
  lt_cv_dlopen="shl_load"
9320
8668
else
9321
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9322
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
8669
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
8670
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9323
8671
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9324
8672
  echo $ECHO_N "(cached) $ECHO_C" >&6
9325
8673
else
9332
8680
cat >>conftest.$ac_ext <<_ACEOF
9333
8681
/* end confdefs.h.  */
9334
8682
 
9335
 
/* Override any GCC internal prototype to avoid an error.
9336
 
   Use char because int might match the return type of a GCC
9337
 
   builtin and then its argument prototype would still apply.  */
 
8683
/* Override any gcc2 internal prototype to avoid an error.  */
9338
8684
#ifdef __cplusplus
9339
8685
extern "C"
9340
8686
#endif
 
8687
/* We use char because int might match the return type of a gcc2
 
8688
   builtin and then its argument prototype would still apply.  */
9341
8689
char shl_load ();
9342
8690
int
9343
8691
main ()
9344
8692
{
9345
 
return shl_load ();
 
8693
shl_load ();
9346
8694
  ;
9347
8695
  return 0;
9348
8696
}
9349
8697
_ACEOF
9350
8698
rm -f conftest.$ac_objext conftest$ac_exeext
9351
 
if { (ac_try="$ac_link"
9352
 
case "(($ac_try" in
9353
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9354
 
  *) ac_try_echo=$ac_try;;
9355
 
esac
9356
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9357
 
  (eval "$ac_link") 2>conftest.er1
 
8699
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8700
  (eval $ac_link) 2>conftest.er1
9358
8701
  ac_status=$?
9359
8702
  grep -v '^ *+' conftest.er1 >conftest.err
9360
8703
  rm -f conftest.er1
9361
8704
  cat conftest.err >&5
9362
8705
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363
 
  (exit $ac_status); } && {
9364
 
         test -z "$ac_c_werror_flag" ||
9365
 
         test ! -s conftest.err
9366
 
       } && test -s conftest$ac_exeext &&
9367
 
       $as_test_x conftest$ac_exeext; then
 
8706
  (exit $ac_status); } &&
 
8707
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8708
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8709
  (eval $ac_try) 2>&5
 
8710
  ac_status=$?
 
8711
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8712
  (exit $ac_status); }; } &&
 
8713
         { ac_try='test -s conftest$ac_exeext'
 
8714
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8715
  (eval $ac_try) 2>&5
 
8716
  ac_status=$?
 
8717
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8718
  (exit $ac_status); }; }; then
9368
8719
  ac_cv_lib_dld_shl_load=yes
9369
8720
else
9370
8721
  echo "$as_me: failed program was:" >&5
9371
8722
sed 's/^/| /' conftest.$ac_ext >&5
9372
8723
 
9373
 
        ac_cv_lib_dld_shl_load=no
 
8724
ac_cv_lib_dld_shl_load=no
9374
8725
fi
9375
 
 
9376
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8726
rm -f conftest.err conftest.$ac_objext \
9377
8727
      conftest$ac_exeext conftest.$ac_ext
9378
8728
LIBS=$ac_check_lib_save_LIBS
9379
8729
fi
9380
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9381
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
 
8730
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
8731
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9382
8732
if test $ac_cv_lib_dld_shl_load = yes; then
9383
8733
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9384
8734
else
9385
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9386
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
8735
  echo "$as_me:$LINENO: checking for dlopen" >&5
 
8736
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9387
8737
if test "${ac_cv_func_dlopen+set}" = set; then
9388
8738
  echo $ECHO_N "(cached) $ECHO_C" >&6
9389
8739
else
9410
8760
 
9411
8761
#undef dlopen
9412
8762
 
9413
 
/* Override any GCC internal prototype to avoid an error.
9414
 
   Use char because int might match the return type of a GCC
 
8763
/* Override any gcc2 internal prototype to avoid an error.  */
 
8764
#ifdef __cplusplus
 
8765
extern "C"
 
8766
{
 
8767
#endif
 
8768
/* We use char because int might match the return type of a gcc2
9415
8769
   builtin and then its argument prototype would still apply.  */
9416
 
#ifdef __cplusplus
9417
 
extern "C"
9418
 
#endif
9419
8770
char dlopen ();
9420
8771
/* The GNU C library defines this for functions which it implements
9421
8772
    to always fail with ENOSYS.  Some functions are actually named
9422
8773
    something starting with __ and the normal name is an alias.  */
9423
 
#if defined __stub_dlopen || defined __stub___dlopen
 
8774
#if defined (__stub_dlopen) || defined (__stub___dlopen)
9424
8775
choke me
 
8776
#else
 
8777
char (*f) () = dlopen;
 
8778
#endif
 
8779
#ifdef __cplusplus
 
8780
}
9425
8781
#endif
9426
8782
 
9427
8783
int
9428
8784
main ()
9429
8785
{
9430
 
return dlopen ();
 
8786
return f != dlopen;
9431
8787
  ;
9432
8788
  return 0;
9433
8789
}
9434
8790
_ACEOF
9435
8791
rm -f conftest.$ac_objext conftest$ac_exeext
9436
 
if { (ac_try="$ac_link"
9437
 
case "(($ac_try" in
9438
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9439
 
  *) ac_try_echo=$ac_try;;
9440
 
esac
9441
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9442
 
  (eval "$ac_link") 2>conftest.er1
 
8792
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8793
  (eval $ac_link) 2>conftest.er1
9443
8794
  ac_status=$?
9444
8795
  grep -v '^ *+' conftest.er1 >conftest.err
9445
8796
  rm -f conftest.er1
9446
8797
  cat conftest.err >&5
9447
8798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448
 
  (exit $ac_status); } && {
9449
 
         test -z "$ac_c_werror_flag" ||
9450
 
         test ! -s conftest.err
9451
 
       } && test -s conftest$ac_exeext &&
9452
 
       $as_test_x conftest$ac_exeext; then
 
8799
  (exit $ac_status); } &&
 
8800
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8801
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8802
  (eval $ac_try) 2>&5
 
8803
  ac_status=$?
 
8804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8805
  (exit $ac_status); }; } &&
 
8806
         { ac_try='test -s conftest$ac_exeext'
 
8807
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8808
  (eval $ac_try) 2>&5
 
8809
  ac_status=$?
 
8810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8811
  (exit $ac_status); }; }; then
9453
8812
  ac_cv_func_dlopen=yes
9454
8813
else
9455
8814
  echo "$as_me: failed program was:" >&5
9456
8815
sed 's/^/| /' conftest.$ac_ext >&5
9457
8816
 
9458
 
        ac_cv_func_dlopen=no
 
8817
ac_cv_func_dlopen=no
9459
8818
fi
9460
 
 
9461
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8819
rm -f conftest.err conftest.$ac_objext \
9462
8820
      conftest$ac_exeext conftest.$ac_ext
9463
8821
fi
9464
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9465
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
 
8822
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
8823
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9466
8824
if test $ac_cv_func_dlopen = yes; then
9467
8825
  lt_cv_dlopen="dlopen"
9468
8826
else
9469
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9470
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
8827
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
8828
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9471
8829
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9472
8830
  echo $ECHO_N "(cached) $ECHO_C" >&6
9473
8831
else
9480
8838
cat >>conftest.$ac_ext <<_ACEOF
9481
8839
/* end confdefs.h.  */
9482
8840
 
9483
 
/* Override any GCC internal prototype to avoid an error.
9484
 
   Use char because int might match the return type of a GCC
9485
 
   builtin and then its argument prototype would still apply.  */
 
8841
/* Override any gcc2 internal prototype to avoid an error.  */
9486
8842
#ifdef __cplusplus
9487
8843
extern "C"
9488
8844
#endif
 
8845
/* We use char because int might match the return type of a gcc2
 
8846
   builtin and then its argument prototype would still apply.  */
9489
8847
char dlopen ();
9490
8848
int
9491
8849
main ()
9492
8850
{
9493
 
return dlopen ();
 
8851
dlopen ();
9494
8852
  ;
9495
8853
  return 0;
9496
8854
}
9497
8855
_ACEOF
9498
8856
rm -f conftest.$ac_objext conftest$ac_exeext
9499
 
if { (ac_try="$ac_link"
9500
 
case "(($ac_try" in
9501
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502
 
  *) ac_try_echo=$ac_try;;
9503
 
esac
9504
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505
 
  (eval "$ac_link") 2>conftest.er1
 
8857
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8858
  (eval $ac_link) 2>conftest.er1
9506
8859
  ac_status=$?
9507
8860
  grep -v '^ *+' conftest.er1 >conftest.err
9508
8861
  rm -f conftest.er1
9509
8862
  cat conftest.err >&5
9510
8863
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511
 
  (exit $ac_status); } && {
9512
 
         test -z "$ac_c_werror_flag" ||
9513
 
         test ! -s conftest.err
9514
 
       } && test -s conftest$ac_exeext &&
9515
 
       $as_test_x conftest$ac_exeext; then
 
8864
  (exit $ac_status); } &&
 
8865
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8866
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8867
  (eval $ac_try) 2>&5
 
8868
  ac_status=$?
 
8869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8870
  (exit $ac_status); }; } &&
 
8871
         { ac_try='test -s conftest$ac_exeext'
 
8872
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8873
  (eval $ac_try) 2>&5
 
8874
  ac_status=$?
 
8875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8876
  (exit $ac_status); }; }; then
9516
8877
  ac_cv_lib_dl_dlopen=yes
9517
8878
else
9518
8879
  echo "$as_me: failed program was:" >&5
9519
8880
sed 's/^/| /' conftest.$ac_ext >&5
9520
8881
 
9521
 
        ac_cv_lib_dl_dlopen=no
 
8882
ac_cv_lib_dl_dlopen=no
9522
8883
fi
9523
 
 
9524
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8884
rm -f conftest.err conftest.$ac_objext \
9525
8885
      conftest$ac_exeext conftest.$ac_ext
9526
8886
LIBS=$ac_check_lib_save_LIBS
9527
8887
fi
9528
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9529
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 
8888
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
8889
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9530
8890
if test $ac_cv_lib_dl_dlopen = yes; then
9531
8891
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9532
8892
else
9533
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9534
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
8893
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
8894
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9535
8895
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9536
8896
  echo $ECHO_N "(cached) $ECHO_C" >&6
9537
8897
else
9544
8904
cat >>conftest.$ac_ext <<_ACEOF
9545
8905
/* end confdefs.h.  */
9546
8906
 
9547
 
/* Override any GCC internal prototype to avoid an error.
9548
 
   Use char because int might match the return type of a GCC
9549
 
   builtin and then its argument prototype would still apply.  */
 
8907
/* Override any gcc2 internal prototype to avoid an error.  */
9550
8908
#ifdef __cplusplus
9551
8909
extern "C"
9552
8910
#endif
 
8911
/* We use char because int might match the return type of a gcc2
 
8912
   builtin and then its argument prototype would still apply.  */
9553
8913
char dlopen ();
9554
8914
int
9555
8915
main ()
9556
8916
{
9557
 
return dlopen ();
 
8917
dlopen ();
9558
8918
  ;
9559
8919
  return 0;
9560
8920
}
9561
8921
_ACEOF
9562
8922
rm -f conftest.$ac_objext conftest$ac_exeext
9563
 
if { (ac_try="$ac_link"
9564
 
case "(($ac_try" in
9565
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9566
 
  *) ac_try_echo=$ac_try;;
9567
 
esac
9568
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9569
 
  (eval "$ac_link") 2>conftest.er1
 
8923
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8924
  (eval $ac_link) 2>conftest.er1
9570
8925
  ac_status=$?
9571
8926
  grep -v '^ *+' conftest.er1 >conftest.err
9572
8927
  rm -f conftest.er1
9573
8928
  cat conftest.err >&5
9574
8929
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575
 
  (exit $ac_status); } && {
9576
 
         test -z "$ac_c_werror_flag" ||
9577
 
         test ! -s conftest.err
9578
 
       } && test -s conftest$ac_exeext &&
9579
 
       $as_test_x conftest$ac_exeext; then
 
8930
  (exit $ac_status); } &&
 
8931
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8932
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8933
  (eval $ac_try) 2>&5
 
8934
  ac_status=$?
 
8935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8936
  (exit $ac_status); }; } &&
 
8937
         { ac_try='test -s conftest$ac_exeext'
 
8938
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8939
  (eval $ac_try) 2>&5
 
8940
  ac_status=$?
 
8941
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8942
  (exit $ac_status); }; }; then
9580
8943
  ac_cv_lib_svld_dlopen=yes
9581
8944
else
9582
8945
  echo "$as_me: failed program was:" >&5
9583
8946
sed 's/^/| /' conftest.$ac_ext >&5
9584
8947
 
9585
 
        ac_cv_lib_svld_dlopen=no
 
8948
ac_cv_lib_svld_dlopen=no
9586
8949
fi
9587
 
 
9588
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8950
rm -f conftest.err conftest.$ac_objext \
9589
8951
      conftest$ac_exeext conftest.$ac_ext
9590
8952
LIBS=$ac_check_lib_save_LIBS
9591
8953
fi
9592
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9593
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
 
8954
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
8955
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9594
8956
if test $ac_cv_lib_svld_dlopen = yes; then
9595
8957
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9596
8958
else
9597
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9598
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
8959
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
8960
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9599
8961
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9600
8962
  echo $ECHO_N "(cached) $ECHO_C" >&6
9601
8963
else
9608
8970
cat >>conftest.$ac_ext <<_ACEOF
9609
8971
/* end confdefs.h.  */
9610
8972
 
9611
 
/* Override any GCC internal prototype to avoid an error.
9612
 
   Use char because int might match the return type of a GCC
9613
 
   builtin and then its argument prototype would still apply.  */
 
8973
/* Override any gcc2 internal prototype to avoid an error.  */
9614
8974
#ifdef __cplusplus
9615
8975
extern "C"
9616
8976
#endif
 
8977
/* We use char because int might match the return type of a gcc2
 
8978
   builtin and then its argument prototype would still apply.  */
9617
8979
char dld_link ();
9618
8980
int
9619
8981
main ()
9620
8982
{
9621
 
return dld_link ();
 
8983
dld_link ();
9622
8984
  ;
9623
8985
  return 0;
9624
8986
}
9625
8987
_ACEOF
9626
8988
rm -f conftest.$ac_objext conftest$ac_exeext
9627
 
if { (ac_try="$ac_link"
9628
 
case "(($ac_try" in
9629
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9630
 
  *) ac_try_echo=$ac_try;;
9631
 
esac
9632
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9633
 
  (eval "$ac_link") 2>conftest.er1
 
8989
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
8990
  (eval $ac_link) 2>conftest.er1
9634
8991
  ac_status=$?
9635
8992
  grep -v '^ *+' conftest.er1 >conftest.err
9636
8993
  rm -f conftest.er1
9637
8994
  cat conftest.err >&5
9638
8995
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639
 
  (exit $ac_status); } && {
9640
 
         test -z "$ac_c_werror_flag" ||
9641
 
         test ! -s conftest.err
9642
 
       } && test -s conftest$ac_exeext &&
9643
 
       $as_test_x conftest$ac_exeext; then
 
8996
  (exit $ac_status); } &&
 
8997
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8998
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
8999
  (eval $ac_try) 2>&5
 
9000
  ac_status=$?
 
9001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9002
  (exit $ac_status); }; } &&
 
9003
         { ac_try='test -s conftest$ac_exeext'
 
9004
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
9005
  (eval $ac_try) 2>&5
 
9006
  ac_status=$?
 
9007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9008
  (exit $ac_status); }; }; then
9644
9009
  ac_cv_lib_dld_dld_link=yes
9645
9010
else
9646
9011
  echo "$as_me: failed program was:" >&5
9647
9012
sed 's/^/| /' conftest.$ac_ext >&5
9648
9013
 
9649
 
        ac_cv_lib_dld_dld_link=no
 
9014
ac_cv_lib_dld_dld_link=no
9650
9015
fi
9651
 
 
9652
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9016
rm -f conftest.err conftest.$ac_objext \
9653
9017
      conftest$ac_exeext conftest.$ac_ext
9654
9018
LIBS=$ac_check_lib_save_LIBS
9655
9019
fi
9656
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9657
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
 
9020
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9021
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9658
9022
if test $ac_cv_lib_dld_dld_link = yes; then
9659
9023
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9660
9024
fi
9694
9058
    save_LIBS="$LIBS"
9695
9059
    LIBS="$lt_cv_dlopen_libs $LIBS"
9696
9060
 
9697
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9698
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
9061
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9062
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9699
9063
if test "${lt_cv_dlopen_self+set}" = set; then
9700
9064
  echo $ECHO_N "(cached) $ECHO_C" >&6
9701
9065
else
9705
9069
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9706
9070
  lt_status=$lt_dlunknown
9707
9071
  cat > conftest.$ac_ext <<EOF
9708
 
#line 9708 "configure"
 
9072
#line 9072 "configure"
9709
9073
#include "confdefs.h"
9710
9074
 
9711
9075
#if HAVE_DLFCN_H
9789
9153
 
9790
9154
 
9791
9155
fi
9792
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9793
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
9156
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
9157
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9794
9158
 
9795
9159
    if test "x$lt_cv_dlopen_self" = xyes; then
9796
9160
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9797
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9798
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
9161
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
9162
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9799
9163
if test "${lt_cv_dlopen_self_static+set}" = set; then
9800
9164
  echo $ECHO_N "(cached) $ECHO_C" >&6
9801
9165
else
9805
9169
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9806
9170
  lt_status=$lt_dlunknown
9807
9171
  cat > conftest.$ac_ext <<EOF
9808
 
#line 9808 "configure"
 
9172
#line 9172 "configure"
9809
9173
#include "confdefs.h"
9810
9174
 
9811
9175
#if HAVE_DLFCN_H
9889
9253
 
9890
9254
 
9891
9255
fi
9892
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9893
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
9256
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
9257
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9894
9258
    fi
9895
9259
 
9896
9260
    CPPFLAGS="$save_CPPFLAGS"
9912
9276
 
9913
9277
 
9914
9278
# Report which library types will actually be built
9915
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9916
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9917
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9918
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
9279
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
9280
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
9281
echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
9282
echo "${ECHO_T}$can_build_shared" >&6
9919
9283
 
9920
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9921
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
9284
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
9285
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9922
9286
test "$can_build_shared" = "no" && enable_shared=no
9923
9287
 
9924
9288
# On AIX, shared libraries and static libraries use the same namespace, and
9938
9302
  fi
9939
9303
    ;;
9940
9304
esac
9941
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
9942
 
echo "${ECHO_T}$enable_shared" >&6; }
 
9305
echo "$as_me:$LINENO: result: $enable_shared" >&5
 
9306
echo "${ECHO_T}$enable_shared" >&6
9943
9307
 
9944
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9945
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
9308
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
9309
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9946
9310
# Make sure either enable_shared or enable_static is yes.
9947
9311
test "$enable_shared" = yes || enable_static=yes
9948
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
9949
 
echo "${ECHO_T}$enable_static" >&6; }
 
9312
echo "$as_me:$LINENO: result: $enable_static" >&5
 
9313
echo "${ECHO_T}$enable_static" >&6
9950
9314
 
9951
9315
# The else clause should only fire when bootstrapping the
9952
9316
# libtool distribution, otherwise you forgot to ship ltmain.sh
10438
9802
CC="$lt_save_CC"
10439
9803
 
10440
9804
 
10441
 
# Check whether --with-tags was given.
 
9805
# Check whether --with-tags or --without-tags was given.
10442
9806
if test "${with_tags+set}" = set; then
10443
 
  withval=$with_tags; tagnames="$withval"
10444
 
fi
10445
 
 
 
9807
  withval="$with_tags"
 
9808
  tagnames="$withval"
 
9809
fi;
10446
9810
 
10447
9811
if test -f "$ltmain" && test -n "$tagnames"; then
10448
9812
  if test ! -f "${ofile}"; then
10496
9860
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10497
9861
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10498
9862
            (test "X$CXX" != "Xg++"))) ; then
10499
 
          ac_ext=cpp
 
9863
          ac_ext=cc
10500
9864
ac_cpp='$CXXCPP $CPPFLAGS'
10501
9865
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10502
9866
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615
9979
  # Set up default GNU C++ configuration
10616
9980
 
10617
9981
 
10618
 
# Check whether --with-gnu-ld was given.
 
9982
# Check whether --with-gnu-ld or --without-gnu-ld was given.
10619
9983
if test "${with_gnu_ld+set}" = set; then
10620
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
9984
  withval="$with_gnu_ld"
 
9985
  test "$withval" = no || with_gnu_ld=yes
10621
9986
else
10622
9987
  with_gnu_ld=no
10623
 
fi
10624
 
 
 
9988
fi;
10625
9989
ac_prog=ld
10626
9990
if test "$GCC" = yes; then
10627
9991
  # Check if gcc -print-prog-name=ld gives a path.
10628
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10629
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
9992
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
9993
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10630
9994
  case $host in
10631
9995
  *-*-mingw*)
10632
9996
    # gcc leaves a trailing carriage return which upsets mingw
10655
10019
    ;;
10656
10020
  esac
10657
10021
elif test "$with_gnu_ld" = yes; then
10658
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10659
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
10022
  echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10023
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10660
10024
else
10661
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10662
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
10025
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10026
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10663
10027
fi
10664
10028
if test "${lt_cv_path_LD+set}" = set; then
10665
10029
  echo $ECHO_N "(cached) $ECHO_C" >&6
10692
10056
 
10693
10057
LD="$lt_cv_path_LD"
10694
10058
if test -n "$LD"; then
10695
 
  { echo "$as_me:$LINENO: result: $LD" >&5
10696
 
echo "${ECHO_T}$LD" >&6; }
 
10059
  echo "$as_me:$LINENO: result: $LD" >&5
 
10060
echo "${ECHO_T}$LD" >&6
10697
10061
else
10698
 
  { echo "$as_me:$LINENO: result: no" >&5
10699
 
echo "${ECHO_T}no" >&6; }
 
10062
  echo "$as_me:$LINENO: result: no" >&5
 
10063
echo "${ECHO_T}no" >&6
10700
10064
fi
10701
10065
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10702
10066
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10703
10067
   { (exit 1); exit 1; }; }
10704
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10705
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
10068
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10069
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10706
10070
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10707
10071
  echo $ECHO_N "(cached) $ECHO_C" >&6
10708
10072
else
10716
10080
  ;;
10717
10081
esac
10718
10082
fi
10719
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10720
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
10083
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10084
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10721
10085
with_gnu_ld=$lt_cv_prog_gnu_ld
10722
10086
 
10723
10087
 
10767
10131
fi
10768
10132
 
10769
10133
# PORTME: fill in a description of your system's C++ link characteristics
10770
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10771
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
10134
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10135
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10772
10136
ld_shlibs_CXX=yes
10773
10137
case $host_os in
10774
10138
  aix3*)
10880
10244
}
10881
10245
_ACEOF
10882
10246
rm -f conftest.$ac_objext conftest$ac_exeext
10883
 
if { (ac_try="$ac_link"
10884
 
case "(($ac_try" in
10885
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10886
 
  *) ac_try_echo=$ac_try;;
10887
 
esac
10888
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10889
 
  (eval "$ac_link") 2>conftest.er1
 
10247
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10248
  (eval $ac_link) 2>conftest.er1
10890
10249
  ac_status=$?
10891
10250
  grep -v '^ *+' conftest.er1 >conftest.err
10892
10251
  rm -f conftest.er1
10893
10252
  cat conftest.err >&5
10894
10253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895
 
  (exit $ac_status); } && {
10896
 
         test -z "$ac_cxx_werror_flag" ||
10897
 
         test ! -s conftest.err
10898
 
       } && test -s conftest$ac_exeext &&
10899
 
       $as_test_x conftest$ac_exeext; then
 
10254
  (exit $ac_status); } &&
 
10255
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
10256
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10257
  (eval $ac_try) 2>&5
 
10258
  ac_status=$?
 
10259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10260
  (exit $ac_status); }; } &&
 
10261
         { ac_try='test -s conftest$ac_exeext'
 
10262
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10263
  (eval $ac_try) 2>&5
 
10264
  ac_status=$?
 
10265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10266
  (exit $ac_status); }; }; then
10900
10267
 
10901
10268
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10902
10269
}'`
10907
10274
  echo "$as_me: failed program was:" >&5
10908
10275
sed 's/^/| /' conftest.$ac_ext >&5
10909
10276
 
10910
 
 
10911
10277
fi
10912
 
 
10913
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10278
rm -f conftest.err conftest.$ac_objext \
10914
10279
      conftest$ac_exeext conftest.$ac_ext
10915
10280
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10916
10281
 
10940
10305
}
10941
10306
_ACEOF
10942
10307
rm -f conftest.$ac_objext conftest$ac_exeext
10943
 
if { (ac_try="$ac_link"
10944
 
case "(($ac_try" in
10945
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10946
 
  *) ac_try_echo=$ac_try;;
10947
 
esac
10948
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10949
 
  (eval "$ac_link") 2>conftest.er1
 
10308
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10309
  (eval $ac_link) 2>conftest.er1
10950
10310
  ac_status=$?
10951
10311
  grep -v '^ *+' conftest.er1 >conftest.err
10952
10312
  rm -f conftest.er1
10953
10313
  cat conftest.err >&5
10954
10314
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955
 
  (exit $ac_status); } && {
10956
 
         test -z "$ac_cxx_werror_flag" ||
10957
 
         test ! -s conftest.err
10958
 
       } && test -s conftest$ac_exeext &&
10959
 
       $as_test_x conftest$ac_exeext; then
 
10315
  (exit $ac_status); } &&
 
10316
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
10317
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10318
  (eval $ac_try) 2>&5
 
10319
  ac_status=$?
 
10320
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10321
  (exit $ac_status); }; } &&
 
10322
         { ac_try='test -s conftest$ac_exeext'
 
10323
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
10324
  (eval $ac_try) 2>&5
 
10325
  ac_status=$?
 
10326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10327
  (exit $ac_status); }; }; then
10960
10328
 
10961
10329
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10962
10330
}'`
10967
10335
  echo "$as_me: failed program was:" >&5
10968
10336
sed 's/^/| /' conftest.$ac_ext >&5
10969
10337
 
10970
 
 
10971
10338
fi
10972
 
 
10973
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10339
rm -f conftest.err conftest.$ac_objext \
10974
10340
      conftest$ac_exeext conftest.$ac_ext
10975
10341
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10976
10342
 
11118
10484
  freebsd-elf*)
11119
10485
    archive_cmds_need_lc_CXX=no
11120
10486
    ;;
11121
 
  freebsd* | dragonfly*)
 
10487
  freebsd* | kfreebsd*-gnu | dragonfly*)
11122
10488
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11123
10489
    # conventions
11124
10490
    ld_shlibs_CXX=yes
11277
10643
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11278
10644
    hardcode_libdir_separator_CXX=:
11279
10645
    ;;
11280
 
  linux* | k*bsd*-gnu)
 
10646
  linux*)
11281
10647
    case $cc_basename in
11282
10648
      KCC*)
11283
10649
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11379
10745
        ;;
11380
10746
    esac
11381
10747
    ;;
11382
 
  netbsd* | netbsdelf*-gnu)
 
10748
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
11383
10749
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11384
10750
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11385
10751
      wlarc=
11701
11067
    ld_shlibs_CXX=no
11702
11068
    ;;
11703
11069
esac
11704
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11705
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
11070
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11071
echo "${ECHO_T}$ld_shlibs_CXX" >&6
11706
11072
test "$ld_shlibs_CXX" = no && can_build_shared=no
11707
11073
 
11708
11074
GCC_CXX="$GXX"
11841
11207
lt_prog_compiler_pic_CXX=
11842
11208
lt_prog_compiler_static_CXX=
11843
11209
 
11844
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11845
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
11210
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11211
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11846
11212
 
11847
11213
  # C++ specific cases for pic, static, wl, etc.
11848
11214
  if test "$GXX" = yes; then
11946
11312
            ;;
11947
11313
        esac
11948
11314
        ;;
11949
 
      freebsd* | dragonfly*)
 
11315
      freebsd* | kfreebsd*-gnu | dragonfly*)
11950
11316
        # FreeBSD uses GNU C++
11951
11317
        ;;
11952
11318
      hpux9* | hpux10* | hpux11*)
11989
11355
            ;;
11990
11356
        esac
11991
11357
        ;;
11992
 
      linux* | k*bsd*-gnu)
 
11358
      linux*)
11993
11359
        case $cc_basename in
11994
11360
          KCC*)
11995
11361
            # KAI C++ Compiler
12032
11398
            ;;
12033
11399
        esac
12034
11400
        ;;
12035
 
      netbsd* | netbsdelf*-gnu)
 
11401
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12036
11402
        ;;
12037
11403
      osf3* | osf4* | osf5*)
12038
11404
        case $cc_basename in
12115
11481
    esac
12116
11482
  fi
12117
11483
 
12118
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12119
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
11484
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
11485
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12120
11486
 
12121
11487
#
12122
11488
# Check to make sure the PIC flag actually works.
12123
11489
#
12124
11490
if test -n "$lt_prog_compiler_pic_CXX"; then
12125
11491
 
12126
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12127
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
11492
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
11493
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12128
11494
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12129
11495
  echo $ECHO_N "(cached) $ECHO_C" >&6
12130
11496
else
12141
11507
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12142
11508
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12143
11509
   -e 's:$: $lt_compiler_flag:'`
12144
 
   (eval echo "\"\$as_me:12144: $lt_compile\"" >&5)
 
11510
   (eval echo "\"\$as_me:11510: $lt_compile\"" >&5)
12145
11511
   (eval "$lt_compile" 2>conftest.err)
12146
11512
   ac_status=$?
12147
11513
   cat conftest.err >&5
12148
 
   echo "$as_me:12148: \$? = $ac_status" >&5
 
11514
   echo "$as_me:11514: \$? = $ac_status" >&5
12149
11515
   if (exit $ac_status) && test -s "$ac_outfile"; then
12150
11516
     # The compiler can only warn and ignore the option if not recognized
12151
11517
     # So say no if there are warnings other than the usual output.
12158
11524
   $rm conftest*
12159
11525
 
12160
11526
fi
12161
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12162
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
11527
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
11528
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12163
11529
 
12164
11530
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12165
11531
    case $lt_prog_compiler_pic_CXX in
12186
11552
# Check to make sure the static flag actually works.
12187
11553
#
12188
11554
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12189
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12190
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
11555
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
11556
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12191
11557
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12192
11558
  echo $ECHO_N "(cached) $ECHO_C" >&6
12193
11559
else
12214
11580
   LDFLAGS="$save_LDFLAGS"
12215
11581
 
12216
11582
fi
12217
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12218
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
11583
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
 
11584
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12219
11585
 
12220
11586
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12221
11587
    :
12224
11590
fi
12225
11591
 
12226
11592
 
12227
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12228
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
11593
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11594
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12229
11595
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12230
11596
  echo $ECHO_N "(cached) $ECHO_C" >&6
12231
11597
else
12245
11611
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12246
11612
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12247
11613
   -e 's:$: $lt_compiler_flag:'`
12248
 
   (eval echo "\"\$as_me:12248: $lt_compile\"" >&5)
 
11614
   (eval echo "\"\$as_me:11614: $lt_compile\"" >&5)
12249
11615
   (eval "$lt_compile" 2>out/conftest.err)
12250
11616
   ac_status=$?
12251
11617
   cat out/conftest.err >&5
12252
 
   echo "$as_me:12252: \$? = $ac_status" >&5
 
11618
   echo "$as_me:11618: \$? = $ac_status" >&5
12253
11619
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12254
11620
   then
12255
11621
     # The compiler can only warn and ignore the option if not recognized
12271
11637
   $rm conftest*
12272
11638
 
12273
11639
fi
12274
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12275
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
11640
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
11641
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12276
11642
 
12277
11643
 
12278
11644
hard_links="nottested"
12279
11645
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12280
11646
  # do not overwrite the value of need_locks provided by the user
12281
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12282
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
11647
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
11648
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12283
11649
  hard_links=yes
12284
11650
  $rm conftest*
12285
11651
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12286
11652
  touch conftest.a
12287
11653
  ln conftest.a conftest.b 2>&5 || hard_links=no
12288
11654
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12289
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12290
 
echo "${ECHO_T}$hard_links" >&6; }
 
11655
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
11656
echo "${ECHO_T}$hard_links" >&6
12291
11657
  if test "$hard_links" = no; then
12292
11658
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12293
11659
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12297
11663
  need_locks=no
12298
11664
fi
12299
11665
 
12300
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12301
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
11666
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11667
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12302
11668
 
12303
11669
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12304
11670
  case $host_os in
12317
11683
  cygwin* | mingw*)
12318
11684
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12319
11685
  ;;
12320
 
  linux* | k*bsd*-gnu)
 
11686
  kfreebsd*-gnu)
 
11687
    link_all_deplibs_CXX=no
 
11688
  ;;
 
11689
  linux*)
12321
11690
    link_all_deplibs_CXX=no
12322
11691
  ;;
12323
11692
  *)
12325
11694
  ;;
12326
11695
  esac
12327
11696
 
12328
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12329
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
11697
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11698
echo "${ECHO_T}$ld_shlibs_CXX" >&6
12330
11699
test "$ld_shlibs_CXX" = no && can_build_shared=no
12331
11700
 
12332
11701
#
12346
11715
      # Test whether the compiler implicitly links with -lc since on some
12347
11716
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12348
11717
      # to ld, don't add -lc before -lgcc.
12349
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12350
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
11718
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
11719
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12351
11720
      $rm conftest*
12352
11721
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12353
11722
 
12384
11753
        cat conftest.err 1>&5
12385
11754
      fi
12386
11755
      $rm conftest*
12387
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12388
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
11756
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
11757
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12389
11758
      ;;
12390
11759
    esac
12391
11760
  fi
12392
11761
  ;;
12393
11762
esac
12394
11763
 
12395
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12396
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
11764
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
11765
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12397
11766
library_names_spec=
12398
11767
libname_spec='lib$name'
12399
11768
soname_spec=
12599
11968
  dynamic_linker=no
12600
11969
  ;;
12601
11970
 
 
11971
kfreebsd*-gnu)
 
11972
  version_type=linux
 
11973
  need_lib_prefix=no
 
11974
  need_version=no
 
11975
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11976
  soname_spec='${libname}${release}${shared_ext}$major'
 
11977
  shlibpath_var=LD_LIBRARY_PATH
 
11978
  shlibpath_overrides_runpath=no
 
11979
  hardcode_into_libs=yes
 
11980
  dynamic_linker='GNU ld.so'
 
11981
  ;;
 
11982
 
12602
11983
freebsd* | dragonfly*)
12603
11984
  # DragonFly does not have aout.  When/if they implement a new
12604
11985
  # versioning mechanism, adjust this.
12754
12135
  ;;
12755
12136
 
12756
12137
# This must be Linux ELF.
12757
 
linux* | k*bsd*-gnu)
 
12138
linux*)
12758
12139
  version_type=linux
12759
12140
  need_lib_prefix=no
12760
12141
  need_version=no
12795
12176
  dynamic_linker='NetBSD ld.elf_so'
12796
12177
  ;;
12797
12178
 
 
12179
knetbsd*-gnu)
 
12180
  version_type=linux
 
12181
  need_lib_prefix=no
 
12182
  need_version=no
 
12183
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12184
  soname_spec='${libname}${release}${shared_ext}$major'
 
12185
  shlibpath_var=LD_LIBRARY_PATH
 
12186
  shlibpath_overrides_runpath=no
 
12187
  hardcode_into_libs=yes
 
12188
  dynamic_linker='GNU ld.so'
 
12189
  ;;
 
12190
 
12798
12191
netbsd*)
12799
12192
  version_type=sunos
12800
12193
  need_lib_prefix=no
12968
12361
  dynamic_linker=no
12969
12362
  ;;
12970
12363
esac
12971
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12972
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
12364
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12365
echo "${ECHO_T}$dynamic_linker" >&6
12973
12366
test "$dynamic_linker" = no && can_build_shared=no
12974
12367
 
12975
12368
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12977
12370
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12978
12371
fi
12979
12372
 
12980
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12981
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
12373
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12374
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12982
12375
hardcode_action_CXX=
12983
12376
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12984
12377
   test -n "$runpath_var_CXX" || \
13002
12395
  # directories.
13003
12396
  hardcode_action_CXX=unsupported
13004
12397
fi
13005
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13006
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
12398
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
12399
echo "${ECHO_T}$hardcode_action_CXX" >&6
13007
12400
 
13008
12401
if test "$hardcode_action_CXX" = relink; then
13009
12402
  # Fast installation is not supported
13528
12921
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13529
12922
 
13530
12923
 
13531
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13532
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13533
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13534
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
12924
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12925
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 
12926
echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12927
echo "${ECHO_T}$can_build_shared" >&6
13535
12928
 
13536
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13537
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
12929
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12930
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13538
12931
test "$can_build_shared" = "no" && enable_shared=no
13539
12932
 
13540
12933
# On AIX, shared libraries and static libraries use the same namespace, and
13553
12946
  fi
13554
12947
  ;;
13555
12948
esac
13556
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13557
 
echo "${ECHO_T}$enable_shared" >&6; }
 
12949
echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12950
echo "${ECHO_T}$enable_shared" >&6
13558
12951
 
13559
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13560
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
12952
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12953
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13561
12954
# Make sure either enable_shared or enable_static is yes.
13562
12955
test "$enable_shared" = yes || enable_static=yes
13563
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
13564
 
echo "${ECHO_T}$enable_static" >&6; }
 
12956
echo "$as_me:$LINENO: result: $enable_static" >&5
 
12957
echo "${ECHO_T}$enable_static" >&6
13565
12958
 
13566
12959
GCC_F77="$G77"
13567
12960
LD_F77="$LD"
13570
12963
lt_prog_compiler_pic_F77=
13571
12964
lt_prog_compiler_static_F77=
13572
12965
 
13573
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13574
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
12966
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12967
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13575
12968
 
13576
12969
  if test "$GCC" = yes; then
13577
12970
    lt_prog_compiler_wl_F77='-Wl,'
13700
13093
      lt_prog_compiler_static_F77='-Bstatic'
13701
13094
      ;;
13702
13095
 
13703
 
    linux* | k*bsd*-gnu)
 
13096
    linux*)
13704
13097
      case $cc_basename in
13705
13098
      icc* | ecc*)
13706
13099
        lt_prog_compiler_wl_F77='-Wl,'
13780
13173
    esac
13781
13174
  fi
13782
13175
 
13783
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13784
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 
13176
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
13177
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13785
13178
 
13786
13179
#
13787
13180
# Check to make sure the PIC flag actually works.
13788
13181
#
13789
13182
if test -n "$lt_prog_compiler_pic_F77"; then
13790
13183
 
13791
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13792
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 
13184
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
13185
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13793
13186
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13794
13187
  echo $ECHO_N "(cached) $ECHO_C" >&6
13795
13188
else
13806
13199
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13807
13200
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13808
13201
   -e 's:$: $lt_compiler_flag:'`
13809
 
   (eval echo "\"\$as_me:13809: $lt_compile\"" >&5)
 
13202
   (eval echo "\"\$as_me:13202: $lt_compile\"" >&5)
13810
13203
   (eval "$lt_compile" 2>conftest.err)
13811
13204
   ac_status=$?
13812
13205
   cat conftest.err >&5
13813
 
   echo "$as_me:13813: \$? = $ac_status" >&5
 
13206
   echo "$as_me:13206: \$? = $ac_status" >&5
13814
13207
   if (exit $ac_status) && test -s "$ac_outfile"; then
13815
13208
     # The compiler can only warn and ignore the option if not recognized
13816
13209
     # So say no if there are warnings other than the usual output.
13823
13216
   $rm conftest*
13824
13217
 
13825
13218
fi
13826
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13827
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
13219
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
13220
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13828
13221
 
13829
13222
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13830
13223
    case $lt_prog_compiler_pic_F77 in
13851
13244
# Check to make sure the static flag actually works.
13852
13245
#
13853
13246
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13854
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13855
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
13247
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13248
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13856
13249
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13857
13250
  echo $ECHO_N "(cached) $ECHO_C" >&6
13858
13251
else
13879
13272
   LDFLAGS="$save_LDFLAGS"
13880
13273
 
13881
13274
fi
13882
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13883
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
13275
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
 
13276
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13884
13277
 
13885
13278
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13886
13279
    :
13889
13282
fi
13890
13283
 
13891
13284
 
13892
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13893
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
13285
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13286
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13894
13287
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13895
13288
  echo $ECHO_N "(cached) $ECHO_C" >&6
13896
13289
else
13910
13303
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13911
13304
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13912
13305
   -e 's:$: $lt_compiler_flag:'`
13913
 
   (eval echo "\"\$as_me:13913: $lt_compile\"" >&5)
 
13306
   (eval echo "\"\$as_me:13306: $lt_compile\"" >&5)
13914
13307
   (eval "$lt_compile" 2>out/conftest.err)
13915
13308
   ac_status=$?
13916
13309
   cat out/conftest.err >&5
13917
 
   echo "$as_me:13917: \$? = $ac_status" >&5
 
13310
   echo "$as_me:13310: \$? = $ac_status" >&5
13918
13311
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13919
13312
   then
13920
13313
     # The compiler can only warn and ignore the option if not recognized
13936
13329
   $rm conftest*
13937
13330
 
13938
13331
fi
13939
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13940
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 
13332
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
13333
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13941
13334
 
13942
13335
 
13943
13336
hard_links="nottested"
13944
13337
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13945
13338
  # do not overwrite the value of need_locks provided by the user
13946
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13947
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
13339
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
13340
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13948
13341
  hard_links=yes
13949
13342
  $rm conftest*
13950
13343
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951
13344
  touch conftest.a
13952
13345
  ln conftest.a conftest.b 2>&5 || hard_links=no
13953
13346
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13955
 
echo "${ECHO_T}$hard_links" >&6; }
 
13347
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
13348
echo "${ECHO_T}$hard_links" >&6
13956
13349
  if test "$hard_links" = no; then
13957
13350
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958
13351
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13962
13355
  need_locks=no
13963
13356
fi
13964
13357
 
13965
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13966
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13358
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13359
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13967
13360
 
13968
13361
  runpath_var=
13969
13362
  allow_undefined_flag_F77=
14139
13532
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14140
13533
      ;;
14141
13534
 
14142
 
    linux* | k*bsd*-gnu)
 
13535
    linux*)
14143
13536
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14144
13537
        tmp_addflag=
14145
13538
        case $cc_basename,$host_cpu in
14171
13564
      fi
14172
13565
      ;;
14173
13566
 
14174
 
    netbsd* | netbsdelf*-gnu)
 
13567
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14175
13568
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14176
13569
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14177
13570
        wlarc=
14369
13762
      end
14370
13763
_ACEOF
14371
13764
rm -f conftest.$ac_objext conftest$ac_exeext
14372
 
if { (ac_try="$ac_link"
14373
 
case "(($ac_try" in
14374
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375
 
  *) ac_try_echo=$ac_try;;
14376
 
esac
14377
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378
 
  (eval "$ac_link") 2>conftest.er1
 
13765
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
13766
  (eval $ac_link) 2>conftest.er1
14379
13767
  ac_status=$?
14380
13768
  grep -v '^ *+' conftest.er1 >conftest.err
14381
13769
  rm -f conftest.er1
14382
13770
  cat conftest.err >&5
14383
13771
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384
 
  (exit $ac_status); } && {
14385
 
         test -z "$ac_f77_werror_flag" ||
14386
 
         test ! -s conftest.err
14387
 
       } && test -s conftest$ac_exeext &&
14388
 
       $as_test_x conftest$ac_exeext; then
 
13772
  (exit $ac_status); } &&
 
13773
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
13774
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13775
  (eval $ac_try) 2>&5
 
13776
  ac_status=$?
 
13777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13778
  (exit $ac_status); }; } &&
 
13779
         { ac_try='test -s conftest$ac_exeext'
 
13780
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13781
  (eval $ac_try) 2>&5
 
13782
  ac_status=$?
 
13783
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13784
  (exit $ac_status); }; }; then
14389
13785
 
14390
13786
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14391
13787
}'`
14396
13792
  echo "$as_me: failed program was:" >&5
14397
13793
sed 's/^/| /' conftest.$ac_ext >&5
14398
13794
 
14399
 
 
14400
13795
fi
14401
 
 
14402
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13796
rm -f conftest.err conftest.$ac_objext \
14403
13797
      conftest$ac_exeext conftest.$ac_ext
14404
13798
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14405
13799
 
14418
13812
      end
14419
13813
_ACEOF
14420
13814
rm -f conftest.$ac_objext conftest$ac_exeext
14421
 
if { (ac_try="$ac_link"
14422
 
case "(($ac_try" in
14423
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14424
 
  *) ac_try_echo=$ac_try;;
14425
 
esac
14426
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14427
 
  (eval "$ac_link") 2>conftest.er1
 
13815
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
13816
  (eval $ac_link) 2>conftest.er1
14428
13817
  ac_status=$?
14429
13818
  grep -v '^ *+' conftest.er1 >conftest.err
14430
13819
  rm -f conftest.er1
14431
13820
  cat conftest.err >&5
14432
13821
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433
 
  (exit $ac_status); } && {
14434
 
         test -z "$ac_f77_werror_flag" ||
14435
 
         test ! -s conftest.err
14436
 
       } && test -s conftest$ac_exeext &&
14437
 
       $as_test_x conftest$ac_exeext; then
 
13822
  (exit $ac_status); } &&
 
13823
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
13824
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13825
  (eval $ac_try) 2>&5
 
13826
  ac_status=$?
 
13827
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13828
  (exit $ac_status); }; } &&
 
13829
         { ac_try='test -s conftest$ac_exeext'
 
13830
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
13831
  (eval $ac_try) 2>&5
 
13832
  ac_status=$?
 
13833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13834
  (exit $ac_status); }; }; then
14438
13835
 
14439
13836
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14440
13837
}'`
14445
13842
  echo "$as_me: failed program was:" >&5
14446
13843
sed 's/^/| /' conftest.$ac_ext >&5
14447
13844
 
14448
 
 
14449
13845
fi
14450
 
 
14451
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13846
rm -f conftest.err conftest.$ac_objext \
14452
13847
      conftest$ac_exeext conftest.$ac_ext
14453
13848
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14454
13849
 
14586
13981
      hardcode_shlibpath_var_F77=no
14587
13982
      ;;
14588
13983
 
 
13984
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
 
13985
    kfreebsd*-gnu)
 
13986
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
13987
      hardcode_libdir_flag_spec_F77='-R$libdir'
 
13988
      hardcode_direct_F77=yes
 
13989
      hardcode_shlibpath_var_F77=no
 
13990
      link_all_deplibs_F77=no
 
13991
      ;;
 
13992
 
14589
13993
    hpux9*)
14590
13994
      if test "$GCC" = yes; then
14591
13995
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14681
14085
      link_all_deplibs_F77=yes
14682
14086
      ;;
14683
14087
 
14684
 
    netbsd* | netbsdelf*-gnu)
 
14088
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
14685
14089
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14686
14090
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14687
14091
      else
14897
14301
    esac
14898
14302
  fi
14899
14303
 
14900
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14901
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 
14304
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
14305
echo "${ECHO_T}$ld_shlibs_F77" >&6
14902
14306
test "$ld_shlibs_F77" = no && can_build_shared=no
14903
14307
 
14904
14308
#
14918
14322
      # Test whether the compiler implicitly links with -lc since on some
14919
14323
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14920
14324
      # to ld, don't add -lc before -lgcc.
14921
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14922
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
14325
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14326
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14923
14327
      $rm conftest*
14924
14328
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14925
14329
 
14956
14360
        cat conftest.err 1>&5
14957
14361
      fi
14958
14362
      $rm conftest*
14959
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14960
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 
14363
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
14364
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14961
14365
      ;;
14962
14366
    esac
14963
14367
  fi
14964
14368
  ;;
14965
14369
esac
14966
14370
 
14967
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14968
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14371
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14372
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14969
14373
library_names_spec=
14970
14374
libname_spec='lib$name'
14971
14375
soname_spec=
15171
14575
  dynamic_linker=no
15172
14576
  ;;
15173
14577
 
 
14578
kfreebsd*-gnu)
 
14579
  version_type=linux
 
14580
  need_lib_prefix=no
 
14581
  need_version=no
 
14582
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14583
  soname_spec='${libname}${release}${shared_ext}$major'
 
14584
  shlibpath_var=LD_LIBRARY_PATH
 
14585
  shlibpath_overrides_runpath=no
 
14586
  hardcode_into_libs=yes
 
14587
  dynamic_linker='GNU ld.so'
 
14588
  ;;
 
14589
 
15174
14590
freebsd* | dragonfly*)
15175
14591
  # DragonFly does not have aout.  When/if they implement a new
15176
14592
  # versioning mechanism, adjust this.
15326
14742
  ;;
15327
14743
 
15328
14744
# This must be Linux ELF.
15329
 
linux* | k*bsd*-gnu)
 
14745
linux*)
15330
14746
  version_type=linux
15331
14747
  need_lib_prefix=no
15332
14748
  need_version=no
15367
14783
  dynamic_linker='NetBSD ld.elf_so'
15368
14784
  ;;
15369
14785
 
 
14786
knetbsd*-gnu)
 
14787
  version_type=linux
 
14788
  need_lib_prefix=no
 
14789
  need_version=no
 
14790
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14791
  soname_spec='${libname}${release}${shared_ext}$major'
 
14792
  shlibpath_var=LD_LIBRARY_PATH
 
14793
  shlibpath_overrides_runpath=no
 
14794
  hardcode_into_libs=yes
 
14795
  dynamic_linker='GNU ld.so'
 
14796
  ;;
 
14797
 
15370
14798
netbsd*)
15371
14799
  version_type=sunos
15372
14800
  need_lib_prefix=no
15540
14968
  dynamic_linker=no
15541
14969
  ;;
15542
14970
esac
15543
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15544
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14971
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
14972
echo "${ECHO_T}$dynamic_linker" >&6
15545
14973
test "$dynamic_linker" = no && can_build_shared=no
15546
14974
 
15547
14975
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15549
14977
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15550
14978
fi
15551
14979
 
15552
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15553
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14980
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14981
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15554
14982
hardcode_action_F77=
15555
14983
if test -n "$hardcode_libdir_flag_spec_F77" || \
15556
14984
   test -n "$runpath_var_F77" || \
15574
15002
  # directories.
15575
15003
  hardcode_action_F77=unsupported
15576
15004
fi
15577
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15578
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
 
15005
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15006
echo "${ECHO_T}$hardcode_action_F77" >&6
15579
15007
 
15580
15008
if test "$hardcode_action_F77" = relink; then
15581
15009
  # Fast installation is not supported
16012
15440
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16013
15441
 
16014
15442
 
 
15443
 
16015
15444
# Source file extension for Java test sources.
16016
15445
ac_ext=java
16017
15446
 
16079
15508
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16080
15509
 
16081
15510
 
16082
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16083
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
15511
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
15512
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16084
15513
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16085
15514
  echo $ECHO_N "(cached) $ECHO_C" >&6
16086
15515
else
16097
15526
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16098
15527
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16099
15528
   -e 's:$: $lt_compiler_flag:'`
16100
 
   (eval echo "\"\$as_me:16100: $lt_compile\"" >&5)
 
15529
   (eval echo "\"\$as_me:15529: $lt_compile\"" >&5)
16101
15530
   (eval "$lt_compile" 2>conftest.err)
16102
15531
   ac_status=$?
16103
15532
   cat conftest.err >&5
16104
 
   echo "$as_me:16104: \$? = $ac_status" >&5
 
15533
   echo "$as_me:15533: \$? = $ac_status" >&5
16105
15534
   if (exit $ac_status) && test -s "$ac_outfile"; then
16106
15535
     # The compiler can only warn and ignore the option if not recognized
16107
15536
     # So say no if there are warnings other than the usual output.
16114
15543
   $rm conftest*
16115
15544
 
16116
15545
fi
16117
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16118
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
15546
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
15547
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16119
15548
 
16120
15549
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16121
15550
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16129
15558
lt_prog_compiler_pic_GCJ=
16130
15559
lt_prog_compiler_static_GCJ=
16131
15560
 
16132
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16133
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
15561
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15562
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16134
15563
 
16135
15564
  if test "$GCC" = yes; then
16136
15565
    lt_prog_compiler_wl_GCJ='-Wl,'
16259
15688
      lt_prog_compiler_static_GCJ='-Bstatic'
16260
15689
      ;;
16261
15690
 
16262
 
    linux* | k*bsd*-gnu)
 
15691
    linux*)
16263
15692
      case $cc_basename in
16264
15693
      icc* | ecc*)
16265
15694
        lt_prog_compiler_wl_GCJ='-Wl,'
16339
15768
    esac
16340
15769
  fi
16341
15770
 
16342
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16343
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 
15771
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
15772
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16344
15773
 
16345
15774
#
16346
15775
# Check to make sure the PIC flag actually works.
16347
15776
#
16348
15777
if test -n "$lt_prog_compiler_pic_GCJ"; then
16349
15778
 
16350
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16351
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 
15779
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
15780
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16352
15781
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16353
15782
  echo $ECHO_N "(cached) $ECHO_C" >&6
16354
15783
else
16365
15794
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16366
15795
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16367
15796
   -e 's:$: $lt_compiler_flag:'`
16368
 
   (eval echo "\"\$as_me:16368: $lt_compile\"" >&5)
 
15797
   (eval echo "\"\$as_me:15797: $lt_compile\"" >&5)
16369
15798
   (eval "$lt_compile" 2>conftest.err)
16370
15799
   ac_status=$?
16371
15800
   cat conftest.err >&5
16372
 
   echo "$as_me:16372: \$? = $ac_status" >&5
 
15801
   echo "$as_me:15801: \$? = $ac_status" >&5
16373
15802
   if (exit $ac_status) && test -s "$ac_outfile"; then
16374
15803
     # The compiler can only warn and ignore the option if not recognized
16375
15804
     # So say no if there are warnings other than the usual output.
16382
15811
   $rm conftest*
16383
15812
 
16384
15813
fi
16385
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16386
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
15814
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
15815
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16387
15816
 
16388
15817
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16389
15818
    case $lt_prog_compiler_pic_GCJ in
16410
15839
# Check to make sure the static flag actually works.
16411
15840
#
16412
15841
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16413
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16414
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
15842
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
15843
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16415
15844
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16416
15845
  echo $ECHO_N "(cached) $ECHO_C" >&6
16417
15846
else
16438
15867
   LDFLAGS="$save_LDFLAGS"
16439
15868
 
16440
15869
fi
16441
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16442
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
15870
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
 
15871
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16443
15872
 
16444
15873
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16445
15874
    :
16448
15877
fi
16449
15878
 
16450
15879
 
16451
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16452
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
15880
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
15881
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16453
15882
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16454
15883
  echo $ECHO_N "(cached) $ECHO_C" >&6
16455
15884
else
16469
15898
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16470
15899
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16471
15900
   -e 's:$: $lt_compiler_flag:'`
16472
 
   (eval echo "\"\$as_me:16472: $lt_compile\"" >&5)
 
15901
   (eval echo "\"\$as_me:15901: $lt_compile\"" >&5)
16473
15902
   (eval "$lt_compile" 2>out/conftest.err)
16474
15903
   ac_status=$?
16475
15904
   cat out/conftest.err >&5
16476
 
   echo "$as_me:16476: \$? = $ac_status" >&5
 
15905
   echo "$as_me:15905: \$? = $ac_status" >&5
16477
15906
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16478
15907
   then
16479
15908
     # The compiler can only warn and ignore the option if not recognized
16495
15924
   $rm conftest*
16496
15925
 
16497
15926
fi
16498
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16499
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
15927
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
15928
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16500
15929
 
16501
15930
 
16502
15931
hard_links="nottested"
16503
15932
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16504
15933
  # do not overwrite the value of need_locks provided by the user
16505
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16506
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
15934
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
15935
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16507
15936
  hard_links=yes
16508
15937
  $rm conftest*
16509
15938
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16510
15939
  touch conftest.a
16511
15940
  ln conftest.a conftest.b 2>&5 || hard_links=no
16512
15941
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16513
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
16514
 
echo "${ECHO_T}$hard_links" >&6; }
 
15942
  echo "$as_me:$LINENO: result: $hard_links" >&5
 
15943
echo "${ECHO_T}$hard_links" >&6
16515
15944
  if test "$hard_links" = no; then
16516
15945
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16517
15946
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16521
15950
  need_locks=no
16522
15951
fi
16523
15952
 
16524
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16525
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
15953
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
15954
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16526
15955
 
16527
15956
  runpath_var=
16528
15957
  allow_undefined_flag_GCJ=
16698
16127
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16699
16128
      ;;
16700
16129
 
16701
 
    linux* | k*bsd*-gnu)
 
16130
    linux*)
16702
16131
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16703
16132
        tmp_addflag=
16704
16133
        case $cc_basename,$host_cpu in
16730
16159
      fi
16731
16160
      ;;
16732
16161
 
16733
 
    netbsd* | netbsdelf*-gnu)
 
16162
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16734
16163
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16735
16164
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16736
16165
        wlarc=
16938
16367
}
16939
16368
_ACEOF
16940
16369
rm -f conftest.$ac_objext conftest$ac_exeext
16941
 
if { (ac_try="$ac_link"
16942
 
case "(($ac_try" in
16943
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944
 
  *) ac_try_echo=$ac_try;;
16945
 
esac
16946
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16947
 
  (eval "$ac_link") 2>conftest.er1
 
16370
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
16371
  (eval $ac_link) 2>conftest.er1
16948
16372
  ac_status=$?
16949
16373
  grep -v '^ *+' conftest.er1 >conftest.err
16950
16374
  rm -f conftest.er1
16951
16375
  cat conftest.err >&5
16952
16376
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953
 
  (exit $ac_status); } && {
16954
 
         test -z "$ac_c_werror_flag" ||
16955
 
         test ! -s conftest.err
16956
 
       } && test -s conftest$ac_exeext &&
16957
 
       $as_test_x conftest$ac_exeext; then
 
16377
  (exit $ac_status); } &&
 
16378
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16379
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16380
  (eval $ac_try) 2>&5
 
16381
  ac_status=$?
 
16382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16383
  (exit $ac_status); }; } &&
 
16384
         { ac_try='test -s conftest$ac_exeext'
 
16385
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16386
  (eval $ac_try) 2>&5
 
16387
  ac_status=$?
 
16388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16389
  (exit $ac_status); }; }; then
16958
16390
 
16959
16391
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16960
16392
}'`
16965
16397
  echo "$as_me: failed program was:" >&5
16966
16398
sed 's/^/| /' conftest.$ac_ext >&5
16967
16399
 
16968
 
 
16969
16400
fi
16970
 
 
16971
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16401
rm -f conftest.err conftest.$ac_objext \
16972
16402
      conftest$ac_exeext conftest.$ac_ext
16973
16403
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16974
16404
 
16997
16427
}
16998
16428
_ACEOF
16999
16429
rm -f conftest.$ac_objext conftest$ac_exeext
17000
 
if { (ac_try="$ac_link"
17001
 
case "(($ac_try" in
17002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17003
 
  *) ac_try_echo=$ac_try;;
17004
 
esac
17005
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006
 
  (eval "$ac_link") 2>conftest.er1
 
16430
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
16431
  (eval $ac_link) 2>conftest.er1
17007
16432
  ac_status=$?
17008
16433
  grep -v '^ *+' conftest.er1 >conftest.err
17009
16434
  rm -f conftest.er1
17010
16435
  cat conftest.err >&5
17011
16436
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012
 
  (exit $ac_status); } && {
17013
 
         test -z "$ac_c_werror_flag" ||
17014
 
         test ! -s conftest.err
17015
 
       } && test -s conftest$ac_exeext &&
17016
 
       $as_test_x conftest$ac_exeext; then
 
16437
  (exit $ac_status); } &&
 
16438
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
16439
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16440
  (eval $ac_try) 2>&5
 
16441
  ac_status=$?
 
16442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16443
  (exit $ac_status); }; } &&
 
16444
         { ac_try='test -s conftest$ac_exeext'
 
16445
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
16446
  (eval $ac_try) 2>&5
 
16447
  ac_status=$?
 
16448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16449
  (exit $ac_status); }; }; then
17017
16450
 
17018
16451
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17019
16452
}'`
17024
16457
  echo "$as_me: failed program was:" >&5
17025
16458
sed 's/^/| /' conftest.$ac_ext >&5
17026
16459
 
17027
 
 
17028
16460
fi
17029
 
 
17030
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
16461
rm -f conftest.err conftest.$ac_objext \
17031
16462
      conftest$ac_exeext conftest.$ac_ext
17032
16463
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17033
16464
 
17165
16596
      hardcode_shlibpath_var_GCJ=no
17166
16597
      ;;
17167
16598
 
 
16599
    # GNU/kFreeBSD uses gcc -shared to do shared libraries.
 
16600
    kfreebsd*-gnu)
 
16601
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
16602
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
16603
      hardcode_direct_GCJ=yes
 
16604
      hardcode_shlibpath_var_GCJ=no
 
16605
      link_all_deplibs_GCJ=no
 
16606
      ;;
 
16607
 
17168
16608
    hpux9*)
17169
16609
      if test "$GCC" = yes; then
17170
16610
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17260
16700
      link_all_deplibs_GCJ=yes
17261
16701
      ;;
17262
16702
 
17263
 
    netbsd* | netbsdelf*-gnu)
 
16703
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
17264
16704
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17265
16705
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17266
16706
      else
17476
16916
    esac
17477
16917
  fi
17478
16918
 
17479
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17480
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 
16919
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
16920
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17481
16921
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17482
16922
 
17483
16923
#
17497
16937
      # Test whether the compiler implicitly links with -lc since on some
17498
16938
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17499
16939
      # to ld, don't add -lc before -lgcc.
17500
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17501
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
16940
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
16941
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17502
16942
      $rm conftest*
17503
16943
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17504
16944
 
17535
16975
        cat conftest.err 1>&5
17536
16976
      fi
17537
16977
      $rm conftest*
17538
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17539
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 
16978
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
16979
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17540
16980
      ;;
17541
16981
    esac
17542
16982
  fi
17543
16983
  ;;
17544
16984
esac
17545
16985
 
17546
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17547
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
16986
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16987
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17548
16988
library_names_spec=
17549
16989
libname_spec='lib$name'
17550
16990
soname_spec=
17750
17190
  dynamic_linker=no
17751
17191
  ;;
17752
17192
 
 
17193
kfreebsd*-gnu)
 
17194
  version_type=linux
 
17195
  need_lib_prefix=no
 
17196
  need_version=no
 
17197
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17198
  soname_spec='${libname}${release}${shared_ext}$major'
 
17199
  shlibpath_var=LD_LIBRARY_PATH
 
17200
  shlibpath_overrides_runpath=no
 
17201
  hardcode_into_libs=yes
 
17202
  dynamic_linker='GNU ld.so'
 
17203
  ;;
 
17204
 
17753
17205
freebsd* | dragonfly*)
17754
17206
  # DragonFly does not have aout.  When/if they implement a new
17755
17207
  # versioning mechanism, adjust this.
17905
17357
  ;;
17906
17358
 
17907
17359
# This must be Linux ELF.
17908
 
linux* | k*bsd*-gnu)
 
17360
linux*)
17909
17361
  version_type=linux
17910
17362
  need_lib_prefix=no
17911
17363
  need_version=no
17946
17398
  dynamic_linker='NetBSD ld.elf_so'
17947
17399
  ;;
17948
17400
 
 
17401
knetbsd*-gnu)
 
17402
  version_type=linux
 
17403
  need_lib_prefix=no
 
17404
  need_version=no
 
17405
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17406
  soname_spec='${libname}${release}${shared_ext}$major'
 
17407
  shlibpath_var=LD_LIBRARY_PATH
 
17408
  shlibpath_overrides_runpath=no
 
17409
  hardcode_into_libs=yes
 
17410
  dynamic_linker='GNU ld.so'
 
17411
  ;;
 
17412
 
17949
17413
netbsd*)
17950
17414
  version_type=sunos
17951
17415
  need_lib_prefix=no
18119
17583
  dynamic_linker=no
18120
17584
  ;;
18121
17585
esac
18122
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18123
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
17586
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
17587
echo "${ECHO_T}$dynamic_linker" >&6
18124
17588
test "$dynamic_linker" = no && can_build_shared=no
18125
17589
 
18126
17590
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18128
17592
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18129
17593
fi
18130
17594
 
18131
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18132
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
17595
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17596
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18133
17597
hardcode_action_GCJ=
18134
17598
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18135
17599
   test -n "$runpath_var_GCJ" || \
18153
17617
  # directories.
18154
17618
  hardcode_action_GCJ=unsupported
18155
17619
fi
18156
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18157
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 
17620
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
17621
echo "${ECHO_T}$hardcode_action_GCJ" >&6
18158
17622
 
18159
17623
if test "$hardcode_action_GCJ" = relink; then
18160
17624
  # Fast installation is not supported
18590
18054
      RC)
18591
18055
 
18592
18056
 
 
18057
 
18593
18058
# Source file extension for RC test sources.
18594
18059
ac_ext=rc
18595
18060
 
19122
18587
 
19123
18588
 
19124
18589
 
19125
 
# Check whether --with-libgcrypt-prefix was given.
 
18590
# Check whether --with-libgcrypt-prefix or --without-libgcrypt-prefix was given.
19126
18591
if test "${with_libgcrypt_prefix+set}" = set; then
19127
 
  withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
 
18592
  withval="$with_libgcrypt_prefix"
 
18593
  libgcrypt_config_prefix="$withval"
19128
18594
else
19129
18595
  libgcrypt_config_prefix=""
19130
 
fi
19131
 
 
 
18596
fi;
19132
18597
  if test x$libgcrypt_config_prefix != x ; then
19133
18598
     if test x${LIBGCRYPT_CONFIG+set} != xset ; then
19134
18599
        LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
19137
18602
 
19138
18603
  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
19139
18604
set dummy libgcrypt-config; ac_word=$2
19140
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19141
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18605
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18606
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19142
18607
if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
19143
18608
  echo $ECHO_N "(cached) $ECHO_C" >&6
19144
18609
else
19153
18618
  IFS=$as_save_IFS
19154
18619
  test -z "$as_dir" && as_dir=.
19155
18620
  for ac_exec_ext in '' $ac_executable_extensions; do
19156
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18621
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19157
18622
    ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19158
18623
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19159
18624
    break 2
19160
18625
  fi
19161
18626
done
19162
18627
done
19163
 
IFS=$as_save_IFS
19164
18628
 
19165
18629
  test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
19166
18630
  ;;
19167
18631
esac
19168
18632
fi
19169
18633
LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
 
18634
 
19170
18635
if test -n "$LIBGCRYPT_CONFIG"; then
19171
 
  { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
19172
 
echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
 
18636
  echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
 
18637
echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6
19173
18638
else
19174
 
  { echo "$as_me:$LINENO: result: no" >&5
19175
 
echo "${ECHO_T}no" >&6; }
 
18639
  echo "$as_me:$LINENO: result: no" >&5
 
18640
echo "${ECHO_T}no" >&6
19176
18641
fi
19177
18642
 
19178
 
 
19179
18643
  tmp=1:1.2.0
19180
18644
  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
19181
18645
     req_libgcrypt_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
19185
18649
     min_libgcrypt_version="$tmp"
19186
18650
  fi
19187
18651
 
19188
 
  { echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
19189
 
echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6; }
 
18652
  echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
 
18653
echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6
19190
18654
  ok=no
19191
18655
  if test "$LIBGCRYPT_CONFIG" != "no" ; then
19192
18656
    req_major=`echo $min_libgcrypt_version | \
19219
18683
    fi
19220
18684
  fi
19221
18685
  if test $ok = yes; then
19222
 
    { echo "$as_me:$LINENO: result: yes" >&5
19223
 
echo "${ECHO_T}yes" >&6; }
 
18686
    echo "$as_me:$LINENO: result: yes" >&5
 
18687
echo "${ECHO_T}yes" >&6
19224
18688
  else
19225
 
    { echo "$as_me:$LINENO: result: no" >&5
19226
 
echo "${ECHO_T}no" >&6; }
 
18689
    echo "$as_me:$LINENO: result: no" >&5
 
18690
echo "${ECHO_T}no" >&6
19227
18691
  fi
19228
18692
  if test $ok = yes; then
19229
18693
     # If we have a recent libgcrypt, we should also check that the
19231
18695
     if test "$req_libgcrypt_api" -gt 0 ; then
19232
18696
        tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
19233
18697
        if test "$tmp" -gt 0 ; then
19234
 
           { echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
19235
 
echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6; }
 
18698
           echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
 
18699
echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6
19236
18700
           if test "$req_libgcrypt_api" -eq "$tmp" ; then
19237
 
             { echo "$as_me:$LINENO: result: okay" >&5
19238
 
echo "${ECHO_T}okay" >&6; }
 
18701
             echo "$as_me:$LINENO: result: okay" >&5
 
18702
echo "${ECHO_T}okay" >&6
19239
18703
           else
19240
18704
             ok=no
19241
 
             { echo "$as_me:$LINENO: result: does not match (want=$req_libgcrypt_api got=$tmp)" >&5
19242
 
echo "${ECHO_T}does not match (want=$req_libgcrypt_api got=$tmp)" >&6; }
 
18705
             echo "$as_me:$LINENO: result: does not match (want=$req_libgcrypt_api got=$tmp)" >&5
 
18706
echo "${ECHO_T}does not match (want=$req_libgcrypt_api got=$tmp)" >&6
19243
18707
           fi
19244
18708
        fi
19245
18709
     fi
19265
18729
libotr_found=yes
19266
18730
 
19267
18731
 
19268
 
# Check whether --with-libotr-prefix was given.
 
18732
# Check whether --with-libotr-prefix or --without-libotr-prefix was given.
19269
18733
if test "${with_libotr_prefix+set}" = set; then
19270
 
  withval=$with_libotr_prefix; libotr_prefix="$withval"
 
18734
  withval="$with_libotr_prefix"
 
18735
  libotr_prefix="$withval"
19271
18736
else
19272
18737
  libotr_prefix=""
19273
 
fi
19274
 
 
19275
 
 
19276
 
 
19277
 
# Check whether --with-libotr-inc-prefix was given.
 
18738
fi;
 
18739
 
 
18740
 
 
18741
# Check whether --with-libotr-inc-prefix or --without-libotr-inc-prefix was given.
19278
18742
if test "${with_libotr_inc_prefix+set}" = set; then
19279
 
  withval=$with_libotr_inc_prefix; libotr_inc_prefix="$withval"
 
18743
  withval="$with_libotr_inc_prefix"
 
18744
  libotr_inc_prefix="$withval"
19280
18745
else
19281
18746
  libotr_inc_prefix=""
19282
 
fi
19283
 
 
19284
 
 
19285
 
{ echo "$as_me:$LINENO: checking for libotr CFLAGS" >&5
19286
 
echo $ECHO_N "checking for libotr CFLAGS... $ECHO_C" >&6; }
 
18747
fi;
 
18748
 
 
18749
echo "$as_me:$LINENO: checking for libotr CFLAGS" >&5
 
18750
echo $ECHO_N "checking for libotr CFLAGS... $ECHO_C" >&6
19287
18751
if test "$libotr_inc_prefix" != "" ; then
19288
18752
        LIBOTR_CFLAGS="$LIBOTR_CFLAGS -I$libotr_inc_prefix"
19289
18753
        CFLAGS="$CFLAGS $LIBOTR_CFLAGS"
19290
18754
fi
19291
 
{ echo "$as_me:$LINENO: result: $LIBOTR_CFLAGS" >&5
19292
 
echo "${ECHO_T}$LIBOTR_CFLAGS" >&6; }
 
18755
echo "$as_me:$LINENO: result: $LIBOTR_CFLAGS" >&5
 
18756
echo "${ECHO_T}$LIBOTR_CFLAGS" >&6
19293
18757
 
19294
 
{ echo "$as_me:$LINENO: checking for libotr LIBS" >&5
19295
 
echo $ECHO_N "checking for libotr LIBS... $ECHO_C" >&6; }
 
18758
echo "$as_me:$LINENO: checking for libotr LIBS" >&5
 
18759
echo $ECHO_N "checking for libotr LIBS... $ECHO_C" >&6
19296
18760
if test "$libotr_prefix" != "" ; then
19297
18761
        LIBOTR_LIBS="$LIBOTR_LIBS -L$libotr_prefix"
19298
18762
        LDFLAGS="$LDFLAGS $LIBOTR_LIBS"
19300
18764
 
19301
18765
LIBOTR_LIBS="$LIBOTR_LIBS -lotr"
19302
18766
LIBS="$LIBOTR_LIBS $LIBS"
19303
 
{ echo "$as_me:$LINENO: result: $LIBOTR_LIBS" >&5
19304
 
echo "${ECHO_T}$LIBOTR_LIBS" >&6; }
 
18767
echo "$as_me:$LINENO: result: $LIBOTR_LIBS" >&5
 
18768
echo "${ECHO_T}$LIBOTR_LIBS" >&6
19305
18769
 
19306
 
min_libotr_version=3.0.0
 
18770
min_libotr_version=3.1.0
19307
18771
no_libotr=""
19308
18772
    libotr_min_major_version=`echo $min_libotr_version | \
19309
18773
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19311
18775
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19312
18776
    libotr_min_sub_version=`echo $min_libotr_version | \
19313
18777
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19314
 
{ echo "$as_me:$LINENO: checking for libotr headers version $libotr_min_major_version.x >= $min_libotr_version" >&5
19315
 
echo $ECHO_N "checking for libotr headers version $libotr_min_major_version.x >= $min_libotr_version... $ECHO_C" >&6; }
 
18778
echo "$as_me:$LINENO: checking for libotr headers version $libotr_min_major_version.x >= $min_libotr_version" >&5
 
18779
echo $ECHO_N "checking for libotr headers version $libotr_min_major_version.x >= $min_libotr_version... $ECHO_C" >&6
 
18780
 
19316
18781
 
19317
18782
 
19318
18783
ac_ext=c
19358
18823
}
19359
18824
_ACEOF
19360
18825
rm -f conftest.$ac_objext
19361
 
if { (ac_try="$ac_compile"
19362
 
case "(($ac_try" in
19363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364
 
  *) ac_try_echo=$ac_try;;
19365
 
esac
19366
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367
 
  (eval "$ac_compile") 2>conftest.er1
 
18826
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18827
  (eval $ac_compile) 2>conftest.er1
19368
18828
  ac_status=$?
19369
18829
  grep -v '^ *+' conftest.er1 >conftest.err
19370
18830
  rm -f conftest.er1
19371
18831
  cat conftest.err >&5
19372
18832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373
 
  (exit $ac_status); } && {
19374
 
         test -z "$ac_c_werror_flag" ||
19375
 
         test ! -s conftest.err
19376
 
       } && test -s conftest.$ac_objext; then
19377
 
  { echo "$as_me:$LINENO: result: found." >&5
19378
 
echo "${ECHO_T}found." >&6; }
 
18833
  (exit $ac_status); } &&
 
18834
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18835
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18836
  (eval $ac_try) 2>&5
 
18837
  ac_status=$?
 
18838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18839
  (exit $ac_status); }; } &&
 
18840
         { ac_try='test -s conftest.$ac_objext'
 
18841
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18842
  (eval $ac_try) 2>&5
 
18843
  ac_status=$?
 
18844
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18845
  (exit $ac_status); }; }; then
 
18846
  echo "$as_me:$LINENO: result: found." >&5
 
18847
echo "${ECHO_T}found." >&6
19379
18848
else
19380
18849
  echo "$as_me: failed program was:" >&5
19381
18850
sed 's/^/| /' conftest.$ac_ext >&5
19382
18851
 
19383
 
        { echo "$as_me:$LINENO: result: not present." >&5
19384
 
echo "${ECHO_T}not present." >&6; }
 
18852
echo "$as_me:$LINENO: result: not present." >&5
 
18853
echo "${ECHO_T}not present." >&6
19385
18854
 
19386
18855
   libotr_found=no
19387
18856
 
19388
18857
fi
19389
 
 
19390
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
18858
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19391
18859
ac_ext=c
19392
18860
ac_cpp='$CPP $CPPFLAGS'
19393
18861
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396
18864
 
19397
18865
 
19398
18866
 
19399
 
{ echo "$as_me:$LINENO: checking for otrl_message_receiving in -lotr" >&5
19400
 
echo $ECHO_N "checking for otrl_message_receiving in -lotr... $ECHO_C" >&6; }
 
18867
echo "$as_me:$LINENO: checking for otrl_message_receiving in -lotr" >&5
 
18868
echo $ECHO_N "checking for otrl_message_receiving in -lotr... $ECHO_C" >&6
19401
18869
if test "${ac_cv_lib_otr_otrl_message_receiving+set}" = set; then
19402
18870
  echo $ECHO_N "(cached) $ECHO_C" >&6
19403
18871
else
19411
18879
cat >>conftest.$ac_ext <<_ACEOF
19412
18880
/* end confdefs.h.  */
19413
18881
 
19414
 
/* Override any GCC internal prototype to avoid an error.
19415
 
   Use char because int might match the return type of a GCC
19416
 
   builtin and then its argument prototype would still apply.  */
 
18882
/* Override any gcc2 internal prototype to avoid an error.  */
19417
18883
#ifdef __cplusplus
19418
18884
extern "C"
19419
18885
#endif
 
18886
/* We use char because int might match the return type of a gcc2
 
18887
   builtin and then its argument prototype would still apply.  */
19420
18888
char otrl_message_receiving ();
19421
18889
int
19422
18890
main ()
19423
18891
{
19424
 
return otrl_message_receiving ();
 
18892
otrl_message_receiving ();
19425
18893
  ;
19426
18894
  return 0;
19427
18895
}
19428
18896
_ACEOF
19429
18897
rm -f conftest.$ac_objext conftest$ac_exeext
19430
 
if { (ac_try="$ac_link"
19431
 
case "(($ac_try" in
19432
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433
 
  *) ac_try_echo=$ac_try;;
19434
 
esac
19435
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436
 
  (eval "$ac_link") 2>conftest.er1
 
18898
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
18899
  (eval $ac_link) 2>conftest.er1
19437
18900
  ac_status=$?
19438
18901
  grep -v '^ *+' conftest.er1 >conftest.err
19439
18902
  rm -f conftest.er1
19440
18903
  cat conftest.err >&5
19441
18904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442
 
  (exit $ac_status); } && {
19443
 
         test -z "$ac_c_werror_flag" ||
19444
 
         test ! -s conftest.err
19445
 
       } && test -s conftest$ac_exeext &&
19446
 
       $as_test_x conftest$ac_exeext; then
 
18905
  (exit $ac_status); } &&
 
18906
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18907
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18908
  (eval $ac_try) 2>&5
 
18909
  ac_status=$?
 
18910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18911
  (exit $ac_status); }; } &&
 
18912
         { ac_try='test -s conftest$ac_exeext'
 
18913
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
18914
  (eval $ac_try) 2>&5
 
18915
  ac_status=$?
 
18916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18917
  (exit $ac_status); }; }; then
19447
18918
  ac_cv_lib_otr_otrl_message_receiving=yes
19448
18919
else
19449
18920
  echo "$as_me: failed program was:" >&5
19450
18921
sed 's/^/| /' conftest.$ac_ext >&5
19451
18922
 
19452
 
        ac_cv_lib_otr_otrl_message_receiving=no
 
18923
ac_cv_lib_otr_otrl_message_receiving=no
19453
18924
fi
19454
 
 
19455
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18925
rm -f conftest.err conftest.$ac_objext \
19456
18926
      conftest$ac_exeext conftest.$ac_ext
19457
18927
LIBS=$ac_check_lib_save_LIBS
19458
18928
fi
19459
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_otr_otrl_message_receiving" >&5
19460
 
echo "${ECHO_T}$ac_cv_lib_otr_otrl_message_receiving" >&6; }
 
18929
echo "$as_me:$LINENO: result: $ac_cv_lib_otr_otrl_message_receiving" >&5
 
18930
echo "${ECHO_T}$ac_cv_lib_otr_otrl_message_receiving" >&6
19461
18931
if test $ac_cv_lib_otr_otrl_message_receiving = yes; then
19462
18932
  cat >>confdefs.h <<_ACEOF
19463
18933
#define HAVE_LIBOTR 1
19479
18949
else
19480
18950
   LIBOTR_CFLAGS=""
19481
18951
   LIBOTR_LIBS=""
19482
 
   { { echo "$as_me:$LINENO: error: libotr 3.0.0 or newer is required." >&5
19483
 
echo "$as_me: error: libotr 3.0.0 or newer is required." >&2;}
 
18952
   { { echo "$as_me:$LINENO: error: libotr 3.1.0 or newer is required." >&5
 
18953
echo "$as_me: error: libotr 3.1.0 or newer is required." >&2;}
19484
18954
   { (exit 1); exit 1; }; }
19485
18955
fi
19486
18956
 
19494
18964
        if test -n "$ac_tool_prefix"; then
19495
18965
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19496
18966
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19497
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19498
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
18967
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
18968
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19499
18969
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19500
18970
  echo $ECHO_N "(cached) $ECHO_C" >&6
19501
18971
else
19510
18980
  IFS=$as_save_IFS
19511
18981
  test -z "$as_dir" && as_dir=.
19512
18982
  for ac_exec_ext in '' $ac_executable_extensions; do
19513
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18983
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19514
18984
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19515
18985
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19516
18986
    break 2
19517
18987
  fi
19518
18988
done
19519
18989
done
19520
 
IFS=$as_save_IFS
19521
18990
 
19522
18991
  ;;
19523
18992
esac
19524
18993
fi
19525
18994
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
18995
 
19526
18996
if test -n "$PKG_CONFIG"; then
19527
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19528
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
18997
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
18998
echo "${ECHO_T}$PKG_CONFIG" >&6
19529
18999
else
19530
 
  { echo "$as_me:$LINENO: result: no" >&5
19531
 
echo "${ECHO_T}no" >&6; }
 
19000
  echo "$as_me:$LINENO: result: no" >&5
 
19001
echo "${ECHO_T}no" >&6
19532
19002
fi
19533
 
 
19534
19003
 
19535
19004
fi
19536
19005
if test -z "$ac_cv_path_PKG_CONFIG"; then
19537
19006
  ac_pt_PKG_CONFIG=$PKG_CONFIG
19538
19007
  # Extract the first word of "pkg-config", so it can be a program name with args.
19539
19008
set dummy pkg-config; ac_word=$2
19540
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
19541
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
19009
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19010
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19542
19011
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19543
19012
  echo $ECHO_N "(cached) $ECHO_C" >&6
19544
19013
else
19553
19022
  IFS=$as_save_IFS
19554
19023
  test -z "$as_dir" && as_dir=.
19555
19024
  for ac_exec_ext in '' $ac_executable_extensions; do
19556
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
19025
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19557
19026
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19558
19027
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19559
19028
    break 2
19560
19029
  fi
19561
19030
done
19562
19031
done
19563
 
IFS=$as_save_IFS
19564
19032
 
19565
19033
  ;;
19566
19034
esac
19567
19035
fi
19568
19036
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
19037
 
19569
19038
if test -n "$ac_pt_PKG_CONFIG"; then
19570
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19571
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
19039
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
19040
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
19572
19041
else
19573
 
  { echo "$as_me:$LINENO: result: no" >&5
19574
 
echo "${ECHO_T}no" >&6; }
 
19042
  echo "$as_me:$LINENO: result: no" >&5
 
19043
echo "${ECHO_T}no" >&6
19575
19044
fi
19576
19045
 
19577
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
19578
 
    PKG_CONFIG=""
19579
 
  else
19580
 
    case $cross_compiling:$ac_tool_warned in
19581
 
yes:)
19582
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19583
 
whose name does not start with the host triplet.  If you think this
19584
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
19585
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19586
 
whose name does not start with the host triplet.  If you think this
19587
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19588
 
ac_tool_warned=yes ;;
19589
 
esac
19590
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
19591
 
  fi
 
19046
  PKG_CONFIG=$ac_pt_PKG_CONFIG
19592
19047
else
19593
19048
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19594
19049
fi
19596
19051
fi
19597
19052
if test -n "$PKG_CONFIG"; then
19598
19053
        _pkg_min_version=0.9.0
19599
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
19600
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
19054
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
19055
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
19601
19056
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19602
 
                { echo "$as_me:$LINENO: result: yes" >&5
19603
 
echo "${ECHO_T}yes" >&6; }
 
19057
                echo "$as_me:$LINENO: result: yes" >&5
 
19058
echo "${ECHO_T}yes" >&6
19604
19059
        else
19605
 
                { echo "$as_me:$LINENO: result: no" >&5
19606
 
echo "${ECHO_T}no" >&6; }
 
19060
                echo "$as_me:$LINENO: result: no" >&5
 
19061
echo "${ECHO_T}no" >&6
19607
19062
                PKG_CONFIG=""
19608
19063
        fi
19609
19064
 
19610
19065
fi
19611
19066
 
19612
19067
pkg_failed=no
19613
 
{ echo "$as_me:$LINENO: checking for EXTRA" >&5
19614
 
echo $ECHO_N "checking for EXTRA... $ECHO_C" >&6; }
 
19068
echo "$as_me:$LINENO: checking for EXTRA" >&5
 
19069
echo $ECHO_N "checking for EXTRA... $ECHO_C" >&6
19615
19070
 
19616
19071
if test -n "$PKG_CONFIG"; then
19617
19072
    if test -n "$EXTRA_CFLAGS"; then
19618
19073
        pkg_cv_EXTRA_CFLAGS="$EXTRA_CFLAGS"
19619
19074
    else
19620
19075
        if test -n "$PKG_CONFIG" && \
19621
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0\"") >&5
19622
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0") 2>&5
 
19076
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0\"") >&5
 
19077
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0") 2>&5
19623
19078
  ac_status=$?
19624
19079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625
19080
  (exit $ac_status); }; then
19626
 
  pkg_cv_EXTRA_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0" 2>/dev/null`
 
19081
  pkg_cv_EXTRA_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0" 2>/dev/null`
19627
19082
else
19628
19083
  pkg_failed=yes
19629
19084
fi
19636
19091
        pkg_cv_EXTRA_LIBS="$EXTRA_LIBS"
19637
19092
    else
19638
19093
        if test -n "$PKG_CONFIG" && \
19639
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0\"") >&5
19640
 
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0") 2>&5
 
19094
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0\"") >&5
 
19095
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0") 2>&5
19641
19096
  ac_status=$?
19642
19097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643
19098
  (exit $ac_status); }; then
19644
 
  pkg_cv_EXTRA_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0" 2>/dev/null`
 
19099
  pkg_cv_EXTRA_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0" 2>/dev/null`
19645
19100
else
19646
19101
  pkg_failed=yes
19647
19102
fi
19660
19115
        _pkg_short_errors_supported=no
19661
19116
fi
19662
19117
        if test $_pkg_short_errors_supported = yes; then
19663
 
                EXTRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0"`
 
19118
                EXTRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0"`
19664
19119
        else
19665
 
                EXTRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 pidgin >= 2.0"`
 
19120
                EXTRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0"`
19666
19121
        fi
19667
19122
        # Put the nasty error message in config.log where it belongs
19668
19123
        echo "$EXTRA_PKG_ERRORS" >&5
19669
19124
 
19670
 
        { echo "$as_me:$LINENO: result: no" >&5
19671
 
echo "${ECHO_T}no" >&6; }
19672
 
                { { echo "$as_me:$LINENO: error: glib" >&5
19673
 
echo "$as_me: error: glib" >&2;}
19674
 
   { (exit gtk and pidgin required); exit gtk and pidgin required; }; }
 
19125
        { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0) were not met:
 
19126
 
 
19127
$EXTRA_PKG_ERRORS
 
19128
 
 
19129
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
19130
installed software in a non-standard prefix.
 
19131
 
 
19132
Alternatively, you may set the environment variables EXTRA_CFLAGS
 
19133
and EXTRA_LIBS to avoid the need to call pkg-config.
 
19134
See the pkg-config man page for more details.
 
19135
" >&5
 
19136
echo "$as_me: error: Package requirements (glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0) were not met:
 
19137
 
 
19138
$EXTRA_PKG_ERRORS
 
19139
 
 
19140
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
19141
installed software in a non-standard prefix.
 
19142
 
 
19143
Alternatively, you may set the environment variables EXTRA_CFLAGS
 
19144
and EXTRA_LIBS to avoid the need to call pkg-config.
 
19145
See the pkg-config man page for more details.
 
19146
" >&2;}
 
19147
   { (exit 1); exit 1; }; }
19675
19148
elif test $pkg_failed = untried; then
19676
 
        { { echo "$as_me:$LINENO: error: glib" >&5
19677
 
echo "$as_me: error: glib" >&2;}
19678
 
   { (exit gtk and pidgin required); exit gtk and pidgin required; }; }
 
19149
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
19150
is in your PATH or set the PKG_CONFIG environment variable to the full
 
19151
path to pkg-config.
 
19152
 
 
19153
Alternatively, you may set the environment variables EXTRA_CFLAGS
 
19154
and EXTRA_LIBS to avoid the need to call pkg-config.
 
19155
See the pkg-config man page for more details.
 
19156
 
 
19157
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
19158
See \`config.log' for more details." >&5
 
19159
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
19160
is in your PATH or set the PKG_CONFIG environment variable to the full
 
19161
path to pkg-config.
 
19162
 
 
19163
Alternatively, you may set the environment variables EXTRA_CFLAGS
 
19164
and EXTRA_LIBS to avoid the need to call pkg-config.
 
19165
See the pkg-config man page for more details.
 
19166
 
 
19167
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
19168
See \`config.log' for more details." >&2;}
 
19169
   { (exit 1); exit 1; }; }
19679
19170
else
19680
19171
        EXTRA_CFLAGS=$pkg_cv_EXTRA_CFLAGS
19681
19172
        EXTRA_LIBS=$pkg_cv_EXTRA_LIBS
19682
 
        { echo "$as_me:$LINENO: result: yes" >&5
19683
 
echo "${ECHO_T}yes" >&6; }
 
19173
        echo "$as_me:$LINENO: result: yes" >&5
 
19174
echo "${ECHO_T}yes" >&6
19684
19175
        :
19685
19176
fi
19686
19177
 
19687
 
ac_config_files="$ac_config_files Makefile"
19688
 
 
 
19178
 
 
19179
case "$am__api_version" in
 
19180
    1.01234)
 
19181
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
19182
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
19183
   { (exit 1); exit 1; }; }
 
19184
    ;;
 
19185
    *)
 
19186
    ;;
 
19187
esac
 
19188
 
 
19189
if test -n ""; then
 
19190
    echo "$as_me:$LINENO: checking for intltool >= " >&5
 
19191
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
 
19192
 
 
19193
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
19194
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
 
19195
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
 
19196
 
 
19197
    echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
19198
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
 
19199
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
19200
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool  or later." >&5
 
19201
echo "$as_me: error: Your intltool is too old.  You need intltool  or later." >&2;}
 
19202
   { (exit 1); exit 1; }; }
 
19203
fi
 
19204
 
 
19205
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19206
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19207
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19208
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19209
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
19210
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19211
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19212
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19213
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19214
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19215
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19216
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
19217
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19218
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19219
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19220
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19221
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19222
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
19223
 
 
19224
 
 
19225
 
 
19226
 
 
19227
 
 
19228
 
 
19229
 
 
19230
 
 
19231
 
 
19232
 
 
19233
 
 
19234
 
 
19235
 
 
19236
 
 
19237
 
 
19238
 
 
19239
 
 
19240
 
 
19241
 
 
19242
 
 
19243
# Use the tools built into the package, not the ones that are installed.
 
19244
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
 
19245
 
 
19246
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
 
19247
 
 
19248
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
 
19249
 
 
19250
 
 
19251
# Extract the first word of "perl", so it can be a program name with args.
 
19252
set dummy perl; ac_word=$2
 
19253
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19254
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19255
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
 
19256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19257
else
 
19258
  case $INTLTOOL_PERL in
 
19259
  [\\/]* | ?:[\\/]*)
 
19260
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
19261
  ;;
 
19262
  *)
 
19263
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19264
for as_dir in $PATH
 
19265
do
 
19266
  IFS=$as_save_IFS
 
19267
  test -z "$as_dir" && as_dir=.
 
19268
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19269
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19270
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
19271
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19272
    break 2
 
19273
  fi
 
19274
done
 
19275
done
 
19276
 
 
19277
  ;;
 
19278
esac
 
19279
fi
 
19280
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
19281
 
 
19282
if test -n "$INTLTOOL_PERL"; then
 
19283
  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
19284
echo "${ECHO_T}$INTLTOOL_PERL" >&6
 
19285
else
 
19286
  echo "$as_me:$LINENO: result: no" >&5
 
19287
echo "${ECHO_T}no" >&6
 
19288
fi
 
19289
 
 
19290
if test -z "$INTLTOOL_PERL"; then
 
19291
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
19292
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
19293
   { (exit 1); exit 1; }; }
 
19294
fi
 
19295
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
 
19296
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
19297
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
19298
   { (exit 1); exit 1; }; }
 
19299
fi
 
19300
if test "x" != "xno-xml"; then
 
19301
   echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
19302
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
 
19303
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
19304
       echo "$as_me:$LINENO: result: ok" >&5
 
19305
echo "${ECHO_T}ok" >&6
 
19306
   else
 
19307
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
19308
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
19309
   { (exit 1); exit 1; }; }
 
19310
   fi
 
19311
fi
 
19312
 
 
19313
# Extract the first word of "iconv", so it can be a program name with args.
 
19314
set dummy iconv; ac_word=$2
 
19315
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19316
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19317
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
 
19318
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19319
else
 
19320
  case $INTLTOOL_ICONV in
 
19321
  [\\/]* | ?:[\\/]*)
 
19322
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
 
19323
  ;;
 
19324
  *)
 
19325
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19326
for as_dir in $PATH
 
19327
do
 
19328
  IFS=$as_save_IFS
 
19329
  test -z "$as_dir" && as_dir=.
 
19330
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19331
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19332
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
 
19333
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19334
    break 2
 
19335
  fi
 
19336
done
 
19337
done
 
19338
 
 
19339
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
 
19340
  ;;
 
19341
esac
 
19342
fi
 
19343
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
 
19344
 
 
19345
if test -n "$INTLTOOL_ICONV"; then
 
19346
  echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
 
19347
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
 
19348
else
 
19349
  echo "$as_me:$LINENO: result: no" >&5
 
19350
echo "${ECHO_T}no" >&6
 
19351
fi
 
19352
 
 
19353
# Extract the first word of "msgfmt", so it can be a program name with args.
 
19354
set dummy msgfmt; ac_word=$2
 
19355
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19356
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19357
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
 
19358
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19359
else
 
19360
  case $INTLTOOL_MSGFMT in
 
19361
  [\\/]* | ?:[\\/]*)
 
19362
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
 
19363
  ;;
 
19364
  *)
 
19365
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19366
for as_dir in $PATH
 
19367
do
 
19368
  IFS=$as_save_IFS
 
19369
  test -z "$as_dir" && as_dir=.
 
19370
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19371
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19372
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
19373
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19374
    break 2
 
19375
  fi
 
19376
done
 
19377
done
 
19378
 
 
19379
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
 
19380
  ;;
 
19381
esac
 
19382
fi
 
19383
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
 
19384
 
 
19385
if test -n "$INTLTOOL_MSGFMT"; then
 
19386
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
 
19387
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
 
19388
else
 
19389
  echo "$as_me:$LINENO: result: no" >&5
 
19390
echo "${ECHO_T}no" >&6
 
19391
fi
 
19392
 
 
19393
# Extract the first word of "msgmerge", so it can be a program name with args.
 
19394
set dummy msgmerge; ac_word=$2
 
19395
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19397
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
 
19398
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19399
else
 
19400
  case $INTLTOOL_MSGMERGE in
 
19401
  [\\/]* | ?:[\\/]*)
 
19402
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
 
19403
  ;;
 
19404
  *)
 
19405
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19406
for as_dir in $PATH
 
19407
do
 
19408
  IFS=$as_save_IFS
 
19409
  test -z "$as_dir" && as_dir=.
 
19410
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19411
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19412
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
19413
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19414
    break 2
 
19415
  fi
 
19416
done
 
19417
done
 
19418
 
 
19419
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
 
19420
  ;;
 
19421
esac
 
19422
fi
 
19423
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
 
19424
 
 
19425
if test -n "$INTLTOOL_MSGMERGE"; then
 
19426
  echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
 
19427
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
 
19428
else
 
19429
  echo "$as_me:$LINENO: result: no" >&5
 
19430
echo "${ECHO_T}no" >&6
 
19431
fi
 
19432
 
 
19433
# Extract the first word of "xgettext", so it can be a program name with args.
 
19434
set dummy xgettext; ac_word=$2
 
19435
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19436
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19437
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
 
19438
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19439
else
 
19440
  case $INTLTOOL_XGETTEXT in
 
19441
  [\\/]* | ?:[\\/]*)
 
19442
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
 
19443
  ;;
 
19444
  *)
 
19445
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19446
for as_dir in $PATH
 
19447
do
 
19448
  IFS=$as_save_IFS
 
19449
  test -z "$as_dir" && as_dir=.
 
19450
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19451
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19452
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
19453
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19454
    break 2
 
19455
  fi
 
19456
done
 
19457
done
 
19458
 
 
19459
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
 
19460
  ;;
 
19461
esac
 
19462
fi
 
19463
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
 
19464
 
 
19465
if test -n "$INTLTOOL_XGETTEXT"; then
 
19466
  echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
 
19467
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
 
19468
else
 
19469
  echo "$as_me:$LINENO: result: no" >&5
 
19470
echo "${ECHO_T}no" >&6
 
19471
fi
 
19472
 
 
19473
 
 
19474
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
19475
 
 
19476
 
 
19477
 
 
19478
 
 
19479
 
 
19480
          ac_config_commands="$ac_config_commands intltool"
 
19481
 
 
19482
 
 
19483
 
 
19484
 
 
19485
GETTEXT_PACKAGE=pidgin-otr
 
19486
 
 
19487
 
 
19488
cat >>confdefs.h <<_ACEOF
 
19489
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
19490
_ACEOF
 
19491
 
 
19492
 
 
19493
ALL_LINGUAS="es fr nl sk"
 
19494
 
 
19495
 
 
19496
for ac_header in locale.h
 
19497
do
 
19498
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19499
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
19500
  echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19501
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
19502
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
19503
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19504
fi
 
19505
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
19506
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
19507
else
 
19508
  # Is the header compilable?
 
19509
echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19510
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
19511
cat >conftest.$ac_ext <<_ACEOF
 
19512
/* confdefs.h.  */
 
19513
_ACEOF
 
19514
cat confdefs.h >>conftest.$ac_ext
 
19515
cat >>conftest.$ac_ext <<_ACEOF
 
19516
/* end confdefs.h.  */
 
19517
$ac_includes_default
 
19518
#include <$ac_header>
 
19519
_ACEOF
 
19520
rm -f conftest.$ac_objext
 
19521
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19522
  (eval $ac_compile) 2>conftest.er1
 
19523
  ac_status=$?
 
19524
  grep -v '^ *+' conftest.er1 >conftest.err
 
19525
  rm -f conftest.er1
 
19526
  cat conftest.err >&5
 
19527
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19528
  (exit $ac_status); } &&
 
19529
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19530
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19531
  (eval $ac_try) 2>&5
 
19532
  ac_status=$?
 
19533
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19534
  (exit $ac_status); }; } &&
 
19535
         { ac_try='test -s conftest.$ac_objext'
 
19536
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19537
  (eval $ac_try) 2>&5
 
19538
  ac_status=$?
 
19539
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19540
  (exit $ac_status); }; }; then
 
19541
  ac_header_compiler=yes
 
19542
else
 
19543
  echo "$as_me: failed program was:" >&5
 
19544
sed 's/^/| /' conftest.$ac_ext >&5
 
19545
 
 
19546
ac_header_compiler=no
 
19547
fi
 
19548
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19549
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19550
echo "${ECHO_T}$ac_header_compiler" >&6
 
19551
 
 
19552
# Is the header present?
 
19553
echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19554
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
19555
cat >conftest.$ac_ext <<_ACEOF
 
19556
/* confdefs.h.  */
 
19557
_ACEOF
 
19558
cat confdefs.h >>conftest.$ac_ext
 
19559
cat >>conftest.$ac_ext <<_ACEOF
 
19560
/* end confdefs.h.  */
 
19561
#include <$ac_header>
 
19562
_ACEOF
 
19563
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
19564
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
19565
  ac_status=$?
 
19566
  grep -v '^ *+' conftest.er1 >conftest.err
 
19567
  rm -f conftest.er1
 
19568
  cat conftest.err >&5
 
19569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19570
  (exit $ac_status); } >/dev/null; then
 
19571
  if test -s conftest.err; then
 
19572
    ac_cpp_err=$ac_c_preproc_warn_flag
 
19573
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
19574
  else
 
19575
    ac_cpp_err=
 
19576
  fi
 
19577
else
 
19578
  ac_cpp_err=yes
 
19579
fi
 
19580
if test -z "$ac_cpp_err"; then
 
19581
  ac_header_preproc=yes
 
19582
else
 
19583
  echo "$as_me: failed program was:" >&5
 
19584
sed 's/^/| /' conftest.$ac_ext >&5
 
19585
 
 
19586
  ac_header_preproc=no
 
19587
fi
 
19588
rm -f conftest.err conftest.$ac_ext
 
19589
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19590
echo "${ECHO_T}$ac_header_preproc" >&6
 
19591
 
 
19592
# So?  What about this header?
 
19593
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
19594
  yes:no: )
 
19595
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19596
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19597
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19598
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
19599
    ac_header_preproc=yes
 
19600
    ;;
 
19601
  no:yes:* )
 
19602
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19603
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19604
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19605
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19606
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19607
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19608
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19609
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19610
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19611
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19612
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19613
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
19614
    (
 
19615
      cat <<\_ASBOX
 
19616
## ------------------------------------- ##
 
19617
## Report this to the pidgin-otr lists.  ##
 
19618
## ------------------------------------- ##
 
19619
_ASBOX
 
19620
    ) |
 
19621
      sed "s/^/$as_me: WARNING:     /" >&2
 
19622
    ;;
 
19623
esac
 
19624
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19625
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
19626
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
19627
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19628
else
 
19629
  eval "$as_ac_Header=\$ac_header_preproc"
 
19630
fi
 
19631
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
19632
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
19633
 
 
19634
fi
 
19635
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
19636
  cat >>confdefs.h <<_ACEOF
 
19637
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19638
_ACEOF
 
19639
 
 
19640
fi
 
19641
 
 
19642
done
 
19643
 
 
19644
    if test $ac_cv_header_locale_h = yes; then
 
19645
    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
19646
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
 
19647
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
19648
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19649
else
 
19650
  cat >conftest.$ac_ext <<_ACEOF
 
19651
/* confdefs.h.  */
 
19652
_ACEOF
 
19653
cat confdefs.h >>conftest.$ac_ext
 
19654
cat >>conftest.$ac_ext <<_ACEOF
 
19655
/* end confdefs.h.  */
 
19656
#include <locale.h>
 
19657
int
 
19658
main ()
 
19659
{
 
19660
return LC_MESSAGES
 
19661
  ;
 
19662
  return 0;
 
19663
}
 
19664
_ACEOF
 
19665
rm -f conftest.$ac_objext conftest$ac_exeext
 
19666
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19667
  (eval $ac_link) 2>conftest.er1
 
19668
  ac_status=$?
 
19669
  grep -v '^ *+' conftest.er1 >conftest.err
 
19670
  rm -f conftest.er1
 
19671
  cat conftest.err >&5
 
19672
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19673
  (exit $ac_status); } &&
 
19674
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19675
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19676
  (eval $ac_try) 2>&5
 
19677
  ac_status=$?
 
19678
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19679
  (exit $ac_status); }; } &&
 
19680
         { ac_try='test -s conftest$ac_exeext'
 
19681
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19682
  (eval $ac_try) 2>&5
 
19683
  ac_status=$?
 
19684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19685
  (exit $ac_status); }; }; then
 
19686
  am_cv_val_LC_MESSAGES=yes
 
19687
else
 
19688
  echo "$as_me: failed program was:" >&5
 
19689
sed 's/^/| /' conftest.$ac_ext >&5
 
19690
 
 
19691
am_cv_val_LC_MESSAGES=no
 
19692
fi
 
19693
rm -f conftest.err conftest.$ac_objext \
 
19694
      conftest$ac_exeext conftest.$ac_ext
 
19695
fi
 
19696
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
19697
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
 
19698
    if test $am_cv_val_LC_MESSAGES = yes; then
 
19699
 
 
19700
cat >>confdefs.h <<\_ACEOF
 
19701
#define HAVE_LC_MESSAGES 1
 
19702
_ACEOF
 
19703
 
 
19704
    fi
 
19705
  fi
 
19706
     USE_NLS=yes
 
19707
 
 
19708
 
 
19709
    gt_cv_have_gettext=no
 
19710
 
 
19711
    CATOBJEXT=NONE
 
19712
    XGETTEXT=:
 
19713
    INTLLIBS=
 
19714
 
 
19715
    if test "${ac_cv_header_libintl_h+set}" = set; then
 
19716
  echo "$as_me:$LINENO: checking for libintl.h" >&5
 
19717
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
19718
if test "${ac_cv_header_libintl_h+set}" = set; then
 
19719
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19720
fi
 
19721
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
19722
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
19723
else
 
19724
  # Is the header compilable?
 
19725
echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
19726
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
 
19727
cat >conftest.$ac_ext <<_ACEOF
 
19728
/* confdefs.h.  */
 
19729
_ACEOF
 
19730
cat confdefs.h >>conftest.$ac_ext
 
19731
cat >>conftest.$ac_ext <<_ACEOF
 
19732
/* end confdefs.h.  */
 
19733
$ac_includes_default
 
19734
#include <libintl.h>
 
19735
_ACEOF
 
19736
rm -f conftest.$ac_objext
 
19737
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
19738
  (eval $ac_compile) 2>conftest.er1
 
19739
  ac_status=$?
 
19740
  grep -v '^ *+' conftest.er1 >conftest.err
 
19741
  rm -f conftest.er1
 
19742
  cat conftest.err >&5
 
19743
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19744
  (exit $ac_status); } &&
 
19745
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19746
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19747
  (eval $ac_try) 2>&5
 
19748
  ac_status=$?
 
19749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19750
  (exit $ac_status); }; } &&
 
19751
         { ac_try='test -s conftest.$ac_objext'
 
19752
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19753
  (eval $ac_try) 2>&5
 
19754
  ac_status=$?
 
19755
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19756
  (exit $ac_status); }; }; then
 
19757
  ac_header_compiler=yes
 
19758
else
 
19759
  echo "$as_me: failed program was:" >&5
 
19760
sed 's/^/| /' conftest.$ac_ext >&5
 
19761
 
 
19762
ac_header_compiler=no
 
19763
fi
 
19764
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
19765
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19766
echo "${ECHO_T}$ac_header_compiler" >&6
 
19767
 
 
19768
# Is the header present?
 
19769
echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
19770
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
 
19771
cat >conftest.$ac_ext <<_ACEOF
 
19772
/* confdefs.h.  */
 
19773
_ACEOF
 
19774
cat confdefs.h >>conftest.$ac_ext
 
19775
cat >>conftest.$ac_ext <<_ACEOF
 
19776
/* end confdefs.h.  */
 
19777
#include <libintl.h>
 
19778
_ACEOF
 
19779
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
19780
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
19781
  ac_status=$?
 
19782
  grep -v '^ *+' conftest.er1 >conftest.err
 
19783
  rm -f conftest.er1
 
19784
  cat conftest.err >&5
 
19785
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19786
  (exit $ac_status); } >/dev/null; then
 
19787
  if test -s conftest.err; then
 
19788
    ac_cpp_err=$ac_c_preproc_warn_flag
 
19789
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
19790
  else
 
19791
    ac_cpp_err=
 
19792
  fi
 
19793
else
 
19794
  ac_cpp_err=yes
 
19795
fi
 
19796
if test -z "$ac_cpp_err"; then
 
19797
  ac_header_preproc=yes
 
19798
else
 
19799
  echo "$as_me: failed program was:" >&5
 
19800
sed 's/^/| /' conftest.$ac_ext >&5
 
19801
 
 
19802
  ac_header_preproc=no
 
19803
fi
 
19804
rm -f conftest.err conftest.$ac_ext
 
19805
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19806
echo "${ECHO_T}$ac_header_preproc" >&6
 
19807
 
 
19808
# So?  What about this header?
 
19809
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
19810
  yes:no: )
 
19811
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
19812
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19813
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
19814
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
19815
    ac_header_preproc=yes
 
19816
    ;;
 
19817
  no:yes:* )
 
19818
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
19819
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
19820
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
19821
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
19822
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
19823
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
19824
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
19825
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19826
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
19827
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
19828
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
19829
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
19830
    (
 
19831
      cat <<\_ASBOX
 
19832
## ------------------------------------- ##
 
19833
## Report this to the pidgin-otr lists.  ##
 
19834
## ------------------------------------- ##
 
19835
_ASBOX
 
19836
    ) |
 
19837
      sed "s/^/$as_me: WARNING:     /" >&2
 
19838
    ;;
 
19839
esac
 
19840
echo "$as_me:$LINENO: checking for libintl.h" >&5
 
19841
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
 
19842
if test "${ac_cv_header_libintl_h+set}" = set; then
 
19843
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19844
else
 
19845
  ac_cv_header_libintl_h=$ac_header_preproc
 
19846
fi
 
19847
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
19848
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
 
19849
 
 
19850
fi
 
19851
if test $ac_cv_header_libintl_h = yes; then
 
19852
  gt_cv_func_dgettext_libintl="no"
 
19853
      libintl_extra_libs=""
 
19854
 
 
19855
      #
 
19856
      # First check in libc
 
19857
      #
 
19858
      echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
19859
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6
 
19860
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
19861
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19862
else
 
19863
  cat >conftest.$ac_ext <<_ACEOF
 
19864
/* confdefs.h.  */
 
19865
_ACEOF
 
19866
cat confdefs.h >>conftest.$ac_ext
 
19867
cat >>conftest.$ac_ext <<_ACEOF
 
19868
/* end confdefs.h.  */
 
19869
 
 
19870
#include <libintl.h>
 
19871
 
 
19872
int
 
19873
main ()
 
19874
{
 
19875
return !ngettext ("","", 1)
 
19876
  ;
 
19877
  return 0;
 
19878
}
 
19879
_ACEOF
 
19880
rm -f conftest.$ac_objext conftest$ac_exeext
 
19881
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19882
  (eval $ac_link) 2>conftest.er1
 
19883
  ac_status=$?
 
19884
  grep -v '^ *+' conftest.er1 >conftest.err
 
19885
  rm -f conftest.er1
 
19886
  cat conftest.err >&5
 
19887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19888
  (exit $ac_status); } &&
 
19889
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19890
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19891
  (eval $ac_try) 2>&5
 
19892
  ac_status=$?
 
19893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19894
  (exit $ac_status); }; } &&
 
19895
         { ac_try='test -s conftest$ac_exeext'
 
19896
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19897
  (eval $ac_try) 2>&5
 
19898
  ac_status=$?
 
19899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19900
  (exit $ac_status); }; }; then
 
19901
  gt_cv_func_ngettext_libc=yes
 
19902
else
 
19903
  echo "$as_me: failed program was:" >&5
 
19904
sed 's/^/| /' conftest.$ac_ext >&5
 
19905
 
 
19906
gt_cv_func_ngettext_libc=no
 
19907
fi
 
19908
rm -f conftest.err conftest.$ac_objext \
 
19909
      conftest$ac_exeext conftest.$ac_ext
 
19910
 
 
19911
fi
 
19912
echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
19913
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6
 
19914
 
 
19915
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
19916
              echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
19917
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
 
19918
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
19919
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19920
else
 
19921
  cat >conftest.$ac_ext <<_ACEOF
 
19922
/* confdefs.h.  */
 
19923
_ACEOF
 
19924
cat confdefs.h >>conftest.$ac_ext
 
19925
cat >>conftest.$ac_ext <<_ACEOF
 
19926
/* end confdefs.h.  */
 
19927
 
 
19928
#include <libintl.h>
 
19929
 
 
19930
int
 
19931
main ()
 
19932
{
 
19933
return !dgettext ("","")
 
19934
  ;
 
19935
  return 0;
 
19936
}
 
19937
_ACEOF
 
19938
rm -f conftest.$ac_objext conftest$ac_exeext
 
19939
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
19940
  (eval $ac_link) 2>conftest.er1
 
19941
  ac_status=$?
 
19942
  grep -v '^ *+' conftest.er1 >conftest.err
 
19943
  rm -f conftest.er1
 
19944
  cat conftest.err >&5
 
19945
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19946
  (exit $ac_status); } &&
 
19947
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
19948
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19949
  (eval $ac_try) 2>&5
 
19950
  ac_status=$?
 
19951
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19952
  (exit $ac_status); }; } &&
 
19953
         { ac_try='test -s conftest$ac_exeext'
 
19954
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
19955
  (eval $ac_try) 2>&5
 
19956
  ac_status=$?
 
19957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19958
  (exit $ac_status); }; }; then
 
19959
  gt_cv_func_dgettext_libc=yes
 
19960
else
 
19961
  echo "$as_me: failed program was:" >&5
 
19962
sed 's/^/| /' conftest.$ac_ext >&5
 
19963
 
 
19964
gt_cv_func_dgettext_libc=no
 
19965
fi
 
19966
rm -f conftest.err conftest.$ac_objext \
 
19967
      conftest$ac_exeext conftest.$ac_ext
 
19968
 
 
19969
fi
 
19970
echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
19971
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
 
19972
      fi
 
19973
 
 
19974
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
19975
 
 
19976
for ac_func in bind_textdomain_codeset
 
19977
do
 
19978
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
19979
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
19980
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
19981
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
19982
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19983
else
 
19984
  cat >conftest.$ac_ext <<_ACEOF
 
19985
/* confdefs.h.  */
 
19986
_ACEOF
 
19987
cat confdefs.h >>conftest.$ac_ext
 
19988
cat >>conftest.$ac_ext <<_ACEOF
 
19989
/* end confdefs.h.  */
 
19990
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
19991
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
19992
#define $ac_func innocuous_$ac_func
 
19993
 
 
19994
/* System header to define __stub macros and hopefully few prototypes,
 
19995
    which can conflict with char $ac_func (); below.
 
19996
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
19997
    <limits.h> exists even on freestanding compilers.  */
 
19998
 
 
19999
#ifdef __STDC__
 
20000
# include <limits.h>
 
20001
#else
 
20002
# include <assert.h>
 
20003
#endif
 
20004
 
 
20005
#undef $ac_func
 
20006
 
 
20007
/* Override any gcc2 internal prototype to avoid an error.  */
 
20008
#ifdef __cplusplus
 
20009
extern "C"
 
20010
{
 
20011
#endif
 
20012
/* We use char because int might match the return type of a gcc2
 
20013
   builtin and then its argument prototype would still apply.  */
 
20014
char $ac_func ();
 
20015
/* The GNU C library defines this for functions which it implements
 
20016
    to always fail with ENOSYS.  Some functions are actually named
 
20017
    something starting with __ and the normal name is an alias.  */
 
20018
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20019
choke me
 
20020
#else
 
20021
char (*f) () = $ac_func;
 
20022
#endif
 
20023
#ifdef __cplusplus
 
20024
}
 
20025
#endif
 
20026
 
 
20027
int
 
20028
main ()
 
20029
{
 
20030
return f != $ac_func;
 
20031
  ;
 
20032
  return 0;
 
20033
}
 
20034
_ACEOF
 
20035
rm -f conftest.$ac_objext conftest$ac_exeext
 
20036
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20037
  (eval $ac_link) 2>conftest.er1
 
20038
  ac_status=$?
 
20039
  grep -v '^ *+' conftest.er1 >conftest.err
 
20040
  rm -f conftest.er1
 
20041
  cat conftest.err >&5
 
20042
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20043
  (exit $ac_status); } &&
 
20044
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20045
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20046
  (eval $ac_try) 2>&5
 
20047
  ac_status=$?
 
20048
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20049
  (exit $ac_status); }; } &&
 
20050
         { ac_try='test -s conftest$ac_exeext'
 
20051
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20052
  (eval $ac_try) 2>&5
 
20053
  ac_status=$?
 
20054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20055
  (exit $ac_status); }; }; then
 
20056
  eval "$as_ac_var=yes"
 
20057
else
 
20058
  echo "$as_me: failed program was:" >&5
 
20059
sed 's/^/| /' conftest.$ac_ext >&5
 
20060
 
 
20061
eval "$as_ac_var=no"
 
20062
fi
 
20063
rm -f conftest.err conftest.$ac_objext \
 
20064
      conftest$ac_exeext conftest.$ac_ext
 
20065
fi
 
20066
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
20067
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
20068
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20069
  cat >>confdefs.h <<_ACEOF
 
20070
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20071
_ACEOF
 
20072
 
 
20073
fi
 
20074
done
 
20075
 
 
20076
      fi
 
20077
 
 
20078
      #
 
20079
      # If we don't have everything we want, check in libintl
 
20080
      #
 
20081
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
20082
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
20083
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
20084
 
 
20085
        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
20086
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
 
20087
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
20088
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20089
else
 
20090
  ac_check_lib_save_LIBS=$LIBS
 
20091
LIBS="-lintl  $LIBS"
 
20092
cat >conftest.$ac_ext <<_ACEOF
 
20093
/* confdefs.h.  */
 
20094
_ACEOF
 
20095
cat confdefs.h >>conftest.$ac_ext
 
20096
cat >>conftest.$ac_ext <<_ACEOF
 
20097
/* end confdefs.h.  */
 
20098
 
 
20099
/* Override any gcc2 internal prototype to avoid an error.  */
 
20100
#ifdef __cplusplus
 
20101
extern "C"
 
20102
#endif
 
20103
/* We use char because int might match the return type of a gcc2
 
20104
   builtin and then its argument prototype would still apply.  */
 
20105
char bindtextdomain ();
 
20106
int
 
20107
main ()
 
20108
{
 
20109
bindtextdomain ();
 
20110
  ;
 
20111
  return 0;
 
20112
}
 
20113
_ACEOF
 
20114
rm -f conftest.$ac_objext conftest$ac_exeext
 
20115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20116
  (eval $ac_link) 2>conftest.er1
 
20117
  ac_status=$?
 
20118
  grep -v '^ *+' conftest.er1 >conftest.err
 
20119
  rm -f conftest.er1
 
20120
  cat conftest.err >&5
 
20121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20122
  (exit $ac_status); } &&
 
20123
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20124
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20125
  (eval $ac_try) 2>&5
 
20126
  ac_status=$?
 
20127
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20128
  (exit $ac_status); }; } &&
 
20129
         { ac_try='test -s conftest$ac_exeext'
 
20130
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20131
  (eval $ac_try) 2>&5
 
20132
  ac_status=$?
 
20133
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20134
  (exit $ac_status); }; }; then
 
20135
  ac_cv_lib_intl_bindtextdomain=yes
 
20136
else
 
20137
  echo "$as_me: failed program was:" >&5
 
20138
sed 's/^/| /' conftest.$ac_ext >&5
 
20139
 
 
20140
ac_cv_lib_intl_bindtextdomain=no
 
20141
fi
 
20142
rm -f conftest.err conftest.$ac_objext \
 
20143
      conftest$ac_exeext conftest.$ac_ext
 
20144
LIBS=$ac_check_lib_save_LIBS
 
20145
fi
 
20146
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
20147
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 
20148
if test $ac_cv_lib_intl_bindtextdomain = yes; then
 
20149
  echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
20150
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
20151
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
20152
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20153
else
 
20154
  ac_check_lib_save_LIBS=$LIBS
 
20155
LIBS="-lintl  $LIBS"
 
20156
cat >conftest.$ac_ext <<_ACEOF
 
20157
/* confdefs.h.  */
 
20158
_ACEOF
 
20159
cat confdefs.h >>conftest.$ac_ext
 
20160
cat >>conftest.$ac_ext <<_ACEOF
 
20161
/* end confdefs.h.  */
 
20162
 
 
20163
/* Override any gcc2 internal prototype to avoid an error.  */
 
20164
#ifdef __cplusplus
 
20165
extern "C"
 
20166
#endif
 
20167
/* We use char because int might match the return type of a gcc2
 
20168
   builtin and then its argument prototype would still apply.  */
 
20169
char ngettext ();
 
20170
int
 
20171
main ()
 
20172
{
 
20173
ngettext ();
 
20174
  ;
 
20175
  return 0;
 
20176
}
 
20177
_ACEOF
 
20178
rm -f conftest.$ac_objext conftest$ac_exeext
 
20179
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20180
  (eval $ac_link) 2>conftest.er1
 
20181
  ac_status=$?
 
20182
  grep -v '^ *+' conftest.er1 >conftest.err
 
20183
  rm -f conftest.er1
 
20184
  cat conftest.err >&5
 
20185
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20186
  (exit $ac_status); } &&
 
20187
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20188
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20189
  (eval $ac_try) 2>&5
 
20190
  ac_status=$?
 
20191
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20192
  (exit $ac_status); }; } &&
 
20193
         { ac_try='test -s conftest$ac_exeext'
 
20194
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20195
  (eval $ac_try) 2>&5
 
20196
  ac_status=$?
 
20197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20198
  (exit $ac_status); }; }; then
 
20199
  ac_cv_lib_intl_ngettext=yes
 
20200
else
 
20201
  echo "$as_me: failed program was:" >&5
 
20202
sed 's/^/| /' conftest.$ac_ext >&5
 
20203
 
 
20204
ac_cv_lib_intl_ngettext=no
 
20205
fi
 
20206
rm -f conftest.err conftest.$ac_objext \
 
20207
      conftest$ac_exeext conftest.$ac_ext
 
20208
LIBS=$ac_check_lib_save_LIBS
 
20209
fi
 
20210
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
20211
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
20212
if test $ac_cv_lib_intl_ngettext = yes; then
 
20213
  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
20214
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
 
20215
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
20216
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20217
else
 
20218
  ac_check_lib_save_LIBS=$LIBS
 
20219
LIBS="-lintl  $LIBS"
 
20220
cat >conftest.$ac_ext <<_ACEOF
 
20221
/* confdefs.h.  */
 
20222
_ACEOF
 
20223
cat confdefs.h >>conftest.$ac_ext
 
20224
cat >>conftest.$ac_ext <<_ACEOF
 
20225
/* end confdefs.h.  */
 
20226
 
 
20227
/* Override any gcc2 internal prototype to avoid an error.  */
 
20228
#ifdef __cplusplus
 
20229
extern "C"
 
20230
#endif
 
20231
/* We use char because int might match the return type of a gcc2
 
20232
   builtin and then its argument prototype would still apply.  */
 
20233
char dgettext ();
 
20234
int
 
20235
main ()
 
20236
{
 
20237
dgettext ();
 
20238
  ;
 
20239
  return 0;
 
20240
}
 
20241
_ACEOF
 
20242
rm -f conftest.$ac_objext conftest$ac_exeext
 
20243
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20244
  (eval $ac_link) 2>conftest.er1
 
20245
  ac_status=$?
 
20246
  grep -v '^ *+' conftest.er1 >conftest.err
 
20247
  rm -f conftest.er1
 
20248
  cat conftest.err >&5
 
20249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20250
  (exit $ac_status); } &&
 
20251
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20252
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20253
  (eval $ac_try) 2>&5
 
20254
  ac_status=$?
 
20255
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20256
  (exit $ac_status); }; } &&
 
20257
         { ac_try='test -s conftest$ac_exeext'
 
20258
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20259
  (eval $ac_try) 2>&5
 
20260
  ac_status=$?
 
20261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20262
  (exit $ac_status); }; }; then
 
20263
  ac_cv_lib_intl_dgettext=yes
 
20264
else
 
20265
  echo "$as_me: failed program was:" >&5
 
20266
sed 's/^/| /' conftest.$ac_ext >&5
 
20267
 
 
20268
ac_cv_lib_intl_dgettext=no
 
20269
fi
 
20270
rm -f conftest.err conftest.$ac_objext \
 
20271
      conftest$ac_exeext conftest.$ac_ext
 
20272
LIBS=$ac_check_lib_save_LIBS
 
20273
fi
 
20274
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
20275
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
 
20276
if test $ac_cv_lib_intl_dgettext = yes; then
 
20277
  gt_cv_func_dgettext_libintl=yes
 
20278
fi
 
20279
 
 
20280
fi
 
20281
 
 
20282
fi
 
20283
 
 
20284
 
 
20285
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
20286
          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
20287
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
 
20288
          echo "$as_me:$LINENO: result: " >&5
 
20289
echo "${ECHO_T}" >&6
 
20290
          echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
20291
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6
 
20292
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
20293
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20294
else
 
20295
  ac_check_lib_save_LIBS=$LIBS
 
20296
LIBS="-lintl -liconv $LIBS"
 
20297
cat >conftest.$ac_ext <<_ACEOF
 
20298
/* confdefs.h.  */
 
20299
_ACEOF
 
20300
cat confdefs.h >>conftest.$ac_ext
 
20301
cat >>conftest.$ac_ext <<_ACEOF
 
20302
/* end confdefs.h.  */
 
20303
 
 
20304
/* Override any gcc2 internal prototype to avoid an error.  */
 
20305
#ifdef __cplusplus
 
20306
extern "C"
 
20307
#endif
 
20308
/* We use char because int might match the return type of a gcc2
 
20309
   builtin and then its argument prototype would still apply.  */
 
20310
char ngettext ();
 
20311
int
 
20312
main ()
 
20313
{
 
20314
ngettext ();
 
20315
  ;
 
20316
  return 0;
 
20317
}
 
20318
_ACEOF
 
20319
rm -f conftest.$ac_objext conftest$ac_exeext
 
20320
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20321
  (eval $ac_link) 2>conftest.er1
 
20322
  ac_status=$?
 
20323
  grep -v '^ *+' conftest.er1 >conftest.err
 
20324
  rm -f conftest.er1
 
20325
  cat conftest.err >&5
 
20326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20327
  (exit $ac_status); } &&
 
20328
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20329
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20330
  (eval $ac_try) 2>&5
 
20331
  ac_status=$?
 
20332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20333
  (exit $ac_status); }; } &&
 
20334
         { ac_try='test -s conftest$ac_exeext'
 
20335
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20336
  (eval $ac_try) 2>&5
 
20337
  ac_status=$?
 
20338
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20339
  (exit $ac_status); }; }; then
 
20340
  ac_cv_lib_intl_ngettext=yes
 
20341
else
 
20342
  echo "$as_me: failed program was:" >&5
 
20343
sed 's/^/| /' conftest.$ac_ext >&5
 
20344
 
 
20345
ac_cv_lib_intl_ngettext=no
 
20346
fi
 
20347
rm -f conftest.err conftest.$ac_objext \
 
20348
      conftest$ac_exeext conftest.$ac_ext
 
20349
LIBS=$ac_check_lib_save_LIBS
 
20350
fi
 
20351
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
20352
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6
 
20353
if test $ac_cv_lib_intl_ngettext = yes; then
 
20354
  echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
20355
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
 
20356
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
20357
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20358
else
 
20359
  ac_check_lib_save_LIBS=$LIBS
 
20360
LIBS="-lintl -liconv $LIBS"
 
20361
cat >conftest.$ac_ext <<_ACEOF
 
20362
/* confdefs.h.  */
 
20363
_ACEOF
 
20364
cat confdefs.h >>conftest.$ac_ext
 
20365
cat >>conftest.$ac_ext <<_ACEOF
 
20366
/* end confdefs.h.  */
 
20367
 
 
20368
/* Override any gcc2 internal prototype to avoid an error.  */
 
20369
#ifdef __cplusplus
 
20370
extern "C"
 
20371
#endif
 
20372
/* We use char because int might match the return type of a gcc2
 
20373
   builtin and then its argument prototype would still apply.  */
 
20374
char dcgettext ();
 
20375
int
 
20376
main ()
 
20377
{
 
20378
dcgettext ();
 
20379
  ;
 
20380
  return 0;
 
20381
}
 
20382
_ACEOF
 
20383
rm -f conftest.$ac_objext conftest$ac_exeext
 
20384
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20385
  (eval $ac_link) 2>conftest.er1
 
20386
  ac_status=$?
 
20387
  grep -v '^ *+' conftest.er1 >conftest.err
 
20388
  rm -f conftest.er1
 
20389
  cat conftest.err >&5
 
20390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20391
  (exit $ac_status); } &&
 
20392
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20393
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20394
  (eval $ac_try) 2>&5
 
20395
  ac_status=$?
 
20396
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20397
  (exit $ac_status); }; } &&
 
20398
         { ac_try='test -s conftest$ac_exeext'
 
20399
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20400
  (eval $ac_try) 2>&5
 
20401
  ac_status=$?
 
20402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20403
  (exit $ac_status); }; }; then
 
20404
  ac_cv_lib_intl_dcgettext=yes
 
20405
else
 
20406
  echo "$as_me: failed program was:" >&5
 
20407
sed 's/^/| /' conftest.$ac_ext >&5
 
20408
 
 
20409
ac_cv_lib_intl_dcgettext=no
 
20410
fi
 
20411
rm -f conftest.err conftest.$ac_objext \
 
20412
      conftest$ac_exeext conftest.$ac_ext
 
20413
LIBS=$ac_check_lib_save_LIBS
 
20414
fi
 
20415
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
20416
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
 
20417
if test $ac_cv_lib_intl_dcgettext = yes; then
 
20418
  gt_cv_func_dgettext_libintl=yes
 
20419
                        libintl_extra_libs=-liconv
 
20420
else
 
20421
  :
 
20422
fi
 
20423
 
 
20424
else
 
20425
  :
 
20426
fi
 
20427
 
 
20428
        fi
 
20429
 
 
20430
        #
 
20431
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
20432
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
20433
        # and both have dgettext and ngettext
 
20434
        #
 
20435
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
20436
          glib_save_LIBS="$LIBS"
 
20437
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
20438
          unset ac_cv_func_bind_textdomain_codeset
 
20439
 
 
20440
for ac_func in bind_textdomain_codeset
 
20441
do
 
20442
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20443
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20444
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
20445
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
20446
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20447
else
 
20448
  cat >conftest.$ac_ext <<_ACEOF
 
20449
/* confdefs.h.  */
 
20450
_ACEOF
 
20451
cat confdefs.h >>conftest.$ac_ext
 
20452
cat >>conftest.$ac_ext <<_ACEOF
 
20453
/* end confdefs.h.  */
 
20454
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
20455
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20456
#define $ac_func innocuous_$ac_func
 
20457
 
 
20458
/* System header to define __stub macros and hopefully few prototypes,
 
20459
    which can conflict with char $ac_func (); below.
 
20460
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20461
    <limits.h> exists even on freestanding compilers.  */
 
20462
 
 
20463
#ifdef __STDC__
 
20464
# include <limits.h>
 
20465
#else
 
20466
# include <assert.h>
 
20467
#endif
 
20468
 
 
20469
#undef $ac_func
 
20470
 
 
20471
/* Override any gcc2 internal prototype to avoid an error.  */
 
20472
#ifdef __cplusplus
 
20473
extern "C"
 
20474
{
 
20475
#endif
 
20476
/* We use char because int might match the return type of a gcc2
 
20477
   builtin and then its argument prototype would still apply.  */
 
20478
char $ac_func ();
 
20479
/* The GNU C library defines this for functions which it implements
 
20480
    to always fail with ENOSYS.  Some functions are actually named
 
20481
    something starting with __ and the normal name is an alias.  */
 
20482
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20483
choke me
 
20484
#else
 
20485
char (*f) () = $ac_func;
 
20486
#endif
 
20487
#ifdef __cplusplus
 
20488
}
 
20489
#endif
 
20490
 
 
20491
int
 
20492
main ()
 
20493
{
 
20494
return f != $ac_func;
 
20495
  ;
 
20496
  return 0;
 
20497
}
 
20498
_ACEOF
 
20499
rm -f conftest.$ac_objext conftest$ac_exeext
 
20500
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20501
  (eval $ac_link) 2>conftest.er1
 
20502
  ac_status=$?
 
20503
  grep -v '^ *+' conftest.er1 >conftest.err
 
20504
  rm -f conftest.er1
 
20505
  cat conftest.err >&5
 
20506
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20507
  (exit $ac_status); } &&
 
20508
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20509
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20510
  (eval $ac_try) 2>&5
 
20511
  ac_status=$?
 
20512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20513
  (exit $ac_status); }; } &&
 
20514
         { ac_try='test -s conftest$ac_exeext'
 
20515
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20516
  (eval $ac_try) 2>&5
 
20517
  ac_status=$?
 
20518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20519
  (exit $ac_status); }; }; then
 
20520
  eval "$as_ac_var=yes"
 
20521
else
 
20522
  echo "$as_me: failed program was:" >&5
 
20523
sed 's/^/| /' conftest.$ac_ext >&5
 
20524
 
 
20525
eval "$as_ac_var=no"
 
20526
fi
 
20527
rm -f conftest.err conftest.$ac_objext \
 
20528
      conftest$ac_exeext conftest.$ac_ext
 
20529
fi
 
20530
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
20531
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
20532
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20533
  cat >>confdefs.h <<_ACEOF
 
20534
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20535
_ACEOF
 
20536
 
 
20537
fi
 
20538
done
 
20539
 
 
20540
          LIBS="$glib_save_LIBS"
 
20541
 
 
20542
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
20543
            gt_cv_func_dgettext_libc=no
 
20544
          else
 
20545
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
20546
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
20547
              gt_cv_func_dgettext_libintl=no
 
20548
            fi
 
20549
          fi
 
20550
        fi
 
20551
      fi
 
20552
 
 
20553
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
20554
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
20555
        gt_cv_have_gettext=yes
 
20556
      fi
 
20557
 
 
20558
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
20559
        INTLLIBS="-lintl $libintl_extra_libs"
 
20560
      fi
 
20561
 
 
20562
      if test "$gt_cv_have_gettext" = "yes"; then
 
20563
 
 
20564
cat >>confdefs.h <<\_ACEOF
 
20565
#define HAVE_GETTEXT 1
 
20566
_ACEOF
 
20567
 
 
20568
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
20569
set dummy msgfmt; ac_word=$2
 
20570
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20571
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20572
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
20573
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20574
else
 
20575
  case "$MSGFMT" in
 
20576
  /*)
 
20577
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
20578
  ;;
 
20579
  *)
 
20580
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
20581
  for ac_dir in $PATH; do
 
20582
    test -z "$ac_dir" && ac_dir=.
 
20583
    if test -f $ac_dir/$ac_word; then
 
20584
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
20585
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
20586
        break
 
20587
      fi
 
20588
    fi
 
20589
  done
 
20590
  IFS="$ac_save_ifs"
 
20591
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
20592
  ;;
 
20593
esac
 
20594
fi
 
20595
MSGFMT="$ac_cv_path_MSGFMT"
 
20596
if test "$MSGFMT" != "no"; then
 
20597
  echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
20598
echo "${ECHO_T}$MSGFMT" >&6
 
20599
else
 
20600
  echo "$as_me:$LINENO: result: no" >&5
 
20601
echo "${ECHO_T}no" >&6
 
20602
fi
 
20603
        if test "$MSGFMT" != "no"; then
 
20604
          glib_save_LIBS="$LIBS"
 
20605
          LIBS="$LIBS $INTLLIBS"
 
20606
 
 
20607
for ac_func in dcgettext
 
20608
do
 
20609
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20610
echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20611
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 
20612
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
20613
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20614
else
 
20615
  cat >conftest.$ac_ext <<_ACEOF
 
20616
/* confdefs.h.  */
 
20617
_ACEOF
 
20618
cat confdefs.h >>conftest.$ac_ext
 
20619
cat >>conftest.$ac_ext <<_ACEOF
 
20620
/* end confdefs.h.  */
 
20621
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
20622
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20623
#define $ac_func innocuous_$ac_func
 
20624
 
 
20625
/* System header to define __stub macros and hopefully few prototypes,
 
20626
    which can conflict with char $ac_func (); below.
 
20627
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20628
    <limits.h> exists even on freestanding compilers.  */
 
20629
 
 
20630
#ifdef __STDC__
 
20631
# include <limits.h>
 
20632
#else
 
20633
# include <assert.h>
 
20634
#endif
 
20635
 
 
20636
#undef $ac_func
 
20637
 
 
20638
/* Override any gcc2 internal prototype to avoid an error.  */
 
20639
#ifdef __cplusplus
 
20640
extern "C"
 
20641
{
 
20642
#endif
 
20643
/* We use char because int might match the return type of a gcc2
 
20644
   builtin and then its argument prototype would still apply.  */
 
20645
char $ac_func ();
 
20646
/* The GNU C library defines this for functions which it implements
 
20647
    to always fail with ENOSYS.  Some functions are actually named
 
20648
    something starting with __ and the normal name is an alias.  */
 
20649
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20650
choke me
 
20651
#else
 
20652
char (*f) () = $ac_func;
 
20653
#endif
 
20654
#ifdef __cplusplus
 
20655
}
 
20656
#endif
 
20657
 
 
20658
int
 
20659
main ()
 
20660
{
 
20661
return f != $ac_func;
 
20662
  ;
 
20663
  return 0;
 
20664
}
 
20665
_ACEOF
 
20666
rm -f conftest.$ac_objext conftest$ac_exeext
 
20667
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20668
  (eval $ac_link) 2>conftest.er1
 
20669
  ac_status=$?
 
20670
  grep -v '^ *+' conftest.er1 >conftest.err
 
20671
  rm -f conftest.er1
 
20672
  cat conftest.err >&5
 
20673
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20674
  (exit $ac_status); } &&
 
20675
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20676
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20677
  (eval $ac_try) 2>&5
 
20678
  ac_status=$?
 
20679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20680
  (exit $ac_status); }; } &&
 
20681
         { ac_try='test -s conftest$ac_exeext'
 
20682
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20683
  (eval $ac_try) 2>&5
 
20684
  ac_status=$?
 
20685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20686
  (exit $ac_status); }; }; then
 
20687
  eval "$as_ac_var=yes"
 
20688
else
 
20689
  echo "$as_me: failed program was:" >&5
 
20690
sed 's/^/| /' conftest.$ac_ext >&5
 
20691
 
 
20692
eval "$as_ac_var=no"
 
20693
fi
 
20694
rm -f conftest.err conftest.$ac_objext \
 
20695
      conftest$ac_exeext conftest.$ac_ext
 
20696
fi
 
20697
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 
20698
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
20699
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20700
  cat >>confdefs.h <<_ACEOF
 
20701
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20702
_ACEOF
 
20703
 
 
20704
fi
 
20705
done
 
20706
 
 
20707
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
20708
set dummy gmsgfmt; ac_word=$2
 
20709
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20710
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20711
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
20712
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20713
else
 
20714
  case $GMSGFMT in
 
20715
  [\\/]* | ?:[\\/]*)
 
20716
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
20717
  ;;
 
20718
  *)
 
20719
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20720
for as_dir in $PATH
 
20721
do
 
20722
  IFS=$as_save_IFS
 
20723
  test -z "$as_dir" && as_dir=.
 
20724
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20725
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20726
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
20727
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20728
    break 2
 
20729
  fi
 
20730
done
 
20731
done
 
20732
 
 
20733
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
20734
  ;;
 
20735
esac
 
20736
fi
 
20737
GMSGFMT=$ac_cv_path_GMSGFMT
 
20738
 
 
20739
if test -n "$GMSGFMT"; then
 
20740
  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
20741
echo "${ECHO_T}$GMSGFMT" >&6
 
20742
else
 
20743
  echo "$as_me:$LINENO: result: no" >&5
 
20744
echo "${ECHO_T}no" >&6
 
20745
fi
 
20746
 
 
20747
          # Extract the first word of "xgettext", so it can be a program name with args.
 
20748
set dummy xgettext; ac_word=$2
 
20749
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20750
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20751
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
20752
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20753
else
 
20754
  case "$XGETTEXT" in
 
20755
  /*)
 
20756
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
20757
  ;;
 
20758
  *)
 
20759
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
20760
  for ac_dir in $PATH; do
 
20761
    test -z "$ac_dir" && ac_dir=.
 
20762
    if test -f $ac_dir/$ac_word; then
 
20763
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
20764
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
20765
        break
 
20766
      fi
 
20767
    fi
 
20768
  done
 
20769
  IFS="$ac_save_ifs"
 
20770
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
20771
  ;;
 
20772
esac
 
20773
fi
 
20774
XGETTEXT="$ac_cv_path_XGETTEXT"
 
20775
if test "$XGETTEXT" != ":"; then
 
20776
  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
20777
echo "${ECHO_T}$XGETTEXT" >&6
 
20778
else
 
20779
  echo "$as_me:$LINENO: result: no" >&5
 
20780
echo "${ECHO_T}no" >&6
 
20781
fi
 
20782
 
 
20783
          cat >conftest.$ac_ext <<_ACEOF
 
20784
/* confdefs.h.  */
 
20785
_ACEOF
 
20786
cat confdefs.h >>conftest.$ac_ext
 
20787
cat >>conftest.$ac_ext <<_ACEOF
 
20788
/* end confdefs.h.  */
 
20789
 
 
20790
int
 
20791
main ()
 
20792
{
 
20793
extern int _nl_msg_cat_cntr;
 
20794
                         return _nl_msg_cat_cntr
 
20795
  ;
 
20796
  return 0;
 
20797
}
 
20798
_ACEOF
 
20799
rm -f conftest.$ac_objext conftest$ac_exeext
 
20800
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20801
  (eval $ac_link) 2>conftest.er1
 
20802
  ac_status=$?
 
20803
  grep -v '^ *+' conftest.er1 >conftest.err
 
20804
  rm -f conftest.er1
 
20805
  cat conftest.err >&5
 
20806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20807
  (exit $ac_status); } &&
 
20808
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20809
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20810
  (eval $ac_try) 2>&5
 
20811
  ac_status=$?
 
20812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20813
  (exit $ac_status); }; } &&
 
20814
         { ac_try='test -s conftest$ac_exeext'
 
20815
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
20816
  (eval $ac_try) 2>&5
 
20817
  ac_status=$?
 
20818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20819
  (exit $ac_status); }; }; then
 
20820
  CATOBJEXT=.gmo
 
20821
             DATADIRNAME=share
 
20822
else
 
20823
  echo "$as_me: failed program was:" >&5
 
20824
sed 's/^/| /' conftest.$ac_ext >&5
 
20825
 
 
20826
case $host in
 
20827
            *-*-solaris*)
 
20828
                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
20829
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
 
20830
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
20831
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20832
else
 
20833
  cat >conftest.$ac_ext <<_ACEOF
 
20834
/* confdefs.h.  */
 
20835
_ACEOF
 
20836
cat confdefs.h >>conftest.$ac_ext
 
20837
cat >>conftest.$ac_ext <<_ACEOF
 
20838
/* end confdefs.h.  */
 
20839
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
20840
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20841
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
20842
 
 
20843
/* System header to define __stub macros and hopefully few prototypes,
 
20844
    which can conflict with char bind_textdomain_codeset (); below.
 
20845
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20846
    <limits.h> exists even on freestanding compilers.  */
 
20847
 
 
20848
#ifdef __STDC__
 
20849
# include <limits.h>
 
20850
#else
 
20851
# include <assert.h>
 
20852
#endif
 
20853
 
 
20854
#undef bind_textdomain_codeset
 
20855
 
 
20856
/* Override any gcc2 internal prototype to avoid an error.  */
 
20857
#ifdef __cplusplus
 
20858
extern "C"
 
20859
{
 
20860
#endif
 
20861
/* We use char because int might match the return type of a gcc2
 
20862
   builtin and then its argument prototype would still apply.  */
 
20863
char bind_textdomain_codeset ();
 
20864
/* The GNU C library defines this for functions which it implements
 
20865
    to always fail with ENOSYS.  Some functions are actually named
 
20866
    something starting with __ and the normal name is an alias.  */
 
20867
#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
 
20868
choke me
 
20869
#else
 
20870
char (*f) () = bind_textdomain_codeset;
 
20871
#endif
 
20872
#ifdef __cplusplus
 
20873
}
 
20874
#endif
 
20875
 
 
20876
int
 
20877
main ()
 
20878
{
 
20879
return f != bind_textdomain_codeset;
 
20880
  ;
 
20881
  return 0;
 
20882
}
 
20883
_ACEOF
 
20884
rm -f conftest.$ac_objext conftest$ac_exeext
 
20885
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
20886
  (eval $ac_link) 2>conftest.er1
 
20887
  ac_status=$?
 
20888
  grep -v '^ *+' conftest.er1 >conftest.err
 
20889
  rm -f conftest.er1
 
20890
  cat conftest.err >&5
 
20891
  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_exeext'
 
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
 
20905
  ac_cv_func_bind_textdomain_codeset=yes
 
20906
else
 
20907
  echo "$as_me: failed program was:" >&5
 
20908
sed 's/^/| /' conftest.$ac_ext >&5
 
20909
 
 
20910
ac_cv_func_bind_textdomain_codeset=no
 
20911
fi
 
20912
rm -f conftest.err conftest.$ac_objext \
 
20913
      conftest$ac_exeext conftest.$ac_ext
 
20914
fi
 
20915
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
20916
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
 
20917
if test $ac_cv_func_bind_textdomain_codeset = yes; then
 
20918
  CATOBJEXT=.gmo
 
20919
               DATADIRNAME=share
 
20920
else
 
20921
  CATOBJEXT=.mo
 
20922
               DATADIRNAME=lib
 
20923
fi
 
20924
 
 
20925
            ;;
 
20926
            *)
 
20927
            CATOBJEXT=.mo
 
20928
            DATADIRNAME=lib
 
20929
            ;;
 
20930
            esac
 
20931
fi
 
20932
rm -f conftest.err conftest.$ac_objext \
 
20933
      conftest$ac_exeext conftest.$ac_ext
 
20934
          LIBS="$glib_save_LIBS"
 
20935
          INSTOBJEXT=.mo
 
20936
        else
 
20937
          gt_cv_have_gettext=no
 
20938
        fi
 
20939
      fi
 
20940
 
 
20941
fi
 
20942
 
 
20943
 
 
20944
 
 
20945
    if test "$gt_cv_have_gettext" = "yes" ; then
 
20946
 
 
20947
cat >>confdefs.h <<\_ACEOF
 
20948
#define ENABLE_NLS 1
 
20949
_ACEOF
 
20950
 
 
20951
    fi
 
20952
 
 
20953
        if test "$XGETTEXT" != ":"; then
 
20954
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
20955
        : ;
 
20956
      else
 
20957
        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
20958
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
 
20959
        XGETTEXT=":"
 
20960
      fi
 
20961
    fi
 
20962
 
 
20963
    # We need to process the po/ directory.
 
20964
    POSUB=po
 
20965
 
 
20966
              ac_config_commands="$ac_config_commands default-1"
 
20967
 
 
20968
 
 
20969
                for lang in $ALL_LINGUAS; do
 
20970
      GMOFILES="$GMOFILES $lang.gmo"
 
20971
      POFILES="$POFILES $lang.po"
 
20972
    done
 
20973
 
 
20974
 
 
20975
 
 
20976
 
 
20977
 
 
20978
 
 
20979
 
 
20980
 
 
20981
 
 
20982
 
 
20983
 
 
20984
 
 
20985
 
 
20986
   if test "$gt_cv_have_gettext" = "yes"; then
 
20987
     if test "x$ALL_LINGUAS" = "x"; then
 
20988
       LINGUAS=
 
20989
     else
 
20990
       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
20991
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
 
20992
       NEW_LINGUAS=
 
20993
       for presentlang in $ALL_LINGUAS; do
 
20994
         useit=no
 
20995
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
20996
           desiredlanguages="$LINGUAS"
 
20997
         else
 
20998
           desiredlanguages="$ALL_LINGUAS"
 
20999
         fi
 
21000
         for desiredlang in $desiredlanguages; do
 
21001
           # Use the presentlang catalog if desiredlang is
 
21002
           #   a. equal to presentlang, or
 
21003
           #   b. a variant of presentlang (because in this case,
 
21004
           #      presentlang can be used as a fallback for messages
 
21005
           #      which are not translated in the desiredlang catalog).
 
21006
           case "$desiredlang" in
 
21007
             "$presentlang"*) useit=yes;;
 
21008
           esac
 
21009
         done
 
21010
         if test $useit = yes; then
 
21011
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
21012
         fi
 
21013
       done
 
21014
       LINGUAS=$NEW_LINGUAS
 
21015
       echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
21016
echo "${ECHO_T}$LINGUAS" >&6
 
21017
     fi
 
21018
 
 
21019
          if test -n "$LINGUAS"; then
 
21020
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
21021
     fi
 
21022
   fi
 
21023
 
 
21024
            MKINSTALLDIRS=
 
21025
   if test -n "$ac_aux_dir"; then
 
21026
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
21027
   fi
 
21028
   if test -z "$MKINSTALLDIRS"; then
 
21029
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
21030
   fi
 
21031
 
 
21032
 
 
21033
         test -d po || mkdir po
 
21034
   if test "x$srcdir" != "x."; then
 
21035
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
21036
       posrcprefix="$srcdir/"
 
21037
     else
 
21038
       posrcprefix="../$srcdir/"
 
21039
     fi
 
21040
   else
 
21041
     posrcprefix="../"
 
21042
   fi
 
21043
   rm -f po/POTFILES
 
21044
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
21045
        < $srcdir/po/POTFILES.in > po/POTFILES
 
21046
 
 
21047
 
 
21048
                    ac_config_files="$ac_config_files Makefile po/Makefile.in"
19689
21049
cat >confcache <<\_ACEOF
19690
21050
# This file is a shell script that caches the results of configure
19691
21051
# tests run on this system so they can be shared between configure
19704
21064
 
19705
21065
# The following way of writing the cache mishandles newlines in values,
19706
21066
# but we know of no workaround that is simple, portable, and efficient.
19707
 
# So, we kill variables containing newlines.
 
21067
# So, don't put newlines in cache variables' values.
19708
21068
# Ultrix sh set writes to stderr and can't be redirected directly,
19709
21069
# and sets the high bit in the cache file unless we assign to the vars.
19710
 
(
19711
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19712
 
    eval ac_val=\$$ac_var
19713
 
    case $ac_val in #(
19714
 
    *${as_nl}*)
19715
 
      case $ac_var in #(
19716
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19717
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19718
 
      esac
19719
 
      case $ac_var in #(
19720
 
      _ | IFS | as_nl) ;; #(
19721
 
      *) $as_unset $ac_var ;;
19722
 
      esac ;;
19723
 
    esac
19724
 
  done
19725
 
 
 
21070
{
19726
21071
  (set) 2>&1 |
19727
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
19728
 
    *${as_nl}ac_space=\ *)
 
21072
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
21073
    *ac_space=\ *)
19729
21074
      # `set' does not quote correctly, so add quotes (double-quote
19730
21075
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19731
21076
      sed -n \
19732
21077
        "s/'/'\\\\''/g;
19733
21078
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19734
 
      ;; #(
 
21079
      ;;
19735
21080
    *)
19736
21081
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19737
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
21082
      sed -n \
 
21083
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19738
21084
      ;;
19739
 
    esac |
19740
 
    sort
19741
 
) |
 
21085
    esac;
 
21086
} |
19742
21087
  sed '
19743
 
     /^ac_cv_env_/b end
19744
21088
     t clear
19745
 
     :clear
 
21089
     : clear
19746
21090
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19747
21091
     t end
19748
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19749
 
     :end' >>confcache
19750
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19751
 
  if test -w "$cache_file"; then
19752
 
    test "x$cache_file" != "x/dev/null" &&
19753
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19754
 
echo "$as_me: updating cache $cache_file" >&6;}
 
21092
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
21093
     : end' >>confcache
 
21094
if diff $cache_file confcache >/dev/null 2>&1; then :; else
 
21095
  if test -w $cache_file; then
 
21096
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19755
21097
    cat confcache >$cache_file
19756
21098
  else
19757
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19758
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
21099
    echo "not updating unwritable cache $cache_file"
19759
21100
  fi
19760
21101
fi
19761
21102
rm -f confcache
19764
21105
# Let make expand exec_prefix.
19765
21106
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19766
21107
 
 
21108
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
21109
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
21110
# trailing colons and then remove the whole line if VPATH becomes empty
 
21111
# (actually we leave an empty line to preserve line numbers).
 
21112
if test "x$srcdir" = x.; then
 
21113
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
21114
s/:*\$(srcdir):*/:/;
 
21115
s/:*\${srcdir}:*/:/;
 
21116
s/:*@srcdir@:*/:/;
 
21117
s/^\([^=]*=[     ]*\):*/\1/;
 
21118
s/:*$//;
 
21119
s/^[^=]*=[       ]*$//;
 
21120
}'
 
21121
fi
 
21122
 
19767
21123
DEFS=-DHAVE_CONFIG_H
19768
21124
 
19769
21125
ac_libobjs=
19770
21126
ac_ltlibobjs=
19771
21127
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19772
21128
  # 1. Remove the extension, and $U if already installed.
19773
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19774
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
19775
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19776
 
  #    will be set to the directory where LIBOBJS objects are built.
19777
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19778
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
21129
  ac_i=`echo "$ac_i" |
 
21130
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
21131
  # 2. Add them.
 
21132
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
21133
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19779
21134
done
19780
21135
LIBOBJS=$ac_libobjs
19781
21136
 
19804
21159
   { (exit 1); exit 1; }; }
19805
21160
fi
19806
21161
 
 
21162
            ac_config_commands="$ac_config_commands po/stamp-it"
 
21163
 
 
21164
 
 
21165
 
19807
21166
: ${CONFIG_STATUS=./config.status}
19808
21167
ac_clean_files_save=$ac_clean_files
19809
21168
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19827
21186
## M4sh Initialization.  ##
19828
21187
## --------------------- ##
19829
21188
 
19830
 
# Be more Bourne compatible
19831
 
DUALCASE=1; export DUALCASE # for MKS sh
 
21189
# Be Bourne compatible
19832
21190
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19833
21191
  emulate sh
19834
21192
  NULLCMD=:
19835
21193
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19836
21194
  # is contrary to our usage.  Disable this feature.
19837
21195
  alias -g '${1+"$@"}'='"$@"'
19838
 
  setopt NO_GLOB_SUBST
19839
 
else
19840
 
  case `(set -o) 2>/dev/null` in
19841
 
  *posix*) set -o posix ;;
19842
 
esac
19843
 
 
19844
 
fi
19845
 
 
19846
 
 
19847
 
 
19848
 
 
19849
 
# PATH needs CR
19850
 
# Avoid depending upon Character Ranges.
19851
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19852
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19853
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19854
 
as_cr_digits='0123456789'
19855
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19856
 
 
19857
 
# The user is always right.
19858
 
if test "${PATH_SEPARATOR+set}" != set; then
19859
 
  echo "#! /bin/sh" >conf$$.sh
19860
 
  echo  "exit 0"   >>conf$$.sh
19861
 
  chmod +x conf$$.sh
19862
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19863
 
    PATH_SEPARATOR=';'
19864
 
  else
19865
 
    PATH_SEPARATOR=:
19866
 
  fi
19867
 
  rm -f conf$$.sh
19868
 
fi
 
21196
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
21197
  set -o posix
 
21198
fi
 
21199
DUALCASE=1; export DUALCASE # for MKS sh
19869
21200
 
19870
21201
# Support unset when possible.
19871
21202
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19875
21206
fi
19876
21207
 
19877
21208
 
19878
 
# IFS
19879
 
# We need space, tab and new line, in precisely that order.  Quoting is
19880
 
# there to prevent editors from complaining about space-tab.
19881
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19882
 
# splitting by setting IFS to empty value.)
19883
 
as_nl='
19884
 
'
19885
 
IFS=" ""        $as_nl"
19886
 
 
19887
 
# Find who we are.  Look in the path if we contain no directory separator.
19888
 
case $0 in
19889
 
  *[\\/]* ) as_myself=$0 ;;
19890
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19891
 
for as_dir in $PATH
19892
 
do
19893
 
  IFS=$as_save_IFS
19894
 
  test -z "$as_dir" && as_dir=.
19895
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19896
 
done
19897
 
IFS=$as_save_IFS
19898
 
 
19899
 
     ;;
19900
 
esac
19901
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
19902
 
# in which case we are not to be found in the path.
19903
 
if test "x$as_myself" = x; then
19904
 
  as_myself=$0
19905
 
fi
19906
 
if test ! -f "$as_myself"; then
19907
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19908
 
  { (exit 1); exit 1; }
19909
 
fi
19910
 
 
19911
21209
# Work around bugs in pre-3.0 UWIN ksh.
19912
 
for as_var in ENV MAIL MAILPATH
19913
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19914
 
done
 
21210
$as_unset ENV MAIL MAILPATH
19915
21211
PS1='$ '
19916
21212
PS2='> '
19917
21213
PS4='+ '
19925
21221
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19926
21222
    eval $as_var=C; export $as_var
19927
21223
  else
19928
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
21224
    $as_unset $as_var
19929
21225
  fi
19930
21226
done
19931
21227
 
19932
21228
# Required to use basename.
19933
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
19934
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
21229
if expr a : '\(a\)' >/dev/null 2>&1; then
19935
21230
  as_expr=expr
19936
21231
else
19937
21232
  as_expr=false
19938
21233
fi
19939
21234
 
19940
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
21235
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
19941
21236
  as_basename=basename
19942
21237
else
19943
21238
  as_basename=false
19945
21240
 
19946
21241
 
19947
21242
# Name of the executable.
19948
 
as_me=`$as_basename -- "$0" ||
 
21243
as_me=`$as_basename "$0" ||
19949
21244
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19950
21245
         X"$0" : 'X\(//\)$' \| \
19951
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
21246
         X"$0" : 'X\(/\)$' \| \
 
21247
         .     : '\(.\)' 2>/dev/null ||
19952
21248
echo X/"$0" |
19953
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
19954
 
            s//\1/
19955
 
            q
19956
 
          }
19957
 
          /^X\/\(\/\/\)$/{
19958
 
            s//\1/
19959
 
            q
19960
 
          }
19961
 
          /^X\/\(\/\).*/{
19962
 
            s//\1/
19963
 
            q
19964
 
          }
19965
 
          s/.*/./; q'`
19966
 
 
19967
 
# CDPATH.
19968
 
$as_unset CDPATH
19969
 
 
19970
 
 
19971
 
 
19972
 
  as_lineno_1=$LINENO
19973
 
  as_lineno_2=$LINENO
19974
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19975
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 
21249
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
21250
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
21251
          /^X\/\(\/\).*/{ s//\1/; q; }
 
21252
          s/.*/./; q'`
 
21253
 
 
21254
 
 
21255
# PATH needs CR, and LINENO needs CR and PATH.
 
21256
# Avoid depending upon Character Ranges.
 
21257
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
21258
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
21259
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
21260
as_cr_digits='0123456789'
 
21261
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
21262
 
 
21263
# The user is always right.
 
21264
if test "${PATH_SEPARATOR+set}" != set; then
 
21265
  echo "#! /bin/sh" >conf$$.sh
 
21266
  echo  "exit 0"   >>conf$$.sh
 
21267
  chmod +x conf$$.sh
 
21268
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
21269
    PATH_SEPARATOR=';'
 
21270
  else
 
21271
    PATH_SEPARATOR=:
 
21272
  fi
 
21273
  rm -f conf$$.sh
 
21274
fi
 
21275
 
 
21276
 
 
21277
  as_lineno_1=$LINENO
 
21278
  as_lineno_2=$LINENO
 
21279
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
21280
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
21281
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
21282
  # Find who we are.  Look in the path if we contain no path at all
 
21283
  # relative or not.
 
21284
  case $0 in
 
21285
    *[\\/]* ) as_myself=$0 ;;
 
21286
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21287
for as_dir in $PATH
 
21288
do
 
21289
  IFS=$as_save_IFS
 
21290
  test -z "$as_dir" && as_dir=.
 
21291
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
21292
done
 
21293
 
 
21294
       ;;
 
21295
  esac
 
21296
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
21297
  # in which case we are not to be found in the path.
 
21298
  if test "x$as_myself" = x; then
 
21299
    as_myself=$0
 
21300
  fi
 
21301
  if test ! -f "$as_myself"; then
 
21302
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 
21303
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 
21304
   { (exit 1); exit 1; }; }
 
21305
  fi
 
21306
  case $CONFIG_SHELL in
 
21307
  '')
 
21308
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21309
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
21310
do
 
21311
  IFS=$as_save_IFS
 
21312
  test -z "$as_dir" && as_dir=.
 
21313
  for as_base in sh bash ksh sh5; do
 
21314
         case $as_dir in
 
21315
         /*)
 
21316
           if ("$as_dir/$as_base" -c '
 
21317
  as_lineno_1=$LINENO
 
21318
  as_lineno_2=$LINENO
 
21319
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
21320
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
21321
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
21322
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
21323
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
21324
             CONFIG_SHELL=$as_dir/$as_base
 
21325
             export CONFIG_SHELL
 
21326
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
21327
           fi;;
 
21328
         esac
 
21329
       done
 
21330
done
 
21331
;;
 
21332
  esac
19976
21333
 
19977
21334
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19978
21335
  # uniformly replaced by the line number.  The first 'sed' inserts a
19979
 
  # line-number line after each line using $LINENO; the second 'sed'
19980
 
  # does the real work.  The second script uses 'N' to pair each
19981
 
  # line-number line with the line containing $LINENO, and appends
19982
 
  # trailing '-' during substitution so that $LINENO is not a special
19983
 
  # case at line end.
 
21336
  # line-number line before each line; the second 'sed' does the real
 
21337
  # work.  The second script uses 'N' to pair each line-number line
 
21338
  # with the numbered line, and appends trailing '-' during
 
21339
  # substitution so that $LINENO is not a special case at line end.
19984
21340
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19985
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
19986
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
19987
 
  sed -n '
19988
 
    p
19989
 
    /[$]LINENO/=
19990
 
  ' <$as_myself |
 
21341
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
21342
  sed '=' <$as_myself |
19991
21343
    sed '
19992
 
      s/[$]LINENO.*/&-/
19993
 
      t lineno
19994
 
      b
19995
 
      :lineno
19996
21344
      N
19997
 
      :loop
19998
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
21345
      s,$,-,
 
21346
      : loop
 
21347
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19999
21348
      t loop
20000
 
      s/-\n.*//
 
21349
      s,-$,,
 
21350
      s,^['$as_cr_digits']*\n,,
20001
21351
    ' >$as_me.lineno &&
20002
 
  chmod +x "$as_me.lineno" ||
20003
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
21352
  chmod +x $as_me.lineno ||
 
21353
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 
21354
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20004
21355
   { (exit 1); exit 1; }; }
20005
21356
 
20006
21357
  # Don't try to exec as it changes $[0], causing all sort of problems
20007
21358
  # (the dirname of $[0] is not the place where we might find the
20008
 
  # original and so on.  Autoconf is especially sensitive to this).
20009
 
  . "./$as_me.lineno"
 
21359
  # original and so on.  Autoconf is especially sensible to this).
 
21360
  . ./$as_me.lineno
20010
21361
  # Exit status is that of the last command.
20011
21362
  exit
20012
21363
}
20013
21364
 
20014
21365
 
20015
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20016
 
  as_dirname=dirname
20017
 
else
20018
 
  as_dirname=false
20019
 
fi
20020
 
 
20021
 
ECHO_C= ECHO_N= ECHO_T=
20022
 
case `echo -n x` in
20023
 
-n*)
20024
 
  case `echo 'x\c'` in
20025
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20026
 
  *)   ECHO_C='\c';;
20027
 
  esac;;
20028
 
*)
20029
 
  ECHO_N='-n';;
 
21366
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
21367
  *c*,-n*) ECHO_N= ECHO_C='
 
21368
' ECHO_T='      ' ;;
 
21369
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
21370
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
20030
21371
esac
20031
21372
 
20032
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
20033
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
21373
if expr a : '\(a\)' >/dev/null 2>&1; then
20034
21374
  as_expr=expr
20035
21375
else
20036
21376
  as_expr=false
20037
21377
fi
20038
21378
 
20039
21379
rm -f conf$$ conf$$.exe conf$$.file
20040
 
if test -d conf$$.dir; then
20041
 
  rm -f conf$$.dir/conf$$.file
20042
 
else
20043
 
  rm -f conf$$.dir
20044
 
  mkdir conf$$.dir
20045
 
fi
20046
21380
echo >conf$$.file
20047
21381
if ln -s conf$$.file conf$$ 2>/dev/null; then
20048
 
  as_ln_s='ln -s'
20049
 
  # ... but there are two gotchas:
20050
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20051
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20052
 
  # In both cases, we have to default to `cp -p'.
20053
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
21382
  # We could just check for DJGPP; but this test a) works b) is more generic
 
21383
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
21384
  if test -f conf$$.exe; then
 
21385
    # Don't use ln at all; we don't have any links
20054
21386
    as_ln_s='cp -p'
 
21387
  else
 
21388
    as_ln_s='ln -s'
 
21389
  fi
20055
21390
elif ln conf$$.file conf$$ 2>/dev/null; then
20056
21391
  as_ln_s=ln
20057
21392
else
20058
21393
  as_ln_s='cp -p'
20059
21394
fi
20060
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20061
 
rmdir conf$$.dir 2>/dev/null
 
21395
rm -f conf$$ conf$$.exe conf$$.file
20062
21396
 
20063
21397
if mkdir -p . 2>/dev/null; then
20064
21398
  as_mkdir_p=:
20067
21401
  as_mkdir_p=false
20068
21402
fi
20069
21403
 
20070
 
if test -x / >/dev/null 2>&1; then
20071
 
  as_test_x='test -x'
20072
 
else
20073
 
  if ls -dL / >/dev/null 2>&1; then
20074
 
    as_ls_L_option=L
20075
 
  else
20076
 
    as_ls_L_option=
20077
 
  fi
20078
 
  as_test_x='
20079
 
    eval sh -c '\''
20080
 
      if test -d "$1"; then
20081
 
        test -d "$1/.";
20082
 
      else
20083
 
        case $1 in
20084
 
        -*)set "./$1";;
20085
 
        esac;
20086
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20087
 
        ???[sx]*):;;*)false;;esac;fi
20088
 
    '\'' sh
20089
 
  '
20090
 
fi
20091
 
as_executable_p=$as_test_x
 
21404
as_executable_p="test -f"
20092
21405
 
20093
21406
# Sed expression to map a string onto a valid CPP name.
20094
21407
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20097
21410
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20098
21411
 
20099
21412
 
 
21413
# IFS
 
21414
# We need space, tab and new line, in precisely that order.
 
21415
as_nl='
 
21416
'
 
21417
IFS="   $as_nl"
 
21418
 
 
21419
# CDPATH.
 
21420
$as_unset CDPATH
 
21421
 
20100
21422
exec 6>&1
20101
21423
 
20102
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
21424
# Open the log real soon, to keep \$[0] and so on meaningful, and to
20103
21425
# report actual input values of CONFIG_FILES etc. instead of their
20104
 
# values after options handling.
20105
 
ac_log="
20106
 
This file was extended by $as_me, which was
20107
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
21426
# values after options handling.  Logging --version etc. is OK.
 
21427
exec 5>>config.log
 
21428
{
 
21429
  echo
 
21430
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
21431
## Running $as_me. ##
 
21432
_ASBOX
 
21433
} >&5
 
21434
cat >&5 <<_CSEOF
 
21435
 
 
21436
This file was extended by pidgin-otr $as_me 3.1.0, which was
 
21437
generated by GNU Autoconf 2.59.  Invocation command line was
20108
21438
 
20109
21439
  CONFIG_FILES    = $CONFIG_FILES
20110
21440
  CONFIG_HEADERS  = $CONFIG_HEADERS
20112
21442
  CONFIG_COMMANDS = $CONFIG_COMMANDS
20113
21443
  $ $0 $@
20114
21444
 
20115
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
20116
 
"
20117
 
 
 
21445
_CSEOF
 
21446
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
21447
echo >&5
20118
21448
_ACEOF
20119
21449
 
20120
 
cat >>$CONFIG_STATUS <<_ACEOF
20121
21450
# Files that config.status was made for.
20122
 
config_files="$ac_config_files"
20123
 
config_headers="$ac_config_headers"
20124
 
config_commands="$ac_config_commands"
20125
 
 
20126
 
_ACEOF
 
21451
if test -n "$ac_config_files"; then
 
21452
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 
21453
fi
 
21454
 
 
21455
if test -n "$ac_config_headers"; then
 
21456
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
21457
fi
 
21458
 
 
21459
if test -n "$ac_config_links"; then
 
21460
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
21461
fi
 
21462
 
 
21463
if test -n "$ac_config_commands"; then
 
21464
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
21465
fi
20127
21466
 
20128
21467
cat >>$CONFIG_STATUS <<\_ACEOF
 
21468
 
20129
21469
ac_cs_usage="\
20130
21470
\`$as_me' instantiates files from templates according to the
20131
21471
current configuration.
20133
21473
Usage: $0 [OPTIONS] [FILE]...
20134
21474
 
20135
21475
  -h, --help       print this help, then exit
20136
 
  -V, --version    print version number and configuration settings, then exit
 
21476
  -V, --version    print version number, then exit
20137
21477
  -q, --quiet      do not print progress messages
20138
21478
  -d, --debug      don't remove temporary files
20139
21479
      --recheck    update $as_me by reconfiguring in the same conditions
20152
21492
$config_commands
20153
21493
 
20154
21494
Report bugs to <bug-autoconf@gnu.org>."
 
21495
_ACEOF
20155
21496
 
20156
 
_ACEOF
20157
21497
cat >>$CONFIG_STATUS <<_ACEOF
20158
21498
ac_cs_version="\\
20159
 
config.status
20160
 
configured by $0, generated by GNU Autoconf 2.61,
20161
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
21499
pidgin-otr config.status 3.1.0
 
21500
configured by $0, generated by GNU Autoconf 2.59,
 
21501
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20162
21502
 
20163
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
21503
Copyright (C) 2003 Free Software Foundation, Inc.
20164
21504
This config.status script is free software; the Free Software Foundation
20165
21505
gives unlimited permission to copy, distribute and modify it."
20166
 
 
20167
 
ac_pwd='$ac_pwd'
20168
 
srcdir='$srcdir'
20169
 
INSTALL='$INSTALL'
20170
 
MKDIR_P='$MKDIR_P'
 
21506
srcdir=$srcdir
 
21507
INSTALL="$INSTALL"
20171
21508
_ACEOF
20172
21509
 
20173
21510
cat >>$CONFIG_STATUS <<\_ACEOF
20178
21515
do
20179
21516
  case $1 in
20180
21517
  --*=*)
20181
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
20182
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
21518
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
21519
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20183
21520
    ac_shift=:
20184
21521
    ;;
20185
 
  *)
 
21522
  -*)
20186
21523
    ac_option=$1
20187
21524
    ac_optarg=$2
20188
21525
    ac_shift=shift
20189
21526
    ;;
 
21527
  *) # This is not an option, so the user has probably given explicit
 
21528
     # arguments.
 
21529
     ac_option=$1
 
21530
     ac_need_defaults=false;;
20190
21531
  esac
20191
21532
 
20192
21533
  case $ac_option in
20193
21534
  # Handling of the options.
 
21535
_ACEOF
 
21536
cat >>$CONFIG_STATUS <<\_ACEOF
20194
21537
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20195
21538
    ac_cs_recheck=: ;;
20196
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20197
 
    echo "$ac_cs_version"; exit ;;
20198
 
  --debug | --debu | --deb | --de | --d | -d )
 
21539
  --version | --vers* | -V )
 
21540
    echo "$ac_cs_version"; exit 0 ;;
 
21541
  --he | --h)
 
21542
    # Conflict between --help and --header
 
21543
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
 
21544
Try \`$0 --help' for more information." >&5
 
21545
echo "$as_me: error: ambiguous option: $1
 
21546
Try \`$0 --help' for more information." >&2;}
 
21547
   { (exit 1); exit 1; }; };;
 
21548
  --help | --hel | -h )
 
21549
    echo "$ac_cs_usage"; exit 0 ;;
 
21550
  --debug | --d* | -d )
20199
21551
    debug=: ;;
20200
21552
  --file | --fil | --fi | --f )
20201
21553
    $ac_shift
20205
21557
    $ac_shift
20206
21558
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20207
21559
    ac_need_defaults=false;;
20208
 
  --he | --h)
20209
 
    # Conflict between --help and --header
20210
 
    { echo "$as_me: error: ambiguous option: $1
20211
 
Try \`$0 --help' for more information." >&2
20212
 
   { (exit 1); exit 1; }; };;
20213
 
  --help | --hel | -h )
20214
 
    echo "$ac_cs_usage"; exit ;;
20215
21560
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20216
21561
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
20217
21562
    ac_cs_silent=: ;;
20218
21563
 
20219
21564
  # This is an error.
20220
 
  -*) { echo "$as_me: error: unrecognized option: $1
20221
 
Try \`$0 --help' for more information." >&2
 
21565
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 
21566
Try \`$0 --help' for more information." >&5
 
21567
echo "$as_me: error: unrecognized option: $1
 
21568
Try \`$0 --help' for more information." >&2;}
20222
21569
   { (exit 1); exit 1; }; } ;;
20223
21570
 
20224
 
  *) ac_config_targets="$ac_config_targets $1"
20225
 
     ac_need_defaults=false ;;
 
21571
  *) ac_config_targets="$ac_config_targets $1" ;;
20226
21572
 
20227
21573
  esac
20228
21574
  shift
20238
21584
_ACEOF
20239
21585
cat >>$CONFIG_STATUS <<_ACEOF
20240
21586
if \$ac_cs_recheck; then
20241
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20242
 
  CONFIG_SHELL=$SHELL
20243
 
  export CONFIG_SHELL
20244
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
21587
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
21588
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20245
21589
fi
20246
21590
 
20247
21591
_ACEOF
20248
 
cat >>$CONFIG_STATUS <<\_ACEOF
20249
 
exec 5>>config.log
20250
 
{
20251
 
  echo
20252
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20253
 
## Running $as_me. ##
20254
 
_ASBOX
20255
 
  echo "$ac_log"
20256
 
} >&5
20257
21592
 
20258
 
_ACEOF
20259
21593
cat >>$CONFIG_STATUS <<_ACEOF
20260
21594
#
20261
 
# INIT-COMMANDS
 
21595
# INIT-COMMANDS section.
20262
21596
#
 
21597
 
20263
21598
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
21599
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
21600
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
21601
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
21602
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
21603
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
 
21604
 
20264
21605
 
20265
21606
_ACEOF
20266
21607
 
 
21608
 
 
21609
 
20267
21610
cat >>$CONFIG_STATUS <<\_ACEOF
20268
 
 
20269
 
# Handling of arguments.
20270
21611
for ac_config_target in $ac_config_targets
20271
21612
do
20272
 
  case $ac_config_target in
20273
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20274
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20275
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20276
 
 
 
21613
  case "$ac_config_target" in
 
21614
  # Handling of arguments.
 
21615
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
21616
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
21617
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
21618
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
 
21619
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
21620
  "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
21621
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20277
21622
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20278
21623
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20279
21624
   { (exit 1); exit 1; }; };;
20280
21625
  esac
20281
21626
done
20282
21627
 
20283
 
 
20284
21628
# If the user did not use the arguments to specify the items to instantiate,
20285
21629
# then the envvar interface is used.  Set only those that are not.
20286
21630
# We use the long form for the default assignment because of an extremely
20292
21636
fi
20293
21637
 
20294
21638
# Have a temporary directory for convenience.  Make it in the build tree
20295
 
# simply because there is no reason against having it here, and in addition,
 
21639
# simply because there is no reason to put it here, and in addition,
20296
21640
# creating and moving files from /tmp can sometimes cause problems.
20297
 
# Hook for its removal unless debugging.
20298
 
# Note that there is a small window in which the directory will not be cleaned:
20299
 
# after its creation but before its name has been assigned to `$tmp'.
 
21641
# Create a temporary directory, and hook for its removal unless debugging.
20300
21642
$debug ||
20301
21643
{
20302
 
  tmp=
20303
 
  trap 'exit_status=$?
20304
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20305
 
' 0
 
21644
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20306
21645
  trap '{ (exit 1); exit 1; }' 1 2 13 15
20307
21646
}
 
21647
 
20308
21648
# Create a (secure) tmp directory for tmp files.
20309
21649
 
20310
21650
{
20311
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
21651
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20312
21652
  test -n "$tmp" && test -d "$tmp"
20313
21653
}  ||
20314
21654
{
20315
 
  tmp=./conf$$-$RANDOM
20316
 
  (umask 077 && mkdir "$tmp")
 
21655
  tmp=./confstat$$-$RANDOM
 
21656
  (umask 077 && mkdir $tmp)
20317
21657
} ||
20318
21658
{
20319
21659
   echo "$me: cannot create a temporary directory in ." >&2
20320
21660
   { (exit 1); exit 1; }
20321
21661
}
20322
21662
 
 
21663
_ACEOF
 
21664
 
 
21665
cat >>$CONFIG_STATUS <<_ACEOF
 
21666
 
20323
21667
#
20324
 
# Set up the sed scripts for CONFIG_FILES section.
 
21668
# CONFIG_FILES section.
20325
21669
#
20326
21670
 
20327
21671
# No need to generate the scripts if there are no CONFIG_FILES.
20328
21672
# This happens for instance when ./config.status config.h
20329
 
if test -n "$CONFIG_FILES"; then
20330
 
 
20331
 
_ACEOF
20332
 
 
20333
 
 
20334
 
 
20335
 
ac_delim='%!_!# '
20336
 
for ac_last_try in false false false false false :; do
20337
 
  cat >conf$$subs.sed <<_ACEOF
20338
 
SHELL!$SHELL$ac_delim
20339
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20340
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20341
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20342
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20343
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20344
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20345
 
exec_prefix!$exec_prefix$ac_delim
20346
 
prefix!$prefix$ac_delim
20347
 
program_transform_name!$program_transform_name$ac_delim
20348
 
bindir!$bindir$ac_delim
20349
 
sbindir!$sbindir$ac_delim
20350
 
libexecdir!$libexecdir$ac_delim
20351
 
datarootdir!$datarootdir$ac_delim
20352
 
datadir!$datadir$ac_delim
20353
 
sysconfdir!$sysconfdir$ac_delim
20354
 
sharedstatedir!$sharedstatedir$ac_delim
20355
 
localstatedir!$localstatedir$ac_delim
20356
 
includedir!$includedir$ac_delim
20357
 
oldincludedir!$oldincludedir$ac_delim
20358
 
docdir!$docdir$ac_delim
20359
 
infodir!$infodir$ac_delim
20360
 
htmldir!$htmldir$ac_delim
20361
 
dvidir!$dvidir$ac_delim
20362
 
pdfdir!$pdfdir$ac_delim
20363
 
psdir!$psdir$ac_delim
20364
 
libdir!$libdir$ac_delim
20365
 
localedir!$localedir$ac_delim
20366
 
mandir!$mandir$ac_delim
20367
 
DEFS!$DEFS$ac_delim
20368
 
ECHO_C!$ECHO_C$ac_delim
20369
 
ECHO_N!$ECHO_N$ac_delim
20370
 
ECHO_T!$ECHO_T$ac_delim
20371
 
LIBS!$LIBS$ac_delim
20372
 
build_alias!$build_alias$ac_delim
20373
 
host_alias!$host_alias$ac_delim
20374
 
target_alias!$target_alias$ac_delim
20375
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20376
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20377
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
20378
 
am__isrc!$am__isrc$ac_delim
20379
 
CYGPATH_W!$CYGPATH_W$ac_delim
20380
 
PACKAGE!$PACKAGE$ac_delim
20381
 
VERSION!$VERSION$ac_delim
20382
 
ACLOCAL!$ACLOCAL$ac_delim
20383
 
AUTOCONF!$AUTOCONF$ac_delim
20384
 
AUTOMAKE!$AUTOMAKE$ac_delim
20385
 
AUTOHEADER!$AUTOHEADER$ac_delim
20386
 
MAKEINFO!$MAKEINFO$ac_delim
20387
 
install_sh!$install_sh$ac_delim
20388
 
STRIP!$STRIP$ac_delim
20389
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20390
 
mkdir_p!$mkdir_p$ac_delim
20391
 
AWK!$AWK$ac_delim
20392
 
SET_MAKE!$SET_MAKE$ac_delim
20393
 
am__leading_dot!$am__leading_dot$ac_delim
20394
 
AMTAR!$AMTAR$ac_delim
20395
 
am__tar!$am__tar$ac_delim
20396
 
am__untar!$am__untar$ac_delim
20397
 
CC!$CC$ac_delim
20398
 
CFLAGS!$CFLAGS$ac_delim
20399
 
LDFLAGS!$LDFLAGS$ac_delim
20400
 
CPPFLAGS!$CPPFLAGS$ac_delim
20401
 
ac_ct_CC!$ac_ct_CC$ac_delim
20402
 
EXEEXT!$EXEEXT$ac_delim
20403
 
OBJEXT!$OBJEXT$ac_delim
20404
 
DEPDIR!$DEPDIR$ac_delim
20405
 
am__include!$am__include$ac_delim
20406
 
am__quote!$am__quote$ac_delim
20407
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20408
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20409
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20410
 
CCDEPMODE!$CCDEPMODE$ac_delim
20411
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20412
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20413
 
build!$build$ac_delim
20414
 
build_cpu!$build_cpu$ac_delim
20415
 
build_vendor!$build_vendor$ac_delim
20416
 
build_os!$build_os$ac_delim
20417
 
host!$host$ac_delim
20418
 
host_cpu!$host_cpu$ac_delim
20419
 
host_vendor!$host_vendor$ac_delim
20420
 
host_os!$host_os$ac_delim
20421
 
GREP!$GREP$ac_delim
20422
 
EGREP!$EGREP$ac_delim
20423
 
LN_S!$LN_S$ac_delim
20424
 
ECHO!$ECHO$ac_delim
20425
 
AR!$AR$ac_delim
20426
 
RANLIB!$RANLIB$ac_delim
20427
 
CPP!$CPP$ac_delim
20428
 
CXX!$CXX$ac_delim
20429
 
CXXFLAGS!$CXXFLAGS$ac_delim
20430
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
20431
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
20432
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20433
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20434
 
CXXCPP!$CXXCPP$ac_delim
20435
 
_ACEOF
20436
 
 
20437
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20438
 
    break
20439
 
  elif $ac_last_try; then
20440
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20441
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20442
 
   { (exit 1); exit 1; }; }
20443
 
  else
20444
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20445
 
  fi
20446
 
done
20447
 
 
20448
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20449
 
if test -n "$ac_eof"; then
20450
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20451
 
  ac_eof=`expr $ac_eof + 1`
20452
 
fi
20453
 
 
20454
 
cat >>$CONFIG_STATUS <<_ACEOF
20455
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20456
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20457
 
_ACEOF
20458
 
sed '
20459
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20460
 
s/^/s,@/; s/!/@,|#_!!_#|/
20461
 
:n
20462
 
t n
20463
 
s/'"$ac_delim"'$/,g/; t
20464
 
s/$/\\/; p
20465
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20466
 
' >>$CONFIG_STATUS <conf$$subs.sed
20467
 
rm -f conf$$subs.sed
20468
 
cat >>$CONFIG_STATUS <<_ACEOF
20469
 
CEOF$ac_eof
20470
 
_ACEOF
20471
 
 
20472
 
 
20473
 
ac_delim='%!_!# '
20474
 
for ac_last_try in false false false false false :; do
20475
 
  cat >conf$$subs.sed <<_ACEOF
20476
 
F77!$F77$ac_delim
20477
 
FFLAGS!$FFLAGS$ac_delim
20478
 
ac_ct_F77!$ac_ct_F77$ac_delim
20479
 
LIBTOOL!$LIBTOOL$ac_delim
20480
 
LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
20481
 
LIBGCRYPT_CFLAGS!$LIBGCRYPT_CFLAGS$ac_delim
20482
 
LIBGCRYPT_LIBS!$LIBGCRYPT_LIBS$ac_delim
20483
 
LIBOTR_CFLAGS!$LIBOTR_CFLAGS$ac_delim
20484
 
LIBOTR_LIBS!$LIBOTR_LIBS$ac_delim
20485
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
20486
 
EXTRA_CFLAGS!$EXTRA_CFLAGS$ac_delim
20487
 
EXTRA_LIBS!$EXTRA_LIBS$ac_delim
20488
 
LIBOBJS!$LIBOBJS$ac_delim
20489
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
20490
 
_ACEOF
20491
 
 
20492
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
20493
 
    break
20494
 
  elif $ac_last_try; then
20495
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20496
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20497
 
   { (exit 1); exit 1; }; }
20498
 
  else
20499
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20500
 
  fi
20501
 
done
20502
 
 
20503
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20504
 
if test -n "$ac_eof"; then
20505
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20506
 
  ac_eof=`expr $ac_eof + 1`
20507
 
fi
20508
 
 
20509
 
cat >>$CONFIG_STATUS <<_ACEOF
20510
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20511
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20512
 
_ACEOF
20513
 
sed '
20514
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20515
 
s/^/s,@/; s/!/@,|#_!!_#|/
20516
 
:n
20517
 
t n
20518
 
s/'"$ac_delim"'$/,g/; t
20519
 
s/$/\\/; p
20520
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20521
 
' >>$CONFIG_STATUS <conf$$subs.sed
20522
 
rm -f conf$$subs.sed
20523
 
cat >>$CONFIG_STATUS <<_ACEOF
20524
 
:end
20525
 
s/|#_!!_#|//g
20526
 
CEOF$ac_eof
20527
 
_ACEOF
20528
 
 
20529
 
 
20530
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20531
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20532
 
# trailing colons and then remove the whole line if VPATH becomes empty
20533
 
# (actually we leave an empty line to preserve line numbers).
20534
 
if test "x$srcdir" = x.; then
20535
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
20536
 
s/:*\$(srcdir):*/:/
20537
 
s/:*\${srcdir}:*/:/
20538
 
s/:*@srcdir@:*/:/
20539
 
s/^\([^=]*=[     ]*\):*/\1/
20540
 
s/:*$//
20541
 
s/^[^=]*=[       ]*$//
20542
 
}'
20543
 
fi
20544
 
 
20545
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21673
if test -n "\$CONFIG_FILES"; then
 
21674
  # Protect against being on the right side of a sed subst in config.status.
 
21675
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 
21676
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 
21677
s,@SHELL@,$SHELL,;t t
 
21678
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 
21679
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 
21680
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 
21681
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 
21682
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 
21683
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 
21684
s,@exec_prefix@,$exec_prefix,;t t
 
21685
s,@prefix@,$prefix,;t t
 
21686
s,@program_transform_name@,$program_transform_name,;t t
 
21687
s,@bindir@,$bindir,;t t
 
21688
s,@sbindir@,$sbindir,;t t
 
21689
s,@libexecdir@,$libexecdir,;t t
 
21690
s,@datadir@,$datadir,;t t
 
21691
s,@sysconfdir@,$sysconfdir,;t t
 
21692
s,@sharedstatedir@,$sharedstatedir,;t t
 
21693
s,@localstatedir@,$localstatedir,;t t
 
21694
s,@libdir@,$libdir,;t t
 
21695
s,@includedir@,$includedir,;t t
 
21696
s,@oldincludedir@,$oldincludedir,;t t
 
21697
s,@infodir@,$infodir,;t t
 
21698
s,@mandir@,$mandir,;t t
 
21699
s,@build_alias@,$build_alias,;t t
 
21700
s,@host_alias@,$host_alias,;t t
 
21701
s,@target_alias@,$target_alias,;t t
 
21702
s,@DEFS@,$DEFS,;t t
 
21703
s,@ECHO_C@,$ECHO_C,;t t
 
21704
s,@ECHO_N@,$ECHO_N,;t t
 
21705
s,@ECHO_T@,$ECHO_T,;t t
 
21706
s,@LIBS@,$LIBS,;t t
 
21707
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 
21708
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 
21709
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
21710
s,@CYGPATH_W@,$CYGPATH_W,;t t
 
21711
s,@PACKAGE@,$PACKAGE,;t t
 
21712
s,@VERSION@,$VERSION,;t t
 
21713
s,@ACLOCAL@,$ACLOCAL,;t t
 
21714
s,@AUTOCONF@,$AUTOCONF,;t t
 
21715
s,@AUTOMAKE@,$AUTOMAKE,;t t
 
21716
s,@AUTOHEADER@,$AUTOHEADER,;t t
 
21717
s,@MAKEINFO@,$MAKEINFO,;t t
 
21718
s,@install_sh@,$install_sh,;t t
 
21719
s,@STRIP@,$STRIP,;t t
 
21720
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
21721
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
21722
s,@mkdir_p@,$mkdir_p,;t t
 
21723
s,@AWK@,$AWK,;t t
 
21724
s,@SET_MAKE@,$SET_MAKE,;t t
 
21725
s,@am__leading_dot@,$am__leading_dot,;t t
 
21726
s,@AMTAR@,$AMTAR,;t t
 
21727
s,@am__tar@,$am__tar,;t t
 
21728
s,@am__untar@,$am__untar,;t t
 
21729
s,@CC@,$CC,;t t
 
21730
s,@CFLAGS@,$CFLAGS,;t t
 
21731
s,@LDFLAGS@,$LDFLAGS,;t t
 
21732
s,@CPPFLAGS@,$CPPFLAGS,;t t
 
21733
s,@ac_ct_CC@,$ac_ct_CC,;t t
 
21734
s,@EXEEXT@,$EXEEXT,;t t
 
21735
s,@OBJEXT@,$OBJEXT,;t t
 
21736
s,@DEPDIR@,$DEPDIR,;t t
 
21737
s,@am__include@,$am__include,;t t
 
21738
s,@am__quote@,$am__quote,;t t
 
21739
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
21740
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
21741
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
21742
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
21743
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
21744
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
 
21745
s,@build@,$build,;t t
 
21746
s,@build_cpu@,$build_cpu,;t t
 
21747
s,@build_vendor@,$build_vendor,;t t
 
21748
s,@build_os@,$build_os,;t t
 
21749
s,@host@,$host,;t t
 
21750
s,@host_cpu@,$host_cpu,;t t
 
21751
s,@host_vendor@,$host_vendor,;t t
 
21752
s,@host_os@,$host_os,;t t
 
21753
s,@EGREP@,$EGREP,;t t
 
21754
s,@LN_S@,$LN_S,;t t
 
21755
s,@ECHO@,$ECHO,;t t
 
21756
s,@AR@,$AR,;t t
 
21757
s,@ac_ct_AR@,$ac_ct_AR,;t t
 
21758
s,@RANLIB@,$RANLIB,;t t
 
21759
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 
21760
s,@CPP@,$CPP,;t t
 
21761
s,@CXX@,$CXX,;t t
 
21762
s,@CXXFLAGS@,$CXXFLAGS,;t t
 
21763
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 
21764
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 
21765
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 
21766
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
 
21767
s,@CXXCPP@,$CXXCPP,;t t
 
21768
s,@F77@,$F77,;t t
 
21769
s,@FFLAGS@,$FFLAGS,;t t
 
21770
s,@ac_ct_F77@,$ac_ct_F77,;t t
 
21771
s,@LIBTOOL@,$LIBTOOL,;t t
 
21772
s,@LIBGCRYPT_CONFIG@,$LIBGCRYPT_CONFIG,;t t
 
21773
s,@LIBGCRYPT_CFLAGS@,$LIBGCRYPT_CFLAGS,;t t
 
21774
s,@LIBGCRYPT_LIBS@,$LIBGCRYPT_LIBS,;t t
 
21775
s,@LIBOTR_CFLAGS@,$LIBOTR_CFLAGS,;t t
 
21776
s,@LIBOTR_LIBS@,$LIBOTR_LIBS,;t t
 
21777
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
21778
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
 
21779
s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
 
21780
s,@EXTRA_LIBS@,$EXTRA_LIBS,;t t
 
21781
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
 
21782
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
 
21783
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
 
21784
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
 
21785
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
 
21786
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
 
21787
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
 
21788
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
 
21789
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
 
21790
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
 
21791
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
 
21792
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
 
21793
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
 
21794
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
 
21795
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
 
21796
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
 
21797
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
 
21798
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
 
21799
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
 
21800
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
 
21801
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
 
21802
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
 
21803
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
 
21804
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
 
21805
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
 
21806
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
 
21807
s,@ALL_LINGUAS@,$ALL_LINGUAS,;t t
 
21808
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
 
21809
s,@USE_NLS@,$USE_NLS,;t t
 
21810
s,@MSGFMT@,$MSGFMT,;t t
 
21811
s,@GMSGFMT@,$GMSGFMT,;t t
 
21812
s,@XGETTEXT@,$XGETTEXT,;t t
 
21813
s,@CATALOGS@,$CATALOGS,;t t
 
21814
s,@CATOBJEXT@,$CATOBJEXT,;t t
 
21815
s,@DATADIRNAME@,$DATADIRNAME,;t t
 
21816
s,@GMOFILES@,$GMOFILES,;t t
 
21817
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
 
21818
s,@INTLLIBS@,$INTLLIBS,;t t
 
21819
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
 
21820
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
 
21821
s,@POFILES@,$POFILES,;t t
 
21822
s,@POSUB@,$POSUB,;t t
 
21823
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
 
21824
s,@LIBOBJS@,$LIBOBJS,;t t
 
21825
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 
21826
CEOF
 
21827
 
 
21828
_ACEOF
 
21829
 
 
21830
  cat >>$CONFIG_STATUS <<\_ACEOF
 
21831
  # Split the substitutions into bite-sized pieces for seds with
 
21832
  # small command number limits, like on Digital OSF/1 and HP-UX.
 
21833
  ac_max_sed_lines=48
 
21834
  ac_sed_frag=1 # Number of current file.
 
21835
  ac_beg=1 # First line for current file.
 
21836
  ac_end=$ac_max_sed_lines # Line after last line for current file.
 
21837
  ac_more_lines=:
 
21838
  ac_sed_cmds=
 
21839
  while $ac_more_lines; do
 
21840
    if test $ac_beg -gt 1; then
 
21841
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
21842
    else
 
21843
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
21844
    fi
 
21845
    if test ! -s $tmp/subs.frag; then
 
21846
      ac_more_lines=false
 
21847
    else
 
21848
      # The purpose of the label and of the branching condition is to
 
21849
      # speed up the sed processing (if there are no `@' at all, there
 
21850
      # is no need to browse any of the substitutions).
 
21851
      # These are the two extra sed commands mentioned above.
 
21852
      (echo ':t
 
21853
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 
21854
      if test -z "$ac_sed_cmds"; then
 
21855
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
21856
      else
 
21857
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
21858
      fi
 
21859
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
21860
      ac_beg=$ac_end
 
21861
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
21862
    fi
 
21863
  done
 
21864
  if test -z "$ac_sed_cmds"; then
 
21865
    ac_sed_cmds=cat
 
21866
  fi
20546
21867
fi # test -n "$CONFIG_FILES"
20547
21868
 
20548
 
 
20549
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
20550
 
do
20551
 
  case $ac_tag in
20552
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
20553
 
  esac
20554
 
  case $ac_mode$ac_tag in
20555
 
  :[FHL]*:*);;
20556
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20557
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20558
 
   { (exit 1); exit 1; }; };;
20559
 
  :[FH]-) ac_tag=-:-;;
20560
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20561
 
  esac
20562
 
  ac_save_IFS=$IFS
20563
 
  IFS=:
20564
 
  set x $ac_tag
20565
 
  IFS=$ac_save_IFS
20566
 
  shift
20567
 
  ac_file=$1
20568
 
  shift
20569
 
 
20570
 
  case $ac_mode in
20571
 
  :L) ac_source=$1;;
20572
 
  :[FH])
20573
 
    ac_file_inputs=
20574
 
    for ac_f
20575
 
    do
20576
 
      case $ac_f in
20577
 
      -) ac_f="$tmp/stdin";;
20578
 
      *) # Look for the file first in the build tree, then in the source tree
20579
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
20580
 
         # because $ac_f cannot contain `:'.
20581
 
         test -f "$ac_f" ||
20582
 
           case $ac_f in
20583
 
           [\\/$]*) false;;
20584
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20585
 
           esac ||
20586
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20587
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20588
 
   { (exit 1); exit 1; }; };;
20589
 
      esac
20590
 
      ac_file_inputs="$ac_file_inputs $ac_f"
20591
 
    done
20592
 
 
20593
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
20594
 
    # use $as_me), people would be surprised to read:
20595
 
    #    /* config.h.  Generated by config.status.  */
20596
 
    configure_input="Generated from "`IFS=:
20597
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20598
 
    if test x"$ac_file" != x-; then
20599
 
      configure_input="$ac_file.  $configure_input"
20600
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
20601
 
echo "$as_me: creating $ac_file" >&6;}
20602
 
    fi
20603
 
 
20604
 
    case $ac_tag in
20605
 
    *:-:* | *:-) cat >"$tmp/stdin";;
20606
 
    esac
20607
 
    ;;
20608
 
  esac
20609
 
 
20610
 
  ac_dir=`$as_dirname -- "$ac_file" ||
 
21869
_ACEOF
 
21870
cat >>$CONFIG_STATUS <<\_ACEOF
 
21871
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 
21872
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
21873
  case $ac_file in
 
21874
  - | *:- | *:-:* ) # input from stdin
 
21875
        cat >$tmp/stdin
 
21876
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
21877
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
21878
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
21879
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
21880
  * )   ac_file_in=$ac_file.in ;;
 
21881
  esac
 
21882
 
 
21883
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 
21884
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20611
21885
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20612
21886
         X"$ac_file" : 'X\(//\)[^/]' \| \
20613
21887
         X"$ac_file" : 'X\(//\)$' \| \
20614
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
21888
         X"$ac_file" : 'X\(/\)' \| \
 
21889
         .     : '\(.\)' 2>/dev/null ||
20615
21890
echo X"$ac_file" |
20616
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20617
 
            s//\1/
20618
 
            q
20619
 
          }
20620
 
          /^X\(\/\/\)[^/].*/{
20621
 
            s//\1/
20622
 
            q
20623
 
          }
20624
 
          /^X\(\/\/\)$/{
20625
 
            s//\1/
20626
 
            q
20627
 
          }
20628
 
          /^X\(\/\).*/{
20629
 
            s//\1/
20630
 
            q
20631
 
          }
20632
 
          s/.*/./; q'`
20633
 
  { as_dir="$ac_dir"
20634
 
  case $as_dir in #(
20635
 
  -*) as_dir=./$as_dir;;
20636
 
  esac
20637
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
21891
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
21892
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
21893
          /^X\(\/\/\)$/{ s//\1/; q; }
 
21894
          /^X\(\/\).*/{ s//\1/; q; }
 
21895
          s/.*/./; q'`
 
21896
  { if $as_mkdir_p; then
 
21897
    mkdir -p "$ac_dir"
 
21898
  else
 
21899
    as_dir="$ac_dir"
20638
21900
    as_dirs=
20639
 
    while :; do
20640
 
      case $as_dir in #(
20641
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20642
 
      *) as_qdir=$as_dir;;
20643
 
      esac
20644
 
      as_dirs="'$as_qdir' $as_dirs"
20645
 
      as_dir=`$as_dirname -- "$as_dir" ||
 
21901
    while test ! -d "$as_dir"; do
 
21902
      as_dirs="$as_dir $as_dirs"
 
21903
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20646
21904
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20647
21905
         X"$as_dir" : 'X\(//\)[^/]' \| \
20648
21906
         X"$as_dir" : 'X\(//\)$' \| \
20649
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
21907
         X"$as_dir" : 'X\(/\)' \| \
 
21908
         .     : '\(.\)' 2>/dev/null ||
20650
21909
echo X"$as_dir" |
20651
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20652
 
            s//\1/
20653
 
            q
20654
 
          }
20655
 
          /^X\(\/\/\)[^/].*/{
20656
 
            s//\1/
20657
 
            q
20658
 
          }
20659
 
          /^X\(\/\/\)$/{
20660
 
            s//\1/
20661
 
            q
20662
 
          }
20663
 
          /^X\(\/\).*/{
20664
 
            s//\1/
20665
 
            q
20666
 
          }
20667
 
          s/.*/./; q'`
20668
 
      test -d "$as_dir" && break
 
21910
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
21911
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
21912
          /^X\(\/\/\)$/{ s//\1/; q; }
 
21913
          /^X\(\/\).*/{ s//\1/; q; }
 
21914
          s/.*/./; q'`
20669
21915
    done
20670
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
20671
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20672
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
21916
    test ! -n "$as_dirs" || mkdir $as_dirs
 
21917
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
21918
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20673
21919
   { (exit 1); exit 1; }; }; }
 
21920
 
20674
21921
  ac_builddir=.
20675
21922
 
20676
 
case "$ac_dir" in
20677
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20678
 
*)
 
21923
if test "$ac_dir" != .; then
20679
21924
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20680
 
  # A ".." for each directory in $ac_dir_suffix.
20681
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20682
 
  case $ac_top_builddir_sub in
20683
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20684
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20685
 
  esac ;;
20686
 
esac
20687
 
ac_abs_top_builddir=$ac_pwd
20688
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20689
 
# for backward compatibility:
20690
 
ac_top_builddir=$ac_top_build_prefix
 
21925
  # A "../" for each directory in $ac_dir_suffix.
 
21926
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
21927
else
 
21928
  ac_dir_suffix= ac_top_builddir=
 
21929
fi
20691
21930
 
20692
21931
case $srcdir in
20693
 
  .)  # We are building in place.
 
21932
  .)  # No --srcdir option.  We are building in place.
20694
21933
    ac_srcdir=.
20695
 
    ac_top_srcdir=$ac_top_builddir_sub
20696
 
    ac_abs_top_srcdir=$ac_pwd ;;
20697
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
21934
    if test -z "$ac_top_builddir"; then
 
21935
       ac_top_srcdir=.
 
21936
    else
 
21937
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
21938
    fi ;;
 
21939
  [\\/]* | ?:[\\/]* )  # Absolute path.
20698
21940
    ac_srcdir=$srcdir$ac_dir_suffix;
20699
 
    ac_top_srcdir=$srcdir
20700
 
    ac_abs_top_srcdir=$srcdir ;;
20701
 
  *) # Relative name.
20702
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20703
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
20704
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20705
 
esac
20706
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20707
 
 
20708
 
 
20709
 
  case $ac_mode in
20710
 
  :F)
20711
 
  #
20712
 
  # CONFIG_FILE
20713
 
  #
 
21941
    ac_top_srcdir=$srcdir ;;
 
21942
  *) # Relative path.
 
21943
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
21944
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
21945
esac
 
21946
 
 
21947
# Do not use `cd foo && pwd` to compute absolute paths, because
 
21948
# the directories may not exist.
 
21949
case `pwd` in
 
21950
.) ac_abs_builddir="$ac_dir";;
 
21951
*)
 
21952
  case "$ac_dir" in
 
21953
  .) ac_abs_builddir=`pwd`;;
 
21954
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
21955
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
21956
  esac;;
 
21957
esac
 
21958
case $ac_abs_builddir in
 
21959
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
21960
*)
 
21961
  case ${ac_top_builddir}. in
 
21962
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
21963
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
21964
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
21965
  esac;;
 
21966
esac
 
21967
case $ac_abs_builddir in
 
21968
.) ac_abs_srcdir=$ac_srcdir;;
 
21969
*)
 
21970
  case $ac_srcdir in
 
21971
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
21972
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
21973
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
21974
  esac;;
 
21975
esac
 
21976
case $ac_abs_builddir in
 
21977
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
21978
*)
 
21979
  case $ac_top_srcdir in
 
21980
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
21981
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
21982
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
21983
  esac;;
 
21984
esac
 
21985
 
20714
21986
 
20715
21987
  case $INSTALL in
20716
21988
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20717
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20718
 
  esac
20719
 
  ac_MKDIR_P=$MKDIR_P
20720
 
  case $MKDIR_P in
20721
 
  [\\/$]* | ?:[\\/]* ) ;;
20722
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20723
 
  esac
20724
 
_ACEOF
20725
 
 
20726
 
cat >>$CONFIG_STATUS <<\_ACEOF
20727
 
# If the template does not know about datarootdir, expand it.
20728
 
# FIXME: This hack should be removed a few years after 2.60.
20729
 
ac_datarootdir_hack=; ac_datarootdir_seen=
20730
 
 
20731
 
case `sed -n '/datarootdir/ {
20732
 
  p
20733
 
  q
20734
 
}
20735
 
/@datadir@/p
20736
 
/@docdir@/p
20737
 
/@infodir@/p
20738
 
/@localedir@/p
20739
 
/@mandir@/p
20740
 
' $ac_file_inputs` in
20741
 
*datarootdir*) ac_datarootdir_seen=yes;;
20742
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20743
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20744
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20745
 
_ACEOF
20746
 
cat >>$CONFIG_STATUS <<_ACEOF
20747
 
  ac_datarootdir_hack='
20748
 
  s&@datadir@&$datadir&g
20749
 
  s&@docdir@&$docdir&g
20750
 
  s&@infodir@&$infodir&g
20751
 
  s&@localedir@&$localedir&g
20752
 
  s&@mandir@&$mandir&g
20753
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
20754
 
esac
20755
 
_ACEOF
20756
 
 
20757
 
# Neutralize VPATH when `$srcdir' = `.'.
20758
 
# Shell code in configure.ac might set extrasub.
20759
 
# FIXME: do we really want to maintain this feature?
 
21989
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
21990
  esac
 
21991
 
 
21992
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
21993
  # use $as_me), people would be surprised to read:
 
21994
  #    /* config.h.  Generated by config.status.  */
 
21995
  if test x"$ac_file" = x-; then
 
21996
    configure_input=
 
21997
  else
 
21998
    configure_input="$ac_file.  "
 
21999
  fi
 
22000
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
22001
                                     sed 's,.*/,,'` by configure."
 
22002
 
 
22003
  # First look for the input files in the build tree, otherwise in the
 
22004
  # src tree.
 
22005
  ac_file_inputs=`IFS=:
 
22006
    for f in $ac_file_in; do
 
22007
      case $f in
 
22008
      -) echo $tmp/stdin ;;
 
22009
      [\\/$]*)
 
22010
         # Absolute (can't be DOS-style, as IFS=:)
 
22011
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
22012
echo "$as_me: error: cannot find input file: $f" >&2;}
 
22013
   { (exit 1); exit 1; }; }
 
22014
         echo "$f";;
 
22015
      *) # Relative
 
22016
         if test -f "$f"; then
 
22017
           # Build tree
 
22018
           echo "$f"
 
22019
         elif test -f "$srcdir/$f"; then
 
22020
           # Source tree
 
22021
           echo "$srcdir/$f"
 
22022
         else
 
22023
           # /dev/null tree
 
22024
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
22025
echo "$as_me: error: cannot find input file: $f" >&2;}
 
22026
   { (exit 1); exit 1; }; }
 
22027
         fi;;
 
22028
      esac
 
22029
    done` || { (exit 1); exit 1; }
 
22030
 
 
22031
  if test x"$ac_file" != x-; then
 
22032
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
22033
echo "$as_me: creating $ac_file" >&6;}
 
22034
    rm -f "$ac_file"
 
22035
  fi
 
22036
_ACEOF
20760
22037
cat >>$CONFIG_STATUS <<_ACEOF
20761
22038
  sed "$ac_vpsub
20762
22039
$extrasub
20764
22041
cat >>$CONFIG_STATUS <<\_ACEOF
20765
22042
:t
20766
22043
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20767
 
s&@configure_input@&$configure_input&;t t
20768
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
20769
 
s&@srcdir@&$ac_srcdir&;t t
20770
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20771
 
s&@top_srcdir@&$ac_top_srcdir&;t t
20772
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20773
 
s&@builddir@&$ac_builddir&;t t
20774
 
s&@abs_builddir@&$ac_abs_builddir&;t t
20775
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20776
 
s&@INSTALL@&$ac_INSTALL&;t t
20777
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20778
 
$ac_datarootdir_hack
20779
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
20780
 
 
20781
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20782
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20783
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20784
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20785
 
which seems to be undefined.  Please make sure it is defined." >&5
20786
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20787
 
which seems to be undefined.  Please make sure it is defined." >&2;}
20788
 
 
20789
 
  rm -f "$tmp/stdin"
20790
 
  case $ac_file in
20791
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
20792
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20793
 
  esac
20794
 
 ;;
20795
 
  :H)
20796
 
  #
20797
 
  # CONFIG_HEADER
20798
 
  #
 
22044
s,@configure_input@,$configure_input,;t t
 
22045
s,@srcdir@,$ac_srcdir,;t t
 
22046
s,@abs_srcdir@,$ac_abs_srcdir,;t t
 
22047
s,@top_srcdir@,$ac_top_srcdir,;t t
 
22048
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 
22049
s,@builddir@,$ac_builddir,;t t
 
22050
s,@abs_builddir@,$ac_abs_builddir,;t t
 
22051
s,@top_builddir@,$ac_top_builddir,;t t
 
22052
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 
22053
s,@INSTALL@,$ac_INSTALL,;t t
 
22054
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 
22055
  rm -f $tmp/stdin
 
22056
  if test x"$ac_file" != x-; then
 
22057
    mv $tmp/out $ac_file
 
22058
  else
 
22059
    cat $tmp/out
 
22060
    rm -f $tmp/out
 
22061
  fi
 
22062
 
 
22063
done
20799
22064
_ACEOF
20800
 
 
20801
 
# Transform confdefs.h into a sed script `conftest.defines', that
20802
 
# substitutes the proper values into config.h.in to produce config.h.
20803
 
rm -f conftest.defines conftest.tail
20804
 
# First, append a space to every undef/define line, to ease matching.
20805
 
echo 's/$/ /' >conftest.defines
20806
 
# Then, protect against being on the right side of a sed subst, or in
20807
 
# an unquoted here document, in config.status.  If some macros were
20808
 
# called several times there might be several #defines for the same
20809
 
# symbol, which is useless.  But do not sort them, since the last
20810
 
# AC_DEFINE must be honored.
20811
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20812
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20813
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
20814
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
20815
 
# just an empty string.
20816
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
20817
 
ac_dB='\\)[      (].*,\\1define\\2'
 
22065
cat >>$CONFIG_STATUS <<\_ACEOF
 
22066
 
 
22067
#
 
22068
# CONFIG_HEADER section.
 
22069
#
 
22070
 
 
22071
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 
22072
# NAME is the cpp macro being defined and VALUE is the value it is being given.
 
22073
#
 
22074
# ac_d sets the value in "#define NAME VALUE" lines.
 
22075
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
22076
ac_dB='[         ].*$,\1#\2'
20818
22077
ac_dC=' '
20819
 
ac_dD=' ,'
20820
 
 
20821
 
uniq confdefs.h |
20822
 
  sed -n '
20823
 
        t rset
20824
 
        :rset
20825
 
        s/^[     ]*#[    ]*define[       ][      ]*//
20826
 
        t ok
20827
 
        d
20828
 
        :ok
20829
 
        s/[\\&,]/\\&/g
20830
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20831
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20832
 
  ' >>conftest.defines
20833
 
 
20834
 
# Remove the space that was appended to ease matching.
20835
 
# Then replace #undef with comments.  This is necessary, for
 
22078
ac_dD=',;t'
 
22079
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 
22080
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
22081
ac_uB='$,\1#\2define\3'
 
22082
ac_uC=' '
 
22083
ac_uD=',;t'
 
22084
 
 
22085
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 
22086
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
22087
  case $ac_file in
 
22088
  - | *:- | *:-:* ) # input from stdin
 
22089
        cat >$tmp/stdin
 
22090
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
22091
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
22092
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
22093
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
22094
  * )   ac_file_in=$ac_file.in ;;
 
22095
  esac
 
22096
 
 
22097
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 
22098
echo "$as_me: creating $ac_file" >&6;}
 
22099
 
 
22100
  # First look for the input files in the build tree, otherwise in the
 
22101
  # src tree.
 
22102
  ac_file_inputs=`IFS=:
 
22103
    for f in $ac_file_in; do
 
22104
      case $f in
 
22105
      -) echo $tmp/stdin ;;
 
22106
      [\\/$]*)
 
22107
         # Absolute (can't be DOS-style, as IFS=:)
 
22108
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
22109
echo "$as_me: error: cannot find input file: $f" >&2;}
 
22110
   { (exit 1); exit 1; }; }
 
22111
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
22112
         echo "$f";;
 
22113
      *) # Relative
 
22114
         if test -f "$f"; then
 
22115
           # Build tree
 
22116
           echo "$f"
 
22117
         elif test -f "$srcdir/$f"; then
 
22118
           # Source tree
 
22119
           echo "$srcdir/$f"
 
22120
         else
 
22121
           # /dev/null tree
 
22122
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
22123
echo "$as_me: error: cannot find input file: $f" >&2;}
 
22124
   { (exit 1); exit 1; }; }
 
22125
         fi;;
 
22126
      esac
 
22127
    done` || { (exit 1); exit 1; }
 
22128
  # Remove the trailing spaces.
 
22129
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
 
22130
 
 
22131
_ACEOF
 
22132
 
 
22133
# Transform confdefs.h into two sed scripts, `conftest.defines' and
 
22134
# `conftest.undefs', that substitutes the proper values into
 
22135
# config.h.in to produce config.h.  The first handles `#define'
 
22136
# templates, and the second `#undef' templates.
 
22137
# And first: Protect against being on the right side of a sed subst in
 
22138
# config.status.  Protect against being in an unquoted here document
 
22139
# in config.status.
 
22140
rm -f conftest.defines conftest.undefs
 
22141
# Using a here document instead of a string reduces the quoting nightmare.
 
22142
# Putting comments in sed scripts is not portable.
 
22143
#
 
22144
# `end' is used to avoid that the second main sed command (meant for
 
22145
# 0-ary CPP macros) applies to n-ary macro definitions.
 
22146
# See the Autoconf documentation for `clear'.
 
22147
cat >confdef2sed.sed <<\_ACEOF
 
22148
s/[\\&,]/\\&/g
 
22149
s,[\\$`],\\&,g
 
22150
t clear
 
22151
: clear
 
22152
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
22153
t end
 
22154
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
22155
: end
 
22156
_ACEOF
 
22157
# If some macros were called several times there might be several times
 
22158
# the same #defines, which is useless.  Nevertheless, we may not want to
 
22159
# sort them, since we want the *last* AC-DEFINE to be honored.
 
22160
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 
22161
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 
22162
rm -f confdef2sed.sed
 
22163
 
 
22164
# This sed command replaces #undef with comments.  This is necessary, for
20836
22165
# example, in the case of _POSIX_SOURCE, which is predefined and required
20837
22166
# on some systems where configure will not decide to define it.
20838
 
# (The regexp can be short, since the line contains either #define or #undef.)
20839
 
echo 's/ $//
20840
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
20841
 
 
20842
 
# Break up conftest.defines:
20843
 
ac_max_sed_lines=50
20844
 
 
20845
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20846
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20847
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20848
 
# et cetera.
20849
 
ac_in='$ac_file_inputs'
20850
 
ac_out='"$tmp/out1"'
20851
 
ac_nxt='"$tmp/out2"'
20852
 
 
20853
 
while :
 
22167
cat >>conftest.undefs <<\_ACEOF
 
22168
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
22169
_ACEOF
 
22170
 
 
22171
# Break up conftest.defines because some shells have a limit on the size
 
22172
# of here documents, and old seds have small limits too (100 cmds).
 
22173
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 
22174
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
22175
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 
22176
echo '  :' >>$CONFIG_STATUS
 
22177
rm -f conftest.tail
 
22178
while grep . conftest.defines >/dev/null
20854
22179
do
20855
 
  # Write a here document:
20856
 
    cat >>$CONFIG_STATUS <<_ACEOF
20857
 
    # First, check the format of the line:
20858
 
    cat >"\$tmp/defines.sed" <<\\CEOF
20859
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
20860
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
20861
 
b
20862
 
:def
20863
 
_ACEOF
20864
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 
22180
  # Write a limited-size here document to $tmp/defines.sed.
 
22181
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 
22182
  # Speed up: don't consider the non `#define' lines.
 
22183
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
22184
  # Work around the forget-to-reset-the-flag bug.
 
22185
  echo 't clr' >>$CONFIG_STATUS
 
22186
  echo ': clr' >>$CONFIG_STATUS
 
22187
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
20865
22188
  echo 'CEOF
20866
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20867
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20868
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20869
 
  grep . conftest.tail >/dev/null || break
 
22189
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
 
22190
  rm -f $tmp/in
 
22191
  mv $tmp/out $tmp/in
 
22192
' >>$CONFIG_STATUS
 
22193
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
20870
22194
  rm -f conftest.defines
20871
22195
  mv conftest.tail conftest.defines
20872
22196
done
20873
 
rm -f conftest.defines conftest.tail
20874
 
 
20875
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
 
22197
rm -f conftest.defines
 
22198
echo '  fi # grep' >>$CONFIG_STATUS
 
22199
echo >>$CONFIG_STATUS
 
22200
 
 
22201
# Break up conftest.undefs because some shells have a limit on the size
 
22202
# of here documents, and old seds have small limits too (100 cmds).
 
22203
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 
22204
rm -f conftest.tail
 
22205
while grep . conftest.undefs >/dev/null
 
22206
do
 
22207
  # Write a limited-size here document to $tmp/undefs.sed.
 
22208
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 
22209
  # Speed up: don't consider the non `#undef'
 
22210
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
22211
  # Work around the forget-to-reset-the-flag bug.
 
22212
  echo 't clr' >>$CONFIG_STATUS
 
22213
  echo ': clr' >>$CONFIG_STATUS
 
22214
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 
22215
  echo 'CEOF
 
22216
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 
22217
  rm -f $tmp/in
 
22218
  mv $tmp/out $tmp/in
 
22219
' >>$CONFIG_STATUS
 
22220
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 
22221
  rm -f conftest.undefs
 
22222
  mv conftest.tail conftest.undefs
 
22223
done
 
22224
rm -f conftest.undefs
 
22225
 
20876
22226
cat >>$CONFIG_STATUS <<\_ACEOF
 
22227
  # Let's still pretend it is `configure' which instantiates (i.e., don't
 
22228
  # use $as_me), people would be surprised to read:
 
22229
  #    /* config.h.  Generated by config.status.  */
 
22230
  if test x"$ac_file" = x-; then
 
22231
    echo "/* Generated by configure.  */" >$tmp/config.h
 
22232
  else
 
22233
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 
22234
  fi
 
22235
  cat $tmp/in >>$tmp/config.h
 
22236
  rm -f $tmp/in
20877
22237
  if test x"$ac_file" != x-; then
20878
 
    echo "/* $configure_input  */" >"$tmp/config.h"
20879
 
    cat "$ac_result" >>"$tmp/config.h"
20880
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 
22238
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
20881
22239
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20882
22240
echo "$as_me: $ac_file is unchanged" >&6;}
20883
22241
    else
 
22242
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
22243
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22244
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
22245
         X"$ac_file" : 'X\(//\)$' \| \
 
22246
         X"$ac_file" : 'X\(/\)' \| \
 
22247
         .     : '\(.\)' 2>/dev/null ||
 
22248
echo X"$ac_file" |
 
22249
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22250
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22251
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22252
          /^X\(\/\).*/{ s//\1/; q; }
 
22253
          s/.*/./; q'`
 
22254
      { if $as_mkdir_p; then
 
22255
    mkdir -p "$ac_dir"
 
22256
  else
 
22257
    as_dir="$ac_dir"
 
22258
    as_dirs=
 
22259
    while test ! -d "$as_dir"; do
 
22260
      as_dirs="$as_dir $as_dirs"
 
22261
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22262
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22263
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
22264
         X"$as_dir" : 'X\(//\)$' \| \
 
22265
         X"$as_dir" : 'X\(/\)' \| \
 
22266
         .     : '\(.\)' 2>/dev/null ||
 
22267
echo X"$as_dir" |
 
22268
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22269
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22270
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22271
          /^X\(\/\).*/{ s//\1/; q; }
 
22272
          s/.*/./; q'`
 
22273
    done
 
22274
    test ! -n "$as_dirs" || mkdir $as_dirs
 
22275
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
22276
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22277
   { (exit 1); exit 1; }; }; }
 
22278
 
20884
22279
      rm -f $ac_file
20885
 
      mv "$tmp/config.h" $ac_file
 
22280
      mv $tmp/config.h $ac_file
20886
22281
    fi
20887
22282
  else
20888
 
    echo "/* $configure_input  */"
20889
 
    cat "$ac_result"
 
22283
    cat $tmp/config.h
 
22284
    rm -f $tmp/config.h
20890
22285
  fi
20891
 
  rm -f "$tmp/out12"
20892
22286
# Compute $ac_file's index in $config_headers.
20893
22287
_am_stamp_count=1
20894
22288
for _am_header in $config_headers :; do
20899
22293
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20900
22294
  esac
20901
22295
done
20902
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
22296
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20903
22297
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20904
22298
         X$ac_file : 'X\(//\)[^/]' \| \
20905
22299
         X$ac_file : 'X\(//\)$' \| \
20906
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
22300
         X$ac_file : 'X\(/\)' \| \
 
22301
         .     : '\(.\)' 2>/dev/null ||
20907
22302
echo X$ac_file |
20908
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20909
 
            s//\1/
20910
 
            q
20911
 
          }
20912
 
          /^X\(\/\/\)[^/].*/{
20913
 
            s//\1/
20914
 
            q
20915
 
          }
20916
 
          /^X\(\/\/\)$/{
20917
 
            s//\1/
20918
 
            q
20919
 
          }
20920
 
          /^X\(\/\).*/{
20921
 
            s//\1/
20922
 
            q
20923
 
          }
20924
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
20925
 
 ;;
20926
 
 
20927
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20928
 
echo "$as_me: executing $ac_file commands" >&6;}
20929
 
 ;;
20930
 
  esac
20931
 
 
20932
 
 
20933
 
  case $ac_file$ac_mode in
20934
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
22303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22304
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22305
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22306
          /^X\(\/\).*/{ s//\1/; q; }
 
22307
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
22308
done
 
22309
_ACEOF
 
22310
cat >>$CONFIG_STATUS <<\_ACEOF
 
22311
 
 
22312
#
 
22313
# CONFIG_COMMANDS section.
 
22314
#
 
22315
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
 
22316
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
 
22317
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
22318
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
 
22319
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22320
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
22321
         X"$ac_dest" : 'X\(//\)$' \| \
 
22322
         X"$ac_dest" : 'X\(/\)' \| \
 
22323
         .     : '\(.\)' 2>/dev/null ||
 
22324
echo X"$ac_dest" |
 
22325
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22326
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22327
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22328
          /^X\(\/\).*/{ s//\1/; q; }
 
22329
          s/.*/./; q'`
 
22330
  { if $as_mkdir_p; then
 
22331
    mkdir -p "$ac_dir"
 
22332
  else
 
22333
    as_dir="$ac_dir"
 
22334
    as_dirs=
 
22335
    while test ! -d "$as_dir"; do
 
22336
      as_dirs="$as_dir $as_dirs"
 
22337
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22338
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22339
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
22340
         X"$as_dir" : 'X\(//\)$' \| \
 
22341
         X"$as_dir" : 'X\(/\)' \| \
 
22342
         .     : '\(.\)' 2>/dev/null ||
 
22343
echo X"$as_dir" |
 
22344
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22345
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22346
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22347
          /^X\(\/\).*/{ s//\1/; q; }
 
22348
          s/.*/./; q'`
 
22349
    done
 
22350
    test ! -n "$as_dirs" || mkdir $as_dirs
 
22351
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
22352
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22353
   { (exit 1); exit 1; }; }; }
 
22354
 
 
22355
  ac_builddir=.
 
22356
 
 
22357
if test "$ac_dir" != .; then
 
22358
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
22359
  # A "../" for each directory in $ac_dir_suffix.
 
22360
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 
22361
else
 
22362
  ac_dir_suffix= ac_top_builddir=
 
22363
fi
 
22364
 
 
22365
case $srcdir in
 
22366
  .)  # No --srcdir option.  We are building in place.
 
22367
    ac_srcdir=.
 
22368
    if test -z "$ac_top_builddir"; then
 
22369
       ac_top_srcdir=.
 
22370
    else
 
22371
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
22372
    fi ;;
 
22373
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22374
    ac_srcdir=$srcdir$ac_dir_suffix;
 
22375
    ac_top_srcdir=$srcdir ;;
 
22376
  *) # Relative path.
 
22377
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
22378
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
22379
esac
 
22380
 
 
22381
# Do not use `cd foo && pwd` to compute absolute paths, because
 
22382
# the directories may not exist.
 
22383
case `pwd` in
 
22384
.) ac_abs_builddir="$ac_dir";;
 
22385
*)
 
22386
  case "$ac_dir" in
 
22387
  .) ac_abs_builddir=`pwd`;;
 
22388
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
22389
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
22390
  esac;;
 
22391
esac
 
22392
case $ac_abs_builddir in
 
22393
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
22394
*)
 
22395
  case ${ac_top_builddir}. in
 
22396
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
22397
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
22398
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
22399
  esac;;
 
22400
esac
 
22401
case $ac_abs_builddir in
 
22402
.) ac_abs_srcdir=$ac_srcdir;;
 
22403
*)
 
22404
  case $ac_srcdir in
 
22405
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
22406
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
22407
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
22408
  esac;;
 
22409
esac
 
22410
case $ac_abs_builddir in
 
22411
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
22412
*)
 
22413
  case $ac_top_srcdir in
 
22414
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
22415
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
22416
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
22417
  esac;;
 
22418
esac
 
22419
 
 
22420
 
 
22421
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 
22422
echo "$as_me: executing $ac_dest commands" >&6;}
 
22423
  case $ac_dest in
 
22424
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20935
22425
  # Strip MF so we end up with the name of the file.
20936
22426
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20937
22427
  # Check whether this is an Automake generated Makefile or not.
20939
22429
  # some people rename them; so instead we look at the file content.
20940
22430
  # Grep'ing the first line is not enough: some people post-process
20941
22431
  # each Makefile.in and add a new line on top of each file to say so.
20942
 
  # Grep'ing the whole file is not good either: AIX grep has a line
20943
 
  # limit of 2048, but all sed's we know have understand at least 4000.
20944
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
20945
 
    dirpart=`$as_dirname -- "$mf" ||
 
22432
  # So let's grep whole file.
 
22433
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
22434
    dirpart=`(dirname "$mf") 2>/dev/null ||
20946
22435
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20947
22436
         X"$mf" : 'X\(//\)[^/]' \| \
20948
22437
         X"$mf" : 'X\(//\)$' \| \
20949
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
22438
         X"$mf" : 'X\(/\)' \| \
 
22439
         .     : '\(.\)' 2>/dev/null ||
20950
22440
echo X"$mf" |
20951
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20952
 
            s//\1/
20953
 
            q
20954
 
          }
20955
 
          /^X\(\/\/\)[^/].*/{
20956
 
            s//\1/
20957
 
            q
20958
 
          }
20959
 
          /^X\(\/\/\)$/{
20960
 
            s//\1/
20961
 
            q
20962
 
          }
20963
 
          /^X\(\/\).*/{
20964
 
            s//\1/
20965
 
            q
20966
 
          }
20967
 
          s/.*/./; q'`
 
22441
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22442
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22443
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22444
          /^X\(\/\).*/{ s//\1/; q; }
 
22445
          s/.*/./; q'`
20968
22446
  else
20969
22447
    continue
20970
22448
  fi
20986
22464
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20987
22465
    # Make sure the directory exists.
20988
22466
    test -f "$dirpart/$file" && continue
20989
 
    fdir=`$as_dirname -- "$file" ||
 
22467
    fdir=`(dirname "$file") 2>/dev/null ||
20990
22468
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20991
22469
         X"$file" : 'X\(//\)[^/]' \| \
20992
22470
         X"$file" : 'X\(//\)$' \| \
20993
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
22471
         X"$file" : 'X\(/\)' \| \
 
22472
         .     : '\(.\)' 2>/dev/null ||
20994
22473
echo X"$file" |
20995
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20996
 
            s//\1/
20997
 
            q
20998
 
          }
20999
 
          /^X\(\/\/\)[^/].*/{
21000
 
            s//\1/
21001
 
            q
21002
 
          }
21003
 
          /^X\(\/\/\)$/{
21004
 
            s//\1/
21005
 
            q
21006
 
          }
21007
 
          /^X\(\/\).*/{
21008
 
            s//\1/
21009
 
            q
21010
 
          }
21011
 
          s/.*/./; q'`
21012
 
    { as_dir=$dirpart/$fdir
21013
 
  case $as_dir in #(
21014
 
  -*) as_dir=./$as_dir;;
21015
 
  esac
21016
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 
22474
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22475
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22476
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22477
          /^X\(\/\).*/{ s//\1/; q; }
 
22478
          s/.*/./; q'`
 
22479
    { if $as_mkdir_p; then
 
22480
    mkdir -p $dirpart/$fdir
 
22481
  else
 
22482
    as_dir=$dirpart/$fdir
21017
22483
    as_dirs=
21018
 
    while :; do
21019
 
      case $as_dir in #(
21020
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21021
 
      *) as_qdir=$as_dir;;
21022
 
      esac
21023
 
      as_dirs="'$as_qdir' $as_dirs"
21024
 
      as_dir=`$as_dirname -- "$as_dir" ||
 
22484
    while test ! -d "$as_dir"; do
 
22485
      as_dirs="$as_dir $as_dirs"
 
22486
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
21025
22487
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21026
22488
         X"$as_dir" : 'X\(//\)[^/]' \| \
21027
22489
         X"$as_dir" : 'X\(//\)$' \| \
21028
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
22490
         X"$as_dir" : 'X\(/\)' \| \
 
22491
         .     : '\(.\)' 2>/dev/null ||
21029
22492
echo X"$as_dir" |
21030
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21031
 
            s//\1/
21032
 
            q
21033
 
          }
21034
 
          /^X\(\/\/\)[^/].*/{
21035
 
            s//\1/
21036
 
            q
21037
 
          }
21038
 
          /^X\(\/\/\)$/{
21039
 
            s//\1/
21040
 
            q
21041
 
          }
21042
 
          /^X\(\/\).*/{
21043
 
            s//\1/
21044
 
            q
21045
 
          }
21046
 
          s/.*/./; q'`
21047
 
      test -d "$as_dir" && break
 
22493
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
22494
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
22495
          /^X\(\/\/\)$/{ s//\1/; q; }
 
22496
          /^X\(\/\).*/{ s//\1/; q; }
 
22497
          s/.*/./; q'`
21048
22498
    done
21049
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21050
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21051
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
22499
    test ! -n "$as_dirs" || mkdir $as_dirs
 
22500
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
22501
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21052
22502
   { (exit 1); exit 1; }; }; }
 
22503
 
21053
22504
    # echo "creating $dirpart/$file"
21054
22505
    echo '# dummy' > "$dirpart/$file"
21055
22506
  done
21056
22507
done
21057
22508
 ;;
21058
 
 
 
22509
    intltool )
 
22510
 
 
22511
for file in intltool-extract intltool-merge intltool-update; do
 
22512
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
22513
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
22514
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
22515
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
22516
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
22517
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
22518
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
22519
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
22520
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
22521
    rm -f ${file}.out
 
22522
  else
 
22523
    mv -f ${file}.out ${file}
 
22524
  fi
 
22525
  chmod ugo+x ${file}
 
22526
  chmod u+w ${file}
 
22527
done
 
22528
 
 
22529
 ;;
 
22530
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
 
22531
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
22532
      esac ;;
 
22533
    po/stamp-it )
 
22534
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
22535
    >"po/stamp-it.tmp"
 
22536
    sed '/^#/d
 
22537
         s/^[[].*] *//
 
22538
         /^[    ]*$/d
 
22539
        '"s|^|  $ac_top_srcdir/|" \
 
22540
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
22541
 
 
22542
    if test ! -f "po/Makefile"; then
 
22543
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
22544
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
22545
   { (exit 1); exit 1; }; }
 
22546
    fi
 
22547
    mv "po/Makefile" "po/Makefile.tmp"
 
22548
    sed '/^POTFILES =/,/[^\\]$/ {
 
22549
                /^POTFILES =/!d
 
22550
                r po/POTFILES
 
22551
          }
 
22552
         ' "po/Makefile.tmp" >"po/Makefile"
 
22553
    rm -f "po/Makefile.tmp"
 
22554
    mv "po/stamp-it.tmp" "po/stamp-it"
 
22555
   ;;
21059
22556
  esac
21060
 
done # for ac_tag
 
22557
done
 
22558
_ACEOF
21061
22559
 
 
22560
cat >>$CONFIG_STATUS <<\_ACEOF
21062
22561
 
21063
22562
{ (exit 0); exit 0; }
21064
22563
_ACEOF