~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to jasper/configure

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for jasper 1.701.0-gs5.
 
3
# Generated by GNU Autoconf 2.61 for jasper 1.701.0-gs5.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
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
 
13
# Be more Bourne compatible
22
14
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
23
52
 
24
53
# Support unset when possible.
25
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
58
fi
30
59
 
31
60
 
 
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
 
32
94
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
95
for as_var in ENV MAIL MAILPATH
 
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
97
done
34
98
PS1='$ '
35
99
PS2='> '
36
100
PS4='+ '
44
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
109
    eval $as_var=C; export $as_var
46
110
  else
47
 
    $as_unset $as_var
 
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48
112
  fi
49
113
done
50
114
 
51
115
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
118
  as_expr=expr
54
119
else
55
120
  as_expr=false
56
121
fi
57
122
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
124
  as_basename=basename
60
125
else
61
126
  as_basename=false
63
128
 
64
129
 
65
130
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
 
134
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71
135
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
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=
130
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
223
do
133
224
  IFS=$as_save_IFS
134
225
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
226
  case $as_dir in
137
227
         /*)
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
 
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
152
232
done
153
 
;;
154
 
  esac
 
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" || {
155
427
 
156
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
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.
162
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
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 |
165
442
    sed '
 
443
      s/[$]LINENO.*/&-/
 
444
      t lineno
 
445
      b
 
446
      :lineno
166
447
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
448
      :loop
 
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
450
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
451
      s/-\n.*//
173
452
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
 
453
  chmod +x "$as_me.lineno" ||
175
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
   { (exit 1); exit 1; }; }
177
456
 
178
457
  # Don't try to exec as it changes $[0], causing all sort of problems
179
458
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
459
  # original and so on.  Autoconf is especially sensitive to this).
 
460
  . "./$as_me.lineno"
182
461
  # Exit status is that of the last command.
183
462
  exit
184
463
}
185
464
 
186
465
 
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= ;;
 
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';;
192
481
esac
193
482
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
485
  as_expr=expr
196
486
else
197
487
  as_expr=false
198
488
fi
199
489
 
200
490
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
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
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 ||
207
505
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
 
  fi
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
212
507
  as_ln_s=ln
213
508
else
214
509
  as_ln_s='cp -p'
215
510
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
512
rmdir conf$$.dir 2>/dev/null
217
513
 
218
514
if mkdir -p . 2>/dev/null; then
219
515
  as_mkdir_p=:
222
518
  as_mkdir_p=false
223
519
fi
224
520
 
225
 
as_executable_p="test -f"
 
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
226
543
 
227
544
# Sed expression to map a string onto a valid CPP name.
228
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
549
 
233
550
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
551
 
244
552
 
245
553
# Check that we are running under the correct shell.
395
703
 
396
704
tagnames=${tagnames+${tagnames},}F77
397
705
 
 
706
exec 7<&0 </dev/null 6>&1
 
707
 
398
708
# Name of the host.
399
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
710
# so uname gets run too.
401
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
712
 
403
 
exec 6>&1
404
 
 
405
713
#
406
714
# Initializations.
407
715
#
408
716
ac_default_prefix=/usr/local
 
717
ac_clean_files=
409
718
ac_config_libobj_dir=.
 
719
LIBOBJS=
410
720
cross_compiling=no
411
721
subdirs=
412
722
MFLAGS=
413
723
MAKEFLAGS=
414
724
SHELL=${CONFIG_SHELL-/bin/sh}
415
725
 
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
 
 
421
726
# Identity of this package.
422
727
PACKAGE_NAME='jasper'
423
728
PACKAGE_TARNAME='jasper'
429
734
# Factoring default headers for most tests.
430
735
ac_includes_default="\
431
736
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
737
#ifdef HAVE_SYS_TYPES_H
433
738
# include <sys/types.h>
434
739
#endif
435
 
#if HAVE_SYS_STAT_H
 
740
#ifdef HAVE_SYS_STAT_H
436
741
# include <sys/stat.h>
437
742
#endif
438
 
#if STDC_HEADERS
 
743
#ifdef STDC_HEADERS
439
744
# include <stdlib.h>
440
745
# include <stddef.h>
441
746
#else
442
 
# if HAVE_STDLIB_H
 
747
# ifdef HAVE_STDLIB_H
443
748
#  include <stdlib.h>
444
749
# endif
445
750
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
751
#ifdef HAVE_STRING_H
 
752
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
753
#  include <memory.h>
449
754
# endif
450
755
# include <string.h>
451
756
#endif
452
 
#if HAVE_STRINGS_H
 
757
#ifdef HAVE_STRINGS_H
453
758
# include <strings.h>
454
759
#endif
455
 
#if HAVE_INTTYPES_H
 
760
#ifdef HAVE_INTTYPES_H
456
761
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
762
#endif
 
763
#ifdef HAVE_STDINT_H
 
764
# include <stdint.h>
 
765
#endif
 
766
#ifdef HAVE_UNISTD_H
463
767
# include <unistd.h>
464
768
#endif"
465
769
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar JAS_MAJOR_VERSION JAS_MINOR_VERSION JAS_MICRO_VERSION JAS_VERSION JAS_RPM_RELEASE LT_RELEASE LT_CURRENT LT_REVISION LT_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB EGREP ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS HAVE_LIBJPEG_TRUE HAVE_LIBJPEG_FALSE HAVE_OPENGL_TRUE HAVE_OPENGL_FALSE OPENGL_LIBS HAVE_SDL HAVE_SDL_TRUE HAVE_SDL_FALSE SDL_CFLAGS SDL_LIBS LIBOBJS LTLIBOBJS'
 
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
build
 
808
build_cpu
 
809
build_vendor
 
810
build_os
 
811
host
 
812
host_cpu
 
813
host_vendor
 
814
host_os
 
815
target
 
816
target_cpu
 
817
target_vendor
 
818
target_os
 
819
INSTALL_PROGRAM
 
820
INSTALL_SCRIPT
 
821
INSTALL_DATA
 
822
CYGPATH_W
 
823
PACKAGE
 
824
VERSION
 
825
ACLOCAL
 
826
AUTOCONF
 
827
AUTOMAKE
 
828
AUTOHEADER
 
829
MAKEINFO
 
830
install_sh
 
831
STRIP
 
832
INSTALL_STRIP_PROGRAM
 
833
mkdir_p
 
834
AWK
 
835
SET_MAKE
 
836
am__leading_dot
 
837
AMTAR
 
838
am__tar
 
839
am__untar
 
840
JAS_MAJOR_VERSION
 
841
JAS_MINOR_VERSION
 
842
JAS_MICRO_VERSION
 
843
JAS_VERSION
 
844
JAS_RPM_RELEASE
 
845
LT_RELEASE
 
846
LT_CURRENT
 
847
LT_REVISION
 
848
LT_AGE
 
849
CC
 
850
CFLAGS
 
851
LDFLAGS
 
852
CPPFLAGS
 
853
ac_ct_CC
 
854
EXEEXT
 
855
OBJEXT
 
856
DEPDIR
 
857
am__include
 
858
am__quote
 
859
AMDEP_TRUE
 
860
AMDEP_FALSE
 
861
AMDEPBACKSLASH
 
862
CCDEPMODE
 
863
am__fastdepCC_TRUE
 
864
am__fastdepCC_FALSE
 
865
CPP
 
866
LN_S
 
867
RANLIB
 
868
GREP
 
869
EGREP
 
870
ECHO
 
871
AR
 
872
CXX
 
873
CXXFLAGS
 
874
ac_ct_CXX
 
875
CXXDEPMODE
 
876
am__fastdepCXX_TRUE
 
877
am__fastdepCXX_FALSE
 
878
CXXCPP
 
879
F77
 
880
FFLAGS
 
881
ac_ct_F77
 
882
LIBTOOL
 
883
XMKMF
 
884
X_CFLAGS
 
885
X_PRE_LIBS
 
886
X_LIBS
 
887
X_EXTRA_LIBS
 
888
HAVE_LIBJPEG_TRUE
 
889
HAVE_LIBJPEG_FALSE
 
890
HAVE_OPENGL_TRUE
 
891
HAVE_OPENGL_FALSE
 
892
OPENGL_LIBS
 
893
HAVE_SDL
 
894
HAVE_SDL_TRUE
 
895
HAVE_SDL_FALSE
 
896
SDL_CFLAGS
 
897
SDL_LIBS
 
898
LIBOBJS
 
899
LTLIBOBJS'
467
900
ac_subst_files=''
 
901
      ac_precious_vars='build_alias
 
902
host_alias
 
903
target_alias
 
904
CC
 
905
CFLAGS
 
906
LDFLAGS
 
907
LIBS
 
908
CPPFLAGS
 
909
CPP
 
910
CXX
 
911
CXXFLAGS
 
912
CCC
 
913
CXXCPP
 
914
F77
 
915
FFLAGS
 
916
XMKMF'
 
917
 
468
918
 
469
919
# Initialize some variables set by options.
470
920
ac_init_help=
491
941
# and all the variables that are supposed to be based on exec_prefix
492
942
# by default will actually change.
493
943
# Use braces instead of parens because sh, perl, etc. also accept them.
 
944
# (The list follows the same order as the GNU Coding Standards.)
494
945
bindir='${exec_prefix}/bin'
495
946
sbindir='${exec_prefix}/sbin'
496
947
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
 
948
datarootdir='${prefix}/share'
 
949
datadir='${datarootdir}'
498
950
sysconfdir='${prefix}/etc'
499
951
sharedstatedir='${prefix}/com'
500
952
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
953
includedir='${prefix}/include'
503
954
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
 
955
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
956
infodir='${datarootdir}/info'
 
957
htmldir='${docdir}'
 
958
dvidir='${docdir}'
 
959
pdfdir='${docdir}'
 
960
psdir='${docdir}'
 
961
libdir='${exec_prefix}/lib'
 
962
localedir='${datarootdir}/locale'
 
963
mandir='${datarootdir}/man'
506
964
 
507
965
ac_prev=
 
966
ac_dashdash=
508
967
for ac_option
509
968
do
510
969
  # If the previous option needs an argument, assign it.
511
970
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
 
971
    eval $ac_prev=\$ac_option
513
972
    ac_prev=
514
973
    continue
515
974
  fi
516
975
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
976
  case $ac_option in
 
977
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
978
  *)    ac_optarg=yes ;;
 
979
  esac
518
980
 
519
981
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
982
 
521
 
  case $ac_option in
 
983
  case $ac_dashdash$ac_option in
 
984
  --)
 
985
    ac_dashdash=yes ;;
522
986
 
523
987
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
988
    ac_prev=bindir ;;
540
1004
  --config-cache | -C)
541
1005
    cache_file=config.cache ;;
542
1006
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1007
  -datadir | --datadir | --datadi | --datad)
544
1008
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
 
1009
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547
1010
    datadir=$ac_optarg ;;
548
1011
 
 
1012
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1013
  | --dataroo | --dataro | --datar)
 
1014
    ac_prev=datarootdir ;;
 
1015
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1016
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1017
    datarootdir=$ac_optarg ;;
 
1018
 
549
1019
  -disable-* | --disable-*)
550
1020
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
1021
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1022
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553
1023
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554
1024
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
 
1025
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1026
    eval enable_$ac_feature=no ;;
 
1027
 
 
1028
  -docdir | --docdir | --docdi | --doc | --do)
 
1029
    ac_prev=docdir ;;
 
1030
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1031
    docdir=$ac_optarg ;;
 
1032
 
 
1033
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1034
    ac_prev=dvidir ;;
 
1035
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1036
    dvidir=$ac_optarg ;;
557
1037
 
558
1038
  -enable-* | --enable-*)
559
1039
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
1040
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1041
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
562
1042
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563
1043
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
568
 
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1044
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1045
    eval enable_$ac_feature=\$ac_optarg ;;
570
1046
 
571
1047
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
1048
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
593
1069
  -host=* | --host=* | --hos=* | --ho=*)
594
1070
    host_alias=$ac_optarg ;;
595
1071
 
 
1072
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1073
    ac_prev=htmldir ;;
 
1074
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1075
  | --ht=*)
 
1076
    htmldir=$ac_optarg ;;
 
1077
 
596
1078
  -includedir | --includedir | --includedi | --included | --include \
597
1079
  | --includ | --inclu | --incl | --inc)
598
1080
    ac_prev=includedir ;;
617
1099
  | --libexe=* | --libex=* | --libe=*)
618
1100
    libexecdir=$ac_optarg ;;
619
1101
 
 
1102
  -localedir | --localedir | --localedi | --localed | --locale)
 
1103
    ac_prev=localedir ;;
 
1104
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1105
    localedir=$ac_optarg ;;
 
1106
 
620
1107
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
 
1108
  | --localstate | --localstat | --localsta | --localst | --locals)
623
1109
    ac_prev=localstatedir ;;
624
1110
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1111
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627
1112
    localstatedir=$ac_optarg ;;
628
1113
 
629
1114
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688
1173
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
1174
    program_transform_name=$ac_optarg ;;
690
1175
 
 
1176
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1177
    ac_prev=pdfdir ;;
 
1178
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1179
    pdfdir=$ac_optarg ;;
 
1180
 
 
1181
  -psdir | --psdir | --psdi | --psd | --ps)
 
1182
    ac_prev=psdir ;;
 
1183
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1184
    psdir=$ac_optarg ;;
 
1185
 
691
1186
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
1187
  | -silent | --silent | --silen | --sile | --sil)
693
1188
    silent=yes ;;
740
1235
  -with-* | --with-*)
741
1236
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
1237
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1238
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744
1239
      { echo "$as_me: error: invalid package name: $ac_package" >&2
745
1240
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
750
 
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1241
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1242
    eval with_$ac_package=\$ac_optarg ;;
752
1243
 
753
1244
  -without-* | --without-*)
754
1245
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
1246
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1247
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757
1248
      { echo "$as_me: error: invalid package name: $ac_package" >&2
758
1249
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
 
1250
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1251
    eval with_$ac_package=no ;;
761
1252
 
762
1253
  --x)
763
1254
    # Obsolete; use --with-x.
788
1279
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
1280
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
1281
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
 
1282
    eval $ac_envvar=\$ac_optarg
793
1283
    export $ac_envvar ;;
794
1284
 
795
1285
  *)
809
1299
   { (exit 1); exit 1; }; }
810
1300
fi
811
1301
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
 
1302
# Be sure to have absolute directory names.
 
1303
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1304
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1305
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1306
                libdir localedir mandir
 
1307
do
 
1308
  eval ac_val=\$$ac_var
 
1309
  case $ac_val in
 
1310
    [\\/$]* | ?:[\\/]* )  continue;;
 
1311
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1312
  esac
 
1313
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1314
   { (exit 1); exit 1; }; }
833
1315
done
834
1316
 
835
1317
# There might be people who depend on the old broken behavior: `$host'
856
1338
test "$silent" = yes && exec 6>/dev/null
857
1339
 
858
1340
 
 
1341
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1342
ac_ls_di=`ls -di .` &&
 
1343
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1344
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1345
   { (exit 1); exit 1; }; }
 
1346
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1347
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1348
   { (exit 1); exit 1; }; }
 
1349
 
 
1350
 
859
1351
# Find the source files, if location was not specified.
860
1352
if test -z "$srcdir"; then
861
1353
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1354
  # Try the directory containing this script, then the parent directory.
 
1355
  ac_confdir=`$as_dirname -- "$0" ||
864
1356
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
1357
         X"$0" : 'X\(//\)[^/]' \| \
866
1358
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
 
1359
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869
1360
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
 
1361
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1362
            s//\1/
 
1363
            q
 
1364
          }
 
1365
          /^X\(\/\/\)[^/].*/{
 
1366
            s//\1/
 
1367
            q
 
1368
          }
 
1369
          /^X\(\/\/\)$/{
 
1370
            s//\1/
 
1371
            q
 
1372
          }
 
1373
          /^X\(\/\).*/{
 
1374
            s//\1/
 
1375
            q
 
1376
          }
 
1377
          s/.*/./; q'`
875
1378
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1379
  if test ! -r "$srcdir/$ac_unique_file"; then
877
1380
    srcdir=..
878
1381
  fi
879
1382
else
880
1383
  ac_srcdir_defaulted=no
881
1384
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CPP_set=${CPP+set}
924
 
ac_env_CPP_value=$CPP
925
 
ac_cv_env_CPP_set=${CPP+set}
926
 
ac_cv_env_CPP_value=$CPP
927
 
ac_env_CXX_set=${CXX+set}
928
 
ac_env_CXX_value=$CXX
929
 
ac_cv_env_CXX_set=${CXX+set}
930
 
ac_cv_env_CXX_value=$CXX
931
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
 
ac_env_CXXFLAGS_value=$CXXFLAGS
933
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_env_CXXCPP_set=${CXXCPP+set}
936
 
ac_env_CXXCPP_value=$CXXCPP
937
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_cv_env_CXXCPP_value=$CXXCPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1385
if test ! -r "$srcdir/$ac_unique_file"; then
 
1386
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1387
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1388
   { (exit 1); exit 1; }; }
 
1389
fi
 
1390
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1391
ac_abs_confdir=`(
 
1392
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1393
   { (exit 1); exit 1; }; }
 
1394
        pwd)`
 
1395
# When building in place, set srcdir=.
 
1396
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1397
  srcdir=.
 
1398
fi
 
1399
# Remove unnecessary trailing slashes from srcdir.
 
1400
# Double slashes in file names in object file debugging info
 
1401
# mess up M-x gdb in Emacs.
 
1402
case $srcdir in
 
1403
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1404
esac
 
1405
for ac_var in $ac_precious_vars; do
 
1406
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1407
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1408
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1409
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1410
done
947
1411
 
948
1412
#
949
1413
# Report the --help message.
972
1436
  -n, --no-create         do not create output files
973
1437
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
974
1438
 
975
 
_ACEOF
976
 
 
977
 
  cat <<_ACEOF
978
1439
Installation directories:
979
1440
  --prefix=PREFIX         install architecture-independent files in PREFIX
980
1441
                          [$ac_default_prefix]
992
1453
  --bindir=DIR           user executables [EPREFIX/bin]
993
1454
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
994
1455
  --libexecdir=DIR       program executables [EPREFIX/libexec]
995
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996
1456
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997
1457
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998
1458
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999
1459
  --libdir=DIR           object code libraries [EPREFIX/lib]
1000
1460
  --includedir=DIR       C header files [PREFIX/include]
1001
1461
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002
 
  --infodir=DIR          info documentation [PREFIX/info]
1003
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1462
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1463
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1464
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1465
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1466
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1467
  --docdir=DIR           documentation root [DATAROOTDIR/doc/jasper]
 
1468
  --htmldir=DIR          html documentation [DOCDIR]
 
1469
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1470
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1471
  --psdir=DIR            ps documentation [DOCDIR]
1004
1472
_ACEOF
1005
1473
 
1006
1474
  cat <<\_ACEOF
1032
1500
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1033
1501
  --disable-dependency-tracking  speeds up one-time build
1034
1502
  --enable-dependency-tracking   do not reject slow dependency extractors
1035
 
  --enable-shared[=PKGS]
1036
 
                          build shared libraries [default=no]
1037
 
  --enable-static[=PKGS]
1038
 
                          build static libraries [default=yes]
 
1503
  --enable-shared[=PKGS]  build shared libraries [default=no]
 
1504
  --enable-static[=PKGS]  build static libraries [default=yes]
1039
1505
  --enable-fast-install[=PKGS]
1040
1506
                          optimize for fast installation [default=yes]
1041
1507
  --disable-libtool-lock  avoid locking (might break parallel builds)
1050
1516
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1051
1517
  --with-pic              try to use only PIC/non-PIC objects [default=use
1052
1518
                          both]
1053
 
  --with-tags[=TAGS]
1054
 
                          include additional configurations [automatic]
 
1519
  --with-tags[=TAGS]      include additional configurations [automatic]
1055
1520
  --with-x                use the X Window System
1056
1521
  --with-glut-include-dir=DIR    Set GLUT include directory.
1057
1522
  --with-glut-lib-dir=DIR        Set GLUT library directory.
1061
1526
  CFLAGS      C compiler flags
1062
1527
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1063
1528
              nonstandard directory <lib dir>
1064
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1065
 
              headers in a nonstandard directory <include dir>
 
1529
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1530
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1531
              you have headers in a nonstandard directory <include dir>
1066
1532
  CPP         C preprocessor
1067
1533
  CXX         C++ compiler command
1068
1534
  CXXFLAGS    C++ compiler flags
1069
1535
  CXXCPP      C++ preprocessor
1070
1536
  F77         Fortran 77 compiler command
1071
1537
  FFLAGS      Fortran 77 compiler flags
 
1538
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1072
1539
 
1073
1540
Use these variables to override the choices made by `configure' or to help
1074
1541
it to find libraries and programs with nonstandard names/locations.
1075
1542
 
1076
1543
_ACEOF
 
1544
ac_status=$?
1077
1545
fi
1078
1546
 
1079
1547
if test "$ac_init_help" = "recursive"; then
1080
1548
  # If there are subdirs, report their specific --help.
1081
 
  ac_popdir=`pwd`
1082
1549
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083
 
    test -d $ac_dir || continue
 
1550
    test -d "$ac_dir" || continue
1084
1551
    ac_builddir=.
1085
1552
 
1086
 
if test "$ac_dir" != .; then
 
1553
case "$ac_dir" in
 
1554
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1555
*)
1087
1556
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088
 
  # A "../" for each directory in $ac_dir_suffix.
1089
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090
 
else
1091
 
  ac_dir_suffix= ac_top_builddir=
1092
 
fi
 
1557
  # A ".." for each directory in $ac_dir_suffix.
 
1558
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1559
  case $ac_top_builddir_sub in
 
1560
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1561
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1562
  esac ;;
 
1563
esac
 
1564
ac_abs_top_builddir=$ac_pwd
 
1565
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1566
# for backward compatibility:
 
1567
ac_top_builddir=$ac_top_build_prefix
1093
1568
 
1094
1569
case $srcdir in
1095
 
  .)  # No --srcdir option.  We are building in place.
 
1570
  .)  # We are building in place.
1096
1571
    ac_srcdir=.
1097
 
    if test -z "$ac_top_builddir"; then
1098
 
       ac_top_srcdir=.
1099
 
    else
1100
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101
 
    fi ;;
1102
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1572
    ac_top_srcdir=$ac_top_builddir_sub
 
1573
    ac_abs_top_srcdir=$ac_pwd ;;
 
1574
  [\\/]* | ?:[\\/]* )  # Absolute name.
1103
1575
    ac_srcdir=$srcdir$ac_dir_suffix;
1104
 
    ac_top_srcdir=$srcdir ;;
1105
 
  *) # Relative path.
1106
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108
 
esac
1109
 
 
1110
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1111
 
# the directories may not exist.
1112
 
case `pwd` in
1113
 
.) ac_abs_builddir="$ac_dir";;
1114
 
*)
1115
 
  case "$ac_dir" in
1116
 
  .) ac_abs_builddir=`pwd`;;
1117
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1118
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1119
 
  esac;;
1120
 
esac
1121
 
case $ac_abs_builddir in
1122
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1123
 
*)
1124
 
  case ${ac_top_builddir}. in
1125
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1126
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1127
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1128
 
  esac;;
1129
 
esac
1130
 
case $ac_abs_builddir in
1131
 
.) ac_abs_srcdir=$ac_srcdir;;
1132
 
*)
1133
 
  case $ac_srcdir in
1134
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1135
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1136
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1137
 
  esac;;
1138
 
esac
1139
 
case $ac_abs_builddir in
1140
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1141
 
*)
1142
 
  case $ac_top_srcdir in
1143
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1144
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1145
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1146
 
  esac;;
1147
 
esac
1148
 
 
1149
 
    cd $ac_dir
1150
 
    # Check for guested configure; otherwise get Cygnus style configure.
1151
 
    if test -f $ac_srcdir/configure.gnu; then
1152
 
      echo
1153
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1154
 
    elif test -f $ac_srcdir/configure; then
1155
 
      echo
1156
 
      $SHELL $ac_srcdir/configure  --help=recursive
1157
 
    elif test -f $ac_srcdir/configure.ac ||
1158
 
           test -f $ac_srcdir/configure.in; then
1159
 
      echo
1160
 
      $ac_configure --help
 
1576
    ac_top_srcdir=$srcdir
 
1577
    ac_abs_top_srcdir=$srcdir ;;
 
1578
  *) # Relative name.
 
1579
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1580
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1581
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1582
esac
 
1583
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1584
 
 
1585
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1586
    # Check for guested configure.
 
1587
    if test -f "$ac_srcdir/configure.gnu"; then
 
1588
      echo &&
 
1589
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1590
    elif test -f "$ac_srcdir/configure"; then
 
1591
      echo &&
 
1592
      $SHELL "$ac_srcdir/configure" --help=recursive
1161
1593
    else
1162
1594
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1163
 
    fi
1164
 
    cd "$ac_popdir"
 
1595
    fi || ac_status=$?
 
1596
    cd "$ac_pwd" || { ac_status=$?; break; }
1165
1597
  done
1166
1598
fi
1167
1599
 
1168
 
test -n "$ac_init_help" && exit 0
 
1600
test -n "$ac_init_help" && exit $ac_status
1169
1601
if $ac_init_version; then
1170
1602
  cat <<\_ACEOF
1171
1603
jasper configure 1.701.0-gs5
1172
 
generated by GNU Autoconf 2.59
 
1604
generated by GNU Autoconf 2.61
1173
1605
 
1174
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1606
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1607
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1175
1608
This configure script is free software; the Free Software Foundation
1176
1609
gives unlimited permission to copy, distribute and modify it.
1177
1610
_ACEOF
1178
 
  exit 0
 
1611
  exit
1179
1612
fi
1180
 
exec 5>config.log
1181
 
cat >&5 <<_ACEOF
 
1613
cat >config.log <<_ACEOF
1182
1614
This file contains any messages produced by compilers while
1183
1615
running configure, to aid debugging if configure makes a mistake.
1184
1616
 
1185
1617
It was created by jasper $as_me 1.701.0-gs5, which was
1186
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1618
generated by GNU Autoconf 2.61.  Invocation command line was
1187
1619
 
1188
1620
  $ $0 $@
1189
1621
 
1190
1622
_ACEOF
 
1623
exec 5>>config.log
1191
1624
{
1192
1625
cat <<_ASUNAME
1193
1626
## --------- ##
1206
1639
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1207
1640
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1208
1641
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1209
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1642
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1210
1643
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1211
1644
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1212
1645
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1220
1653
  test -z "$as_dir" && as_dir=.
1221
1654
  echo "PATH: $as_dir"
1222
1655
done
 
1656
IFS=$as_save_IFS
1223
1657
 
1224
1658
} >&5
1225
1659
 
1241
1675
ac_configure_args=
1242
1676
ac_configure_args0=
1243
1677
ac_configure_args1=
1244
 
ac_sep=
1245
1678
ac_must_keep_next=false
1246
1679
for ac_pass in 1 2
1247
1680
do
1252
1685
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1253
1686
    | -silent | --silent | --silen | --sile | --sil)
1254
1687
      continue ;;
1255
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1688
    *\'*)
1256
1689
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1257
1690
    esac
1258
1691
    case $ac_pass in
1274
1707
          -* ) ac_must_keep_next=true ;;
1275
1708
        esac
1276
1709
      fi
1277
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1278
 
      # Get rid of the leading space.
1279
 
      ac_sep=" "
 
1710
      ac_configure_args="$ac_configure_args '$ac_arg'"
1280
1711
      ;;
1281
1712
    esac
1282
1713
  done
1287
1718
# When interrupted or exit'd, cleanup temporary files, and complete
1288
1719
# config.log.  We remove comments because anyway the quotes in there
1289
1720
# would cause problems or look ugly.
1290
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1291
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1721
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1722
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1292
1723
trap 'exit_status=$?
1293
1724
  # Save into config.log some information that might help in debugging.
1294
1725
  {
1301
1732
_ASBOX
1302
1733
    echo
1303
1734
    # The following way of writing the cache mishandles newlines in values,
1304
 
{
 
1735
(
 
1736
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1737
    eval ac_val=\$$ac_var
 
1738
    case $ac_val in #(
 
1739
    *${as_nl}*)
 
1740
      case $ac_var in #(
 
1741
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1742
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1743
      esac
 
1744
      case $ac_var in #(
 
1745
      _ | IFS | as_nl) ;; #(
 
1746
      *) $as_unset $ac_var ;;
 
1747
      esac ;;
 
1748
    esac
 
1749
  done
1305
1750
  (set) 2>&1 |
1306
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1307
 
    *ac_space=\ *)
 
1751
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1752
    *${as_nl}ac_space=\ *)
1308
1753
      sed -n \
1309
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1310
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1311
 
      ;;
 
1754
        "s/'\''/'\''\\\\'\'''\''/g;
 
1755
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1756
      ;; #(
1312
1757
    *)
1313
 
      sed -n \
1314
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1758
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1315
1759
      ;;
1316
 
    esac;
1317
 
}
 
1760
    esac |
 
1761
    sort
 
1762
)
1318
1763
    echo
1319
1764
 
1320
1765
    cat <<\_ASBOX
1325
1770
    echo
1326
1771
    for ac_var in $ac_subst_vars
1327
1772
    do
1328
 
      eval ac_val=$`echo $ac_var`
1329
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1773
      eval ac_val=\$$ac_var
 
1774
      case $ac_val in
 
1775
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1776
      esac
 
1777
      echo "$ac_var='\''$ac_val'\''"
1330
1778
    done | sort
1331
1779
    echo
1332
1780
 
1333
1781
    if test -n "$ac_subst_files"; then
1334
1782
      cat <<\_ASBOX
1335
 
## ------------- ##
1336
 
## Output files. ##
1337
 
## ------------- ##
 
1783
## ------------------- ##
 
1784
## File substitutions. ##
 
1785
## ------------------- ##
1338
1786
_ASBOX
1339
1787
      echo
1340
1788
      for ac_var in $ac_subst_files
1341
1789
      do
1342
 
        eval ac_val=$`echo $ac_var`
1343
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1790
        eval ac_val=\$$ac_var
 
1791
        case $ac_val in
 
1792
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1793
        esac
 
1794
        echo "$ac_var='\''$ac_val'\''"
1344
1795
      done | sort
1345
1796
      echo
1346
1797
    fi
1352
1803
## ----------- ##
1353
1804
_ASBOX
1354
1805
      echo
1355
 
      sed "/^$/d" confdefs.h | sort
 
1806
      cat confdefs.h
1356
1807
      echo
1357
1808
    fi
1358
1809
    test "$ac_signal" != 0 &&
1359
1810
      echo "$as_me: caught signal $ac_signal"
1360
1811
    echo "$as_me: exit $exit_status"
1361
1812
  } >&5
1362
 
  rm -f core *.core &&
1363
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1813
  rm -f core *.core core.conftest.* &&
 
1814
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1364
1815
    exit $exit_status
1365
 
     ' 0
 
1816
' 0
1366
1817
for ac_signal in 1 2 13 15; do
1367
1818
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1368
1819
done
1369
1820
ac_signal=0
1370
1821
 
1371
1822
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1372
 
rm -rf conftest* confdefs.h
1373
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1374
 
echo >confdefs.h
 
1823
rm -f -r conftest* confdefs.h
1375
1824
 
1376
1825
# Predefined preprocessor variables.
1377
1826
 
1402
1851
 
1403
1852
# Let the site file select an alternate cache file if it wants to.
1404
1853
# Prefer explicitly selected file to automatically selected ones.
1405
 
if test -z "$CONFIG_SITE"; then
1406
 
  if test "x$prefix" != xNONE; then
1407
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1408
 
  else
1409
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1410
 
  fi
 
1854
if test -n "$CONFIG_SITE"; then
 
1855
  set x "$CONFIG_SITE"
 
1856
elif test "x$prefix" != xNONE; then
 
1857
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1858
else
 
1859
  set x "$ac_default_prefix/share/config.site" \
 
1860
        "$ac_default_prefix/etc/config.site"
1411
1861
fi
1412
 
for ac_site_file in $CONFIG_SITE; do
 
1862
shift
 
1863
for ac_site_file
 
1864
do
1413
1865
  if test -r "$ac_site_file"; then
1414
1866
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1415
1867
echo "$as_me: loading site script $ac_site_file" >&6;}
1425
1877
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1426
1878
echo "$as_me: loading cache $cache_file" >&6;}
1427
1879
    case $cache_file in
1428
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1429
 
      *)                      . ./$cache_file;;
 
1880
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1881
      *)                      . "./$cache_file";;
1430
1882
    esac
1431
1883
  fi
1432
1884
else
1438
1890
# Check that the precious variables saved in the cache have kept the same
1439
1891
# value.
1440
1892
ac_cache_corrupted=false
1441
 
for ac_var in `(set) 2>&1 |
1442
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1893
for ac_var in $ac_precious_vars; do
1443
1894
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1444
1895
  eval ac_new_set=\$ac_env_${ac_var}_set
1445
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1446
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1896
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1897
  eval ac_new_val=\$ac_env_${ac_var}_value
1447
1898
  case $ac_old_set,$ac_new_set in
1448
1899
    set,)
1449
1900
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468
1919
  # Pass precious variables to config.status.
1469
1920
  if test "$ac_new_set" = set; then
1470
1921
    case $ac_new_val in
1471
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1472
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1922
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1473
1923
    *) ac_arg=$ac_var=$ac_new_val ;;
1474
1924
    esac
1475
1925
    case " $ac_configure_args " in
1486
1936
   { (exit 1); exit 1; }; }
1487
1937
fi
1488
1938
 
 
1939
 
 
1940
 
 
1941
 
 
1942
 
 
1943
 
 
1944
 
 
1945
 
 
1946
 
 
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
1489
1963
ac_ext=c
1490
1964
ac_cpp='$CPP $CPPFLAGS'
1491
1965
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1495
1969
 
1496
1970
 
1497
1971
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
 
 
1504
 
 
1505
 
 
1506
 
 
1507
 
 
1508
 
 
1509
 
 
1510
 
 
1511
 
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
1972
ac_aux_dir=
1524
 
for ac_dir in acaux $srcdir/acaux; do
1525
 
  if test -f $ac_dir/install-sh; then
 
1973
for ac_dir in acaux "$srcdir"/acaux; do
 
1974
  if test -f "$ac_dir/install-sh"; then
1526
1975
    ac_aux_dir=$ac_dir
1527
1976
    ac_install_sh="$ac_aux_dir/install-sh -c"
1528
1977
    break
1529
 
  elif test -f $ac_dir/install.sh; then
 
1978
  elif test -f "$ac_dir/install.sh"; then
1530
1979
    ac_aux_dir=$ac_dir
1531
1980
    ac_install_sh="$ac_aux_dir/install.sh -c"
1532
1981
    break
1533
 
  elif test -f $ac_dir/shtool; then
 
1982
  elif test -f "$ac_dir/shtool"; then
1534
1983
    ac_aux_dir=$ac_dir
1535
1984
    ac_install_sh="$ac_aux_dir/shtool install -c"
1536
1985
    break
1537
1986
  fi
1538
1987
done
1539
1988
if test -z "$ac_aux_dir"; then
1540
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acaux $srcdir/acaux" >&5
1541
 
echo "$as_me: error: cannot find install-sh or install.sh in acaux $srcdir/acaux" >&2;}
 
1989
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&5
 
1990
echo "$as_me: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&2;}
1542
1991
   { (exit 1); exit 1; }; }
1543
1992
fi
1544
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1545
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1546
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1993
 
 
1994
# These three variables are undocumented and unsupported,
 
1995
# and are intended to be withdrawn in a future Autoconf release.
 
1996
# They can cause serious problems if a builder's source tree is in a directory
 
1997
# whose full name contains unusual characters.
 
1998
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1999
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2000
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2001
 
1547
2002
 
1548
2003
 
1549
2004
# Detect the canonical host and target build environment.
1550
2005
# Note: This precedes automake initialization to avoid warnings.
1551
2006
# Make sure we can run config.sub.
1552
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1553
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1554
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2007
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2008
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2009
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1555
2010
   { (exit 1); exit 1; }; }
1556
2011
 
1557
 
echo "$as_me:$LINENO: checking build system type" >&5
1558
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2012
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2013
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1559
2014
if test "${ac_cv_build+set}" = set; then
1560
2015
  echo $ECHO_N "(cached) $ECHO_C" >&6
1561
2016
else
1562
 
  ac_cv_build_alias=$build_alias
1563
 
test -z "$ac_cv_build_alias" &&
1564
 
  ac_cv_build_alias=`$ac_config_guess`
1565
 
test -z "$ac_cv_build_alias" &&
 
2017
  ac_build_alias=$build_alias
 
2018
test "x$ac_build_alias" = x &&
 
2019
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2020
test "x$ac_build_alias" = x &&
1566
2021
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1567
2022
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1568
2023
   { (exit 1); exit 1; }; }
1569
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1570
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1571
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2024
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2025
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2026
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1572
2027
   { (exit 1); exit 1; }; }
1573
2028
 
1574
2029
fi
1575
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1576
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2030
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2031
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2032
case $ac_cv_build in
 
2033
*-*-*) ;;
 
2034
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2035
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2036
   { (exit 1); exit 1; }; };;
 
2037
esac
1577
2038
build=$ac_cv_build
1578
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1579
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1580
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581
 
 
1582
 
 
1583
 
echo "$as_me:$LINENO: checking host system type" >&5
1584
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2039
ac_save_IFS=$IFS; IFS='-'
 
2040
set x $ac_cv_build
 
2041
shift
 
2042
build_cpu=$1
 
2043
build_vendor=$2
 
2044
shift; shift
 
2045
# Remember, the first character of IFS is used to create $*,
 
2046
# except with old shells:
 
2047
build_os=$*
 
2048
IFS=$ac_save_IFS
 
2049
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2050
 
 
2051
 
 
2052
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2053
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1585
2054
if test "${ac_cv_host+set}" = set; then
1586
2055
  echo $ECHO_N "(cached) $ECHO_C" >&6
1587
2056
else
1588
 
  ac_cv_host_alias=$host_alias
1589
 
test -z "$ac_cv_host_alias" &&
1590
 
  ac_cv_host_alias=$ac_cv_build_alias
1591
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1592
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1593
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2057
  if test "x$host_alias" = x; then
 
2058
  ac_cv_host=$ac_cv_build
 
2059
else
 
2060
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2061
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2062
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1594
2063
   { (exit 1); exit 1; }; }
 
2064
fi
1595
2065
 
1596
2066
fi
1597
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1598
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2067
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2068
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2069
case $ac_cv_host in
 
2070
*-*-*) ;;
 
2071
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2072
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2073
   { (exit 1); exit 1; }; };;
 
2074
esac
1599
2075
host=$ac_cv_host
1600
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603
 
 
1604
 
 
1605
 
echo "$as_me:$LINENO: checking target system type" >&5
1606
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
2076
ac_save_IFS=$IFS; IFS='-'
 
2077
set x $ac_cv_host
 
2078
shift
 
2079
host_cpu=$1
 
2080
host_vendor=$2
 
2081
shift; shift
 
2082
# Remember, the first character of IFS is used to create $*,
 
2083
# except with old shells:
 
2084
host_os=$*
 
2085
IFS=$ac_save_IFS
 
2086
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2087
 
 
2088
 
 
2089
{ echo "$as_me:$LINENO: checking target system type" >&5
 
2090
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1607
2091
if test "${ac_cv_target+set}" = set; then
1608
2092
  echo $ECHO_N "(cached) $ECHO_C" >&6
1609
2093
else
1610
 
  ac_cv_target_alias=$target_alias
1611
 
test "x$ac_cv_target_alias" = "x" &&
1612
 
  ac_cv_target_alias=$ac_cv_host_alias
1613
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1614
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1615
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
2094
  if test "x$target_alias" = x; then
 
2095
  ac_cv_target=$ac_cv_host
 
2096
else
 
2097
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2098
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2099
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1616
2100
   { (exit 1); exit 1; }; }
 
2101
fi
1617
2102
 
1618
2103
fi
1619
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1620
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2104
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2105
echo "${ECHO_T}$ac_cv_target" >&6; }
 
2106
case $ac_cv_target in
 
2107
*-*-*) ;;
 
2108
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2109
echo "$as_me: error: invalid value of canonical target" >&2;}
 
2110
   { (exit 1); exit 1; }; };;
 
2111
esac
1621
2112
target=$ac_cv_target
1622
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1623
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1624
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2113
ac_save_IFS=$IFS; IFS='-'
 
2114
set x $ac_cv_target
 
2115
shift
 
2116
target_cpu=$1
 
2117
target_vendor=$2
 
2118
shift; shift
 
2119
# Remember, the first character of IFS is used to create $*,
 
2120
# except with old shells:
 
2121
target_os=$*
 
2122
IFS=$ac_save_IFS
 
2123
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1625
2124
 
1626
2125
 
1627
2126
# The aliases save the names the user supplied, while $host etc.
1646
2145
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1647
2146
# OS/2's system install, which has a completely different semantic
1648
2147
# ./install, which can be erroneously created by make from ./install.sh.
1649
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1650
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2148
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2149
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1651
2150
if test -z "$INSTALL"; then
1652
2151
if test "${ac_cv_path_install+set}" = set; then
1653
2152
  echo $ECHO_N "(cached) $ECHO_C" >&6
1669
2168
    # by default.
1670
2169
    for ac_prog in ginstall scoinst install; do
1671
2170
      for ac_exec_ext in '' $ac_executable_extensions; do
1672
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2171
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1673
2172
          if test $ac_prog = install &&
1674
2173
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1675
2174
            # AIX install.  It has an incompatible calling convention.
1688
2187
    ;;
1689
2188
esac
1690
2189
done
 
2190
IFS=$as_save_IFS
1691
2191
 
1692
2192
 
1693
2193
fi
1694
2194
  if test "${ac_cv_path_install+set}" = set; then
1695
2195
    INSTALL=$ac_cv_path_install
1696
2196
  else
1697
 
    # As a last resort, use the slow shell script.  We don't cache a
1698
 
    # path for INSTALL within a source directory, because that will
 
2197
    # As a last resort, use the slow shell script.  Don't cache a
 
2198
    # value for INSTALL within a source directory, because that will
1699
2199
    # break other packages using the cache if that directory is
1700
 
    # removed, or if the path is relative.
 
2200
    # removed, or if the value is a relative name.
1701
2201
    INSTALL=$ac_install_sh
1702
2202
  fi
1703
2203
fi
1704
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1705
 
echo "${ECHO_T}$INSTALL" >&6
 
2204
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2205
echo "${ECHO_T}$INSTALL" >&6; }
1706
2206
 
1707
2207
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1708
2208
# It thinks the first close brace ends the variable substitution.
1712
2212
 
1713
2213
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1714
2214
 
1715
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1716
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2215
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2216
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1717
2217
# Just in case
1718
2218
sleep 1
1719
2219
echo timestamp > conftest.file
1755
2255
Check your system clock" >&2;}
1756
2256
   { (exit 1); exit 1; }; }
1757
2257
fi
1758
 
echo "$as_me:$LINENO: result: yes" >&5
1759
 
echo "${ECHO_T}yes" >&6
 
2258
{ echo "$as_me:$LINENO: result: yes" >&5
 
2259
echo "${ECHO_T}yes" >&6; }
1760
2260
test "$program_prefix" != NONE &&
1761
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2261
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1762
2262
# Use a double $ so make ignores it.
1763
2263
test "$program_suffix" != NONE &&
1764
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2264
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1765
2265
# Double any \ or $.  echo might interpret backslashes.
1766
2266
# By default was `s,x,x', remove it if useless.
1767
2267
cat <<\_ACEOF >conftest.sed
1768
2268
s/[\\$]/&&/g;s/;s,x,x,$//
1769
2269
_ACEOF
1770
2270
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1771
 
rm conftest.sed
 
2271
rm -f conftest.sed
1772
2272
 
1773
2273
# expand $ac_aux_dir to an absolute path
1774
2274
am_aux_dir=`cd $ac_aux_dir && pwd`
1820
2320
do
1821
2321
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1822
2322
set dummy $ac_prog; ac_word=$2
1823
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1824
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2323
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2324
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1825
2325
if test "${ac_cv_prog_AWK+set}" = set; then
1826
2326
  echo $ECHO_N "(cached) $ECHO_C" >&6
1827
2327
else
1834
2334
  IFS=$as_save_IFS
1835
2335
  test -z "$as_dir" && as_dir=.
1836
2336
  for ac_exec_ext in '' $ac_executable_extensions; do
1837
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1838
2338
    ac_cv_prog_AWK="$ac_prog"
1839
2339
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840
2340
    break 2
1841
2341
  fi
1842
2342
done
1843
2343
done
 
2344
IFS=$as_save_IFS
1844
2345
 
1845
2346
fi
1846
2347
fi
1847
2348
AWK=$ac_cv_prog_AWK
1848
2349
if test -n "$AWK"; then
1849
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1850
 
echo "${ECHO_T}$AWK" >&6
 
2350
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2351
echo "${ECHO_T}$AWK" >&6; }
1851
2352
else
1852
 
  echo "$as_me:$LINENO: result: no" >&5
1853
 
echo "${ECHO_T}no" >&6
 
2353
  { echo "$as_me:$LINENO: result: no" >&5
 
2354
echo "${ECHO_T}no" >&6; }
1854
2355
fi
1855
2356
 
 
2357
 
1856
2358
  test -n "$AWK" && break
1857
2359
done
1858
2360
 
1859
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1860
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1861
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1862
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2361
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2362
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2363
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2364
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1863
2365
  echo $ECHO_N "(cached) $ECHO_C" >&6
1864
2366
else
1865
2367
  cat >conftest.make <<\_ACEOF
 
2368
SHELL = /bin/sh
1866
2369
all:
1867
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2370
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1868
2371
_ACEOF
1869
2372
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1870
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1871
 
if test -n "$ac_maketemp"; then
1872
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1873
 
else
1874
 
  eval ac_cv_prog_make_${ac_make}_set=no
1875
 
fi
 
2373
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2374
  *@@@%%%=?*=@@@%%%*)
 
2375
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2376
  *)
 
2377
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2378
esac
1876
2379
rm -f conftest.make
1877
2380
fi
1878
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1879
 
  echo "$as_me:$LINENO: result: yes" >&5
1880
 
echo "${ECHO_T}yes" >&6
 
2381
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2382
  { echo "$as_me:$LINENO: result: yes" >&5
 
2383
echo "${ECHO_T}yes" >&6; }
1881
2384
  SET_MAKE=
1882
2385
else
1883
 
  echo "$as_me:$LINENO: result: no" >&5
1884
 
echo "${ECHO_T}no" >&6
 
2386
  { echo "$as_me:$LINENO: result: no" >&5
 
2387
echo "${ECHO_T}no" >&6; }
1885
2388
  SET_MAKE="MAKE=${MAKE-make}"
1886
2389
fi
1887
2390
 
1952
2455
  if test -n "$ac_tool_prefix"; then
1953
2456
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1954
2457
set dummy ${ac_tool_prefix}strip; ac_word=$2
1955
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1956
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2458
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2459
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1957
2460
if test "${ac_cv_prog_STRIP+set}" = set; then
1958
2461
  echo $ECHO_N "(cached) $ECHO_C" >&6
1959
2462
else
1966
2469
  IFS=$as_save_IFS
1967
2470
  test -z "$as_dir" && as_dir=.
1968
2471
  for ac_exec_ext in '' $ac_executable_extensions; do
1969
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2472
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1970
2473
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1971
2474
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972
2475
    break 2
1973
2476
  fi
1974
2477
done
1975
2478
done
 
2479
IFS=$as_save_IFS
1976
2480
 
1977
2481
fi
1978
2482
fi
1979
2483
STRIP=$ac_cv_prog_STRIP
1980
2484
if test -n "$STRIP"; then
1981
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1982
 
echo "${ECHO_T}$STRIP" >&6
 
2485
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2486
echo "${ECHO_T}$STRIP" >&6; }
1983
2487
else
1984
 
  echo "$as_me:$LINENO: result: no" >&5
1985
 
echo "${ECHO_T}no" >&6
 
2488
  { echo "$as_me:$LINENO: result: no" >&5
 
2489
echo "${ECHO_T}no" >&6; }
1986
2490
fi
 
2491
 
1987
2492
 
1988
2493
fi
1989
2494
if test -z "$ac_cv_prog_STRIP"; then
1990
2495
  ac_ct_STRIP=$STRIP
1991
2496
  # Extract the first word of "strip", so it can be a program name with args.
1992
2497
set dummy strip; ac_word=$2
1993
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1994
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2498
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2499
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1995
2500
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1996
2501
  echo $ECHO_N "(cached) $ECHO_C" >&6
1997
2502
else
2004
2509
  IFS=$as_save_IFS
2005
2510
  test -z "$as_dir" && as_dir=.
2006
2511
  for ac_exec_ext in '' $ac_executable_extensions; do
2007
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2512
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2008
2513
    ac_cv_prog_ac_ct_STRIP="strip"
2009
2514
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010
2515
    break 2
2011
2516
  fi
2012
2517
done
2013
2518
done
 
2519
IFS=$as_save_IFS
2014
2520
 
2015
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2016
2521
fi
2017
2522
fi
2018
2523
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2019
2524
if test -n "$ac_ct_STRIP"; then
2020
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2021
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2525
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2526
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2022
2527
else
2023
 
  echo "$as_me:$LINENO: result: no" >&5
2024
 
echo "${ECHO_T}no" >&6
 
2528
  { echo "$as_me:$LINENO: result: no" >&5
 
2529
echo "${ECHO_T}no" >&6; }
2025
2530
fi
2026
2531
 
2027
 
  STRIP=$ac_ct_STRIP
 
2532
  if test "x$ac_ct_STRIP" = x; then
 
2533
    STRIP=":"
 
2534
  else
 
2535
    case $cross_compiling:$ac_tool_warned in
 
2536
yes:)
 
2537
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2538
whose name does not start with the host triplet.  If you think this
 
2539
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2540
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2541
whose name does not start with the host triplet.  If you think this
 
2542
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2543
ac_tool_warned=yes ;;
 
2544
esac
 
2545
    STRIP=$ac_ct_STRIP
 
2546
  fi
2028
2547
else
2029
2548
  STRIP="$ac_cv_prog_STRIP"
2030
2549
fi
2108
2627
do
2109
2628
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2110
2629
set dummy $ac_prog; ac_word=$2
2111
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2112
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2630
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2631
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2113
2632
if test "${ac_cv_prog_AWK+set}" = set; then
2114
2633
  echo $ECHO_N "(cached) $ECHO_C" >&6
2115
2634
else
2122
2641
  IFS=$as_save_IFS
2123
2642
  test -z "$as_dir" && as_dir=.
2124
2643
  for ac_exec_ext in '' $ac_executable_extensions; do
2125
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2644
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126
2645
    ac_cv_prog_AWK="$ac_prog"
2127
2646
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128
2647
    break 2
2129
2648
  fi
2130
2649
done
2131
2650
done
 
2651
IFS=$as_save_IFS
2132
2652
 
2133
2653
fi
2134
2654
fi
2135
2655
AWK=$ac_cv_prog_AWK
2136
2656
if test -n "$AWK"; then
2137
 
  echo "$as_me:$LINENO: result: $AWK" >&5
2138
 
echo "${ECHO_T}$AWK" >&6
 
2657
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2658
echo "${ECHO_T}$AWK" >&6; }
2139
2659
else
2140
 
  echo "$as_me:$LINENO: result: no" >&5
2141
 
echo "${ECHO_T}no" >&6
 
2660
  { echo "$as_me:$LINENO: result: no" >&5
 
2661
echo "${ECHO_T}no" >&6; }
2142
2662
fi
2143
2663
 
 
2664
 
2144
2665
  test -n "$AWK" && break
2145
2666
done
2146
2667
 
2152
2673
if test -n "$ac_tool_prefix"; then
2153
2674
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2154
2675
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2155
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2156
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2676
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2677
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2157
2678
if test "${ac_cv_prog_CC+set}" = set; then
2158
2679
  echo $ECHO_N "(cached) $ECHO_C" >&6
2159
2680
else
2166
2687
  IFS=$as_save_IFS
2167
2688
  test -z "$as_dir" && as_dir=.
2168
2689
  for ac_exec_ext in '' $ac_executable_extensions; do
2169
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2690
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170
2691
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2171
2692
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172
2693
    break 2
2173
2694
  fi
2174
2695
done
2175
2696
done
 
2697
IFS=$as_save_IFS
2176
2698
 
2177
2699
fi
2178
2700
fi
2179
2701
CC=$ac_cv_prog_CC
2180
2702
if test -n "$CC"; then
2181
 
  echo "$as_me:$LINENO: result: $CC" >&5
2182
 
echo "${ECHO_T}$CC" >&6
 
2703
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2704
echo "${ECHO_T}$CC" >&6; }
2183
2705
else
2184
 
  echo "$as_me:$LINENO: result: no" >&5
2185
 
echo "${ECHO_T}no" >&6
 
2706
  { echo "$as_me:$LINENO: result: no" >&5
 
2707
echo "${ECHO_T}no" >&6; }
2186
2708
fi
 
2709
 
2187
2710
 
2188
2711
fi
2189
2712
if test -z "$ac_cv_prog_CC"; then
2190
2713
  ac_ct_CC=$CC
2191
2714
  # Extract the first word of "gcc", so it can be a program name with args.
2192
2715
set dummy gcc; ac_word=$2
2193
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2194
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2716
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2717
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2195
2718
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2196
2719
  echo $ECHO_N "(cached) $ECHO_C" >&6
2197
2720
else
2204
2727
  IFS=$as_save_IFS
2205
2728
  test -z "$as_dir" && as_dir=.
2206
2729
  for ac_exec_ext in '' $ac_executable_extensions; do
2207
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2730
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2208
2731
    ac_cv_prog_ac_ct_CC="gcc"
2209
2732
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210
2733
    break 2
2211
2734
  fi
2212
2735
done
2213
2736
done
 
2737
IFS=$as_save_IFS
2214
2738
 
2215
2739
fi
2216
2740
fi
2217
2741
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2218
2742
if test -n "$ac_ct_CC"; then
2219
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2220
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2743
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2744
echo "${ECHO_T}$ac_ct_CC" >&6; }
2221
2745
else
2222
 
  echo "$as_me:$LINENO: result: no" >&5
2223
 
echo "${ECHO_T}no" >&6
 
2746
  { echo "$as_me:$LINENO: result: no" >&5
 
2747
echo "${ECHO_T}no" >&6; }
2224
2748
fi
2225
2749
 
2226
 
  CC=$ac_ct_CC
 
2750
  if test "x$ac_ct_CC" = x; then
 
2751
    CC=""
 
2752
  else
 
2753
    case $cross_compiling:$ac_tool_warned in
 
2754
yes:)
 
2755
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2756
whose name does not start with the host triplet.  If you think this
 
2757
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2758
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2759
whose name does not start with the host triplet.  If you think this
 
2760
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2761
ac_tool_warned=yes ;;
 
2762
esac
 
2763
    CC=$ac_ct_CC
 
2764
  fi
2227
2765
else
2228
2766
  CC="$ac_cv_prog_CC"
2229
2767
fi
2230
2768
 
2231
2769
if test -z "$CC"; then
2232
 
  if test -n "$ac_tool_prefix"; then
2233
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2770
          if test -n "$ac_tool_prefix"; then
 
2771
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2234
2772
set dummy ${ac_tool_prefix}cc; ac_word=$2
2235
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2236
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2773
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2774
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237
2775
if test "${ac_cv_prog_CC+set}" = set; then
2238
2776
  echo $ECHO_N "(cached) $ECHO_C" >&6
2239
2777
else
2246
2784
  IFS=$as_save_IFS
2247
2785
  test -z "$as_dir" && as_dir=.
2248
2786
  for ac_exec_ext in '' $ac_executable_extensions; do
2249
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2787
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250
2788
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2251
2789
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252
2790
    break 2
2253
2791
  fi
2254
2792
done
2255
2793
done
 
2794
IFS=$as_save_IFS
2256
2795
 
2257
2796
fi
2258
2797
fi
2259
2798
CC=$ac_cv_prog_CC
2260
2799
if test -n "$CC"; then
2261
 
  echo "$as_me:$LINENO: result: $CC" >&5
2262
 
echo "${ECHO_T}$CC" >&6
2263
 
else
2264
 
  echo "$as_me:$LINENO: result: no" >&5
2265
 
echo "${ECHO_T}no" >&6
2266
 
fi
2267
 
 
2268
 
fi
2269
 
if test -z "$ac_cv_prog_CC"; then
2270
 
  ac_ct_CC=$CC
2271
 
  # Extract the first word of "cc", so it can be a program name with args.
2272
 
set dummy cc; ac_word=$2
2273
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2274
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2277
 
else
2278
 
  if test -n "$ac_ct_CC"; then
2279
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280
 
else
2281
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282
 
for as_dir in $PATH
2283
 
do
2284
 
  IFS=$as_save_IFS
2285
 
  test -z "$as_dir" && as_dir=.
2286
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2287
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288
 
    ac_cv_prog_ac_ct_CC="cc"
2289
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290
 
    break 2
 
2800
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2801
echo "${ECHO_T}$CC" >&6; }
 
2802
else
 
2803
  { echo "$as_me:$LINENO: result: no" >&5
 
2804
echo "${ECHO_T}no" >&6; }
 
2805
fi
 
2806
 
 
2807
 
2291
2808
  fi
2292
 
done
2293
 
done
2294
 
 
2295
 
fi
2296
 
fi
2297
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298
 
if test -n "$ac_ct_CC"; then
2299
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300
 
echo "${ECHO_T}$ac_ct_CC" >&6
2301
 
else
2302
 
  echo "$as_me:$LINENO: result: no" >&5
2303
 
echo "${ECHO_T}no" >&6
2304
 
fi
2305
 
 
2306
 
  CC=$ac_ct_CC
2307
 
else
2308
 
  CC="$ac_cv_prog_CC"
2309
 
fi
2310
 
 
2311
2809
fi
2312
2810
if test -z "$CC"; then
2313
2811
  # Extract the first word of "cc", so it can be a program name with args.
2314
2812
set dummy cc; ac_word=$2
2315
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2316
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2813
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2814
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2317
2815
if test "${ac_cv_prog_CC+set}" = set; then
2318
2816
  echo $ECHO_N "(cached) $ECHO_C" >&6
2319
2817
else
2327
2825
  IFS=$as_save_IFS
2328
2826
  test -z "$as_dir" && as_dir=.
2329
2827
  for ac_exec_ext in '' $ac_executable_extensions; do
2330
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2828
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331
2829
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2332
2830
       ac_prog_rejected=yes
2333
2831
       continue
2338
2836
  fi
2339
2837
done
2340
2838
done
 
2839
IFS=$as_save_IFS
2341
2840
 
2342
2841
if test $ac_prog_rejected = yes; then
2343
2842
  # We found a bogon in the path, so make sure we never use it.
2355
2854
fi
2356
2855
CC=$ac_cv_prog_CC
2357
2856
if test -n "$CC"; then
2358
 
  echo "$as_me:$LINENO: result: $CC" >&5
2359
 
echo "${ECHO_T}$CC" >&6
 
2857
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2858
echo "${ECHO_T}$CC" >&6; }
2360
2859
else
2361
 
  echo "$as_me:$LINENO: result: no" >&5
2362
 
echo "${ECHO_T}no" >&6
 
2860
  { echo "$as_me:$LINENO: result: no" >&5
 
2861
echo "${ECHO_T}no" >&6; }
2363
2862
fi
 
2863
 
2364
2864
 
2365
2865
fi
2366
2866
if test -z "$CC"; then
2367
2867
  if test -n "$ac_tool_prefix"; then
2368
 
  for ac_prog in cl
 
2868
  for ac_prog in cl.exe
2369
2869
  do
2370
2870
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2371
2871
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2372
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2373
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2872
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2873
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2374
2874
if test "${ac_cv_prog_CC+set}" = set; then
2375
2875
  echo $ECHO_N "(cached) $ECHO_C" >&6
2376
2876
else
2383
2883
  IFS=$as_save_IFS
2384
2884
  test -z "$as_dir" && as_dir=.
2385
2885
  for ac_exec_ext in '' $ac_executable_extensions; do
2386
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2886
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2387
2887
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2388
2888
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389
2889
    break 2
2390
2890
  fi
2391
2891
done
2392
2892
done
 
2893
IFS=$as_save_IFS
2393
2894
 
2394
2895
fi
2395
2896
fi
2396
2897
CC=$ac_cv_prog_CC
2397
2898
if test -n "$CC"; then
2398
 
  echo "$as_me:$LINENO: result: $CC" >&5
2399
 
echo "${ECHO_T}$CC" >&6
 
2899
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2900
echo "${ECHO_T}$CC" >&6; }
2400
2901
else
2401
 
  echo "$as_me:$LINENO: result: no" >&5
2402
 
echo "${ECHO_T}no" >&6
 
2902
  { echo "$as_me:$LINENO: result: no" >&5
 
2903
echo "${ECHO_T}no" >&6; }
2403
2904
fi
2404
2905
 
 
2906
 
2405
2907
    test -n "$CC" && break
2406
2908
  done
2407
2909
fi
2408
2910
if test -z "$CC"; then
2409
2911
  ac_ct_CC=$CC
2410
 
  for ac_prog in cl
 
2912
  for ac_prog in cl.exe
2411
2913
do
2412
2914
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2413
2915
set dummy $ac_prog; ac_word=$2
2414
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2415
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2916
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2917
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416
2918
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2417
2919
  echo $ECHO_N "(cached) $ECHO_C" >&6
2418
2920
else
2425
2927
  IFS=$as_save_IFS
2426
2928
  test -z "$as_dir" && as_dir=.
2427
2929
  for ac_exec_ext in '' $ac_executable_extensions; do
2428
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2930
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429
2931
    ac_cv_prog_ac_ct_CC="$ac_prog"
2430
2932
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431
2933
    break 2
2432
2934
  fi
2433
2935
done
2434
2936
done
 
2937
IFS=$as_save_IFS
2435
2938
 
2436
2939
fi
2437
2940
fi
2438
2941
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2439
2942
if test -n "$ac_ct_CC"; then
2440
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2441
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2943
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2944
echo "${ECHO_T}$ac_ct_CC" >&6; }
2442
2945
else
2443
 
  echo "$as_me:$LINENO: result: no" >&5
2444
 
echo "${ECHO_T}no" >&6
 
2946
  { echo "$as_me:$LINENO: result: no" >&5
 
2947
echo "${ECHO_T}no" >&6; }
2445
2948
fi
2446
2949
 
 
2950
 
2447
2951
  test -n "$ac_ct_CC" && break
2448
2952
done
2449
2953
 
2450
 
  CC=$ac_ct_CC
 
2954
  if test "x$ac_ct_CC" = x; then
 
2955
    CC=""
 
2956
  else
 
2957
    case $cross_compiling:$ac_tool_warned in
 
2958
yes:)
 
2959
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2960
whose name does not start with the host triplet.  If you think this
 
2961
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2962
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2963
whose name does not start with the host triplet.  If you think this
 
2964
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2965
ac_tool_warned=yes ;;
 
2966
esac
 
2967
    CC=$ac_ct_CC
 
2968
  fi
2451
2969
fi
2452
2970
 
2453
2971
fi
2460
2978
   { (exit 1); exit 1; }; }
2461
2979
 
2462
2980
# Provide some information about the compiler.
2463
 
echo "$as_me:$LINENO:" \
2464
 
     "checking for C compiler version" >&5
 
2981
echo "$as_me:$LINENO: checking for C compiler version" >&5
2465
2982
ac_compiler=`set X $ac_compile; echo $2`
2466
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2467
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2468
 
  ac_status=$?
2469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470
 
  (exit $ac_status); }
2471
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2472
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2473
 
  ac_status=$?
2474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475
 
  (exit $ac_status); }
2476
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2477
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2983
{ (ac_try="$ac_compiler --version >&5"
 
2984
case "(($ac_try" in
 
2985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2986
  *) ac_try_echo=$ac_try;;
 
2987
esac
 
2988
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2989
  (eval "$ac_compiler --version >&5") 2>&5
 
2990
  ac_status=$?
 
2991
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2992
  (exit $ac_status); }
 
2993
{ (ac_try="$ac_compiler -v >&5"
 
2994
case "(($ac_try" in
 
2995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2996
  *) ac_try_echo=$ac_try;;
 
2997
esac
 
2998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2999
  (eval "$ac_compiler -v >&5") 2>&5
 
3000
  ac_status=$?
 
3001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3002
  (exit $ac_status); }
 
3003
{ (ac_try="$ac_compiler -V >&5"
 
3004
case "(($ac_try" in
 
3005
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3006
  *) ac_try_echo=$ac_try;;
 
3007
esac
 
3008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3009
  (eval "$ac_compiler -V >&5") 2>&5
2478
3010
  ac_status=$?
2479
3011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480
3012
  (exit $ac_status); }
2499
3031
# Try to create an executable without -o first, disregard a.out.
2500
3032
# It will help us diagnose broken compilers, and finding out an intuition
2501
3033
# of exeext.
2502
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2503
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
3034
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3035
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2504
3036
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2505
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2506
 
  (eval $ac_link_default) 2>&5
 
3037
#
 
3038
# List of possible output files, starting from the most likely.
 
3039
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
3040
# only as a last resort.  b.out is created by i960 compilers.
 
3041
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
3042
#
 
3043
# The IRIX 6 linker writes into existing files which may not be
 
3044
# executable, retaining their permissions.  Remove them first so a
 
3045
# subsequent execution test works.
 
3046
ac_rmfiles=
 
3047
for ac_file in $ac_files
 
3048
do
 
3049
  case $ac_file in
 
3050
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3051
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3052
  esac
 
3053
done
 
3054
rm -f $ac_rmfiles
 
3055
 
 
3056
if { (ac_try="$ac_link_default"
 
3057
case "(($ac_try" in
 
3058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3059
  *) ac_try_echo=$ac_try;;
 
3060
esac
 
3061
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3062
  (eval "$ac_link_default") 2>&5
2507
3063
  ac_status=$?
2508
3064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509
3065
  (exit $ac_status); }; then
2510
 
  # Find the output, starting from the most likely.  This scheme is
2511
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2512
 
# resort.
2513
 
 
2514
 
# Be careful to initialize this variable, since it used to be cached.
2515
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2516
 
ac_cv_exeext=
2517
 
# b.out is created by i960 compilers.
2518
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3066
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3067
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3068
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3069
# so that the user can short-circuit this test for compilers unknown to
 
3070
# Autoconf.
 
3071
for ac_file in $ac_files ''
2519
3072
do
2520
3073
  test -f "$ac_file" || continue
2521
3074
  case $ac_file in
2522
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2523
 
        ;;
2524
 
    conftest.$ac_ext )
2525
 
        # This is the source file.
 
3075
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2526
3076
        ;;
2527
3077
    [ab].out )
2528
3078
        # We found the default executable, but exeext='' is most
2529
3079
        # certainly right.
2530
3080
        break;;
2531
3081
    *.* )
2532
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2534
 
        # but it would be cool to find out if it's true.  Does anybody
2535
 
        # maintain Libtool? --akim.
2536
 
        export ac_cv_exeext
 
3082
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3083
        then :; else
 
3084
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3085
        fi
 
3086
        # We set ac_cv_exeext here because the later test for it is not
 
3087
        # safe: cross compilers may not add the suffix if given an `-o'
 
3088
        # argument, so we may need to know it at that point already.
 
3089
        # Even if this section looks crufty: it has the advantage of
 
3090
        # actually working.
2537
3091
        break;;
2538
3092
    * )
2539
3093
        break;;
2540
3094
  esac
2541
3095
done
 
3096
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3097
 
2542
3098
else
 
3099
  ac_file=''
 
3100
fi
 
3101
 
 
3102
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
3103
echo "${ECHO_T}$ac_file" >&6; }
 
3104
if test -z "$ac_file"; then
2543
3105
  echo "$as_me: failed program was:" >&5
2544
3106
sed 's/^/| /' conftest.$ac_ext >&5
2545
3107
 
2551
3113
fi
2552
3114
 
2553
3115
ac_exeext=$ac_cv_exeext
2554
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2555
 
echo "${ECHO_T}$ac_file" >&6
2556
3116
 
2557
 
# Check the compiler produces executables we can run.  If not, either
 
3117
# Check that the compiler produces executables we can run.  If not, either
2558
3118
# the compiler is broken, or we cross compile.
2559
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2560
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3119
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3120
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2561
3121
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2562
3122
# If not cross compiling, check that we can run a simple program.
2563
3123
if test "$cross_compiling" != yes; then
2564
3124
  if { ac_try='./$ac_file'
2565
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566
 
  (eval $ac_try) 2>&5
 
3125
  { (case "(($ac_try" in
 
3126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3127
  *) ac_try_echo=$ac_try;;
 
3128
esac
 
3129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3130
  (eval "$ac_try") 2>&5
2567
3131
  ac_status=$?
2568
3132
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569
3133
  (exit $ac_status); }; }; then
2582
3146
    fi
2583
3147
  fi
2584
3148
fi
2585
 
echo "$as_me:$LINENO: result: yes" >&5
2586
 
echo "${ECHO_T}yes" >&6
 
3149
{ echo "$as_me:$LINENO: result: yes" >&5
 
3150
echo "${ECHO_T}yes" >&6; }
2587
3151
 
2588
3152
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2589
3153
ac_clean_files=$ac_clean_files_save
2590
 
# Check the compiler produces executables we can run.  If not, either
 
3154
# Check that the compiler produces executables we can run.  If not, either
2591
3155
# the compiler is broken, or we cross compile.
2592
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2593
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2594
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2595
 
echo "${ECHO_T}$cross_compiling" >&6
 
3156
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3157
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3158
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3159
echo "${ECHO_T}$cross_compiling" >&6; }
2596
3160
 
2597
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2598
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2599
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2600
 
  (eval $ac_link) 2>&5
 
3161
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3162
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3163
if { (ac_try="$ac_link"
 
3164
case "(($ac_try" in
 
3165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3166
  *) ac_try_echo=$ac_try;;
 
3167
esac
 
3168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3169
  (eval "$ac_link") 2>&5
2601
3170
  ac_status=$?
2602
3171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603
3172
  (exit $ac_status); }; then
2608
3177
for ac_file in conftest.exe conftest conftest.*; do
2609
3178
  test -f "$ac_file" || continue
2610
3179
  case $ac_file in
2611
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3180
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2612
3181
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2613
 
          export ac_cv_exeext
2614
3182
          break;;
2615
3183
    * ) break;;
2616
3184
  esac
2624
3192
fi
2625
3193
 
2626
3194
rm -f conftest$ac_cv_exeext
2627
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2628
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3195
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3196
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2629
3197
 
2630
3198
rm -f conftest.$ac_ext
2631
3199
EXEEXT=$ac_cv_exeext
2632
3200
ac_exeext=$EXEEXT
2633
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2634
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3201
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3202
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2635
3203
if test "${ac_cv_objext+set}" = set; then
2636
3204
  echo $ECHO_N "(cached) $ECHO_C" >&6
2637
3205
else
2651
3219
}
2652
3220
_ACEOF
2653
3221
rm -f conftest.o conftest.obj
2654
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2655
 
  (eval $ac_compile) 2>&5
 
3222
if { (ac_try="$ac_compile"
 
3223
case "(($ac_try" in
 
3224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3225
  *) ac_try_echo=$ac_try;;
 
3226
esac
 
3227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3228
  (eval "$ac_compile") 2>&5
2656
3229
  ac_status=$?
2657
3230
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658
3231
  (exit $ac_status); }; then
2659
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3232
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3233
  test -f "$ac_file" || continue;
2660
3234
  case $ac_file in
2661
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3235
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2662
3236
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2663
3237
       break;;
2664
3238
  esac
2676
3250
 
2677
3251
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2678
3252
fi
2679
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2680
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3253
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3254
echo "${ECHO_T}$ac_cv_objext" >&6; }
2681
3255
OBJEXT=$ac_cv_objext
2682
3256
ac_objext=$OBJEXT
2683
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2684
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3257
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3258
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2685
3259
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2686
3260
  echo $ECHO_N "(cached) $ECHO_C" >&6
2687
3261
else
2704
3278
}
2705
3279
_ACEOF
2706
3280
rm -f conftest.$ac_objext
2707
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708
 
  (eval $ac_compile) 2>conftest.er1
 
3281
if { (ac_try="$ac_compile"
 
3282
case "(($ac_try" in
 
3283
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3284
  *) ac_try_echo=$ac_try;;
 
3285
esac
 
3286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3287
  (eval "$ac_compile") 2>conftest.er1
2709
3288
  ac_status=$?
2710
3289
  grep -v '^ *+' conftest.er1 >conftest.err
2711
3290
  rm -f conftest.er1
2712
3291
  cat conftest.err >&5
2713
3292
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714
 
  (exit $ac_status); } &&
2715
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2716
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717
 
  (eval $ac_try) 2>&5
2718
 
  ac_status=$?
2719
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720
 
  (exit $ac_status); }; } &&
2721
 
         { ac_try='test -s conftest.$ac_objext'
2722
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723
 
  (eval $ac_try) 2>&5
2724
 
  ac_status=$?
2725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726
 
  (exit $ac_status); }; }; then
 
3293
  (exit $ac_status); } && {
 
3294
         test -z "$ac_c_werror_flag" ||
 
3295
         test ! -s conftest.err
 
3296
       } && test -s conftest.$ac_objext; then
2727
3297
  ac_compiler_gnu=yes
2728
3298
else
2729
3299
  echo "$as_me: failed program was:" >&5
2730
3300
sed 's/^/| /' conftest.$ac_ext >&5
2731
3301
 
2732
 
ac_compiler_gnu=no
 
3302
        ac_compiler_gnu=no
2733
3303
fi
2734
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3304
 
 
3305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735
3306
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2736
3307
 
2737
3308
fi
2738
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2739
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3309
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3310
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2740
3311
GCC=`test $ac_compiler_gnu = yes && echo yes`
2741
3312
ac_test_CFLAGS=${CFLAGS+set}
2742
3313
ac_save_CFLAGS=$CFLAGS
2743
 
CFLAGS="-g"
2744
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2745
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3314
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3315
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2746
3316
if test "${ac_cv_prog_cc_g+set}" = set; then
2747
3317
  echo $ECHO_N "(cached) $ECHO_C" >&6
2748
3318
else
2749
 
  cat >conftest.$ac_ext <<_ACEOF
2750
 
/* confdefs.h.  */
2751
 
_ACEOF
2752
 
cat confdefs.h >>conftest.$ac_ext
2753
 
cat >>conftest.$ac_ext <<_ACEOF
2754
 
/* end confdefs.h.  */
2755
 
 
2756
 
int
2757
 
main ()
2758
 
{
2759
 
 
2760
 
  ;
2761
 
  return 0;
2762
 
}
2763
 
_ACEOF
2764
 
rm -f conftest.$ac_objext
2765
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2766
 
  (eval $ac_compile) 2>conftest.er1
2767
 
  ac_status=$?
2768
 
  grep -v '^ *+' conftest.er1 >conftest.err
2769
 
  rm -f conftest.er1
2770
 
  cat conftest.err >&5
2771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
 
  (exit $ac_status); } &&
2773
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2774
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775
 
  (eval $ac_try) 2>&5
2776
 
  ac_status=$?
2777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
 
  (exit $ac_status); }; } &&
2779
 
         { ac_try='test -s conftest.$ac_objext'
2780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781
 
  (eval $ac_try) 2>&5
2782
 
  ac_status=$?
2783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
 
  (exit $ac_status); }; }; then
2785
 
  ac_cv_prog_cc_g=yes
2786
 
else
2787
 
  echo "$as_me: failed program was:" >&5
2788
 
sed 's/^/| /' conftest.$ac_ext >&5
2789
 
 
2790
 
ac_cv_prog_cc_g=no
2791
 
fi
2792
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2793
 
fi
2794
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2795
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3319
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3320
   ac_c_werror_flag=yes
 
3321
   ac_cv_prog_cc_g=no
 
3322
   CFLAGS="-g"
 
3323
   cat >conftest.$ac_ext <<_ACEOF
 
3324
/* confdefs.h.  */
 
3325
_ACEOF
 
3326
cat confdefs.h >>conftest.$ac_ext
 
3327
cat >>conftest.$ac_ext <<_ACEOF
 
3328
/* end confdefs.h.  */
 
3329
 
 
3330
int
 
3331
main ()
 
3332
{
 
3333
 
 
3334
  ;
 
3335
  return 0;
 
3336
}
 
3337
_ACEOF
 
3338
rm -f conftest.$ac_objext
 
3339
if { (ac_try="$ac_compile"
 
3340
case "(($ac_try" in
 
3341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3342
  *) ac_try_echo=$ac_try;;
 
3343
esac
 
3344
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3345
  (eval "$ac_compile") 2>conftest.er1
 
3346
  ac_status=$?
 
3347
  grep -v '^ *+' conftest.er1 >conftest.err
 
3348
  rm -f conftest.er1
 
3349
  cat conftest.err >&5
 
3350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3351
  (exit $ac_status); } && {
 
3352
         test -z "$ac_c_werror_flag" ||
 
3353
         test ! -s conftest.err
 
3354
       } && test -s conftest.$ac_objext; then
 
3355
  ac_cv_prog_cc_g=yes
 
3356
else
 
3357
  echo "$as_me: failed program was:" >&5
 
3358
sed 's/^/| /' conftest.$ac_ext >&5
 
3359
 
 
3360
        CFLAGS=""
 
3361
      cat >conftest.$ac_ext <<_ACEOF
 
3362
/* confdefs.h.  */
 
3363
_ACEOF
 
3364
cat confdefs.h >>conftest.$ac_ext
 
3365
cat >>conftest.$ac_ext <<_ACEOF
 
3366
/* end confdefs.h.  */
 
3367
 
 
3368
int
 
3369
main ()
 
3370
{
 
3371
 
 
3372
  ;
 
3373
  return 0;
 
3374
}
 
3375
_ACEOF
 
3376
rm -f conftest.$ac_objext
 
3377
if { (ac_try="$ac_compile"
 
3378
case "(($ac_try" in
 
3379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3380
  *) ac_try_echo=$ac_try;;
 
3381
esac
 
3382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3383
  (eval "$ac_compile") 2>conftest.er1
 
3384
  ac_status=$?
 
3385
  grep -v '^ *+' conftest.er1 >conftest.err
 
3386
  rm -f conftest.er1
 
3387
  cat conftest.err >&5
 
3388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3389
  (exit $ac_status); } && {
 
3390
         test -z "$ac_c_werror_flag" ||
 
3391
         test ! -s conftest.err
 
3392
       } && test -s conftest.$ac_objext; then
 
3393
  :
 
3394
else
 
3395
  echo "$as_me: failed program was:" >&5
 
3396
sed 's/^/| /' conftest.$ac_ext >&5
 
3397
 
 
3398
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3399
         CFLAGS="-g"
 
3400
         cat >conftest.$ac_ext <<_ACEOF
 
3401
/* confdefs.h.  */
 
3402
_ACEOF
 
3403
cat confdefs.h >>conftest.$ac_ext
 
3404
cat >>conftest.$ac_ext <<_ACEOF
 
3405
/* end confdefs.h.  */
 
3406
 
 
3407
int
 
3408
main ()
 
3409
{
 
3410
 
 
3411
  ;
 
3412
  return 0;
 
3413
}
 
3414
_ACEOF
 
3415
rm -f conftest.$ac_objext
 
3416
if { (ac_try="$ac_compile"
 
3417
case "(($ac_try" in
 
3418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3419
  *) ac_try_echo=$ac_try;;
 
3420
esac
 
3421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3422
  (eval "$ac_compile") 2>conftest.er1
 
3423
  ac_status=$?
 
3424
  grep -v '^ *+' conftest.er1 >conftest.err
 
3425
  rm -f conftest.er1
 
3426
  cat conftest.err >&5
 
3427
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3428
  (exit $ac_status); } && {
 
3429
         test -z "$ac_c_werror_flag" ||
 
3430
         test ! -s conftest.err
 
3431
       } && test -s conftest.$ac_objext; then
 
3432
  ac_cv_prog_cc_g=yes
 
3433
else
 
3434
  echo "$as_me: failed program was:" >&5
 
3435
sed 's/^/| /' conftest.$ac_ext >&5
 
3436
 
 
3437
 
 
3438
fi
 
3439
 
 
3440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3441
fi
 
3442
 
 
3443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3444
fi
 
3445
 
 
3446
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3447
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3448
fi
 
3449
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3450
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2796
3451
if test "$ac_test_CFLAGS" = set; then
2797
3452
  CFLAGS=$ac_save_CFLAGS
2798
3453
elif test $ac_cv_prog_cc_g = yes; then
2808
3463
    CFLAGS=
2809
3464
  fi
2810
3465
fi
2811
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2812
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2813
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3466
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3467
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3468
if test "${ac_cv_prog_cc_c89+set}" = set; then
2814
3469
  echo $ECHO_N "(cached) $ECHO_C" >&6
2815
3470
else
2816
 
  ac_cv_prog_cc_stdc=no
 
3471
  ac_cv_prog_cc_c89=no
2817
3472
ac_save_CC=$CC
2818
3473
cat >conftest.$ac_ext <<_ACEOF
2819
3474
/* confdefs.h.  */
2847
3502
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2848
3503
   function prototypes and stuff, but not '\xHH' hex character constants.
2849
3504
   These don't provoke an error unfortunately, instead are silently treated
2850
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3505
   as 'x'.  The following induces an error, until -std is added to get
2851
3506
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2852
3507
   array size at least.  It's necessary to write '\x00'==0 to get something
2853
 
   that's true only with -std1.  */
 
3508
   that's true only with -std.  */
2854
3509
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2855
3510
 
 
3511
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3512
   inside strings and character constants.  */
 
3513
#define FOO(x) 'x'
 
3514
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3515
 
2856
3516
int test (int i, double x);
2857
3517
struct s1 {int (*f) (int a);};
2858
3518
struct s2 {int (*f) (double a);};
2867
3527
  return 0;
2868
3528
}
2869
3529
_ACEOF
2870
 
# Don't try gcc -ansi; that turns off useful extensions and
2871
 
# breaks some systems' header files.
2872
 
# AIX                   -qlanglvl=ansi
2873
 
# Ultrix and OSF/1      -std1
2874
 
# HP-UX 10.20 and later -Ae
2875
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2876
 
# SVR4                  -Xc -D__EXTENSIONS__
2877
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3530
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3531
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2878
3532
do
2879
3533
  CC="$ac_save_CC $ac_arg"
2880
3534
  rm -f conftest.$ac_objext
2881
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882
 
  (eval $ac_compile) 2>conftest.er1
 
3535
if { (ac_try="$ac_compile"
 
3536
case "(($ac_try" in
 
3537
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3538
  *) ac_try_echo=$ac_try;;
 
3539
esac
 
3540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3541
  (eval "$ac_compile") 2>conftest.er1
2883
3542
  ac_status=$?
2884
3543
  grep -v '^ *+' conftest.er1 >conftest.err
2885
3544
  rm -f conftest.er1
2886
3545
  cat conftest.err >&5
2887
3546
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888
 
  (exit $ac_status); } &&
2889
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2890
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891
 
  (eval $ac_try) 2>&5
2892
 
  ac_status=$?
2893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
 
  (exit $ac_status); }; } &&
2895
 
         { ac_try='test -s conftest.$ac_objext'
2896
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897
 
  (eval $ac_try) 2>&5
2898
 
  ac_status=$?
2899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900
 
  (exit $ac_status); }; }; then
2901
 
  ac_cv_prog_cc_stdc=$ac_arg
2902
 
break
 
3547
  (exit $ac_status); } && {
 
3548
         test -z "$ac_c_werror_flag" ||
 
3549
         test ! -s conftest.err
 
3550
       } && test -s conftest.$ac_objext; then
 
3551
  ac_cv_prog_cc_c89=$ac_arg
2903
3552
else
2904
3553
  echo "$as_me: failed program was:" >&5
2905
3554
sed 's/^/| /' conftest.$ac_ext >&5
2906
3555
 
 
3556
 
2907
3557
fi
2908
 
rm -f conftest.err conftest.$ac_objext
 
3558
 
 
3559
rm -f core conftest.err conftest.$ac_objext
 
3560
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2909
3561
done
2910
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3562
rm -f conftest.$ac_ext
2911
3563
CC=$ac_save_CC
2912
3564
 
2913
3565
fi
2914
 
 
2915
 
case "x$ac_cv_prog_cc_stdc" in
2916
 
  x|xno)
2917
 
    echo "$as_me:$LINENO: result: none needed" >&5
2918
 
echo "${ECHO_T}none needed" >&6 ;;
 
3566
# AC_CACHE_VAL
 
3567
case "x$ac_cv_prog_cc_c89" in
 
3568
  x)
 
3569
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3570
echo "${ECHO_T}none needed" >&6; } ;;
 
3571
  xno)
 
3572
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3573
echo "${ECHO_T}unsupported" >&6; } ;;
2919
3574
  *)
2920
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2921
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2922
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3575
    CC="$CC $ac_cv_prog_cc_c89"
 
3576
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3577
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2923
3578
esac
2924
3579
 
2925
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2926
 
# in C++ we need to declare it.  In case someone uses the same compiler
2927
 
# for both compiling C and C++ we need to have the C++ compiler decide
2928
 
# the declaration of exit, since it's the most demanding environment.
2929
 
cat >conftest.$ac_ext <<_ACEOF
2930
 
#ifndef __cplusplus
2931
 
  choke me
2932
 
#endif
2933
 
_ACEOF
2934
 
rm -f conftest.$ac_objext
2935
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936
 
  (eval $ac_compile) 2>conftest.er1
2937
 
  ac_status=$?
2938
 
  grep -v '^ *+' conftest.er1 >conftest.err
2939
 
  rm -f conftest.er1
2940
 
  cat conftest.err >&5
2941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
 
  (exit $ac_status); } &&
2943
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2944
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945
 
  (eval $ac_try) 2>&5
2946
 
  ac_status=$?
2947
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
 
  (exit $ac_status); }; } &&
2949
 
         { ac_try='test -s conftest.$ac_objext'
2950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951
 
  (eval $ac_try) 2>&5
2952
 
  ac_status=$?
2953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
 
  (exit $ac_status); }; }; then
2955
 
  for ac_declaration in \
2956
 
   '' \
2957
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2958
 
   'extern "C" void std::exit (int); using std::exit;' \
2959
 
   'extern "C" void exit (int) throw ();' \
2960
 
   'extern "C" void exit (int);' \
2961
 
   'void exit (int);'
2962
 
do
2963
 
  cat >conftest.$ac_ext <<_ACEOF
2964
 
/* confdefs.h.  */
2965
 
_ACEOF
2966
 
cat confdefs.h >>conftest.$ac_ext
2967
 
cat >>conftest.$ac_ext <<_ACEOF
2968
 
/* end confdefs.h.  */
2969
 
$ac_declaration
2970
 
#include <stdlib.h>
2971
 
int
2972
 
main ()
2973
 
{
2974
 
exit (42);
2975
 
  ;
2976
 
  return 0;
2977
 
}
2978
 
_ACEOF
2979
 
rm -f conftest.$ac_objext
2980
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2981
 
  (eval $ac_compile) 2>conftest.er1
2982
 
  ac_status=$?
2983
 
  grep -v '^ *+' conftest.er1 >conftest.err
2984
 
  rm -f conftest.er1
2985
 
  cat conftest.err >&5
2986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
 
  (exit $ac_status); } &&
2988
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2989
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990
 
  (eval $ac_try) 2>&5
2991
 
  ac_status=$?
2992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993
 
  (exit $ac_status); }; } &&
2994
 
         { ac_try='test -s conftest.$ac_objext'
2995
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996
 
  (eval $ac_try) 2>&5
2997
 
  ac_status=$?
2998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
 
  (exit $ac_status); }; }; then
3000
 
  :
3001
 
else
3002
 
  echo "$as_me: failed program was:" >&5
3003
 
sed 's/^/| /' conftest.$ac_ext >&5
3004
 
 
3005
 
continue
3006
 
fi
3007
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3008
 
  cat >conftest.$ac_ext <<_ACEOF
3009
 
/* confdefs.h.  */
3010
 
_ACEOF
3011
 
cat confdefs.h >>conftest.$ac_ext
3012
 
cat >>conftest.$ac_ext <<_ACEOF
3013
 
/* end confdefs.h.  */
3014
 
$ac_declaration
3015
 
int
3016
 
main ()
3017
 
{
3018
 
exit (42);
3019
 
  ;
3020
 
  return 0;
3021
 
}
3022
 
_ACEOF
3023
 
rm -f conftest.$ac_objext
3024
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3025
 
  (eval $ac_compile) 2>conftest.er1
3026
 
  ac_status=$?
3027
 
  grep -v '^ *+' conftest.er1 >conftest.err
3028
 
  rm -f conftest.er1
3029
 
  cat conftest.err >&5
3030
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
 
  (exit $ac_status); } &&
3032
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3033
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034
 
  (eval $ac_try) 2>&5
3035
 
  ac_status=$?
3036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
 
  (exit $ac_status); }; } &&
3038
 
         { ac_try='test -s conftest.$ac_objext'
3039
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3040
 
  (eval $ac_try) 2>&5
3041
 
  ac_status=$?
3042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043
 
  (exit $ac_status); }; }; then
3044
 
  break
3045
 
else
3046
 
  echo "$as_me: failed program was:" >&5
3047
 
sed 's/^/| /' conftest.$ac_ext >&5
3048
 
 
3049
 
fi
3050
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3051
 
done
3052
 
rm -f conftest*
3053
 
if test -n "$ac_declaration"; then
3054
 
  echo '#ifdef __cplusplus' >>confdefs.h
3055
 
  echo $ac_declaration      >>confdefs.h
3056
 
  echo '#endif'             >>confdefs.h
3057
 
fi
3058
 
 
3059
 
else
3060
 
  echo "$as_me: failed program was:" >&5
3061
 
sed 's/^/| /' conftest.$ac_ext >&5
3062
 
 
3063
 
fi
3064
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3580
 
3065
3581
ac_ext=c
3066
3582
ac_cpp='$CPP $CPPFLAGS'
3067
3583
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3069
3585
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3070
3586
DEPDIR="${am__leading_dot}deps"
3071
3587
 
3072
 
          ac_config_commands="$ac_config_commands depfiles"
 
3588
ac_config_commands="$ac_config_commands depfiles"
3073
3589
 
3074
3590
 
3075
3591
am_make=${MAKE-make}
3079
3595
.PHONY: am__doit
3080
3596
END
3081
3597
# If we don't find an include directive, just comment out the code.
3082
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3083
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3598
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3599
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3084
3600
am__include="#"
3085
3601
am__quote=
3086
3602
_am_result=none
3107
3623
fi
3108
3624
 
3109
3625
 
3110
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3111
 
echo "${ECHO_T}$_am_result" >&6
 
3626
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3627
echo "${ECHO_T}$_am_result" >&6; }
3112
3628
rm -f confinc confmf
3113
3629
 
3114
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3630
# Check whether --enable-dependency-tracking was given.
3115
3631
if test "${enable_dependency_tracking+set}" = set; then
3116
 
  enableval="$enable_dependency_tracking"
 
3632
  enableval=$enable_dependency_tracking;
 
3633
fi
3117
3634
 
3118
 
fi;
3119
3635
if test "x$enable_dependency_tracking" != xno; then
3120
3636
  am_depcomp="$ac_aux_dir/depcomp"
3121
3637
  AMDEPBACKSLASH='\'
3135
3651
 
3136
3652
depcc="$CC"   am_compiler_list=
3137
3653
 
3138
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3139
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3654
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3655
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3140
3656
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3141
3657
  echo $ECHO_N "(cached) $ECHO_C" >&6
3142
3658
else
3225
3741
fi
3226
3742
 
3227
3743
fi
3228
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3229
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3744
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3745
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3230
3746
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3231
3747
 
3232
3748
 
3247
3763
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248
3764
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249
3765
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3251
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3766
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3767
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3252
3768
# On Suns, sometimes $CPP names a directory.
3253
3769
if test -n "$CPP" && test -d "$CPP"; then
3254
3770
  CPP=
3282
3798
#endif
3283
3799
                     Syntax error
3284
3800
_ACEOF
3285
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3286
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3801
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3802
case "(($ac_try" in
 
3803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3804
  *) ac_try_echo=$ac_try;;
 
3805
esac
 
3806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3807
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3287
3808
  ac_status=$?
3288
3809
  grep -v '^ *+' conftest.er1 >conftest.err
3289
3810
  rm -f conftest.er1
3290
3811
  cat conftest.err >&5
3291
3812
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
 
  (exit $ac_status); } >/dev/null; then
3293
 
  if test -s conftest.err; then
3294
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3295
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3296
 
  else
3297
 
    ac_cpp_err=
3298
 
  fi
3299
 
else
3300
 
  ac_cpp_err=yes
3301
 
fi
3302
 
if test -z "$ac_cpp_err"; then
 
3813
  (exit $ac_status); } >/dev/null && {
 
3814
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3815
         test ! -s conftest.err
 
3816
       }; then
3303
3817
  :
3304
3818
else
3305
3819
  echo "$as_me: failed program was:" >&5
3308
3822
  # Broken: fails on valid input.
3309
3823
continue
3310
3824
fi
 
3825
 
3311
3826
rm -f conftest.err conftest.$ac_ext
3312
3827
 
3313
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3828
  # OK, works on sane cases.  Now check whether nonexistent headers
3314
3829
  # can be detected and how.
3315
3830
  cat >conftest.$ac_ext <<_ACEOF
3316
3831
/* confdefs.h.  */
3320
3835
/* end confdefs.h.  */
3321
3836
#include <ac_nonexistent.h>
3322
3837
_ACEOF
3323
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3324
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3838
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3839
case "(($ac_try" in
 
3840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3841
  *) ac_try_echo=$ac_try;;
 
3842
esac
 
3843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3844
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3325
3845
  ac_status=$?
3326
3846
  grep -v '^ *+' conftest.er1 >conftest.err
3327
3847
  rm -f conftest.er1
3328
3848
  cat conftest.err >&5
3329
3849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330
 
  (exit $ac_status); } >/dev/null; then
3331
 
  if test -s conftest.err; then
3332
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3333
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3334
 
  else
3335
 
    ac_cpp_err=
3336
 
  fi
3337
 
else
3338
 
  ac_cpp_err=yes
3339
 
fi
3340
 
if test -z "$ac_cpp_err"; then
 
3850
  (exit $ac_status); } >/dev/null && {
 
3851
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3852
         test ! -s conftest.err
 
3853
       }; then
3341
3854
  # Broken: success on invalid input.
3342
3855
continue
3343
3856
else
3348
3861
ac_preproc_ok=:
3349
3862
break
3350
3863
fi
 
3864
 
3351
3865
rm -f conftest.err conftest.$ac_ext
3352
3866
 
3353
3867
done
3365
3879
else
3366
3880
  ac_cv_prog_CPP=$CPP
3367
3881
fi
3368
 
echo "$as_me:$LINENO: result: $CPP" >&5
3369
 
echo "${ECHO_T}$CPP" >&6
 
3882
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
3883
echo "${ECHO_T}$CPP" >&6; }
3370
3884
ac_preproc_ok=false
3371
3885
for ac_c_preproc_warn_flag in '' yes
3372
3886
do
3389
3903
#endif
3390
3904
                     Syntax error
3391
3905
_ACEOF
3392
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3393
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3906
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3907
case "(($ac_try" in
 
3908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3909
  *) ac_try_echo=$ac_try;;
 
3910
esac
 
3911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3912
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3394
3913
  ac_status=$?
3395
3914
  grep -v '^ *+' conftest.er1 >conftest.err
3396
3915
  rm -f conftest.er1
3397
3916
  cat conftest.err >&5
3398
3917
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
 
  (exit $ac_status); } >/dev/null; then
3400
 
  if test -s conftest.err; then
3401
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3402
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3403
 
  else
3404
 
    ac_cpp_err=
3405
 
  fi
3406
 
else
3407
 
  ac_cpp_err=yes
3408
 
fi
3409
 
if test -z "$ac_cpp_err"; then
 
3918
  (exit $ac_status); } >/dev/null && {
 
3919
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3920
         test ! -s conftest.err
 
3921
       }; then
3410
3922
  :
3411
3923
else
3412
3924
  echo "$as_me: failed program was:" >&5
3415
3927
  # Broken: fails on valid input.
3416
3928
continue
3417
3929
fi
 
3930
 
3418
3931
rm -f conftest.err conftest.$ac_ext
3419
3932
 
3420
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3933
  # OK, works on sane cases.  Now check whether nonexistent headers
3421
3934
  # can be detected and how.
3422
3935
  cat >conftest.$ac_ext <<_ACEOF
3423
3936
/* confdefs.h.  */
3427
3940
/* end confdefs.h.  */
3428
3941
#include <ac_nonexistent.h>
3429
3942
_ACEOF
3430
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3431
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3943
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3944
case "(($ac_try" in
 
3945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3946
  *) ac_try_echo=$ac_try;;
 
3947
esac
 
3948
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3949
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3432
3950
  ac_status=$?
3433
3951
  grep -v '^ *+' conftest.er1 >conftest.err
3434
3952
  rm -f conftest.er1
3435
3953
  cat conftest.err >&5
3436
3954
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437
 
  (exit $ac_status); } >/dev/null; then
3438
 
  if test -s conftest.err; then
3439
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3440
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3441
 
  else
3442
 
    ac_cpp_err=
3443
 
  fi
3444
 
else
3445
 
  ac_cpp_err=yes
3446
 
fi
3447
 
if test -z "$ac_cpp_err"; then
 
3955
  (exit $ac_status); } >/dev/null && {
 
3956
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3957
         test ! -s conftest.err
 
3958
       }; then
3448
3959
  # Broken: success on invalid input.
3449
3960
continue
3450
3961
else
3455
3966
ac_preproc_ok=:
3456
3967
break
3457
3968
fi
 
3969
 
3458
3970
rm -f conftest.err conftest.$ac_ext
3459
3971
 
3460
3972
done
3489
4001
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3490
4002
# OS/2's system install, which has a completely different semantic
3491
4003
# ./install, which can be erroneously created by make from ./install.sh.
3492
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3493
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
4004
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4005
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3494
4006
if test -z "$INSTALL"; then
3495
4007
if test "${ac_cv_path_install+set}" = set; then
3496
4008
  echo $ECHO_N "(cached) $ECHO_C" >&6
3512
4024
    # by default.
3513
4025
    for ac_prog in ginstall scoinst install; do
3514
4026
      for ac_exec_ext in '' $ac_executable_extensions; do
3515
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
4027
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3516
4028
          if test $ac_prog = install &&
3517
4029
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3518
4030
            # AIX install.  It has an incompatible calling convention.
3531
4043
    ;;
3532
4044
esac
3533
4045
done
 
4046
IFS=$as_save_IFS
3534
4047
 
3535
4048
 
3536
4049
fi
3537
4050
  if test "${ac_cv_path_install+set}" = set; then
3538
4051
    INSTALL=$ac_cv_path_install
3539
4052
  else
3540
 
    # As a last resort, use the slow shell script.  We don't cache a
3541
 
    # path for INSTALL within a source directory, because that will
 
4053
    # As a last resort, use the slow shell script.  Don't cache a
 
4054
    # value for INSTALL within a source directory, because that will
3542
4055
    # break other packages using the cache if that directory is
3543
 
    # removed, or if the path is relative.
 
4056
    # removed, or if the value is a relative name.
3544
4057
    INSTALL=$ac_install_sh
3545
4058
  fi
3546
4059
fi
3547
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
3548
 
echo "${ECHO_T}$INSTALL" >&6
 
4060
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4061
echo "${ECHO_T}$INSTALL" >&6; }
3549
4062
 
3550
4063
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3551
4064
# It thinks the first close brace ends the variable substitution.
3555
4068
 
3556
4069
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3557
4070
 
3558
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3559
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4071
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4072
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3560
4073
LN_S=$as_ln_s
3561
4074
if test "$LN_S" = "ln -s"; then
3562
 
  echo "$as_me:$LINENO: result: yes" >&5
3563
 
echo "${ECHO_T}yes" >&6
 
4075
  { echo "$as_me:$LINENO: result: yes" >&5
 
4076
echo "${ECHO_T}yes" >&6; }
3564
4077
else
3565
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3566
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4078
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4079
echo "${ECHO_T}no, using $LN_S" >&6; }
3567
4080
fi
3568
4081
 
3569
4082
if test -n "$ac_tool_prefix"; then
3570
4083
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3571
4084
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3572
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3573
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4085
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4086
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3574
4087
if test "${ac_cv_prog_RANLIB+set}" = set; then
3575
4088
  echo $ECHO_N "(cached) $ECHO_C" >&6
3576
4089
else
3583
4096
  IFS=$as_save_IFS
3584
4097
  test -z "$as_dir" && as_dir=.
3585
4098
  for ac_exec_ext in '' $ac_executable_extensions; do
3586
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4099
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587
4100
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3588
4101
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3589
4102
    break 2
3590
4103
  fi
3591
4104
done
3592
4105
done
 
4106
IFS=$as_save_IFS
3593
4107
 
3594
4108
fi
3595
4109
fi
3596
4110
RANLIB=$ac_cv_prog_RANLIB
3597
4111
if test -n "$RANLIB"; then
3598
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
3599
 
echo "${ECHO_T}$RANLIB" >&6
 
4112
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
4113
echo "${ECHO_T}$RANLIB" >&6; }
3600
4114
else
3601
 
  echo "$as_me:$LINENO: result: no" >&5
3602
 
echo "${ECHO_T}no" >&6
 
4115
  { echo "$as_me:$LINENO: result: no" >&5
 
4116
echo "${ECHO_T}no" >&6; }
3603
4117
fi
 
4118
 
3604
4119
 
3605
4120
fi
3606
4121
if test -z "$ac_cv_prog_RANLIB"; then
3607
4122
  ac_ct_RANLIB=$RANLIB
3608
4123
  # Extract the first word of "ranlib", so it can be a program name with args.
3609
4124
set dummy ranlib; ac_word=$2
3610
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3611
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4125
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4126
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3612
4127
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3613
4128
  echo $ECHO_N "(cached) $ECHO_C" >&6
3614
4129
else
3621
4136
  IFS=$as_save_IFS
3622
4137
  test -z "$as_dir" && as_dir=.
3623
4138
  for ac_exec_ext in '' $ac_executable_extensions; do
3624
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4139
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625
4140
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3626
4141
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3627
4142
    break 2
3628
4143
  fi
3629
4144
done
3630
4145
done
 
4146
IFS=$as_save_IFS
3631
4147
 
3632
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3633
4148
fi
3634
4149
fi
3635
4150
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3636
4151
if test -n "$ac_ct_RANLIB"; then
3637
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3638
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
4152
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
4153
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3639
4154
else
3640
 
  echo "$as_me:$LINENO: result: no" >&5
3641
 
echo "${ECHO_T}no" >&6
 
4155
  { echo "$as_me:$LINENO: result: no" >&5
 
4156
echo "${ECHO_T}no" >&6; }
3642
4157
fi
3643
4158
 
3644
 
  RANLIB=$ac_ct_RANLIB
 
4159
  if test "x$ac_ct_RANLIB" = x; then
 
4160
    RANLIB=":"
 
4161
  else
 
4162
    case $cross_compiling:$ac_tool_warned in
 
4163
yes:)
 
4164
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4165
whose name does not start with the host triplet.  If you think this
 
4166
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4167
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4168
whose name does not start with the host triplet.  If you think this
 
4169
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4170
ac_tool_warned=yes ;;
 
4171
esac
 
4172
    RANLIB=$ac_ct_RANLIB
 
4173
  fi
3645
4174
else
3646
4175
  RANLIB="$ac_cv_prog_RANLIB"
3647
4176
fi
3648
4177
 
3649
4178
 
3650
 
# Check whether --enable-shared or --disable-shared was given.
 
4179
# Check whether --enable-shared was given.
3651
4180
if test "${enable_shared+set}" = set; then
3652
 
  enableval="$enable_shared"
3653
 
  p=${PACKAGE-default}
 
4181
  enableval=$enable_shared; p=${PACKAGE-default}
3654
4182
    case $enableval in
3655
4183
    yes) enable_shared=yes ;;
3656
4184
    no) enable_shared=no ;;
3669
4197
    esac
3670
4198
else
3671
4199
  enable_shared=no
3672
 
fi;
3673
 
 
3674
 
 
3675
 
# Check whether --enable-static or --disable-static was given.
 
4200
fi
 
4201
 
 
4202
 
 
4203
 
 
4204
# Check whether --enable-static was given.
3676
4205
if test "${enable_static+set}" = set; then
3677
 
  enableval="$enable_static"
3678
 
  p=${PACKAGE-default}
 
4206
  enableval=$enable_static; p=${PACKAGE-default}
3679
4207
    case $enableval in
3680
4208
    yes) enable_static=yes ;;
3681
4209
    no) enable_static=no ;;
3694
4222
    esac
3695
4223
else
3696
4224
  enable_static=yes
3697
 
fi;
3698
 
 
3699
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
4225
fi
 
4226
 
 
4227
 
 
4228
# Check whether --enable-fast-install was given.
3700
4229
if test "${enable_fast_install+set}" = set; then
3701
 
  enableval="$enable_fast_install"
3702
 
  p=${PACKAGE-default}
 
4230
  enableval=$enable_fast_install; p=${PACKAGE-default}
3703
4231
    case $enableval in
3704
4232
    yes) enable_fast_install=yes ;;
3705
4233
    no) enable_fast_install=no ;;
3718
4246
    esac
3719
4247
else
3720
4248
  enable_fast_install=yes
3721
 
fi;
3722
 
 
3723
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3724
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
4249
fi
 
4250
 
 
4251
 
 
4252
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4253
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3725
4254
if test "${lt_cv_path_SED+set}" = set; then
3726
4255
  echo $ECHO_N "(cached) $ECHO_C" >&6
3727
4256
else
3774
4303
 
3775
4304
fi
3776
4305
 
3777
 
echo "$as_me:$LINENO: result: $SED" >&5
3778
 
echo "${ECHO_T}$SED" >&6
3779
 
 
3780
 
echo "$as_me:$LINENO: checking for egrep" >&5
3781
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3782
 
if test "${ac_cv_prog_egrep+set}" = set; then
3783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3784
 
else
3785
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3786
 
    then ac_cv_prog_egrep='grep -E'
3787
 
    else ac_cv_prog_egrep='egrep'
3788
 
    fi
3789
 
fi
3790
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3791
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3792
 
 EGREP=$ac_cv_prog_egrep
3793
 
 
3794
 
 
3795
 
 
3796
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
4306
{ echo "$as_me:$LINENO: result: $SED" >&5
 
4307
echo "${ECHO_T}$SED" >&6; }
 
4308
 
 
4309
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4310
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
4311
if test "${ac_cv_path_GREP+set}" = set; then
 
4312
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4313
else
 
4314
  # Extract the first word of "grep ggrep" to use in msg output
 
4315
if test -z "$GREP"; then
 
4316
set dummy grep ggrep; ac_prog_name=$2
 
4317
if test "${ac_cv_path_GREP+set}" = set; then
 
4318
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4319
else
 
4320
  ac_path_GREP_found=false
 
4321
# Loop through the user's path and test for each of PROGNAME-LIST
 
4322
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4323
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4324
do
 
4325
  IFS=$as_save_IFS
 
4326
  test -z "$as_dir" && as_dir=.
 
4327
  for ac_prog in grep ggrep; do
 
4328
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4329
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4330
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4331
    # Check for GNU ac_path_GREP and select it if it is found.
 
4332
  # Check for GNU $ac_path_GREP
 
4333
case `"$ac_path_GREP" --version 2>&1` in
 
4334
*GNU*)
 
4335
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4336
*)
 
4337
  ac_count=0
 
4338
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4339
  while :
 
4340
  do
 
4341
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4342
    mv "conftest.tmp" "conftest.in"
 
4343
    cp "conftest.in" "conftest.nl"
 
4344
    echo 'GREP' >> "conftest.nl"
 
4345
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4346
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4347
    ac_count=`expr $ac_count + 1`
 
4348
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4349
      # Best one so far, save it but keep looking for a better one
 
4350
      ac_cv_path_GREP="$ac_path_GREP"
 
4351
      ac_path_GREP_max=$ac_count
 
4352
    fi
 
4353
    # 10*(2^10) chars as input seems more than enough
 
4354
    test $ac_count -gt 10 && break
 
4355
  done
 
4356
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4357
esac
 
4358
 
 
4359
 
 
4360
    $ac_path_GREP_found && break 3
 
4361
  done
 
4362
done
 
4363
 
 
4364
done
 
4365
IFS=$as_save_IFS
 
4366
 
 
4367
 
 
4368
fi
 
4369
 
 
4370
GREP="$ac_cv_path_GREP"
 
4371
if test -z "$GREP"; then
 
4372
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4373
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4374
   { (exit 1); exit 1; }; }
 
4375
fi
 
4376
 
 
4377
else
 
4378
  ac_cv_path_GREP=$GREP
 
4379
fi
 
4380
 
 
4381
 
 
4382
fi
 
4383
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4384
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4385
 GREP="$ac_cv_path_GREP"
 
4386
 
 
4387
 
 
4388
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
4389
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4390
if test "${ac_cv_path_EGREP+set}" = set; then
 
4391
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4392
else
 
4393
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4394
   then ac_cv_path_EGREP="$GREP -E"
 
4395
   else
 
4396
     # Extract the first word of "egrep" to use in msg output
 
4397
if test -z "$EGREP"; then
 
4398
set dummy egrep; ac_prog_name=$2
 
4399
if test "${ac_cv_path_EGREP+set}" = set; then
 
4400
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4401
else
 
4402
  ac_path_EGREP_found=false
 
4403
# Loop through the user's path and test for each of PROGNAME-LIST
 
4404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4405
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4406
do
 
4407
  IFS=$as_save_IFS
 
4408
  test -z "$as_dir" && as_dir=.
 
4409
  for ac_prog in egrep; do
 
4410
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4411
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4412
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4413
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4414
  # Check for GNU $ac_path_EGREP
 
4415
case `"$ac_path_EGREP" --version 2>&1` in
 
4416
*GNU*)
 
4417
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4418
*)
 
4419
  ac_count=0
 
4420
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4421
  while :
 
4422
  do
 
4423
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4424
    mv "conftest.tmp" "conftest.in"
 
4425
    cp "conftest.in" "conftest.nl"
 
4426
    echo 'EGREP' >> "conftest.nl"
 
4427
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4428
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4429
    ac_count=`expr $ac_count + 1`
 
4430
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4431
      # Best one so far, save it but keep looking for a better one
 
4432
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4433
      ac_path_EGREP_max=$ac_count
 
4434
    fi
 
4435
    # 10*(2^10) chars as input seems more than enough
 
4436
    test $ac_count -gt 10 && break
 
4437
  done
 
4438
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4439
esac
 
4440
 
 
4441
 
 
4442
    $ac_path_EGREP_found && break 3
 
4443
  done
 
4444
done
 
4445
 
 
4446
done
 
4447
IFS=$as_save_IFS
 
4448
 
 
4449
 
 
4450
fi
 
4451
 
 
4452
EGREP="$ac_cv_path_EGREP"
 
4453
if test -z "$EGREP"; then
 
4454
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4455
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4456
   { (exit 1); exit 1; }; }
 
4457
fi
 
4458
 
 
4459
else
 
4460
  ac_cv_path_EGREP=$EGREP
 
4461
fi
 
4462
 
 
4463
 
 
4464
   fi
 
4465
fi
 
4466
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4467
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4468
 EGREP="$ac_cv_path_EGREP"
 
4469
 
 
4470
 
 
4471
 
 
4472
# Check whether --with-gnu-ld was given.
3797
4473
if test "${with_gnu_ld+set}" = set; then
3798
 
  withval="$with_gnu_ld"
3799
 
  test "$withval" = no || with_gnu_ld=yes
 
4474
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3800
4475
else
3801
4476
  with_gnu_ld=no
3802
 
fi;
 
4477
fi
 
4478
 
3803
4479
ac_prog=ld
3804
4480
if test "$GCC" = yes; then
3805
4481
  # Check if gcc -print-prog-name=ld gives a path.
3806
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3807
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
4482
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4483
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3808
4484
  case $host in
3809
4485
  *-*-mingw*)
3810
4486
    # gcc leaves a trailing carriage return which upsets mingw
3833
4509
    ;;
3834
4510
  esac
3835
4511
elif test "$with_gnu_ld" = yes; then
3836
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3837
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4512
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4513
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3838
4514
else
3839
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3840
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4515
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4516
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3841
4517
fi
3842
4518
if test "${lt_cv_path_LD+set}" = set; then
3843
4519
  echo $ECHO_N "(cached) $ECHO_C" >&6
3870
4546
 
3871
4547
LD="$lt_cv_path_LD"
3872
4548
if test -n "$LD"; then
3873
 
  echo "$as_me:$LINENO: result: $LD" >&5
3874
 
echo "${ECHO_T}$LD" >&6
 
4549
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4550
echo "${ECHO_T}$LD" >&6; }
3875
4551
else
3876
 
  echo "$as_me:$LINENO: result: no" >&5
3877
 
echo "${ECHO_T}no" >&6
 
4552
  { echo "$as_me:$LINENO: result: no" >&5
 
4553
echo "${ECHO_T}no" >&6; }
3878
4554
fi
3879
4555
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3880
4556
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3881
4557
   { (exit 1); exit 1; }; }
3882
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3883
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4558
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4559
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3884
4560
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3885
4561
  echo $ECHO_N "(cached) $ECHO_C" >&6
3886
4562
else
3894
4570
  ;;
3895
4571
esac
3896
4572
fi
3897
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3898
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4573
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4574
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3899
4575
with_gnu_ld=$lt_cv_prog_gnu_ld
3900
4576
 
3901
4577
 
3902
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3903
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4578
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4579
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3904
4580
if test "${lt_cv_ld_reload_flag+set}" = set; then
3905
4581
  echo $ECHO_N "(cached) $ECHO_C" >&6
3906
4582
else
3907
4583
  lt_cv_ld_reload_flag='-r'
3908
4584
fi
3909
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3910
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4585
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4586
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3911
4587
reload_flag=$lt_cv_ld_reload_flag
3912
4588
case $reload_flag in
3913
4589
"" | " "*) ;;
3915
4591
esac
3916
4592
reload_cmds='$LD$reload_flag -o $output$reload_objs'
3917
4593
 
3918
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3919
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4594
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4595
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3920
4596
if test "${lt_cv_path_NM+set}" = set; then
3921
4597
  echo $ECHO_N "(cached) $ECHO_C" >&6
3922
4598
else
3957
4633
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3958
4634
fi
3959
4635
fi
3960
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3961
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4636
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4637
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3962
4638
NM="$lt_cv_path_NM"
3963
4639
 
3964
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3965
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4640
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
4641
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3966
4642
if test "${lt_cv_deplibs_check_method+set}" = set; then
3967
4643
  echo $ECHO_N "(cached) $ECHO_C" >&6
3968
4644
else
4135
4811
esac
4136
4812
 
4137
4813
fi
4138
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4139
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4814
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4815
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4140
4816
file_magic_cmd=$lt_cv_file_magic_cmd
4141
4817
deplibs_check_method=$lt_cv_deplibs_check_method
4142
4818
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4151
4827
compiler=$CC
4152
4828
 
4153
4829
 
4154
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4830
# Check whether --enable-libtool-lock was given.
4155
4831
if test "${enable_libtool_lock+set}" = set; then
4156
 
  enableval="$enable_libtool_lock"
 
4832
  enableval=$enable_libtool_lock;
 
4833
fi
4157
4834
 
4158
 
fi;
4159
4835
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4160
4836
 
4161
4837
# Some flags need to be propagated to the compiler or linker for good
4182
4858
  ;;
4183
4859
*-*-irix6*)
4184
4860
  # Find out which ABI we are using.
4185
 
  echo '#line 4185 "configure"' > conftest.$ac_ext
 
4861
  echo '#line 4861 "configure"' > conftest.$ac_ext
4186
4862
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4187
4863
  (eval $ac_compile) 2>&5
4188
4864
  ac_status=$?
4267
4943
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4268
4944
  SAVE_CFLAGS="$CFLAGS"
4269
4945
  CFLAGS="$CFLAGS -belf"
4270
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4271
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4946
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4947
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4272
4948
if test "${lt_cv_cc_needs_belf+set}" = set; then
4273
4949
  echo $ECHO_N "(cached) $ECHO_C" >&6
4274
4950
else
4294
4970
}
4295
4971
_ACEOF
4296
4972
rm -f conftest.$ac_objext conftest$ac_exeext
4297
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4298
 
  (eval $ac_link) 2>conftest.er1
 
4973
if { (ac_try="$ac_link"
 
4974
case "(($ac_try" in
 
4975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4976
  *) ac_try_echo=$ac_try;;
 
4977
esac
 
4978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4979
  (eval "$ac_link") 2>conftest.er1
4299
4980
  ac_status=$?
4300
4981
  grep -v '^ *+' conftest.er1 >conftest.err
4301
4982
  rm -f conftest.er1
4302
4983
  cat conftest.err >&5
4303
4984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304
 
  (exit $ac_status); } &&
4305
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4306
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4307
 
  (eval $ac_try) 2>&5
4308
 
  ac_status=$?
4309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310
 
  (exit $ac_status); }; } &&
4311
 
         { ac_try='test -s conftest$ac_exeext'
4312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4313
 
  (eval $ac_try) 2>&5
4314
 
  ac_status=$?
4315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316
 
  (exit $ac_status); }; }; then
 
4985
  (exit $ac_status); } && {
 
4986
         test -z "$ac_c_werror_flag" ||
 
4987
         test ! -s conftest.err
 
4988
       } && test -s conftest$ac_exeext &&
 
4989
       $as_test_x conftest$ac_exeext; then
4317
4990
  lt_cv_cc_needs_belf=yes
4318
4991
else
4319
4992
  echo "$as_me: failed program was:" >&5
4320
4993
sed 's/^/| /' conftest.$ac_ext >&5
4321
4994
 
4322
 
lt_cv_cc_needs_belf=no
 
4995
        lt_cv_cc_needs_belf=no
4323
4996
fi
4324
 
rm -f conftest.err conftest.$ac_objext \
 
4997
 
 
4998
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4325
4999
      conftest$ac_exeext conftest.$ac_ext
4326
5000
     ac_ext=c
4327
5001
ac_cpp='$CPP $CPPFLAGS'
4330
5004
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331
5005
 
4332
5006
fi
4333
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4334
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
5007
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5008
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4335
5009
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4336
5010
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4337
5011
    CFLAGS="$SAVE_CFLAGS"
4344
5018
 
4345
5019
 
4346
5020
 
4347
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4348
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
5021
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5022
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4349
5023
if test "${ac_cv_header_stdc+set}" = set; then
4350
5024
  echo $ECHO_N "(cached) $ECHO_C" >&6
4351
5025
else
4369
5043
}
4370
5044
_ACEOF
4371
5045
rm -f conftest.$ac_objext
4372
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4373
 
  (eval $ac_compile) 2>conftest.er1
 
5046
if { (ac_try="$ac_compile"
 
5047
case "(($ac_try" in
 
5048
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5049
  *) ac_try_echo=$ac_try;;
 
5050
esac
 
5051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5052
  (eval "$ac_compile") 2>conftest.er1
4374
5053
  ac_status=$?
4375
5054
  grep -v '^ *+' conftest.er1 >conftest.err
4376
5055
  rm -f conftest.er1
4377
5056
  cat conftest.err >&5
4378
5057
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379
 
  (exit $ac_status); } &&
4380
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4381
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382
 
  (eval $ac_try) 2>&5
4383
 
  ac_status=$?
4384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385
 
  (exit $ac_status); }; } &&
4386
 
         { ac_try='test -s conftest.$ac_objext'
4387
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388
 
  (eval $ac_try) 2>&5
4389
 
  ac_status=$?
4390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391
 
  (exit $ac_status); }; }; then
 
5058
  (exit $ac_status); } && {
 
5059
         test -z "$ac_c_werror_flag" ||
 
5060
         test ! -s conftest.err
 
5061
       } && test -s conftest.$ac_objext; then
4392
5062
  ac_cv_header_stdc=yes
4393
5063
else
4394
5064
  echo "$as_me: failed program was:" >&5
4395
5065
sed 's/^/| /' conftest.$ac_ext >&5
4396
5066
 
4397
 
ac_cv_header_stdc=no
 
5067
        ac_cv_header_stdc=no
4398
5068
fi
4399
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5069
 
 
5070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400
5071
 
4401
5072
if test $ac_cv_header_stdc = yes; then
4402
5073
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4452
5123
cat >>conftest.$ac_ext <<_ACEOF
4453
5124
/* end confdefs.h.  */
4454
5125
#include <ctype.h>
 
5126
#include <stdlib.h>
4455
5127
#if ((' ' & 0x0FF) == 0x020)
4456
5128
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4457
5129
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4471
5143
  for (i = 0; i < 256; i++)
4472
5144
    if (XOR (islower (i), ISLOWER (i))
4473
5145
        || toupper (i) != TOUPPER (i))
4474
 
      exit(2);
4475
 
  exit (0);
 
5146
      return 2;
 
5147
  return 0;
4476
5148
}
4477
5149
_ACEOF
4478
5150
rm -f conftest$ac_exeext
4479
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4480
 
  (eval $ac_link) 2>&5
 
5151
if { (ac_try="$ac_link"
 
5152
case "(($ac_try" in
 
5153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5154
  *) ac_try_echo=$ac_try;;
 
5155
esac
 
5156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5157
  (eval "$ac_link") 2>&5
4481
5158
  ac_status=$?
4482
5159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
5160
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4485
 
  (eval $ac_try) 2>&5
 
5161
  { (case "(($ac_try" in
 
5162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5163
  *) ac_try_echo=$ac_try;;
 
5164
esac
 
5165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5166
  (eval "$ac_try") 2>&5
4486
5167
  ac_status=$?
4487
5168
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488
5169
  (exit $ac_status); }; }; then
4495
5176
( exit $ac_status )
4496
5177
ac_cv_header_stdc=no
4497
5178
fi
4498
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4499
 
fi
4500
 
fi
4501
 
fi
4502
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4503
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
5179
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
5180
fi
 
5181
 
 
5182
 
 
5183
fi
 
5184
fi
 
5185
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5186
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4504
5187
if test $ac_cv_header_stdc = yes; then
4505
5188
 
4506
5189
cat >>confdefs.h <<\_ACEOF
4523
5206
                  inttypes.h stdint.h unistd.h
4524
5207
do
4525
5208
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4526
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4527
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4528
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5209
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5210
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5211
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4529
5212
  echo $ECHO_N "(cached) $ECHO_C" >&6
4530
5213
else
4531
5214
  cat >conftest.$ac_ext <<_ACEOF
4539
5222
#include <$ac_header>
4540
5223
_ACEOF
4541
5224
rm -f conftest.$ac_objext
4542
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4543
 
  (eval $ac_compile) 2>conftest.er1
 
5225
if { (ac_try="$ac_compile"
 
5226
case "(($ac_try" in
 
5227
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5228
  *) ac_try_echo=$ac_try;;
 
5229
esac
 
5230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5231
  (eval "$ac_compile") 2>conftest.er1
4544
5232
  ac_status=$?
4545
5233
  grep -v '^ *+' conftest.er1 >conftest.err
4546
5234
  rm -f conftest.er1
4547
5235
  cat conftest.err >&5
4548
5236
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549
 
  (exit $ac_status); } &&
4550
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4551
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552
 
  (eval $ac_try) 2>&5
4553
 
  ac_status=$?
4554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555
 
  (exit $ac_status); }; } &&
4556
 
         { ac_try='test -s conftest.$ac_objext'
4557
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558
 
  (eval $ac_try) 2>&5
4559
 
  ac_status=$?
4560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561
 
  (exit $ac_status); }; }; then
 
5237
  (exit $ac_status); } && {
 
5238
         test -z "$ac_c_werror_flag" ||
 
5239
         test ! -s conftest.err
 
5240
       } && test -s conftest.$ac_objext; then
4562
5241
  eval "$as_ac_Header=yes"
4563
5242
else
4564
5243
  echo "$as_me: failed program was:" >&5
4565
5244
sed 's/^/| /' conftest.$ac_ext >&5
4566
5245
 
4567
 
eval "$as_ac_Header=no"
4568
 
fi
4569
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4570
 
fi
4571
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4572
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5246
        eval "$as_ac_Header=no"
 
5247
fi
 
5248
 
 
5249
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5250
fi
 
5251
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5252
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5253
echo "${ECHO_T}$ac_res" >&6; }
4573
5254
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4574
5255
  cat >>confdefs.h <<_ACEOF
4575
5256
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4584
5265
for ac_header in dlfcn.h
4585
5266
do
4586
5267
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4587
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4588
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4589
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4590
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5268
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5269
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5270
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5271
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4591
5272
  echo $ECHO_N "(cached) $ECHO_C" >&6
4592
5273
fi
4593
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4594
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5274
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5275
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5276
echo "${ECHO_T}$ac_res" >&6; }
4595
5277
else
4596
5278
  # Is the header compilable?
4597
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4598
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5279
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5280
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4599
5281
cat >conftest.$ac_ext <<_ACEOF
4600
5282
/* confdefs.h.  */
4601
5283
_ACEOF
4606
5288
#include <$ac_header>
4607
5289
_ACEOF
4608
5290
rm -f conftest.$ac_objext
4609
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4610
 
  (eval $ac_compile) 2>conftest.er1
 
5291
if { (ac_try="$ac_compile"
 
5292
case "(($ac_try" in
 
5293
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5294
  *) ac_try_echo=$ac_try;;
 
5295
esac
 
5296
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5297
  (eval "$ac_compile") 2>conftest.er1
4611
5298
  ac_status=$?
4612
5299
  grep -v '^ *+' conftest.er1 >conftest.err
4613
5300
  rm -f conftest.er1
4614
5301
  cat conftest.err >&5
4615
5302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616
 
  (exit $ac_status); } &&
4617
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4618
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619
 
  (eval $ac_try) 2>&5
4620
 
  ac_status=$?
4621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622
 
  (exit $ac_status); }; } &&
4623
 
         { ac_try='test -s conftest.$ac_objext'
4624
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625
 
  (eval $ac_try) 2>&5
4626
 
  ac_status=$?
4627
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628
 
  (exit $ac_status); }; }; then
 
5303
  (exit $ac_status); } && {
 
5304
         test -z "$ac_c_werror_flag" ||
 
5305
         test ! -s conftest.err
 
5306
       } && test -s conftest.$ac_objext; then
4629
5307
  ac_header_compiler=yes
4630
5308
else
4631
5309
  echo "$as_me: failed program was:" >&5
4632
5310
sed 's/^/| /' conftest.$ac_ext >&5
4633
5311
 
4634
 
ac_header_compiler=no
 
5312
        ac_header_compiler=no
4635
5313
fi
4636
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4637
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4638
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5314
 
 
5315
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5316
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5317
echo "${ECHO_T}$ac_header_compiler" >&6; }
4639
5318
 
4640
5319
# Is the header present?
4641
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4642
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5320
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5321
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4643
5322
cat >conftest.$ac_ext <<_ACEOF
4644
5323
/* confdefs.h.  */
4645
5324
_ACEOF
4648
5327
/* end confdefs.h.  */
4649
5328
#include <$ac_header>
4650
5329
_ACEOF
4651
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4652
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5330
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5331
case "(($ac_try" in
 
5332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5333
  *) ac_try_echo=$ac_try;;
 
5334
esac
 
5335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5336
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4653
5337
  ac_status=$?
4654
5338
  grep -v '^ *+' conftest.er1 >conftest.err
4655
5339
  rm -f conftest.er1
4656
5340
  cat conftest.err >&5
4657
5341
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658
 
  (exit $ac_status); } >/dev/null; then
4659
 
  if test -s conftest.err; then
4660
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4661
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4662
 
  else
4663
 
    ac_cpp_err=
4664
 
  fi
4665
 
else
4666
 
  ac_cpp_err=yes
4667
 
fi
4668
 
if test -z "$ac_cpp_err"; then
 
5342
  (exit $ac_status); } >/dev/null && {
 
5343
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5344
         test ! -s conftest.err
 
5345
       }; then
4669
5346
  ac_header_preproc=yes
4670
5347
else
4671
5348
  echo "$as_me: failed program was:" >&5
4673
5350
 
4674
5351
  ac_header_preproc=no
4675
5352
fi
 
5353
 
4676
5354
rm -f conftest.err conftest.$ac_ext
4677
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4678
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5355
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5356
echo "${ECHO_T}$ac_header_preproc" >&6; }
4679
5357
 
4680
5358
# So?  What about this header?
4681
5359
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4699
5377
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4700
5378
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4701
5379
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4702
 
    (
4703
 
      cat <<\_ASBOX
4704
 
## --------------------------------- ##
4705
 
## Report this to the jasper lists.  ##
4706
 
## --------------------------------- ##
4707
 
_ASBOX
4708
 
    ) |
4709
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5380
 
4710
5381
    ;;
4711
5382
esac
4712
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4713
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4714
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5383
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5384
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5385
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4715
5386
  echo $ECHO_N "(cached) $ECHO_C" >&6
4716
5387
else
4717
5388
  eval "$as_ac_Header=\$ac_header_preproc"
4718
5389
fi
4719
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4720
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5390
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5391
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5392
echo "${ECHO_T}$ac_res" >&6; }
4721
5393
 
4722
5394
fi
4723
5395
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4729
5401
 
4730
5402
done
4731
5403
 
4732
 
ac_ext=cc
 
5404
ac_ext=cpp
4733
5405
ac_cpp='$CXXCPP $CPPFLAGS'
4734
5406
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735
5407
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736
5408
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4737
 
if test -n "$ac_tool_prefix"; then
4738
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5409
if test -z "$CXX"; then
 
5410
  if test -n "$CCC"; then
 
5411
    CXX=$CCC
 
5412
  else
 
5413
    if test -n "$ac_tool_prefix"; then
 
5414
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4739
5415
  do
4740
5416
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4741
5417
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4742
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4743
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5418
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5419
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4744
5420
if test "${ac_cv_prog_CXX+set}" = set; then
4745
5421
  echo $ECHO_N "(cached) $ECHO_C" >&6
4746
5422
else
4753
5429
  IFS=$as_save_IFS
4754
5430
  test -z "$as_dir" && as_dir=.
4755
5431
  for ac_exec_ext in '' $ac_executable_extensions; do
4756
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5432
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757
5433
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4758
5434
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4759
5435
    break 2
4760
5436
  fi
4761
5437
done
4762
5438
done
 
5439
IFS=$as_save_IFS
4763
5440
 
4764
5441
fi
4765
5442
fi
4766
5443
CXX=$ac_cv_prog_CXX
4767
5444
if test -n "$CXX"; then
4768
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4769
 
echo "${ECHO_T}$CXX" >&6
 
5445
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5446
echo "${ECHO_T}$CXX" >&6; }
4770
5447
else
4771
 
  echo "$as_me:$LINENO: result: no" >&5
4772
 
echo "${ECHO_T}no" >&6
 
5448
  { echo "$as_me:$LINENO: result: no" >&5
 
5449
echo "${ECHO_T}no" >&6; }
4773
5450
fi
4774
5451
 
 
5452
 
4775
5453
    test -n "$CXX" && break
4776
5454
  done
4777
5455
fi
4778
5456
if test -z "$CXX"; then
4779
5457
  ac_ct_CXX=$CXX
4780
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5458
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4781
5459
do
4782
5460
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4783
5461
set dummy $ac_prog; ac_word=$2
4784
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4785
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4786
5464
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4787
5465
  echo $ECHO_N "(cached) $ECHO_C" >&6
4788
5466
else
4795
5473
  IFS=$as_save_IFS
4796
5474
  test -z "$as_dir" && as_dir=.
4797
5475
  for ac_exec_ext in '' $ac_executable_extensions; do
4798
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799
5477
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4800
5478
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4801
5479
    break 2
4802
5480
  fi
4803
5481
done
4804
5482
done
 
5483
IFS=$as_save_IFS
4805
5484
 
4806
5485
fi
4807
5486
fi
4808
5487
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4809
5488
if test -n "$ac_ct_CXX"; then
4810
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4811
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5489
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5490
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4812
5491
else
4813
 
  echo "$as_me:$LINENO: result: no" >&5
4814
 
echo "${ECHO_T}no" >&6
 
5492
  { echo "$as_me:$LINENO: result: no" >&5
 
5493
echo "${ECHO_T}no" >&6; }
4815
5494
fi
4816
5495
 
 
5496
 
4817
5497
  test -n "$ac_ct_CXX" && break
4818
5498
done
4819
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4820
 
 
4821
 
  CXX=$ac_ct_CXX
4822
 
fi
4823
 
 
4824
 
 
 
5499
 
 
5500
  if test "x$ac_ct_CXX" = x; then
 
5501
    CXX="g++"
 
5502
  else
 
5503
    case $cross_compiling:$ac_tool_warned in
 
5504
yes:)
 
5505
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5506
whose name does not start with the host triplet.  If you think this
 
5507
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5508
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5509
whose name does not start with the host triplet.  If you think this
 
5510
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5511
ac_tool_warned=yes ;;
 
5512
esac
 
5513
    CXX=$ac_ct_CXX
 
5514
  fi
 
5515
fi
 
5516
 
 
5517
  fi
 
5518
fi
4825
5519
# Provide some information about the compiler.
4826
 
echo "$as_me:$LINENO:" \
4827
 
     "checking for C++ compiler version" >&5
 
5520
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4828
5521
ac_compiler=`set X $ac_compile; echo $2`
4829
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4830
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4831
 
  ac_status=$?
4832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833
 
  (exit $ac_status); }
4834
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4835
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4836
 
  ac_status=$?
4837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
 
  (exit $ac_status); }
4839
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4840
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5522
{ (ac_try="$ac_compiler --version >&5"
 
5523
case "(($ac_try" in
 
5524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5525
  *) ac_try_echo=$ac_try;;
 
5526
esac
 
5527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5528
  (eval "$ac_compiler --version >&5") 2>&5
 
5529
  ac_status=$?
 
5530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5531
  (exit $ac_status); }
 
5532
{ (ac_try="$ac_compiler -v >&5"
 
5533
case "(($ac_try" in
 
5534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5535
  *) ac_try_echo=$ac_try;;
 
5536
esac
 
5537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5538
  (eval "$ac_compiler -v >&5") 2>&5
 
5539
  ac_status=$?
 
5540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5541
  (exit $ac_status); }
 
5542
{ (ac_try="$ac_compiler -V >&5"
 
5543
case "(($ac_try" in
 
5544
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5545
  *) ac_try_echo=$ac_try;;
 
5546
esac
 
5547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5548
  (eval "$ac_compiler -V >&5") 2>&5
4841
5549
  ac_status=$?
4842
5550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843
5551
  (exit $ac_status); }
4844
5552
 
4845
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4846
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5553
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5554
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4847
5555
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4848
5556
  echo $ECHO_N "(cached) $ECHO_C" >&6
4849
5557
else
4866
5574
}
4867
5575
_ACEOF
4868
5576
rm -f conftest.$ac_objext
4869
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870
 
  (eval $ac_compile) 2>conftest.er1
 
5577
if { (ac_try="$ac_compile"
 
5578
case "(($ac_try" in
 
5579
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5580
  *) ac_try_echo=$ac_try;;
 
5581
esac
 
5582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5583
  (eval "$ac_compile") 2>conftest.er1
4871
5584
  ac_status=$?
4872
5585
  grep -v '^ *+' conftest.er1 >conftest.err
4873
5586
  rm -f conftest.er1
4874
5587
  cat conftest.err >&5
4875
5588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876
 
  (exit $ac_status); } &&
4877
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4878
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879
 
  (eval $ac_try) 2>&5
4880
 
  ac_status=$?
4881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882
 
  (exit $ac_status); }; } &&
4883
 
         { ac_try='test -s conftest.$ac_objext'
4884
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885
 
  (eval $ac_try) 2>&5
4886
 
  ac_status=$?
4887
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888
 
  (exit $ac_status); }; }; then
 
5589
  (exit $ac_status); } && {
 
5590
         test -z "$ac_cxx_werror_flag" ||
 
5591
         test ! -s conftest.err
 
5592
       } && test -s conftest.$ac_objext; then
4889
5593
  ac_compiler_gnu=yes
4890
5594
else
4891
5595
  echo "$as_me: failed program was:" >&5
4892
5596
sed 's/^/| /' conftest.$ac_ext >&5
4893
5597
 
4894
 
ac_compiler_gnu=no
 
5598
        ac_compiler_gnu=no
4895
5599
fi
4896
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5600
 
 
5601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897
5602
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4898
5603
 
4899
5604
fi
4900
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4901
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5605
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5606
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4902
5607
GXX=`test $ac_compiler_gnu = yes && echo yes`
4903
5608
ac_test_CXXFLAGS=${CXXFLAGS+set}
4904
5609
ac_save_CXXFLAGS=$CXXFLAGS
4905
 
CXXFLAGS="-g"
4906
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4907
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5610
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5611
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4908
5612
if test "${ac_cv_prog_cxx_g+set}" = set; then
4909
5613
  echo $ECHO_N "(cached) $ECHO_C" >&6
4910
5614
else
4911
 
  cat >conftest.$ac_ext <<_ACEOF
4912
 
/* confdefs.h.  */
4913
 
_ACEOF
4914
 
cat confdefs.h >>conftest.$ac_ext
4915
 
cat >>conftest.$ac_ext <<_ACEOF
4916
 
/* end confdefs.h.  */
4917
 
 
4918
 
int
4919
 
main ()
4920
 
{
4921
 
 
4922
 
  ;
4923
 
  return 0;
4924
 
}
4925
 
_ACEOF
4926
 
rm -f conftest.$ac_objext
4927
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4928
 
  (eval $ac_compile) 2>conftest.er1
4929
 
  ac_status=$?
4930
 
  grep -v '^ *+' conftest.er1 >conftest.err
4931
 
  rm -f conftest.er1
4932
 
  cat conftest.err >&5
4933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
 
  (exit $ac_status); } &&
4935
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937
 
  (eval $ac_try) 2>&5
4938
 
  ac_status=$?
4939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940
 
  (exit $ac_status); }; } &&
4941
 
         { ac_try='test -s conftest.$ac_objext'
4942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943
 
  (eval $ac_try) 2>&5
4944
 
  ac_status=$?
4945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946
 
  (exit $ac_status); }; }; then
4947
 
  ac_cv_prog_cxx_g=yes
4948
 
else
4949
 
  echo "$as_me: failed program was:" >&5
4950
 
sed 's/^/| /' conftest.$ac_ext >&5
4951
 
 
4952
 
ac_cv_prog_cxx_g=no
4953
 
fi
4954
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4955
 
fi
4956
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4957
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5615
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5616
   ac_cxx_werror_flag=yes
 
5617
   ac_cv_prog_cxx_g=no
 
5618
   CXXFLAGS="-g"
 
5619
   cat >conftest.$ac_ext <<_ACEOF
 
5620
/* confdefs.h.  */
 
5621
_ACEOF
 
5622
cat confdefs.h >>conftest.$ac_ext
 
5623
cat >>conftest.$ac_ext <<_ACEOF
 
5624
/* end confdefs.h.  */
 
5625
 
 
5626
int
 
5627
main ()
 
5628
{
 
5629
 
 
5630
  ;
 
5631
  return 0;
 
5632
}
 
5633
_ACEOF
 
5634
rm -f conftest.$ac_objext
 
5635
if { (ac_try="$ac_compile"
 
5636
case "(($ac_try" in
 
5637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5638
  *) ac_try_echo=$ac_try;;
 
5639
esac
 
5640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5641
  (eval "$ac_compile") 2>conftest.er1
 
5642
  ac_status=$?
 
5643
  grep -v '^ *+' conftest.er1 >conftest.err
 
5644
  rm -f conftest.er1
 
5645
  cat conftest.err >&5
 
5646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5647
  (exit $ac_status); } && {
 
5648
         test -z "$ac_cxx_werror_flag" ||
 
5649
         test ! -s conftest.err
 
5650
       } && test -s conftest.$ac_objext; then
 
5651
  ac_cv_prog_cxx_g=yes
 
5652
else
 
5653
  echo "$as_me: failed program was:" >&5
 
5654
sed 's/^/| /' conftest.$ac_ext >&5
 
5655
 
 
5656
        CXXFLAGS=""
 
5657
      cat >conftest.$ac_ext <<_ACEOF
 
5658
/* confdefs.h.  */
 
5659
_ACEOF
 
5660
cat confdefs.h >>conftest.$ac_ext
 
5661
cat >>conftest.$ac_ext <<_ACEOF
 
5662
/* end confdefs.h.  */
 
5663
 
 
5664
int
 
5665
main ()
 
5666
{
 
5667
 
 
5668
  ;
 
5669
  return 0;
 
5670
}
 
5671
_ACEOF
 
5672
rm -f conftest.$ac_objext
 
5673
if { (ac_try="$ac_compile"
 
5674
case "(($ac_try" in
 
5675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5676
  *) ac_try_echo=$ac_try;;
 
5677
esac
 
5678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5679
  (eval "$ac_compile") 2>conftest.er1
 
5680
  ac_status=$?
 
5681
  grep -v '^ *+' conftest.er1 >conftest.err
 
5682
  rm -f conftest.er1
 
5683
  cat conftest.err >&5
 
5684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5685
  (exit $ac_status); } && {
 
5686
         test -z "$ac_cxx_werror_flag" ||
 
5687
         test ! -s conftest.err
 
5688
       } && test -s conftest.$ac_objext; then
 
5689
  :
 
5690
else
 
5691
  echo "$as_me: failed program was:" >&5
 
5692
sed 's/^/| /' conftest.$ac_ext >&5
 
5693
 
 
5694
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5695
         CXXFLAGS="-g"
 
5696
         cat >conftest.$ac_ext <<_ACEOF
 
5697
/* confdefs.h.  */
 
5698
_ACEOF
 
5699
cat confdefs.h >>conftest.$ac_ext
 
5700
cat >>conftest.$ac_ext <<_ACEOF
 
5701
/* end confdefs.h.  */
 
5702
 
 
5703
int
 
5704
main ()
 
5705
{
 
5706
 
 
5707
  ;
 
5708
  return 0;
 
5709
}
 
5710
_ACEOF
 
5711
rm -f conftest.$ac_objext
 
5712
if { (ac_try="$ac_compile"
 
5713
case "(($ac_try" in
 
5714
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5715
  *) ac_try_echo=$ac_try;;
 
5716
esac
 
5717
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5718
  (eval "$ac_compile") 2>conftest.er1
 
5719
  ac_status=$?
 
5720
  grep -v '^ *+' conftest.er1 >conftest.err
 
5721
  rm -f conftest.er1
 
5722
  cat conftest.err >&5
 
5723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5724
  (exit $ac_status); } && {
 
5725
         test -z "$ac_cxx_werror_flag" ||
 
5726
         test ! -s conftest.err
 
5727
       } && test -s conftest.$ac_objext; then
 
5728
  ac_cv_prog_cxx_g=yes
 
5729
else
 
5730
  echo "$as_me: failed program was:" >&5
 
5731
sed 's/^/| /' conftest.$ac_ext >&5
 
5732
 
 
5733
 
 
5734
fi
 
5735
 
 
5736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5737
fi
 
5738
 
 
5739
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5740
fi
 
5741
 
 
5742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5743
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5744
fi
 
5745
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5746
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4958
5747
if test "$ac_test_CXXFLAGS" = set; then
4959
5748
  CXXFLAGS=$ac_save_CXXFLAGS
4960
5749
elif test $ac_cv_prog_cxx_g = yes; then
4970
5759
    CXXFLAGS=
4971
5760
  fi
4972
5761
fi
4973
 
for ac_declaration in \
4974
 
   '' \
4975
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4976
 
   'extern "C" void std::exit (int); using std::exit;' \
4977
 
   'extern "C" void exit (int) throw ();' \
4978
 
   'extern "C" void exit (int);' \
4979
 
   'void exit (int);'
4980
 
do
4981
 
  cat >conftest.$ac_ext <<_ACEOF
4982
 
/* confdefs.h.  */
4983
 
_ACEOF
4984
 
cat confdefs.h >>conftest.$ac_ext
4985
 
cat >>conftest.$ac_ext <<_ACEOF
4986
 
/* end confdefs.h.  */
4987
 
$ac_declaration
4988
 
#include <stdlib.h>
4989
 
int
4990
 
main ()
4991
 
{
4992
 
exit (42);
4993
 
  ;
4994
 
  return 0;
4995
 
}
4996
 
_ACEOF
4997
 
rm -f conftest.$ac_objext
4998
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4999
 
  (eval $ac_compile) 2>conftest.er1
5000
 
  ac_status=$?
5001
 
  grep -v '^ *+' conftest.er1 >conftest.err
5002
 
  rm -f conftest.er1
5003
 
  cat conftest.err >&5
5004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
 
  (exit $ac_status); } &&
5006
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5007
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008
 
  (eval $ac_try) 2>&5
5009
 
  ac_status=$?
5010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
 
  (exit $ac_status); }; } &&
5012
 
         { ac_try='test -s conftest.$ac_objext'
5013
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014
 
  (eval $ac_try) 2>&5
5015
 
  ac_status=$?
5016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017
 
  (exit $ac_status); }; }; then
5018
 
  :
5019
 
else
5020
 
  echo "$as_me: failed program was:" >&5
5021
 
sed 's/^/| /' conftest.$ac_ext >&5
5022
 
 
5023
 
continue
5024
 
fi
5025
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5026
 
  cat >conftest.$ac_ext <<_ACEOF
5027
 
/* confdefs.h.  */
5028
 
_ACEOF
5029
 
cat confdefs.h >>conftest.$ac_ext
5030
 
cat >>conftest.$ac_ext <<_ACEOF
5031
 
/* end confdefs.h.  */
5032
 
$ac_declaration
5033
 
int
5034
 
main ()
5035
 
{
5036
 
exit (42);
5037
 
  ;
5038
 
  return 0;
5039
 
}
5040
 
_ACEOF
5041
 
rm -f conftest.$ac_objext
5042
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043
 
  (eval $ac_compile) 2>conftest.er1
5044
 
  ac_status=$?
5045
 
  grep -v '^ *+' conftest.er1 >conftest.err
5046
 
  rm -f conftest.er1
5047
 
  cat conftest.err >&5
5048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049
 
  (exit $ac_status); } &&
5050
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052
 
  (eval $ac_try) 2>&5
5053
 
  ac_status=$?
5054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055
 
  (exit $ac_status); }; } &&
5056
 
         { ac_try='test -s conftest.$ac_objext'
5057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058
 
  (eval $ac_try) 2>&5
5059
 
  ac_status=$?
5060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061
 
  (exit $ac_status); }; }; then
5062
 
  break
5063
 
else
5064
 
  echo "$as_me: failed program was:" >&5
5065
 
sed 's/^/| /' conftest.$ac_ext >&5
5066
 
 
5067
 
fi
5068
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5069
 
done
5070
 
rm -f conftest*
5071
 
if test -n "$ac_declaration"; then
5072
 
  echo '#ifdef __cplusplus' >>confdefs.h
5073
 
  echo $ac_declaration      >>confdefs.h
5074
 
  echo '#endif'             >>confdefs.h
5075
 
fi
5076
 
 
5077
 
ac_ext=cc
 
5762
ac_ext=cpp
5078
5763
ac_cpp='$CXXCPP $CPPFLAGS'
5079
5764
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080
5765
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5082
5767
 
5083
5768
depcc="$CXX"  am_compiler_list=
5084
5769
 
5085
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5086
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5770
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5771
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5087
5772
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5088
5773
  echo $ECHO_N "(cached) $ECHO_C" >&6
5089
5774
else
5172
5857
fi
5173
5858
 
5174
5859
fi
5175
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5176
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5860
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5861
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5177
5862
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5178
5863
 
5179
5864
 
5189
5874
fi
5190
5875
 
5191
5876
 
5192
 
ac_ext=cc
 
5877
ac_ext=cpp
5193
5878
ac_cpp='$CXXCPP $CPPFLAGS'
5194
5879
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195
5880
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196
5881
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5197
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5198
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5882
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5883
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5199
5884
if test -z "$CXXCPP"; then
5200
5885
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5201
5886
  echo $ECHO_N "(cached) $ECHO_C" >&6
5225
5910
#endif
5226
5911
                     Syntax error
5227
5912
_ACEOF
5228
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5913
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5914
case "(($ac_try" in
 
5915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5916
  *) ac_try_echo=$ac_try;;
 
5917
esac
 
5918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5919
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5230
5920
  ac_status=$?
5231
5921
  grep -v '^ *+' conftest.er1 >conftest.err
5232
5922
  rm -f conftest.er1
5233
5923
  cat conftest.err >&5
5234
5924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235
 
  (exit $ac_status); } >/dev/null; then
5236
 
  if test -s conftest.err; then
5237
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5238
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5239
 
  else
5240
 
    ac_cpp_err=
5241
 
  fi
5242
 
else
5243
 
  ac_cpp_err=yes
5244
 
fi
5245
 
if test -z "$ac_cpp_err"; then
 
5925
  (exit $ac_status); } >/dev/null && {
 
5926
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5927
         test ! -s conftest.err
 
5928
       }; then
5246
5929
  :
5247
5930
else
5248
5931
  echo "$as_me: failed program was:" >&5
5251
5934
  # Broken: fails on valid input.
5252
5935
continue
5253
5936
fi
 
5937
 
5254
5938
rm -f conftest.err conftest.$ac_ext
5255
5939
 
5256
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5940
  # OK, works on sane cases.  Now check whether nonexistent headers
5257
5941
  # can be detected and how.
5258
5942
  cat >conftest.$ac_ext <<_ACEOF
5259
5943
/* confdefs.h.  */
5263
5947
/* end confdefs.h.  */
5264
5948
#include <ac_nonexistent.h>
5265
5949
_ACEOF
5266
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5950
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5951
case "(($ac_try" in
 
5952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5953
  *) ac_try_echo=$ac_try;;
 
5954
esac
 
5955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5956
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5268
5957
  ac_status=$?
5269
5958
  grep -v '^ *+' conftest.er1 >conftest.err
5270
5959
  rm -f conftest.er1
5271
5960
  cat conftest.err >&5
5272
5961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273
 
  (exit $ac_status); } >/dev/null; then
5274
 
  if test -s conftest.err; then
5275
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5276
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5277
 
  else
5278
 
    ac_cpp_err=
5279
 
  fi
5280
 
else
5281
 
  ac_cpp_err=yes
5282
 
fi
5283
 
if test -z "$ac_cpp_err"; then
 
5962
  (exit $ac_status); } >/dev/null && {
 
5963
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5964
         test ! -s conftest.err
 
5965
       }; then
5284
5966
  # Broken: success on invalid input.
5285
5967
continue
5286
5968
else
5291
5973
ac_preproc_ok=:
5292
5974
break
5293
5975
fi
 
5976
 
5294
5977
rm -f conftest.err conftest.$ac_ext
5295
5978
 
5296
5979
done
5308
5991
else
5309
5992
  ac_cv_prog_CXXCPP=$CXXCPP
5310
5993
fi
5311
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5312
 
echo "${ECHO_T}$CXXCPP" >&6
 
5994
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5995
echo "${ECHO_T}$CXXCPP" >&6; }
5313
5996
ac_preproc_ok=false
5314
5997
for ac_cxx_preproc_warn_flag in '' yes
5315
5998
do
5332
6015
#endif
5333
6016
                     Syntax error
5334
6017
_ACEOF
5335
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5336
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6018
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6019
case "(($ac_try" in
 
6020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6021
  *) ac_try_echo=$ac_try;;
 
6022
esac
 
6023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6024
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5337
6025
  ac_status=$?
5338
6026
  grep -v '^ *+' conftest.er1 >conftest.err
5339
6027
  rm -f conftest.er1
5340
6028
  cat conftest.err >&5
5341
6029
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342
 
  (exit $ac_status); } >/dev/null; then
5343
 
  if test -s conftest.err; then
5344
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5345
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5346
 
  else
5347
 
    ac_cpp_err=
5348
 
  fi
5349
 
else
5350
 
  ac_cpp_err=yes
5351
 
fi
5352
 
if test -z "$ac_cpp_err"; then
 
6030
  (exit $ac_status); } >/dev/null && {
 
6031
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6032
         test ! -s conftest.err
 
6033
       }; then
5353
6034
  :
5354
6035
else
5355
6036
  echo "$as_me: failed program was:" >&5
5358
6039
  # Broken: fails on valid input.
5359
6040
continue
5360
6041
fi
 
6042
 
5361
6043
rm -f conftest.err conftest.$ac_ext
5362
6044
 
5363
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
6045
  # OK, works on sane cases.  Now check whether nonexistent headers
5364
6046
  # can be detected and how.
5365
6047
  cat >conftest.$ac_ext <<_ACEOF
5366
6048
/* confdefs.h.  */
5370
6052
/* end confdefs.h.  */
5371
6053
#include <ac_nonexistent.h>
5372
6054
_ACEOF
5373
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5374
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
6055
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6056
case "(($ac_try" in
 
6057
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6058
  *) ac_try_echo=$ac_try;;
 
6059
esac
 
6060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6061
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5375
6062
  ac_status=$?
5376
6063
  grep -v '^ *+' conftest.er1 >conftest.err
5377
6064
  rm -f conftest.er1
5378
6065
  cat conftest.err >&5
5379
6066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380
 
  (exit $ac_status); } >/dev/null; then
5381
 
  if test -s conftest.err; then
5382
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5383
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5384
 
  else
5385
 
    ac_cpp_err=
5386
 
  fi
5387
 
else
5388
 
  ac_cpp_err=yes
5389
 
fi
5390
 
if test -z "$ac_cpp_err"; then
 
6067
  (exit $ac_status); } >/dev/null && {
 
6068
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6069
         test ! -s conftest.err
 
6070
       }; then
5391
6071
  # Broken: success on invalid input.
5392
6072
continue
5393
6073
else
5398
6078
ac_preproc_ok=:
5399
6079
break
5400
6080
fi
 
6081
 
5401
6082
rm -f conftest.err conftest.$ac_ext
5402
6083
 
5403
6084
done
5413
6094
   { (exit 1); exit 1; }; }
5414
6095
fi
5415
6096
 
5416
 
ac_ext=cc
 
6097
ac_ext=cpp
5417
6098
ac_cpp='$CXXCPP $CPPFLAGS'
5418
6099
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5419
6100
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425
6106
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5426
6107
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5427
6108
if test -n "$ac_tool_prefix"; then
5428
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6109
  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
5429
6110
  do
5430
6111
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5431
6112
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5432
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5433
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6113
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6114
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5434
6115
if test "${ac_cv_prog_F77+set}" = set; then
5435
6116
  echo $ECHO_N "(cached) $ECHO_C" >&6
5436
6117
else
5443
6124
  IFS=$as_save_IFS
5444
6125
  test -z "$as_dir" && as_dir=.
5445
6126
  for ac_exec_ext in '' $ac_executable_extensions; do
5446
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5447
6128
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5448
6129
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5449
6130
    break 2
5450
6131
  fi
5451
6132
done
5452
6133
done
 
6134
IFS=$as_save_IFS
5453
6135
 
5454
6136
fi
5455
6137
fi
5456
6138
F77=$ac_cv_prog_F77
5457
6139
if test -n "$F77"; then
5458
 
  echo "$as_me:$LINENO: result: $F77" >&5
5459
 
echo "${ECHO_T}$F77" >&6
 
6140
  { echo "$as_me:$LINENO: result: $F77" >&5
 
6141
echo "${ECHO_T}$F77" >&6; }
5460
6142
else
5461
 
  echo "$as_me:$LINENO: result: no" >&5
5462
 
echo "${ECHO_T}no" >&6
 
6143
  { echo "$as_me:$LINENO: result: no" >&5
 
6144
echo "${ECHO_T}no" >&6; }
5463
6145
fi
5464
6146
 
 
6147
 
5465
6148
    test -n "$F77" && break
5466
6149
  done
5467
6150
fi
5468
6151
if test -z "$F77"; then
5469
6152
  ac_ct_F77=$F77
5470
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
6153
  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
5471
6154
do
5472
6155
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5473
6156
set dummy $ac_prog; ac_word=$2
5474
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5475
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6157
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6158
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5476
6159
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5477
6160
  echo $ECHO_N "(cached) $ECHO_C" >&6
5478
6161
else
5485
6168
  IFS=$as_save_IFS
5486
6169
  test -z "$as_dir" && as_dir=.
5487
6170
  for ac_exec_ext in '' $ac_executable_extensions; do
5488
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6171
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5489
6172
    ac_cv_prog_ac_ct_F77="$ac_prog"
5490
6173
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5491
6174
    break 2
5492
6175
  fi
5493
6176
done
5494
6177
done
 
6178
IFS=$as_save_IFS
5495
6179
 
5496
6180
fi
5497
6181
fi
5498
6182
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5499
6183
if test -n "$ac_ct_F77"; then
5500
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5501
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6184
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6185
echo "${ECHO_T}$ac_ct_F77" >&6; }
5502
6186
else
5503
 
  echo "$as_me:$LINENO: result: no" >&5
5504
 
echo "${ECHO_T}no" >&6
 
6187
  { echo "$as_me:$LINENO: result: no" >&5
 
6188
echo "${ECHO_T}no" >&6; }
5505
6189
fi
5506
6190
 
 
6191
 
5507
6192
  test -n "$ac_ct_F77" && break
5508
6193
done
5509
6194
 
5510
 
  F77=$ac_ct_F77
 
6195
  if test "x$ac_ct_F77" = x; then
 
6196
    F77=""
 
6197
  else
 
6198
    case $cross_compiling:$ac_tool_warned in
 
6199
yes:)
 
6200
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6201
whose name does not start with the host triplet.  If you think this
 
6202
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6203
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6204
whose name does not start with the host triplet.  If you think this
 
6205
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6206
ac_tool_warned=yes ;;
 
6207
esac
 
6208
    F77=$ac_ct_F77
 
6209
  fi
5511
6210
fi
5512
6211
 
5513
6212
 
5514
6213
# Provide some information about the compiler.
5515
 
echo "$as_me:5515:" \
5516
 
     "checking for Fortran 77 compiler version" >&5
 
6214
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5517
6215
ac_compiler=`set X $ac_compile; echo $2`
5518
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5519
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5520
 
  ac_status=$?
5521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522
 
  (exit $ac_status); }
5523
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5524
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5525
 
  ac_status=$?
5526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527
 
  (exit $ac_status); }
5528
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5529
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6216
{ (ac_try="$ac_compiler --version >&5"
 
6217
case "(($ac_try" in
 
6218
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6219
  *) ac_try_echo=$ac_try;;
 
6220
esac
 
6221
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6222
  (eval "$ac_compiler --version >&5") 2>&5
 
6223
  ac_status=$?
 
6224
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6225
  (exit $ac_status); }
 
6226
{ (ac_try="$ac_compiler -v >&5"
 
6227
case "(($ac_try" in
 
6228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6229
  *) ac_try_echo=$ac_try;;
 
6230
esac
 
6231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6232
  (eval "$ac_compiler -v >&5") 2>&5
 
6233
  ac_status=$?
 
6234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6235
  (exit $ac_status); }
 
6236
{ (ac_try="$ac_compiler -V >&5"
 
6237
case "(($ac_try" in
 
6238
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6239
  *) ac_try_echo=$ac_try;;
 
6240
esac
 
6241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6242
  (eval "$ac_compiler -V >&5") 2>&5
5530
6243
  ac_status=$?
5531
6244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532
6245
  (exit $ac_status); }
5536
6249
# input file.  (Note that this only needs to work for GNU compilers.)
5537
6250
ac_save_ext=$ac_ext
5538
6251
ac_ext=F
5539
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5540
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6252
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6253
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5541
6254
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5542
6255
  echo $ECHO_N "(cached) $ECHO_C" >&6
5543
6256
else
5550
6263
      end
5551
6264
_ACEOF
5552
6265
rm -f conftest.$ac_objext
5553
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554
 
  (eval $ac_compile) 2>conftest.er1
 
6266
if { (ac_try="$ac_compile"
 
6267
case "(($ac_try" in
 
6268
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6269
  *) ac_try_echo=$ac_try;;
 
6270
esac
 
6271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6272
  (eval "$ac_compile") 2>conftest.er1
5555
6273
  ac_status=$?
5556
6274
  grep -v '^ *+' conftest.er1 >conftest.err
5557
6275
  rm -f conftest.er1
5558
6276
  cat conftest.err >&5
5559
6277
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560
 
  (exit $ac_status); } &&
5561
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563
 
  (eval $ac_try) 2>&5
5564
 
  ac_status=$?
5565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566
 
  (exit $ac_status); }; } &&
5567
 
         { ac_try='test -s conftest.$ac_objext'
5568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569
 
  (eval $ac_try) 2>&5
5570
 
  ac_status=$?
5571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572
 
  (exit $ac_status); }; }; then
 
6278
  (exit $ac_status); } && {
 
6279
         test -z "$ac_f77_werror_flag" ||
 
6280
         test ! -s conftest.err
 
6281
       } && test -s conftest.$ac_objext; then
5573
6282
  ac_compiler_gnu=yes
5574
6283
else
5575
6284
  echo "$as_me: failed program was:" >&5
5576
6285
sed 's/^/| /' conftest.$ac_ext >&5
5577
6286
 
5578
 
ac_compiler_gnu=no
 
6287
        ac_compiler_gnu=no
5579
6288
fi
5580
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6289
 
 
6290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581
6291
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5582
6292
 
5583
6293
fi
5584
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5585
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6294
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6295
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5586
6296
ac_ext=$ac_save_ext
5587
6297
ac_test_FFLAGS=${FFLAGS+set}
5588
6298
ac_save_FFLAGS=$FFLAGS
5589
6299
FFLAGS=
5590
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5591
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6300
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6301
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5592
6302
if test "${ac_cv_prog_f77_g+set}" = set; then
5593
6303
  echo $ECHO_N "(cached) $ECHO_C" >&6
5594
6304
else
5599
6309
      end
5600
6310
_ACEOF
5601
6311
rm -f conftest.$ac_objext
5602
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5603
 
  (eval $ac_compile) 2>conftest.er1
 
6312
if { (ac_try="$ac_compile"
 
6313
case "(($ac_try" in
 
6314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6315
  *) ac_try_echo=$ac_try;;
 
6316
esac
 
6317
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6318
  (eval "$ac_compile") 2>conftest.er1
5604
6319
  ac_status=$?
5605
6320
  grep -v '^ *+' conftest.er1 >conftest.err
5606
6321
  rm -f conftest.er1
5607
6322
  cat conftest.err >&5
5608
6323
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609
 
  (exit $ac_status); } &&
5610
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5611
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612
 
  (eval $ac_try) 2>&5
5613
 
  ac_status=$?
5614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615
 
  (exit $ac_status); }; } &&
5616
 
         { ac_try='test -s conftest.$ac_objext'
5617
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618
 
  (eval $ac_try) 2>&5
5619
 
  ac_status=$?
5620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621
 
  (exit $ac_status); }; }; then
 
6324
  (exit $ac_status); } && {
 
6325
         test -z "$ac_f77_werror_flag" ||
 
6326
         test ! -s conftest.err
 
6327
       } && test -s conftest.$ac_objext; then
5622
6328
  ac_cv_prog_f77_g=yes
5623
6329
else
5624
6330
  echo "$as_me: failed program was:" >&5
5625
6331
sed 's/^/| /' conftest.$ac_ext >&5
5626
6332
 
5627
 
ac_cv_prog_f77_g=no
5628
 
fi
5629
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5630
 
 
5631
 
fi
5632
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5633
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6333
        ac_cv_prog_f77_g=no
 
6334
fi
 
6335
 
 
6336
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6337
 
 
6338
fi
 
6339
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6340
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5634
6341
if test "$ac_test_FFLAGS" = set; then
5635
6342
  FFLAGS=$ac_save_FFLAGS
5636
6343
elif test $ac_cv_prog_f77_g = yes; then
5659
6366
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5660
6367
 
5661
6368
# find the maximum length of command line arguments
5662
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5663
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6369
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6370
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5664
6371
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5665
6372
  echo $ECHO_N "(cached) $ECHO_C" >&6
5666
6373
else
5724
6431
fi
5725
6432
 
5726
6433
if test -n $lt_cv_sys_max_cmd_len ; then
5727
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5728
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6434
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6435
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5729
6436
else
5730
 
  echo "$as_me:$LINENO: result: none" >&5
5731
 
echo "${ECHO_T}none" >&6
 
6437
  { echo "$as_me:$LINENO: result: none" >&5
 
6438
echo "${ECHO_T}none" >&6; }
5732
6439
fi
5733
6440
 
5734
6441
 
5735
6442
 
5736
6443
 
5737
6444
# Check for command to grab the raw symbol name followed by C symbol from nm.
5738
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5739
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6445
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6446
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5740
6447
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5741
6448
  echo $ECHO_N "(cached) $ECHO_C" >&6
5742
6449
else
5924
6631
  lt_cv_sys_global_symbol_to_cdecl=
5925
6632
fi
5926
6633
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5927
 
  echo "$as_me:$LINENO: result: failed" >&5
5928
 
echo "${ECHO_T}failed" >&6
 
6634
  { echo "$as_me:$LINENO: result: failed" >&5
 
6635
echo "${ECHO_T}failed" >&6; }
5929
6636
else
5930
 
  echo "$as_me:$LINENO: result: ok" >&5
5931
 
echo "${ECHO_T}ok" >&6
 
6637
  { echo "$as_me:$LINENO: result: ok" >&5
 
6638
echo "${ECHO_T}ok" >&6; }
5932
6639
fi
5933
6640
 
5934
 
echo "$as_me:$LINENO: checking for objdir" >&5
5935
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6641
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6642
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5936
6643
if test "${lt_cv_objdir+set}" = set; then
5937
6644
  echo $ECHO_N "(cached) $ECHO_C" >&6
5938
6645
else
5946
6653
fi
5947
6654
rmdir .libs 2>/dev/null
5948
6655
fi
5949
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5950
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6656
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6657
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5951
6658
objdir=$lt_cv_objdir
5952
6659
 
5953
6660
 
5998
6705
if test -n "$ac_tool_prefix"; then
5999
6706
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6000
6707
set dummy ${ac_tool_prefix}ar; ac_word=$2
6001
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6002
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6708
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6709
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6003
6710
if test "${ac_cv_prog_AR+set}" = set; then
6004
6711
  echo $ECHO_N "(cached) $ECHO_C" >&6
6005
6712
else
6012
6719
  IFS=$as_save_IFS
6013
6720
  test -z "$as_dir" && as_dir=.
6014
6721
  for ac_exec_ext in '' $ac_executable_extensions; do
6015
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6722
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016
6723
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6017
6724
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018
6725
    break 2
6019
6726
  fi
6020
6727
done
6021
6728
done
 
6729
IFS=$as_save_IFS
6022
6730
 
6023
6731
fi
6024
6732
fi
6025
6733
AR=$ac_cv_prog_AR
6026
6734
if test -n "$AR"; then
6027
 
  echo "$as_me:$LINENO: result: $AR" >&5
6028
 
echo "${ECHO_T}$AR" >&6
 
6735
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6736
echo "${ECHO_T}$AR" >&6; }
6029
6737
else
6030
 
  echo "$as_me:$LINENO: result: no" >&5
6031
 
echo "${ECHO_T}no" >&6
 
6738
  { echo "$as_me:$LINENO: result: no" >&5
 
6739
echo "${ECHO_T}no" >&6; }
6032
6740
fi
 
6741
 
6033
6742
 
6034
6743
fi
6035
6744
if test -z "$ac_cv_prog_AR"; then
6036
6745
  ac_ct_AR=$AR
6037
6746
  # Extract the first word of "ar", so it can be a program name with args.
6038
6747
set dummy ar; ac_word=$2
6039
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6040
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6748
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6749
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6041
6750
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6042
6751
  echo $ECHO_N "(cached) $ECHO_C" >&6
6043
6752
else
6050
6759
  IFS=$as_save_IFS
6051
6760
  test -z "$as_dir" && as_dir=.
6052
6761
  for ac_exec_ext in '' $ac_executable_extensions; do
6053
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054
6763
    ac_cv_prog_ac_ct_AR="ar"
6055
6764
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6056
6765
    break 2
6057
6766
  fi
6058
6767
done
6059
6768
done
 
6769
IFS=$as_save_IFS
6060
6770
 
6061
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6062
6771
fi
6063
6772
fi
6064
6773
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6065
6774
if test -n "$ac_ct_AR"; then
6066
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6067
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6775
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6776
echo "${ECHO_T}$ac_ct_AR" >&6; }
6068
6777
else
6069
 
  echo "$as_me:$LINENO: result: no" >&5
6070
 
echo "${ECHO_T}no" >&6
 
6778
  { echo "$as_me:$LINENO: result: no" >&5
 
6779
echo "${ECHO_T}no" >&6; }
6071
6780
fi
6072
6781
 
6073
 
  AR=$ac_ct_AR
 
6782
  if test "x$ac_ct_AR" = x; then
 
6783
    AR="false"
 
6784
  else
 
6785
    case $cross_compiling:$ac_tool_warned in
 
6786
yes:)
 
6787
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6788
whose name does not start with the host triplet.  If you think this
 
6789
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6790
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6791
whose name does not start with the host triplet.  If you think this
 
6792
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6793
ac_tool_warned=yes ;;
 
6794
esac
 
6795
    AR=$ac_ct_AR
 
6796
  fi
6074
6797
else
6075
6798
  AR="$ac_cv_prog_AR"
6076
6799
fi
6078
6801
if test -n "$ac_tool_prefix"; then
6079
6802
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080
6803
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6082
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6804
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6083
6806
if test "${ac_cv_prog_RANLIB+set}" = set; then
6084
6807
  echo $ECHO_N "(cached) $ECHO_C" >&6
6085
6808
else
6092
6815
  IFS=$as_save_IFS
6093
6816
  test -z "$as_dir" && as_dir=.
6094
6817
  for ac_exec_ext in '' $ac_executable_extensions; do
6095
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6818
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096
6819
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097
6820
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6098
6821
    break 2
6099
6822
  fi
6100
6823
done
6101
6824
done
 
6825
IFS=$as_save_IFS
6102
6826
 
6103
6827
fi
6104
6828
fi
6105
6829
RANLIB=$ac_cv_prog_RANLIB
6106
6830
if test -n "$RANLIB"; then
6107
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6108
 
echo "${ECHO_T}$RANLIB" >&6
 
6831
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6832
echo "${ECHO_T}$RANLIB" >&6; }
6109
6833
else
6110
 
  echo "$as_me:$LINENO: result: no" >&5
6111
 
echo "${ECHO_T}no" >&6
 
6834
  { echo "$as_me:$LINENO: result: no" >&5
 
6835
echo "${ECHO_T}no" >&6; }
6112
6836
fi
 
6837
 
6113
6838
 
6114
6839
fi
6115
6840
if test -z "$ac_cv_prog_RANLIB"; then
6116
6841
  ac_ct_RANLIB=$RANLIB
6117
6842
  # Extract the first word of "ranlib", so it can be a program name with args.
6118
6843
set dummy ranlib; ac_word=$2
6119
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6120
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6844
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121
6846
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6122
6847
  echo $ECHO_N "(cached) $ECHO_C" >&6
6123
6848
else
6130
6855
  IFS=$as_save_IFS
6131
6856
  test -z "$as_dir" && as_dir=.
6132
6857
  for ac_exec_ext in '' $ac_executable_extensions; do
6133
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6858
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134
6859
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6135
6860
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136
6861
    break 2
6137
6862
  fi
6138
6863
done
6139
6864
done
 
6865
IFS=$as_save_IFS
6140
6866
 
6141
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6142
6867
fi
6143
6868
fi
6144
6869
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6145
6870
if test -n "$ac_ct_RANLIB"; then
6146
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6147
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6871
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6872
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6148
6873
else
6149
 
  echo "$as_me:$LINENO: result: no" >&5
6150
 
echo "${ECHO_T}no" >&6
 
6874
  { echo "$as_me:$LINENO: result: no" >&5
 
6875
echo "${ECHO_T}no" >&6; }
6151
6876
fi
6152
6877
 
6153
 
  RANLIB=$ac_ct_RANLIB
 
6878
  if test "x$ac_ct_RANLIB" = x; then
 
6879
    RANLIB=":"
 
6880
  else
 
6881
    case $cross_compiling:$ac_tool_warned in
 
6882
yes:)
 
6883
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6884
whose name does not start with the host triplet.  If you think this
 
6885
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6886
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6887
whose name does not start with the host triplet.  If you think this
 
6888
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6889
ac_tool_warned=yes ;;
 
6890
esac
 
6891
    RANLIB=$ac_ct_RANLIB
 
6892
  fi
6154
6893
else
6155
6894
  RANLIB="$ac_cv_prog_RANLIB"
6156
6895
fi
6158
6897
if test -n "$ac_tool_prefix"; then
6159
6898
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6160
6899
set dummy ${ac_tool_prefix}strip; ac_word=$2
6161
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6162
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6900
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6901
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6163
6902
if test "${ac_cv_prog_STRIP+set}" = set; then
6164
6903
  echo $ECHO_N "(cached) $ECHO_C" >&6
6165
6904
else
6172
6911
  IFS=$as_save_IFS
6173
6912
  test -z "$as_dir" && as_dir=.
6174
6913
  for ac_exec_ext in '' $ac_executable_extensions; do
6175
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6176
6915
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6177
6916
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6178
6917
    break 2
6179
6918
  fi
6180
6919
done
6181
6920
done
 
6921
IFS=$as_save_IFS
6182
6922
 
6183
6923
fi
6184
6924
fi
6185
6925
STRIP=$ac_cv_prog_STRIP
6186
6926
if test -n "$STRIP"; then
6187
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6188
 
echo "${ECHO_T}$STRIP" >&6
 
6927
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6928
echo "${ECHO_T}$STRIP" >&6; }
6189
6929
else
6190
 
  echo "$as_me:$LINENO: result: no" >&5
6191
 
echo "${ECHO_T}no" >&6
 
6930
  { echo "$as_me:$LINENO: result: no" >&5
 
6931
echo "${ECHO_T}no" >&6; }
6192
6932
fi
 
6933
 
6193
6934
 
6194
6935
fi
6195
6936
if test -z "$ac_cv_prog_STRIP"; then
6196
6937
  ac_ct_STRIP=$STRIP
6197
6938
  # Extract the first word of "strip", so it can be a program name with args.
6198
6939
set dummy strip; ac_word=$2
6199
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6200
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6940
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6941
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6201
6942
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6202
6943
  echo $ECHO_N "(cached) $ECHO_C" >&6
6203
6944
else
6210
6951
  IFS=$as_save_IFS
6211
6952
  test -z "$as_dir" && as_dir=.
6212
6953
  for ac_exec_ext in '' $ac_executable_extensions; do
6213
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6954
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214
6955
    ac_cv_prog_ac_ct_STRIP="strip"
6215
6956
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6216
6957
    break 2
6217
6958
  fi
6218
6959
done
6219
6960
done
 
6961
IFS=$as_save_IFS
6220
6962
 
6221
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6222
6963
fi
6223
6964
fi
6224
6965
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6225
6966
if test -n "$ac_ct_STRIP"; then
6226
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6227
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6967
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6968
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6228
6969
else
6229
 
  echo "$as_me:$LINENO: result: no" >&5
6230
 
echo "${ECHO_T}no" >&6
 
6970
  { echo "$as_me:$LINENO: result: no" >&5
 
6971
echo "${ECHO_T}no" >&6; }
6231
6972
fi
6232
6973
 
6233
 
  STRIP=$ac_ct_STRIP
 
6974
  if test "x$ac_ct_STRIP" = x; then
 
6975
    STRIP=":"
 
6976
  else
 
6977
    case $cross_compiling:$ac_tool_warned in
 
6978
yes:)
 
6979
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6980
whose name does not start with the host triplet.  If you think this
 
6981
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6982
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6983
whose name does not start with the host triplet.  If you think this
 
6984
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6985
ac_tool_warned=yes ;;
 
6986
esac
 
6987
    STRIP=$ac_ct_STRIP
 
6988
  fi
6234
6989
else
6235
6990
  STRIP="$ac_cv_prog_STRIP"
6236
6991
fi
6277
7032
case $deplibs_check_method in
6278
7033
file_magic*)
6279
7034
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6280
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6281
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
7035
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7036
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6282
7037
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6283
7038
  echo $ECHO_N "(cached) $ECHO_C" >&6
6284
7039
else
6330
7085
 
6331
7086
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6332
7087
if test -n "$MAGIC_CMD"; then
6333
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6334
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7088
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7089
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6335
7090
else
6336
 
  echo "$as_me:$LINENO: result: no" >&5
6337
 
echo "${ECHO_T}no" >&6
 
7091
  { echo "$as_me:$LINENO: result: no" >&5
 
7092
echo "${ECHO_T}no" >&6; }
6338
7093
fi
6339
7094
 
6340
7095
if test -z "$lt_cv_path_MAGIC_CMD"; then
6341
7096
  if test -n "$ac_tool_prefix"; then
6342
 
    echo "$as_me:$LINENO: checking for file" >&5
6343
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
7097
    { echo "$as_me:$LINENO: checking for file" >&5
 
7098
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6344
7099
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6345
7100
  echo $ECHO_N "(cached) $ECHO_C" >&6
6346
7101
else
6392
7147
 
6393
7148
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6394
7149
if test -n "$MAGIC_CMD"; then
6395
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6396
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7150
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7151
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6397
7152
else
6398
 
  echo "$as_me:$LINENO: result: no" >&5
6399
 
echo "${ECHO_T}no" >&6
 
7153
  { echo "$as_me:$LINENO: result: no" >&5
 
7154
echo "${ECHO_T}no" >&6; }
6400
7155
fi
6401
7156
 
6402
7157
  else
6411
7166
enable_dlopen=no
6412
7167
enable_win32_dll=no
6413
7168
 
6414
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7169
# Check whether --enable-libtool-lock was given.
6415
7170
if test "${enable_libtool_lock+set}" = set; then
6416
 
  enableval="$enable_libtool_lock"
 
7171
  enableval=$enable_libtool_lock;
 
7172
fi
6417
7173
 
6418
 
fi;
6419
7174
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6420
7175
 
6421
7176
 
6422
 
# Check whether --with-pic or --without-pic was given.
 
7177
# Check whether --with-pic was given.
6423
7178
if test "${with_pic+set}" = set; then
6424
 
  withval="$with_pic"
6425
 
  pic_mode="$withval"
 
7179
  withval=$with_pic; pic_mode="$withval"
6426
7180
else
6427
7181
  pic_mode=default
6428
 
fi;
 
7182
fi
 
7183
 
6429
7184
test -z "$pic_mode" && pic_mode=default
6430
7185
 
6431
7186
# Use C for the default configuration in the libtool script
6485
7240
#
6486
7241
# Check to make sure the static flag actually works.
6487
7242
#
6488
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6489
 
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
 
7243
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
 
7244
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
6490
7245
if test "${lt_prog_compiler_static_works+set}" = set; then
6491
7246
  echo $ECHO_N "(cached) $ECHO_C" >&6
6492
7247
else
6508
7263
   LDFLAGS="$save_LDFLAGS"
6509
7264
 
6510
7265
fi
6511
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6512
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7266
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
 
7267
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6513
7268
 
6514
7269
if test x"$lt_prog_compiler_static_works" = xyes; then
6515
7270
    :
6526
7281
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6527
7282
 
6528
7283
 
6529
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6530
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7284
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7285
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6531
7286
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6532
7287
  echo $ECHO_N "(cached) $ECHO_C" >&6
6533
7288
else
6544
7299
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6545
7300
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6546
7301
   -e 's:$: $lt_compiler_flag:'`
6547
 
   (eval echo "\"\$as_me:6547: $lt_compile\"" >&5)
 
7302
   (eval echo "\"\$as_me:7302: $lt_compile\"" >&5)
6548
7303
   (eval "$lt_compile" 2>conftest.err)
6549
7304
   ac_status=$?
6550
7305
   cat conftest.err >&5
6551
 
   echo "$as_me:6551: \$? = $ac_status" >&5
 
7306
   echo "$as_me:7306: \$? = $ac_status" >&5
6552
7307
   if (exit $ac_status) && test -s "$ac_outfile"; then
6553
7308
     # The compiler can only warn and ignore the option if not recognized
6554
7309
     # So say no if there are warnings
6559
7314
   $rm conftest*
6560
7315
 
6561
7316
fi
6562
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6563
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7317
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7318
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6564
7319
 
6565
7320
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6566
7321
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6574
7329
lt_prog_compiler_pic=
6575
7330
lt_prog_compiler_static=
6576
7331
 
6577
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6578
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7332
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7333
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6579
7334
 
6580
7335
  if test "$GCC" = yes; then
6581
7336
    lt_prog_compiler_wl='-Wl,'
6751
7506
    esac
6752
7507
  fi
6753
7508
 
6754
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6755
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7509
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7510
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6756
7511
 
6757
7512
#
6758
7513
# Check to make sure the PIC flag actually works.
6759
7514
#
6760
7515
if test -n "$lt_prog_compiler_pic"; then
6761
7516
 
6762
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6763
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
 
7517
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7518
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6764
7519
if test "${lt_prog_compiler_pic_works+set}" = set; then
6765
7520
  echo $ECHO_N "(cached) $ECHO_C" >&6
6766
7521
else
6777
7532
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6778
7533
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6779
7534
   -e 's:$: $lt_compiler_flag:'`
6780
 
   (eval echo "\"\$as_me:6780: $lt_compile\"" >&5)
 
7535
   (eval echo "\"\$as_me:7535: $lt_compile\"" >&5)
6781
7536
   (eval "$lt_compile" 2>conftest.err)
6782
7537
   ac_status=$?
6783
7538
   cat conftest.err >&5
6784
 
   echo "$as_me:6784: \$? = $ac_status" >&5
 
7539
   echo "$as_me:7539: \$? = $ac_status" >&5
6785
7540
   if (exit $ac_status) && test -s "$ac_outfile"; then
6786
7541
     # The compiler can only warn and ignore the option if not recognized
6787
7542
     # So say no if there are warnings
6792
7547
   $rm conftest*
6793
7548
 
6794
7549
fi
6795
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6796
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7550
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
 
7551
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6797
7552
 
6798
7553
if test x"$lt_prog_compiler_pic_works" = xyes; then
6799
7554
    case $lt_prog_compiler_pic in
6816
7571
    ;;
6817
7572
esac
6818
7573
 
6819
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6820
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7574
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7575
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6821
7576
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6822
7577
  echo $ECHO_N "(cached) $ECHO_C" >&6
6823
7578
else
6837
7592
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6838
7593
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6839
7594
   -e 's:$: $lt_compiler_flag:'`
6840
 
   (eval echo "\"\$as_me:6840: $lt_compile\"" >&5)
 
7595
   (eval echo "\"\$as_me:7595: $lt_compile\"" >&5)
6841
7596
   (eval "$lt_compile" 2>out/conftest.err)
6842
7597
   ac_status=$?
6843
7598
   cat out/conftest.err >&5
6844
 
   echo "$as_me:6844: \$? = $ac_status" >&5
 
7599
   echo "$as_me:7599: \$? = $ac_status" >&5
6845
7600
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6846
7601
   then
6847
7602
     # The compiler can only warn and ignore the option if not recognized
6861
7616
   $rm conftest*
6862
7617
 
6863
7618
fi
6864
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6865
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7619
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7620
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6866
7621
 
6867
7622
 
6868
7623
hard_links="nottested"
6869
7624
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6870
7625
  # do not overwrite the value of need_locks provided by the user
6871
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6872
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7626
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7627
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6873
7628
  hard_links=yes
6874
7629
  $rm conftest*
6875
7630
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6876
7631
  touch conftest.a
6877
7632
  ln conftest.a conftest.b 2>&5 || hard_links=no
6878
7633
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6879
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6880
 
echo "${ECHO_T}$hard_links" >&6
 
7634
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7635
echo "${ECHO_T}$hard_links" >&6; }
6881
7636
  if test "$hard_links" = no; then
6882
7637
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6883
7638
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6887
7642
  need_locks=no
6888
7643
fi
6889
7644
 
6890
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6891
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7645
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7646
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6892
7647
 
6893
7648
  runpath_var=
6894
7649
  allow_undefined_flag=
7221
7976
}
7222
7977
_ACEOF
7223
7978
rm -f conftest.$ac_objext conftest$ac_exeext
7224
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7225
 
  (eval $ac_link) 2>conftest.er1
 
7979
if { (ac_try="$ac_link"
 
7980
case "(($ac_try" in
 
7981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7982
  *) ac_try_echo=$ac_try;;
 
7983
esac
 
7984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7985
  (eval "$ac_link") 2>conftest.er1
7226
7986
  ac_status=$?
7227
7987
  grep -v '^ *+' conftest.er1 >conftest.err
7228
7988
  rm -f conftest.er1
7229
7989
  cat conftest.err >&5
7230
7990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231
 
  (exit $ac_status); } &&
7232
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234
 
  (eval $ac_try) 2>&5
7235
 
  ac_status=$?
7236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237
 
  (exit $ac_status); }; } &&
7238
 
         { ac_try='test -s conftest$ac_exeext'
7239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240
 
  (eval $ac_try) 2>&5
7241
 
  ac_status=$?
7242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243
 
  (exit $ac_status); }; }; then
 
7991
  (exit $ac_status); } && {
 
7992
         test -z "$ac_c_werror_flag" ||
 
7993
         test ! -s conftest.err
 
7994
       } && test -s conftest$ac_exeext &&
 
7995
       $as_test_x conftest$ac_exeext; then
7244
7996
 
7245
7997
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7246
7998
}'`
7251
8003
  echo "$as_me: failed program was:" >&5
7252
8004
sed 's/^/| /' conftest.$ac_ext >&5
7253
8005
 
 
8006
 
7254
8007
fi
7255
 
rm -f conftest.err conftest.$ac_objext \
 
8008
 
 
8009
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7256
8010
      conftest$ac_exeext conftest.$ac_ext
7257
8011
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7258
8012
 
7281
8035
}
7282
8036
_ACEOF
7283
8037
rm -f conftest.$ac_objext conftest$ac_exeext
7284
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7285
 
  (eval $ac_link) 2>conftest.er1
 
8038
if { (ac_try="$ac_link"
 
8039
case "(($ac_try" in
 
8040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8041
  *) ac_try_echo=$ac_try;;
 
8042
esac
 
8043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8044
  (eval "$ac_link") 2>conftest.er1
7286
8045
  ac_status=$?
7287
8046
  grep -v '^ *+' conftest.er1 >conftest.err
7288
8047
  rm -f conftest.er1
7289
8048
  cat conftest.err >&5
7290
8049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291
 
  (exit $ac_status); } &&
7292
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7294
 
  (eval $ac_try) 2>&5
7295
 
  ac_status=$?
7296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297
 
  (exit $ac_status); }; } &&
7298
 
         { ac_try='test -s conftest$ac_exeext'
7299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300
 
  (eval $ac_try) 2>&5
7301
 
  ac_status=$?
7302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303
 
  (exit $ac_status); }; }; then
 
8050
  (exit $ac_status); } && {
 
8051
         test -z "$ac_c_werror_flag" ||
 
8052
         test ! -s conftest.err
 
8053
       } && test -s conftest$ac_exeext &&
 
8054
       $as_test_x conftest$ac_exeext; then
7304
8055
 
7305
8056
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7306
8057
}'`
7311
8062
  echo "$as_me: failed program was:" >&5
7312
8063
sed 's/^/| /' conftest.$ac_ext >&5
7313
8064
 
 
8065
 
7314
8066
fi
7315
 
rm -f conftest.err conftest.$ac_objext \
 
8067
 
 
8068
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7316
8069
      conftest$ac_exeext conftest.$ac_ext
7317
8070
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7318
8071
 
7734
8487
    esac
7735
8488
  fi
7736
8489
 
7737
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7738
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8490
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8491
echo "${ECHO_T}$ld_shlibs" >&6; }
7739
8492
test "$ld_shlibs" = no && can_build_shared=no
7740
8493
 
7741
8494
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7760
8513
      # Test whether the compiler implicitly links with -lc since on some
7761
8514
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7762
8515
      # to ld, don't add -lc before -lgcc.
7763
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7764
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8516
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8517
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7765
8518
      $rm conftest*
7766
8519
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7767
8520
 
7797
8550
        cat conftest.err 1>&5
7798
8551
      fi
7799
8552
      $rm conftest*
7800
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7801
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8553
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8554
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7802
8555
      ;;
7803
8556
    esac
7804
8557
  fi
7805
8558
  ;;
7806
8559
esac
7807
8560
 
7808
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7809
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8561
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8562
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7810
8563
library_names_spec=
7811
8564
libname_spec='lib$name'
7812
8565
soname_spec=
8357
9110
  dynamic_linker=no
8358
9111
  ;;
8359
9112
esac
8360
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8361
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9113
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9114
echo "${ECHO_T}$dynamic_linker" >&6; }
8362
9115
test "$dynamic_linker" = no && can_build_shared=no
8363
9116
 
8364
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8365
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9117
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9118
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8366
9119
hardcode_action=
8367
9120
if test -n "$hardcode_libdir_flag_spec" || \
8368
9121
   test -n "$runpath_var " || \
8386
9139
  # directories.
8387
9140
  hardcode_action=unsupported
8388
9141
fi
8389
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8390
 
echo "${ECHO_T}$hardcode_action" >&6
 
9142
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9143
echo "${ECHO_T}$hardcode_action" >&6; }
8391
9144
 
8392
9145
if test "$hardcode_action" = relink; then
8393
9146
  # Fast installation is not supported
8400
9153
 
8401
9154
striplib=
8402
9155
old_striplib=
8403
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8404
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9156
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9157
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8405
9158
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8406
9159
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8407
9160
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8408
 
  echo "$as_me:$LINENO: result: yes" >&5
8409
 
echo "${ECHO_T}yes" >&6
 
9161
  { echo "$as_me:$LINENO: result: yes" >&5
 
9162
echo "${ECHO_T}yes" >&6; }
8410
9163
else
8411
9164
# FIXME - insert some real tests, host_os isn't really good enough
8412
9165
  case $host_os in
8413
9166
   darwin*)
8414
9167
       if test -n "$STRIP" ; then
8415
9168
         striplib="$STRIP -x"
8416
 
         echo "$as_me:$LINENO: result: yes" >&5
8417
 
echo "${ECHO_T}yes" >&6
 
9169
         { echo "$as_me:$LINENO: result: yes" >&5
 
9170
echo "${ECHO_T}yes" >&6; }
8418
9171
       else
8419
 
  echo "$as_me:$LINENO: result: no" >&5
8420
 
echo "${ECHO_T}no" >&6
 
9172
  { echo "$as_me:$LINENO: result: no" >&5
 
9173
echo "${ECHO_T}no" >&6; }
8421
9174
fi
8422
9175
       ;;
8423
9176
   *)
8424
 
  echo "$as_me:$LINENO: result: no" >&5
8425
 
echo "${ECHO_T}no" >&6
 
9177
  { echo "$as_me:$LINENO: result: no" >&5
 
9178
echo "${ECHO_T}no" >&6; }
8426
9179
    ;;
8427
9180
  esac
8428
9181
fi
8454
9207
 
8455
9208
  darwin*)
8456
9209
  # if libdl is installed we need to link against it
8457
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8458
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9210
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9211
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8459
9212
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8460
9213
  echo $ECHO_N "(cached) $ECHO_C" >&6
8461
9214
else
8468
9221
cat >>conftest.$ac_ext <<_ACEOF
8469
9222
/* end confdefs.h.  */
8470
9223
 
8471
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9224
/* Override any GCC internal prototype to avoid an error.
 
9225
   Use char because int might match the return type of a GCC
 
9226
   builtin and then its argument prototype would still apply.  */
8472
9227
#ifdef __cplusplus
8473
9228
extern "C"
8474
9229
#endif
8475
 
/* We use char because int might match the return type of a gcc2
8476
 
   builtin and then its argument prototype would still apply.  */
8477
9230
char dlopen ();
8478
9231
int
8479
9232
main ()
8480
9233
{
8481
 
dlopen ();
 
9234
return dlopen ();
8482
9235
  ;
8483
9236
  return 0;
8484
9237
}
8485
9238
_ACEOF
8486
9239
rm -f conftest.$ac_objext conftest$ac_exeext
8487
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8488
 
  (eval $ac_link) 2>conftest.er1
 
9240
if { (ac_try="$ac_link"
 
9241
case "(($ac_try" in
 
9242
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9243
  *) ac_try_echo=$ac_try;;
 
9244
esac
 
9245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9246
  (eval "$ac_link") 2>conftest.er1
8489
9247
  ac_status=$?
8490
9248
  grep -v '^ *+' conftest.er1 >conftest.err
8491
9249
  rm -f conftest.er1
8492
9250
  cat conftest.err >&5
8493
9251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494
 
  (exit $ac_status); } &&
8495
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8496
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8497
 
  (eval $ac_try) 2>&5
8498
 
  ac_status=$?
8499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500
 
  (exit $ac_status); }; } &&
8501
 
         { ac_try='test -s conftest$ac_exeext'
8502
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8503
 
  (eval $ac_try) 2>&5
8504
 
  ac_status=$?
8505
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506
 
  (exit $ac_status); }; }; then
 
9252
  (exit $ac_status); } && {
 
9253
         test -z "$ac_c_werror_flag" ||
 
9254
         test ! -s conftest.err
 
9255
       } && test -s conftest$ac_exeext &&
 
9256
       $as_test_x conftest$ac_exeext; then
8507
9257
  ac_cv_lib_dl_dlopen=yes
8508
9258
else
8509
9259
  echo "$as_me: failed program was:" >&5
8510
9260
sed 's/^/| /' conftest.$ac_ext >&5
8511
9261
 
8512
 
ac_cv_lib_dl_dlopen=no
 
9262
        ac_cv_lib_dl_dlopen=no
8513
9263
fi
8514
 
rm -f conftest.err conftest.$ac_objext \
 
9264
 
 
9265
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8515
9266
      conftest$ac_exeext conftest.$ac_ext
8516
9267
LIBS=$ac_check_lib_save_LIBS
8517
9268
fi
8518
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8519
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9269
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9270
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8520
9271
if test $ac_cv_lib_dl_dlopen = yes; then
8521
9272
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8522
9273
else
8530
9281
   ;;
8531
9282
 
8532
9283
  *)
8533
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8534
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9284
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9285
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8535
9286
if test "${ac_cv_func_shl_load+set}" = set; then
8536
9287
  echo $ECHO_N "(cached) $ECHO_C" >&6
8537
9288
else
8558
9309
 
8559
9310
#undef shl_load
8560
9311
 
8561
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9312
/* Override any GCC internal prototype to avoid an error.
 
9313
   Use char because int might match the return type of a GCC
 
9314
   builtin and then its argument prototype would still apply.  */
8562
9315
#ifdef __cplusplus
8563
9316
extern "C"
8564
 
{
8565
9317
#endif
8566
 
/* We use char because int might match the return type of a gcc2
8567
 
   builtin and then its argument prototype would still apply.  */
8568
9318
char shl_load ();
8569
9319
/* The GNU C library defines this for functions which it implements
8570
9320
    to always fail with ENOSYS.  Some functions are actually named
8571
9321
    something starting with __ and the normal name is an alias.  */
8572
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9322
#if defined __stub_shl_load || defined __stub___shl_load
8573
9323
choke me
8574
 
#else
8575
 
char (*f) () = shl_load;
8576
 
#endif
8577
 
#ifdef __cplusplus
8578
 
}
8579
9324
#endif
8580
9325
 
8581
9326
int
8582
9327
main ()
8583
9328
{
8584
 
return f != shl_load;
 
9329
return shl_load ();
8585
9330
  ;
8586
9331
  return 0;
8587
9332
}
8588
9333
_ACEOF
8589
9334
rm -f conftest.$ac_objext conftest$ac_exeext
8590
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591
 
  (eval $ac_link) 2>conftest.er1
 
9335
if { (ac_try="$ac_link"
 
9336
case "(($ac_try" in
 
9337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9338
  *) ac_try_echo=$ac_try;;
 
9339
esac
 
9340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9341
  (eval "$ac_link") 2>conftest.er1
8592
9342
  ac_status=$?
8593
9343
  grep -v '^ *+' conftest.er1 >conftest.err
8594
9344
  rm -f conftest.er1
8595
9345
  cat conftest.err >&5
8596
9346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597
 
  (exit $ac_status); } &&
8598
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8599
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600
 
  (eval $ac_try) 2>&5
8601
 
  ac_status=$?
8602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603
 
  (exit $ac_status); }; } &&
8604
 
         { ac_try='test -s conftest$ac_exeext'
8605
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606
 
  (eval $ac_try) 2>&5
8607
 
  ac_status=$?
8608
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609
 
  (exit $ac_status); }; }; then
 
9347
  (exit $ac_status); } && {
 
9348
         test -z "$ac_c_werror_flag" ||
 
9349
         test ! -s conftest.err
 
9350
       } && test -s conftest$ac_exeext &&
 
9351
       $as_test_x conftest$ac_exeext; then
8610
9352
  ac_cv_func_shl_load=yes
8611
9353
else
8612
9354
  echo "$as_me: failed program was:" >&5
8613
9355
sed 's/^/| /' conftest.$ac_ext >&5
8614
9356
 
8615
 
ac_cv_func_shl_load=no
 
9357
        ac_cv_func_shl_load=no
8616
9358
fi
8617
 
rm -f conftest.err conftest.$ac_objext \
 
9359
 
 
9360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8618
9361
      conftest$ac_exeext conftest.$ac_ext
8619
9362
fi
8620
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8621
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9363
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9364
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8622
9365
if test $ac_cv_func_shl_load = yes; then
8623
9366
  lt_cv_dlopen="shl_load"
8624
9367
else
8625
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8626
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9368
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9369
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8627
9370
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8628
9371
  echo $ECHO_N "(cached) $ECHO_C" >&6
8629
9372
else
8636
9379
cat >>conftest.$ac_ext <<_ACEOF
8637
9380
/* end confdefs.h.  */
8638
9381
 
8639
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9382
/* Override any GCC internal prototype to avoid an error.
 
9383
   Use char because int might match the return type of a GCC
 
9384
   builtin and then its argument prototype would still apply.  */
8640
9385
#ifdef __cplusplus
8641
9386
extern "C"
8642
9387
#endif
8643
 
/* We use char because int might match the return type of a gcc2
8644
 
   builtin and then its argument prototype would still apply.  */
8645
9388
char shl_load ();
8646
9389
int
8647
9390
main ()
8648
9391
{
8649
 
shl_load ();
 
9392
return shl_load ();
8650
9393
  ;
8651
9394
  return 0;
8652
9395
}
8653
9396
_ACEOF
8654
9397
rm -f conftest.$ac_objext conftest$ac_exeext
8655
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8656
 
  (eval $ac_link) 2>conftest.er1
 
9398
if { (ac_try="$ac_link"
 
9399
case "(($ac_try" in
 
9400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9401
  *) ac_try_echo=$ac_try;;
 
9402
esac
 
9403
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9404
  (eval "$ac_link") 2>conftest.er1
8657
9405
  ac_status=$?
8658
9406
  grep -v '^ *+' conftest.er1 >conftest.err
8659
9407
  rm -f conftest.er1
8660
9408
  cat conftest.err >&5
8661
9409
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662
 
  (exit $ac_status); } &&
8663
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665
 
  (eval $ac_try) 2>&5
8666
 
  ac_status=$?
8667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668
 
  (exit $ac_status); }; } &&
8669
 
         { ac_try='test -s conftest$ac_exeext'
8670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671
 
  (eval $ac_try) 2>&5
8672
 
  ac_status=$?
8673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674
 
  (exit $ac_status); }; }; then
 
9410
  (exit $ac_status); } && {
 
9411
         test -z "$ac_c_werror_flag" ||
 
9412
         test ! -s conftest.err
 
9413
       } && test -s conftest$ac_exeext &&
 
9414
       $as_test_x conftest$ac_exeext; then
8675
9415
  ac_cv_lib_dld_shl_load=yes
8676
9416
else
8677
9417
  echo "$as_me: failed program was:" >&5
8678
9418
sed 's/^/| /' conftest.$ac_ext >&5
8679
9419
 
8680
 
ac_cv_lib_dld_shl_load=no
 
9420
        ac_cv_lib_dld_shl_load=no
8681
9421
fi
8682
 
rm -f conftest.err conftest.$ac_objext \
 
9422
 
 
9423
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8683
9424
      conftest$ac_exeext conftest.$ac_ext
8684
9425
LIBS=$ac_check_lib_save_LIBS
8685
9426
fi
8686
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8687
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9427
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9428
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8688
9429
if test $ac_cv_lib_dld_shl_load = yes; then
8689
9430
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8690
9431
else
8691
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8692
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9432
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9433
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8693
9434
if test "${ac_cv_func_dlopen+set}" = set; then
8694
9435
  echo $ECHO_N "(cached) $ECHO_C" >&6
8695
9436
else
8716
9457
 
8717
9458
#undef dlopen
8718
9459
 
8719
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9460
/* Override any GCC internal prototype to avoid an error.
 
9461
   Use char because int might match the return type of a GCC
 
9462
   builtin and then its argument prototype would still apply.  */
8720
9463
#ifdef __cplusplus
8721
9464
extern "C"
8722
 
{
8723
9465
#endif
8724
 
/* We use char because int might match the return type of a gcc2
8725
 
   builtin and then its argument prototype would still apply.  */
8726
9466
char dlopen ();
8727
9467
/* The GNU C library defines this for functions which it implements
8728
9468
    to always fail with ENOSYS.  Some functions are actually named
8729
9469
    something starting with __ and the normal name is an alias.  */
8730
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9470
#if defined __stub_dlopen || defined __stub___dlopen
8731
9471
choke me
8732
 
#else
8733
 
char (*f) () = dlopen;
8734
 
#endif
8735
 
#ifdef __cplusplus
8736
 
}
8737
9472
#endif
8738
9473
 
8739
9474
int
8740
9475
main ()
8741
9476
{
8742
 
return f != dlopen;
 
9477
return dlopen ();
8743
9478
  ;
8744
9479
  return 0;
8745
9480
}
8746
9481
_ACEOF
8747
9482
rm -f conftest.$ac_objext conftest$ac_exeext
8748
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8749
 
  (eval $ac_link) 2>conftest.er1
 
9483
if { (ac_try="$ac_link"
 
9484
case "(($ac_try" in
 
9485
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9486
  *) ac_try_echo=$ac_try;;
 
9487
esac
 
9488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9489
  (eval "$ac_link") 2>conftest.er1
8750
9490
  ac_status=$?
8751
9491
  grep -v '^ *+' conftest.er1 >conftest.err
8752
9492
  rm -f conftest.er1
8753
9493
  cat conftest.err >&5
8754
9494
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755
 
  (exit $ac_status); } &&
8756
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8757
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758
 
  (eval $ac_try) 2>&5
8759
 
  ac_status=$?
8760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761
 
  (exit $ac_status); }; } &&
8762
 
         { ac_try='test -s conftest$ac_exeext'
8763
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764
 
  (eval $ac_try) 2>&5
8765
 
  ac_status=$?
8766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767
 
  (exit $ac_status); }; }; then
 
9495
  (exit $ac_status); } && {
 
9496
         test -z "$ac_c_werror_flag" ||
 
9497
         test ! -s conftest.err
 
9498
       } && test -s conftest$ac_exeext &&
 
9499
       $as_test_x conftest$ac_exeext; then
8768
9500
  ac_cv_func_dlopen=yes
8769
9501
else
8770
9502
  echo "$as_me: failed program was:" >&5
8771
9503
sed 's/^/| /' conftest.$ac_ext >&5
8772
9504
 
8773
 
ac_cv_func_dlopen=no
 
9505
        ac_cv_func_dlopen=no
8774
9506
fi
8775
 
rm -f conftest.err conftest.$ac_objext \
 
9507
 
 
9508
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8776
9509
      conftest$ac_exeext conftest.$ac_ext
8777
9510
fi
8778
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8779
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9511
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9512
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8780
9513
if test $ac_cv_func_dlopen = yes; then
8781
9514
  lt_cv_dlopen="dlopen"
8782
9515
else
8783
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8784
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9516
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9517
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8785
9518
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8786
9519
  echo $ECHO_N "(cached) $ECHO_C" >&6
8787
9520
else
8794
9527
cat >>conftest.$ac_ext <<_ACEOF
8795
9528
/* end confdefs.h.  */
8796
9529
 
8797
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9530
/* Override any GCC internal prototype to avoid an error.
 
9531
   Use char because int might match the return type of a GCC
 
9532
   builtin and then its argument prototype would still apply.  */
8798
9533
#ifdef __cplusplus
8799
9534
extern "C"
8800
9535
#endif
8801
 
/* We use char because int might match the return type of a gcc2
8802
 
   builtin and then its argument prototype would still apply.  */
8803
9536
char dlopen ();
8804
9537
int
8805
9538
main ()
8806
9539
{
8807
 
dlopen ();
 
9540
return dlopen ();
8808
9541
  ;
8809
9542
  return 0;
8810
9543
}
8811
9544
_ACEOF
8812
9545
rm -f conftest.$ac_objext conftest$ac_exeext
8813
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8814
 
  (eval $ac_link) 2>conftest.er1
 
9546
if { (ac_try="$ac_link"
 
9547
case "(($ac_try" in
 
9548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9549
  *) ac_try_echo=$ac_try;;
 
9550
esac
 
9551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9552
  (eval "$ac_link") 2>conftest.er1
8815
9553
  ac_status=$?
8816
9554
  grep -v '^ *+' conftest.er1 >conftest.err
8817
9555
  rm -f conftest.er1
8818
9556
  cat conftest.err >&5
8819
9557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820
 
  (exit $ac_status); } &&
8821
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8822
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823
 
  (eval $ac_try) 2>&5
8824
 
  ac_status=$?
8825
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826
 
  (exit $ac_status); }; } &&
8827
 
         { ac_try='test -s conftest$ac_exeext'
8828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829
 
  (eval $ac_try) 2>&5
8830
 
  ac_status=$?
8831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832
 
  (exit $ac_status); }; }; then
 
9558
  (exit $ac_status); } && {
 
9559
         test -z "$ac_c_werror_flag" ||
 
9560
         test ! -s conftest.err
 
9561
       } && test -s conftest$ac_exeext &&
 
9562
       $as_test_x conftest$ac_exeext; then
8833
9563
  ac_cv_lib_dl_dlopen=yes
8834
9564
else
8835
9565
  echo "$as_me: failed program was:" >&5
8836
9566
sed 's/^/| /' conftest.$ac_ext >&5
8837
9567
 
8838
 
ac_cv_lib_dl_dlopen=no
 
9568
        ac_cv_lib_dl_dlopen=no
8839
9569
fi
8840
 
rm -f conftest.err conftest.$ac_objext \
 
9570
 
 
9571
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8841
9572
      conftest$ac_exeext conftest.$ac_ext
8842
9573
LIBS=$ac_check_lib_save_LIBS
8843
9574
fi
8844
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8845
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9575
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9576
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8846
9577
if test $ac_cv_lib_dl_dlopen = yes; then
8847
9578
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8848
9579
else
8849
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8850
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
9580
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9581
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8851
9582
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8852
9583
  echo $ECHO_N "(cached) $ECHO_C" >&6
8853
9584
else
8860
9591
cat >>conftest.$ac_ext <<_ACEOF
8861
9592
/* end confdefs.h.  */
8862
9593
 
8863
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9594
/* Override any GCC internal prototype to avoid an error.
 
9595
   Use char because int might match the return type of a GCC
 
9596
   builtin and then its argument prototype would still apply.  */
8864
9597
#ifdef __cplusplus
8865
9598
extern "C"
8866
9599
#endif
8867
 
/* We use char because int might match the return type of a gcc2
8868
 
   builtin and then its argument prototype would still apply.  */
8869
9600
char dlopen ();
8870
9601
int
8871
9602
main ()
8872
9603
{
8873
 
dlopen ();
 
9604
return dlopen ();
8874
9605
  ;
8875
9606
  return 0;
8876
9607
}
8877
9608
_ACEOF
8878
9609
rm -f conftest.$ac_objext conftest$ac_exeext
8879
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8880
 
  (eval $ac_link) 2>conftest.er1
 
9610
if { (ac_try="$ac_link"
 
9611
case "(($ac_try" in
 
9612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9613
  *) ac_try_echo=$ac_try;;
 
9614
esac
 
9615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9616
  (eval "$ac_link") 2>conftest.er1
8881
9617
  ac_status=$?
8882
9618
  grep -v '^ *+' conftest.er1 >conftest.err
8883
9619
  rm -f conftest.er1
8884
9620
  cat conftest.err >&5
8885
9621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886
 
  (exit $ac_status); } &&
8887
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889
 
  (eval $ac_try) 2>&5
8890
 
  ac_status=$?
8891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892
 
  (exit $ac_status); }; } &&
8893
 
         { ac_try='test -s conftest$ac_exeext'
8894
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895
 
  (eval $ac_try) 2>&5
8896
 
  ac_status=$?
8897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898
 
  (exit $ac_status); }; }; then
 
9622
  (exit $ac_status); } && {
 
9623
         test -z "$ac_c_werror_flag" ||
 
9624
         test ! -s conftest.err
 
9625
       } && test -s conftest$ac_exeext &&
 
9626
       $as_test_x conftest$ac_exeext; then
8899
9627
  ac_cv_lib_svld_dlopen=yes
8900
9628
else
8901
9629
  echo "$as_me: failed program was:" >&5
8902
9630
sed 's/^/| /' conftest.$ac_ext >&5
8903
9631
 
8904
 
ac_cv_lib_svld_dlopen=no
 
9632
        ac_cv_lib_svld_dlopen=no
8905
9633
fi
8906
 
rm -f conftest.err conftest.$ac_objext \
 
9634
 
 
9635
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8907
9636
      conftest$ac_exeext conftest.$ac_ext
8908
9637
LIBS=$ac_check_lib_save_LIBS
8909
9638
fi
8910
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8911
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
9639
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9640
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
8912
9641
if test $ac_cv_lib_svld_dlopen = yes; then
8913
9642
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8914
9643
else
8915
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8916
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
9644
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9645
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8917
9646
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8918
9647
  echo $ECHO_N "(cached) $ECHO_C" >&6
8919
9648
else
8926
9655
cat >>conftest.$ac_ext <<_ACEOF
8927
9656
/* end confdefs.h.  */
8928
9657
 
8929
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9658
/* Override any GCC internal prototype to avoid an error.
 
9659
   Use char because int might match the return type of a GCC
 
9660
   builtin and then its argument prototype would still apply.  */
8930
9661
#ifdef __cplusplus
8931
9662
extern "C"
8932
9663
#endif
8933
 
/* We use char because int might match the return type of a gcc2
8934
 
   builtin and then its argument prototype would still apply.  */
8935
9664
char dld_link ();
8936
9665
int
8937
9666
main ()
8938
9667
{
8939
 
dld_link ();
 
9668
return dld_link ();
8940
9669
  ;
8941
9670
  return 0;
8942
9671
}
8943
9672
_ACEOF
8944
9673
rm -f conftest.$ac_objext conftest$ac_exeext
8945
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8946
 
  (eval $ac_link) 2>conftest.er1
 
9674
if { (ac_try="$ac_link"
 
9675
case "(($ac_try" in
 
9676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9677
  *) ac_try_echo=$ac_try;;
 
9678
esac
 
9679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9680
  (eval "$ac_link") 2>conftest.er1
8947
9681
  ac_status=$?
8948
9682
  grep -v '^ *+' conftest.er1 >conftest.err
8949
9683
  rm -f conftest.er1
8950
9684
  cat conftest.err >&5
8951
9685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952
 
  (exit $ac_status); } &&
8953
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8954
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955
 
  (eval $ac_try) 2>&5
8956
 
  ac_status=$?
8957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958
 
  (exit $ac_status); }; } &&
8959
 
         { ac_try='test -s conftest$ac_exeext'
8960
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961
 
  (eval $ac_try) 2>&5
8962
 
  ac_status=$?
8963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964
 
  (exit $ac_status); }; }; then
 
9686
  (exit $ac_status); } && {
 
9687
         test -z "$ac_c_werror_flag" ||
 
9688
         test ! -s conftest.err
 
9689
       } && test -s conftest$ac_exeext &&
 
9690
       $as_test_x conftest$ac_exeext; then
8965
9691
  ac_cv_lib_dld_dld_link=yes
8966
9692
else
8967
9693
  echo "$as_me: failed program was:" >&5
8968
9694
sed 's/^/| /' conftest.$ac_ext >&5
8969
9695
 
8970
 
ac_cv_lib_dld_dld_link=no
 
9696
        ac_cv_lib_dld_dld_link=no
8971
9697
fi
8972
 
rm -f conftest.err conftest.$ac_objext \
 
9698
 
 
9699
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8973
9700
      conftest$ac_exeext conftest.$ac_ext
8974
9701
LIBS=$ac_check_lib_save_LIBS
8975
9702
fi
8976
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8977
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
9703
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9704
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8978
9705
if test $ac_cv_lib_dld_dld_link = yes; then
8979
9706
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8980
9707
fi
9014
9741
    save_LIBS="$LIBS"
9015
9742
    LIBS="$lt_cv_dlopen_libs $LIBS"
9016
9743
 
9017
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9018
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
9744
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9745
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9019
9746
if test "${lt_cv_dlopen_self+set}" = set; then
9020
9747
  echo $ECHO_N "(cached) $ECHO_C" >&6
9021
9748
else
9025
9752
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9026
9753
  lt_status=$lt_dlunknown
9027
9754
  cat > conftest.$ac_ext <<EOF
9028
 
#line 9028 "configure"
 
9755
#line 9755 "configure"
9029
9756
#include "confdefs.h"
9030
9757
 
9031
9758
#if HAVE_DLFCN_H
9107
9834
 
9108
9835
 
9109
9836
fi
9110
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9111
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
9837
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
9838
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9112
9839
 
9113
9840
    if test "x$lt_cv_dlopen_self" = xyes; then
9114
9841
      LDFLAGS="$LDFLAGS $link_static_flag"
9115
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9116
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
9842
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
9843
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9117
9844
if test "${lt_cv_dlopen_self_static+set}" = set; then
9118
9845
  echo $ECHO_N "(cached) $ECHO_C" >&6
9119
9846
else
9123
9850
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9124
9851
  lt_status=$lt_dlunknown
9125
9852
  cat > conftest.$ac_ext <<EOF
9126
 
#line 9126 "configure"
 
9853
#line 9853 "configure"
9127
9854
#include "confdefs.h"
9128
9855
 
9129
9856
#if HAVE_DLFCN_H
9205
9932
 
9206
9933
 
9207
9934
fi
9208
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9209
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
9935
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
9936
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9210
9937
    fi
9211
9938
 
9212
9939
    CPPFLAGS="$save_CPPFLAGS"
9228
9955
 
9229
9956
 
9230
9957
# Report which librarie types wil actually be built
9231
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9232
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9233
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9234
 
echo "${ECHO_T}$can_build_shared" >&6
 
9958
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
9959
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
9960
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
9961
echo "${ECHO_T}$can_build_shared" >&6; }
9235
9962
 
9236
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9237
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
9963
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
9964
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9238
9965
test "$can_build_shared" = "no" && enable_shared=no
9239
9966
 
9240
9967
# On AIX, shared libraries and static libraries use the same namespace, and
9291
10018
  fi
9292
10019
    ;;
9293
10020
esac
9294
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9295
 
echo "${ECHO_T}$enable_shared" >&6
 
10021
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10022
echo "${ECHO_T}$enable_shared" >&6; }
9296
10023
 
9297
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9298
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10024
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10025
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9299
10026
# Make sure either enable_shared or enable_static is yes.
9300
10027
test "$enable_shared" = yes || enable_static=yes
9301
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9302
 
echo "${ECHO_T}$enable_static" >&6
 
10028
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10029
echo "${ECHO_T}$enable_static" >&6; }
9303
10030
 
9304
10031
# The else clause should only fire when bootstrapping the
9305
10032
# libtool distribution, otherwise you forgot to ship ltmain.sh
9782
10509
CC="$lt_save_CC"
9783
10510
 
9784
10511
 
9785
 
# Check whether --with-tags or --without-tags was given.
 
10512
# Check whether --with-tags was given.
9786
10513
if test "${with_tags+set}" = set; then
9787
 
  withval="$with_tags"
9788
 
  tagnames="$withval"
9789
 
fi;
 
10514
  withval=$with_tags; tagnames="$withval"
 
10515
fi
 
10516
 
9790
10517
 
9791
10518
if test -f "$ltmain" && test -n "$tagnames"; then
9792
10519
  if test ! -f "${ofile}"; then
9835
10562
      case $tagname in
9836
10563
      CXX)
9837
10564
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
9838
 
          ac_ext=cc
 
10565
          ac_ext=cpp
9839
10566
ac_cpp='$CXXCPP $CPPFLAGS'
9840
10567
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9841
10568
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927
10654
  # Set up default GNU C++ configuration
9928
10655
 
9929
10656
 
9930
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
10657
# Check whether --with-gnu-ld was given.
9931
10658
if test "${with_gnu_ld+set}" = set; then
9932
 
  withval="$with_gnu_ld"
9933
 
  test "$withval" = no || with_gnu_ld=yes
 
10659
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9934
10660
else
9935
10661
  with_gnu_ld=no
9936
 
fi;
 
10662
fi
 
10663
 
9937
10664
ac_prog=ld
9938
10665
if test "$GCC" = yes; then
9939
10666
  # Check if gcc -print-prog-name=ld gives a path.
9940
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9941
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
10667
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
10668
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9942
10669
  case $host in
9943
10670
  *-*-mingw*)
9944
10671
    # gcc leaves a trailing carriage return which upsets mingw
9967
10694
    ;;
9968
10695
  esac
9969
10696
elif test "$with_gnu_ld" = yes; then
9970
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
9971
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
10697
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
10698
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9972
10699
else
9973
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9974
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
10700
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
10701
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9975
10702
fi
9976
10703
if test "${lt_cv_path_LD+set}" = set; then
9977
10704
  echo $ECHO_N "(cached) $ECHO_C" >&6
10004
10731
 
10005
10732
LD="$lt_cv_path_LD"
10006
10733
if test -n "$LD"; then
10007
 
  echo "$as_me:$LINENO: result: $LD" >&5
10008
 
echo "${ECHO_T}$LD" >&6
 
10734
  { echo "$as_me:$LINENO: result: $LD" >&5
 
10735
echo "${ECHO_T}$LD" >&6; }
10009
10736
else
10010
 
  echo "$as_me:$LINENO: result: no" >&5
10011
 
echo "${ECHO_T}no" >&6
 
10737
  { echo "$as_me:$LINENO: result: no" >&5
 
10738
echo "${ECHO_T}no" >&6; }
10012
10739
fi
10013
10740
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10014
10741
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10015
10742
   { (exit 1); exit 1; }; }
10016
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10017
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
10743
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
10744
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10018
10745
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10019
10746
  echo $ECHO_N "(cached) $ECHO_C" >&6
10020
10747
else
10028
10755
  ;;
10029
10756
esac
10030
10757
fi
10031
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10032
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
10758
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
10759
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10033
10760
with_gnu_ld=$lt_cv_prog_gnu_ld
10034
10761
 
10035
10762
 
10079
10806
fi
10080
10807
 
10081
10808
# PORTME: fill in a description of your system's C++ link characteristics
10082
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10083
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
10809
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10810
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10084
10811
ld_shlibs_CXX=yes
10085
10812
case $host_os in
10086
10813
  aix3*)
10187
10914
}
10188
10915
_ACEOF
10189
10916
rm -f conftest.$ac_objext conftest$ac_exeext
10190
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10191
 
  (eval $ac_link) 2>conftest.er1
 
10917
if { (ac_try="$ac_link"
 
10918
case "(($ac_try" in
 
10919
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10920
  *) ac_try_echo=$ac_try;;
 
10921
esac
 
10922
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10923
  (eval "$ac_link") 2>conftest.er1
10192
10924
  ac_status=$?
10193
10925
  grep -v '^ *+' conftest.er1 >conftest.err
10194
10926
  rm -f conftest.er1
10195
10927
  cat conftest.err >&5
10196
10928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197
 
  (exit $ac_status); } &&
10198
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10199
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200
 
  (eval $ac_try) 2>&5
10201
 
  ac_status=$?
10202
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203
 
  (exit $ac_status); }; } &&
10204
 
         { ac_try='test -s conftest$ac_exeext'
10205
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206
 
  (eval $ac_try) 2>&5
10207
 
  ac_status=$?
10208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209
 
  (exit $ac_status); }; }; then
 
10929
  (exit $ac_status); } && {
 
10930
         test -z "$ac_cxx_werror_flag" ||
 
10931
         test ! -s conftest.err
 
10932
       } && test -s conftest$ac_exeext &&
 
10933
       $as_test_x conftest$ac_exeext; then
10210
10934
 
10211
10935
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10212
10936
}'`
10217
10941
  echo "$as_me: failed program was:" >&5
10218
10942
sed 's/^/| /' conftest.$ac_ext >&5
10219
10943
 
 
10944
 
10220
10945
fi
10221
 
rm -f conftest.err conftest.$ac_objext \
 
10946
 
 
10947
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10222
10948
      conftest$ac_exeext conftest.$ac_ext
10223
10949
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10224
10950
 
10248
10974
}
10249
10975
_ACEOF
10250
10976
rm -f conftest.$ac_objext conftest$ac_exeext
10251
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10252
 
  (eval $ac_link) 2>conftest.er1
 
10977
if { (ac_try="$ac_link"
 
10978
case "(($ac_try" in
 
10979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10980
  *) ac_try_echo=$ac_try;;
 
10981
esac
 
10982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10983
  (eval "$ac_link") 2>conftest.er1
10253
10984
  ac_status=$?
10254
10985
  grep -v '^ *+' conftest.er1 >conftest.err
10255
10986
  rm -f conftest.er1
10256
10987
  cat conftest.err >&5
10257
10988
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258
 
  (exit $ac_status); } &&
10259
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10260
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261
 
  (eval $ac_try) 2>&5
10262
 
  ac_status=$?
10263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264
 
  (exit $ac_status); }; } &&
10265
 
         { ac_try='test -s conftest$ac_exeext'
10266
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10267
 
  (eval $ac_try) 2>&5
10268
 
  ac_status=$?
10269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270
 
  (exit $ac_status); }; }; then
 
10989
  (exit $ac_status); } && {
 
10990
         test -z "$ac_cxx_werror_flag" ||
 
10991
         test ! -s conftest.err
 
10992
       } && test -s conftest$ac_exeext &&
 
10993
       $as_test_x conftest$ac_exeext; then
10271
10994
 
10272
10995
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10273
10996
}'`
10278
11001
  echo "$as_me: failed program was:" >&5
10279
11002
sed 's/^/| /' conftest.$ac_ext >&5
10280
11003
 
 
11004
 
10281
11005
fi
10282
 
rm -f conftest.err conftest.$ac_objext \
 
11006
 
 
11007
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10283
11008
      conftest$ac_exeext conftest.$ac_ext
10284
11009
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10285
11010
 
10905
11630
    ld_shlibs_CXX=no
10906
11631
    ;;
10907
11632
esac
10908
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10909
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
11633
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
11634
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
10910
11635
test "$ld_shlibs_CXX" = no && can_build_shared=no
10911
11636
 
10912
11637
GCC_CXX="$GXX"
11022
11747
lt_prog_compiler_pic_CXX=
11023
11748
lt_prog_compiler_static_CXX=
11024
11749
 
11025
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11026
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
11750
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
11751
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11027
11752
 
11028
11753
  # C++ specific cases for pic, static, wl, etc.
11029
11754
  if test "$GXX" = yes; then
11274
11999
    esac
11275
12000
  fi
11276
12001
 
11277
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11278
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12002
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12003
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11279
12004
 
11280
12005
#
11281
12006
# Check to make sure the PIC flag actually works.
11282
12007
#
11283
12008
if test -n "$lt_prog_compiler_pic_CXX"; then
11284
12009
 
11285
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11286
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
 
12010
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12011
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11287
12012
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11288
12013
  echo $ECHO_N "(cached) $ECHO_C" >&6
11289
12014
else
11300
12025
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11301
12026
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11302
12027
   -e 's:$: $lt_compiler_flag:'`
11303
 
   (eval echo "\"\$as_me:11303: $lt_compile\"" >&5)
 
12028
   (eval echo "\"\$as_me:12028: $lt_compile\"" >&5)
11304
12029
   (eval "$lt_compile" 2>conftest.err)
11305
12030
   ac_status=$?
11306
12031
   cat conftest.err >&5
11307
 
   echo "$as_me:11307: \$? = $ac_status" >&5
 
12032
   echo "$as_me:12032: \$? = $ac_status" >&5
11308
12033
   if (exit $ac_status) && test -s "$ac_outfile"; then
11309
12034
     # The compiler can only warn and ignore the option if not recognized
11310
12035
     # So say no if there are warnings
11315
12040
   $rm conftest*
11316
12041
 
11317
12042
fi
11318
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11319
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12043
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
 
12044
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11320
12045
 
11321
12046
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11322
12047
    case $lt_prog_compiler_pic_CXX in
11339
12064
    ;;
11340
12065
esac
11341
12066
 
11342
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11343
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12067
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12068
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11344
12069
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11345
12070
  echo $ECHO_N "(cached) $ECHO_C" >&6
11346
12071
else
11360
12085
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11361
12086
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11362
12087
   -e 's:$: $lt_compiler_flag:'`
11363
 
   (eval echo "\"\$as_me:11363: $lt_compile\"" >&5)
 
12088
   (eval echo "\"\$as_me:12088: $lt_compile\"" >&5)
11364
12089
   (eval "$lt_compile" 2>out/conftest.err)
11365
12090
   ac_status=$?
11366
12091
   cat out/conftest.err >&5
11367
 
   echo "$as_me:11367: \$? = $ac_status" >&5
 
12092
   echo "$as_me:12092: \$? = $ac_status" >&5
11368
12093
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11369
12094
   then
11370
12095
     # The compiler can only warn and ignore the option if not recognized
11384
12109
   $rm conftest*
11385
12110
 
11386
12111
fi
11387
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11388
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12112
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12113
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11389
12114
 
11390
12115
 
11391
12116
hard_links="nottested"
11392
12117
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11393
12118
  # do not overwrite the value of need_locks provided by the user
11394
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11395
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12119
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12120
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11396
12121
  hard_links=yes
11397
12122
  $rm conftest*
11398
12123
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11399
12124
  touch conftest.a
11400
12125
  ln conftest.a conftest.b 2>&5 || hard_links=no
11401
12126
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11402
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11403
 
echo "${ECHO_T}$hard_links" >&6
 
12127
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12128
echo "${ECHO_T}$hard_links" >&6; }
11404
12129
  if test "$hard_links" = no; then
11405
12130
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11406
12131
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11410
12135
  need_locks=no
11411
12136
fi
11412
12137
 
11413
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11414
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12138
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12139
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11415
12140
 
11416
12141
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11417
12142
  case $host_os in
11438
12163
  ;;
11439
12164
  esac
11440
12165
 
11441
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11442
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12166
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12167
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11443
12168
test "$ld_shlibs_CXX" = no && can_build_shared=no
11444
12169
 
11445
12170
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11464
12189
      # Test whether the compiler implicitly links with -lc since on some
11465
12190
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11466
12191
      # to ld, don't add -lc before -lgcc.
11467
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11468
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12192
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12193
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11469
12194
      $rm conftest*
11470
12195
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11471
12196
 
11501
12226
        cat conftest.err 1>&5
11502
12227
      fi
11503
12228
      $rm conftest*
11504
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11505
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12229
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12230
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11506
12231
      ;;
11507
12232
    esac
11508
12233
  fi
11509
12234
  ;;
11510
12235
esac
11511
12236
 
11512
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11513
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12237
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12238
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11514
12239
library_names_spec=
11515
12240
libname_spec='lib$name'
11516
12241
soname_spec=
12061
12786
  dynamic_linker=no
12062
12787
  ;;
12063
12788
esac
12064
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12065
 
echo "${ECHO_T}$dynamic_linker" >&6
 
12789
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
12790
echo "${ECHO_T}$dynamic_linker" >&6; }
12066
12791
test "$dynamic_linker" = no && can_build_shared=no
12067
12792
 
12068
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12069
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
12793
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
12794
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12070
12795
hardcode_action_CXX=
12071
12796
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12072
12797
   test -n "$runpath_var CXX" || \
12090
12815
  # directories.
12091
12816
  hardcode_action_CXX=unsupported
12092
12817
fi
12093
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12094
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
12818
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
12819
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12095
12820
 
12096
12821
if test "$hardcode_action_CXX" = relink; then
12097
12822
  # Fast installation is not supported
12104
12829
 
12105
12830
striplib=
12106
12831
old_striplib=
12107
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12108
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
12832
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12833
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12109
12834
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12110
12835
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12111
12836
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12112
 
  echo "$as_me:$LINENO: result: yes" >&5
12113
 
echo "${ECHO_T}yes" >&6
 
12837
  { echo "$as_me:$LINENO: result: yes" >&5
 
12838
echo "${ECHO_T}yes" >&6; }
12114
12839
else
12115
12840
# FIXME - insert some real tests, host_os isn't really good enough
12116
12841
  case $host_os in
12117
12842
   darwin*)
12118
12843
       if test -n "$STRIP" ; then
12119
12844
         striplib="$STRIP -x"
12120
 
         echo "$as_me:$LINENO: result: yes" >&5
12121
 
echo "${ECHO_T}yes" >&6
 
12845
         { echo "$as_me:$LINENO: result: yes" >&5
 
12846
echo "${ECHO_T}yes" >&6; }
12122
12847
       else
12123
 
  echo "$as_me:$LINENO: result: no" >&5
12124
 
echo "${ECHO_T}no" >&6
 
12848
  { echo "$as_me:$LINENO: result: no" >&5
 
12849
echo "${ECHO_T}no" >&6; }
12125
12850
fi
12126
12851
       ;;
12127
12852
   *)
12128
 
  echo "$as_me:$LINENO: result: no" >&5
12129
 
echo "${ECHO_T}no" >&6
 
12853
  { echo "$as_me:$LINENO: result: no" >&5
 
12854
echo "${ECHO_T}no" >&6; }
12130
12855
    ;;
12131
12856
  esac
12132
12857
fi
12158
12883
 
12159
12884
  darwin*)
12160
12885
  # if libdl is installed we need to link against it
12161
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12162
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
12886
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12887
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12163
12888
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12164
12889
  echo $ECHO_N "(cached) $ECHO_C" >&6
12165
12890
else
12172
12897
cat >>conftest.$ac_ext <<_ACEOF
12173
12898
/* end confdefs.h.  */
12174
12899
 
12175
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12900
/* Override any GCC internal prototype to avoid an error.
 
12901
   Use char because int might match the return type of a GCC
 
12902
   builtin and then its argument prototype would still apply.  */
12176
12903
#ifdef __cplusplus
12177
12904
extern "C"
12178
12905
#endif
12179
 
/* We use char because int might match the return type of a gcc2
12180
 
   builtin and then its argument prototype would still apply.  */
12181
12906
char dlopen ();
12182
12907
int
12183
12908
main ()
12184
12909
{
12185
 
dlopen ();
 
12910
return dlopen ();
12186
12911
  ;
12187
12912
  return 0;
12188
12913
}
12189
12914
_ACEOF
12190
12915
rm -f conftest.$ac_objext conftest$ac_exeext
12191
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12192
 
  (eval $ac_link) 2>conftest.er1
 
12916
if { (ac_try="$ac_link"
 
12917
case "(($ac_try" in
 
12918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12919
  *) ac_try_echo=$ac_try;;
 
12920
esac
 
12921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12922
  (eval "$ac_link") 2>conftest.er1
12193
12923
  ac_status=$?
12194
12924
  grep -v '^ *+' conftest.er1 >conftest.err
12195
12925
  rm -f conftest.er1
12196
12926
  cat conftest.err >&5
12197
12927
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198
 
  (exit $ac_status); } &&
12199
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201
 
  (eval $ac_try) 2>&5
12202
 
  ac_status=$?
12203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204
 
  (exit $ac_status); }; } &&
12205
 
         { ac_try='test -s conftest$ac_exeext'
12206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207
 
  (eval $ac_try) 2>&5
12208
 
  ac_status=$?
12209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210
 
  (exit $ac_status); }; }; then
 
12928
  (exit $ac_status); } && {
 
12929
         test -z "$ac_cxx_werror_flag" ||
 
12930
         test ! -s conftest.err
 
12931
       } && test -s conftest$ac_exeext &&
 
12932
       $as_test_x conftest$ac_exeext; then
12211
12933
  ac_cv_lib_dl_dlopen=yes
12212
12934
else
12213
12935
  echo "$as_me: failed program was:" >&5
12214
12936
sed 's/^/| /' conftest.$ac_ext >&5
12215
12937
 
12216
 
ac_cv_lib_dl_dlopen=no
 
12938
        ac_cv_lib_dl_dlopen=no
12217
12939
fi
12218
 
rm -f conftest.err conftest.$ac_objext \
 
12940
 
 
12941
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12219
12942
      conftest$ac_exeext conftest.$ac_ext
12220
12943
LIBS=$ac_check_lib_save_LIBS
12221
12944
fi
12222
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12223
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
12945
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12946
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12224
12947
if test $ac_cv_lib_dl_dlopen = yes; then
12225
12948
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12226
12949
else
12234
12957
   ;;
12235
12958
 
12236
12959
  *)
12237
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
12238
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
12960
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
12961
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12239
12962
if test "${ac_cv_func_shl_load+set}" = set; then
12240
12963
  echo $ECHO_N "(cached) $ECHO_C" >&6
12241
12964
else
12262
12985
 
12263
12986
#undef shl_load
12264
12987
 
12265
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12988
/* Override any GCC internal prototype to avoid an error.
 
12989
   Use char because int might match the return type of a GCC
 
12990
   builtin and then its argument prototype would still apply.  */
12266
12991
#ifdef __cplusplus
12267
12992
extern "C"
12268
 
{
12269
12993
#endif
12270
 
/* We use char because int might match the return type of a gcc2
12271
 
   builtin and then its argument prototype would still apply.  */
12272
12994
char shl_load ();
12273
12995
/* The GNU C library defines this for functions which it implements
12274
12996
    to always fail with ENOSYS.  Some functions are actually named
12275
12997
    something starting with __ and the normal name is an alias.  */
12276
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
12998
#if defined __stub_shl_load || defined __stub___shl_load
12277
12999
choke me
12278
 
#else
12279
 
char (*f) () = shl_load;
12280
 
#endif
12281
 
#ifdef __cplusplus
12282
 
}
12283
13000
#endif
12284
13001
 
12285
13002
int
12286
13003
main ()
12287
13004
{
12288
 
return f != shl_load;
 
13005
return shl_load ();
12289
13006
  ;
12290
13007
  return 0;
12291
13008
}
12292
13009
_ACEOF
12293
13010
rm -f conftest.$ac_objext conftest$ac_exeext
12294
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12295
 
  (eval $ac_link) 2>conftest.er1
 
13011
if { (ac_try="$ac_link"
 
13012
case "(($ac_try" in
 
13013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13014
  *) ac_try_echo=$ac_try;;
 
13015
esac
 
13016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13017
  (eval "$ac_link") 2>conftest.er1
12296
13018
  ac_status=$?
12297
13019
  grep -v '^ *+' conftest.er1 >conftest.err
12298
13020
  rm -f conftest.er1
12299
13021
  cat conftest.err >&5
12300
13022
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301
 
  (exit $ac_status); } &&
12302
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304
 
  (eval $ac_try) 2>&5
12305
 
  ac_status=$?
12306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307
 
  (exit $ac_status); }; } &&
12308
 
         { ac_try='test -s conftest$ac_exeext'
12309
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310
 
  (eval $ac_try) 2>&5
12311
 
  ac_status=$?
12312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313
 
  (exit $ac_status); }; }; then
 
13023
  (exit $ac_status); } && {
 
13024
         test -z "$ac_cxx_werror_flag" ||
 
13025
         test ! -s conftest.err
 
13026
       } && test -s conftest$ac_exeext &&
 
13027
       $as_test_x conftest$ac_exeext; then
12314
13028
  ac_cv_func_shl_load=yes
12315
13029
else
12316
13030
  echo "$as_me: failed program was:" >&5
12317
13031
sed 's/^/| /' conftest.$ac_ext >&5
12318
13032
 
12319
 
ac_cv_func_shl_load=no
 
13033
        ac_cv_func_shl_load=no
12320
13034
fi
12321
 
rm -f conftest.err conftest.$ac_objext \
 
13035
 
 
13036
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12322
13037
      conftest$ac_exeext conftest.$ac_ext
12323
13038
fi
12324
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12325
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
13039
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
13040
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12326
13041
if test $ac_cv_func_shl_load = yes; then
12327
13042
  lt_cv_dlopen="shl_load"
12328
13043
else
12329
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12330
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
13044
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
13045
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12331
13046
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12332
13047
  echo $ECHO_N "(cached) $ECHO_C" >&6
12333
13048
else
12340
13055
cat >>conftest.$ac_ext <<_ACEOF
12341
13056
/* end confdefs.h.  */
12342
13057
 
12343
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13058
/* Override any GCC internal prototype to avoid an error.
 
13059
   Use char because int might match the return type of a GCC
 
13060
   builtin and then its argument prototype would still apply.  */
12344
13061
#ifdef __cplusplus
12345
13062
extern "C"
12346
13063
#endif
12347
 
/* We use char because int might match the return type of a gcc2
12348
 
   builtin and then its argument prototype would still apply.  */
12349
13064
char shl_load ();
12350
13065
int
12351
13066
main ()
12352
13067
{
12353
 
shl_load ();
 
13068
return shl_load ();
12354
13069
  ;
12355
13070
  return 0;
12356
13071
}
12357
13072
_ACEOF
12358
13073
rm -f conftest.$ac_objext conftest$ac_exeext
12359
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12360
 
  (eval $ac_link) 2>conftest.er1
 
13074
if { (ac_try="$ac_link"
 
13075
case "(($ac_try" in
 
13076
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13077
  *) ac_try_echo=$ac_try;;
 
13078
esac
 
13079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13080
  (eval "$ac_link") 2>conftest.er1
12361
13081
  ac_status=$?
12362
13082
  grep -v '^ *+' conftest.er1 >conftest.err
12363
13083
  rm -f conftest.er1
12364
13084
  cat conftest.err >&5
12365
13085
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366
 
  (exit $ac_status); } &&
12367
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369
 
  (eval $ac_try) 2>&5
12370
 
  ac_status=$?
12371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372
 
  (exit $ac_status); }; } &&
12373
 
         { ac_try='test -s conftest$ac_exeext'
12374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375
 
  (eval $ac_try) 2>&5
12376
 
  ac_status=$?
12377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378
 
  (exit $ac_status); }; }; then
 
13086
  (exit $ac_status); } && {
 
13087
         test -z "$ac_cxx_werror_flag" ||
 
13088
         test ! -s conftest.err
 
13089
       } && test -s conftest$ac_exeext &&
 
13090
       $as_test_x conftest$ac_exeext; then
12379
13091
  ac_cv_lib_dld_shl_load=yes
12380
13092
else
12381
13093
  echo "$as_me: failed program was:" >&5
12382
13094
sed 's/^/| /' conftest.$ac_ext >&5
12383
13095
 
12384
 
ac_cv_lib_dld_shl_load=no
 
13096
        ac_cv_lib_dld_shl_load=no
12385
13097
fi
12386
 
rm -f conftest.err conftest.$ac_objext \
 
13098
 
 
13099
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12387
13100
      conftest$ac_exeext conftest.$ac_ext
12388
13101
LIBS=$ac_check_lib_save_LIBS
12389
13102
fi
12390
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12391
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
13103
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
13104
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12392
13105
if test $ac_cv_lib_dld_shl_load = yes; then
12393
13106
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12394
13107
else
12395
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
12396
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
13108
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
13109
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12397
13110
if test "${ac_cv_func_dlopen+set}" = set; then
12398
13111
  echo $ECHO_N "(cached) $ECHO_C" >&6
12399
13112
else
12420
13133
 
12421
13134
#undef dlopen
12422
13135
 
12423
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13136
/* Override any GCC internal prototype to avoid an error.
 
13137
   Use char because int might match the return type of a GCC
 
13138
   builtin and then its argument prototype would still apply.  */
12424
13139
#ifdef __cplusplus
12425
13140
extern "C"
12426
 
{
12427
13141
#endif
12428
 
/* We use char because int might match the return type of a gcc2
12429
 
   builtin and then its argument prototype would still apply.  */
12430
13142
char dlopen ();
12431
13143
/* The GNU C library defines this for functions which it implements
12432
13144
    to always fail with ENOSYS.  Some functions are actually named
12433
13145
    something starting with __ and the normal name is an alias.  */
12434
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
13146
#if defined __stub_dlopen || defined __stub___dlopen
12435
13147
choke me
12436
 
#else
12437
 
char (*f) () = dlopen;
12438
 
#endif
12439
 
#ifdef __cplusplus
12440
 
}
12441
13148
#endif
12442
13149
 
12443
13150
int
12444
13151
main ()
12445
13152
{
12446
 
return f != dlopen;
 
13153
return dlopen ();
12447
13154
  ;
12448
13155
  return 0;
12449
13156
}
12450
13157
_ACEOF
12451
13158
rm -f conftest.$ac_objext conftest$ac_exeext
12452
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12453
 
  (eval $ac_link) 2>conftest.er1
 
13159
if { (ac_try="$ac_link"
 
13160
case "(($ac_try" in
 
13161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13162
  *) ac_try_echo=$ac_try;;
 
13163
esac
 
13164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13165
  (eval "$ac_link") 2>conftest.er1
12454
13166
  ac_status=$?
12455
13167
  grep -v '^ *+' conftest.er1 >conftest.err
12456
13168
  rm -f conftest.er1
12457
13169
  cat conftest.err >&5
12458
13170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459
 
  (exit $ac_status); } &&
12460
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12461
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462
 
  (eval $ac_try) 2>&5
12463
 
  ac_status=$?
12464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465
 
  (exit $ac_status); }; } &&
12466
 
         { ac_try='test -s conftest$ac_exeext'
12467
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468
 
  (eval $ac_try) 2>&5
12469
 
  ac_status=$?
12470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471
 
  (exit $ac_status); }; }; then
 
13171
  (exit $ac_status); } && {
 
13172
         test -z "$ac_cxx_werror_flag" ||
 
13173
         test ! -s conftest.err
 
13174
       } && test -s conftest$ac_exeext &&
 
13175
       $as_test_x conftest$ac_exeext; then
12472
13176
  ac_cv_func_dlopen=yes
12473
13177
else
12474
13178
  echo "$as_me: failed program was:" >&5
12475
13179
sed 's/^/| /' conftest.$ac_ext >&5
12476
13180
 
12477
 
ac_cv_func_dlopen=no
 
13181
        ac_cv_func_dlopen=no
12478
13182
fi
12479
 
rm -f conftest.err conftest.$ac_objext \
 
13183
 
 
13184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12480
13185
      conftest$ac_exeext conftest.$ac_ext
12481
13186
fi
12482
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12483
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
13187
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
13188
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12484
13189
if test $ac_cv_func_dlopen = yes; then
12485
13190
  lt_cv_dlopen="dlopen"
12486
13191
else
12487
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12488
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
13192
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
13193
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12489
13194
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12490
13195
  echo $ECHO_N "(cached) $ECHO_C" >&6
12491
13196
else
12498
13203
cat >>conftest.$ac_ext <<_ACEOF
12499
13204
/* end confdefs.h.  */
12500
13205
 
12501
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13206
/* Override any GCC internal prototype to avoid an error.
 
13207
   Use char because int might match the return type of a GCC
 
13208
   builtin and then its argument prototype would still apply.  */
12502
13209
#ifdef __cplusplus
12503
13210
extern "C"
12504
13211
#endif
12505
 
/* We use char because int might match the return type of a gcc2
12506
 
   builtin and then its argument prototype would still apply.  */
12507
13212
char dlopen ();
12508
13213
int
12509
13214
main ()
12510
13215
{
12511
 
dlopen ();
 
13216
return dlopen ();
12512
13217
  ;
12513
13218
  return 0;
12514
13219
}
12515
13220
_ACEOF
12516
13221
rm -f conftest.$ac_objext conftest$ac_exeext
12517
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518
 
  (eval $ac_link) 2>conftest.er1
 
13222
if { (ac_try="$ac_link"
 
13223
case "(($ac_try" in
 
13224
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13225
  *) ac_try_echo=$ac_try;;
 
13226
esac
 
13227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13228
  (eval "$ac_link") 2>conftest.er1
12519
13229
  ac_status=$?
12520
13230
  grep -v '^ *+' conftest.er1 >conftest.err
12521
13231
  rm -f conftest.er1
12522
13232
  cat conftest.err >&5
12523
13233
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524
 
  (exit $ac_status); } &&
12525
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12526
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527
 
  (eval $ac_try) 2>&5
12528
 
  ac_status=$?
12529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530
 
  (exit $ac_status); }; } &&
12531
 
         { ac_try='test -s conftest$ac_exeext'
12532
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533
 
  (eval $ac_try) 2>&5
12534
 
  ac_status=$?
12535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536
 
  (exit $ac_status); }; }; then
 
13234
  (exit $ac_status); } && {
 
13235
         test -z "$ac_cxx_werror_flag" ||
 
13236
         test ! -s conftest.err
 
13237
       } && test -s conftest$ac_exeext &&
 
13238
       $as_test_x conftest$ac_exeext; then
12537
13239
  ac_cv_lib_dl_dlopen=yes
12538
13240
else
12539
13241
  echo "$as_me: failed program was:" >&5
12540
13242
sed 's/^/| /' conftest.$ac_ext >&5
12541
13243
 
12542
 
ac_cv_lib_dl_dlopen=no
 
13244
        ac_cv_lib_dl_dlopen=no
12543
13245
fi
12544
 
rm -f conftest.err conftest.$ac_objext \
 
13246
 
 
13247
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12545
13248
      conftest$ac_exeext conftest.$ac_ext
12546
13249
LIBS=$ac_check_lib_save_LIBS
12547
13250
fi
12548
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12549
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
13251
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
13252
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12550
13253
if test $ac_cv_lib_dl_dlopen = yes; then
12551
13254
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12552
13255
else
12553
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12554
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
13256
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
13257
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12555
13258
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12556
13259
  echo $ECHO_N "(cached) $ECHO_C" >&6
12557
13260
else
12564
13267
cat >>conftest.$ac_ext <<_ACEOF
12565
13268
/* end confdefs.h.  */
12566
13269
 
12567
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13270
/* Override any GCC internal prototype to avoid an error.
 
13271
   Use char because int might match the return type of a GCC
 
13272
   builtin and then its argument prototype would still apply.  */
12568
13273
#ifdef __cplusplus
12569
13274
extern "C"
12570
13275
#endif
12571
 
/* We use char because int might match the return type of a gcc2
12572
 
   builtin and then its argument prototype would still apply.  */
12573
13276
char dlopen ();
12574
13277
int
12575
13278
main ()
12576
13279
{
12577
 
dlopen ();
 
13280
return dlopen ();
12578
13281
  ;
12579
13282
  return 0;
12580
13283
}
12581
13284
_ACEOF
12582
13285
rm -f conftest.$ac_objext conftest$ac_exeext
12583
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584
 
  (eval $ac_link) 2>conftest.er1
 
13286
if { (ac_try="$ac_link"
 
13287
case "(($ac_try" in
 
13288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13289
  *) ac_try_echo=$ac_try;;
 
13290
esac
 
13291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13292
  (eval "$ac_link") 2>conftest.er1
12585
13293
  ac_status=$?
12586
13294
  grep -v '^ *+' conftest.er1 >conftest.err
12587
13295
  rm -f conftest.er1
12588
13296
  cat conftest.err >&5
12589
13297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590
 
  (exit $ac_status); } &&
12591
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593
 
  (eval $ac_try) 2>&5
12594
 
  ac_status=$?
12595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596
 
  (exit $ac_status); }; } &&
12597
 
         { ac_try='test -s conftest$ac_exeext'
12598
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599
 
  (eval $ac_try) 2>&5
12600
 
  ac_status=$?
12601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602
 
  (exit $ac_status); }; }; then
 
13298
  (exit $ac_status); } && {
 
13299
         test -z "$ac_cxx_werror_flag" ||
 
13300
         test ! -s conftest.err
 
13301
       } && test -s conftest$ac_exeext &&
 
13302
       $as_test_x conftest$ac_exeext; then
12603
13303
  ac_cv_lib_svld_dlopen=yes
12604
13304
else
12605
13305
  echo "$as_me: failed program was:" >&5
12606
13306
sed 's/^/| /' conftest.$ac_ext >&5
12607
13307
 
12608
 
ac_cv_lib_svld_dlopen=no
 
13308
        ac_cv_lib_svld_dlopen=no
12609
13309
fi
12610
 
rm -f conftest.err conftest.$ac_objext \
 
13310
 
 
13311
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12611
13312
      conftest$ac_exeext conftest.$ac_ext
12612
13313
LIBS=$ac_check_lib_save_LIBS
12613
13314
fi
12614
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12615
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
13315
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
13316
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12616
13317
if test $ac_cv_lib_svld_dlopen = yes; then
12617
13318
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12618
13319
else
12619
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12620
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
13320
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
13321
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12621
13322
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12622
13323
  echo $ECHO_N "(cached) $ECHO_C" >&6
12623
13324
else
12630
13331
cat >>conftest.$ac_ext <<_ACEOF
12631
13332
/* end confdefs.h.  */
12632
13333
 
12633
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13334
/* Override any GCC internal prototype to avoid an error.
 
13335
   Use char because int might match the return type of a GCC
 
13336
   builtin and then its argument prototype would still apply.  */
12634
13337
#ifdef __cplusplus
12635
13338
extern "C"
12636
13339
#endif
12637
 
/* We use char because int might match the return type of a gcc2
12638
 
   builtin and then its argument prototype would still apply.  */
12639
13340
char dld_link ();
12640
13341
int
12641
13342
main ()
12642
13343
{
12643
 
dld_link ();
 
13344
return dld_link ();
12644
13345
  ;
12645
13346
  return 0;
12646
13347
}
12647
13348
_ACEOF
12648
13349
rm -f conftest.$ac_objext conftest$ac_exeext
12649
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12650
 
  (eval $ac_link) 2>conftest.er1
 
13350
if { (ac_try="$ac_link"
 
13351
case "(($ac_try" in
 
13352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13353
  *) ac_try_echo=$ac_try;;
 
13354
esac
 
13355
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13356
  (eval "$ac_link") 2>conftest.er1
12651
13357
  ac_status=$?
12652
13358
  grep -v '^ *+' conftest.er1 >conftest.err
12653
13359
  rm -f conftest.er1
12654
13360
  cat conftest.err >&5
12655
13361
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656
 
  (exit $ac_status); } &&
12657
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659
 
  (eval $ac_try) 2>&5
12660
 
  ac_status=$?
12661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662
 
  (exit $ac_status); }; } &&
12663
 
         { ac_try='test -s conftest$ac_exeext'
12664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665
 
  (eval $ac_try) 2>&5
12666
 
  ac_status=$?
12667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668
 
  (exit $ac_status); }; }; then
 
13362
  (exit $ac_status); } && {
 
13363
         test -z "$ac_cxx_werror_flag" ||
 
13364
         test ! -s conftest.err
 
13365
       } && test -s conftest$ac_exeext &&
 
13366
       $as_test_x conftest$ac_exeext; then
12669
13367
  ac_cv_lib_dld_dld_link=yes
12670
13368
else
12671
13369
  echo "$as_me: failed program was:" >&5
12672
13370
sed 's/^/| /' conftest.$ac_ext >&5
12673
13371
 
12674
 
ac_cv_lib_dld_dld_link=no
 
13372
        ac_cv_lib_dld_dld_link=no
12675
13373
fi
12676
 
rm -f conftest.err conftest.$ac_objext \
 
13374
 
 
13375
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12677
13376
      conftest$ac_exeext conftest.$ac_ext
12678
13377
LIBS=$ac_check_lib_save_LIBS
12679
13378
fi
12680
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12681
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
13379
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
13380
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12682
13381
if test $ac_cv_lib_dld_dld_link = yes; then
12683
13382
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12684
13383
fi
12718
13417
    save_LIBS="$LIBS"
12719
13418
    LIBS="$lt_cv_dlopen_libs $LIBS"
12720
13419
 
12721
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12722
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
13420
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
13421
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12723
13422
if test "${lt_cv_dlopen_self+set}" = set; then
12724
13423
  echo $ECHO_N "(cached) $ECHO_C" >&6
12725
13424
else
12729
13428
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12730
13429
  lt_status=$lt_dlunknown
12731
13430
  cat > conftest.$ac_ext <<EOF
12732
 
#line 12732 "configure"
 
13431
#line 13431 "configure"
12733
13432
#include "confdefs.h"
12734
13433
 
12735
13434
#if HAVE_DLFCN_H
12811
13510
 
12812
13511
 
12813
13512
fi
12814
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12815
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
13513
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
13514
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12816
13515
 
12817
13516
    if test "x$lt_cv_dlopen_self" = xyes; then
12818
13517
      LDFLAGS="$LDFLAGS $link_static_flag"
12819
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12820
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
13518
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
13519
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12821
13520
if test "${lt_cv_dlopen_self_static+set}" = set; then
12822
13521
  echo $ECHO_N "(cached) $ECHO_C" >&6
12823
13522
else
12827
13526
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12828
13527
  lt_status=$lt_dlunknown
12829
13528
  cat > conftest.$ac_ext <<EOF
12830
 
#line 12830 "configure"
 
13529
#line 13529 "configure"
12831
13530
#include "confdefs.h"
12832
13531
 
12833
13532
#if HAVE_DLFCN_H
12909
13608
 
12910
13609
 
12911
13610
fi
12912
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12913
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
13611
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
13612
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12914
13613
    fi
12915
13614
 
12916
13615
    CPPFLAGS="$save_CPPFLAGS"
13409
14108
compiler_F77=$CC
13410
14109
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13411
14110
 
13412
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13413
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13414
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13415
 
echo "${ECHO_T}$can_build_shared" >&6
 
14111
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14112
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14113
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14114
echo "${ECHO_T}$can_build_shared" >&6; }
13416
14115
 
13417
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13418
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14116
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14117
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13419
14118
test "$can_build_shared" = "no" && enable_shared=no
13420
14119
 
13421
14120
# On AIX, shared libraries and static libraries use the same namespace, and
13432
14131
  test "$enable_shared" = yes && enable_static=no
13433
14132
  ;;
13434
14133
esac
13435
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13436
 
echo "${ECHO_T}$enable_shared" >&6
 
14134
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14135
echo "${ECHO_T}$enable_shared" >&6; }
13437
14136
 
13438
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13439
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14137
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14138
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13440
14139
# Make sure either enable_shared or enable_static is yes.
13441
14140
test "$enable_shared" = yes || enable_static=yes
13442
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13443
 
echo "${ECHO_T}$enable_static" >&6
 
14141
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14142
echo "${ECHO_T}$enable_static" >&6; }
13444
14143
 
13445
14144
test "$ld_shlibs_F77" = no && can_build_shared=no
13446
14145
 
13451
14150
lt_prog_compiler_pic_F77=
13452
14151
lt_prog_compiler_static_F77=
13453
14152
 
13454
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13455
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14153
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14154
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13456
14155
 
13457
14156
  if test "$GCC" = yes; then
13458
14157
    lt_prog_compiler_wl_F77='-Wl,'
13628
14327
    esac
13629
14328
  fi
13630
14329
 
13631
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13632
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14330
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14331
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13633
14332
 
13634
14333
#
13635
14334
# Check to make sure the PIC flag actually works.
13636
14335
#
13637
14336
if test -n "$lt_prog_compiler_pic_F77"; then
13638
14337
 
13639
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13640
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
 
14338
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14339
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13641
14340
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13642
14341
  echo $ECHO_N "(cached) $ECHO_C" >&6
13643
14342
else
13654
14353
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13655
14354
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13656
14355
   -e 's:$: $lt_compiler_flag:'`
13657
 
   (eval echo "\"\$as_me:13657: $lt_compile\"" >&5)
 
14356
   (eval echo "\"\$as_me:14356: $lt_compile\"" >&5)
13658
14357
   (eval "$lt_compile" 2>conftest.err)
13659
14358
   ac_status=$?
13660
14359
   cat conftest.err >&5
13661
 
   echo "$as_me:13661: \$? = $ac_status" >&5
 
14360
   echo "$as_me:14360: \$? = $ac_status" >&5
13662
14361
   if (exit $ac_status) && test -s "$ac_outfile"; then
13663
14362
     # The compiler can only warn and ignore the option if not recognized
13664
14363
     # So say no if there are warnings
13669
14368
   $rm conftest*
13670
14369
 
13671
14370
fi
13672
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13673
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14371
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
 
14372
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13674
14373
 
13675
14374
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13676
14375
    case $lt_prog_compiler_pic_F77 in
13693
14392
    ;;
13694
14393
esac
13695
14394
 
13696
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13697
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14395
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14396
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13698
14397
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13699
14398
  echo $ECHO_N "(cached) $ECHO_C" >&6
13700
14399
else
13714
14413
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13715
14414
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13716
14415
   -e 's:$: $lt_compiler_flag:'`
13717
 
   (eval echo "\"\$as_me:13717: $lt_compile\"" >&5)
 
14416
   (eval echo "\"\$as_me:14416: $lt_compile\"" >&5)
13718
14417
   (eval "$lt_compile" 2>out/conftest.err)
13719
14418
   ac_status=$?
13720
14419
   cat out/conftest.err >&5
13721
 
   echo "$as_me:13721: \$? = $ac_status" >&5
 
14420
   echo "$as_me:14420: \$? = $ac_status" >&5
13722
14421
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13723
14422
   then
13724
14423
     # The compiler can only warn and ignore the option if not recognized
13738
14437
   $rm conftest*
13739
14438
 
13740
14439
fi
13741
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13742
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14440
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14441
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13743
14442
 
13744
14443
 
13745
14444
hard_links="nottested"
13746
14445
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13747
14446
  # do not overwrite the value of need_locks provided by the user
13748
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13749
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14447
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14448
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13750
14449
  hard_links=yes
13751
14450
  $rm conftest*
13752
14451
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13753
14452
  touch conftest.a
13754
14453
  ln conftest.a conftest.b 2>&5 || hard_links=no
13755
14454
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13756
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13757
 
echo "${ECHO_T}$hard_links" >&6
 
14455
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14456
echo "${ECHO_T}$hard_links" >&6; }
13758
14457
  if test "$hard_links" = no; then
13759
14458
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13760
14459
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13764
14463
  need_locks=no
13765
14464
fi
13766
14465
 
13767
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13768
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14466
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14467
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13769
14468
 
13770
14469
  runpath_var=
13771
14470
  allow_undefined_flag_F77=
14088
14787
      end
14089
14788
_ACEOF
14090
14789
rm -f conftest.$ac_objext conftest$ac_exeext
14091
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14092
 
  (eval $ac_link) 2>conftest.er1
 
14790
if { (ac_try="$ac_link"
 
14791
case "(($ac_try" in
 
14792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14793
  *) ac_try_echo=$ac_try;;
 
14794
esac
 
14795
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14796
  (eval "$ac_link") 2>conftest.er1
14093
14797
  ac_status=$?
14094
14798
  grep -v '^ *+' conftest.er1 >conftest.err
14095
14799
  rm -f conftest.er1
14096
14800
  cat conftest.err >&5
14097
14801
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098
 
  (exit $ac_status); } &&
14099
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14100
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101
 
  (eval $ac_try) 2>&5
14102
 
  ac_status=$?
14103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104
 
  (exit $ac_status); }; } &&
14105
 
         { ac_try='test -s conftest$ac_exeext'
14106
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107
 
  (eval $ac_try) 2>&5
14108
 
  ac_status=$?
14109
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110
 
  (exit $ac_status); }; }; then
 
14802
  (exit $ac_status); } && {
 
14803
         test -z "$ac_f77_werror_flag" ||
 
14804
         test ! -s conftest.err
 
14805
       } && test -s conftest$ac_exeext &&
 
14806
       $as_test_x conftest$ac_exeext; then
14111
14807
 
14112
14808
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14113
14809
}'`
14118
14814
  echo "$as_me: failed program was:" >&5
14119
14815
sed 's/^/| /' conftest.$ac_ext >&5
14120
14816
 
 
14817
 
14121
14818
fi
14122
 
rm -f conftest.err conftest.$ac_objext \
 
14819
 
 
14820
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14123
14821
      conftest$ac_exeext conftest.$ac_ext
14124
14822
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14125
14823
 
14138
14836
      end
14139
14837
_ACEOF
14140
14838
rm -f conftest.$ac_objext conftest$ac_exeext
14141
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14142
 
  (eval $ac_link) 2>conftest.er1
 
14839
if { (ac_try="$ac_link"
 
14840
case "(($ac_try" in
 
14841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14842
  *) ac_try_echo=$ac_try;;
 
14843
esac
 
14844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
14845
  (eval "$ac_link") 2>conftest.er1
14143
14846
  ac_status=$?
14144
14847
  grep -v '^ *+' conftest.er1 >conftest.err
14145
14848
  rm -f conftest.er1
14146
14849
  cat conftest.err >&5
14147
14850
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148
 
  (exit $ac_status); } &&
14149
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14150
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151
 
  (eval $ac_try) 2>&5
14152
 
  ac_status=$?
14153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154
 
  (exit $ac_status); }; } &&
14155
 
         { ac_try='test -s conftest$ac_exeext'
14156
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157
 
  (eval $ac_try) 2>&5
14158
 
  ac_status=$?
14159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160
 
  (exit $ac_status); }; }; then
 
14851
  (exit $ac_status); } && {
 
14852
         test -z "$ac_f77_werror_flag" ||
 
14853
         test ! -s conftest.err
 
14854
       } && test -s conftest$ac_exeext &&
 
14855
       $as_test_x conftest$ac_exeext; then
14161
14856
 
14162
14857
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14163
14858
}'`
14168
14863
  echo "$as_me: failed program was:" >&5
14169
14864
sed 's/^/| /' conftest.$ac_ext >&5
14170
14865
 
 
14866
 
14171
14867
fi
14172
 
rm -f conftest.err conftest.$ac_objext \
 
14868
 
 
14869
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14173
14870
      conftest$ac_exeext conftest.$ac_ext
14174
14871
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14175
14872
 
14591
15288
    esac
14592
15289
  fi
14593
15290
 
14594
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14595
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15291
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15292
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14596
15293
test "$ld_shlibs_F77" = no && can_build_shared=no
14597
15294
 
14598
15295
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14617
15314
      # Test whether the compiler implicitly links with -lc since on some
14618
15315
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14619
15316
      # to ld, don't add -lc before -lgcc.
14620
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14621
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15317
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15318
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14622
15319
      $rm conftest*
14623
15320
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14624
15321
 
14654
15351
        cat conftest.err 1>&5
14655
15352
      fi
14656
15353
      $rm conftest*
14657
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14658
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15354
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15355
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14659
15356
      ;;
14660
15357
    esac
14661
15358
  fi
14662
15359
  ;;
14663
15360
esac
14664
15361
 
14665
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14666
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15362
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15363
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14667
15364
library_names_spec=
14668
15365
libname_spec='lib$name'
14669
15366
soname_spec=
15214
15911
  dynamic_linker=no
15215
15912
  ;;
15216
15913
esac
15217
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15218
 
echo "${ECHO_T}$dynamic_linker" >&6
 
15914
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15915
echo "${ECHO_T}$dynamic_linker" >&6; }
15219
15916
test "$dynamic_linker" = no && can_build_shared=no
15220
15917
 
15221
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15222
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
15918
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15919
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15223
15920
hardcode_action_F77=
15224
15921
if test -n "$hardcode_libdir_flag_spec_F77" || \
15225
15922
   test -n "$runpath_var F77" || \
15243
15940
  # directories.
15244
15941
  hardcode_action_F77=unsupported
15245
15942
fi
15246
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15247
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
15943
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
15944
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15248
15945
 
15249
15946
if test "$hardcode_action_F77" = relink; then
15250
15947
  # Fast installation is not supported
15257
15954
 
15258
15955
striplib=
15259
15956
old_striplib=
15260
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15261
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
15957
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
15958
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15262
15959
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15263
15960
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15264
15961
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15265
 
  echo "$as_me:$LINENO: result: yes" >&5
15266
 
echo "${ECHO_T}yes" >&6
 
15962
  { echo "$as_me:$LINENO: result: yes" >&5
 
15963
echo "${ECHO_T}yes" >&6; }
15267
15964
else
15268
15965
# FIXME - insert some real tests, host_os isn't really good enough
15269
15966
  case $host_os in
15270
15967
   darwin*)
15271
15968
       if test -n "$STRIP" ; then
15272
15969
         striplib="$STRIP -x"
15273
 
         echo "$as_me:$LINENO: result: yes" >&5
15274
 
echo "${ECHO_T}yes" >&6
 
15970
         { echo "$as_me:$LINENO: result: yes" >&5
 
15971
echo "${ECHO_T}yes" >&6; }
15275
15972
       else
15276
 
  echo "$as_me:$LINENO: result: no" >&5
15277
 
echo "${ECHO_T}no" >&6
 
15973
  { echo "$as_me:$LINENO: result: no" >&5
 
15974
echo "${ECHO_T}no" >&6; }
15278
15975
fi
15279
15976
       ;;
15280
15977
   *)
15281
 
  echo "$as_me:$LINENO: result: no" >&5
15282
 
echo "${ECHO_T}no" >&6
 
15978
  { echo "$as_me:$LINENO: result: no" >&5
 
15979
echo "${ECHO_T}no" >&6; }
15283
15980
    ;;
15284
15981
  esac
15285
15982
fi
15702
16399
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15703
16400
 
15704
16401
 
15705
 
 
15706
16402
# Source file extension for Java test sources.
15707
16403
ac_ext=java
15708
16404
 
15741
16437
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15742
16438
 
15743
16439
 
15744
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15745
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16440
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16441
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15746
16442
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15747
16443
  echo $ECHO_N "(cached) $ECHO_C" >&6
15748
16444
else
15759
16455
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15760
16456
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15761
16457
   -e 's:$: $lt_compiler_flag:'`
15762
 
   (eval echo "\"\$as_me:15762: $lt_compile\"" >&5)
 
16458
   (eval echo "\"\$as_me:16458: $lt_compile\"" >&5)
15763
16459
   (eval "$lt_compile" 2>conftest.err)
15764
16460
   ac_status=$?
15765
16461
   cat conftest.err >&5
15766
 
   echo "$as_me:15766: \$? = $ac_status" >&5
 
16462
   echo "$as_me:16462: \$? = $ac_status" >&5
15767
16463
   if (exit $ac_status) && test -s "$ac_outfile"; then
15768
16464
     # The compiler can only warn and ignore the option if not recognized
15769
16465
     # So say no if there are warnings
15774
16470
   $rm conftest*
15775
16471
 
15776
16472
fi
15777
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15778
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16473
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16474
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15779
16475
 
15780
16476
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15781
16477
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15789
16485
lt_prog_compiler_pic_GCJ=
15790
16486
lt_prog_compiler_static_GCJ=
15791
16487
 
15792
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15793
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16488
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16489
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15794
16490
 
15795
16491
  if test "$GCC" = yes; then
15796
16492
    lt_prog_compiler_wl_GCJ='-Wl,'
15966
16662
    esac
15967
16663
  fi
15968
16664
 
15969
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15970
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
16665
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
16666
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15971
16667
 
15972
16668
#
15973
16669
# Check to make sure the PIC flag actually works.
15974
16670
#
15975
16671
if test -n "$lt_prog_compiler_pic_GCJ"; then
15976
16672
 
15977
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15978
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 
16673
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
16674
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15979
16675
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15980
16676
  echo $ECHO_N "(cached) $ECHO_C" >&6
15981
16677
else
15992
16688
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15993
16689
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15994
16690
   -e 's:$: $lt_compiler_flag:'`
15995
 
   (eval echo "\"\$as_me:15995: $lt_compile\"" >&5)
 
16691
   (eval echo "\"\$as_me:16691: $lt_compile\"" >&5)
15996
16692
   (eval "$lt_compile" 2>conftest.err)
15997
16693
   ac_status=$?
15998
16694
   cat conftest.err >&5
15999
 
   echo "$as_me:15999: \$? = $ac_status" >&5
 
16695
   echo "$as_me:16695: \$? = $ac_status" >&5
16000
16696
   if (exit $ac_status) && test -s "$ac_outfile"; then
16001
16697
     # The compiler can only warn and ignore the option if not recognized
16002
16698
     # So say no if there are warnings
16007
16703
   $rm conftest*
16008
16704
 
16009
16705
fi
16010
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16011
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
16706
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
 
16707
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16012
16708
 
16013
16709
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16014
16710
    case $lt_prog_compiler_pic_GCJ in
16031
16727
    ;;
16032
16728
esac
16033
16729
 
16034
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16035
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
16730
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16731
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16036
16732
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16037
16733
  echo $ECHO_N "(cached) $ECHO_C" >&6
16038
16734
else
16052
16748
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16053
16749
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16054
16750
   -e 's:$: $lt_compiler_flag:'`
16055
 
   (eval echo "\"\$as_me:16055: $lt_compile\"" >&5)
 
16751
   (eval echo "\"\$as_me:16751: $lt_compile\"" >&5)
16056
16752
   (eval "$lt_compile" 2>out/conftest.err)
16057
16753
   ac_status=$?
16058
16754
   cat out/conftest.err >&5
16059
 
   echo "$as_me:16059: \$? = $ac_status" >&5
 
16755
   echo "$as_me:16755: \$? = $ac_status" >&5
16060
16756
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16061
16757
   then
16062
16758
     # The compiler can only warn and ignore the option if not recognized
16076
16772
   $rm conftest*
16077
16773
 
16078
16774
fi
16079
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16080
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
16775
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
16776
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16081
16777
 
16082
16778
 
16083
16779
hard_links="nottested"
16084
16780
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16085
16781
  # do not overwrite the value of need_locks provided by the user
16086
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16087
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
16782
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16783
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16088
16784
  hard_links=yes
16089
16785
  $rm conftest*
16090
16786
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16091
16787
  touch conftest.a
16092
16788
  ln conftest.a conftest.b 2>&5 || hard_links=no
16093
16789
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16094
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16095
 
echo "${ECHO_T}$hard_links" >&6
 
16790
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
16791
echo "${ECHO_T}$hard_links" >&6; }
16096
16792
  if test "$hard_links" = no; then
16097
16793
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16098
16794
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16102
16798
  need_locks=no
16103
16799
fi
16104
16800
 
16105
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16106
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
16801
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16802
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16107
16803
 
16108
16804
  runpath_var=
16109
16805
  allow_undefined_flag_GCJ=
16436
17132
}
16437
17133
_ACEOF
16438
17134
rm -f conftest.$ac_objext conftest$ac_exeext
16439
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16440
 
  (eval $ac_link) 2>conftest.er1
 
17135
if { (ac_try="$ac_link"
 
17136
case "(($ac_try" in
 
17137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17138
  *) ac_try_echo=$ac_try;;
 
17139
esac
 
17140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17141
  (eval "$ac_link") 2>conftest.er1
16441
17142
  ac_status=$?
16442
17143
  grep -v '^ *+' conftest.er1 >conftest.err
16443
17144
  rm -f conftest.er1
16444
17145
  cat conftest.err >&5
16445
17146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446
 
  (exit $ac_status); } &&
16447
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16448
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449
 
  (eval $ac_try) 2>&5
16450
 
  ac_status=$?
16451
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452
 
  (exit $ac_status); }; } &&
16453
 
         { ac_try='test -s conftest$ac_exeext'
16454
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455
 
  (eval $ac_try) 2>&5
16456
 
  ac_status=$?
16457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458
 
  (exit $ac_status); }; }; then
 
17147
  (exit $ac_status); } && {
 
17148
         test -z "$ac_c_werror_flag" ||
 
17149
         test ! -s conftest.err
 
17150
       } && test -s conftest$ac_exeext &&
 
17151
       $as_test_x conftest$ac_exeext; then
16459
17152
 
16460
17153
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16461
17154
}'`
16466
17159
  echo "$as_me: failed program was:" >&5
16467
17160
sed 's/^/| /' conftest.$ac_ext >&5
16468
17161
 
 
17162
 
16469
17163
fi
16470
 
rm -f conftest.err conftest.$ac_objext \
 
17164
 
 
17165
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16471
17166
      conftest$ac_exeext conftest.$ac_ext
16472
17167
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16473
17168
 
16496
17191
}
16497
17192
_ACEOF
16498
17193
rm -f conftest.$ac_objext conftest$ac_exeext
16499
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500
 
  (eval $ac_link) 2>conftest.er1
 
17194
if { (ac_try="$ac_link"
 
17195
case "(($ac_try" in
 
17196
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17197
  *) ac_try_echo=$ac_try;;
 
17198
esac
 
17199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17200
  (eval "$ac_link") 2>conftest.er1
16501
17201
  ac_status=$?
16502
17202
  grep -v '^ *+' conftest.er1 >conftest.err
16503
17203
  rm -f conftest.er1
16504
17204
  cat conftest.err >&5
16505
17205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506
 
  (exit $ac_status); } &&
16507
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16508
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509
 
  (eval $ac_try) 2>&5
16510
 
  ac_status=$?
16511
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512
 
  (exit $ac_status); }; } &&
16513
 
         { ac_try='test -s conftest$ac_exeext'
16514
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515
 
  (eval $ac_try) 2>&5
16516
 
  ac_status=$?
16517
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518
 
  (exit $ac_status); }; }; then
 
17206
  (exit $ac_status); } && {
 
17207
         test -z "$ac_c_werror_flag" ||
 
17208
         test ! -s conftest.err
 
17209
       } && test -s conftest$ac_exeext &&
 
17210
       $as_test_x conftest$ac_exeext; then
16519
17211
 
16520
17212
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16521
17213
}'`
16526
17218
  echo "$as_me: failed program was:" >&5
16527
17219
sed 's/^/| /' conftest.$ac_ext >&5
16528
17220
 
 
17221
 
16529
17222
fi
16530
 
rm -f conftest.err conftest.$ac_objext \
 
17223
 
 
17224
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16531
17225
      conftest$ac_exeext conftest.$ac_ext
16532
17226
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16533
17227
 
16949
17643
    esac
16950
17644
  fi
16951
17645
 
16952
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16953
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
17646
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
17647
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16954
17648
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16955
17649
 
16956
17650
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16975
17669
      # Test whether the compiler implicitly links with -lc since on some
16976
17670
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16977
17671
      # to ld, don't add -lc before -lgcc.
16978
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16979
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
17672
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17673
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16980
17674
      $rm conftest*
16981
17675
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16982
17676
 
17012
17706
        cat conftest.err 1>&5
17013
17707
      fi
17014
17708
      $rm conftest*
17015
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17016
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
17709
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
17710
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17017
17711
      ;;
17018
17712
    esac
17019
17713
  fi
17020
17714
  ;;
17021
17715
esac
17022
17716
 
17023
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17024
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
17717
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17718
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17025
17719
library_names_spec=
17026
17720
libname_spec='lib$name'
17027
17721
soname_spec=
17572
18266
  dynamic_linker=no
17573
18267
  ;;
17574
18268
esac
17575
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17576
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18269
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18270
echo "${ECHO_T}$dynamic_linker" >&6; }
17577
18271
test "$dynamic_linker" = no && can_build_shared=no
17578
18272
 
17579
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17580
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18273
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18274
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17581
18275
hardcode_action_GCJ=
17582
18276
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17583
18277
   test -n "$runpath_var GCJ" || \
17601
18295
  # directories.
17602
18296
  hardcode_action_GCJ=unsupported
17603
18297
fi
17604
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17605
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18298
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18299
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17606
18300
 
17607
18301
if test "$hardcode_action_GCJ" = relink; then
17608
18302
  # Fast installation is not supported
17615
18309
 
17616
18310
striplib=
17617
18311
old_striplib=
17618
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17619
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
18312
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
18313
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
17620
18314
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17621
18315
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17622
18316
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17623
 
  echo "$as_me:$LINENO: result: yes" >&5
17624
 
echo "${ECHO_T}yes" >&6
 
18317
  { echo "$as_me:$LINENO: result: yes" >&5
 
18318
echo "${ECHO_T}yes" >&6; }
17625
18319
else
17626
18320
# FIXME - insert some real tests, host_os isn't really good enough
17627
18321
  case $host_os in
17628
18322
   darwin*)
17629
18323
       if test -n "$STRIP" ; then
17630
18324
         striplib="$STRIP -x"
17631
 
         echo "$as_me:$LINENO: result: yes" >&5
17632
 
echo "${ECHO_T}yes" >&6
 
18325
         { echo "$as_me:$LINENO: result: yes" >&5
 
18326
echo "${ECHO_T}yes" >&6; }
17633
18327
       else
17634
 
  echo "$as_me:$LINENO: result: no" >&5
17635
 
echo "${ECHO_T}no" >&6
 
18328
  { echo "$as_me:$LINENO: result: no" >&5
 
18329
echo "${ECHO_T}no" >&6; }
17636
18330
fi
17637
18331
       ;;
17638
18332
   *)
17639
 
  echo "$as_me:$LINENO: result: no" >&5
17640
 
echo "${ECHO_T}no" >&6
 
18333
  { echo "$as_me:$LINENO: result: no" >&5
 
18334
echo "${ECHO_T}no" >&6; }
17641
18335
    ;;
17642
18336
  esac
17643
18337
fi
17669
18363
 
17670
18364
  darwin*)
17671
18365
  # if libdl is installed we need to link against it
17672
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17673
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
18366
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
18367
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17674
18368
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17675
18369
  echo $ECHO_N "(cached) $ECHO_C" >&6
17676
18370
else
17683
18377
cat >>conftest.$ac_ext <<_ACEOF
17684
18378
/* end confdefs.h.  */
17685
18379
 
17686
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18380
/* Override any GCC internal prototype to avoid an error.
 
18381
   Use char because int might match the return type of a GCC
 
18382
   builtin and then its argument prototype would still apply.  */
17687
18383
#ifdef __cplusplus
17688
18384
extern "C"
17689
18385
#endif
17690
 
/* We use char because int might match the return type of a gcc2
17691
 
   builtin and then its argument prototype would still apply.  */
17692
18386
char dlopen ();
17693
18387
int
17694
18388
main ()
17695
18389
{
17696
 
dlopen ();
 
18390
return dlopen ();
17697
18391
  ;
17698
18392
  return 0;
17699
18393
}
17700
18394
_ACEOF
17701
18395
rm -f conftest.$ac_objext conftest$ac_exeext
17702
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17703
 
  (eval $ac_link) 2>conftest.er1
 
18396
if { (ac_try="$ac_link"
 
18397
case "(($ac_try" in
 
18398
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18399
  *) ac_try_echo=$ac_try;;
 
18400
esac
 
18401
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18402
  (eval "$ac_link") 2>conftest.er1
17704
18403
  ac_status=$?
17705
18404
  grep -v '^ *+' conftest.er1 >conftest.err
17706
18405
  rm -f conftest.er1
17707
18406
  cat conftest.err >&5
17708
18407
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709
 
  (exit $ac_status); } &&
17710
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17711
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712
 
  (eval $ac_try) 2>&5
17713
 
  ac_status=$?
17714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715
 
  (exit $ac_status); }; } &&
17716
 
         { ac_try='test -s conftest$ac_exeext'
17717
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718
 
  (eval $ac_try) 2>&5
17719
 
  ac_status=$?
17720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721
 
  (exit $ac_status); }; }; then
 
18408
  (exit $ac_status); } && {
 
18409
         test -z "$ac_c_werror_flag" ||
 
18410
         test ! -s conftest.err
 
18411
       } && test -s conftest$ac_exeext &&
 
18412
       $as_test_x conftest$ac_exeext; then
17722
18413
  ac_cv_lib_dl_dlopen=yes
17723
18414
else
17724
18415
  echo "$as_me: failed program was:" >&5
17725
18416
sed 's/^/| /' conftest.$ac_ext >&5
17726
18417
 
17727
 
ac_cv_lib_dl_dlopen=no
 
18418
        ac_cv_lib_dl_dlopen=no
17728
18419
fi
17729
 
rm -f conftest.err conftest.$ac_objext \
 
18420
 
 
18421
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17730
18422
      conftest$ac_exeext conftest.$ac_ext
17731
18423
LIBS=$ac_check_lib_save_LIBS
17732
18424
fi
17733
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17734
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
18425
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
18426
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17735
18427
if test $ac_cv_lib_dl_dlopen = yes; then
17736
18428
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17737
18429
else
17745
18437
   ;;
17746
18438
 
17747
18439
  *)
17748
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
17749
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
18440
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
18441
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17750
18442
if test "${ac_cv_func_shl_load+set}" = set; then
17751
18443
  echo $ECHO_N "(cached) $ECHO_C" >&6
17752
18444
else
17773
18465
 
17774
18466
#undef shl_load
17775
18467
 
17776
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18468
/* Override any GCC internal prototype to avoid an error.
 
18469
   Use char because int might match the return type of a GCC
 
18470
   builtin and then its argument prototype would still apply.  */
17777
18471
#ifdef __cplusplus
17778
18472
extern "C"
17779
 
{
17780
18473
#endif
17781
 
/* We use char because int might match the return type of a gcc2
17782
 
   builtin and then its argument prototype would still apply.  */
17783
18474
char shl_load ();
17784
18475
/* The GNU C library defines this for functions which it implements
17785
18476
    to always fail with ENOSYS.  Some functions are actually named
17786
18477
    something starting with __ and the normal name is an alias.  */
17787
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
18478
#if defined __stub_shl_load || defined __stub___shl_load
17788
18479
choke me
17789
 
#else
17790
 
char (*f) () = shl_load;
17791
 
#endif
17792
 
#ifdef __cplusplus
17793
 
}
17794
18480
#endif
17795
18481
 
17796
18482
int
17797
18483
main ()
17798
18484
{
17799
 
return f != shl_load;
 
18485
return shl_load ();
17800
18486
  ;
17801
18487
  return 0;
17802
18488
}
17803
18489
_ACEOF
17804
18490
rm -f conftest.$ac_objext conftest$ac_exeext
17805
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17806
 
  (eval $ac_link) 2>conftest.er1
 
18491
if { (ac_try="$ac_link"
 
18492
case "(($ac_try" in
 
18493
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18494
  *) ac_try_echo=$ac_try;;
 
18495
esac
 
18496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18497
  (eval "$ac_link") 2>conftest.er1
17807
18498
  ac_status=$?
17808
18499
  grep -v '^ *+' conftest.er1 >conftest.err
17809
18500
  rm -f conftest.er1
17810
18501
  cat conftest.err >&5
17811
18502
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812
 
  (exit $ac_status); } &&
17813
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17814
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815
 
  (eval $ac_try) 2>&5
17816
 
  ac_status=$?
17817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818
 
  (exit $ac_status); }; } &&
17819
 
         { ac_try='test -s conftest$ac_exeext'
17820
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821
 
  (eval $ac_try) 2>&5
17822
 
  ac_status=$?
17823
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824
 
  (exit $ac_status); }; }; then
 
18503
  (exit $ac_status); } && {
 
18504
         test -z "$ac_c_werror_flag" ||
 
18505
         test ! -s conftest.err
 
18506
       } && test -s conftest$ac_exeext &&
 
18507
       $as_test_x conftest$ac_exeext; then
17825
18508
  ac_cv_func_shl_load=yes
17826
18509
else
17827
18510
  echo "$as_me: failed program was:" >&5
17828
18511
sed 's/^/| /' conftest.$ac_ext >&5
17829
18512
 
17830
 
ac_cv_func_shl_load=no
 
18513
        ac_cv_func_shl_load=no
17831
18514
fi
17832
 
rm -f conftest.err conftest.$ac_objext \
 
18515
 
 
18516
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17833
18517
      conftest$ac_exeext conftest.$ac_ext
17834
18518
fi
17835
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17836
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
18519
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
18520
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17837
18521
if test $ac_cv_func_shl_load = yes; then
17838
18522
  lt_cv_dlopen="shl_load"
17839
18523
else
17840
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17841
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
18524
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
18525
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17842
18526
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17843
18527
  echo $ECHO_N "(cached) $ECHO_C" >&6
17844
18528
else
17851
18535
cat >>conftest.$ac_ext <<_ACEOF
17852
18536
/* end confdefs.h.  */
17853
18537
 
17854
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18538
/* Override any GCC internal prototype to avoid an error.
 
18539
   Use char because int might match the return type of a GCC
 
18540
   builtin and then its argument prototype would still apply.  */
17855
18541
#ifdef __cplusplus
17856
18542
extern "C"
17857
18543
#endif
17858
 
/* We use char because int might match the return type of a gcc2
17859
 
   builtin and then its argument prototype would still apply.  */
17860
18544
char shl_load ();
17861
18545
int
17862
18546
main ()
17863
18547
{
17864
 
shl_load ();
 
18548
return shl_load ();
17865
18549
  ;
17866
18550
  return 0;
17867
18551
}
17868
18552
_ACEOF
17869
18553
rm -f conftest.$ac_objext conftest$ac_exeext
17870
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17871
 
  (eval $ac_link) 2>conftest.er1
 
18554
if { (ac_try="$ac_link"
 
18555
case "(($ac_try" in
 
18556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18557
  *) ac_try_echo=$ac_try;;
 
18558
esac
 
18559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18560
  (eval "$ac_link") 2>conftest.er1
17872
18561
  ac_status=$?
17873
18562
  grep -v '^ *+' conftest.er1 >conftest.err
17874
18563
  rm -f conftest.er1
17875
18564
  cat conftest.err >&5
17876
18565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877
 
  (exit $ac_status); } &&
17878
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17879
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17880
 
  (eval $ac_try) 2>&5
17881
 
  ac_status=$?
17882
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883
 
  (exit $ac_status); }; } &&
17884
 
         { ac_try='test -s conftest$ac_exeext'
17885
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886
 
  (eval $ac_try) 2>&5
17887
 
  ac_status=$?
17888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889
 
  (exit $ac_status); }; }; then
 
18566
  (exit $ac_status); } && {
 
18567
         test -z "$ac_c_werror_flag" ||
 
18568
         test ! -s conftest.err
 
18569
       } && test -s conftest$ac_exeext &&
 
18570
       $as_test_x conftest$ac_exeext; then
17890
18571
  ac_cv_lib_dld_shl_load=yes
17891
18572
else
17892
18573
  echo "$as_me: failed program was:" >&5
17893
18574
sed 's/^/| /' conftest.$ac_ext >&5
17894
18575
 
17895
 
ac_cv_lib_dld_shl_load=no
 
18576
        ac_cv_lib_dld_shl_load=no
17896
18577
fi
17897
 
rm -f conftest.err conftest.$ac_objext \
 
18578
 
 
18579
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17898
18580
      conftest$ac_exeext conftest.$ac_ext
17899
18581
LIBS=$ac_check_lib_save_LIBS
17900
18582
fi
17901
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17902
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
18583
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
18584
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17903
18585
if test $ac_cv_lib_dld_shl_load = yes; then
17904
18586
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17905
18587
else
17906
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
17907
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
18588
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
18589
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17908
18590
if test "${ac_cv_func_dlopen+set}" = set; then
17909
18591
  echo $ECHO_N "(cached) $ECHO_C" >&6
17910
18592
else
17931
18613
 
17932
18614
#undef dlopen
17933
18615
 
17934
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18616
/* Override any GCC internal prototype to avoid an error.
 
18617
   Use char because int might match the return type of a GCC
 
18618
   builtin and then its argument prototype would still apply.  */
17935
18619
#ifdef __cplusplus
17936
18620
extern "C"
17937
 
{
17938
18621
#endif
17939
 
/* We use char because int might match the return type of a gcc2
17940
 
   builtin and then its argument prototype would still apply.  */
17941
18622
char dlopen ();
17942
18623
/* The GNU C library defines this for functions which it implements
17943
18624
    to always fail with ENOSYS.  Some functions are actually named
17944
18625
    something starting with __ and the normal name is an alias.  */
17945
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
18626
#if defined __stub_dlopen || defined __stub___dlopen
17946
18627
choke me
17947
 
#else
17948
 
char (*f) () = dlopen;
17949
 
#endif
17950
 
#ifdef __cplusplus
17951
 
}
17952
18628
#endif
17953
18629
 
17954
18630
int
17955
18631
main ()
17956
18632
{
17957
 
return f != dlopen;
 
18633
return dlopen ();
17958
18634
  ;
17959
18635
  return 0;
17960
18636
}
17961
18637
_ACEOF
17962
18638
rm -f conftest.$ac_objext conftest$ac_exeext
17963
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17964
 
  (eval $ac_link) 2>conftest.er1
 
18639
if { (ac_try="$ac_link"
 
18640
case "(($ac_try" in
 
18641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18642
  *) ac_try_echo=$ac_try;;
 
18643
esac
 
18644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18645
  (eval "$ac_link") 2>conftest.er1
17965
18646
  ac_status=$?
17966
18647
  grep -v '^ *+' conftest.er1 >conftest.err
17967
18648
  rm -f conftest.er1
17968
18649
  cat conftest.err >&5
17969
18650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970
 
  (exit $ac_status); } &&
17971
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17972
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973
 
  (eval $ac_try) 2>&5
17974
 
  ac_status=$?
17975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976
 
  (exit $ac_status); }; } &&
17977
 
         { ac_try='test -s conftest$ac_exeext'
17978
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979
 
  (eval $ac_try) 2>&5
17980
 
  ac_status=$?
17981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982
 
  (exit $ac_status); }; }; then
 
18651
  (exit $ac_status); } && {
 
18652
         test -z "$ac_c_werror_flag" ||
 
18653
         test ! -s conftest.err
 
18654
       } && test -s conftest$ac_exeext &&
 
18655
       $as_test_x conftest$ac_exeext; then
17983
18656
  ac_cv_func_dlopen=yes
17984
18657
else
17985
18658
  echo "$as_me: failed program was:" >&5
17986
18659
sed 's/^/| /' conftest.$ac_ext >&5
17987
18660
 
17988
 
ac_cv_func_dlopen=no
 
18661
        ac_cv_func_dlopen=no
17989
18662
fi
17990
 
rm -f conftest.err conftest.$ac_objext \
 
18663
 
 
18664
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17991
18665
      conftest$ac_exeext conftest.$ac_ext
17992
18666
fi
17993
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17994
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
18667
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
18668
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17995
18669
if test $ac_cv_func_dlopen = yes; then
17996
18670
  lt_cv_dlopen="dlopen"
17997
18671
else
17998
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17999
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
18672
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
18673
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18000
18674
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18001
18675
  echo $ECHO_N "(cached) $ECHO_C" >&6
18002
18676
else
18009
18683
cat >>conftest.$ac_ext <<_ACEOF
18010
18684
/* end confdefs.h.  */
18011
18685
 
18012
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18686
/* Override any GCC internal prototype to avoid an error.
 
18687
   Use char because int might match the return type of a GCC
 
18688
   builtin and then its argument prototype would still apply.  */
18013
18689
#ifdef __cplusplus
18014
18690
extern "C"
18015
18691
#endif
18016
 
/* We use char because int might match the return type of a gcc2
18017
 
   builtin and then its argument prototype would still apply.  */
18018
18692
char dlopen ();
18019
18693
int
18020
18694
main ()
18021
18695
{
18022
 
dlopen ();
 
18696
return dlopen ();
18023
18697
  ;
18024
18698
  return 0;
18025
18699
}
18026
18700
_ACEOF
18027
18701
rm -f conftest.$ac_objext conftest$ac_exeext
18028
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18029
 
  (eval $ac_link) 2>conftest.er1
 
18702
if { (ac_try="$ac_link"
 
18703
case "(($ac_try" in
 
18704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18705
  *) ac_try_echo=$ac_try;;
 
18706
esac
 
18707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18708
  (eval "$ac_link") 2>conftest.er1
18030
18709
  ac_status=$?
18031
18710
  grep -v '^ *+' conftest.er1 >conftest.err
18032
18711
  rm -f conftest.er1
18033
18712
  cat conftest.err >&5
18034
18713
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035
 
  (exit $ac_status); } &&
18036
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18037
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038
 
  (eval $ac_try) 2>&5
18039
 
  ac_status=$?
18040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041
 
  (exit $ac_status); }; } &&
18042
 
         { ac_try='test -s conftest$ac_exeext'
18043
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044
 
  (eval $ac_try) 2>&5
18045
 
  ac_status=$?
18046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047
 
  (exit $ac_status); }; }; then
 
18714
  (exit $ac_status); } && {
 
18715
         test -z "$ac_c_werror_flag" ||
 
18716
         test ! -s conftest.err
 
18717
       } && test -s conftest$ac_exeext &&
 
18718
       $as_test_x conftest$ac_exeext; then
18048
18719
  ac_cv_lib_dl_dlopen=yes
18049
18720
else
18050
18721
  echo "$as_me: failed program was:" >&5
18051
18722
sed 's/^/| /' conftest.$ac_ext >&5
18052
18723
 
18053
 
ac_cv_lib_dl_dlopen=no
 
18724
        ac_cv_lib_dl_dlopen=no
18054
18725
fi
18055
 
rm -f conftest.err conftest.$ac_objext \
 
18726
 
 
18727
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18056
18728
      conftest$ac_exeext conftest.$ac_ext
18057
18729
LIBS=$ac_check_lib_save_LIBS
18058
18730
fi
18059
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18060
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
18731
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
18732
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18061
18733
if test $ac_cv_lib_dl_dlopen = yes; then
18062
18734
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18063
18735
else
18064
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18065
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
18736
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
18737
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
18066
18738
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18067
18739
  echo $ECHO_N "(cached) $ECHO_C" >&6
18068
18740
else
18075
18747
cat >>conftest.$ac_ext <<_ACEOF
18076
18748
/* end confdefs.h.  */
18077
18749
 
18078
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18750
/* Override any GCC internal prototype to avoid an error.
 
18751
   Use char because int might match the return type of a GCC
 
18752
   builtin and then its argument prototype would still apply.  */
18079
18753
#ifdef __cplusplus
18080
18754
extern "C"
18081
18755
#endif
18082
 
/* We use char because int might match the return type of a gcc2
18083
 
   builtin and then its argument prototype would still apply.  */
18084
18756
char dlopen ();
18085
18757
int
18086
18758
main ()
18087
18759
{
18088
 
dlopen ();
 
18760
return dlopen ();
18089
18761
  ;
18090
18762
  return 0;
18091
18763
}
18092
18764
_ACEOF
18093
18765
rm -f conftest.$ac_objext conftest$ac_exeext
18094
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18095
 
  (eval $ac_link) 2>conftest.er1
 
18766
if { (ac_try="$ac_link"
 
18767
case "(($ac_try" in
 
18768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18769
  *) ac_try_echo=$ac_try;;
 
18770
esac
 
18771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18772
  (eval "$ac_link") 2>conftest.er1
18096
18773
  ac_status=$?
18097
18774
  grep -v '^ *+' conftest.er1 >conftest.err
18098
18775
  rm -f conftest.er1
18099
18776
  cat conftest.err >&5
18100
18777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101
 
  (exit $ac_status); } &&
18102
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18103
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104
 
  (eval $ac_try) 2>&5
18105
 
  ac_status=$?
18106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107
 
  (exit $ac_status); }; } &&
18108
 
         { ac_try='test -s conftest$ac_exeext'
18109
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110
 
  (eval $ac_try) 2>&5
18111
 
  ac_status=$?
18112
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113
 
  (exit $ac_status); }; }; then
 
18778
  (exit $ac_status); } && {
 
18779
         test -z "$ac_c_werror_flag" ||
 
18780
         test ! -s conftest.err
 
18781
       } && test -s conftest$ac_exeext &&
 
18782
       $as_test_x conftest$ac_exeext; then
18114
18783
  ac_cv_lib_svld_dlopen=yes
18115
18784
else
18116
18785
  echo "$as_me: failed program was:" >&5
18117
18786
sed 's/^/| /' conftest.$ac_ext >&5
18118
18787
 
18119
 
ac_cv_lib_svld_dlopen=no
 
18788
        ac_cv_lib_svld_dlopen=no
18120
18789
fi
18121
 
rm -f conftest.err conftest.$ac_objext \
 
18790
 
 
18791
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18122
18792
      conftest$ac_exeext conftest.$ac_ext
18123
18793
LIBS=$ac_check_lib_save_LIBS
18124
18794
fi
18125
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18126
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
18795
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
18796
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
18127
18797
if test $ac_cv_lib_svld_dlopen = yes; then
18128
18798
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18129
18799
else
18130
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18131
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
18800
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
18801
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
18132
18802
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18133
18803
  echo $ECHO_N "(cached) $ECHO_C" >&6
18134
18804
else
18141
18811
cat >>conftest.$ac_ext <<_ACEOF
18142
18812
/* end confdefs.h.  */
18143
18813
 
18144
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18814
/* Override any GCC internal prototype to avoid an error.
 
18815
   Use char because int might match the return type of a GCC
 
18816
   builtin and then its argument prototype would still apply.  */
18145
18817
#ifdef __cplusplus
18146
18818
extern "C"
18147
18819
#endif
18148
 
/* We use char because int might match the return type of a gcc2
18149
 
   builtin and then its argument prototype would still apply.  */
18150
18820
char dld_link ();
18151
18821
int
18152
18822
main ()
18153
18823
{
18154
 
dld_link ();
 
18824
return dld_link ();
18155
18825
  ;
18156
18826
  return 0;
18157
18827
}
18158
18828
_ACEOF
18159
18829
rm -f conftest.$ac_objext conftest$ac_exeext
18160
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18161
 
  (eval $ac_link) 2>conftest.er1
 
18830
if { (ac_try="$ac_link"
 
18831
case "(($ac_try" in
 
18832
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18833
  *) ac_try_echo=$ac_try;;
 
18834
esac
 
18835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
18836
  (eval "$ac_link") 2>conftest.er1
18162
18837
  ac_status=$?
18163
18838
  grep -v '^ *+' conftest.er1 >conftest.err
18164
18839
  rm -f conftest.er1
18165
18840
  cat conftest.err >&5
18166
18841
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167
 
  (exit $ac_status); } &&
18168
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18169
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170
 
  (eval $ac_try) 2>&5
18171
 
  ac_status=$?
18172
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173
 
  (exit $ac_status); }; } &&
18174
 
         { ac_try='test -s conftest$ac_exeext'
18175
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176
 
  (eval $ac_try) 2>&5
18177
 
  ac_status=$?
18178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179
 
  (exit $ac_status); }; }; then
 
18842
  (exit $ac_status); } && {
 
18843
         test -z "$ac_c_werror_flag" ||
 
18844
         test ! -s conftest.err
 
18845
       } && test -s conftest$ac_exeext &&
 
18846
       $as_test_x conftest$ac_exeext; then
18180
18847
  ac_cv_lib_dld_dld_link=yes
18181
18848
else
18182
18849
  echo "$as_me: failed program was:" >&5
18183
18850
sed 's/^/| /' conftest.$ac_ext >&5
18184
18851
 
18185
 
ac_cv_lib_dld_dld_link=no
 
18852
        ac_cv_lib_dld_dld_link=no
18186
18853
fi
18187
 
rm -f conftest.err conftest.$ac_objext \
 
18854
 
 
18855
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18188
18856
      conftest$ac_exeext conftest.$ac_ext
18189
18857
LIBS=$ac_check_lib_save_LIBS
18190
18858
fi
18191
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18192
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
18859
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
18860
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
18193
18861
if test $ac_cv_lib_dld_dld_link = yes; then
18194
18862
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18195
18863
fi
18229
18897
    save_LIBS="$LIBS"
18230
18898
    LIBS="$lt_cv_dlopen_libs $LIBS"
18231
18899
 
18232
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18233
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
18900
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
18901
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
18234
18902
if test "${lt_cv_dlopen_self+set}" = set; then
18235
18903
  echo $ECHO_N "(cached) $ECHO_C" >&6
18236
18904
else
18240
18908
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18241
18909
  lt_status=$lt_dlunknown
18242
18910
  cat > conftest.$ac_ext <<EOF
18243
 
#line 18243 "configure"
 
18911
#line 18911 "configure"
18244
18912
#include "confdefs.h"
18245
18913
 
18246
18914
#if HAVE_DLFCN_H
18322
18990
 
18323
18991
 
18324
18992
fi
18325
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18326
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
18993
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
18994
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
18327
18995
 
18328
18996
    if test "x$lt_cv_dlopen_self" = xyes; then
18329
18997
      LDFLAGS="$LDFLAGS $link_static_flag"
18330
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18331
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
18998
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
18999
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
18332
19000
if test "${lt_cv_dlopen_self_static+set}" = set; then
18333
19001
  echo $ECHO_N "(cached) $ECHO_C" >&6
18334
19002
else
18338
19006
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18339
19007
  lt_status=$lt_dlunknown
18340
19008
  cat > conftest.$ac_ext <<EOF
18341
 
#line 18341 "configure"
 
19009
#line 19009 "configure"
18342
19010
#include "confdefs.h"
18343
19011
 
18344
19012
#if HAVE_DLFCN_H
18420
19088
 
18421
19089
 
18422
19090
fi
18423
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18424
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
19091
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
19092
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
18425
19093
    fi
18426
19094
 
18427
19095
    CPPFLAGS="$save_CPPFLAGS"
18857
19525
      RC)
18858
19526
 
18859
19527
 
18860
 
 
18861
19528
# Source file extension for RC test sources.
18862
19529
ac_ext=rc
18863
19530
 
19353
20020
 
19354
20021
 
19355
20022
 
19356
 
 
19357
 
if test "x$ac_path_x_has_been_run" != xyes; then
19358
 
  echo "$as_me:$LINENO: checking for X" >&5
19359
 
echo $ECHO_N "checking for X... $ECHO_C" >&6
19360
 
 
19361
 
ac_path_x_has_been_run=yes
19362
 
 
19363
 
# Check whether --with-x or --without-x was given.
 
20023
{ echo "$as_me:$LINENO: checking for X" >&5
 
20024
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
20025
 
 
20026
 
 
20027
# Check whether --with-x was given.
19364
20028
if test "${with_x+set}" = set; then
19365
 
  withval="$with_x"
 
20029
  withval=$with_x;
 
20030
fi
19366
20031
 
19367
 
fi;
19368
20032
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19369
20033
if test "x$with_x" = xno; then
19370
20034
  # The user explicitly disabled X.
19371
20035
  have_x=disabled
19372
20036
else
19373
 
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
19374
 
    # Both variables are already set.
19375
 
    have_x=yes
19376
 
  else
19377
 
    if test "${ac_cv_have_x+set}" = set; then
 
20037
  case $x_includes,$x_libraries in #(
 
20038
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
 
20039
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
 
20040
   { (exit 1); exit 1; }; };; #(
 
20041
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
19378
20042
  echo $ECHO_N "(cached) $ECHO_C" >&6
19379
20043
else
19380
20044
  # One or both of the vars are not set, and there is no cached value.
19381
20045
ac_x_includes=no ac_x_libraries=no
19382
 
rm -fr conftest.dir
 
20046
rm -f -r conftest.dir
19383
20047
if mkdir conftest.dir; then
19384
20048
  cd conftest.dir
19385
 
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19386
20049
  cat >Imakefile <<'_ACEOF'
19387
 
acfindx:
19388
 
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
20050
incroot:
 
20051
        @echo incroot='${INCROOT}'
 
20052
usrlibdir:
 
20053
        @echo usrlibdir='${USRLIBDIR}'
 
20054
libdir:
 
20055
        @echo libdir='${LIBDIR}'
19389
20056
_ACEOF
19390
 
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
20057
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19391
20058
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19392
 
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
20059
    for ac_var in incroot usrlibdir libdir; do
 
20060
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
20061
    done
19393
20062
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19394
20063
    for ac_extension in a so sl; do
19395
 
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
19396
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
20064
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
20065
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
19397
20066
        ac_im_usrlibdir=$ac_im_libdir; break
19398
20067
      fi
19399
20068
    done
19401
20070
    # bogus both because they are the default anyway, and because
19402
20071
    # using them would break gcc on systems where it needs fixed includes.
19403
20072
    case $ac_im_incroot in
19404
 
        /usr/include) ;;
 
20073
        /usr/include) ac_x_includes= ;;
19405
20074
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19406
20075
    esac
19407
20076
    case $ac_im_usrlibdir in
19410
20079
    esac
19411
20080
  fi
19412
20081
  cd ..
19413
 
  rm -fr conftest.dir
 
20082
  rm -f -r conftest.dir
19414
20083
fi
19415
20084
 
19416
20085
# Standard set of common directories for X headers.
19451
20120
/usr/openwin/share/include'
19452
20121
 
19453
20122
if test "$ac_x_includes" = no; then
19454
 
  # Guess where to find include files, by looking for a specified header file.
 
20123
  # Guess where to find include files, by looking for Xlib.h.
19455
20124
  # First, try using that file with no special directory specified.
19456
20125
  cat >conftest.$ac_ext <<_ACEOF
19457
20126
/* confdefs.h.  */
19459
20128
cat confdefs.h >>conftest.$ac_ext
19460
20129
cat >>conftest.$ac_ext <<_ACEOF
19461
20130
/* end confdefs.h.  */
19462
 
#include <X11/Intrinsic.h>
 
20131
#include <X11/Xlib.h>
19463
20132
_ACEOF
19464
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19465
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20133
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20134
case "(($ac_try" in
 
20135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20136
  *) ac_try_echo=$ac_try;;
 
20137
esac
 
20138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20139
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19466
20140
  ac_status=$?
19467
20141
  grep -v '^ *+' conftest.er1 >conftest.err
19468
20142
  rm -f conftest.er1
19469
20143
  cat conftest.err >&5
19470
20144
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471
 
  (exit $ac_status); } >/dev/null; then
19472
 
  if test -s conftest.err; then
19473
 
    ac_cpp_err=$ac_c_preproc_warn_flag
19474
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19475
 
  else
19476
 
    ac_cpp_err=
19477
 
  fi
19478
 
else
19479
 
  ac_cpp_err=yes
19480
 
fi
19481
 
if test -z "$ac_cpp_err"; then
 
20145
  (exit $ac_status); } >/dev/null && {
 
20146
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20147
         test ! -s conftest.err
 
20148
       }; then
19482
20149
  # We can compile using X headers with no special include directory.
19483
20150
ac_x_includes=
19484
20151
else
19486
20153
sed 's/^/| /' conftest.$ac_ext >&5
19487
20154
 
19488
20155
  for ac_dir in $ac_x_header_dirs; do
19489
 
  if test -r "$ac_dir/X11/Intrinsic.h"; then
 
20156
  if test -r "$ac_dir/X11/Xlib.h"; then
19490
20157
    ac_x_includes=$ac_dir
19491
20158
    break
19492
20159
  fi
19493
20160
done
19494
20161
fi
 
20162
 
19495
20163
rm -f conftest.err conftest.$ac_ext
19496
20164
fi # $ac_x_includes = no
19497
20165
 
19500
20168
  # See if we find them without any special options.
19501
20169
  # Don't add to $LIBS permanently.
19502
20170
  ac_save_LIBS=$LIBS
19503
 
  LIBS="-lXt $LIBS"
 
20171
  LIBS="-lX11 $LIBS"
19504
20172
  cat >conftest.$ac_ext <<_ACEOF
19505
20173
/* confdefs.h.  */
19506
20174
_ACEOF
19507
20175
cat confdefs.h >>conftest.$ac_ext
19508
20176
cat >>conftest.$ac_ext <<_ACEOF
19509
20177
/* end confdefs.h.  */
19510
 
#include <X11/Intrinsic.h>
 
20178
#include <X11/Xlib.h>
19511
20179
int
19512
20180
main ()
19513
20181
{
19514
 
XtMalloc (0)
 
20182
XrmInitialize ()
19515
20183
  ;
19516
20184
  return 0;
19517
20185
}
19518
20186
_ACEOF
19519
20187
rm -f conftest.$ac_objext conftest$ac_exeext
19520
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19521
 
  (eval $ac_link) 2>conftest.er1
 
20188
if { (ac_try="$ac_link"
 
20189
case "(($ac_try" in
 
20190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20191
  *) ac_try_echo=$ac_try;;
 
20192
esac
 
20193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20194
  (eval "$ac_link") 2>conftest.er1
19522
20195
  ac_status=$?
19523
20196
  grep -v '^ *+' conftest.er1 >conftest.err
19524
20197
  rm -f conftest.er1
19525
20198
  cat conftest.err >&5
19526
20199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527
 
  (exit $ac_status); } &&
19528
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19529
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530
 
  (eval $ac_try) 2>&5
19531
 
  ac_status=$?
19532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533
 
  (exit $ac_status); }; } &&
19534
 
         { ac_try='test -s conftest$ac_exeext'
19535
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536
 
  (eval $ac_try) 2>&5
19537
 
  ac_status=$?
19538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539
 
  (exit $ac_status); }; }; then
 
20200
  (exit $ac_status); } && {
 
20201
         test -z "$ac_c_werror_flag" ||
 
20202
         test ! -s conftest.err
 
20203
       } && test -s conftest$ac_exeext &&
 
20204
       $as_test_x conftest$ac_exeext; then
19540
20205
  LIBS=$ac_save_LIBS
19541
20206
# We can link X programs with no special library path.
19542
20207
ac_x_libraries=
19544
20209
  echo "$as_me: failed program was:" >&5
19545
20210
sed 's/^/| /' conftest.$ac_ext >&5
19546
20211
 
19547
 
LIBS=$ac_save_LIBS
 
20212
        LIBS=$ac_save_LIBS
19548
20213
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19549
20214
do
19550
20215
  # Don't even attempt the hair of trying to link an X program!
19551
20216
  for ac_extension in a so sl; do
19552
 
    if test -r $ac_dir/libXt.$ac_extension; then
 
20217
    if test -r "$ac_dir/libX11.$ac_extension"; then
19553
20218
      ac_x_libraries=$ac_dir
19554
20219
      break 2
19555
20220
    fi
19556
20221
  done
19557
20222
done
19558
20223
fi
19559
 
rm -f conftest.err conftest.$ac_objext \
 
20224
 
 
20225
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19560
20226
      conftest$ac_exeext conftest.$ac_ext
19561
20227
fi # $ac_x_libraries = no
19562
20228
 
19563
 
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
19564
 
  # Didn't find X anywhere.  Cache the known absence of X.
19565
 
  ac_cv_have_x="have_x=no"
19566
 
else
19567
 
  # Record where we found X for the cache.
19568
 
  ac_cv_have_x="have_x=yes \
19569
 
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19570
 
fi
19571
 
fi
19572
 
 
19573
 
  fi
 
20229
case $ac_x_includes,$ac_x_libraries in #(
 
20230
  no,* | *,no | *\'*)
 
20231
    # Didn't find X, or a directory has "'" in its name.
 
20232
    ac_cv_have_x="have_x=no";; #(
 
20233
  *)
 
20234
    # Record where we found X for the cache.
 
20235
    ac_cv_have_x="have_x=yes\
 
20236
        ac_x_includes='$ac_x_includes'\
 
20237
        ac_x_libraries='$ac_x_libraries'"
 
20238
esac
 
20239
fi
 
20240
;; #(
 
20241
    *) have_x=yes;;
 
20242
  esac
19574
20243
  eval "$ac_cv_have_x"
19575
20244
fi # $with_x != no
19576
20245
 
19577
20246
if test "$have_x" != yes; then
19578
 
  echo "$as_me:$LINENO: result: $have_x" >&5
19579
 
echo "${ECHO_T}$have_x" >&6
 
20247
  { echo "$as_me:$LINENO: result: $have_x" >&5
 
20248
echo "${ECHO_T}$have_x" >&6; }
19580
20249
  no_x=yes
19581
20250
else
19582
20251
  # If each of the values was on the command line, it overrides each guess.
19583
20252
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19584
20253
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19585
20254
  # Update the cache value to reflect the command line values.
19586
 
  ac_cv_have_x="have_x=yes \
19587
 
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19588
 
  # It might be that x_includes is empty (headers are found in the
19589
 
  # standard search path. Then output the corresponding message
19590
 
  ac_out_x_includes=$x_includes
19591
 
  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
19592
 
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
19593
 
echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
 
20255
  ac_cv_have_x="have_x=yes\
 
20256
        ac_x_includes='$x_includes'\
 
20257
        ac_x_libraries='$x_libraries'"
 
20258
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
20259
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
19594
20260
fi
19595
20261
 
19596
 
fi
19597
20262
if test "$no_x" = yes; then
19598
20263
  # Not all programs may use this symbol, but it does not hurt to define it.
19599
20264
 
19612
20277
    X_LIBS="$X_LIBS -L$x_libraries"
19613
20278
    # For Solaris; some versions of Sun CC require a space after -R and
19614
20279
    # others require no space.  Words are not sufficient . . . .
19615
 
    case `(uname -sr) 2>/dev/null` in
19616
 
    "SunOS 5"*)
19617
 
      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19618
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19619
 
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19620
 
      cat >conftest.$ac_ext <<_ACEOF
 
20280
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
20281
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
20282
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
20283
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
20284
    ac_c_werror_flag=yes
 
20285
    cat >conftest.$ac_ext <<_ACEOF
19621
20286
/* confdefs.h.  */
19622
20287
_ACEOF
19623
20288
cat confdefs.h >>conftest.$ac_ext
19633
20298
}
19634
20299
_ACEOF
19635
20300
rm -f conftest.$ac_objext conftest$ac_exeext
19636
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19637
 
  (eval $ac_link) 2>conftest.er1
 
20301
if { (ac_try="$ac_link"
 
20302
case "(($ac_try" in
 
20303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20304
  *) ac_try_echo=$ac_try;;
 
20305
esac
 
20306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20307
  (eval "$ac_link") 2>conftest.er1
19638
20308
  ac_status=$?
19639
20309
  grep -v '^ *+' conftest.er1 >conftest.err
19640
20310
  rm -f conftest.er1
19641
20311
  cat conftest.err >&5
19642
20312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643
 
  (exit $ac_status); } &&
19644
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19645
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19646
 
  (eval $ac_try) 2>&5
19647
 
  ac_status=$?
19648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649
 
  (exit $ac_status); }; } &&
19650
 
         { ac_try='test -s conftest$ac_exeext'
19651
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652
 
  (eval $ac_try) 2>&5
19653
 
  ac_status=$?
19654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655
 
  (exit $ac_status); }; }; then
19656
 
  ac_R_nospace=yes
 
20313
  (exit $ac_status); } && {
 
20314
         test -z "$ac_c_werror_flag" ||
 
20315
         test ! -s conftest.err
 
20316
       } && test -s conftest$ac_exeext &&
 
20317
       $as_test_x conftest$ac_exeext; then
 
20318
  { echo "$as_me:$LINENO: result: no" >&5
 
20319
echo "${ECHO_T}no" >&6; }
 
20320
       X_LIBS="$X_LIBS -R$x_libraries"
19657
20321
else
19658
20322
  echo "$as_me: failed program was:" >&5
19659
20323
sed 's/^/| /' conftest.$ac_ext >&5
19660
20324
 
19661
 
ac_R_nospace=no
19662
 
fi
19663
 
rm -f conftest.err conftest.$ac_objext \
19664
 
      conftest$ac_exeext conftest.$ac_ext
19665
 
      if test $ac_R_nospace = yes; then
19666
 
        echo "$as_me:$LINENO: result: no" >&5
19667
 
echo "${ECHO_T}no" >&6
19668
 
        X_LIBS="$X_LIBS -R$x_libraries"
19669
 
      else
19670
20325
        LIBS="$ac_xsave_LIBS -R $x_libraries"
19671
 
        cat >conftest.$ac_ext <<_ACEOF
 
20326
       cat >conftest.$ac_ext <<_ACEOF
19672
20327
/* confdefs.h.  */
19673
20328
_ACEOF
19674
20329
cat confdefs.h >>conftest.$ac_ext
19684
20339
}
19685
20340
_ACEOF
19686
20341
rm -f conftest.$ac_objext conftest$ac_exeext
19687
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19688
 
  (eval $ac_link) 2>conftest.er1
 
20342
if { (ac_try="$ac_link"
 
20343
case "(($ac_try" in
 
20344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20345
  *) ac_try_echo=$ac_try;;
 
20346
esac
 
20347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20348
  (eval "$ac_link") 2>conftest.er1
19689
20349
  ac_status=$?
19690
20350
  grep -v '^ *+' conftest.er1 >conftest.err
19691
20351
  rm -f conftest.er1
19692
20352
  cat conftest.err >&5
19693
20353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694
 
  (exit $ac_status); } &&
19695
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697
 
  (eval $ac_try) 2>&5
19698
 
  ac_status=$?
19699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700
 
  (exit $ac_status); }; } &&
19701
 
         { ac_try='test -s conftest$ac_exeext'
19702
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703
 
  (eval $ac_try) 2>&5
19704
 
  ac_status=$?
19705
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706
 
  (exit $ac_status); }; }; then
19707
 
  ac_R_space=yes
19708
 
else
19709
 
  echo "$as_me: failed program was:" >&5
19710
 
sed 's/^/| /' conftest.$ac_ext >&5
19711
 
 
19712
 
ac_R_space=no
19713
 
fi
19714
 
rm -f conftest.err conftest.$ac_objext \
19715
 
      conftest$ac_exeext conftest.$ac_ext
19716
 
        if test $ac_R_space = yes; then
19717
 
          echo "$as_me:$LINENO: result: yes" >&5
19718
 
echo "${ECHO_T}yes" >&6
 
20354
  (exit $ac_status); } && {
 
20355
         test -z "$ac_c_werror_flag" ||
 
20356
         test ! -s conftest.err
 
20357
       } && test -s conftest$ac_exeext &&
 
20358
       $as_test_x conftest$ac_exeext; then
 
20359
  { echo "$as_me:$LINENO: result: yes" >&5
 
20360
echo "${ECHO_T}yes" >&6; }
19719
20361
          X_LIBS="$X_LIBS -R $x_libraries"
19720
 
        else
19721
 
          echo "$as_me:$LINENO: result: neither works" >&5
19722
 
echo "${ECHO_T}neither works" >&6
19723
 
        fi
19724
 
      fi
19725
 
      LIBS=$ac_xsave_LIBS
19726
 
    esac
 
20362
else
 
20363
  echo "$as_me: failed program was:" >&5
 
20364
sed 's/^/| /' conftest.$ac_ext >&5
 
20365
 
 
20366
        { echo "$as_me:$LINENO: result: neither works" >&5
 
20367
echo "${ECHO_T}neither works" >&6; }
 
20368
fi
 
20369
 
 
20370
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20371
      conftest$ac_exeext conftest.$ac_ext
 
20372
fi
 
20373
 
 
20374
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20375
      conftest$ac_exeext conftest.$ac_ext
 
20376
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
20377
    LIBS=$ac_xsave_LIBS
19727
20378
  fi
19728
20379
 
19729
20380
  # Check for system-dependent libraries X programs must link with.
19744
20395
cat >>conftest.$ac_ext <<_ACEOF
19745
20396
/* end confdefs.h.  */
19746
20397
 
19747
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20398
/* Override any GCC internal prototype to avoid an error.
 
20399
   Use char because int might match the return type of a GCC
 
20400
   builtin and then its argument prototype would still apply.  */
19748
20401
#ifdef __cplusplus
19749
20402
extern "C"
19750
20403
#endif
19751
 
/* We use char because int might match the return type of a gcc2
19752
 
   builtin and then its argument prototype would still apply.  */
19753
20404
char XOpenDisplay ();
19754
20405
int
19755
20406
main ()
19756
20407
{
19757
 
XOpenDisplay ();
 
20408
return XOpenDisplay ();
19758
20409
  ;
19759
20410
  return 0;
19760
20411
}
19761
20412
_ACEOF
19762
20413
rm -f conftest.$ac_objext conftest$ac_exeext
19763
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19764
 
  (eval $ac_link) 2>conftest.er1
 
20414
if { (ac_try="$ac_link"
 
20415
case "(($ac_try" in
 
20416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20417
  *) ac_try_echo=$ac_try;;
 
20418
esac
 
20419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20420
  (eval "$ac_link") 2>conftest.er1
19765
20421
  ac_status=$?
19766
20422
  grep -v '^ *+' conftest.er1 >conftest.err
19767
20423
  rm -f conftest.er1
19768
20424
  cat conftest.err >&5
19769
20425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770
 
  (exit $ac_status); } &&
19771
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773
 
  (eval $ac_try) 2>&5
19774
 
  ac_status=$?
19775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776
 
  (exit $ac_status); }; } &&
19777
 
         { ac_try='test -s conftest$ac_exeext'
19778
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779
 
  (eval $ac_try) 2>&5
19780
 
  ac_status=$?
19781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782
 
  (exit $ac_status); }; }; then
 
20426
  (exit $ac_status); } && {
 
20427
         test -z "$ac_c_werror_flag" ||
 
20428
         test ! -s conftest.err
 
20429
       } && test -s conftest$ac_exeext &&
 
20430
       $as_test_x conftest$ac_exeext; then
19783
20431
  :
19784
20432
else
19785
20433
  echo "$as_me: failed program was:" >&5
19786
20434
sed 's/^/| /' conftest.$ac_ext >&5
19787
20435
 
19788
 
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19789
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 
20436
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
20437
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
19790
20438
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19791
20439
  echo $ECHO_N "(cached) $ECHO_C" >&6
19792
20440
else
19799
20447
cat >>conftest.$ac_ext <<_ACEOF
19800
20448
/* end confdefs.h.  */
19801
20449
 
19802
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20450
/* Override any GCC internal prototype to avoid an error.
 
20451
   Use char because int might match the return type of a GCC
 
20452
   builtin and then its argument prototype would still apply.  */
19803
20453
#ifdef __cplusplus
19804
20454
extern "C"
19805
20455
#endif
19806
 
/* We use char because int might match the return type of a gcc2
19807
 
   builtin and then its argument prototype would still apply.  */
19808
20456
char dnet_ntoa ();
19809
20457
int
19810
20458
main ()
19811
20459
{
19812
 
dnet_ntoa ();
 
20460
return dnet_ntoa ();
19813
20461
  ;
19814
20462
  return 0;
19815
20463
}
19816
20464
_ACEOF
19817
20465
rm -f conftest.$ac_objext conftest$ac_exeext
19818
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19819
 
  (eval $ac_link) 2>conftest.er1
 
20466
if { (ac_try="$ac_link"
 
20467
case "(($ac_try" in
 
20468
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20469
  *) ac_try_echo=$ac_try;;
 
20470
esac
 
20471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20472
  (eval "$ac_link") 2>conftest.er1
19820
20473
  ac_status=$?
19821
20474
  grep -v '^ *+' conftest.er1 >conftest.err
19822
20475
  rm -f conftest.er1
19823
20476
  cat conftest.err >&5
19824
20477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825
 
  (exit $ac_status); } &&
19826
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19827
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828
 
  (eval $ac_try) 2>&5
19829
 
  ac_status=$?
19830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831
 
  (exit $ac_status); }; } &&
19832
 
         { ac_try='test -s conftest$ac_exeext'
19833
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834
 
  (eval $ac_try) 2>&5
19835
 
  ac_status=$?
19836
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837
 
  (exit $ac_status); }; }; then
 
20478
  (exit $ac_status); } && {
 
20479
         test -z "$ac_c_werror_flag" ||
 
20480
         test ! -s conftest.err
 
20481
       } && test -s conftest$ac_exeext &&
 
20482
       $as_test_x conftest$ac_exeext; then
19838
20483
  ac_cv_lib_dnet_dnet_ntoa=yes
19839
20484
else
19840
20485
  echo "$as_me: failed program was:" >&5
19841
20486
sed 's/^/| /' conftest.$ac_ext >&5
19842
20487
 
19843
 
ac_cv_lib_dnet_dnet_ntoa=no
 
20488
        ac_cv_lib_dnet_dnet_ntoa=no
19844
20489
fi
19845
 
rm -f conftest.err conftest.$ac_objext \
 
20490
 
 
20491
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19846
20492
      conftest$ac_exeext conftest.$ac_ext
19847
20493
LIBS=$ac_check_lib_save_LIBS
19848
20494
fi
19849
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19850
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
 
20495
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
20496
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19851
20497
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19852
20498
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19853
20499
fi
19854
20500
 
19855
20501
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19856
 
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19857
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 
20502
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
20503
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
19858
20504
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19859
20505
  echo $ECHO_N "(cached) $ECHO_C" >&6
19860
20506
else
19867
20513
cat >>conftest.$ac_ext <<_ACEOF
19868
20514
/* end confdefs.h.  */
19869
20515
 
19870
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20516
/* Override any GCC internal prototype to avoid an error.
 
20517
   Use char because int might match the return type of a GCC
 
20518
   builtin and then its argument prototype would still apply.  */
19871
20519
#ifdef __cplusplus
19872
20520
extern "C"
19873
20521
#endif
19874
 
/* We use char because int might match the return type of a gcc2
19875
 
   builtin and then its argument prototype would still apply.  */
19876
20522
char dnet_ntoa ();
19877
20523
int
19878
20524
main ()
19879
20525
{
19880
 
dnet_ntoa ();
 
20526
return dnet_ntoa ();
19881
20527
  ;
19882
20528
  return 0;
19883
20529
}
19884
20530
_ACEOF
19885
20531
rm -f conftest.$ac_objext conftest$ac_exeext
19886
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19887
 
  (eval $ac_link) 2>conftest.er1
 
20532
if { (ac_try="$ac_link"
 
20533
case "(($ac_try" in
 
20534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20535
  *) ac_try_echo=$ac_try;;
 
20536
esac
 
20537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20538
  (eval "$ac_link") 2>conftest.er1
19888
20539
  ac_status=$?
19889
20540
  grep -v '^ *+' conftest.er1 >conftest.err
19890
20541
  rm -f conftest.er1
19891
20542
  cat conftest.err >&5
19892
20543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893
 
  (exit $ac_status); } &&
19894
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896
 
  (eval $ac_try) 2>&5
19897
 
  ac_status=$?
19898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899
 
  (exit $ac_status); }; } &&
19900
 
         { ac_try='test -s conftest$ac_exeext'
19901
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902
 
  (eval $ac_try) 2>&5
19903
 
  ac_status=$?
19904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905
 
  (exit $ac_status); }; }; then
 
20544
  (exit $ac_status); } && {
 
20545
         test -z "$ac_c_werror_flag" ||
 
20546
         test ! -s conftest.err
 
20547
       } && test -s conftest$ac_exeext &&
 
20548
       $as_test_x conftest$ac_exeext; then
19906
20549
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
19907
20550
else
19908
20551
  echo "$as_me: failed program was:" >&5
19909
20552
sed 's/^/| /' conftest.$ac_ext >&5
19910
20553
 
19911
 
ac_cv_lib_dnet_stub_dnet_ntoa=no
 
20554
        ac_cv_lib_dnet_stub_dnet_ntoa=no
19912
20555
fi
19913
 
rm -f conftest.err conftest.$ac_objext \
 
20556
 
 
20557
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19914
20558
      conftest$ac_exeext conftest.$ac_ext
19915
20559
LIBS=$ac_check_lib_save_LIBS
19916
20560
fi
19917
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19918
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
 
20561
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
20562
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19919
20563
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19920
20564
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19921
20565
fi
19922
20566
 
19923
20567
    fi
19924
20568
fi
19925
 
rm -f conftest.err conftest.$ac_objext \
 
20569
 
 
20570
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19926
20571
      conftest$ac_exeext conftest.$ac_ext
19927
20572
    LIBS="$ac_xsave_LIBS"
19928
20573
 
19934
20579
    # on Irix 5.2, according to T.E. Dickey.
19935
20580
    # The functions gethostbyname, getservbyname, and inet_addr are
19936
20581
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19937
 
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
19938
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
20582
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
20583
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
19939
20584
if test "${ac_cv_func_gethostbyname+set}" = set; then
19940
20585
  echo $ECHO_N "(cached) $ECHO_C" >&6
19941
20586
else
19962
20607
 
19963
20608
#undef gethostbyname
19964
20609
 
19965
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20610
/* Override any GCC internal prototype to avoid an error.
 
20611
   Use char because int might match the return type of a GCC
 
20612
   builtin and then its argument prototype would still apply.  */
19966
20613
#ifdef __cplusplus
19967
20614
extern "C"
19968
 
{
19969
20615
#endif
19970
 
/* We use char because int might match the return type of a gcc2
19971
 
   builtin and then its argument prototype would still apply.  */
19972
20616
char gethostbyname ();
19973
20617
/* The GNU C library defines this for functions which it implements
19974
20618
    to always fail with ENOSYS.  Some functions are actually named
19975
20619
    something starting with __ and the normal name is an alias.  */
19976
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
20620
#if defined __stub_gethostbyname || defined __stub___gethostbyname
19977
20621
choke me
19978
 
#else
19979
 
char (*f) () = gethostbyname;
19980
 
#endif
19981
 
#ifdef __cplusplus
19982
 
}
19983
20622
#endif
19984
20623
 
19985
20624
int
19986
20625
main ()
19987
20626
{
19988
 
return f != gethostbyname;
 
20627
return gethostbyname ();
19989
20628
  ;
19990
20629
  return 0;
19991
20630
}
19992
20631
_ACEOF
19993
20632
rm -f conftest.$ac_objext conftest$ac_exeext
19994
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19995
 
  (eval $ac_link) 2>conftest.er1
 
20633
if { (ac_try="$ac_link"
 
20634
case "(($ac_try" in
 
20635
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20636
  *) ac_try_echo=$ac_try;;
 
20637
esac
 
20638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20639
  (eval "$ac_link") 2>conftest.er1
19996
20640
  ac_status=$?
19997
20641
  grep -v '^ *+' conftest.er1 >conftest.err
19998
20642
  rm -f conftest.er1
19999
20643
  cat conftest.err >&5
20000
20644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001
 
  (exit $ac_status); } &&
20002
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20003
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004
 
  (eval $ac_try) 2>&5
20005
 
  ac_status=$?
20006
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007
 
  (exit $ac_status); }; } &&
20008
 
         { ac_try='test -s conftest$ac_exeext'
20009
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010
 
  (eval $ac_try) 2>&5
20011
 
  ac_status=$?
20012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013
 
  (exit $ac_status); }; }; then
 
20645
  (exit $ac_status); } && {
 
20646
         test -z "$ac_c_werror_flag" ||
 
20647
         test ! -s conftest.err
 
20648
       } && test -s conftest$ac_exeext &&
 
20649
       $as_test_x conftest$ac_exeext; then
20014
20650
  ac_cv_func_gethostbyname=yes
20015
20651
else
20016
20652
  echo "$as_me: failed program was:" >&5
20017
20653
sed 's/^/| /' conftest.$ac_ext >&5
20018
20654
 
20019
 
ac_cv_func_gethostbyname=no
 
20655
        ac_cv_func_gethostbyname=no
20020
20656
fi
20021
 
rm -f conftest.err conftest.$ac_objext \
 
20657
 
 
20658
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20022
20659
      conftest$ac_exeext conftest.$ac_ext
20023
20660
fi
20024
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20025
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
20661
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
20662
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
20026
20663
 
20027
20664
    if test $ac_cv_func_gethostbyname = no; then
20028
 
      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20029
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
20665
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
20666
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20030
20667
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20031
20668
  echo $ECHO_N "(cached) $ECHO_C" >&6
20032
20669
else
20039
20676
cat >>conftest.$ac_ext <<_ACEOF
20040
20677
/* end confdefs.h.  */
20041
20678
 
20042
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20679
/* Override any GCC internal prototype to avoid an error.
 
20680
   Use char because int might match the return type of a GCC
 
20681
   builtin and then its argument prototype would still apply.  */
20043
20682
#ifdef __cplusplus
20044
20683
extern "C"
20045
20684
#endif
20046
 
/* We use char because int might match the return type of a gcc2
20047
 
   builtin and then its argument prototype would still apply.  */
20048
20685
char gethostbyname ();
20049
20686
int
20050
20687
main ()
20051
20688
{
20052
 
gethostbyname ();
 
20689
return gethostbyname ();
20053
20690
  ;
20054
20691
  return 0;
20055
20692
}
20056
20693
_ACEOF
20057
20694
rm -f conftest.$ac_objext conftest$ac_exeext
20058
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20059
 
  (eval $ac_link) 2>conftest.er1
 
20695
if { (ac_try="$ac_link"
 
20696
case "(($ac_try" in
 
20697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20698
  *) ac_try_echo=$ac_try;;
 
20699
esac
 
20700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20701
  (eval "$ac_link") 2>conftest.er1
20060
20702
  ac_status=$?
20061
20703
  grep -v '^ *+' conftest.er1 >conftest.err
20062
20704
  rm -f conftest.er1
20063
20705
  cat conftest.err >&5
20064
20706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065
 
  (exit $ac_status); } &&
20066
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20067
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068
 
  (eval $ac_try) 2>&5
20069
 
  ac_status=$?
20070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071
 
  (exit $ac_status); }; } &&
20072
 
         { ac_try='test -s conftest$ac_exeext'
20073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074
 
  (eval $ac_try) 2>&5
20075
 
  ac_status=$?
20076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077
 
  (exit $ac_status); }; }; then
 
20707
  (exit $ac_status); } && {
 
20708
         test -z "$ac_c_werror_flag" ||
 
20709
         test ! -s conftest.err
 
20710
       } && test -s conftest$ac_exeext &&
 
20711
       $as_test_x conftest$ac_exeext; then
20078
20712
  ac_cv_lib_nsl_gethostbyname=yes
20079
20713
else
20080
20714
  echo "$as_me: failed program was:" >&5
20081
20715
sed 's/^/| /' conftest.$ac_ext >&5
20082
20716
 
20083
 
ac_cv_lib_nsl_gethostbyname=no
 
20717
        ac_cv_lib_nsl_gethostbyname=no
20084
20718
fi
20085
 
rm -f conftest.err conftest.$ac_objext \
 
20719
 
 
20720
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20086
20721
      conftest$ac_exeext conftest.$ac_ext
20087
20722
LIBS=$ac_check_lib_save_LIBS
20088
20723
fi
20089
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20090
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
 
20724
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
20725
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20091
20726
if test $ac_cv_lib_nsl_gethostbyname = yes; then
20092
20727
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20093
20728
fi
20094
20729
 
20095
20730
      if test $ac_cv_lib_nsl_gethostbyname = no; then
20096
 
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20097
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 
20731
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
20732
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
20098
20733
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20099
20734
  echo $ECHO_N "(cached) $ECHO_C" >&6
20100
20735
else
20107
20742
cat >>conftest.$ac_ext <<_ACEOF
20108
20743
/* end confdefs.h.  */
20109
20744
 
20110
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20745
/* Override any GCC internal prototype to avoid an error.
 
20746
   Use char because int might match the return type of a GCC
 
20747
   builtin and then its argument prototype would still apply.  */
20111
20748
#ifdef __cplusplus
20112
20749
extern "C"
20113
20750
#endif
20114
 
/* We use char because int might match the return type of a gcc2
20115
 
   builtin and then its argument prototype would still apply.  */
20116
20751
char gethostbyname ();
20117
20752
int
20118
20753
main ()
20119
20754
{
20120
 
gethostbyname ();
 
20755
return gethostbyname ();
20121
20756
  ;
20122
20757
  return 0;
20123
20758
}
20124
20759
_ACEOF
20125
20760
rm -f conftest.$ac_objext conftest$ac_exeext
20126
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20127
 
  (eval $ac_link) 2>conftest.er1
 
20761
if { (ac_try="$ac_link"
 
20762
case "(($ac_try" in
 
20763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20764
  *) ac_try_echo=$ac_try;;
 
20765
esac
 
20766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20767
  (eval "$ac_link") 2>conftest.er1
20128
20768
  ac_status=$?
20129
20769
  grep -v '^ *+' conftest.er1 >conftest.err
20130
20770
  rm -f conftest.er1
20131
20771
  cat conftest.err >&5
20132
20772
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133
 
  (exit $ac_status); } &&
20134
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136
 
  (eval $ac_try) 2>&5
20137
 
  ac_status=$?
20138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139
 
  (exit $ac_status); }; } &&
20140
 
         { ac_try='test -s conftest$ac_exeext'
20141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142
 
  (eval $ac_try) 2>&5
20143
 
  ac_status=$?
20144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145
 
  (exit $ac_status); }; }; then
 
20773
  (exit $ac_status); } && {
 
20774
         test -z "$ac_c_werror_flag" ||
 
20775
         test ! -s conftest.err
 
20776
       } && test -s conftest$ac_exeext &&
 
20777
       $as_test_x conftest$ac_exeext; then
20146
20778
  ac_cv_lib_bsd_gethostbyname=yes
20147
20779
else
20148
20780
  echo "$as_me: failed program was:" >&5
20149
20781
sed 's/^/| /' conftest.$ac_ext >&5
20150
20782
 
20151
 
ac_cv_lib_bsd_gethostbyname=no
 
20783
        ac_cv_lib_bsd_gethostbyname=no
20152
20784
fi
20153
 
rm -f conftest.err conftest.$ac_objext \
 
20785
 
 
20786
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20154
20787
      conftest$ac_exeext conftest.$ac_ext
20155
20788
LIBS=$ac_check_lib_save_LIBS
20156
20789
fi
20157
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20158
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
 
20790
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
20791
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
20159
20792
if test $ac_cv_lib_bsd_gethostbyname = yes; then
20160
20793
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20161
20794
fi
20170
20803
    # variants that don't use the name server (or something).  -lsocket
20171
20804
    # must be given before -lnsl if both are needed.  We assume that
20172
20805
    # if connect needs -lnsl, so does gethostbyname.
20173
 
    echo "$as_me:$LINENO: checking for connect" >&5
20174
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
20806
    { echo "$as_me:$LINENO: checking for connect" >&5
 
20807
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
20175
20808
if test "${ac_cv_func_connect+set}" = set; then
20176
20809
  echo $ECHO_N "(cached) $ECHO_C" >&6
20177
20810
else
20198
20831
 
20199
20832
#undef connect
20200
20833
 
20201
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20834
/* Override any GCC internal prototype to avoid an error.
 
20835
   Use char because int might match the return type of a GCC
 
20836
   builtin and then its argument prototype would still apply.  */
20202
20837
#ifdef __cplusplus
20203
20838
extern "C"
20204
 
{
20205
20839
#endif
20206
 
/* We use char because int might match the return type of a gcc2
20207
 
   builtin and then its argument prototype would still apply.  */
20208
20840
char connect ();
20209
20841
/* The GNU C library defines this for functions which it implements
20210
20842
    to always fail with ENOSYS.  Some functions are actually named
20211
20843
    something starting with __ and the normal name is an alias.  */
20212
 
#if defined (__stub_connect) || defined (__stub___connect)
 
20844
#if defined __stub_connect || defined __stub___connect
20213
20845
choke me
20214
 
#else
20215
 
char (*f) () = connect;
20216
 
#endif
20217
 
#ifdef __cplusplus
20218
 
}
20219
20846
#endif
20220
20847
 
20221
20848
int
20222
20849
main ()
20223
20850
{
20224
 
return f != connect;
 
20851
return connect ();
20225
20852
  ;
20226
20853
  return 0;
20227
20854
}
20228
20855
_ACEOF
20229
20856
rm -f conftest.$ac_objext conftest$ac_exeext
20230
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20231
 
  (eval $ac_link) 2>conftest.er1
 
20857
if { (ac_try="$ac_link"
 
20858
case "(($ac_try" in
 
20859
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20860
  *) ac_try_echo=$ac_try;;
 
20861
esac
 
20862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20863
  (eval "$ac_link") 2>conftest.er1
20232
20864
  ac_status=$?
20233
20865
  grep -v '^ *+' conftest.er1 >conftest.err
20234
20866
  rm -f conftest.er1
20235
20867
  cat conftest.err >&5
20236
20868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237
 
  (exit $ac_status); } &&
20238
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240
 
  (eval $ac_try) 2>&5
20241
 
  ac_status=$?
20242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243
 
  (exit $ac_status); }; } &&
20244
 
         { ac_try='test -s conftest$ac_exeext'
20245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246
 
  (eval $ac_try) 2>&5
20247
 
  ac_status=$?
20248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249
 
  (exit $ac_status); }; }; then
 
20869
  (exit $ac_status); } && {
 
20870
         test -z "$ac_c_werror_flag" ||
 
20871
         test ! -s conftest.err
 
20872
       } && test -s conftest$ac_exeext &&
 
20873
       $as_test_x conftest$ac_exeext; then
20250
20874
  ac_cv_func_connect=yes
20251
20875
else
20252
20876
  echo "$as_me: failed program was:" >&5
20253
20877
sed 's/^/| /' conftest.$ac_ext >&5
20254
20878
 
20255
 
ac_cv_func_connect=no
 
20879
        ac_cv_func_connect=no
20256
20880
fi
20257
 
rm -f conftest.err conftest.$ac_objext \
 
20881
 
 
20882
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20258
20883
      conftest$ac_exeext conftest.$ac_ext
20259
20884
fi
20260
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20261
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
20885
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
20886
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
20262
20887
 
20263
20888
    if test $ac_cv_func_connect = no; then
20264
 
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20265
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
20889
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
20890
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20266
20891
if test "${ac_cv_lib_socket_connect+set}" = set; then
20267
20892
  echo $ECHO_N "(cached) $ECHO_C" >&6
20268
20893
else
20275
20900
cat >>conftest.$ac_ext <<_ACEOF
20276
20901
/* end confdefs.h.  */
20277
20902
 
20278
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20903
/* Override any GCC internal prototype to avoid an error.
 
20904
   Use char because int might match the return type of a GCC
 
20905
   builtin and then its argument prototype would still apply.  */
20279
20906
#ifdef __cplusplus
20280
20907
extern "C"
20281
20908
#endif
20282
 
/* We use char because int might match the return type of a gcc2
20283
 
   builtin and then its argument prototype would still apply.  */
20284
20909
char connect ();
20285
20910
int
20286
20911
main ()
20287
20912
{
20288
 
connect ();
 
20913
return connect ();
20289
20914
  ;
20290
20915
  return 0;
20291
20916
}
20292
20917
_ACEOF
20293
20918
rm -f conftest.$ac_objext conftest$ac_exeext
20294
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20295
 
  (eval $ac_link) 2>conftest.er1
 
20919
if { (ac_try="$ac_link"
 
20920
case "(($ac_try" in
 
20921
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20922
  *) ac_try_echo=$ac_try;;
 
20923
esac
 
20924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20925
  (eval "$ac_link") 2>conftest.er1
20296
20926
  ac_status=$?
20297
20927
  grep -v '^ *+' conftest.er1 >conftest.err
20298
20928
  rm -f conftest.er1
20299
20929
  cat conftest.err >&5
20300
20930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301
 
  (exit $ac_status); } &&
20302
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304
 
  (eval $ac_try) 2>&5
20305
 
  ac_status=$?
20306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307
 
  (exit $ac_status); }; } &&
20308
 
         { ac_try='test -s conftest$ac_exeext'
20309
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310
 
  (eval $ac_try) 2>&5
20311
 
  ac_status=$?
20312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313
 
  (exit $ac_status); }; }; then
 
20931
  (exit $ac_status); } && {
 
20932
         test -z "$ac_c_werror_flag" ||
 
20933
         test ! -s conftest.err
 
20934
       } && test -s conftest$ac_exeext &&
 
20935
       $as_test_x conftest$ac_exeext; then
20314
20936
  ac_cv_lib_socket_connect=yes
20315
20937
else
20316
20938
  echo "$as_me: failed program was:" >&5
20317
20939
sed 's/^/| /' conftest.$ac_ext >&5
20318
20940
 
20319
 
ac_cv_lib_socket_connect=no
 
20941
        ac_cv_lib_socket_connect=no
20320
20942
fi
20321
 
rm -f conftest.err conftest.$ac_objext \
 
20943
 
 
20944
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20322
20945
      conftest$ac_exeext conftest.$ac_ext
20323
20946
LIBS=$ac_check_lib_save_LIBS
20324
20947
fi
20325
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20326
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
 
20948
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
20949
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20327
20950
if test $ac_cv_lib_socket_connect = yes; then
20328
20951
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20329
20952
fi
20331
20954
    fi
20332
20955
 
20333
20956
    # Guillermo Gomez says -lposix is necessary on A/UX.
20334
 
    echo "$as_me:$LINENO: checking for remove" >&5
20335
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6
 
20957
    { echo "$as_me:$LINENO: checking for remove" >&5
 
20958
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
20336
20959
if test "${ac_cv_func_remove+set}" = set; then
20337
20960
  echo $ECHO_N "(cached) $ECHO_C" >&6
20338
20961
else
20359
20982
 
20360
20983
#undef remove
20361
20984
 
20362
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20985
/* Override any GCC internal prototype to avoid an error.
 
20986
   Use char because int might match the return type of a GCC
 
20987
   builtin and then its argument prototype would still apply.  */
20363
20988
#ifdef __cplusplus
20364
20989
extern "C"
20365
 
{
20366
20990
#endif
20367
 
/* We use char because int might match the return type of a gcc2
20368
 
   builtin and then its argument prototype would still apply.  */
20369
20991
char remove ();
20370
20992
/* The GNU C library defines this for functions which it implements
20371
20993
    to always fail with ENOSYS.  Some functions are actually named
20372
20994
    something starting with __ and the normal name is an alias.  */
20373
 
#if defined (__stub_remove) || defined (__stub___remove)
 
20995
#if defined __stub_remove || defined __stub___remove
20374
20996
choke me
20375
 
#else
20376
 
char (*f) () = remove;
20377
 
#endif
20378
 
#ifdef __cplusplus
20379
 
}
20380
20997
#endif
20381
20998
 
20382
20999
int
20383
21000
main ()
20384
21001
{
20385
 
return f != remove;
 
21002
return remove ();
20386
21003
  ;
20387
21004
  return 0;
20388
21005
}
20389
21006
_ACEOF
20390
21007
rm -f conftest.$ac_objext conftest$ac_exeext
20391
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20392
 
  (eval $ac_link) 2>conftest.er1
 
21008
if { (ac_try="$ac_link"
 
21009
case "(($ac_try" in
 
21010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21011
  *) ac_try_echo=$ac_try;;
 
21012
esac
 
21013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21014
  (eval "$ac_link") 2>conftest.er1
20393
21015
  ac_status=$?
20394
21016
  grep -v '^ *+' conftest.er1 >conftest.err
20395
21017
  rm -f conftest.er1
20396
21018
  cat conftest.err >&5
20397
21019
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398
 
  (exit $ac_status); } &&
20399
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401
 
  (eval $ac_try) 2>&5
20402
 
  ac_status=$?
20403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404
 
  (exit $ac_status); }; } &&
20405
 
         { ac_try='test -s conftest$ac_exeext'
20406
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407
 
  (eval $ac_try) 2>&5
20408
 
  ac_status=$?
20409
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410
 
  (exit $ac_status); }; }; then
 
21020
  (exit $ac_status); } && {
 
21021
         test -z "$ac_c_werror_flag" ||
 
21022
         test ! -s conftest.err
 
21023
       } && test -s conftest$ac_exeext &&
 
21024
       $as_test_x conftest$ac_exeext; then
20411
21025
  ac_cv_func_remove=yes
20412
21026
else
20413
21027
  echo "$as_me: failed program was:" >&5
20414
21028
sed 's/^/| /' conftest.$ac_ext >&5
20415
21029
 
20416
 
ac_cv_func_remove=no
 
21030
        ac_cv_func_remove=no
20417
21031
fi
20418
 
rm -f conftest.err conftest.$ac_objext \
 
21032
 
 
21033
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20419
21034
      conftest$ac_exeext conftest.$ac_ext
20420
21035
fi
20421
 
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20422
 
echo "${ECHO_T}$ac_cv_func_remove" >&6
 
21036
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
21037
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
20423
21038
 
20424
21039
    if test $ac_cv_func_remove = no; then
20425
 
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20426
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 
21040
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
21041
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
20427
21042
if test "${ac_cv_lib_posix_remove+set}" = set; then
20428
21043
  echo $ECHO_N "(cached) $ECHO_C" >&6
20429
21044
else
20436
21051
cat >>conftest.$ac_ext <<_ACEOF
20437
21052
/* end confdefs.h.  */
20438
21053
 
20439
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21054
/* Override any GCC internal prototype to avoid an error.
 
21055
   Use char because int might match the return type of a GCC
 
21056
   builtin and then its argument prototype would still apply.  */
20440
21057
#ifdef __cplusplus
20441
21058
extern "C"
20442
21059
#endif
20443
 
/* We use char because int might match the return type of a gcc2
20444
 
   builtin and then its argument prototype would still apply.  */
20445
21060
char remove ();
20446
21061
int
20447
21062
main ()
20448
21063
{
20449
 
remove ();
 
21064
return remove ();
20450
21065
  ;
20451
21066
  return 0;
20452
21067
}
20453
21068
_ACEOF
20454
21069
rm -f conftest.$ac_objext conftest$ac_exeext
20455
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456
 
  (eval $ac_link) 2>conftest.er1
 
21070
if { (ac_try="$ac_link"
 
21071
case "(($ac_try" in
 
21072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21073
  *) ac_try_echo=$ac_try;;
 
21074
esac
 
21075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21076
  (eval "$ac_link") 2>conftest.er1
20457
21077
  ac_status=$?
20458
21078
  grep -v '^ *+' conftest.er1 >conftest.err
20459
21079
  rm -f conftest.er1
20460
21080
  cat conftest.err >&5
20461
21081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462
 
  (exit $ac_status); } &&
20463
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20464
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465
 
  (eval $ac_try) 2>&5
20466
 
  ac_status=$?
20467
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468
 
  (exit $ac_status); }; } &&
20469
 
         { ac_try='test -s conftest$ac_exeext'
20470
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471
 
  (eval $ac_try) 2>&5
20472
 
  ac_status=$?
20473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474
 
  (exit $ac_status); }; }; then
 
21082
  (exit $ac_status); } && {
 
21083
         test -z "$ac_c_werror_flag" ||
 
21084
         test ! -s conftest.err
 
21085
       } && test -s conftest$ac_exeext &&
 
21086
       $as_test_x conftest$ac_exeext; then
20475
21087
  ac_cv_lib_posix_remove=yes
20476
21088
else
20477
21089
  echo "$as_me: failed program was:" >&5
20478
21090
sed 's/^/| /' conftest.$ac_ext >&5
20479
21091
 
20480
 
ac_cv_lib_posix_remove=no
 
21092
        ac_cv_lib_posix_remove=no
20481
21093
fi
20482
 
rm -f conftest.err conftest.$ac_objext \
 
21094
 
 
21095
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20483
21096
      conftest$ac_exeext conftest.$ac_ext
20484
21097
LIBS=$ac_check_lib_save_LIBS
20485
21098
fi
20486
 
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20487
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
 
21099
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
21100
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
20488
21101
if test $ac_cv_lib_posix_remove = yes; then
20489
21102
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20490
21103
fi
20492
21105
    fi
20493
21106
 
20494
21107
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20495
 
    echo "$as_me:$LINENO: checking for shmat" >&5
20496
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 
21108
    { echo "$as_me:$LINENO: checking for shmat" >&5
 
21109
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
20497
21110
if test "${ac_cv_func_shmat+set}" = set; then
20498
21111
  echo $ECHO_N "(cached) $ECHO_C" >&6
20499
21112
else
20520
21133
 
20521
21134
#undef shmat
20522
21135
 
20523
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21136
/* Override any GCC internal prototype to avoid an error.
 
21137
   Use char because int might match the return type of a GCC
 
21138
   builtin and then its argument prototype would still apply.  */
20524
21139
#ifdef __cplusplus
20525
21140
extern "C"
20526
 
{
20527
21141
#endif
20528
 
/* We use char because int might match the return type of a gcc2
20529
 
   builtin and then its argument prototype would still apply.  */
20530
21142
char shmat ();
20531
21143
/* The GNU C library defines this for functions which it implements
20532
21144
    to always fail with ENOSYS.  Some functions are actually named
20533
21145
    something starting with __ and the normal name is an alias.  */
20534
 
#if defined (__stub_shmat) || defined (__stub___shmat)
 
21146
#if defined __stub_shmat || defined __stub___shmat
20535
21147
choke me
20536
 
#else
20537
 
char (*f) () = shmat;
20538
 
#endif
20539
 
#ifdef __cplusplus
20540
 
}
20541
21148
#endif
20542
21149
 
20543
21150
int
20544
21151
main ()
20545
21152
{
20546
 
return f != shmat;
 
21153
return shmat ();
20547
21154
  ;
20548
21155
  return 0;
20549
21156
}
20550
21157
_ACEOF
20551
21158
rm -f conftest.$ac_objext conftest$ac_exeext
20552
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20553
 
  (eval $ac_link) 2>conftest.er1
 
21159
if { (ac_try="$ac_link"
 
21160
case "(($ac_try" in
 
21161
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21162
  *) ac_try_echo=$ac_try;;
 
21163
esac
 
21164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21165
  (eval "$ac_link") 2>conftest.er1
20554
21166
  ac_status=$?
20555
21167
  grep -v '^ *+' conftest.er1 >conftest.err
20556
21168
  rm -f conftest.er1
20557
21169
  cat conftest.err >&5
20558
21170
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559
 
  (exit $ac_status); } &&
20560
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20561
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562
 
  (eval $ac_try) 2>&5
20563
 
  ac_status=$?
20564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565
 
  (exit $ac_status); }; } &&
20566
 
         { ac_try='test -s conftest$ac_exeext'
20567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568
 
  (eval $ac_try) 2>&5
20569
 
  ac_status=$?
20570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571
 
  (exit $ac_status); }; }; then
 
21171
  (exit $ac_status); } && {
 
21172
         test -z "$ac_c_werror_flag" ||
 
21173
         test ! -s conftest.err
 
21174
       } && test -s conftest$ac_exeext &&
 
21175
       $as_test_x conftest$ac_exeext; then
20572
21176
  ac_cv_func_shmat=yes
20573
21177
else
20574
21178
  echo "$as_me: failed program was:" >&5
20575
21179
sed 's/^/| /' conftest.$ac_ext >&5
20576
21180
 
20577
 
ac_cv_func_shmat=no
 
21181
        ac_cv_func_shmat=no
20578
21182
fi
20579
 
rm -f conftest.err conftest.$ac_objext \
 
21183
 
 
21184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20580
21185
      conftest$ac_exeext conftest.$ac_ext
20581
21186
fi
20582
 
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20583
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
21187
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
21188
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
20584
21189
 
20585
21190
    if test $ac_cv_func_shmat = no; then
20586
 
      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20587
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 
21191
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
21192
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
20588
21193
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20589
21194
  echo $ECHO_N "(cached) $ECHO_C" >&6
20590
21195
else
20597
21202
cat >>conftest.$ac_ext <<_ACEOF
20598
21203
/* end confdefs.h.  */
20599
21204
 
20600
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21205
/* Override any GCC internal prototype to avoid an error.
 
21206
   Use char because int might match the return type of a GCC
 
21207
   builtin and then its argument prototype would still apply.  */
20601
21208
#ifdef __cplusplus
20602
21209
extern "C"
20603
21210
#endif
20604
 
/* We use char because int might match the return type of a gcc2
20605
 
   builtin and then its argument prototype would still apply.  */
20606
21211
char shmat ();
20607
21212
int
20608
21213
main ()
20609
21214
{
20610
 
shmat ();
 
21215
return shmat ();
20611
21216
  ;
20612
21217
  return 0;
20613
21218
}
20614
21219
_ACEOF
20615
21220
rm -f conftest.$ac_objext conftest$ac_exeext
20616
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20617
 
  (eval $ac_link) 2>conftest.er1
 
21221
if { (ac_try="$ac_link"
 
21222
case "(($ac_try" in
 
21223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21224
  *) ac_try_echo=$ac_try;;
 
21225
esac
 
21226
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21227
  (eval "$ac_link") 2>conftest.er1
20618
21228
  ac_status=$?
20619
21229
  grep -v '^ *+' conftest.er1 >conftest.err
20620
21230
  rm -f conftest.er1
20621
21231
  cat conftest.err >&5
20622
21232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623
 
  (exit $ac_status); } &&
20624
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20625
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626
 
  (eval $ac_try) 2>&5
20627
 
  ac_status=$?
20628
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629
 
  (exit $ac_status); }; } &&
20630
 
         { ac_try='test -s conftest$ac_exeext'
20631
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632
 
  (eval $ac_try) 2>&5
20633
 
  ac_status=$?
20634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635
 
  (exit $ac_status); }; }; then
 
21233
  (exit $ac_status); } && {
 
21234
         test -z "$ac_c_werror_flag" ||
 
21235
         test ! -s conftest.err
 
21236
       } && test -s conftest$ac_exeext &&
 
21237
       $as_test_x conftest$ac_exeext; then
20636
21238
  ac_cv_lib_ipc_shmat=yes
20637
21239
else
20638
21240
  echo "$as_me: failed program was:" >&5
20639
21241
sed 's/^/| /' conftest.$ac_ext >&5
20640
21242
 
20641
 
ac_cv_lib_ipc_shmat=no
 
21243
        ac_cv_lib_ipc_shmat=no
20642
21244
fi
20643
 
rm -f conftest.err conftest.$ac_objext \
 
21245
 
 
21246
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20644
21247
      conftest$ac_exeext conftest.$ac_ext
20645
21248
LIBS=$ac_check_lib_save_LIBS
20646
21249
fi
20647
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20648
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
 
21250
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
21251
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
20649
21252
if test $ac_cv_lib_ipc_shmat = yes; then
20650
21253
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20651
21254
fi
20662
21265
  # These have to be linked with before -lX11, unlike the other
20663
21266
  # libraries we check for below, so use a different variable.
20664
21267
  # John Interrante, Karl Berry
20665
 
  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20666
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 
21268
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
21269
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
20667
21270
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20668
21271
  echo $ECHO_N "(cached) $ECHO_C" >&6
20669
21272
else
20676
21279
cat >>conftest.$ac_ext <<_ACEOF
20677
21280
/* end confdefs.h.  */
20678
21281
 
20679
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21282
/* Override any GCC internal prototype to avoid an error.
 
21283
   Use char because int might match the return type of a GCC
 
21284
   builtin and then its argument prototype would still apply.  */
20680
21285
#ifdef __cplusplus
20681
21286
extern "C"
20682
21287
#endif
20683
 
/* We use char because int might match the return type of a gcc2
20684
 
   builtin and then its argument prototype would still apply.  */
20685
21288
char IceConnectionNumber ();
20686
21289
int
20687
21290
main ()
20688
21291
{
20689
 
IceConnectionNumber ();
 
21292
return IceConnectionNumber ();
20690
21293
  ;
20691
21294
  return 0;
20692
21295
}
20693
21296
_ACEOF
20694
21297
rm -f conftest.$ac_objext conftest$ac_exeext
20695
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20696
 
  (eval $ac_link) 2>conftest.er1
 
21298
if { (ac_try="$ac_link"
 
21299
case "(($ac_try" in
 
21300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21301
  *) ac_try_echo=$ac_try;;
 
21302
esac
 
21303
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21304
  (eval "$ac_link") 2>conftest.er1
20697
21305
  ac_status=$?
20698
21306
  grep -v '^ *+' conftest.er1 >conftest.err
20699
21307
  rm -f conftest.er1
20700
21308
  cat conftest.err >&5
20701
21309
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702
 
  (exit $ac_status); } &&
20703
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705
 
  (eval $ac_try) 2>&5
20706
 
  ac_status=$?
20707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708
 
  (exit $ac_status); }; } &&
20709
 
         { ac_try='test -s conftest$ac_exeext'
20710
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711
 
  (eval $ac_try) 2>&5
20712
 
  ac_status=$?
20713
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714
 
  (exit $ac_status); }; }; then
 
21310
  (exit $ac_status); } && {
 
21311
         test -z "$ac_c_werror_flag" ||
 
21312
         test ! -s conftest.err
 
21313
       } && test -s conftest$ac_exeext &&
 
21314
       $as_test_x conftest$ac_exeext; then
20715
21315
  ac_cv_lib_ICE_IceConnectionNumber=yes
20716
21316
else
20717
21317
  echo "$as_me: failed program was:" >&5
20718
21318
sed 's/^/| /' conftest.$ac_ext >&5
20719
21319
 
20720
 
ac_cv_lib_ICE_IceConnectionNumber=no
 
21320
        ac_cv_lib_ICE_IceConnectionNumber=no
20721
21321
fi
20722
 
rm -f conftest.err conftest.$ac_objext \
 
21322
 
 
21323
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20723
21324
      conftest$ac_exeext conftest.$ac_ext
20724
21325
LIBS=$ac_check_lib_save_LIBS
20725
21326
fi
20726
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20727
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
 
21327
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
21328
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20728
21329
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20729
21330
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20730
21331
fi
20734
21335
fi
20735
21336
 
20736
21337
 
20737
 
echo "$as_me:$LINENO: checking whether variable-length arrays are supported" >&5
20738
 
echo $ECHO_N "checking whether variable-length arrays are supported... $ECHO_C" >&6
 
21338
{ echo "$as_me:$LINENO: checking whether variable-length arrays are supported" >&5
 
21339
echo $ECHO_N "checking whether variable-length arrays are supported... $ECHO_C" >&6; }
20739
21340
cat >conftest.$ac_ext <<_ACEOF
20740
21341
/* confdefs.h.  */
20741
21342
_ACEOF
20754
21355
}
20755
21356
_ACEOF
20756
21357
rm -f conftest.$ac_objext
20757
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20758
 
  (eval $ac_compile) 2>conftest.er1
 
21358
if { (ac_try="$ac_compile"
 
21359
case "(($ac_try" in
 
21360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21361
  *) ac_try_echo=$ac_try;;
 
21362
esac
 
21363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21364
  (eval "$ac_compile") 2>conftest.er1
20759
21365
  ac_status=$?
20760
21366
  grep -v '^ *+' conftest.er1 >conftest.err
20761
21367
  rm -f conftest.er1
20762
21368
  cat conftest.err >&5
20763
21369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764
 
  (exit $ac_status); } &&
20765
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20766
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767
 
  (eval $ac_try) 2>&5
20768
 
  ac_status=$?
20769
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770
 
  (exit $ac_status); }; } &&
20771
 
         { ac_try='test -s conftest.$ac_objext'
20772
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773
 
  (eval $ac_try) 2>&5
20774
 
  ac_status=$?
20775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776
 
  (exit $ac_status); }; }; then
20777
 
  echo "$as_me:$LINENO: result: yes" >&5
20778
 
echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
 
21370
  (exit $ac_status); } && {
 
21371
         test -z "$ac_c_werror_flag" ||
 
21372
         test ! -s conftest.err
 
21373
       } && test -s conftest.$ac_objext; then
 
21374
  { echo "$as_me:$LINENO: result: yes" >&5
 
21375
echo "${ECHO_T}yes" >&6; }; cat >>confdefs.h <<\_ACEOF
20779
21376
#define HAVE_VLA 1
20780
21377
_ACEOF
20781
21378
 
20783
21380
  echo "$as_me: failed program was:" >&5
20784
21381
sed 's/^/| /' conftest.$ac_ext >&5
20785
21382
 
20786
 
echo "$as_me:$LINENO: result: no" >&5
20787
 
echo "${ECHO_T}no" >&6
 
21383
        { echo "$as_me:$LINENO: result: no" >&5
 
21384
echo "${ECHO_T}no" >&6; }
20788
21385
fi
20789
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21386
 
 
21387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20790
21388
 
20791
21389
############################################################
20792
21390
# Check for the IJG JPEG library.
20793
21391
############################################################
20794
21392
 
20795
21393
# Allow the user to explicitly specify whether the JPEG library is present.
20796
 
# Check whether --enable-libjpeg or --disable-libjpeg was given.
 
21394
# Check whether --enable-libjpeg was given.
20797
21395
if test "${enable_libjpeg+set}" = set; then
20798
 
  enableval="$enable_libjpeg"
20799
 
 
 
21396
  enableval=$enable_libjpeg;
20800
21397
case "${enableval}" in
20801
21398
yes)
20802
21399
        ENABLE_LIBJPEG=yes;;
20811
21408
 
20812
21409
else
20813
21410
  ENABLE_LIBJPEG=yes
20814
 
fi;
 
21411
fi
 
21412
 
20815
21413
 
20816
21414
HAVE_LIBJPEG=no
20817
21415
if test $ENABLE_LIBJPEG = yes; then
20818
21416
        # Check for the JPEG library.
20819
 
        echo "$as_me:$LINENO: checking for jpeg_destroy in -ljpeg" >&5
20820
 
echo $ECHO_N "checking for jpeg_destroy in -ljpeg... $ECHO_C" >&6
 
21417
        { echo "$as_me:$LINENO: checking for jpeg_destroy in -ljpeg" >&5
 
21418
echo $ECHO_N "checking for jpeg_destroy in -ljpeg... $ECHO_C" >&6; }
20821
21419
if test "${ac_cv_lib_jpeg_jpeg_destroy+set}" = set; then
20822
21420
  echo $ECHO_N "(cached) $ECHO_C" >&6
20823
21421
else
20830
21428
cat >>conftest.$ac_ext <<_ACEOF
20831
21429
/* end confdefs.h.  */
20832
21430
 
20833
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21431
/* Override any GCC internal prototype to avoid an error.
 
21432
   Use char because int might match the return type of a GCC
 
21433
   builtin and then its argument prototype would still apply.  */
20834
21434
#ifdef __cplusplus
20835
21435
extern "C"
20836
21436
#endif
20837
 
/* We use char because int might match the return type of a gcc2
20838
 
   builtin and then its argument prototype would still apply.  */
20839
21437
char jpeg_destroy ();
20840
21438
int
20841
21439
main ()
20842
21440
{
20843
 
jpeg_destroy ();
 
21441
return jpeg_destroy ();
20844
21442
  ;
20845
21443
  return 0;
20846
21444
}
20847
21445
_ACEOF
20848
21446
rm -f conftest.$ac_objext conftest$ac_exeext
20849
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20850
 
  (eval $ac_link) 2>conftest.er1
 
21447
if { (ac_try="$ac_link"
 
21448
case "(($ac_try" in
 
21449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21450
  *) ac_try_echo=$ac_try;;
 
21451
esac
 
21452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21453
  (eval "$ac_link") 2>conftest.er1
20851
21454
  ac_status=$?
20852
21455
  grep -v '^ *+' conftest.er1 >conftest.err
20853
21456
  rm -f conftest.er1
20854
21457
  cat conftest.err >&5
20855
21458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856
 
  (exit $ac_status); } &&
20857
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859
 
  (eval $ac_try) 2>&5
20860
 
  ac_status=$?
20861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862
 
  (exit $ac_status); }; } &&
20863
 
         { ac_try='test -s conftest$ac_exeext'
20864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20865
 
  (eval $ac_try) 2>&5
20866
 
  ac_status=$?
20867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868
 
  (exit $ac_status); }; }; then
 
21459
  (exit $ac_status); } && {
 
21460
         test -z "$ac_c_werror_flag" ||
 
21461
         test ! -s conftest.err
 
21462
       } && test -s conftest$ac_exeext &&
 
21463
       $as_test_x conftest$ac_exeext; then
20869
21464
  ac_cv_lib_jpeg_jpeg_destroy=yes
20870
21465
else
20871
21466
  echo "$as_me: failed program was:" >&5
20872
21467
sed 's/^/| /' conftest.$ac_ext >&5
20873
21468
 
20874
 
ac_cv_lib_jpeg_jpeg_destroy=no
 
21469
        ac_cv_lib_jpeg_jpeg_destroy=no
20875
21470
fi
20876
 
rm -f conftest.err conftest.$ac_objext \
 
21471
 
 
21472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20877
21473
      conftest$ac_exeext conftest.$ac_ext
20878
21474
LIBS=$ac_check_lib_save_LIBS
20879
21475
fi
20880
 
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy" >&5
20881
 
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy" >&6
 
21476
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy" >&5
 
21477
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy" >&6; }
20882
21478
if test $ac_cv_lib_jpeg_jpeg_destroy = yes; then
20883
21479
  HAVE_LIBJPEG=yes
20884
21480
else
20905
21501
############################################################
20906
21502
 
20907
21503
 
20908
 
# Check whether --with-glut-include-dir or --without-glut-include-dir was given.
 
21504
# Check whether --with-glut-include-dir was given.
20909
21505
if test "${with_glut_include_dir+set}" = set; then
20910
 
  withval="$with_glut_include_dir"
20911
 
 
 
21506
  withval=$with_glut_include_dir;
20912
21507
        case "$withval" in
20913
21508
        /*)
20914
21509
                CFLAGS="$CFLAGS -I$withval"
20920
21515
                ;;
20921
21516
        esac
20922
21517
 
20923
 
fi;
20924
 
 
20925
 
# Check whether --with-glut-lib-dir or --without-glut-lib-dir was given.
 
21518
fi
 
21519
 
 
21520
 
 
21521
# Check whether --with-glut-lib-dir was given.
20926
21522
if test "${with_glut_lib_dir+set}" = set; then
20927
 
  withval="$with_glut_lib_dir"
20928
 
 
 
21523
  withval=$with_glut_lib_dir;
20929
21524
        case "$withval" in
20930
21525
        /*)
20931
21526
                LIBS="$LIBS -L$withval";;
20936
21531
                ;;
20937
21532
        esac
20938
21533
 
20939
 
fi;
20940
 
 
20941
 
# Check whether --enable-opengl or --disable-opengl was given.
 
21534
fi
 
21535
 
 
21536
 
 
21537
# Check whether --enable-opengl was given.
20942
21538
if test "${enable_opengl+set}" = set; then
20943
 
  enableval="$enable_opengl"
20944
 
 
 
21539
  enableval=$enable_opengl;
20945
21540
        case "$enableval" in
20946
21541
        yes)
20947
21542
                ENABLE_OPENGL=yes;;
20956
21551
 
20957
21552
else
20958
21553
  ENABLE_OPENGL=yes
20959
 
fi;
 
21554
fi
 
21555
 
20960
21556
 
20961
21557
HAVE_OPENGL=no
20962
21558
OPENGL_LIBS=""
20963
21559
if test $ENABLE_OPENGL = yes; then
20964
21560
        if test $HAVE_OPENGL = no; then
20965
21561
                TMPLIBS="-lglut -lGL -lGLU $X_PRE_LIBS -lX11 -lXmu -lXi -lXext -lXt $X_EXTRA_LIBS $X_LIBS"
20966
 
                echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
20967
 
echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6
 
21562
                { echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
 
21563
echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6; }
20968
21564
if test "${ac_cv_lib_glut_glutInit+set}" = set; then
20969
21565
  echo $ECHO_N "(cached) $ECHO_C" >&6
20970
21566
else
20977
21573
cat >>conftest.$ac_ext <<_ACEOF
20978
21574
/* end confdefs.h.  */
20979
21575
 
20980
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21576
/* Override any GCC internal prototype to avoid an error.
 
21577
   Use char because int might match the return type of a GCC
 
21578
   builtin and then its argument prototype would still apply.  */
20981
21579
#ifdef __cplusplus
20982
21580
extern "C"
20983
21581
#endif
20984
 
/* We use char because int might match the return type of a gcc2
20985
 
   builtin and then its argument prototype would still apply.  */
20986
21582
char glutInit ();
20987
21583
int
20988
21584
main ()
20989
21585
{
20990
 
glutInit ();
 
21586
return glutInit ();
20991
21587
  ;
20992
21588
  return 0;
20993
21589
}
20994
21590
_ACEOF
20995
21591
rm -f conftest.$ac_objext conftest$ac_exeext
20996
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20997
 
  (eval $ac_link) 2>conftest.er1
 
21592
if { (ac_try="$ac_link"
 
21593
case "(($ac_try" in
 
21594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21595
  *) ac_try_echo=$ac_try;;
 
21596
esac
 
21597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21598
  (eval "$ac_link") 2>conftest.er1
20998
21599
  ac_status=$?
20999
21600
  grep -v '^ *+' conftest.er1 >conftest.err
21000
21601
  rm -f conftest.er1
21001
21602
  cat conftest.err >&5
21002
21603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003
 
  (exit $ac_status); } &&
21004
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21005
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006
 
  (eval $ac_try) 2>&5
21007
 
  ac_status=$?
21008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009
 
  (exit $ac_status); }; } &&
21010
 
         { ac_try='test -s conftest$ac_exeext'
21011
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012
 
  (eval $ac_try) 2>&5
21013
 
  ac_status=$?
21014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015
 
  (exit $ac_status); }; }; then
 
21604
  (exit $ac_status); } && {
 
21605
         test -z "$ac_c_werror_flag" ||
 
21606
         test ! -s conftest.err
 
21607
       } && test -s conftest$ac_exeext &&
 
21608
       $as_test_x conftest$ac_exeext; then
21016
21609
  ac_cv_lib_glut_glutInit=yes
21017
21610
else
21018
21611
  echo "$as_me: failed program was:" >&5
21019
21612
sed 's/^/| /' conftest.$ac_ext >&5
21020
21613
 
21021
 
ac_cv_lib_glut_glutInit=no
 
21614
        ac_cv_lib_glut_glutInit=no
21022
21615
fi
21023
 
rm -f conftest.err conftest.$ac_objext \
 
21616
 
 
21617
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21024
21618
      conftest$ac_exeext conftest.$ac_ext
21025
21619
LIBS=$ac_check_lib_save_LIBS
21026
21620
fi
21027
 
echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
21028
 
echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6
 
21621
{ echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
 
21622
echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6; }
21029
21623
if test $ac_cv_lib_glut_glutInit = yes; then
21030
21624
  HAVE_OPENGL=yes;
21031
21625
                  OPENGL_LIBS=$TMPLIBS
21035
21629
 
21036
21630
        fi
21037
21631
        if test "${ac_cv_header_GL_glut_h+set}" = set; then
21038
 
  echo "$as_me:$LINENO: checking for GL/glut.h" >&5
21039
 
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6
 
21632
  { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
 
21633
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
21040
21634
if test "${ac_cv_header_GL_glut_h+set}" = set; then
21041
21635
  echo $ECHO_N "(cached) $ECHO_C" >&6
21042
21636
fi
21043
 
echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
21044
 
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6
 
21637
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
 
21638
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
21045
21639
else
21046
21640
  # Is the header compilable?
21047
 
echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
21048
 
echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6
 
21641
{ echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
 
21642
echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
21049
21643
cat >conftest.$ac_ext <<_ACEOF
21050
21644
/* confdefs.h.  */
21051
21645
_ACEOF
21056
21650
#include <GL/glut.h>
21057
21651
_ACEOF
21058
21652
rm -f conftest.$ac_objext
21059
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21060
 
  (eval $ac_compile) 2>conftest.er1
 
21653
if { (ac_try="$ac_compile"
 
21654
case "(($ac_try" in
 
21655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21656
  *) ac_try_echo=$ac_try;;
 
21657
esac
 
21658
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21659
  (eval "$ac_compile") 2>conftest.er1
21061
21660
  ac_status=$?
21062
21661
  grep -v '^ *+' conftest.er1 >conftest.err
21063
21662
  rm -f conftest.er1
21064
21663
  cat conftest.err >&5
21065
21664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066
 
  (exit $ac_status); } &&
21067
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21068
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069
 
  (eval $ac_try) 2>&5
21070
 
  ac_status=$?
21071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072
 
  (exit $ac_status); }; } &&
21073
 
         { ac_try='test -s conftest.$ac_objext'
21074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075
 
  (eval $ac_try) 2>&5
21076
 
  ac_status=$?
21077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078
 
  (exit $ac_status); }; }; then
 
21665
  (exit $ac_status); } && {
 
21666
         test -z "$ac_c_werror_flag" ||
 
21667
         test ! -s conftest.err
 
21668
       } && test -s conftest.$ac_objext; then
21079
21669
  ac_header_compiler=yes
21080
21670
else
21081
21671
  echo "$as_me: failed program was:" >&5
21082
21672
sed 's/^/| /' conftest.$ac_ext >&5
21083
21673
 
21084
 
ac_header_compiler=no
 
21674
        ac_header_compiler=no
21085
21675
fi
21086
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21087
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21088
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
21676
 
 
21677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
21678
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
21679
echo "${ECHO_T}$ac_header_compiler" >&6; }
21089
21680
 
21090
21681
# Is the header present?
21091
 
echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
21092
 
echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6
 
21682
{ echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
 
21683
echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
21093
21684
cat >conftest.$ac_ext <<_ACEOF
21094
21685
/* confdefs.h.  */
21095
21686
_ACEOF
21098
21689
/* end confdefs.h.  */
21099
21690
#include <GL/glut.h>
21100
21691
_ACEOF
21101
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21102
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
21692
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
21693
case "(($ac_try" in
 
21694
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21695
  *) ac_try_echo=$ac_try;;
 
21696
esac
 
21697
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21698
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21103
21699
  ac_status=$?
21104
21700
  grep -v '^ *+' conftest.er1 >conftest.err
21105
21701
  rm -f conftest.er1
21106
21702
  cat conftest.err >&5
21107
21703
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108
 
  (exit $ac_status); } >/dev/null; then
21109
 
  if test -s conftest.err; then
21110
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21111
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21112
 
  else
21113
 
    ac_cpp_err=
21114
 
  fi
21115
 
else
21116
 
  ac_cpp_err=yes
21117
 
fi
21118
 
if test -z "$ac_cpp_err"; then
 
21704
  (exit $ac_status); } >/dev/null && {
 
21705
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21706
         test ! -s conftest.err
 
21707
       }; then
21119
21708
  ac_header_preproc=yes
21120
21709
else
21121
21710
  echo "$as_me: failed program was:" >&5
21123
21712
 
21124
21713
  ac_header_preproc=no
21125
21714
fi
 
21715
 
21126
21716
rm -f conftest.err conftest.$ac_ext
21127
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21128
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
21717
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
21718
echo "${ECHO_T}$ac_header_preproc" >&6; }
21129
21719
 
21130
21720
# So?  What about this header?
21131
21721
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21149
21739
echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
21150
21740
    { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
21151
21741
echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
21152
 
    (
21153
 
      cat <<\_ASBOX
21154
 
## --------------------------------- ##
21155
 
## Report this to the jasper lists.  ##
21156
 
## --------------------------------- ##
21157
 
_ASBOX
21158
 
    ) |
21159
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
21742
 
21160
21743
    ;;
21161
21744
esac
21162
 
echo "$as_me:$LINENO: checking for GL/glut.h" >&5
21163
 
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6
 
21745
{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5
 
21746
echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
21164
21747
if test "${ac_cv_header_GL_glut_h+set}" = set; then
21165
21748
  echo $ECHO_N "(cached) $ECHO_C" >&6
21166
21749
else
21167
21750
  ac_cv_header_GL_glut_h=$ac_header_preproc
21168
21751
fi
21169
 
echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
21170
 
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6
 
21752
{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
 
21753
echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
21171
21754
 
21172
21755
fi
21173
21756
if test $ac_cv_header_GL_glut_h = yes; then
21190
21773
fi
21191
21774
 
21192
21775
 
21193
 
echo "$as_me:$LINENO: checking whether OpenGL libraries and headers were detected" >&5
21194
 
echo $ECHO_N "checking whether OpenGL libraries and headers were detected... $ECHO_C" >&6
21195
 
echo "$as_me:$LINENO: result: $HAVE_OPENGL" >&5
21196
 
echo "${ECHO_T}$HAVE_OPENGL" >&6
 
21776
{ echo "$as_me:$LINENO: checking whether OpenGL libraries and headers were detected" >&5
 
21777
echo $ECHO_N "checking whether OpenGL libraries and headers were detected... $ECHO_C" >&6; }
 
21778
{ echo "$as_me:$LINENO: result: $HAVE_OPENGL" >&5
 
21779
echo "${ECHO_T}$HAVE_OPENGL" >&6; }
21197
21780
 
21198
21781
############################################################
21199
21782
# Check for SDL libraries.
21200
21783
############################################################
21201
21784
# Extract the first word of "sdl-config", so it can be a program name with args.
21202
21785
set dummy sdl-config; ac_word=$2
21203
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
21204
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
21786
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21787
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21205
21788
if test "${ac_cv_prog_HAVE_SDL+set}" = set; then
21206
21789
  echo $ECHO_N "(cached) $ECHO_C" >&6
21207
21790
else
21214
21797
  IFS=$as_save_IFS
21215
21798
  test -z "$as_dir" && as_dir=.
21216
21799
  for ac_exec_ext in '' $ac_executable_extensions; do
21217
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21800
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21218
21801
    ac_cv_prog_HAVE_SDL="yes"
21219
21802
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21220
21803
    break 2
21221
21804
  fi
21222
21805
done
21223
21806
done
 
21807
IFS=$as_save_IFS
21224
21808
 
21225
21809
  test -z "$ac_cv_prog_HAVE_SDL" && ac_cv_prog_HAVE_SDL="no"
21226
21810
fi
21227
21811
fi
21228
21812
HAVE_SDL=$ac_cv_prog_HAVE_SDL
21229
21813
if test -n "$HAVE_SDL"; then
21230
 
  echo "$as_me:$LINENO: result: $HAVE_SDL" >&5
21231
 
echo "${ECHO_T}$HAVE_SDL" >&6
 
21814
  { echo "$as_me:$LINENO: result: $HAVE_SDL" >&5
 
21815
echo "${ECHO_T}$HAVE_SDL" >&6; }
21232
21816
else
21233
 
  echo "$as_me:$LINENO: result: no" >&5
21234
 
echo "${ECHO_T}no" >&6
 
21817
  { echo "$as_me:$LINENO: result: no" >&5
 
21818
echo "${ECHO_T}no" >&6; }
21235
21819
fi
21236
21820
 
 
21821
 
21237
21822
if test $HAVE_SDL = yes; then
21238
21823
  SDL_CFLAGS=`sdl-config --cflags`
21239
21824
  SDL_LIBS=`sdl-config --libs`
21257
21842
 
21258
21843
# Check for the math library.
21259
21844
 
21260
 
echo "$as_me:$LINENO: checking for main in -lm" >&5
21261
 
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
 
21845
{ echo "$as_me:$LINENO: checking for main in -lm" >&5
 
21846
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
21262
21847
if test "${ac_cv_lib_m_main+set}" = set; then
21263
21848
  echo $ECHO_N "(cached) $ECHO_C" >&6
21264
21849
else
21275
21860
int
21276
21861
main ()
21277
21862
{
21278
 
main ();
 
21863
return main ();
21279
21864
  ;
21280
21865
  return 0;
21281
21866
}
21282
21867
_ACEOF
21283
21868
rm -f conftest.$ac_objext conftest$ac_exeext
21284
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21285
 
  (eval $ac_link) 2>conftest.er1
 
21869
if { (ac_try="$ac_link"
 
21870
case "(($ac_try" in
 
21871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21872
  *) ac_try_echo=$ac_try;;
 
21873
esac
 
21874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21875
  (eval "$ac_link") 2>conftest.er1
21286
21876
  ac_status=$?
21287
21877
  grep -v '^ *+' conftest.er1 >conftest.err
21288
21878
  rm -f conftest.er1
21289
21879
  cat conftest.err >&5
21290
21880
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291
 
  (exit $ac_status); } &&
21292
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21293
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294
 
  (eval $ac_try) 2>&5
21295
 
  ac_status=$?
21296
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297
 
  (exit $ac_status); }; } &&
21298
 
         { ac_try='test -s conftest$ac_exeext'
21299
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300
 
  (eval $ac_try) 2>&5
21301
 
  ac_status=$?
21302
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303
 
  (exit $ac_status); }; }; then
 
21881
  (exit $ac_status); } && {
 
21882
         test -z "$ac_c_werror_flag" ||
 
21883
         test ! -s conftest.err
 
21884
       } && test -s conftest$ac_exeext &&
 
21885
       $as_test_x conftest$ac_exeext; then
21304
21886
  ac_cv_lib_m_main=yes
21305
21887
else
21306
21888
  echo "$as_me: failed program was:" >&5
21307
21889
sed 's/^/| /' conftest.$ac_ext >&5
21308
21890
 
21309
 
ac_cv_lib_m_main=no
 
21891
        ac_cv_lib_m_main=no
21310
21892
fi
21311
 
rm -f conftest.err conftest.$ac_objext \
 
21893
 
 
21894
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21312
21895
      conftest$ac_exeext conftest.$ac_ext
21313
21896
LIBS=$ac_check_lib_save_LIBS
21314
21897
fi
21315
 
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
21316
 
echo "${ECHO_T}$ac_cv_lib_m_main" >&6
 
21898
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
 
21899
echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
21317
21900
if test $ac_cv_lib_m_main = yes; then
21318
21901
  cat >>confdefs.h <<_ACEOF
21319
21902
#define HAVE_LIBM 1
21328
21911
# Check for header files.
21329
21912
############################################################
21330
21913
 
21331
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21332
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
21914
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
21915
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21333
21916
if test "${ac_cv_header_stdc+set}" = set; then
21334
21917
  echo $ECHO_N "(cached) $ECHO_C" >&6
21335
21918
else
21353
21936
}
21354
21937
_ACEOF
21355
21938
rm -f conftest.$ac_objext
21356
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21357
 
  (eval $ac_compile) 2>conftest.er1
 
21939
if { (ac_try="$ac_compile"
 
21940
case "(($ac_try" in
 
21941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21942
  *) ac_try_echo=$ac_try;;
 
21943
esac
 
21944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21945
  (eval "$ac_compile") 2>conftest.er1
21358
21946
  ac_status=$?
21359
21947
  grep -v '^ *+' conftest.er1 >conftest.err
21360
21948
  rm -f conftest.er1
21361
21949
  cat conftest.err >&5
21362
21950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363
 
  (exit $ac_status); } &&
21364
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21365
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366
 
  (eval $ac_try) 2>&5
21367
 
  ac_status=$?
21368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369
 
  (exit $ac_status); }; } &&
21370
 
         { ac_try='test -s conftest.$ac_objext'
21371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372
 
  (eval $ac_try) 2>&5
21373
 
  ac_status=$?
21374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375
 
  (exit $ac_status); }; }; then
 
21951
  (exit $ac_status); } && {
 
21952
         test -z "$ac_c_werror_flag" ||
 
21953
         test ! -s conftest.err
 
21954
       } && test -s conftest.$ac_objext; then
21376
21955
  ac_cv_header_stdc=yes
21377
21956
else
21378
21957
  echo "$as_me: failed program was:" >&5
21379
21958
sed 's/^/| /' conftest.$ac_ext >&5
21380
21959
 
21381
 
ac_cv_header_stdc=no
 
21960
        ac_cv_header_stdc=no
21382
21961
fi
21383
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
21962
 
 
21963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21384
21964
 
21385
21965
if test $ac_cv_header_stdc = yes; then
21386
21966
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21436
22016
cat >>conftest.$ac_ext <<_ACEOF
21437
22017
/* end confdefs.h.  */
21438
22018
#include <ctype.h>
 
22019
#include <stdlib.h>
21439
22020
#if ((' ' & 0x0FF) == 0x020)
21440
22021
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21441
22022
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21455
22036
  for (i = 0; i < 256; i++)
21456
22037
    if (XOR (islower (i), ISLOWER (i))
21457
22038
        || toupper (i) != TOUPPER (i))
21458
 
      exit(2);
21459
 
  exit (0);
 
22039
      return 2;
 
22040
  return 0;
21460
22041
}
21461
22042
_ACEOF
21462
22043
rm -f conftest$ac_exeext
21463
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464
 
  (eval $ac_link) 2>&5
 
22044
if { (ac_try="$ac_link"
 
22045
case "(($ac_try" in
 
22046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22047
  *) ac_try_echo=$ac_try;;
 
22048
esac
 
22049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22050
  (eval "$ac_link") 2>&5
21465
22051
  ac_status=$?
21466
22052
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467
22053
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21468
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469
 
  (eval $ac_try) 2>&5
 
22054
  { (case "(($ac_try" in
 
22055
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22056
  *) ac_try_echo=$ac_try;;
 
22057
esac
 
22058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22059
  (eval "$ac_try") 2>&5
21470
22060
  ac_status=$?
21471
22061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472
22062
  (exit $ac_status); }; }; then
21479
22069
( exit $ac_status )
21480
22070
ac_cv_header_stdc=no
21481
22071
fi
21482
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21483
 
fi
21484
 
fi
21485
 
fi
21486
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21487
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
22072
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22073
fi
 
22074
 
 
22075
 
 
22076
fi
 
22077
fi
 
22078
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
22079
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21488
22080
if test $ac_cv_header_stdc = yes; then
21489
22081
 
21490
22082
cat >>confdefs.h <<\_ACEOF
21506
22098
for ac_header in fcntl.h limits.h unistd.h stdint.h stdbool.h io.h windows.h sys/types.h stdlib.h stddef.h
21507
22099
do
21508
22100
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21509
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21510
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21511
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21512
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22101
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22102
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22103
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22104
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21513
22105
  echo $ECHO_N "(cached) $ECHO_C" >&6
21514
22106
fi
21515
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21516
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22107
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22108
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22109
echo "${ECHO_T}$ac_res" >&6; }
21517
22110
else
21518
22111
  # Is the header compilable?
21519
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21520
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
22112
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22113
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21521
22114
cat >conftest.$ac_ext <<_ACEOF
21522
22115
/* confdefs.h.  */
21523
22116
_ACEOF
21528
22121
#include <$ac_header>
21529
22122
_ACEOF
21530
22123
rm -f conftest.$ac_objext
21531
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21532
 
  (eval $ac_compile) 2>conftest.er1
 
22124
if { (ac_try="$ac_compile"
 
22125
case "(($ac_try" in
 
22126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22127
  *) ac_try_echo=$ac_try;;
 
22128
esac
 
22129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22130
  (eval "$ac_compile") 2>conftest.er1
21533
22131
  ac_status=$?
21534
22132
  grep -v '^ *+' conftest.er1 >conftest.err
21535
22133
  rm -f conftest.er1
21536
22134
  cat conftest.err >&5
21537
22135
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538
 
  (exit $ac_status); } &&
21539
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541
 
  (eval $ac_try) 2>&5
21542
 
  ac_status=$?
21543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544
 
  (exit $ac_status); }; } &&
21545
 
         { ac_try='test -s conftest.$ac_objext'
21546
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547
 
  (eval $ac_try) 2>&5
21548
 
  ac_status=$?
21549
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550
 
  (exit $ac_status); }; }; then
 
22136
  (exit $ac_status); } && {
 
22137
         test -z "$ac_c_werror_flag" ||
 
22138
         test ! -s conftest.err
 
22139
       } && test -s conftest.$ac_objext; then
21551
22140
  ac_header_compiler=yes
21552
22141
else
21553
22142
  echo "$as_me: failed program was:" >&5
21554
22143
sed 's/^/| /' conftest.$ac_ext >&5
21555
22144
 
21556
 
ac_header_compiler=no
 
22145
        ac_header_compiler=no
21557
22146
fi
21558
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21559
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21560
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
22147
 
 
22148
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22149
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22150
echo "${ECHO_T}$ac_header_compiler" >&6; }
21561
22151
 
21562
22152
# Is the header present?
21563
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21564
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
22153
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22154
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21565
22155
cat >conftest.$ac_ext <<_ACEOF
21566
22156
/* confdefs.h.  */
21567
22157
_ACEOF
21570
22160
/* end confdefs.h.  */
21571
22161
#include <$ac_header>
21572
22162
_ACEOF
21573
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21574
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
22163
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
22164
case "(($ac_try" in
 
22165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22166
  *) ac_try_echo=$ac_try;;
 
22167
esac
 
22168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22169
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21575
22170
  ac_status=$?
21576
22171
  grep -v '^ *+' conftest.er1 >conftest.err
21577
22172
  rm -f conftest.er1
21578
22173
  cat conftest.err >&5
21579
22174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580
 
  (exit $ac_status); } >/dev/null; then
21581
 
  if test -s conftest.err; then
21582
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21583
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21584
 
  else
21585
 
    ac_cpp_err=
21586
 
  fi
21587
 
else
21588
 
  ac_cpp_err=yes
21589
 
fi
21590
 
if test -z "$ac_cpp_err"; then
 
22175
  (exit $ac_status); } >/dev/null && {
 
22176
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
22177
         test ! -s conftest.err
 
22178
       }; then
21591
22179
  ac_header_preproc=yes
21592
22180
else
21593
22181
  echo "$as_me: failed program was:" >&5
21595
22183
 
21596
22184
  ac_header_preproc=no
21597
22185
fi
 
22186
 
21598
22187
rm -f conftest.err conftest.$ac_ext
21599
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21600
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
22188
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22189
echo "${ECHO_T}$ac_header_preproc" >&6; }
21601
22190
 
21602
22191
# So?  What about this header?
21603
22192
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21621
22210
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21622
22211
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21623
22212
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21624
 
    (
21625
 
      cat <<\_ASBOX
21626
 
## --------------------------------- ##
21627
 
## Report this to the jasper lists.  ##
21628
 
## --------------------------------- ##
21629
 
_ASBOX
21630
 
    ) |
21631
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
22213
 
21632
22214
    ;;
21633
22215
esac
21634
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21635
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21636
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
22216
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22217
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22218
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21637
22219
  echo $ECHO_N "(cached) $ECHO_C" >&6
21638
22220
else
21639
22221
  eval "$as_ac_Header=\$ac_header_preproc"
21640
22222
fi
21641
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21642
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
22223
ac_res=`eval echo '${'$as_ac_Header'}'`
 
22224
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
22225
echo "${ECHO_T}$ac_res" >&6; }
21643
22226
 
21644
22227
fi
21645
22228
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21656
22239
# Check for typedefs, structures, and compiler characteristics.
21657
22240
############################################################
21658
22241
 
21659
 
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21660
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 
22242
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
22243
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
21661
22244
if test "${ac_cv_c_bigendian+set}" = set; then
21662
22245
  echo $ECHO_N "(cached) $ECHO_C" >&6
21663
22246
else
21674
22257
int
21675
22258
main ()
21676
22259
{
21677
 
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 
22260
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
 
22261
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
21678
22262
 bogus endian macros
21679
22263
#endif
21680
22264
 
21683
22267
}
21684
22268
_ACEOF
21685
22269
rm -f conftest.$ac_objext
21686
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21687
 
  (eval $ac_compile) 2>conftest.er1
 
22270
if { (ac_try="$ac_compile"
 
22271
case "(($ac_try" in
 
22272
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22273
  *) ac_try_echo=$ac_try;;
 
22274
esac
 
22275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22276
  (eval "$ac_compile") 2>conftest.er1
21688
22277
  ac_status=$?
21689
22278
  grep -v '^ *+' conftest.er1 >conftest.err
21690
22279
  rm -f conftest.er1
21691
22280
  cat conftest.err >&5
21692
22281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693
 
  (exit $ac_status); } &&
21694
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21695
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696
 
  (eval $ac_try) 2>&5
21697
 
  ac_status=$?
21698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699
 
  (exit $ac_status); }; } &&
21700
 
         { ac_try='test -s conftest.$ac_objext'
21701
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21702
 
  (eval $ac_try) 2>&5
21703
 
  ac_status=$?
21704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705
 
  (exit $ac_status); }; }; then
 
22282
  (exit $ac_status); } && {
 
22283
         test -z "$ac_c_werror_flag" ||
 
22284
         test ! -s conftest.err
 
22285
       } && test -s conftest.$ac_objext; then
21706
22286
  # It does; now see whether it defined to BIG_ENDIAN or not.
21707
22287
cat >conftest.$ac_ext <<_ACEOF
21708
22288
/* confdefs.h.  */
21725
22305
}
21726
22306
_ACEOF
21727
22307
rm -f conftest.$ac_objext
21728
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21729
 
  (eval $ac_compile) 2>conftest.er1
 
22308
if { (ac_try="$ac_compile"
 
22309
case "(($ac_try" in
 
22310
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22311
  *) ac_try_echo=$ac_try;;
 
22312
esac
 
22313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22314
  (eval "$ac_compile") 2>conftest.er1
21730
22315
  ac_status=$?
21731
22316
  grep -v '^ *+' conftest.er1 >conftest.err
21732
22317
  rm -f conftest.er1
21733
22318
  cat conftest.err >&5
21734
22319
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735
 
  (exit $ac_status); } &&
21736
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21737
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738
 
  (eval $ac_try) 2>&5
21739
 
  ac_status=$?
21740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741
 
  (exit $ac_status); }; } &&
21742
 
         { ac_try='test -s conftest.$ac_objext'
21743
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744
 
  (eval $ac_try) 2>&5
21745
 
  ac_status=$?
21746
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747
 
  (exit $ac_status); }; }; then
 
22320
  (exit $ac_status); } && {
 
22321
         test -z "$ac_c_werror_flag" ||
 
22322
         test ! -s conftest.err
 
22323
       } && test -s conftest.$ac_objext; then
21748
22324
  ac_cv_c_bigendian=yes
21749
22325
else
21750
22326
  echo "$as_me: failed program was:" >&5
21751
22327
sed 's/^/| /' conftest.$ac_ext >&5
21752
22328
 
21753
 
ac_cv_c_bigendian=no
 
22329
        ac_cv_c_bigendian=no
21754
22330
fi
21755
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22331
 
 
22332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756
22333
else
21757
22334
  echo "$as_me: failed program was:" >&5
21758
22335
sed 's/^/| /' conftest.$ac_ext >&5
21759
22336
 
21760
 
# It does not; compile a test program.
 
22337
        # It does not; compile a test program.
21761
22338
if test "$cross_compiling" = yes; then
21762
22339
  # try to guess the endianness by grepping values into an object file
21763
22340
  ac_cv_c_bigendian=unknown
21767
22344
cat confdefs.h >>conftest.$ac_ext
21768
22345
cat >>conftest.$ac_ext <<_ACEOF
21769
22346
/* end confdefs.h.  */
21770
 
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21771
 
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
22347
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
22348
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21772
22349
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
21773
 
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21774
 
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
22350
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
22351
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21775
22352
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
21776
22353
int
21777
22354
main ()
21782
22359
}
21783
22360
_ACEOF
21784
22361
rm -f conftest.$ac_objext
21785
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21786
 
  (eval $ac_compile) 2>conftest.er1
 
22362
if { (ac_try="$ac_compile"
 
22363
case "(($ac_try" in
 
22364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22365
  *) ac_try_echo=$ac_try;;
 
22366
esac
 
22367
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22368
  (eval "$ac_compile") 2>conftest.er1
21787
22369
  ac_status=$?
21788
22370
  grep -v '^ *+' conftest.er1 >conftest.err
21789
22371
  rm -f conftest.er1
21790
22372
  cat conftest.err >&5
21791
22373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792
 
  (exit $ac_status); } &&
21793
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795
 
  (eval $ac_try) 2>&5
21796
 
  ac_status=$?
21797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798
 
  (exit $ac_status); }; } &&
21799
 
         { ac_try='test -s conftest.$ac_objext'
21800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801
 
  (eval $ac_try) 2>&5
21802
 
  ac_status=$?
21803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804
 
  (exit $ac_status); }; }; then
 
22374
  (exit $ac_status); } && {
 
22375
         test -z "$ac_c_werror_flag" ||
 
22376
         test ! -s conftest.err
 
22377
       } && test -s conftest.$ac_objext; then
21805
22378
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
21806
22379
  ac_cv_c_bigendian=yes
21807
22380
fi
21817
22390
  echo "$as_me: failed program was:" >&5
21818
22391
sed 's/^/| /' conftest.$ac_ext >&5
21819
22392
 
 
22393
 
21820
22394
fi
21821
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22395
 
 
22396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21822
22397
else
21823
22398
  cat >conftest.$ac_ext <<_ACEOF
21824
22399
/* confdefs.h.  */
21826
22401
cat confdefs.h >>conftest.$ac_ext
21827
22402
cat >>conftest.$ac_ext <<_ACEOF
21828
22403
/* end confdefs.h.  */
 
22404
$ac_includes_default
21829
22405
int
21830
22406
main ()
21831
22407
{
 
22408
 
21832
22409
  /* Are we little or big endian?  From Harbison&Steele.  */
21833
22410
  union
21834
22411
  {
21835
 
    long l;
21836
 
    char c[sizeof (long)];
 
22412
    long int l;
 
22413
    char c[sizeof (long int)];
21837
22414
  } u;
21838
22415
  u.l = 1;
21839
 
  exit (u.c[sizeof (long) - 1] == 1);
 
22416
  return u.c[sizeof (long int) - 1] == 1;
 
22417
 
 
22418
  ;
 
22419
  return 0;
21840
22420
}
21841
22421
_ACEOF
21842
22422
rm -f conftest$ac_exeext
21843
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21844
 
  (eval $ac_link) 2>&5
 
22423
if { (ac_try="$ac_link"
 
22424
case "(($ac_try" in
 
22425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22426
  *) ac_try_echo=$ac_try;;
 
22427
esac
 
22428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22429
  (eval "$ac_link") 2>&5
21845
22430
  ac_status=$?
21846
22431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847
22432
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21848
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849
 
  (eval $ac_try) 2>&5
 
22433
  { (case "(($ac_try" in
 
22434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22435
  *) ac_try_echo=$ac_try;;
 
22436
esac
 
22437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22438
  (eval "$ac_try") 2>&5
21850
22439
  ac_status=$?
21851
22440
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852
22441
  (exit $ac_status); }; }; then
21859
22448
( exit $ac_status )
21860
22449
ac_cv_c_bigendian=yes
21861
22450
fi
21862
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21863
 
fi
21864
 
fi
21865
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21866
 
fi
21867
 
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21868
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 
22451
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
22452
fi
 
22453
 
 
22454
 
 
22455
fi
 
22456
 
 
22457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22458
fi
 
22459
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
22460
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
21869
22461
case $ac_cv_c_bigendian in
21870
22462
  yes)
21871
22463
 
21883
22475
   { (exit 1); exit 1; }; } ;;
21884
22476
esac
21885
22477
 
21886
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21887
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
22478
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
22479
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21888
22480
if test "${ac_cv_c_const+set}" = set; then
21889
22481
  echo $ECHO_N "(cached) $ECHO_C" >&6
21890
22482
else
21902
22494
#ifndef __cplusplus
21903
22495
  /* Ultrix mips cc rejects this.  */
21904
22496
  typedef int charset[2];
21905
 
  const charset x;
 
22497
  const charset cs;
21906
22498
  /* SunOS 4.1.1 cc rejects this.  */
21907
 
  char const *const *ccp;
21908
 
  char **p;
 
22499
  char const *const *pcpcc;
 
22500
  char **ppc;
21909
22501
  /* NEC SVR4.0.2 mips cc rejects this.  */
21910
22502
  struct point {int x, y;};
21911
22503
  static struct point const zero = {0,0};
21914
22506
     an arm of an if-expression whose if-part is not a constant
21915
22507
     expression */
21916
22508
  const char *g = "string";
21917
 
  ccp = &g + (g ? g-g : 0);
 
22509
  pcpcc = &g + (g ? g-g : 0);
21918
22510
  /* HPUX 7.0 cc rejects these. */
21919
 
  ++ccp;
21920
 
  p = (char**) ccp;
21921
 
  ccp = (char const *const *) p;
 
22511
  ++pcpcc;
 
22512
  ppc = (char**) pcpcc;
 
22513
  pcpcc = (char const *const *) ppc;
21922
22514
  { /* SCO 3.2v4 cc rejects this.  */
21923
22515
    char *t;
21924
22516
    char const *s = 0 ? (char *) 0 : (char const *) 0;
21925
22517
 
21926
22518
    *t++ = 0;
 
22519
    if (s) return 0;
21927
22520
  }
21928
22521
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
21929
22522
    int x[] = {25, 17};
21942
22535
  }
21943
22536
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21944
22537
    const int foo = 10;
 
22538
    if (!foo) return 0;
21945
22539
  }
 
22540
  return !cs[0] && !zero.x;
21946
22541
#endif
21947
22542
 
21948
22543
  ;
21950
22545
}
21951
22546
_ACEOF
21952
22547
rm -f conftest.$ac_objext
21953
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21954
 
  (eval $ac_compile) 2>conftest.er1
 
22548
if { (ac_try="$ac_compile"
 
22549
case "(($ac_try" in
 
22550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22551
  *) ac_try_echo=$ac_try;;
 
22552
esac
 
22553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22554
  (eval "$ac_compile") 2>conftest.er1
21955
22555
  ac_status=$?
21956
22556
  grep -v '^ *+' conftest.er1 >conftest.err
21957
22557
  rm -f conftest.er1
21958
22558
  cat conftest.err >&5
21959
22559
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960
 
  (exit $ac_status); } &&
21961
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21962
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963
 
  (eval $ac_try) 2>&5
21964
 
  ac_status=$?
21965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966
 
  (exit $ac_status); }; } &&
21967
 
         { ac_try='test -s conftest.$ac_objext'
21968
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969
 
  (eval $ac_try) 2>&5
21970
 
  ac_status=$?
21971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972
 
  (exit $ac_status); }; }; then
 
22560
  (exit $ac_status); } && {
 
22561
         test -z "$ac_c_werror_flag" ||
 
22562
         test ! -s conftest.err
 
22563
       } && test -s conftest.$ac_objext; then
21973
22564
  ac_cv_c_const=yes
21974
22565
else
21975
22566
  echo "$as_me: failed program was:" >&5
21976
22567
sed 's/^/| /' conftest.$ac_ext >&5
21977
22568
 
21978
 
ac_cv_c_const=no
21979
 
fi
21980
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21981
 
fi
21982
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21983
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
22569
        ac_cv_c_const=no
 
22570
fi
 
22571
 
 
22572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22573
fi
 
22574
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
22575
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21984
22576
if test $ac_cv_c_const = no; then
21985
22577
 
21986
22578
cat >>confdefs.h <<\_ACEOF
21989
22581
 
21990
22582
fi
21991
22583
 
21992
 
echo "$as_me:$LINENO: checking for inline" >&5
21993
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6
 
22584
{ echo "$as_me:$LINENO: checking for inline" >&5
 
22585
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21994
22586
if test "${ac_cv_c_inline+set}" = set; then
21995
22587
  echo $ECHO_N "(cached) $ECHO_C" >&6
21996
22588
else
22010
22602
 
22011
22603
_ACEOF
22012
22604
rm -f conftest.$ac_objext
22013
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22014
 
  (eval $ac_compile) 2>conftest.er1
 
22605
if { (ac_try="$ac_compile"
 
22606
case "(($ac_try" in
 
22607
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22608
  *) ac_try_echo=$ac_try;;
 
22609
esac
 
22610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22611
  (eval "$ac_compile") 2>conftest.er1
22015
22612
  ac_status=$?
22016
22613
  grep -v '^ *+' conftest.er1 >conftest.err
22017
22614
  rm -f conftest.er1
22018
22615
  cat conftest.err >&5
22019
22616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020
 
  (exit $ac_status); } &&
22021
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22022
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023
 
  (eval $ac_try) 2>&5
22024
 
  ac_status=$?
22025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026
 
  (exit $ac_status); }; } &&
22027
 
         { ac_try='test -s conftest.$ac_objext'
22028
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029
 
  (eval $ac_try) 2>&5
22030
 
  ac_status=$?
22031
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032
 
  (exit $ac_status); }; }; then
22033
 
  ac_cv_c_inline=$ac_kw; break
 
22617
  (exit $ac_status); } && {
 
22618
         test -z "$ac_c_werror_flag" ||
 
22619
         test ! -s conftest.err
 
22620
       } && test -s conftest.$ac_objext; then
 
22621
  ac_cv_c_inline=$ac_kw
22034
22622
else
22035
22623
  echo "$as_me: failed program was:" >&5
22036
22624
sed 's/^/| /' conftest.$ac_ext >&5
22037
22625
 
 
22626
 
22038
22627
fi
22039
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22628
 
 
22629
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22630
  test "$ac_cv_c_inline" != no && break
22040
22631
done
22041
22632
 
22042
22633
fi
22043
 
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
22044
 
echo "${ECHO_T}$ac_cv_c_inline" >&6
 
22634
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
22635
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
22045
22636
 
22046
22637
 
22047
22638
case $ac_cv_c_inline in
22059
22650
    ;;
22060
22651
esac
22061
22652
 
22062
 
echo "$as_me:$LINENO: checking for size_t" >&5
22063
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
22653
{ echo "$as_me:$LINENO: checking for size_t" >&5
 
22654
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22064
22655
if test "${ac_cv_type_size_t+set}" = set; then
22065
22656
  echo $ECHO_N "(cached) $ECHO_C" >&6
22066
22657
else
22071
22662
cat >>conftest.$ac_ext <<_ACEOF
22072
22663
/* end confdefs.h.  */
22073
22664
$ac_includes_default
 
22665
typedef size_t ac__type_new_;
22074
22666
int
22075
22667
main ()
22076
22668
{
22077
 
if ((size_t *) 0)
 
22669
if ((ac__type_new_ *) 0)
22078
22670
  return 0;
22079
 
if (sizeof (size_t))
 
22671
if (sizeof (ac__type_new_))
22080
22672
  return 0;
22081
22673
  ;
22082
22674
  return 0;
22083
22675
}
22084
22676
_ACEOF
22085
22677
rm -f conftest.$ac_objext
22086
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22087
 
  (eval $ac_compile) 2>conftest.er1
 
22678
if { (ac_try="$ac_compile"
 
22679
case "(($ac_try" in
 
22680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22681
  *) ac_try_echo=$ac_try;;
 
22682
esac
 
22683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22684
  (eval "$ac_compile") 2>conftest.er1
22088
22685
  ac_status=$?
22089
22686
  grep -v '^ *+' conftest.er1 >conftest.err
22090
22687
  rm -f conftest.er1
22091
22688
  cat conftest.err >&5
22092
22689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093
 
  (exit $ac_status); } &&
22094
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22095
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22096
 
  (eval $ac_try) 2>&5
22097
 
  ac_status=$?
22098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099
 
  (exit $ac_status); }; } &&
22100
 
         { ac_try='test -s conftest.$ac_objext'
22101
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22102
 
  (eval $ac_try) 2>&5
22103
 
  ac_status=$?
22104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105
 
  (exit $ac_status); }; }; then
 
22690
  (exit $ac_status); } && {
 
22691
         test -z "$ac_c_werror_flag" ||
 
22692
         test ! -s conftest.err
 
22693
       } && test -s conftest.$ac_objext; then
22106
22694
  ac_cv_type_size_t=yes
22107
22695
else
22108
22696
  echo "$as_me: failed program was:" >&5
22109
22697
sed 's/^/| /' conftest.$ac_ext >&5
22110
22698
 
22111
 
ac_cv_type_size_t=no
22112
 
fi
22113
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22114
 
fi
22115
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22116
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
 
22699
        ac_cv_type_size_t=no
 
22700
fi
 
22701
 
 
22702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22703
fi
 
22704
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
22705
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22117
22706
if test $ac_cv_type_size_t = yes; then
22118
22707
  :
22119
22708
else
22120
22709
 
22121
22710
cat >>confdefs.h <<_ACEOF
22122
 
#define size_t unsigned
 
22711
#define size_t unsigned int
22123
22712
_ACEOF
22124
22713
 
22125
22714
fi
22126
22715
 
22127
 
echo "$as_me:$LINENO: checking for short" >&5
22128
 
echo $ECHO_N "checking for short... $ECHO_C" >&6
 
22716
{ echo "$as_me:$LINENO: checking for short" >&5
 
22717
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
22129
22718
if test "${ac_cv_type_short+set}" = set; then
22130
22719
  echo $ECHO_N "(cached) $ECHO_C" >&6
22131
22720
else
22136
22725
cat >>conftest.$ac_ext <<_ACEOF
22137
22726
/* end confdefs.h.  */
22138
22727
$ac_includes_default
 
22728
typedef short ac__type_new_;
22139
22729
int
22140
22730
main ()
22141
22731
{
22142
 
if ((short *) 0)
 
22732
if ((ac__type_new_ *) 0)
22143
22733
  return 0;
22144
 
if (sizeof (short))
 
22734
if (sizeof (ac__type_new_))
22145
22735
  return 0;
22146
22736
  ;
22147
22737
  return 0;
22148
22738
}
22149
22739
_ACEOF
22150
22740
rm -f conftest.$ac_objext
22151
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22152
 
  (eval $ac_compile) 2>conftest.er1
 
22741
if { (ac_try="$ac_compile"
 
22742
case "(($ac_try" in
 
22743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22744
  *) ac_try_echo=$ac_try;;
 
22745
esac
 
22746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22747
  (eval "$ac_compile") 2>conftest.er1
22153
22748
  ac_status=$?
22154
22749
  grep -v '^ *+' conftest.er1 >conftest.err
22155
22750
  rm -f conftest.er1
22156
22751
  cat conftest.err >&5
22157
22752
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158
 
  (exit $ac_status); } &&
22159
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161
 
  (eval $ac_try) 2>&5
22162
 
  ac_status=$?
22163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164
 
  (exit $ac_status); }; } &&
22165
 
         { ac_try='test -s conftest.$ac_objext'
22166
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167
 
  (eval $ac_try) 2>&5
22168
 
  ac_status=$?
22169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170
 
  (exit $ac_status); }; }; then
 
22753
  (exit $ac_status); } && {
 
22754
         test -z "$ac_c_werror_flag" ||
 
22755
         test ! -s conftest.err
 
22756
       } && test -s conftest.$ac_objext; then
22171
22757
  ac_cv_type_short=yes
22172
22758
else
22173
22759
  echo "$as_me: failed program was:" >&5
22174
22760
sed 's/^/| /' conftest.$ac_ext >&5
22175
22761
 
22176
 
ac_cv_type_short=no
22177
 
fi
22178
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22179
 
fi
22180
 
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
22181
 
echo "${ECHO_T}$ac_cv_type_short" >&6
22182
 
 
22183
 
echo "$as_me:$LINENO: checking size of short" >&5
22184
 
echo $ECHO_N "checking size of short... $ECHO_C" >&6
 
22762
        ac_cv_type_short=no
 
22763
fi
 
22764
 
 
22765
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22766
fi
 
22767
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 
22768
echo "${ECHO_T}$ac_cv_type_short" >&6; }
 
22769
 
 
22770
# The cast to long int works around a bug in the HP C Compiler
 
22771
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
22772
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
22773
# This bug is HP SR number 8606223364.
 
22774
{ echo "$as_me:$LINENO: checking size of short" >&5
 
22775
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
22185
22776
if test "${ac_cv_sizeof_short+set}" = set; then
22186
22777
  echo $ECHO_N "(cached) $ECHO_C" >&6
22187
22778
else
22188
 
  if test "$ac_cv_type_short" = yes; then
22189
 
  # The cast to unsigned long works around a bug in the HP C Compiler
22190
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22191
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22192
 
  # This bug is HP SR number 8606223364.
22193
22779
  if test "$cross_compiling" = yes; then
22194
22780
  # Depending upon the size, compute the lo and hi bounds.
22195
22781
cat >conftest.$ac_ext <<_ACEOF
22199
22785
cat >>conftest.$ac_ext <<_ACEOF
22200
22786
/* end confdefs.h.  */
22201
22787
$ac_includes_default
 
22788
   typedef short ac__type_sizeof_;
22202
22789
int
22203
22790
main ()
22204
22791
{
22205
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 
22792
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22206
22793
test_array [0] = 0
22207
22794
 
22208
22795
  ;
22210
22797
}
22211
22798
_ACEOF
22212
22799
rm -f conftest.$ac_objext
22213
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22214
 
  (eval $ac_compile) 2>conftest.er1
 
22800
if { (ac_try="$ac_compile"
 
22801
case "(($ac_try" in
 
22802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22803
  *) ac_try_echo=$ac_try;;
 
22804
esac
 
22805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22806
  (eval "$ac_compile") 2>conftest.er1
22215
22807
  ac_status=$?
22216
22808
  grep -v '^ *+' conftest.er1 >conftest.err
22217
22809
  rm -f conftest.er1
22218
22810
  cat conftest.err >&5
22219
22811
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220
 
  (exit $ac_status); } &&
22221
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22222
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223
 
  (eval $ac_try) 2>&5
22224
 
  ac_status=$?
22225
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226
 
  (exit $ac_status); }; } &&
22227
 
         { ac_try='test -s conftest.$ac_objext'
22228
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229
 
  (eval $ac_try) 2>&5
22230
 
  ac_status=$?
22231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232
 
  (exit $ac_status); }; }; then
 
22812
  (exit $ac_status); } && {
 
22813
         test -z "$ac_c_werror_flag" ||
 
22814
         test ! -s conftest.err
 
22815
       } && test -s conftest.$ac_objext; then
22233
22816
  ac_lo=0 ac_mid=0
22234
22817
  while :; do
22235
22818
    cat >conftest.$ac_ext <<_ACEOF
22239
22822
cat >>conftest.$ac_ext <<_ACEOF
22240
22823
/* end confdefs.h.  */
22241
22824
$ac_includes_default
 
22825
   typedef short ac__type_sizeof_;
22242
22826
int
22243
22827
main ()
22244
22828
{
22245
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
22829
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22246
22830
test_array [0] = 0
22247
22831
 
22248
22832
  ;
22250
22834
}
22251
22835
_ACEOF
22252
22836
rm -f conftest.$ac_objext
22253
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254
 
  (eval $ac_compile) 2>conftest.er1
 
22837
if { (ac_try="$ac_compile"
 
22838
case "(($ac_try" in
 
22839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22840
  *) ac_try_echo=$ac_try;;
 
22841
esac
 
22842
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22843
  (eval "$ac_compile") 2>conftest.er1
22255
22844
  ac_status=$?
22256
22845
  grep -v '^ *+' conftest.er1 >conftest.err
22257
22846
  rm -f conftest.er1
22258
22847
  cat conftest.err >&5
22259
22848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260
 
  (exit $ac_status); } &&
22261
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22262
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263
 
  (eval $ac_try) 2>&5
22264
 
  ac_status=$?
22265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266
 
  (exit $ac_status); }; } &&
22267
 
         { ac_try='test -s conftest.$ac_objext'
22268
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269
 
  (eval $ac_try) 2>&5
22270
 
  ac_status=$?
22271
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272
 
  (exit $ac_status); }; }; then
 
22849
  (exit $ac_status); } && {
 
22850
         test -z "$ac_c_werror_flag" ||
 
22851
         test ! -s conftest.err
 
22852
       } && test -s conftest.$ac_objext; then
22273
22853
  ac_hi=$ac_mid; break
22274
22854
else
22275
22855
  echo "$as_me: failed program was:" >&5
22276
22856
sed 's/^/| /' conftest.$ac_ext >&5
22277
22857
 
22278
 
ac_lo=`expr $ac_mid + 1`
22279
 
                    if test $ac_lo -le $ac_mid; then
22280
 
                      ac_lo= ac_hi=
22281
 
                      break
22282
 
                    fi
22283
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
22858
        ac_lo=`expr $ac_mid + 1`
 
22859
                        if test $ac_lo -le $ac_mid; then
 
22860
                          ac_lo= ac_hi=
 
22861
                          break
 
22862
                        fi
 
22863
                        ac_mid=`expr 2 '*' $ac_mid + 1`
22284
22864
fi
22285
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22865
 
 
22866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286
22867
  done
22287
22868
else
22288
22869
  echo "$as_me: failed program was:" >&5
22289
22870
sed 's/^/| /' conftest.$ac_ext >&5
22290
22871
 
22291
 
cat >conftest.$ac_ext <<_ACEOF
 
22872
        cat >conftest.$ac_ext <<_ACEOF
22292
22873
/* confdefs.h.  */
22293
22874
_ACEOF
22294
22875
cat confdefs.h >>conftest.$ac_ext
22295
22876
cat >>conftest.$ac_ext <<_ACEOF
22296
22877
/* end confdefs.h.  */
22297
22878
$ac_includes_default
 
22879
   typedef short ac__type_sizeof_;
22298
22880
int
22299
22881
main ()
22300
22882
{
22301
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 
22883
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22302
22884
test_array [0] = 0
22303
22885
 
22304
22886
  ;
22306
22888
}
22307
22889
_ACEOF
22308
22890
rm -f conftest.$ac_objext
22309
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22310
 
  (eval $ac_compile) 2>conftest.er1
 
22891
if { (ac_try="$ac_compile"
 
22892
case "(($ac_try" in
 
22893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22894
  *) ac_try_echo=$ac_try;;
 
22895
esac
 
22896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22897
  (eval "$ac_compile") 2>conftest.er1
22311
22898
  ac_status=$?
22312
22899
  grep -v '^ *+' conftest.er1 >conftest.err
22313
22900
  rm -f conftest.er1
22314
22901
  cat conftest.err >&5
22315
22902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316
 
  (exit $ac_status); } &&
22317
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319
 
  (eval $ac_try) 2>&5
22320
 
  ac_status=$?
22321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322
 
  (exit $ac_status); }; } &&
22323
 
         { ac_try='test -s conftest.$ac_objext'
22324
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325
 
  (eval $ac_try) 2>&5
22326
 
  ac_status=$?
22327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328
 
  (exit $ac_status); }; }; then
 
22903
  (exit $ac_status); } && {
 
22904
         test -z "$ac_c_werror_flag" ||
 
22905
         test ! -s conftest.err
 
22906
       } && test -s conftest.$ac_objext; then
22329
22907
  ac_hi=-1 ac_mid=-1
22330
22908
  while :; do
22331
22909
    cat >conftest.$ac_ext <<_ACEOF
22335
22913
cat >>conftest.$ac_ext <<_ACEOF
22336
22914
/* end confdefs.h.  */
22337
22915
$ac_includes_default
 
22916
   typedef short ac__type_sizeof_;
22338
22917
int
22339
22918
main ()
22340
22919
{
22341
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 
22920
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22342
22921
test_array [0] = 0
22343
22922
 
22344
22923
  ;
22346
22925
}
22347
22926
_ACEOF
22348
22927
rm -f conftest.$ac_objext
22349
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22350
 
  (eval $ac_compile) 2>conftest.er1
 
22928
if { (ac_try="$ac_compile"
 
22929
case "(($ac_try" in
 
22930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22931
  *) ac_try_echo=$ac_try;;
 
22932
esac
 
22933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22934
  (eval "$ac_compile") 2>conftest.er1
22351
22935
  ac_status=$?
22352
22936
  grep -v '^ *+' conftest.er1 >conftest.err
22353
22937
  rm -f conftest.er1
22354
22938
  cat conftest.err >&5
22355
22939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356
 
  (exit $ac_status); } &&
22357
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22358
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359
 
  (eval $ac_try) 2>&5
22360
 
  ac_status=$?
22361
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362
 
  (exit $ac_status); }; } &&
22363
 
         { ac_try='test -s conftest.$ac_objext'
22364
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365
 
  (eval $ac_try) 2>&5
22366
 
  ac_status=$?
22367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368
 
  (exit $ac_status); }; }; then
 
22940
  (exit $ac_status); } && {
 
22941
         test -z "$ac_c_werror_flag" ||
 
22942
         test ! -s conftest.err
 
22943
       } && test -s conftest.$ac_objext; then
22369
22944
  ac_lo=$ac_mid; break
22370
22945
else
22371
22946
  echo "$as_me: failed program was:" >&5
22372
22947
sed 's/^/| /' conftest.$ac_ext >&5
22373
22948
 
22374
 
ac_hi=`expr '(' $ac_mid ')' - 1`
22375
 
                       if test $ac_mid -le $ac_hi; then
22376
 
                         ac_lo= ac_hi=
22377
 
                         break
22378
 
                       fi
22379
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
22949
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
22950
                        if test $ac_mid -le $ac_hi; then
 
22951
                          ac_lo= ac_hi=
 
22952
                          break
 
22953
                        fi
 
22954
                        ac_mid=`expr 2 '*' $ac_mid`
22380
22955
fi
22381
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22956
 
 
22957
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382
22958
  done
22383
22959
else
22384
22960
  echo "$as_me: failed program was:" >&5
22385
22961
sed 's/^/| /' conftest.$ac_ext >&5
22386
22962
 
22387
 
ac_lo= ac_hi=
22388
 
fi
22389
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22390
 
fi
22391
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
22963
        ac_lo= ac_hi=
 
22964
fi
 
22965
 
 
22966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
22967
fi
 
22968
 
 
22969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22392
22970
# Binary search between lo and hi bounds.
22393
22971
while test "x$ac_lo" != "x$ac_hi"; do
22394
22972
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22399
22977
cat >>conftest.$ac_ext <<_ACEOF
22400
22978
/* end confdefs.h.  */
22401
22979
$ac_includes_default
 
22980
   typedef short ac__type_sizeof_;
22402
22981
int
22403
22982
main ()
22404
22983
{
22405
 
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 
22984
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22406
22985
test_array [0] = 0
22407
22986
 
22408
22987
  ;
22410
22989
}
22411
22990
_ACEOF
22412
22991
rm -f conftest.$ac_objext
22413
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22414
 
  (eval $ac_compile) 2>conftest.er1
 
22992
if { (ac_try="$ac_compile"
 
22993
case "(($ac_try" in
 
22994
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
22995
  *) ac_try_echo=$ac_try;;
 
22996
esac
 
22997
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22998
  (eval "$ac_compile") 2>conftest.er1
22415
22999
  ac_status=$?
22416
23000
  grep -v '^ *+' conftest.er1 >conftest.err
22417
23001
  rm -f conftest.er1
22418
23002
  cat conftest.err >&5
22419
23003
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420
 
  (exit $ac_status); } &&
22421
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423
 
  (eval $ac_try) 2>&5
22424
 
  ac_status=$?
22425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426
 
  (exit $ac_status); }; } &&
22427
 
         { ac_try='test -s conftest.$ac_objext'
22428
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429
 
  (eval $ac_try) 2>&5
22430
 
  ac_status=$?
22431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432
 
  (exit $ac_status); }; }; then
 
23004
  (exit $ac_status); } && {
 
23005
         test -z "$ac_c_werror_flag" ||
 
23006
         test ! -s conftest.err
 
23007
       } && test -s conftest.$ac_objext; then
22433
23008
  ac_hi=$ac_mid
22434
23009
else
22435
23010
  echo "$as_me: failed program was:" >&5
22436
23011
sed 's/^/| /' conftest.$ac_ext >&5
22437
23012
 
22438
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
23013
        ac_lo=`expr '(' $ac_mid ')' + 1`
22439
23014
fi
22440
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23015
 
 
23016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441
23017
done
22442
23018
case $ac_lo in
22443
23019
?*) ac_cv_sizeof_short=$ac_lo;;
22444
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
23020
'') if test "$ac_cv_type_short" = yes; then
 
23021
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22445
23022
See \`config.log' for more details." >&5
22446
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
23023
echo "$as_me: error: cannot compute sizeof (short)
22447
23024
See \`config.log' for more details." >&2;}
22448
 
   { (exit 1); exit 1; }; } ;;
 
23025
   { (exit 77); exit 77; }; }
 
23026
   else
 
23027
     ac_cv_sizeof_short=0
 
23028
   fi ;;
22449
23029
esac
22450
23030
else
22451
 
  if test "$cross_compiling" = yes; then
22452
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22453
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22454
 
   { (exit 1); exit 1; }; }
22455
 
else
22456
23031
  cat >conftest.$ac_ext <<_ACEOF
22457
23032
/* confdefs.h.  */
22458
23033
_ACEOF
22460
23035
cat >>conftest.$ac_ext <<_ACEOF
22461
23036
/* end confdefs.h.  */
22462
23037
$ac_includes_default
22463
 
long longval () { return (long) (sizeof (short)); }
22464
 
unsigned long ulongval () { return (long) (sizeof (short)); }
 
23038
   typedef short ac__type_sizeof_;
 
23039
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
23040
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22465
23041
#include <stdio.h>
22466
23042
#include <stdlib.h>
22467
23043
int
22470
23046
 
22471
23047
  FILE *f = fopen ("conftest.val", "w");
22472
23048
  if (! f)
22473
 
    exit (1);
22474
 
  if (((long) (sizeof (short))) < 0)
 
23049
    return 1;
 
23050
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22475
23051
    {
22476
 
      long i = longval ();
22477
 
      if (i != ((long) (sizeof (short))))
22478
 
        exit (1);
 
23052
      long int i = longval ();
 
23053
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
23054
        return 1;
22479
23055
      fprintf (f, "%ld\n", i);
22480
23056
    }
22481
23057
  else
22482
23058
    {
22483
 
      unsigned long i = ulongval ();
22484
 
      if (i != ((long) (sizeof (short))))
22485
 
        exit (1);
 
23059
      unsigned long int i = ulongval ();
 
23060
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
23061
        return 1;
22486
23062
      fprintf (f, "%lu\n", i);
22487
23063
    }
22488
 
  exit (ferror (f) || fclose (f) != 0);
 
23064
  return ferror (f) || fclose (f) != 0;
22489
23065
 
22490
23066
  ;
22491
23067
  return 0;
22492
23068
}
22493
23069
_ACEOF
22494
23070
rm -f conftest$ac_exeext
22495
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22496
 
  (eval $ac_link) 2>&5
 
23071
if { (ac_try="$ac_link"
 
23072
case "(($ac_try" in
 
23073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23074
  *) ac_try_echo=$ac_try;;
 
23075
esac
 
23076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23077
  (eval "$ac_link") 2>&5
22497
23078
  ac_status=$?
22498
23079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499
23080
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22500
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501
 
  (eval $ac_try) 2>&5
 
23081
  { (case "(($ac_try" in
 
23082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23083
  *) ac_try_echo=$ac_try;;
 
23084
esac
 
23085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23086
  (eval "$ac_try") 2>&5
22502
23087
  ac_status=$?
22503
23088
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504
23089
  (exit $ac_status); }; }; then
22509
23094
sed 's/^/| /' conftest.$ac_ext >&5
22510
23095
 
22511
23096
( exit $ac_status )
22512
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 
23097
if test "$ac_cv_type_short" = yes; then
 
23098
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22513
23099
See \`config.log' for more details." >&5
22514
 
echo "$as_me: error: cannot compute sizeof (short), 77
 
23100
echo "$as_me: error: cannot compute sizeof (short)
22515
23101
See \`config.log' for more details." >&2;}
22516
 
   { (exit 1); exit 1; }; }
22517
 
fi
22518
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22519
 
fi
 
23102
   { (exit 77); exit 77; }; }
 
23103
   else
 
23104
     ac_cv_sizeof_short=0
 
23105
   fi
 
23106
fi
 
23107
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22520
23108
fi
22521
23109
rm -f conftest.val
22522
 
else
22523
 
  ac_cv_sizeof_short=0
22524
 
fi
22525
 
fi
22526
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22527
 
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 
23110
fi
 
23111
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 
23112
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
 
23113
 
 
23114
 
 
23115
 
22528
23116
cat >>confdefs.h <<_ACEOF
22529
23117
#define SIZEOF_SHORT $ac_cv_sizeof_short
22530
23118
_ACEOF
22531
23119
 
22532
23120
 
22533
 
echo "$as_me:$LINENO: checking for unsigned short" >&5
22534
 
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
 
23121
{ echo "$as_me:$LINENO: checking for unsigned short" >&5
 
23122
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
22535
23123
if test "${ac_cv_type_unsigned_short+set}" = set; then
22536
23124
  echo $ECHO_N "(cached) $ECHO_C" >&6
22537
23125
else
22542
23130
cat >>conftest.$ac_ext <<_ACEOF
22543
23131
/* end confdefs.h.  */
22544
23132
$ac_includes_default
 
23133
typedef unsigned short ac__type_new_;
22545
23134
int
22546
23135
main ()
22547
23136
{
22548
 
if ((unsigned short *) 0)
 
23137
if ((ac__type_new_ *) 0)
22549
23138
  return 0;
22550
 
if (sizeof (unsigned short))
 
23139
if (sizeof (ac__type_new_))
22551
23140
  return 0;
22552
23141
  ;
22553
23142
  return 0;
22554
23143
}
22555
23144
_ACEOF
22556
23145
rm -f conftest.$ac_objext
22557
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22558
 
  (eval $ac_compile) 2>conftest.er1
 
23146
if { (ac_try="$ac_compile"
 
23147
case "(($ac_try" in
 
23148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23149
  *) ac_try_echo=$ac_try;;
 
23150
esac
 
23151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23152
  (eval "$ac_compile") 2>conftest.er1
22559
23153
  ac_status=$?
22560
23154
  grep -v '^ *+' conftest.er1 >conftest.err
22561
23155
  rm -f conftest.er1
22562
23156
  cat conftest.err >&5
22563
23157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564
 
  (exit $ac_status); } &&
22565
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22566
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567
 
  (eval $ac_try) 2>&5
22568
 
  ac_status=$?
22569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570
 
  (exit $ac_status); }; } &&
22571
 
         { ac_try='test -s conftest.$ac_objext'
22572
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573
 
  (eval $ac_try) 2>&5
22574
 
  ac_status=$?
22575
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576
 
  (exit $ac_status); }; }; then
 
23158
  (exit $ac_status); } && {
 
23159
         test -z "$ac_c_werror_flag" ||
 
23160
         test ! -s conftest.err
 
23161
       } && test -s conftest.$ac_objext; then
22577
23162
  ac_cv_type_unsigned_short=yes
22578
23163
else
22579
23164
  echo "$as_me: failed program was:" >&5
22580
23165
sed 's/^/| /' conftest.$ac_ext >&5
22581
23166
 
22582
 
ac_cv_type_unsigned_short=no
22583
 
fi
22584
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22585
 
fi
22586
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
22587
 
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
22588
 
 
22589
 
echo "$as_me:$LINENO: checking size of unsigned short" >&5
22590
 
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
 
23167
        ac_cv_type_unsigned_short=no
 
23168
fi
 
23169
 
 
23170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23171
fi
 
23172
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
 
23173
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
 
23174
 
 
23175
# The cast to long int works around a bug in the HP C Compiler
 
23176
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
23177
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
23178
# This bug is HP SR number 8606223364.
 
23179
{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
 
23180
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
22591
23181
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
22592
23182
  echo $ECHO_N "(cached) $ECHO_C" >&6
22593
23183
else
22594
 
  if test "$ac_cv_type_unsigned_short" = yes; then
22595
 
  # The cast to unsigned long works around a bug in the HP C Compiler
22596
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22597
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22598
 
  # This bug is HP SR number 8606223364.
22599
23184
  if test "$cross_compiling" = yes; then
22600
23185
  # Depending upon the size, compute the lo and hi bounds.
22601
23186
cat >conftest.$ac_ext <<_ACEOF
22605
23190
cat >>conftest.$ac_ext <<_ACEOF
22606
23191
/* end confdefs.h.  */
22607
23192
$ac_includes_default
 
23193
   typedef unsigned short ac__type_sizeof_;
22608
23194
int
22609
23195
main ()
22610
23196
{
22611
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
 
23197
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22612
23198
test_array [0] = 0
22613
23199
 
22614
23200
  ;
22616
23202
}
22617
23203
_ACEOF
22618
23204
rm -f conftest.$ac_objext
22619
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22620
 
  (eval $ac_compile) 2>conftest.er1
 
23205
if { (ac_try="$ac_compile"
 
23206
case "(($ac_try" in
 
23207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23208
  *) ac_try_echo=$ac_try;;
 
23209
esac
 
23210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23211
  (eval "$ac_compile") 2>conftest.er1
22621
23212
  ac_status=$?
22622
23213
  grep -v '^ *+' conftest.er1 >conftest.err
22623
23214
  rm -f conftest.er1
22624
23215
  cat conftest.err >&5
22625
23216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626
 
  (exit $ac_status); } &&
22627
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22628
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629
 
  (eval $ac_try) 2>&5
22630
 
  ac_status=$?
22631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632
 
  (exit $ac_status); }; } &&
22633
 
         { ac_try='test -s conftest.$ac_objext'
22634
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635
 
  (eval $ac_try) 2>&5
22636
 
  ac_status=$?
22637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638
 
  (exit $ac_status); }; }; then
 
23217
  (exit $ac_status); } && {
 
23218
         test -z "$ac_c_werror_flag" ||
 
23219
         test ! -s conftest.err
 
23220
       } && test -s conftest.$ac_objext; then
22639
23221
  ac_lo=0 ac_mid=0
22640
23222
  while :; do
22641
23223
    cat >conftest.$ac_ext <<_ACEOF
22645
23227
cat >>conftest.$ac_ext <<_ACEOF
22646
23228
/* end confdefs.h.  */
22647
23229
$ac_includes_default
 
23230
   typedef unsigned short ac__type_sizeof_;
22648
23231
int
22649
23232
main ()
22650
23233
{
22651
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
 
23234
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22652
23235
test_array [0] = 0
22653
23236
 
22654
23237
  ;
22656
23239
}
22657
23240
_ACEOF
22658
23241
rm -f conftest.$ac_objext
22659
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22660
 
  (eval $ac_compile) 2>conftest.er1
 
23242
if { (ac_try="$ac_compile"
 
23243
case "(($ac_try" in
 
23244
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23245
  *) ac_try_echo=$ac_try;;
 
23246
esac
 
23247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23248
  (eval "$ac_compile") 2>conftest.er1
22661
23249
  ac_status=$?
22662
23250
  grep -v '^ *+' conftest.er1 >conftest.err
22663
23251
  rm -f conftest.er1
22664
23252
  cat conftest.err >&5
22665
23253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666
 
  (exit $ac_status); } &&
22667
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669
 
  (eval $ac_try) 2>&5
22670
 
  ac_status=$?
22671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672
 
  (exit $ac_status); }; } &&
22673
 
         { ac_try='test -s conftest.$ac_objext'
22674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22675
 
  (eval $ac_try) 2>&5
22676
 
  ac_status=$?
22677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678
 
  (exit $ac_status); }; }; then
 
23254
  (exit $ac_status); } && {
 
23255
         test -z "$ac_c_werror_flag" ||
 
23256
         test ! -s conftest.err
 
23257
       } && test -s conftest.$ac_objext; then
22679
23258
  ac_hi=$ac_mid; break
22680
23259
else
22681
23260
  echo "$as_me: failed program was:" >&5
22682
23261
sed 's/^/| /' conftest.$ac_ext >&5
22683
23262
 
22684
 
ac_lo=`expr $ac_mid + 1`
22685
 
                    if test $ac_lo -le $ac_mid; then
22686
 
                      ac_lo= ac_hi=
22687
 
                      break
22688
 
                    fi
22689
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
23263
        ac_lo=`expr $ac_mid + 1`
 
23264
                        if test $ac_lo -le $ac_mid; then
 
23265
                          ac_lo= ac_hi=
 
23266
                          break
 
23267
                        fi
 
23268
                        ac_mid=`expr 2 '*' $ac_mid + 1`
22690
23269
fi
22691
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23270
 
 
23271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22692
23272
  done
22693
23273
else
22694
23274
  echo "$as_me: failed program was:" >&5
22695
23275
sed 's/^/| /' conftest.$ac_ext >&5
22696
23276
 
22697
 
cat >conftest.$ac_ext <<_ACEOF
 
23277
        cat >conftest.$ac_ext <<_ACEOF
22698
23278
/* confdefs.h.  */
22699
23279
_ACEOF
22700
23280
cat confdefs.h >>conftest.$ac_ext
22701
23281
cat >>conftest.$ac_ext <<_ACEOF
22702
23282
/* end confdefs.h.  */
22703
23283
$ac_includes_default
 
23284
   typedef unsigned short ac__type_sizeof_;
22704
23285
int
22705
23286
main ()
22706
23287
{
22707
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
 
23288
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22708
23289
test_array [0] = 0
22709
23290
 
22710
23291
  ;
22712
23293
}
22713
23294
_ACEOF
22714
23295
rm -f conftest.$ac_objext
22715
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22716
 
  (eval $ac_compile) 2>conftest.er1
 
23296
if { (ac_try="$ac_compile"
 
23297
case "(($ac_try" in
 
23298
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23299
  *) ac_try_echo=$ac_try;;
 
23300
esac
 
23301
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23302
  (eval "$ac_compile") 2>conftest.er1
22717
23303
  ac_status=$?
22718
23304
  grep -v '^ *+' conftest.er1 >conftest.err
22719
23305
  rm -f conftest.er1
22720
23306
  cat conftest.err >&5
22721
23307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722
 
  (exit $ac_status); } &&
22723
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22724
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725
 
  (eval $ac_try) 2>&5
22726
 
  ac_status=$?
22727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728
 
  (exit $ac_status); }; } &&
22729
 
         { ac_try='test -s conftest.$ac_objext'
22730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731
 
  (eval $ac_try) 2>&5
22732
 
  ac_status=$?
22733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734
 
  (exit $ac_status); }; }; then
 
23308
  (exit $ac_status); } && {
 
23309
         test -z "$ac_c_werror_flag" ||
 
23310
         test ! -s conftest.err
 
23311
       } && test -s conftest.$ac_objext; then
22735
23312
  ac_hi=-1 ac_mid=-1
22736
23313
  while :; do
22737
23314
    cat >conftest.$ac_ext <<_ACEOF
22741
23318
cat >>conftest.$ac_ext <<_ACEOF
22742
23319
/* end confdefs.h.  */
22743
23320
$ac_includes_default
 
23321
   typedef unsigned short ac__type_sizeof_;
22744
23322
int
22745
23323
main ()
22746
23324
{
22747
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
 
23325
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22748
23326
test_array [0] = 0
22749
23327
 
22750
23328
  ;
22752
23330
}
22753
23331
_ACEOF
22754
23332
rm -f conftest.$ac_objext
22755
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22756
 
  (eval $ac_compile) 2>conftest.er1
 
23333
if { (ac_try="$ac_compile"
 
23334
case "(($ac_try" in
 
23335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23336
  *) ac_try_echo=$ac_try;;
 
23337
esac
 
23338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23339
  (eval "$ac_compile") 2>conftest.er1
22757
23340
  ac_status=$?
22758
23341
  grep -v '^ *+' conftest.er1 >conftest.err
22759
23342
  rm -f conftest.er1
22760
23343
  cat conftest.err >&5
22761
23344
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762
 
  (exit $ac_status); } &&
22763
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22764
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22765
 
  (eval $ac_try) 2>&5
22766
 
  ac_status=$?
22767
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768
 
  (exit $ac_status); }; } &&
22769
 
         { ac_try='test -s conftest.$ac_objext'
22770
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771
 
  (eval $ac_try) 2>&5
22772
 
  ac_status=$?
22773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774
 
  (exit $ac_status); }; }; then
 
23345
  (exit $ac_status); } && {
 
23346
         test -z "$ac_c_werror_flag" ||
 
23347
         test ! -s conftest.err
 
23348
       } && test -s conftest.$ac_objext; then
22775
23349
  ac_lo=$ac_mid; break
22776
23350
else
22777
23351
  echo "$as_me: failed program was:" >&5
22778
23352
sed 's/^/| /' conftest.$ac_ext >&5
22779
23353
 
22780
 
ac_hi=`expr '(' $ac_mid ')' - 1`
22781
 
                       if test $ac_mid -le $ac_hi; then
22782
 
                         ac_lo= ac_hi=
22783
 
                         break
22784
 
                       fi
22785
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
23354
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
23355
                        if test $ac_mid -le $ac_hi; then
 
23356
                          ac_lo= ac_hi=
 
23357
                          break
 
23358
                        fi
 
23359
                        ac_mid=`expr 2 '*' $ac_mid`
22786
23360
fi
22787
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23361
 
 
23362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22788
23363
  done
22789
23364
else
22790
23365
  echo "$as_me: failed program was:" >&5
22791
23366
sed 's/^/| /' conftest.$ac_ext >&5
22792
23367
 
22793
 
ac_lo= ac_hi=
22794
 
fi
22795
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22796
 
fi
22797
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23368
        ac_lo= ac_hi=
 
23369
fi
 
23370
 
 
23371
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23372
fi
 
23373
 
 
23374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798
23375
# Binary search between lo and hi bounds.
22799
23376
while test "x$ac_lo" != "x$ac_hi"; do
22800
23377
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22805
23382
cat >>conftest.$ac_ext <<_ACEOF
22806
23383
/* end confdefs.h.  */
22807
23384
$ac_includes_default
 
23385
   typedef unsigned short ac__type_sizeof_;
22808
23386
int
22809
23387
main ()
22810
23388
{
22811
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
 
23389
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22812
23390
test_array [0] = 0
22813
23391
 
22814
23392
  ;
22816
23394
}
22817
23395
_ACEOF
22818
23396
rm -f conftest.$ac_objext
22819
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22820
 
  (eval $ac_compile) 2>conftest.er1
 
23397
if { (ac_try="$ac_compile"
 
23398
case "(($ac_try" in
 
23399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23400
  *) ac_try_echo=$ac_try;;
 
23401
esac
 
23402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23403
  (eval "$ac_compile") 2>conftest.er1
22821
23404
  ac_status=$?
22822
23405
  grep -v '^ *+' conftest.er1 >conftest.err
22823
23406
  rm -f conftest.er1
22824
23407
  cat conftest.err >&5
22825
23408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826
 
  (exit $ac_status); } &&
22827
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22828
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829
 
  (eval $ac_try) 2>&5
22830
 
  ac_status=$?
22831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832
 
  (exit $ac_status); }; } &&
22833
 
         { ac_try='test -s conftest.$ac_objext'
22834
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22835
 
  (eval $ac_try) 2>&5
22836
 
  ac_status=$?
22837
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838
 
  (exit $ac_status); }; }; then
 
23409
  (exit $ac_status); } && {
 
23410
         test -z "$ac_c_werror_flag" ||
 
23411
         test ! -s conftest.err
 
23412
       } && test -s conftest.$ac_objext; then
22839
23413
  ac_hi=$ac_mid
22840
23414
else
22841
23415
  echo "$as_me: failed program was:" >&5
22842
23416
sed 's/^/| /' conftest.$ac_ext >&5
22843
23417
 
22844
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
23418
        ac_lo=`expr '(' $ac_mid ')' + 1`
22845
23419
fi
22846
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23420
 
 
23421
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22847
23422
done
22848
23423
case $ac_lo in
22849
23424
?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
22850
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
 
23425
'') if test "$ac_cv_type_unsigned_short" = yes; then
 
23426
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
22851
23427
See \`config.log' for more details." >&5
22852
 
echo "$as_me: error: cannot compute sizeof (unsigned short), 77
 
23428
echo "$as_me: error: cannot compute sizeof (unsigned short)
22853
23429
See \`config.log' for more details." >&2;}
22854
 
   { (exit 1); exit 1; }; } ;;
 
23430
   { (exit 77); exit 77; }; }
 
23431
   else
 
23432
     ac_cv_sizeof_unsigned_short=0
 
23433
   fi ;;
22855
23434
esac
22856
23435
else
22857
 
  if test "$cross_compiling" = yes; then
22858
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22859
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22860
 
   { (exit 1); exit 1; }; }
22861
 
else
22862
23436
  cat >conftest.$ac_ext <<_ACEOF
22863
23437
/* confdefs.h.  */
22864
23438
_ACEOF
22866
23440
cat >>conftest.$ac_ext <<_ACEOF
22867
23441
/* end confdefs.h.  */
22868
23442
$ac_includes_default
22869
 
long longval () { return (long) (sizeof (unsigned short)); }
22870
 
unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
 
23443
   typedef unsigned short ac__type_sizeof_;
 
23444
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
23445
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22871
23446
#include <stdio.h>
22872
23447
#include <stdlib.h>
22873
23448
int
22876
23451
 
22877
23452
  FILE *f = fopen ("conftest.val", "w");
22878
23453
  if (! f)
22879
 
    exit (1);
22880
 
  if (((long) (sizeof (unsigned short))) < 0)
 
23454
    return 1;
 
23455
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22881
23456
    {
22882
 
      long i = longval ();
22883
 
      if (i != ((long) (sizeof (unsigned short))))
22884
 
        exit (1);
 
23457
      long int i = longval ();
 
23458
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
23459
        return 1;
22885
23460
      fprintf (f, "%ld\n", i);
22886
23461
    }
22887
23462
  else
22888
23463
    {
22889
 
      unsigned long i = ulongval ();
22890
 
      if (i != ((long) (sizeof (unsigned short))))
22891
 
        exit (1);
 
23464
      unsigned long int i = ulongval ();
 
23465
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
23466
        return 1;
22892
23467
      fprintf (f, "%lu\n", i);
22893
23468
    }
22894
 
  exit (ferror (f) || fclose (f) != 0);
 
23469
  return ferror (f) || fclose (f) != 0;
22895
23470
 
22896
23471
  ;
22897
23472
  return 0;
22898
23473
}
22899
23474
_ACEOF
22900
23475
rm -f conftest$ac_exeext
22901
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22902
 
  (eval $ac_link) 2>&5
 
23476
if { (ac_try="$ac_link"
 
23477
case "(($ac_try" in
 
23478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23479
  *) ac_try_echo=$ac_try;;
 
23480
esac
 
23481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23482
  (eval "$ac_link") 2>&5
22903
23483
  ac_status=$?
22904
23484
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905
23485
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22906
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907
 
  (eval $ac_try) 2>&5
 
23486
  { (case "(($ac_try" in
 
23487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23488
  *) ac_try_echo=$ac_try;;
 
23489
esac
 
23490
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23491
  (eval "$ac_try") 2>&5
22908
23492
  ac_status=$?
22909
23493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910
23494
  (exit $ac_status); }; }; then
22915
23499
sed 's/^/| /' conftest.$ac_ext >&5
22916
23500
 
22917
23501
( exit $ac_status )
22918
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
 
23502
if test "$ac_cv_type_unsigned_short" = yes; then
 
23503
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
22919
23504
See \`config.log' for more details." >&5
22920
 
echo "$as_me: error: cannot compute sizeof (unsigned short), 77
 
23505
echo "$as_me: error: cannot compute sizeof (unsigned short)
22921
23506
See \`config.log' for more details." >&2;}
22922
 
   { (exit 1); exit 1; }; }
22923
 
fi
22924
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22925
 
fi
 
23507
   { (exit 77); exit 77; }; }
 
23508
   else
 
23509
     ac_cv_sizeof_unsigned_short=0
 
23510
   fi
 
23511
fi
 
23512
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22926
23513
fi
22927
23514
rm -f conftest.val
22928
 
else
22929
 
  ac_cv_sizeof_unsigned_short=0
22930
 
fi
22931
 
fi
22932
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
22933
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
 
23515
fi
 
23516
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
 
23517
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
 
23518
 
 
23519
 
 
23520
 
22934
23521
cat >>confdefs.h <<_ACEOF
22935
23522
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
22936
23523
_ACEOF
22937
23524
 
22938
23525
 
22939
 
echo "$as_me:$LINENO: checking for int" >&5
22940
 
echo $ECHO_N "checking for int... $ECHO_C" >&6
 
23526
{ echo "$as_me:$LINENO: checking for int" >&5
 
23527
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22941
23528
if test "${ac_cv_type_int+set}" = set; then
22942
23529
  echo $ECHO_N "(cached) $ECHO_C" >&6
22943
23530
else
22948
23535
cat >>conftest.$ac_ext <<_ACEOF
22949
23536
/* end confdefs.h.  */
22950
23537
$ac_includes_default
 
23538
typedef int ac__type_new_;
22951
23539
int
22952
23540
main ()
22953
23541
{
22954
 
if ((int *) 0)
 
23542
if ((ac__type_new_ *) 0)
22955
23543
  return 0;
22956
 
if (sizeof (int))
 
23544
if (sizeof (ac__type_new_))
22957
23545
  return 0;
22958
23546
  ;
22959
23547
  return 0;
22960
23548
}
22961
23549
_ACEOF
22962
23550
rm -f conftest.$ac_objext
22963
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22964
 
  (eval $ac_compile) 2>conftest.er1
 
23551
if { (ac_try="$ac_compile"
 
23552
case "(($ac_try" in
 
23553
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23554
  *) ac_try_echo=$ac_try;;
 
23555
esac
 
23556
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23557
  (eval "$ac_compile") 2>conftest.er1
22965
23558
  ac_status=$?
22966
23559
  grep -v '^ *+' conftest.er1 >conftest.err
22967
23560
  rm -f conftest.er1
22968
23561
  cat conftest.err >&5
22969
23562
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970
 
  (exit $ac_status); } &&
22971
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22972
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973
 
  (eval $ac_try) 2>&5
22974
 
  ac_status=$?
22975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976
 
  (exit $ac_status); }; } &&
22977
 
         { ac_try='test -s conftest.$ac_objext'
22978
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979
 
  (eval $ac_try) 2>&5
22980
 
  ac_status=$?
22981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982
 
  (exit $ac_status); }; }; then
 
23563
  (exit $ac_status); } && {
 
23564
         test -z "$ac_c_werror_flag" ||
 
23565
         test ! -s conftest.err
 
23566
       } && test -s conftest.$ac_objext; then
22983
23567
  ac_cv_type_int=yes
22984
23568
else
22985
23569
  echo "$as_me: failed program was:" >&5
22986
23570
sed 's/^/| /' conftest.$ac_ext >&5
22987
23571
 
22988
 
ac_cv_type_int=no
22989
 
fi
22990
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22991
 
fi
22992
 
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22993
 
echo "${ECHO_T}$ac_cv_type_int" >&6
22994
 
 
22995
 
echo "$as_me:$LINENO: checking size of int" >&5
22996
 
echo $ECHO_N "checking size of int... $ECHO_C" >&6
 
23572
        ac_cv_type_int=no
 
23573
fi
 
23574
 
 
23575
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23576
fi
 
23577
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 
23578
echo "${ECHO_T}$ac_cv_type_int" >&6; }
 
23579
 
 
23580
# The cast to long int works around a bug in the HP C Compiler
 
23581
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
23582
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
23583
# This bug is HP SR number 8606223364.
 
23584
{ echo "$as_me:$LINENO: checking size of int" >&5
 
23585
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22997
23586
if test "${ac_cv_sizeof_int+set}" = set; then
22998
23587
  echo $ECHO_N "(cached) $ECHO_C" >&6
22999
23588
else
23000
 
  if test "$ac_cv_type_int" = yes; then
23001
 
  # The cast to unsigned long works around a bug in the HP C Compiler
23002
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23003
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23004
 
  # This bug is HP SR number 8606223364.
23005
23589
  if test "$cross_compiling" = yes; then
23006
23590
  # Depending upon the size, compute the lo and hi bounds.
23007
23591
cat >conftest.$ac_ext <<_ACEOF
23011
23595
cat >>conftest.$ac_ext <<_ACEOF
23012
23596
/* end confdefs.h.  */
23013
23597
$ac_includes_default
 
23598
   typedef int ac__type_sizeof_;
23014
23599
int
23015
23600
main ()
23016
23601
{
23017
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 
23602
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23018
23603
test_array [0] = 0
23019
23604
 
23020
23605
  ;
23022
23607
}
23023
23608
_ACEOF
23024
23609
rm -f conftest.$ac_objext
23025
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23026
 
  (eval $ac_compile) 2>conftest.er1
 
23610
if { (ac_try="$ac_compile"
 
23611
case "(($ac_try" in
 
23612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23613
  *) ac_try_echo=$ac_try;;
 
23614
esac
 
23615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23616
  (eval "$ac_compile") 2>conftest.er1
23027
23617
  ac_status=$?
23028
23618
  grep -v '^ *+' conftest.er1 >conftest.err
23029
23619
  rm -f conftest.er1
23030
23620
  cat conftest.err >&5
23031
23621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032
 
  (exit $ac_status); } &&
23033
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23034
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23035
 
  (eval $ac_try) 2>&5
23036
 
  ac_status=$?
23037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038
 
  (exit $ac_status); }; } &&
23039
 
         { ac_try='test -s conftest.$ac_objext'
23040
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041
 
  (eval $ac_try) 2>&5
23042
 
  ac_status=$?
23043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044
 
  (exit $ac_status); }; }; then
 
23622
  (exit $ac_status); } && {
 
23623
         test -z "$ac_c_werror_flag" ||
 
23624
         test ! -s conftest.err
 
23625
       } && test -s conftest.$ac_objext; then
23045
23626
  ac_lo=0 ac_mid=0
23046
23627
  while :; do
23047
23628
    cat >conftest.$ac_ext <<_ACEOF
23051
23632
cat >>conftest.$ac_ext <<_ACEOF
23052
23633
/* end confdefs.h.  */
23053
23634
$ac_includes_default
 
23635
   typedef int ac__type_sizeof_;
23054
23636
int
23055
23637
main ()
23056
23638
{
23057
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
23639
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23058
23640
test_array [0] = 0
23059
23641
 
23060
23642
  ;
23062
23644
}
23063
23645
_ACEOF
23064
23646
rm -f conftest.$ac_objext
23065
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23066
 
  (eval $ac_compile) 2>conftest.er1
 
23647
if { (ac_try="$ac_compile"
 
23648
case "(($ac_try" in
 
23649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23650
  *) ac_try_echo=$ac_try;;
 
23651
esac
 
23652
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23653
  (eval "$ac_compile") 2>conftest.er1
23067
23654
  ac_status=$?
23068
23655
  grep -v '^ *+' conftest.er1 >conftest.err
23069
23656
  rm -f conftest.er1
23070
23657
  cat conftest.err >&5
23071
23658
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072
 
  (exit $ac_status); } &&
23073
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075
 
  (eval $ac_try) 2>&5
23076
 
  ac_status=$?
23077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078
 
  (exit $ac_status); }; } &&
23079
 
         { ac_try='test -s conftest.$ac_objext'
23080
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081
 
  (eval $ac_try) 2>&5
23082
 
  ac_status=$?
23083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084
 
  (exit $ac_status); }; }; then
 
23659
  (exit $ac_status); } && {
 
23660
         test -z "$ac_c_werror_flag" ||
 
23661
         test ! -s conftest.err
 
23662
       } && test -s conftest.$ac_objext; then
23085
23663
  ac_hi=$ac_mid; break
23086
23664
else
23087
23665
  echo "$as_me: failed program was:" >&5
23088
23666
sed 's/^/| /' conftest.$ac_ext >&5
23089
23667
 
23090
 
ac_lo=`expr $ac_mid + 1`
23091
 
                    if test $ac_lo -le $ac_mid; then
23092
 
                      ac_lo= ac_hi=
23093
 
                      break
23094
 
                    fi
23095
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
23668
        ac_lo=`expr $ac_mid + 1`
 
23669
                        if test $ac_lo -le $ac_mid; then
 
23670
                          ac_lo= ac_hi=
 
23671
                          break
 
23672
                        fi
 
23673
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23096
23674
fi
23097
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23675
 
 
23676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098
23677
  done
23099
23678
else
23100
23679
  echo "$as_me: failed program was:" >&5
23101
23680
sed 's/^/| /' conftest.$ac_ext >&5
23102
23681
 
23103
 
cat >conftest.$ac_ext <<_ACEOF
 
23682
        cat >conftest.$ac_ext <<_ACEOF
23104
23683
/* confdefs.h.  */
23105
23684
_ACEOF
23106
23685
cat confdefs.h >>conftest.$ac_ext
23107
23686
cat >>conftest.$ac_ext <<_ACEOF
23108
23687
/* end confdefs.h.  */
23109
23688
$ac_includes_default
 
23689
   typedef int ac__type_sizeof_;
23110
23690
int
23111
23691
main ()
23112
23692
{
23113
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 
23693
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23114
23694
test_array [0] = 0
23115
23695
 
23116
23696
  ;
23118
23698
}
23119
23699
_ACEOF
23120
23700
rm -f conftest.$ac_objext
23121
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23122
 
  (eval $ac_compile) 2>conftest.er1
 
23701
if { (ac_try="$ac_compile"
 
23702
case "(($ac_try" in
 
23703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23704
  *) ac_try_echo=$ac_try;;
 
23705
esac
 
23706
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23707
  (eval "$ac_compile") 2>conftest.er1
23123
23708
  ac_status=$?
23124
23709
  grep -v '^ *+' conftest.er1 >conftest.err
23125
23710
  rm -f conftest.er1
23126
23711
  cat conftest.err >&5
23127
23712
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128
 
  (exit $ac_status); } &&
23129
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23130
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131
 
  (eval $ac_try) 2>&5
23132
 
  ac_status=$?
23133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134
 
  (exit $ac_status); }; } &&
23135
 
         { ac_try='test -s conftest.$ac_objext'
23136
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23137
 
  (eval $ac_try) 2>&5
23138
 
  ac_status=$?
23139
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140
 
  (exit $ac_status); }; }; then
 
23713
  (exit $ac_status); } && {
 
23714
         test -z "$ac_c_werror_flag" ||
 
23715
         test ! -s conftest.err
 
23716
       } && test -s conftest.$ac_objext; then
23141
23717
  ac_hi=-1 ac_mid=-1
23142
23718
  while :; do
23143
23719
    cat >conftest.$ac_ext <<_ACEOF
23147
23723
cat >>conftest.$ac_ext <<_ACEOF
23148
23724
/* end confdefs.h.  */
23149
23725
$ac_includes_default
 
23726
   typedef int ac__type_sizeof_;
23150
23727
int
23151
23728
main ()
23152
23729
{
23153
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 
23730
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23154
23731
test_array [0] = 0
23155
23732
 
23156
23733
  ;
23158
23735
}
23159
23736
_ACEOF
23160
23737
rm -f conftest.$ac_objext
23161
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23162
 
  (eval $ac_compile) 2>conftest.er1
 
23738
if { (ac_try="$ac_compile"
 
23739
case "(($ac_try" in
 
23740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23741
  *) ac_try_echo=$ac_try;;
 
23742
esac
 
23743
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23744
  (eval "$ac_compile") 2>conftest.er1
23163
23745
  ac_status=$?
23164
23746
  grep -v '^ *+' conftest.er1 >conftest.err
23165
23747
  rm -f conftest.er1
23166
23748
  cat conftest.err >&5
23167
23749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168
 
  (exit $ac_status); } &&
23169
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23170
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171
 
  (eval $ac_try) 2>&5
23172
 
  ac_status=$?
23173
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174
 
  (exit $ac_status); }; } &&
23175
 
         { ac_try='test -s conftest.$ac_objext'
23176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177
 
  (eval $ac_try) 2>&5
23178
 
  ac_status=$?
23179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180
 
  (exit $ac_status); }; }; then
 
23750
  (exit $ac_status); } && {
 
23751
         test -z "$ac_c_werror_flag" ||
 
23752
         test ! -s conftest.err
 
23753
       } && test -s conftest.$ac_objext; then
23181
23754
  ac_lo=$ac_mid; break
23182
23755
else
23183
23756
  echo "$as_me: failed program was:" >&5
23184
23757
sed 's/^/| /' conftest.$ac_ext >&5
23185
23758
 
23186
 
ac_hi=`expr '(' $ac_mid ')' - 1`
23187
 
                       if test $ac_mid -le $ac_hi; then
23188
 
                         ac_lo= ac_hi=
23189
 
                         break
23190
 
                       fi
23191
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
23759
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
23760
                        if test $ac_mid -le $ac_hi; then
 
23761
                          ac_lo= ac_hi=
 
23762
                          break
 
23763
                        fi
 
23764
                        ac_mid=`expr 2 '*' $ac_mid`
23192
23765
fi
23193
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23766
 
 
23767
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194
23768
  done
23195
23769
else
23196
23770
  echo "$as_me: failed program was:" >&5
23197
23771
sed 's/^/| /' conftest.$ac_ext >&5
23198
23772
 
23199
 
ac_lo= ac_hi=
23200
 
fi
23201
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23202
 
fi
23203
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23773
        ac_lo= ac_hi=
 
23774
fi
 
23775
 
 
23776
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23777
fi
 
23778
 
 
23779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204
23780
# Binary search between lo and hi bounds.
23205
23781
while test "x$ac_lo" != "x$ac_hi"; do
23206
23782
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23211
23787
cat >>conftest.$ac_ext <<_ACEOF
23212
23788
/* end confdefs.h.  */
23213
23789
$ac_includes_default
 
23790
   typedef int ac__type_sizeof_;
23214
23791
int
23215
23792
main ()
23216
23793
{
23217
 
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 
23794
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23218
23795
test_array [0] = 0
23219
23796
 
23220
23797
  ;
23222
23799
}
23223
23800
_ACEOF
23224
23801
rm -f conftest.$ac_objext
23225
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23226
 
  (eval $ac_compile) 2>conftest.er1
 
23802
if { (ac_try="$ac_compile"
 
23803
case "(($ac_try" in
 
23804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23805
  *) ac_try_echo=$ac_try;;
 
23806
esac
 
23807
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23808
  (eval "$ac_compile") 2>conftest.er1
23227
23809
  ac_status=$?
23228
23810
  grep -v '^ *+' conftest.er1 >conftest.err
23229
23811
  rm -f conftest.er1
23230
23812
  cat conftest.err >&5
23231
23813
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232
 
  (exit $ac_status); } &&
23233
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23234
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235
 
  (eval $ac_try) 2>&5
23236
 
  ac_status=$?
23237
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238
 
  (exit $ac_status); }; } &&
23239
 
         { ac_try='test -s conftest.$ac_objext'
23240
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241
 
  (eval $ac_try) 2>&5
23242
 
  ac_status=$?
23243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244
 
  (exit $ac_status); }; }; then
 
23814
  (exit $ac_status); } && {
 
23815
         test -z "$ac_c_werror_flag" ||
 
23816
         test ! -s conftest.err
 
23817
       } && test -s conftest.$ac_objext; then
23245
23818
  ac_hi=$ac_mid
23246
23819
else
23247
23820
  echo "$as_me: failed program was:" >&5
23248
23821
sed 's/^/| /' conftest.$ac_ext >&5
23249
23822
 
23250
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
23823
        ac_lo=`expr '(' $ac_mid ')' + 1`
23251
23824
fi
23252
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
23825
 
 
23826
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23253
23827
done
23254
23828
case $ac_lo in
23255
23829
?*) ac_cv_sizeof_int=$ac_lo;;
23256
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
23830
'') if test "$ac_cv_type_int" = yes; then
 
23831
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23257
23832
See \`config.log' for more details." >&5
23258
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
23833
echo "$as_me: error: cannot compute sizeof (int)
23259
23834
See \`config.log' for more details." >&2;}
23260
 
   { (exit 1); exit 1; }; } ;;
 
23835
   { (exit 77); exit 77; }; }
 
23836
   else
 
23837
     ac_cv_sizeof_int=0
 
23838
   fi ;;
23261
23839
esac
23262
23840
else
23263
 
  if test "$cross_compiling" = yes; then
23264
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23265
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23266
 
   { (exit 1); exit 1; }; }
23267
 
else
23268
23841
  cat >conftest.$ac_ext <<_ACEOF
23269
23842
/* confdefs.h.  */
23270
23843
_ACEOF
23272
23845
cat >>conftest.$ac_ext <<_ACEOF
23273
23846
/* end confdefs.h.  */
23274
23847
$ac_includes_default
23275
 
long longval () { return (long) (sizeof (int)); }
23276
 
unsigned long ulongval () { return (long) (sizeof (int)); }
 
23848
   typedef int ac__type_sizeof_;
 
23849
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
23850
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277
23851
#include <stdio.h>
23278
23852
#include <stdlib.h>
23279
23853
int
23282
23856
 
23283
23857
  FILE *f = fopen ("conftest.val", "w");
23284
23858
  if (! f)
23285
 
    exit (1);
23286
 
  if (((long) (sizeof (int))) < 0)
 
23859
    return 1;
 
23860
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23287
23861
    {
23288
 
      long i = longval ();
23289
 
      if (i != ((long) (sizeof (int))))
23290
 
        exit (1);
 
23862
      long int i = longval ();
 
23863
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
23864
        return 1;
23291
23865
      fprintf (f, "%ld\n", i);
23292
23866
    }
23293
23867
  else
23294
23868
    {
23295
 
      unsigned long i = ulongval ();
23296
 
      if (i != ((long) (sizeof (int))))
23297
 
        exit (1);
 
23869
      unsigned long int i = ulongval ();
 
23870
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
23871
        return 1;
23298
23872
      fprintf (f, "%lu\n", i);
23299
23873
    }
23300
 
  exit (ferror (f) || fclose (f) != 0);
 
23874
  return ferror (f) || fclose (f) != 0;
23301
23875
 
23302
23876
  ;
23303
23877
  return 0;
23304
23878
}
23305
23879
_ACEOF
23306
23880
rm -f conftest$ac_exeext
23307
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308
 
  (eval $ac_link) 2>&5
 
23881
if { (ac_try="$ac_link"
 
23882
case "(($ac_try" in
 
23883
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23884
  *) ac_try_echo=$ac_try;;
 
23885
esac
 
23886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23887
  (eval "$ac_link") 2>&5
23309
23888
  ac_status=$?
23310
23889
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311
23890
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313
 
  (eval $ac_try) 2>&5
 
23891
  { (case "(($ac_try" in
 
23892
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23893
  *) ac_try_echo=$ac_try;;
 
23894
esac
 
23895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23896
  (eval "$ac_try") 2>&5
23314
23897
  ac_status=$?
23315
23898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316
23899
  (exit $ac_status); }; }; then
23321
23904
sed 's/^/| /' conftest.$ac_ext >&5
23322
23905
 
23323
23906
( exit $ac_status )
23324
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 
23907
if test "$ac_cv_type_int" = yes; then
 
23908
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23325
23909
See \`config.log' for more details." >&5
23326
 
echo "$as_me: error: cannot compute sizeof (int), 77
 
23910
echo "$as_me: error: cannot compute sizeof (int)
23327
23911
See \`config.log' for more details." >&2;}
23328
 
   { (exit 1); exit 1; }; }
23329
 
fi
23330
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23331
 
fi
 
23912
   { (exit 77); exit 77; }; }
 
23913
   else
 
23914
     ac_cv_sizeof_int=0
 
23915
   fi
 
23916
fi
 
23917
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23332
23918
fi
23333
23919
rm -f conftest.val
23334
 
else
23335
 
  ac_cv_sizeof_int=0
23336
 
fi
23337
 
fi
23338
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23339
 
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 
23920
fi
 
23921
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 
23922
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
 
23923
 
 
23924
 
 
23925
 
23340
23926
cat >>confdefs.h <<_ACEOF
23341
23927
#define SIZEOF_INT $ac_cv_sizeof_int
23342
23928
_ACEOF
23343
23929
 
23344
23930
 
23345
 
echo "$as_me:$LINENO: checking for unsigned int" >&5
23346
 
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 
23931
{ echo "$as_me:$LINENO: checking for unsigned int" >&5
 
23932
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
23347
23933
if test "${ac_cv_type_unsigned_int+set}" = set; then
23348
23934
  echo $ECHO_N "(cached) $ECHO_C" >&6
23349
23935
else
23354
23940
cat >>conftest.$ac_ext <<_ACEOF
23355
23941
/* end confdefs.h.  */
23356
23942
$ac_includes_default
 
23943
typedef unsigned int ac__type_new_;
23357
23944
int
23358
23945
main ()
23359
23946
{
23360
 
if ((unsigned int *) 0)
 
23947
if ((ac__type_new_ *) 0)
23361
23948
  return 0;
23362
 
if (sizeof (unsigned int))
 
23949
if (sizeof (ac__type_new_))
23363
23950
  return 0;
23364
23951
  ;
23365
23952
  return 0;
23366
23953
}
23367
23954
_ACEOF
23368
23955
rm -f conftest.$ac_objext
23369
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23370
 
  (eval $ac_compile) 2>conftest.er1
 
23956
if { (ac_try="$ac_compile"
 
23957
case "(($ac_try" in
 
23958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23959
  *) ac_try_echo=$ac_try;;
 
23960
esac
 
23961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23962
  (eval "$ac_compile") 2>conftest.er1
23371
23963
  ac_status=$?
23372
23964
  grep -v '^ *+' conftest.er1 >conftest.err
23373
23965
  rm -f conftest.er1
23374
23966
  cat conftest.err >&5
23375
23967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376
 
  (exit $ac_status); } &&
23377
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379
 
  (eval $ac_try) 2>&5
23380
 
  ac_status=$?
23381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382
 
  (exit $ac_status); }; } &&
23383
 
         { ac_try='test -s conftest.$ac_objext'
23384
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385
 
  (eval $ac_try) 2>&5
23386
 
  ac_status=$?
23387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388
 
  (exit $ac_status); }; }; then
 
23968
  (exit $ac_status); } && {
 
23969
         test -z "$ac_c_werror_flag" ||
 
23970
         test ! -s conftest.err
 
23971
       } && test -s conftest.$ac_objext; then
23389
23972
  ac_cv_type_unsigned_int=yes
23390
23973
else
23391
23974
  echo "$as_me: failed program was:" >&5
23392
23975
sed 's/^/| /' conftest.$ac_ext >&5
23393
23976
 
23394
 
ac_cv_type_unsigned_int=no
23395
 
fi
23396
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23397
 
fi
23398
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
23399
 
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
23400
 
 
23401
 
echo "$as_me:$LINENO: checking size of unsigned int" >&5
23402
 
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 
23977
        ac_cv_type_unsigned_int=no
 
23978
fi
 
23979
 
 
23980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23981
fi
 
23982
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 
23983
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
 
23984
 
 
23985
# The cast to long int works around a bug in the HP C Compiler
 
23986
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
23987
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
23988
# This bug is HP SR number 8606223364.
 
23989
{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
 
23990
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
23403
23991
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
23404
23992
  echo $ECHO_N "(cached) $ECHO_C" >&6
23405
23993
else
23406
 
  if test "$ac_cv_type_unsigned_int" = yes; then
23407
 
  # The cast to unsigned long works around a bug in the HP C Compiler
23408
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23409
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23410
 
  # This bug is HP SR number 8606223364.
23411
23994
  if test "$cross_compiling" = yes; then
23412
23995
  # Depending upon the size, compute the lo and hi bounds.
23413
23996
cat >conftest.$ac_ext <<_ACEOF
23417
24000
cat >>conftest.$ac_ext <<_ACEOF
23418
24001
/* end confdefs.h.  */
23419
24002
$ac_includes_default
 
24003
   typedef unsigned int ac__type_sizeof_;
23420
24004
int
23421
24005
main ()
23422
24006
{
23423
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
 
24007
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23424
24008
test_array [0] = 0
23425
24009
 
23426
24010
  ;
23428
24012
}
23429
24013
_ACEOF
23430
24014
rm -f conftest.$ac_objext
23431
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23432
 
  (eval $ac_compile) 2>conftest.er1
 
24015
if { (ac_try="$ac_compile"
 
24016
case "(($ac_try" in
 
24017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24018
  *) ac_try_echo=$ac_try;;
 
24019
esac
 
24020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24021
  (eval "$ac_compile") 2>conftest.er1
23433
24022
  ac_status=$?
23434
24023
  grep -v '^ *+' conftest.er1 >conftest.err
23435
24024
  rm -f conftest.er1
23436
24025
  cat conftest.err >&5
23437
24026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438
 
  (exit $ac_status); } &&
23439
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23440
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441
 
  (eval $ac_try) 2>&5
23442
 
  ac_status=$?
23443
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444
 
  (exit $ac_status); }; } &&
23445
 
         { ac_try='test -s conftest.$ac_objext'
23446
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447
 
  (eval $ac_try) 2>&5
23448
 
  ac_status=$?
23449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450
 
  (exit $ac_status); }; }; then
 
24027
  (exit $ac_status); } && {
 
24028
         test -z "$ac_c_werror_flag" ||
 
24029
         test ! -s conftest.err
 
24030
       } && test -s conftest.$ac_objext; then
23451
24031
  ac_lo=0 ac_mid=0
23452
24032
  while :; do
23453
24033
    cat >conftest.$ac_ext <<_ACEOF
23457
24037
cat >>conftest.$ac_ext <<_ACEOF
23458
24038
/* end confdefs.h.  */
23459
24039
$ac_includes_default
 
24040
   typedef unsigned int ac__type_sizeof_;
23460
24041
int
23461
24042
main ()
23462
24043
{
23463
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
24044
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23464
24045
test_array [0] = 0
23465
24046
 
23466
24047
  ;
23468
24049
}
23469
24050
_ACEOF
23470
24051
rm -f conftest.$ac_objext
23471
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23472
 
  (eval $ac_compile) 2>conftest.er1
 
24052
if { (ac_try="$ac_compile"
 
24053
case "(($ac_try" in
 
24054
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24055
  *) ac_try_echo=$ac_try;;
 
24056
esac
 
24057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24058
  (eval "$ac_compile") 2>conftest.er1
23473
24059
  ac_status=$?
23474
24060
  grep -v '^ *+' conftest.er1 >conftest.err
23475
24061
  rm -f conftest.er1
23476
24062
  cat conftest.err >&5
23477
24063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478
 
  (exit $ac_status); } &&
23479
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23480
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481
 
  (eval $ac_try) 2>&5
23482
 
  ac_status=$?
23483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484
 
  (exit $ac_status); }; } &&
23485
 
         { ac_try='test -s conftest.$ac_objext'
23486
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23487
 
  (eval $ac_try) 2>&5
23488
 
  ac_status=$?
23489
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490
 
  (exit $ac_status); }; }; then
 
24064
  (exit $ac_status); } && {
 
24065
         test -z "$ac_c_werror_flag" ||
 
24066
         test ! -s conftest.err
 
24067
       } && test -s conftest.$ac_objext; then
23491
24068
  ac_hi=$ac_mid; break
23492
24069
else
23493
24070
  echo "$as_me: failed program was:" >&5
23494
24071
sed 's/^/| /' conftest.$ac_ext >&5
23495
24072
 
23496
 
ac_lo=`expr $ac_mid + 1`
23497
 
                    if test $ac_lo -le $ac_mid; then
23498
 
                      ac_lo= ac_hi=
23499
 
                      break
23500
 
                    fi
23501
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
24073
        ac_lo=`expr $ac_mid + 1`
 
24074
                        if test $ac_lo -le $ac_mid; then
 
24075
                          ac_lo= ac_hi=
 
24076
                          break
 
24077
                        fi
 
24078
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23502
24079
fi
23503
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24080
 
 
24081
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23504
24082
  done
23505
24083
else
23506
24084
  echo "$as_me: failed program was:" >&5
23507
24085
sed 's/^/| /' conftest.$ac_ext >&5
23508
24086
 
23509
 
cat >conftest.$ac_ext <<_ACEOF
 
24087
        cat >conftest.$ac_ext <<_ACEOF
23510
24088
/* confdefs.h.  */
23511
24089
_ACEOF
23512
24090
cat confdefs.h >>conftest.$ac_ext
23513
24091
cat >>conftest.$ac_ext <<_ACEOF
23514
24092
/* end confdefs.h.  */
23515
24093
$ac_includes_default
 
24094
   typedef unsigned int ac__type_sizeof_;
23516
24095
int
23517
24096
main ()
23518
24097
{
23519
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
 
24098
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23520
24099
test_array [0] = 0
23521
24100
 
23522
24101
  ;
23524
24103
}
23525
24104
_ACEOF
23526
24105
rm -f conftest.$ac_objext
23527
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23528
 
  (eval $ac_compile) 2>conftest.er1
 
24106
if { (ac_try="$ac_compile"
 
24107
case "(($ac_try" in
 
24108
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24109
  *) ac_try_echo=$ac_try;;
 
24110
esac
 
24111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24112
  (eval "$ac_compile") 2>conftest.er1
23529
24113
  ac_status=$?
23530
24114
  grep -v '^ *+' conftest.er1 >conftest.err
23531
24115
  rm -f conftest.er1
23532
24116
  cat conftest.err >&5
23533
24117
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534
 
  (exit $ac_status); } &&
23535
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23536
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23537
 
  (eval $ac_try) 2>&5
23538
 
  ac_status=$?
23539
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540
 
  (exit $ac_status); }; } &&
23541
 
         { ac_try='test -s conftest.$ac_objext'
23542
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23543
 
  (eval $ac_try) 2>&5
23544
 
  ac_status=$?
23545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546
 
  (exit $ac_status); }; }; then
 
24118
  (exit $ac_status); } && {
 
24119
         test -z "$ac_c_werror_flag" ||
 
24120
         test ! -s conftest.err
 
24121
       } && test -s conftest.$ac_objext; then
23547
24122
  ac_hi=-1 ac_mid=-1
23548
24123
  while :; do
23549
24124
    cat >conftest.$ac_ext <<_ACEOF
23553
24128
cat >>conftest.$ac_ext <<_ACEOF
23554
24129
/* end confdefs.h.  */
23555
24130
$ac_includes_default
 
24131
   typedef unsigned int ac__type_sizeof_;
23556
24132
int
23557
24133
main ()
23558
24134
{
23559
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
 
24135
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23560
24136
test_array [0] = 0
23561
24137
 
23562
24138
  ;
23564
24140
}
23565
24141
_ACEOF
23566
24142
rm -f conftest.$ac_objext
23567
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23568
 
  (eval $ac_compile) 2>conftest.er1
 
24143
if { (ac_try="$ac_compile"
 
24144
case "(($ac_try" in
 
24145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24146
  *) ac_try_echo=$ac_try;;
 
24147
esac
 
24148
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24149
  (eval "$ac_compile") 2>conftest.er1
23569
24150
  ac_status=$?
23570
24151
  grep -v '^ *+' conftest.er1 >conftest.err
23571
24152
  rm -f conftest.er1
23572
24153
  cat conftest.err >&5
23573
24154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574
 
  (exit $ac_status); } &&
23575
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577
 
  (eval $ac_try) 2>&5
23578
 
  ac_status=$?
23579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580
 
  (exit $ac_status); }; } &&
23581
 
         { ac_try='test -s conftest.$ac_objext'
23582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583
 
  (eval $ac_try) 2>&5
23584
 
  ac_status=$?
23585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586
 
  (exit $ac_status); }; }; then
 
24155
  (exit $ac_status); } && {
 
24156
         test -z "$ac_c_werror_flag" ||
 
24157
         test ! -s conftest.err
 
24158
       } && test -s conftest.$ac_objext; then
23587
24159
  ac_lo=$ac_mid; break
23588
24160
else
23589
24161
  echo "$as_me: failed program was:" >&5
23590
24162
sed 's/^/| /' conftest.$ac_ext >&5
23591
24163
 
23592
 
ac_hi=`expr '(' $ac_mid ')' - 1`
23593
 
                       if test $ac_mid -le $ac_hi; then
23594
 
                         ac_lo= ac_hi=
23595
 
                         break
23596
 
                       fi
23597
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
24164
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
24165
                        if test $ac_mid -le $ac_hi; then
 
24166
                          ac_lo= ac_hi=
 
24167
                          break
 
24168
                        fi
 
24169
                        ac_mid=`expr 2 '*' $ac_mid`
23598
24170
fi
23599
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24171
 
 
24172
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600
24173
  done
23601
24174
else
23602
24175
  echo "$as_me: failed program was:" >&5
23603
24176
sed 's/^/| /' conftest.$ac_ext >&5
23604
24177
 
23605
 
ac_lo= ac_hi=
23606
 
fi
23607
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23608
 
fi
23609
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24178
        ac_lo= ac_hi=
 
24179
fi
 
24180
 
 
24181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24182
fi
 
24183
 
 
24184
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610
24185
# Binary search between lo and hi bounds.
23611
24186
while test "x$ac_lo" != "x$ac_hi"; do
23612
24187
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23617
24192
cat >>conftest.$ac_ext <<_ACEOF
23618
24193
/* end confdefs.h.  */
23619
24194
$ac_includes_default
 
24195
   typedef unsigned int ac__type_sizeof_;
23620
24196
int
23621
24197
main ()
23622
24198
{
23623
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
 
24199
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23624
24200
test_array [0] = 0
23625
24201
 
23626
24202
  ;
23628
24204
}
23629
24205
_ACEOF
23630
24206
rm -f conftest.$ac_objext
23631
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23632
 
  (eval $ac_compile) 2>conftest.er1
 
24207
if { (ac_try="$ac_compile"
 
24208
case "(($ac_try" in
 
24209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24210
  *) ac_try_echo=$ac_try;;
 
24211
esac
 
24212
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24213
  (eval "$ac_compile") 2>conftest.er1
23633
24214
  ac_status=$?
23634
24215
  grep -v '^ *+' conftest.er1 >conftest.err
23635
24216
  rm -f conftest.er1
23636
24217
  cat conftest.err >&5
23637
24218
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638
 
  (exit $ac_status); } &&
23639
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641
 
  (eval $ac_try) 2>&5
23642
 
  ac_status=$?
23643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644
 
  (exit $ac_status); }; } &&
23645
 
         { ac_try='test -s conftest.$ac_objext'
23646
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647
 
  (eval $ac_try) 2>&5
23648
 
  ac_status=$?
23649
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650
 
  (exit $ac_status); }; }; then
 
24219
  (exit $ac_status); } && {
 
24220
         test -z "$ac_c_werror_flag" ||
 
24221
         test ! -s conftest.err
 
24222
       } && test -s conftest.$ac_objext; then
23651
24223
  ac_hi=$ac_mid
23652
24224
else
23653
24225
  echo "$as_me: failed program was:" >&5
23654
24226
sed 's/^/| /' conftest.$ac_ext >&5
23655
24227
 
23656
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
24228
        ac_lo=`expr '(' $ac_mid ')' + 1`
23657
24229
fi
23658
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24230
 
 
24231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659
24232
done
23660
24233
case $ac_lo in
23661
24234
?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
23662
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
24235
'') if test "$ac_cv_type_unsigned_int" = yes; then
 
24236
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
23663
24237
See \`config.log' for more details." >&5
23664
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
24238
echo "$as_me: error: cannot compute sizeof (unsigned int)
23665
24239
See \`config.log' for more details." >&2;}
23666
 
   { (exit 1); exit 1; }; } ;;
 
24240
   { (exit 77); exit 77; }; }
 
24241
   else
 
24242
     ac_cv_sizeof_unsigned_int=0
 
24243
   fi ;;
23667
24244
esac
23668
24245
else
23669
 
  if test "$cross_compiling" = yes; then
23670
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23671
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23672
 
   { (exit 1); exit 1; }; }
23673
 
else
23674
24246
  cat >conftest.$ac_ext <<_ACEOF
23675
24247
/* confdefs.h.  */
23676
24248
_ACEOF
23678
24250
cat >>conftest.$ac_ext <<_ACEOF
23679
24251
/* end confdefs.h.  */
23680
24252
$ac_includes_default
23681
 
long longval () { return (long) (sizeof (unsigned int)); }
23682
 
unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 
24253
   typedef unsigned int ac__type_sizeof_;
 
24254
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
24255
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23683
24256
#include <stdio.h>
23684
24257
#include <stdlib.h>
23685
24258
int
23688
24261
 
23689
24262
  FILE *f = fopen ("conftest.val", "w");
23690
24263
  if (! f)
23691
 
    exit (1);
23692
 
  if (((long) (sizeof (unsigned int))) < 0)
 
24264
    return 1;
 
24265
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23693
24266
    {
23694
 
      long i = longval ();
23695
 
      if (i != ((long) (sizeof (unsigned int))))
23696
 
        exit (1);
 
24267
      long int i = longval ();
 
24268
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24269
        return 1;
23697
24270
      fprintf (f, "%ld\n", i);
23698
24271
    }
23699
24272
  else
23700
24273
    {
23701
 
      unsigned long i = ulongval ();
23702
 
      if (i != ((long) (sizeof (unsigned int))))
23703
 
        exit (1);
 
24274
      unsigned long int i = ulongval ();
 
24275
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24276
        return 1;
23704
24277
      fprintf (f, "%lu\n", i);
23705
24278
    }
23706
 
  exit (ferror (f) || fclose (f) != 0);
 
24279
  return ferror (f) || fclose (f) != 0;
23707
24280
 
23708
24281
  ;
23709
24282
  return 0;
23710
24283
}
23711
24284
_ACEOF
23712
24285
rm -f conftest$ac_exeext
23713
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23714
 
  (eval $ac_link) 2>&5
 
24286
if { (ac_try="$ac_link"
 
24287
case "(($ac_try" in
 
24288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24289
  *) ac_try_echo=$ac_try;;
 
24290
esac
 
24291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24292
  (eval "$ac_link") 2>&5
23715
24293
  ac_status=$?
23716
24294
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717
24295
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23718
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23719
 
  (eval $ac_try) 2>&5
 
24296
  { (case "(($ac_try" in
 
24297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24298
  *) ac_try_echo=$ac_try;;
 
24299
esac
 
24300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24301
  (eval "$ac_try") 2>&5
23720
24302
  ac_status=$?
23721
24303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722
24304
  (exit $ac_status); }; }; then
23727
24309
sed 's/^/| /' conftest.$ac_ext >&5
23728
24310
 
23729
24311
( exit $ac_status )
23730
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 
24312
if test "$ac_cv_type_unsigned_int" = yes; then
 
24313
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
23731
24314
See \`config.log' for more details." >&5
23732
 
echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 
24315
echo "$as_me: error: cannot compute sizeof (unsigned int)
23733
24316
See \`config.log' for more details." >&2;}
23734
 
   { (exit 1); exit 1; }; }
23735
 
fi
23736
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23737
 
fi
 
24317
   { (exit 77); exit 77; }; }
 
24318
   else
 
24319
     ac_cv_sizeof_unsigned_int=0
 
24320
   fi
 
24321
fi
 
24322
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23738
24323
fi
23739
24324
rm -f conftest.val
23740
 
else
23741
 
  ac_cv_sizeof_unsigned_int=0
23742
 
fi
23743
 
fi
23744
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
23745
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 
24325
fi
 
24326
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 
24327
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
 
24328
 
 
24329
 
 
24330
 
23746
24331
cat >>confdefs.h <<_ACEOF
23747
24332
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
23748
24333
_ACEOF
23749
24334
 
23750
24335
 
23751
 
echo "$as_me:$LINENO: checking for long" >&5
23752
 
echo $ECHO_N "checking for long... $ECHO_C" >&6
 
24336
{ echo "$as_me:$LINENO: checking for long" >&5
 
24337
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23753
24338
if test "${ac_cv_type_long+set}" = set; then
23754
24339
  echo $ECHO_N "(cached) $ECHO_C" >&6
23755
24340
else
23760
24345
cat >>conftest.$ac_ext <<_ACEOF
23761
24346
/* end confdefs.h.  */
23762
24347
$ac_includes_default
 
24348
typedef long ac__type_new_;
23763
24349
int
23764
24350
main ()
23765
24351
{
23766
 
if ((long *) 0)
 
24352
if ((ac__type_new_ *) 0)
23767
24353
  return 0;
23768
 
if (sizeof (long))
 
24354
if (sizeof (ac__type_new_))
23769
24355
  return 0;
23770
24356
  ;
23771
24357
  return 0;
23772
24358
}
23773
24359
_ACEOF
23774
24360
rm -f conftest.$ac_objext
23775
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23776
 
  (eval $ac_compile) 2>conftest.er1
 
24361
if { (ac_try="$ac_compile"
 
24362
case "(($ac_try" in
 
24363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24364
  *) ac_try_echo=$ac_try;;
 
24365
esac
 
24366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24367
  (eval "$ac_compile") 2>conftest.er1
23777
24368
  ac_status=$?
23778
24369
  grep -v '^ *+' conftest.er1 >conftest.err
23779
24370
  rm -f conftest.er1
23780
24371
  cat conftest.err >&5
23781
24372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782
 
  (exit $ac_status); } &&
23783
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23784
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785
 
  (eval $ac_try) 2>&5
23786
 
  ac_status=$?
23787
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788
 
  (exit $ac_status); }; } &&
23789
 
         { ac_try='test -s conftest.$ac_objext'
23790
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791
 
  (eval $ac_try) 2>&5
23792
 
  ac_status=$?
23793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794
 
  (exit $ac_status); }; }; then
 
24373
  (exit $ac_status); } && {
 
24374
         test -z "$ac_c_werror_flag" ||
 
24375
         test ! -s conftest.err
 
24376
       } && test -s conftest.$ac_objext; then
23795
24377
  ac_cv_type_long=yes
23796
24378
else
23797
24379
  echo "$as_me: failed program was:" >&5
23798
24380
sed 's/^/| /' conftest.$ac_ext >&5
23799
24381
 
23800
 
ac_cv_type_long=no
23801
 
fi
23802
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23803
 
fi
23804
 
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23805
 
echo "${ECHO_T}$ac_cv_type_long" >&6
23806
 
 
23807
 
echo "$as_me:$LINENO: checking size of long" >&5
23808
 
echo $ECHO_N "checking size of long... $ECHO_C" >&6
 
24382
        ac_cv_type_long=no
 
24383
fi
 
24384
 
 
24385
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24386
fi
 
24387
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 
24388
echo "${ECHO_T}$ac_cv_type_long" >&6; }
 
24389
 
 
24390
# The cast to long int works around a bug in the HP C Compiler
 
24391
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
24392
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
24393
# This bug is HP SR number 8606223364.
 
24394
{ echo "$as_me:$LINENO: checking size of long" >&5
 
24395
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23809
24396
if test "${ac_cv_sizeof_long+set}" = set; then
23810
24397
  echo $ECHO_N "(cached) $ECHO_C" >&6
23811
24398
else
23812
 
  if test "$ac_cv_type_long" = yes; then
23813
 
  # The cast to unsigned long works around a bug in the HP C Compiler
23814
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23815
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23816
 
  # This bug is HP SR number 8606223364.
23817
24399
  if test "$cross_compiling" = yes; then
23818
24400
  # Depending upon the size, compute the lo and hi bounds.
23819
24401
cat >conftest.$ac_ext <<_ACEOF
23823
24405
cat >>conftest.$ac_ext <<_ACEOF
23824
24406
/* end confdefs.h.  */
23825
24407
$ac_includes_default
 
24408
   typedef long ac__type_sizeof_;
23826
24409
int
23827
24410
main ()
23828
24411
{
23829
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 
24412
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23830
24413
test_array [0] = 0
23831
24414
 
23832
24415
  ;
23834
24417
}
23835
24418
_ACEOF
23836
24419
rm -f conftest.$ac_objext
23837
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23838
 
  (eval $ac_compile) 2>conftest.er1
 
24420
if { (ac_try="$ac_compile"
 
24421
case "(($ac_try" in
 
24422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24423
  *) ac_try_echo=$ac_try;;
 
24424
esac
 
24425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24426
  (eval "$ac_compile") 2>conftest.er1
23839
24427
  ac_status=$?
23840
24428
  grep -v '^ *+' conftest.er1 >conftest.err
23841
24429
  rm -f conftest.er1
23842
24430
  cat conftest.err >&5
23843
24431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844
 
  (exit $ac_status); } &&
23845
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23847
 
  (eval $ac_try) 2>&5
23848
 
  ac_status=$?
23849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850
 
  (exit $ac_status); }; } &&
23851
 
         { ac_try='test -s conftest.$ac_objext'
23852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853
 
  (eval $ac_try) 2>&5
23854
 
  ac_status=$?
23855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856
 
  (exit $ac_status); }; }; then
 
24432
  (exit $ac_status); } && {
 
24433
         test -z "$ac_c_werror_flag" ||
 
24434
         test ! -s conftest.err
 
24435
       } && test -s conftest.$ac_objext; then
23857
24436
  ac_lo=0 ac_mid=0
23858
24437
  while :; do
23859
24438
    cat >conftest.$ac_ext <<_ACEOF
23863
24442
cat >>conftest.$ac_ext <<_ACEOF
23864
24443
/* end confdefs.h.  */
23865
24444
$ac_includes_default
 
24445
   typedef long ac__type_sizeof_;
23866
24446
int
23867
24447
main ()
23868
24448
{
23869
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
24449
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23870
24450
test_array [0] = 0
23871
24451
 
23872
24452
  ;
23874
24454
}
23875
24455
_ACEOF
23876
24456
rm -f conftest.$ac_objext
23877
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878
 
  (eval $ac_compile) 2>conftest.er1
 
24457
if { (ac_try="$ac_compile"
 
24458
case "(($ac_try" in
 
24459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24460
  *) ac_try_echo=$ac_try;;
 
24461
esac
 
24462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24463
  (eval "$ac_compile") 2>conftest.er1
23879
24464
  ac_status=$?
23880
24465
  grep -v '^ *+' conftest.er1 >conftest.err
23881
24466
  rm -f conftest.er1
23882
24467
  cat conftest.err >&5
23883
24468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884
 
  (exit $ac_status); } &&
23885
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23886
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887
 
  (eval $ac_try) 2>&5
23888
 
  ac_status=$?
23889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890
 
  (exit $ac_status); }; } &&
23891
 
         { ac_try='test -s conftest.$ac_objext'
23892
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893
 
  (eval $ac_try) 2>&5
23894
 
  ac_status=$?
23895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896
 
  (exit $ac_status); }; }; then
 
24469
  (exit $ac_status); } && {
 
24470
         test -z "$ac_c_werror_flag" ||
 
24471
         test ! -s conftest.err
 
24472
       } && test -s conftest.$ac_objext; then
23897
24473
  ac_hi=$ac_mid; break
23898
24474
else
23899
24475
  echo "$as_me: failed program was:" >&5
23900
24476
sed 's/^/| /' conftest.$ac_ext >&5
23901
24477
 
23902
 
ac_lo=`expr $ac_mid + 1`
23903
 
                    if test $ac_lo -le $ac_mid; then
23904
 
                      ac_lo= ac_hi=
23905
 
                      break
23906
 
                    fi
23907
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
24478
        ac_lo=`expr $ac_mid + 1`
 
24479
                        if test $ac_lo -le $ac_mid; then
 
24480
                          ac_lo= ac_hi=
 
24481
                          break
 
24482
                        fi
 
24483
                        ac_mid=`expr 2 '*' $ac_mid + 1`
23908
24484
fi
23909
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24485
 
 
24486
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910
24487
  done
23911
24488
else
23912
24489
  echo "$as_me: failed program was:" >&5
23913
24490
sed 's/^/| /' conftest.$ac_ext >&5
23914
24491
 
23915
 
cat >conftest.$ac_ext <<_ACEOF
 
24492
        cat >conftest.$ac_ext <<_ACEOF
23916
24493
/* confdefs.h.  */
23917
24494
_ACEOF
23918
24495
cat confdefs.h >>conftest.$ac_ext
23919
24496
cat >>conftest.$ac_ext <<_ACEOF
23920
24497
/* end confdefs.h.  */
23921
24498
$ac_includes_default
 
24499
   typedef long ac__type_sizeof_;
23922
24500
int
23923
24501
main ()
23924
24502
{
23925
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 
24503
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23926
24504
test_array [0] = 0
23927
24505
 
23928
24506
  ;
23930
24508
}
23931
24509
_ACEOF
23932
24510
rm -f conftest.$ac_objext
23933
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23934
 
  (eval $ac_compile) 2>conftest.er1
 
24511
if { (ac_try="$ac_compile"
 
24512
case "(($ac_try" in
 
24513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24514
  *) ac_try_echo=$ac_try;;
 
24515
esac
 
24516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24517
  (eval "$ac_compile") 2>conftest.er1
23935
24518
  ac_status=$?
23936
24519
  grep -v '^ *+' conftest.er1 >conftest.err
23937
24520
  rm -f conftest.er1
23938
24521
  cat conftest.err >&5
23939
24522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940
 
  (exit $ac_status); } &&
23941
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23943
 
  (eval $ac_try) 2>&5
23944
 
  ac_status=$?
23945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946
 
  (exit $ac_status); }; } &&
23947
 
         { ac_try='test -s conftest.$ac_objext'
23948
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23949
 
  (eval $ac_try) 2>&5
23950
 
  ac_status=$?
23951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952
 
  (exit $ac_status); }; }; then
 
24523
  (exit $ac_status); } && {
 
24524
         test -z "$ac_c_werror_flag" ||
 
24525
         test ! -s conftest.err
 
24526
       } && test -s conftest.$ac_objext; then
23953
24527
  ac_hi=-1 ac_mid=-1
23954
24528
  while :; do
23955
24529
    cat >conftest.$ac_ext <<_ACEOF
23959
24533
cat >>conftest.$ac_ext <<_ACEOF
23960
24534
/* end confdefs.h.  */
23961
24535
$ac_includes_default
 
24536
   typedef long ac__type_sizeof_;
23962
24537
int
23963
24538
main ()
23964
24539
{
23965
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 
24540
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23966
24541
test_array [0] = 0
23967
24542
 
23968
24543
  ;
23970
24545
}
23971
24546
_ACEOF
23972
24547
rm -f conftest.$ac_objext
23973
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23974
 
  (eval $ac_compile) 2>conftest.er1
 
24548
if { (ac_try="$ac_compile"
 
24549
case "(($ac_try" in
 
24550
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24551
  *) ac_try_echo=$ac_try;;
 
24552
esac
 
24553
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24554
  (eval "$ac_compile") 2>conftest.er1
23975
24555
  ac_status=$?
23976
24556
  grep -v '^ *+' conftest.er1 >conftest.err
23977
24557
  rm -f conftest.er1
23978
24558
  cat conftest.err >&5
23979
24559
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980
 
  (exit $ac_status); } &&
23981
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
23982
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983
 
  (eval $ac_try) 2>&5
23984
 
  ac_status=$?
23985
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986
 
  (exit $ac_status); }; } &&
23987
 
         { ac_try='test -s conftest.$ac_objext'
23988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989
 
  (eval $ac_try) 2>&5
23990
 
  ac_status=$?
23991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992
 
  (exit $ac_status); }; }; then
 
24560
  (exit $ac_status); } && {
 
24561
         test -z "$ac_c_werror_flag" ||
 
24562
         test ! -s conftest.err
 
24563
       } && test -s conftest.$ac_objext; then
23993
24564
  ac_lo=$ac_mid; break
23994
24565
else
23995
24566
  echo "$as_me: failed program was:" >&5
23996
24567
sed 's/^/| /' conftest.$ac_ext >&5
23997
24568
 
23998
 
ac_hi=`expr '(' $ac_mid ')' - 1`
23999
 
                       if test $ac_mid -le $ac_hi; then
24000
 
                         ac_lo= ac_hi=
24001
 
                         break
24002
 
                       fi
24003
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
24569
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
24570
                        if test $ac_mid -le $ac_hi; then
 
24571
                          ac_lo= ac_hi=
 
24572
                          break
 
24573
                        fi
 
24574
                        ac_mid=`expr 2 '*' $ac_mid`
24004
24575
fi
24005
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24576
 
 
24577
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006
24578
  done
24007
24579
else
24008
24580
  echo "$as_me: failed program was:" >&5
24009
24581
sed 's/^/| /' conftest.$ac_ext >&5
24010
24582
 
24011
 
ac_lo= ac_hi=
24012
 
fi
24013
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24014
 
fi
24015
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24583
        ac_lo= ac_hi=
 
24584
fi
 
24585
 
 
24586
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24587
fi
 
24588
 
 
24589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016
24590
# Binary search between lo and hi bounds.
24017
24591
while test "x$ac_lo" != "x$ac_hi"; do
24018
24592
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24023
24597
cat >>conftest.$ac_ext <<_ACEOF
24024
24598
/* end confdefs.h.  */
24025
24599
$ac_includes_default
 
24600
   typedef long ac__type_sizeof_;
24026
24601
int
24027
24602
main ()
24028
24603
{
24029
 
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 
24604
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24030
24605
test_array [0] = 0
24031
24606
 
24032
24607
  ;
24034
24609
}
24035
24610
_ACEOF
24036
24611
rm -f conftest.$ac_objext
24037
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24038
 
  (eval $ac_compile) 2>conftest.er1
 
24612
if { (ac_try="$ac_compile"
 
24613
case "(($ac_try" in
 
24614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24615
  *) ac_try_echo=$ac_try;;
 
24616
esac
 
24617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24618
  (eval "$ac_compile") 2>conftest.er1
24039
24619
  ac_status=$?
24040
24620
  grep -v '^ *+' conftest.er1 >conftest.err
24041
24621
  rm -f conftest.er1
24042
24622
  cat conftest.err >&5
24043
24623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044
 
  (exit $ac_status); } &&
24045
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24046
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047
 
  (eval $ac_try) 2>&5
24048
 
  ac_status=$?
24049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050
 
  (exit $ac_status); }; } &&
24051
 
         { ac_try='test -s conftest.$ac_objext'
24052
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053
 
  (eval $ac_try) 2>&5
24054
 
  ac_status=$?
24055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056
 
  (exit $ac_status); }; }; then
 
24624
  (exit $ac_status); } && {
 
24625
         test -z "$ac_c_werror_flag" ||
 
24626
         test ! -s conftest.err
 
24627
       } && test -s conftest.$ac_objext; then
24057
24628
  ac_hi=$ac_mid
24058
24629
else
24059
24630
  echo "$as_me: failed program was:" >&5
24060
24631
sed 's/^/| /' conftest.$ac_ext >&5
24061
24632
 
24062
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
24633
        ac_lo=`expr '(' $ac_mid ')' + 1`
24063
24634
fi
24064
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24635
 
 
24636
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24065
24637
done
24066
24638
case $ac_lo in
24067
24639
?*) ac_cv_sizeof_long=$ac_lo;;
24068
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
24640
'') if test "$ac_cv_type_long" = yes; then
 
24641
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
24069
24642
See \`config.log' for more details." >&5
24070
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
24643
echo "$as_me: error: cannot compute sizeof (long)
24071
24644
See \`config.log' for more details." >&2;}
24072
 
   { (exit 1); exit 1; }; } ;;
 
24645
   { (exit 77); exit 77; }; }
 
24646
   else
 
24647
     ac_cv_sizeof_long=0
 
24648
   fi ;;
24073
24649
esac
24074
24650
else
24075
 
  if test "$cross_compiling" = yes; then
24076
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
24077
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
24078
 
   { (exit 1); exit 1; }; }
24079
 
else
24080
24651
  cat >conftest.$ac_ext <<_ACEOF
24081
24652
/* confdefs.h.  */
24082
24653
_ACEOF
24084
24655
cat >>conftest.$ac_ext <<_ACEOF
24085
24656
/* end confdefs.h.  */
24086
24657
$ac_includes_default
24087
 
long longval () { return (long) (sizeof (long)); }
24088
 
unsigned long ulongval () { return (long) (sizeof (long)); }
 
24658
   typedef long ac__type_sizeof_;
 
24659
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
24660
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24089
24661
#include <stdio.h>
24090
24662
#include <stdlib.h>
24091
24663
int
24094
24666
 
24095
24667
  FILE *f = fopen ("conftest.val", "w");
24096
24668
  if (! f)
24097
 
    exit (1);
24098
 
  if (((long) (sizeof (long))) < 0)
 
24669
    return 1;
 
24670
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24099
24671
    {
24100
 
      long i = longval ();
24101
 
      if (i != ((long) (sizeof (long))))
24102
 
        exit (1);
 
24672
      long int i = longval ();
 
24673
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24674
        return 1;
24103
24675
      fprintf (f, "%ld\n", i);
24104
24676
    }
24105
24677
  else
24106
24678
    {
24107
 
      unsigned long i = ulongval ();
24108
 
      if (i != ((long) (sizeof (long))))
24109
 
        exit (1);
 
24679
      unsigned long int i = ulongval ();
 
24680
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
24681
        return 1;
24110
24682
      fprintf (f, "%lu\n", i);
24111
24683
    }
24112
 
  exit (ferror (f) || fclose (f) != 0);
 
24684
  return ferror (f) || fclose (f) != 0;
24113
24685
 
24114
24686
  ;
24115
24687
  return 0;
24116
24688
}
24117
24689
_ACEOF
24118
24690
rm -f conftest$ac_exeext
24119
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24120
 
  (eval $ac_link) 2>&5
 
24691
if { (ac_try="$ac_link"
 
24692
case "(($ac_try" in
 
24693
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24694
  *) ac_try_echo=$ac_try;;
 
24695
esac
 
24696
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24697
  (eval "$ac_link") 2>&5
24121
24698
  ac_status=$?
24122
24699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123
24700
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24124
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125
 
  (eval $ac_try) 2>&5
 
24701
  { (case "(($ac_try" in
 
24702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24703
  *) ac_try_echo=$ac_try;;
 
24704
esac
 
24705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24706
  (eval "$ac_try") 2>&5
24126
24707
  ac_status=$?
24127
24708
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128
24709
  (exit $ac_status); }; }; then
24133
24714
sed 's/^/| /' conftest.$ac_ext >&5
24134
24715
 
24135
24716
( exit $ac_status )
24136
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 
24717
if test "$ac_cv_type_long" = yes; then
 
24718
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
24137
24719
See \`config.log' for more details." >&5
24138
 
echo "$as_me: error: cannot compute sizeof (long), 77
 
24720
echo "$as_me: error: cannot compute sizeof (long)
24139
24721
See \`config.log' for more details." >&2;}
24140
 
   { (exit 1); exit 1; }; }
24141
 
fi
24142
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24143
 
fi
 
24722
   { (exit 77); exit 77; }; }
 
24723
   else
 
24724
     ac_cv_sizeof_long=0
 
24725
   fi
 
24726
fi
 
24727
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24144
24728
fi
24145
24729
rm -f conftest.val
24146
 
else
24147
 
  ac_cv_sizeof_long=0
24148
 
fi
24149
 
fi
24150
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
24151
 
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 
24730
fi
 
24731
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 
24732
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
 
24733
 
 
24734
 
 
24735
 
24152
24736
cat >>confdefs.h <<_ACEOF
24153
24737
#define SIZEOF_LONG $ac_cv_sizeof_long
24154
24738
_ACEOF
24155
24739
 
24156
24740
 
24157
 
echo "$as_me:$LINENO: checking for unsigned long" >&5
24158
 
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
 
24741
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
 
24742
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
24159
24743
if test "${ac_cv_type_unsigned_long+set}" = set; then
24160
24744
  echo $ECHO_N "(cached) $ECHO_C" >&6
24161
24745
else
24166
24750
cat >>conftest.$ac_ext <<_ACEOF
24167
24751
/* end confdefs.h.  */
24168
24752
$ac_includes_default
 
24753
typedef unsigned long ac__type_new_;
24169
24754
int
24170
24755
main ()
24171
24756
{
24172
 
if ((unsigned long *) 0)
 
24757
if ((ac__type_new_ *) 0)
24173
24758
  return 0;
24174
 
if (sizeof (unsigned long))
 
24759
if (sizeof (ac__type_new_))
24175
24760
  return 0;
24176
24761
  ;
24177
24762
  return 0;
24178
24763
}
24179
24764
_ACEOF
24180
24765
rm -f conftest.$ac_objext
24181
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24182
 
  (eval $ac_compile) 2>conftest.er1
 
24766
if { (ac_try="$ac_compile"
 
24767
case "(($ac_try" in
 
24768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24769
  *) ac_try_echo=$ac_try;;
 
24770
esac
 
24771
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24772
  (eval "$ac_compile") 2>conftest.er1
24183
24773
  ac_status=$?
24184
24774
  grep -v '^ *+' conftest.er1 >conftest.err
24185
24775
  rm -f conftest.er1
24186
24776
  cat conftest.err >&5
24187
24777
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188
 
  (exit $ac_status); } &&
24189
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24190
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24191
 
  (eval $ac_try) 2>&5
24192
 
  ac_status=$?
24193
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194
 
  (exit $ac_status); }; } &&
24195
 
         { ac_try='test -s conftest.$ac_objext'
24196
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197
 
  (eval $ac_try) 2>&5
24198
 
  ac_status=$?
24199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200
 
  (exit $ac_status); }; }; then
 
24778
  (exit $ac_status); } && {
 
24779
         test -z "$ac_c_werror_flag" ||
 
24780
         test ! -s conftest.err
 
24781
       } && test -s conftest.$ac_objext; then
24201
24782
  ac_cv_type_unsigned_long=yes
24202
24783
else
24203
24784
  echo "$as_me: failed program was:" >&5
24204
24785
sed 's/^/| /' conftest.$ac_ext >&5
24205
24786
 
24206
 
ac_cv_type_unsigned_long=no
24207
 
fi
24208
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24209
 
fi
24210
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
24211
 
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
24212
 
 
24213
 
echo "$as_me:$LINENO: checking size of unsigned long" >&5
24214
 
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
 
24787
        ac_cv_type_unsigned_long=no
 
24788
fi
 
24789
 
 
24790
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24791
fi
 
24792
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
 
24793
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
 
24794
 
 
24795
# The cast to long int works around a bug in the HP C Compiler
 
24796
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
24797
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
24798
# This bug is HP SR number 8606223364.
 
24799
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
 
24800
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
24215
24801
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
24216
24802
  echo $ECHO_N "(cached) $ECHO_C" >&6
24217
24803
else
24218
 
  if test "$ac_cv_type_unsigned_long" = yes; then
24219
 
  # The cast to unsigned long works around a bug in the HP C Compiler
24220
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24221
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24222
 
  # This bug is HP SR number 8606223364.
24223
24804
  if test "$cross_compiling" = yes; then
24224
24805
  # Depending upon the size, compute the lo and hi bounds.
24225
24806
cat >conftest.$ac_ext <<_ACEOF
24229
24810
cat >>conftest.$ac_ext <<_ACEOF
24230
24811
/* end confdefs.h.  */
24231
24812
$ac_includes_default
 
24813
   typedef unsigned long ac__type_sizeof_;
24232
24814
int
24233
24815
main ()
24234
24816
{
24235
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
 
24817
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24236
24818
test_array [0] = 0
24237
24819
 
24238
24820
  ;
24240
24822
}
24241
24823
_ACEOF
24242
24824
rm -f conftest.$ac_objext
24243
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24244
 
  (eval $ac_compile) 2>conftest.er1
 
24825
if { (ac_try="$ac_compile"
 
24826
case "(($ac_try" in
 
24827
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24828
  *) ac_try_echo=$ac_try;;
 
24829
esac
 
24830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24831
  (eval "$ac_compile") 2>conftest.er1
24245
24832
  ac_status=$?
24246
24833
  grep -v '^ *+' conftest.er1 >conftest.err
24247
24834
  rm -f conftest.er1
24248
24835
  cat conftest.err >&5
24249
24836
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250
 
  (exit $ac_status); } &&
24251
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24252
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253
 
  (eval $ac_try) 2>&5
24254
 
  ac_status=$?
24255
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256
 
  (exit $ac_status); }; } &&
24257
 
         { ac_try='test -s conftest.$ac_objext'
24258
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259
 
  (eval $ac_try) 2>&5
24260
 
  ac_status=$?
24261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262
 
  (exit $ac_status); }; }; then
 
24837
  (exit $ac_status); } && {
 
24838
         test -z "$ac_c_werror_flag" ||
 
24839
         test ! -s conftest.err
 
24840
       } && test -s conftest.$ac_objext; then
24263
24841
  ac_lo=0 ac_mid=0
24264
24842
  while :; do
24265
24843
    cat >conftest.$ac_ext <<_ACEOF
24269
24847
cat >>conftest.$ac_ext <<_ACEOF
24270
24848
/* end confdefs.h.  */
24271
24849
$ac_includes_default
 
24850
   typedef unsigned long ac__type_sizeof_;
24272
24851
int
24273
24852
main ()
24274
24853
{
24275
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
24854
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24276
24855
test_array [0] = 0
24277
24856
 
24278
24857
  ;
24280
24859
}
24281
24860
_ACEOF
24282
24861
rm -f conftest.$ac_objext
24283
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24284
 
  (eval $ac_compile) 2>conftest.er1
 
24862
if { (ac_try="$ac_compile"
 
24863
case "(($ac_try" in
 
24864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24865
  *) ac_try_echo=$ac_try;;
 
24866
esac
 
24867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24868
  (eval "$ac_compile") 2>conftest.er1
24285
24869
  ac_status=$?
24286
24870
  grep -v '^ *+' conftest.er1 >conftest.err
24287
24871
  rm -f conftest.er1
24288
24872
  cat conftest.err >&5
24289
24873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290
 
  (exit $ac_status); } &&
24291
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24292
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293
 
  (eval $ac_try) 2>&5
24294
 
  ac_status=$?
24295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296
 
  (exit $ac_status); }; } &&
24297
 
         { ac_try='test -s conftest.$ac_objext'
24298
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299
 
  (eval $ac_try) 2>&5
24300
 
  ac_status=$?
24301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302
 
  (exit $ac_status); }; }; then
 
24874
  (exit $ac_status); } && {
 
24875
         test -z "$ac_c_werror_flag" ||
 
24876
         test ! -s conftest.err
 
24877
       } && test -s conftest.$ac_objext; then
24303
24878
  ac_hi=$ac_mid; break
24304
24879
else
24305
24880
  echo "$as_me: failed program was:" >&5
24306
24881
sed 's/^/| /' conftest.$ac_ext >&5
24307
24882
 
24308
 
ac_lo=`expr $ac_mid + 1`
24309
 
                    if test $ac_lo -le $ac_mid; then
24310
 
                      ac_lo= ac_hi=
24311
 
                      break
24312
 
                    fi
24313
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
24883
        ac_lo=`expr $ac_mid + 1`
 
24884
                        if test $ac_lo -le $ac_mid; then
 
24885
                          ac_lo= ac_hi=
 
24886
                          break
 
24887
                        fi
 
24888
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24314
24889
fi
24315
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24890
 
 
24891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24316
24892
  done
24317
24893
else
24318
24894
  echo "$as_me: failed program was:" >&5
24319
24895
sed 's/^/| /' conftest.$ac_ext >&5
24320
24896
 
24321
 
cat >conftest.$ac_ext <<_ACEOF
 
24897
        cat >conftest.$ac_ext <<_ACEOF
24322
24898
/* confdefs.h.  */
24323
24899
_ACEOF
24324
24900
cat confdefs.h >>conftest.$ac_ext
24325
24901
cat >>conftest.$ac_ext <<_ACEOF
24326
24902
/* end confdefs.h.  */
24327
24903
$ac_includes_default
 
24904
   typedef unsigned long ac__type_sizeof_;
24328
24905
int
24329
24906
main ()
24330
24907
{
24331
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
 
24908
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24332
24909
test_array [0] = 0
24333
24910
 
24334
24911
  ;
24336
24913
}
24337
24914
_ACEOF
24338
24915
rm -f conftest.$ac_objext
24339
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24340
 
  (eval $ac_compile) 2>conftest.er1
 
24916
if { (ac_try="$ac_compile"
 
24917
case "(($ac_try" in
 
24918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24919
  *) ac_try_echo=$ac_try;;
 
24920
esac
 
24921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24922
  (eval "$ac_compile") 2>conftest.er1
24341
24923
  ac_status=$?
24342
24924
  grep -v '^ *+' conftest.er1 >conftest.err
24343
24925
  rm -f conftest.er1
24344
24926
  cat conftest.err >&5
24345
24927
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346
 
  (exit $ac_status); } &&
24347
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24348
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24349
 
  (eval $ac_try) 2>&5
24350
 
  ac_status=$?
24351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352
 
  (exit $ac_status); }; } &&
24353
 
         { ac_try='test -s conftest.$ac_objext'
24354
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355
 
  (eval $ac_try) 2>&5
24356
 
  ac_status=$?
24357
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358
 
  (exit $ac_status); }; }; then
 
24928
  (exit $ac_status); } && {
 
24929
         test -z "$ac_c_werror_flag" ||
 
24930
         test ! -s conftest.err
 
24931
       } && test -s conftest.$ac_objext; then
24359
24932
  ac_hi=-1 ac_mid=-1
24360
24933
  while :; do
24361
24934
    cat >conftest.$ac_ext <<_ACEOF
24365
24938
cat >>conftest.$ac_ext <<_ACEOF
24366
24939
/* end confdefs.h.  */
24367
24940
$ac_includes_default
 
24941
   typedef unsigned long ac__type_sizeof_;
24368
24942
int
24369
24943
main ()
24370
24944
{
24371
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
 
24945
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24372
24946
test_array [0] = 0
24373
24947
 
24374
24948
  ;
24376
24950
}
24377
24951
_ACEOF
24378
24952
rm -f conftest.$ac_objext
24379
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24380
 
  (eval $ac_compile) 2>conftest.er1
 
24953
if { (ac_try="$ac_compile"
 
24954
case "(($ac_try" in
 
24955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
24956
  *) ac_try_echo=$ac_try;;
 
24957
esac
 
24958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
24959
  (eval "$ac_compile") 2>conftest.er1
24381
24960
  ac_status=$?
24382
24961
  grep -v '^ *+' conftest.er1 >conftest.err
24383
24962
  rm -f conftest.er1
24384
24963
  cat conftest.err >&5
24385
24964
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386
 
  (exit $ac_status); } &&
24387
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24388
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24389
 
  (eval $ac_try) 2>&5
24390
 
  ac_status=$?
24391
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392
 
  (exit $ac_status); }; } &&
24393
 
         { ac_try='test -s conftest.$ac_objext'
24394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24395
 
  (eval $ac_try) 2>&5
24396
 
  ac_status=$?
24397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398
 
  (exit $ac_status); }; }; then
 
24965
  (exit $ac_status); } && {
 
24966
         test -z "$ac_c_werror_flag" ||
 
24967
         test ! -s conftest.err
 
24968
       } && test -s conftest.$ac_objext; then
24399
24969
  ac_lo=$ac_mid; break
24400
24970
else
24401
24971
  echo "$as_me: failed program was:" >&5
24402
24972
sed 's/^/| /' conftest.$ac_ext >&5
24403
24973
 
24404
 
ac_hi=`expr '(' $ac_mid ')' - 1`
24405
 
                       if test $ac_mid -le $ac_hi; then
24406
 
                         ac_lo= ac_hi=
24407
 
                         break
24408
 
                       fi
24409
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
24974
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
24975
                        if test $ac_mid -le $ac_hi; then
 
24976
                          ac_lo= ac_hi=
 
24977
                          break
 
24978
                        fi
 
24979
                        ac_mid=`expr 2 '*' $ac_mid`
24410
24980
fi
24411
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24981
 
 
24982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24412
24983
  done
24413
24984
else
24414
24985
  echo "$as_me: failed program was:" >&5
24415
24986
sed 's/^/| /' conftest.$ac_ext >&5
24416
24987
 
24417
 
ac_lo= ac_hi=
24418
 
fi
24419
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24420
 
fi
24421
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
24988
        ac_lo= ac_hi=
 
24989
fi
 
24990
 
 
24991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
24992
fi
 
24993
 
 
24994
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422
24995
# Binary search between lo and hi bounds.
24423
24996
while test "x$ac_lo" != "x$ac_hi"; do
24424
24997
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24429
25002
cat >>conftest.$ac_ext <<_ACEOF
24430
25003
/* end confdefs.h.  */
24431
25004
$ac_includes_default
 
25005
   typedef unsigned long ac__type_sizeof_;
24432
25006
int
24433
25007
main ()
24434
25008
{
24435
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
 
25009
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24436
25010
test_array [0] = 0
24437
25011
 
24438
25012
  ;
24440
25014
}
24441
25015
_ACEOF
24442
25016
rm -f conftest.$ac_objext
24443
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24444
 
  (eval $ac_compile) 2>conftest.er1
 
25017
if { (ac_try="$ac_compile"
 
25018
case "(($ac_try" in
 
25019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25020
  *) ac_try_echo=$ac_try;;
 
25021
esac
 
25022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25023
  (eval "$ac_compile") 2>conftest.er1
24445
25024
  ac_status=$?
24446
25025
  grep -v '^ *+' conftest.er1 >conftest.err
24447
25026
  rm -f conftest.er1
24448
25027
  cat conftest.err >&5
24449
25028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450
 
  (exit $ac_status); } &&
24451
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24452
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453
 
  (eval $ac_try) 2>&5
24454
 
  ac_status=$?
24455
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456
 
  (exit $ac_status); }; } &&
24457
 
         { ac_try='test -s conftest.$ac_objext'
24458
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459
 
  (eval $ac_try) 2>&5
24460
 
  ac_status=$?
24461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462
 
  (exit $ac_status); }; }; then
 
25029
  (exit $ac_status); } && {
 
25030
         test -z "$ac_c_werror_flag" ||
 
25031
         test ! -s conftest.err
 
25032
       } && test -s conftest.$ac_objext; then
24463
25033
  ac_hi=$ac_mid
24464
25034
else
24465
25035
  echo "$as_me: failed program was:" >&5
24466
25036
sed 's/^/| /' conftest.$ac_ext >&5
24467
25037
 
24468
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
25038
        ac_lo=`expr '(' $ac_mid ')' + 1`
24469
25039
fi
24470
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25040
 
 
25041
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24471
25042
done
24472
25043
case $ac_lo in
24473
25044
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
24474
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
25045
'') if test "$ac_cv_type_unsigned_long" = yes; then
 
25046
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
24475
25047
See \`config.log' for more details." >&5
24476
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
25048
echo "$as_me: error: cannot compute sizeof (unsigned long)
24477
25049
See \`config.log' for more details." >&2;}
24478
 
   { (exit 1); exit 1; }; } ;;
 
25050
   { (exit 77); exit 77; }; }
 
25051
   else
 
25052
     ac_cv_sizeof_unsigned_long=0
 
25053
   fi ;;
24479
25054
esac
24480
25055
else
24481
 
  if test "$cross_compiling" = yes; then
24482
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
24483
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
24484
 
   { (exit 1); exit 1; }; }
24485
 
else
24486
25056
  cat >conftest.$ac_ext <<_ACEOF
24487
25057
/* confdefs.h.  */
24488
25058
_ACEOF
24490
25060
cat >>conftest.$ac_ext <<_ACEOF
24491
25061
/* end confdefs.h.  */
24492
25062
$ac_includes_default
24493
 
long longval () { return (long) (sizeof (unsigned long)); }
24494
 
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
 
25063
   typedef unsigned long ac__type_sizeof_;
 
25064
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
25065
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24495
25066
#include <stdio.h>
24496
25067
#include <stdlib.h>
24497
25068
int
24500
25071
 
24501
25072
  FILE *f = fopen ("conftest.val", "w");
24502
25073
  if (! f)
24503
 
    exit (1);
24504
 
  if (((long) (sizeof (unsigned long))) < 0)
 
25074
    return 1;
 
25075
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24505
25076
    {
24506
 
      long i = longval ();
24507
 
      if (i != ((long) (sizeof (unsigned long))))
24508
 
        exit (1);
 
25077
      long int i = longval ();
 
25078
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25079
        return 1;
24509
25080
      fprintf (f, "%ld\n", i);
24510
25081
    }
24511
25082
  else
24512
25083
    {
24513
 
      unsigned long i = ulongval ();
24514
 
      if (i != ((long) (sizeof (unsigned long))))
24515
 
        exit (1);
 
25084
      unsigned long int i = ulongval ();
 
25085
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25086
        return 1;
24516
25087
      fprintf (f, "%lu\n", i);
24517
25088
    }
24518
 
  exit (ferror (f) || fclose (f) != 0);
 
25089
  return ferror (f) || fclose (f) != 0;
24519
25090
 
24520
25091
  ;
24521
25092
  return 0;
24522
25093
}
24523
25094
_ACEOF
24524
25095
rm -f conftest$ac_exeext
24525
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526
 
  (eval $ac_link) 2>&5
 
25096
if { (ac_try="$ac_link"
 
25097
case "(($ac_try" in
 
25098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25099
  *) ac_try_echo=$ac_try;;
 
25100
esac
 
25101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25102
  (eval "$ac_link") 2>&5
24527
25103
  ac_status=$?
24528
25104
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529
25105
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24530
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531
 
  (eval $ac_try) 2>&5
 
25106
  { (case "(($ac_try" in
 
25107
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25108
  *) ac_try_echo=$ac_try;;
 
25109
esac
 
25110
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25111
  (eval "$ac_try") 2>&5
24532
25112
  ac_status=$?
24533
25113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534
25114
  (exit $ac_status); }; }; then
24539
25119
sed 's/^/| /' conftest.$ac_ext >&5
24540
25120
 
24541
25121
( exit $ac_status )
24542
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
 
25122
if test "$ac_cv_type_unsigned_long" = yes; then
 
25123
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
24543
25124
See \`config.log' for more details." >&5
24544
 
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
 
25125
echo "$as_me: error: cannot compute sizeof (unsigned long)
24545
25126
See \`config.log' for more details." >&2;}
24546
 
   { (exit 1); exit 1; }; }
24547
 
fi
24548
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24549
 
fi
 
25127
   { (exit 77); exit 77; }; }
 
25128
   else
 
25129
     ac_cv_sizeof_unsigned_long=0
 
25130
   fi
 
25131
fi
 
25132
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24550
25133
fi
24551
25134
rm -f conftest.val
24552
 
else
24553
 
  ac_cv_sizeof_unsigned_long=0
24554
 
fi
24555
 
fi
24556
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
24557
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
 
25135
fi
 
25136
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
 
25137
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
 
25138
 
 
25139
 
 
25140
 
24558
25141
cat >>confdefs.h <<_ACEOF
24559
25142
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
24560
25143
_ACEOF
24561
25144
 
24562
25145
 
24563
 
echo "$as_me:$LINENO: checking for long long" >&5
24564
 
echo $ECHO_N "checking for long long... $ECHO_C" >&6
 
25146
{ echo "$as_me:$LINENO: checking for long long" >&5
 
25147
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24565
25148
if test "${ac_cv_type_long_long+set}" = set; then
24566
25149
  echo $ECHO_N "(cached) $ECHO_C" >&6
24567
25150
else
24572
25155
cat >>conftest.$ac_ext <<_ACEOF
24573
25156
/* end confdefs.h.  */
24574
25157
$ac_includes_default
 
25158
typedef long long ac__type_new_;
24575
25159
int
24576
25160
main ()
24577
25161
{
24578
 
if ((long long *) 0)
 
25162
if ((ac__type_new_ *) 0)
24579
25163
  return 0;
24580
 
if (sizeof (long long))
 
25164
if (sizeof (ac__type_new_))
24581
25165
  return 0;
24582
25166
  ;
24583
25167
  return 0;
24584
25168
}
24585
25169
_ACEOF
24586
25170
rm -f conftest.$ac_objext
24587
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24588
 
  (eval $ac_compile) 2>conftest.er1
 
25171
if { (ac_try="$ac_compile"
 
25172
case "(($ac_try" in
 
25173
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25174
  *) ac_try_echo=$ac_try;;
 
25175
esac
 
25176
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25177
  (eval "$ac_compile") 2>conftest.er1
24589
25178
  ac_status=$?
24590
25179
  grep -v '^ *+' conftest.er1 >conftest.err
24591
25180
  rm -f conftest.er1
24592
25181
  cat conftest.err >&5
24593
25182
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594
 
  (exit $ac_status); } &&
24595
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24596
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597
 
  (eval $ac_try) 2>&5
24598
 
  ac_status=$?
24599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600
 
  (exit $ac_status); }; } &&
24601
 
         { ac_try='test -s conftest.$ac_objext'
24602
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603
 
  (eval $ac_try) 2>&5
24604
 
  ac_status=$?
24605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606
 
  (exit $ac_status); }; }; then
 
25183
  (exit $ac_status); } && {
 
25184
         test -z "$ac_c_werror_flag" ||
 
25185
         test ! -s conftest.err
 
25186
       } && test -s conftest.$ac_objext; then
24607
25187
  ac_cv_type_long_long=yes
24608
25188
else
24609
25189
  echo "$as_me: failed program was:" >&5
24610
25190
sed 's/^/| /' conftest.$ac_ext >&5
24611
25191
 
24612
 
ac_cv_type_long_long=no
24613
 
fi
24614
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24615
 
fi
24616
 
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24617
 
echo "${ECHO_T}$ac_cv_type_long_long" >&6
24618
 
 
24619
 
echo "$as_me:$LINENO: checking size of long long" >&5
24620
 
echo $ECHO_N "checking size of long long... $ECHO_C" >&6
 
25192
        ac_cv_type_long_long=no
 
25193
fi
 
25194
 
 
25195
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25196
fi
 
25197
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 
25198
echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
 
25199
 
 
25200
# The cast to long int works around a bug in the HP C Compiler
 
25201
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
25202
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
25203
# This bug is HP SR number 8606223364.
 
25204
{ echo "$as_me:$LINENO: checking size of long long" >&5
 
25205
echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24621
25206
if test "${ac_cv_sizeof_long_long+set}" = set; then
24622
25207
  echo $ECHO_N "(cached) $ECHO_C" >&6
24623
25208
else
24624
 
  if test "$ac_cv_type_long_long" = yes; then
24625
 
  # The cast to unsigned long works around a bug in the HP C Compiler
24626
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24627
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24628
 
  # This bug is HP SR number 8606223364.
24629
25209
  if test "$cross_compiling" = yes; then
24630
25210
  # Depending upon the size, compute the lo and hi bounds.
24631
25211
cat >conftest.$ac_ext <<_ACEOF
24635
25215
cat >>conftest.$ac_ext <<_ACEOF
24636
25216
/* end confdefs.h.  */
24637
25217
$ac_includes_default
 
25218
   typedef long long ac__type_sizeof_;
24638
25219
int
24639
25220
main ()
24640
25221
{
24641
 
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
 
25222
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24642
25223
test_array [0] = 0
24643
25224
 
24644
25225
  ;
24646
25227
}
24647
25228
_ACEOF
24648
25229
rm -f conftest.$ac_objext
24649
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24650
 
  (eval $ac_compile) 2>conftest.er1
 
25230
if { (ac_try="$ac_compile"
 
25231
case "(($ac_try" in
 
25232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25233
  *) ac_try_echo=$ac_try;;
 
25234
esac
 
25235
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25236
  (eval "$ac_compile") 2>conftest.er1
24651
25237
  ac_status=$?
24652
25238
  grep -v '^ *+' conftest.er1 >conftest.err
24653
25239
  rm -f conftest.er1
24654
25240
  cat conftest.err >&5
24655
25241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656
 
  (exit $ac_status); } &&
24657
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659
 
  (eval $ac_try) 2>&5
24660
 
  ac_status=$?
24661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662
 
  (exit $ac_status); }; } &&
24663
 
         { ac_try='test -s conftest.$ac_objext'
24664
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665
 
  (eval $ac_try) 2>&5
24666
 
  ac_status=$?
24667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668
 
  (exit $ac_status); }; }; then
 
25242
  (exit $ac_status); } && {
 
25243
         test -z "$ac_c_werror_flag" ||
 
25244
         test ! -s conftest.err
 
25245
       } && test -s conftest.$ac_objext; then
24669
25246
  ac_lo=0 ac_mid=0
24670
25247
  while :; do
24671
25248
    cat >conftest.$ac_ext <<_ACEOF
24675
25252
cat >>conftest.$ac_ext <<_ACEOF
24676
25253
/* end confdefs.h.  */
24677
25254
$ac_includes_default
 
25255
   typedef long long ac__type_sizeof_;
24678
25256
int
24679
25257
main ()
24680
25258
{
24681
 
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
25259
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24682
25260
test_array [0] = 0
24683
25261
 
24684
25262
  ;
24686
25264
}
24687
25265
_ACEOF
24688
25266
rm -f conftest.$ac_objext
24689
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24690
 
  (eval $ac_compile) 2>conftest.er1
 
25267
if { (ac_try="$ac_compile"
 
25268
case "(($ac_try" in
 
25269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25270
  *) ac_try_echo=$ac_try;;
 
25271
esac
 
25272
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25273
  (eval "$ac_compile") 2>conftest.er1
24691
25274
  ac_status=$?
24692
25275
  grep -v '^ *+' conftest.er1 >conftest.err
24693
25276
  rm -f conftest.er1
24694
25277
  cat conftest.err >&5
24695
25278
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696
 
  (exit $ac_status); } &&
24697
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24698
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24699
 
  (eval $ac_try) 2>&5
24700
 
  ac_status=$?
24701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702
 
  (exit $ac_status); }; } &&
24703
 
         { ac_try='test -s conftest.$ac_objext'
24704
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705
 
  (eval $ac_try) 2>&5
24706
 
  ac_status=$?
24707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708
 
  (exit $ac_status); }; }; then
 
25279
  (exit $ac_status); } && {
 
25280
         test -z "$ac_c_werror_flag" ||
 
25281
         test ! -s conftest.err
 
25282
       } && test -s conftest.$ac_objext; then
24709
25283
  ac_hi=$ac_mid; break
24710
25284
else
24711
25285
  echo "$as_me: failed program was:" >&5
24712
25286
sed 's/^/| /' conftest.$ac_ext >&5
24713
25287
 
24714
 
ac_lo=`expr $ac_mid + 1`
24715
 
                    if test $ac_lo -le $ac_mid; then
24716
 
                      ac_lo= ac_hi=
24717
 
                      break
24718
 
                    fi
24719
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
25288
        ac_lo=`expr $ac_mid + 1`
 
25289
                        if test $ac_lo -le $ac_mid; then
 
25290
                          ac_lo= ac_hi=
 
25291
                          break
 
25292
                        fi
 
25293
                        ac_mid=`expr 2 '*' $ac_mid + 1`
24720
25294
fi
24721
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25295
 
 
25296
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722
25297
  done
24723
25298
else
24724
25299
  echo "$as_me: failed program was:" >&5
24725
25300
sed 's/^/| /' conftest.$ac_ext >&5
24726
25301
 
24727
 
cat >conftest.$ac_ext <<_ACEOF
 
25302
        cat >conftest.$ac_ext <<_ACEOF
24728
25303
/* confdefs.h.  */
24729
25304
_ACEOF
24730
25305
cat confdefs.h >>conftest.$ac_ext
24731
25306
cat >>conftest.$ac_ext <<_ACEOF
24732
25307
/* end confdefs.h.  */
24733
25308
$ac_includes_default
 
25309
   typedef long long ac__type_sizeof_;
24734
25310
int
24735
25311
main ()
24736
25312
{
24737
 
static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
 
25313
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24738
25314
test_array [0] = 0
24739
25315
 
24740
25316
  ;
24742
25318
}
24743
25319
_ACEOF
24744
25320
rm -f conftest.$ac_objext
24745
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24746
 
  (eval $ac_compile) 2>conftest.er1
 
25321
if { (ac_try="$ac_compile"
 
25322
case "(($ac_try" in
 
25323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25324
  *) ac_try_echo=$ac_try;;
 
25325
esac
 
25326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25327
  (eval "$ac_compile") 2>conftest.er1
24747
25328
  ac_status=$?
24748
25329
  grep -v '^ *+' conftest.er1 >conftest.err
24749
25330
  rm -f conftest.er1
24750
25331
  cat conftest.err >&5
24751
25332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752
 
  (exit $ac_status); } &&
24753
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24754
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755
 
  (eval $ac_try) 2>&5
24756
 
  ac_status=$?
24757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758
 
  (exit $ac_status); }; } &&
24759
 
         { ac_try='test -s conftest.$ac_objext'
24760
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761
 
  (eval $ac_try) 2>&5
24762
 
  ac_status=$?
24763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764
 
  (exit $ac_status); }; }; then
 
25333
  (exit $ac_status); } && {
 
25334
         test -z "$ac_c_werror_flag" ||
 
25335
         test ! -s conftest.err
 
25336
       } && test -s conftest.$ac_objext; then
24765
25337
  ac_hi=-1 ac_mid=-1
24766
25338
  while :; do
24767
25339
    cat >conftest.$ac_ext <<_ACEOF
24771
25343
cat >>conftest.$ac_ext <<_ACEOF
24772
25344
/* end confdefs.h.  */
24773
25345
$ac_includes_default
 
25346
   typedef long long ac__type_sizeof_;
24774
25347
int
24775
25348
main ()
24776
25349
{
24777
 
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
 
25350
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24778
25351
test_array [0] = 0
24779
25352
 
24780
25353
  ;
24782
25355
}
24783
25356
_ACEOF
24784
25357
rm -f conftest.$ac_objext
24785
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24786
 
  (eval $ac_compile) 2>conftest.er1
 
25358
if { (ac_try="$ac_compile"
 
25359
case "(($ac_try" in
 
25360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25361
  *) ac_try_echo=$ac_try;;
 
25362
esac
 
25363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25364
  (eval "$ac_compile") 2>conftest.er1
24787
25365
  ac_status=$?
24788
25366
  grep -v '^ *+' conftest.er1 >conftest.err
24789
25367
  rm -f conftest.er1
24790
25368
  cat conftest.err >&5
24791
25369
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792
 
  (exit $ac_status); } &&
24793
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24794
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24795
 
  (eval $ac_try) 2>&5
24796
 
  ac_status=$?
24797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798
 
  (exit $ac_status); }; } &&
24799
 
         { ac_try='test -s conftest.$ac_objext'
24800
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24801
 
  (eval $ac_try) 2>&5
24802
 
  ac_status=$?
24803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804
 
  (exit $ac_status); }; }; then
 
25370
  (exit $ac_status); } && {
 
25371
         test -z "$ac_c_werror_flag" ||
 
25372
         test ! -s conftest.err
 
25373
       } && test -s conftest.$ac_objext; then
24805
25374
  ac_lo=$ac_mid; break
24806
25375
else
24807
25376
  echo "$as_me: failed program was:" >&5
24808
25377
sed 's/^/| /' conftest.$ac_ext >&5
24809
25378
 
24810
 
ac_hi=`expr '(' $ac_mid ')' - 1`
24811
 
                       if test $ac_mid -le $ac_hi; then
24812
 
                         ac_lo= ac_hi=
24813
 
                         break
24814
 
                       fi
24815
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
25379
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
25380
                        if test $ac_mid -le $ac_hi; then
 
25381
                          ac_lo= ac_hi=
 
25382
                          break
 
25383
                        fi
 
25384
                        ac_mid=`expr 2 '*' $ac_mid`
24816
25385
fi
24817
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25386
 
 
25387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24818
25388
  done
24819
25389
else
24820
25390
  echo "$as_me: failed program was:" >&5
24821
25391
sed 's/^/| /' conftest.$ac_ext >&5
24822
25392
 
24823
 
ac_lo= ac_hi=
24824
 
fi
24825
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24826
 
fi
24827
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25393
        ac_lo= ac_hi=
 
25394
fi
 
25395
 
 
25396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25397
fi
 
25398
 
 
25399
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24828
25400
# Binary search between lo and hi bounds.
24829
25401
while test "x$ac_lo" != "x$ac_hi"; do
24830
25402
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24835
25407
cat >>conftest.$ac_ext <<_ACEOF
24836
25408
/* end confdefs.h.  */
24837
25409
$ac_includes_default
 
25410
   typedef long long ac__type_sizeof_;
24838
25411
int
24839
25412
main ()
24840
25413
{
24841
 
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
 
25414
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24842
25415
test_array [0] = 0
24843
25416
 
24844
25417
  ;
24846
25419
}
24847
25420
_ACEOF
24848
25421
rm -f conftest.$ac_objext
24849
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24850
 
  (eval $ac_compile) 2>conftest.er1
 
25422
if { (ac_try="$ac_compile"
 
25423
case "(($ac_try" in
 
25424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25425
  *) ac_try_echo=$ac_try;;
 
25426
esac
 
25427
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25428
  (eval "$ac_compile") 2>conftest.er1
24851
25429
  ac_status=$?
24852
25430
  grep -v '^ *+' conftest.er1 >conftest.err
24853
25431
  rm -f conftest.er1
24854
25432
  cat conftest.err >&5
24855
25433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856
 
  (exit $ac_status); } &&
24857
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
24858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859
 
  (eval $ac_try) 2>&5
24860
 
  ac_status=$?
24861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862
 
  (exit $ac_status); }; } &&
24863
 
         { ac_try='test -s conftest.$ac_objext'
24864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865
 
  (eval $ac_try) 2>&5
24866
 
  ac_status=$?
24867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868
 
  (exit $ac_status); }; }; then
 
25434
  (exit $ac_status); } && {
 
25435
         test -z "$ac_c_werror_flag" ||
 
25436
         test ! -s conftest.err
 
25437
       } && test -s conftest.$ac_objext; then
24869
25438
  ac_hi=$ac_mid
24870
25439
else
24871
25440
  echo "$as_me: failed program was:" >&5
24872
25441
sed 's/^/| /' conftest.$ac_ext >&5
24873
25442
 
24874
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
25443
        ac_lo=`expr '(' $ac_mid ')' + 1`
24875
25444
fi
24876
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25445
 
 
25446
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877
25447
done
24878
25448
case $ac_lo in
24879
25449
?*) ac_cv_sizeof_long_long=$ac_lo;;
24880
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
25450
'') if test "$ac_cv_type_long_long" = yes; then
 
25451
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24881
25452
See \`config.log' for more details." >&5
24882
 
echo "$as_me: error: cannot compute sizeof (long long), 77
 
25453
echo "$as_me: error: cannot compute sizeof (long long)
24883
25454
See \`config.log' for more details." >&2;}
24884
 
   { (exit 1); exit 1; }; } ;;
 
25455
   { (exit 77); exit 77; }; }
 
25456
   else
 
25457
     ac_cv_sizeof_long_long=0
 
25458
   fi ;;
24885
25459
esac
24886
25460
else
24887
 
  if test "$cross_compiling" = yes; then
24888
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
24889
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
24890
 
   { (exit 1); exit 1; }; }
24891
 
else
24892
25461
  cat >conftest.$ac_ext <<_ACEOF
24893
25462
/* confdefs.h.  */
24894
25463
_ACEOF
24896
25465
cat >>conftest.$ac_ext <<_ACEOF
24897
25466
/* end confdefs.h.  */
24898
25467
$ac_includes_default
24899
 
long longval () { return (long) (sizeof (long long)); }
24900
 
unsigned long ulongval () { return (long) (sizeof (long long)); }
 
25468
   typedef long long ac__type_sizeof_;
 
25469
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
25470
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24901
25471
#include <stdio.h>
24902
25472
#include <stdlib.h>
24903
25473
int
24906
25476
 
24907
25477
  FILE *f = fopen ("conftest.val", "w");
24908
25478
  if (! f)
24909
 
    exit (1);
24910
 
  if (((long) (sizeof (long long))) < 0)
 
25479
    return 1;
 
25480
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24911
25481
    {
24912
 
      long i = longval ();
24913
 
      if (i != ((long) (sizeof (long long))))
24914
 
        exit (1);
 
25482
      long int i = longval ();
 
25483
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25484
        return 1;
24915
25485
      fprintf (f, "%ld\n", i);
24916
25486
    }
24917
25487
  else
24918
25488
    {
24919
 
      unsigned long i = ulongval ();
24920
 
      if (i != ((long) (sizeof (long long))))
24921
 
        exit (1);
 
25489
      unsigned long int i = ulongval ();
 
25490
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25491
        return 1;
24922
25492
      fprintf (f, "%lu\n", i);
24923
25493
    }
24924
 
  exit (ferror (f) || fclose (f) != 0);
 
25494
  return ferror (f) || fclose (f) != 0;
24925
25495
 
24926
25496
  ;
24927
25497
  return 0;
24928
25498
}
24929
25499
_ACEOF
24930
25500
rm -f conftest$ac_exeext
24931
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24932
 
  (eval $ac_link) 2>&5
 
25501
if { (ac_try="$ac_link"
 
25502
case "(($ac_try" in
 
25503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25504
  *) ac_try_echo=$ac_try;;
 
25505
esac
 
25506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25507
  (eval "$ac_link") 2>&5
24933
25508
  ac_status=$?
24934
25509
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935
25510
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937
 
  (eval $ac_try) 2>&5
 
25511
  { (case "(($ac_try" in
 
25512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25513
  *) ac_try_echo=$ac_try;;
 
25514
esac
 
25515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25516
  (eval "$ac_try") 2>&5
24938
25517
  ac_status=$?
24939
25518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940
25519
  (exit $ac_status); }; }; then
24945
25524
sed 's/^/| /' conftest.$ac_ext >&5
24946
25525
 
24947
25526
( exit $ac_status )
24948
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
 
25527
if test "$ac_cv_type_long_long" = yes; then
 
25528
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24949
25529
See \`config.log' for more details." >&5
24950
 
echo "$as_me: error: cannot compute sizeof (long long), 77
 
25530
echo "$as_me: error: cannot compute sizeof (long long)
24951
25531
See \`config.log' for more details." >&2;}
24952
 
   { (exit 1); exit 1; }; }
24953
 
fi
24954
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24955
 
fi
 
25532
   { (exit 77); exit 77; }; }
 
25533
   else
 
25534
     ac_cv_sizeof_long_long=0
 
25535
   fi
 
25536
fi
 
25537
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24956
25538
fi
24957
25539
rm -f conftest.val
24958
 
else
24959
 
  ac_cv_sizeof_long_long=0
24960
 
fi
24961
 
fi
24962
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24963
 
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
 
25540
fi
 
25541
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
 
25542
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
 
25543
 
 
25544
 
 
25545
 
24964
25546
cat >>confdefs.h <<_ACEOF
24965
25547
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24966
25548
_ACEOF
24967
25549
 
24968
25550
 
24969
 
echo "$as_me:$LINENO: checking for unsigned long long" >&5
24970
 
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
 
25551
{ echo "$as_me:$LINENO: checking for unsigned long long" >&5
 
25552
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
24971
25553
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
24972
25554
  echo $ECHO_N "(cached) $ECHO_C" >&6
24973
25555
else
24978
25560
cat >>conftest.$ac_ext <<_ACEOF
24979
25561
/* end confdefs.h.  */
24980
25562
$ac_includes_default
 
25563
typedef unsigned long long ac__type_new_;
24981
25564
int
24982
25565
main ()
24983
25566
{
24984
 
if ((unsigned long long *) 0)
 
25567
if ((ac__type_new_ *) 0)
24985
25568
  return 0;
24986
 
if (sizeof (unsigned long long))
 
25569
if (sizeof (ac__type_new_))
24987
25570
  return 0;
24988
25571
  ;
24989
25572
  return 0;
24990
25573
}
24991
25574
_ACEOF
24992
25575
rm -f conftest.$ac_objext
24993
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24994
 
  (eval $ac_compile) 2>conftest.er1
 
25576
if { (ac_try="$ac_compile"
 
25577
case "(($ac_try" in
 
25578
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25579
  *) ac_try_echo=$ac_try;;
 
25580
esac
 
25581
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25582
  (eval "$ac_compile") 2>conftest.er1
24995
25583
  ac_status=$?
24996
25584
  grep -v '^ *+' conftest.er1 >conftest.err
24997
25585
  rm -f conftest.er1
24998
25586
  cat conftest.err >&5
24999
25587
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000
 
  (exit $ac_status); } &&
25001
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25002
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003
 
  (eval $ac_try) 2>&5
25004
 
  ac_status=$?
25005
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006
 
  (exit $ac_status); }; } &&
25007
 
         { ac_try='test -s conftest.$ac_objext'
25008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25009
 
  (eval $ac_try) 2>&5
25010
 
  ac_status=$?
25011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012
 
  (exit $ac_status); }; }; then
 
25588
  (exit $ac_status); } && {
 
25589
         test -z "$ac_c_werror_flag" ||
 
25590
         test ! -s conftest.err
 
25591
       } && test -s conftest.$ac_objext; then
25013
25592
  ac_cv_type_unsigned_long_long=yes
25014
25593
else
25015
25594
  echo "$as_me: failed program was:" >&5
25016
25595
sed 's/^/| /' conftest.$ac_ext >&5
25017
25596
 
25018
 
ac_cv_type_unsigned_long_long=no
25019
 
fi
25020
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25021
 
fi
25022
 
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
25023
 
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
25024
 
 
25025
 
echo "$as_me:$LINENO: checking size of unsigned long long" >&5
25026
 
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
 
25597
        ac_cv_type_unsigned_long_long=no
 
25598
fi
 
25599
 
 
25600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25601
fi
 
25602
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
 
25603
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
 
25604
 
 
25605
# The cast to long int works around a bug in the HP C Compiler
 
25606
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
25607
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
25608
# This bug is HP SR number 8606223364.
 
25609
{ echo "$as_me:$LINENO: checking size of unsigned long long" >&5
 
25610
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
25027
25611
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
25028
25612
  echo $ECHO_N "(cached) $ECHO_C" >&6
25029
25613
else
25030
 
  if test "$ac_cv_type_unsigned_long_long" = yes; then
25031
 
  # The cast to unsigned long works around a bug in the HP C Compiler
25032
 
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25033
 
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25034
 
  # This bug is HP SR number 8606223364.
25035
25614
  if test "$cross_compiling" = yes; then
25036
25615
  # Depending upon the size, compute the lo and hi bounds.
25037
25616
cat >conftest.$ac_ext <<_ACEOF
25041
25620
cat >>conftest.$ac_ext <<_ACEOF
25042
25621
/* end confdefs.h.  */
25043
25622
$ac_includes_default
 
25623
   typedef unsigned long long ac__type_sizeof_;
25044
25624
int
25045
25625
main ()
25046
25626
{
25047
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)];
 
25627
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25048
25628
test_array [0] = 0
25049
25629
 
25050
25630
  ;
25052
25632
}
25053
25633
_ACEOF
25054
25634
rm -f conftest.$ac_objext
25055
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25056
 
  (eval $ac_compile) 2>conftest.er1
 
25635
if { (ac_try="$ac_compile"
 
25636
case "(($ac_try" in
 
25637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25638
  *) ac_try_echo=$ac_try;;
 
25639
esac
 
25640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25641
  (eval "$ac_compile") 2>conftest.er1
25057
25642
  ac_status=$?
25058
25643
  grep -v '^ *+' conftest.er1 >conftest.err
25059
25644
  rm -f conftest.er1
25060
25645
  cat conftest.err >&5
25061
25646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062
 
  (exit $ac_status); } &&
25063
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25064
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25065
 
  (eval $ac_try) 2>&5
25066
 
  ac_status=$?
25067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068
 
  (exit $ac_status); }; } &&
25069
 
         { ac_try='test -s conftest.$ac_objext'
25070
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25071
 
  (eval $ac_try) 2>&5
25072
 
  ac_status=$?
25073
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074
 
  (exit $ac_status); }; }; then
 
25647
  (exit $ac_status); } && {
 
25648
         test -z "$ac_c_werror_flag" ||
 
25649
         test ! -s conftest.err
 
25650
       } && test -s conftest.$ac_objext; then
25075
25651
  ac_lo=0 ac_mid=0
25076
25652
  while :; do
25077
25653
    cat >conftest.$ac_ext <<_ACEOF
25081
25657
cat >>conftest.$ac_ext <<_ACEOF
25082
25658
/* end confdefs.h.  */
25083
25659
$ac_includes_default
 
25660
   typedef unsigned long long ac__type_sizeof_;
25084
25661
int
25085
25662
main ()
25086
25663
{
25087
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
 
25664
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25088
25665
test_array [0] = 0
25089
25666
 
25090
25667
  ;
25092
25669
}
25093
25670
_ACEOF
25094
25671
rm -f conftest.$ac_objext
25095
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25096
 
  (eval $ac_compile) 2>conftest.er1
 
25672
if { (ac_try="$ac_compile"
 
25673
case "(($ac_try" in
 
25674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25675
  *) ac_try_echo=$ac_try;;
 
25676
esac
 
25677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25678
  (eval "$ac_compile") 2>conftest.er1
25097
25679
  ac_status=$?
25098
25680
  grep -v '^ *+' conftest.er1 >conftest.err
25099
25681
  rm -f conftest.er1
25100
25682
  cat conftest.err >&5
25101
25683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102
 
  (exit $ac_status); } &&
25103
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25104
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25105
 
  (eval $ac_try) 2>&5
25106
 
  ac_status=$?
25107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108
 
  (exit $ac_status); }; } &&
25109
 
         { ac_try='test -s conftest.$ac_objext'
25110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25111
 
  (eval $ac_try) 2>&5
25112
 
  ac_status=$?
25113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114
 
  (exit $ac_status); }; }; then
 
25684
  (exit $ac_status); } && {
 
25685
         test -z "$ac_c_werror_flag" ||
 
25686
         test ! -s conftest.err
 
25687
       } && test -s conftest.$ac_objext; then
25115
25688
  ac_hi=$ac_mid; break
25116
25689
else
25117
25690
  echo "$as_me: failed program was:" >&5
25118
25691
sed 's/^/| /' conftest.$ac_ext >&5
25119
25692
 
25120
 
ac_lo=`expr $ac_mid + 1`
25121
 
                    if test $ac_lo -le $ac_mid; then
25122
 
                      ac_lo= ac_hi=
25123
 
                      break
25124
 
                    fi
25125
 
                    ac_mid=`expr 2 '*' $ac_mid + 1`
 
25693
        ac_lo=`expr $ac_mid + 1`
 
25694
                        if test $ac_lo -le $ac_mid; then
 
25695
                          ac_lo= ac_hi=
 
25696
                          break
 
25697
                        fi
 
25698
                        ac_mid=`expr 2 '*' $ac_mid + 1`
25126
25699
fi
25127
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25700
 
 
25701
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128
25702
  done
25129
25703
else
25130
25704
  echo "$as_me: failed program was:" >&5
25131
25705
sed 's/^/| /' conftest.$ac_ext >&5
25132
25706
 
25133
 
cat >conftest.$ac_ext <<_ACEOF
 
25707
        cat >conftest.$ac_ext <<_ACEOF
25134
25708
/* confdefs.h.  */
25135
25709
_ACEOF
25136
25710
cat confdefs.h >>conftest.$ac_ext
25137
25711
cat >>conftest.$ac_ext <<_ACEOF
25138
25712
/* end confdefs.h.  */
25139
25713
$ac_includes_default
 
25714
   typedef unsigned long long ac__type_sizeof_;
25140
25715
int
25141
25716
main ()
25142
25717
{
25143
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)];
 
25718
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25144
25719
test_array [0] = 0
25145
25720
 
25146
25721
  ;
25148
25723
}
25149
25724
_ACEOF
25150
25725
rm -f conftest.$ac_objext
25151
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25152
 
  (eval $ac_compile) 2>conftest.er1
 
25726
if { (ac_try="$ac_compile"
 
25727
case "(($ac_try" in
 
25728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25729
  *) ac_try_echo=$ac_try;;
 
25730
esac
 
25731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25732
  (eval "$ac_compile") 2>conftest.er1
25153
25733
  ac_status=$?
25154
25734
  grep -v '^ *+' conftest.er1 >conftest.err
25155
25735
  rm -f conftest.er1
25156
25736
  cat conftest.err >&5
25157
25737
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158
 
  (exit $ac_status); } &&
25159
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161
 
  (eval $ac_try) 2>&5
25162
 
  ac_status=$?
25163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164
 
  (exit $ac_status); }; } &&
25165
 
         { ac_try='test -s conftest.$ac_objext'
25166
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167
 
  (eval $ac_try) 2>&5
25168
 
  ac_status=$?
25169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170
 
  (exit $ac_status); }; }; then
 
25738
  (exit $ac_status); } && {
 
25739
         test -z "$ac_c_werror_flag" ||
 
25740
         test ! -s conftest.err
 
25741
       } && test -s conftest.$ac_objext; then
25171
25742
  ac_hi=-1 ac_mid=-1
25172
25743
  while :; do
25173
25744
    cat >conftest.$ac_ext <<_ACEOF
25177
25748
cat >>conftest.$ac_ext <<_ACEOF
25178
25749
/* end confdefs.h.  */
25179
25750
$ac_includes_default
 
25751
   typedef unsigned long long ac__type_sizeof_;
25180
25752
int
25181
25753
main ()
25182
25754
{
25183
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)];
 
25755
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25184
25756
test_array [0] = 0
25185
25757
 
25186
25758
  ;
25188
25760
}
25189
25761
_ACEOF
25190
25762
rm -f conftest.$ac_objext
25191
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25192
 
  (eval $ac_compile) 2>conftest.er1
 
25763
if { (ac_try="$ac_compile"
 
25764
case "(($ac_try" in
 
25765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25766
  *) ac_try_echo=$ac_try;;
 
25767
esac
 
25768
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25769
  (eval "$ac_compile") 2>conftest.er1
25193
25770
  ac_status=$?
25194
25771
  grep -v '^ *+' conftest.er1 >conftest.err
25195
25772
  rm -f conftest.er1
25196
25773
  cat conftest.err >&5
25197
25774
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198
 
  (exit $ac_status); } &&
25199
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25200
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201
 
  (eval $ac_try) 2>&5
25202
 
  ac_status=$?
25203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204
 
  (exit $ac_status); }; } &&
25205
 
         { ac_try='test -s conftest.$ac_objext'
25206
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207
 
  (eval $ac_try) 2>&5
25208
 
  ac_status=$?
25209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210
 
  (exit $ac_status); }; }; then
 
25775
  (exit $ac_status); } && {
 
25776
         test -z "$ac_c_werror_flag" ||
 
25777
         test ! -s conftest.err
 
25778
       } && test -s conftest.$ac_objext; then
25211
25779
  ac_lo=$ac_mid; break
25212
25780
else
25213
25781
  echo "$as_me: failed program was:" >&5
25214
25782
sed 's/^/| /' conftest.$ac_ext >&5
25215
25783
 
25216
 
ac_hi=`expr '(' $ac_mid ')' - 1`
25217
 
                       if test $ac_mid -le $ac_hi; then
25218
 
                         ac_lo= ac_hi=
25219
 
                         break
25220
 
                       fi
25221
 
                       ac_mid=`expr 2 '*' $ac_mid`
 
25784
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
25785
                        if test $ac_mid -le $ac_hi; then
 
25786
                          ac_lo= ac_hi=
 
25787
                          break
 
25788
                        fi
 
25789
                        ac_mid=`expr 2 '*' $ac_mid`
25222
25790
fi
25223
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25791
 
 
25792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224
25793
  done
25225
25794
else
25226
25795
  echo "$as_me: failed program was:" >&5
25227
25796
sed 's/^/| /' conftest.$ac_ext >&5
25228
25797
 
25229
 
ac_lo= ac_hi=
25230
 
fi
25231
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25232
 
fi
25233
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25798
        ac_lo= ac_hi=
 
25799
fi
 
25800
 
 
25801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
25802
fi
 
25803
 
 
25804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25234
25805
# Binary search between lo and hi bounds.
25235
25806
while test "x$ac_lo" != "x$ac_hi"; do
25236
25807
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25241
25812
cat >>conftest.$ac_ext <<_ACEOF
25242
25813
/* end confdefs.h.  */
25243
25814
$ac_includes_default
 
25815
   typedef unsigned long long ac__type_sizeof_;
25244
25816
int
25245
25817
main ()
25246
25818
{
25247
 
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
 
25819
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25248
25820
test_array [0] = 0
25249
25821
 
25250
25822
  ;
25252
25824
}
25253
25825
_ACEOF
25254
25826
rm -f conftest.$ac_objext
25255
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25256
 
  (eval $ac_compile) 2>conftest.er1
 
25827
if { (ac_try="$ac_compile"
 
25828
case "(($ac_try" in
 
25829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25830
  *) ac_try_echo=$ac_try;;
 
25831
esac
 
25832
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25833
  (eval "$ac_compile") 2>conftest.er1
25257
25834
  ac_status=$?
25258
25835
  grep -v '^ *+' conftest.er1 >conftest.err
25259
25836
  rm -f conftest.er1
25260
25837
  cat conftest.err >&5
25261
25838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262
 
  (exit $ac_status); } &&
25263
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25264
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265
 
  (eval $ac_try) 2>&5
25266
 
  ac_status=$?
25267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268
 
  (exit $ac_status); }; } &&
25269
 
         { ac_try='test -s conftest.$ac_objext'
25270
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271
 
  (eval $ac_try) 2>&5
25272
 
  ac_status=$?
25273
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274
 
  (exit $ac_status); }; }; then
 
25839
  (exit $ac_status); } && {
 
25840
         test -z "$ac_c_werror_flag" ||
 
25841
         test ! -s conftest.err
 
25842
       } && test -s conftest.$ac_objext; then
25275
25843
  ac_hi=$ac_mid
25276
25844
else
25277
25845
  echo "$as_me: failed program was:" >&5
25278
25846
sed 's/^/| /' conftest.$ac_ext >&5
25279
25847
 
25280
 
ac_lo=`expr '(' $ac_mid ')' + 1`
 
25848
        ac_lo=`expr '(' $ac_mid ')' + 1`
25281
25849
fi
25282
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
25850
 
 
25851
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25283
25852
done
25284
25853
case $ac_lo in
25285
25854
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
25286
 
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
 
25855
'') if test "$ac_cv_type_unsigned_long_long" = yes; then
 
25856
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25287
25857
See \`config.log' for more details." >&5
25288
 
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
 
25858
echo "$as_me: error: cannot compute sizeof (unsigned long long)
25289
25859
See \`config.log' for more details." >&2;}
25290
 
   { (exit 1); exit 1; }; } ;;
 
25860
   { (exit 77); exit 77; }; }
 
25861
   else
 
25862
     ac_cv_sizeof_unsigned_long_long=0
 
25863
   fi ;;
25291
25864
esac
25292
25865
else
25293
 
  if test "$cross_compiling" = yes; then
25294
 
  { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
25295
 
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
25296
 
   { (exit 1); exit 1; }; }
25297
 
else
25298
25866
  cat >conftest.$ac_ext <<_ACEOF
25299
25867
/* confdefs.h.  */
25300
25868
_ACEOF
25302
25870
cat >>conftest.$ac_ext <<_ACEOF
25303
25871
/* end confdefs.h.  */
25304
25872
$ac_includes_default
25305
 
long longval () { return (long) (sizeof (unsigned long long)); }
25306
 
unsigned long ulongval () { return (long) (sizeof (unsigned long long)); }
 
25873
   typedef unsigned long long ac__type_sizeof_;
 
25874
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
25875
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25307
25876
#include <stdio.h>
25308
25877
#include <stdlib.h>
25309
25878
int
25312
25881
 
25313
25882
  FILE *f = fopen ("conftest.val", "w");
25314
25883
  if (! f)
25315
 
    exit (1);
25316
 
  if (((long) (sizeof (unsigned long long))) < 0)
 
25884
    return 1;
 
25885
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25317
25886
    {
25318
 
      long i = longval ();
25319
 
      if (i != ((long) (sizeof (unsigned long long))))
25320
 
        exit (1);
 
25887
      long int i = longval ();
 
25888
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25889
        return 1;
25321
25890
      fprintf (f, "%ld\n", i);
25322
25891
    }
25323
25892
  else
25324
25893
    {
25325
 
      unsigned long i = ulongval ();
25326
 
      if (i != ((long) (sizeof (unsigned long long))))
25327
 
        exit (1);
 
25894
      unsigned long int i = ulongval ();
 
25895
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
25896
        return 1;
25328
25897
      fprintf (f, "%lu\n", i);
25329
25898
    }
25330
 
  exit (ferror (f) || fclose (f) != 0);
 
25899
  return ferror (f) || fclose (f) != 0;
25331
25900
 
25332
25901
  ;
25333
25902
  return 0;
25334
25903
}
25335
25904
_ACEOF
25336
25905
rm -f conftest$ac_exeext
25337
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25338
 
  (eval $ac_link) 2>&5
 
25906
if { (ac_try="$ac_link"
 
25907
case "(($ac_try" in
 
25908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25909
  *) ac_try_echo=$ac_try;;
 
25910
esac
 
25911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25912
  (eval "$ac_link") 2>&5
25339
25913
  ac_status=$?
25340
25914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341
25915
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25342
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343
 
  (eval $ac_try) 2>&5
 
25916
  { (case "(($ac_try" in
 
25917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25918
  *) ac_try_echo=$ac_try;;
 
25919
esac
 
25920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25921
  (eval "$ac_try") 2>&5
25344
25922
  ac_status=$?
25345
25923
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346
25924
  (exit $ac_status); }; }; then
25351
25929
sed 's/^/| /' conftest.$ac_ext >&5
25352
25930
 
25353
25931
( exit $ac_status )
25354
 
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
 
25932
if test "$ac_cv_type_unsigned_long_long" = yes; then
 
25933
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
25355
25934
See \`config.log' for more details." >&5
25356
 
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
 
25935
echo "$as_me: error: cannot compute sizeof (unsigned long long)
25357
25936
See \`config.log' for more details." >&2;}
25358
 
   { (exit 1); exit 1; }; }
25359
 
fi
25360
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25361
 
fi
 
25937
   { (exit 77); exit 77; }; }
 
25938
   else
 
25939
     ac_cv_sizeof_unsigned_long_long=0
 
25940
   fi
 
25941
fi
 
25942
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25362
25943
fi
25363
25944
rm -f conftest.val
25364
 
else
25365
 
  ac_cv_sizeof_unsigned_long_long=0
25366
 
fi
25367
 
fi
25368
 
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
25369
 
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
 
25945
fi
 
25946
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
 
25947
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
 
25948
 
 
25949
 
 
25950
 
25370
25951
cat >>confdefs.h <<_ACEOF
25371
25952
#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
25372
25953
_ACEOF
25373
25954
 
25374
25955
 
25375
 
echo "$as_me:$LINENO: checking for uchar" >&5
25376
 
echo $ECHO_N "checking for uchar... $ECHO_C" >&6
 
25956
{ echo "$as_me:$LINENO: checking for uchar" >&5
 
25957
echo $ECHO_N "checking for uchar... $ECHO_C" >&6; }
25377
25958
if test "${ac_cv_type_uchar+set}" = set; then
25378
25959
  echo $ECHO_N "(cached) $ECHO_C" >&6
25379
25960
else
25384
25965
cat >>conftest.$ac_ext <<_ACEOF
25385
25966
/* end confdefs.h.  */
25386
25967
$ac_includes_default
 
25968
typedef uchar ac__type_new_;
25387
25969
int
25388
25970
main ()
25389
25971
{
25390
 
if ((uchar *) 0)
 
25972
if ((ac__type_new_ *) 0)
25391
25973
  return 0;
25392
 
if (sizeof (uchar))
 
25974
if (sizeof (ac__type_new_))
25393
25975
  return 0;
25394
25976
  ;
25395
25977
  return 0;
25396
25978
}
25397
25979
_ACEOF
25398
25980
rm -f conftest.$ac_objext
25399
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25400
 
  (eval $ac_compile) 2>conftest.er1
 
25981
if { (ac_try="$ac_compile"
 
25982
case "(($ac_try" in
 
25983
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
25984
  *) ac_try_echo=$ac_try;;
 
25985
esac
 
25986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
25987
  (eval "$ac_compile") 2>conftest.er1
25401
25988
  ac_status=$?
25402
25989
  grep -v '^ *+' conftest.er1 >conftest.err
25403
25990
  rm -f conftest.er1
25404
25991
  cat conftest.err >&5
25405
25992
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406
 
  (exit $ac_status); } &&
25407
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25408
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409
 
  (eval $ac_try) 2>&5
25410
 
  ac_status=$?
25411
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412
 
  (exit $ac_status); }; } &&
25413
 
         { ac_try='test -s conftest.$ac_objext'
25414
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25415
 
  (eval $ac_try) 2>&5
25416
 
  ac_status=$?
25417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418
 
  (exit $ac_status); }; }; then
 
25993
  (exit $ac_status); } && {
 
25994
         test -z "$ac_c_werror_flag" ||
 
25995
         test ! -s conftest.err
 
25996
       } && test -s conftest.$ac_objext; then
25419
25997
  ac_cv_type_uchar=yes
25420
25998
else
25421
25999
  echo "$as_me: failed program was:" >&5
25422
26000
sed 's/^/| /' conftest.$ac_ext >&5
25423
26001
 
25424
 
ac_cv_type_uchar=no
25425
 
fi
25426
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25427
 
fi
25428
 
echo "$as_me:$LINENO: result: $ac_cv_type_uchar" >&5
25429
 
echo "${ECHO_T}$ac_cv_type_uchar" >&6
 
26002
        ac_cv_type_uchar=no
 
26003
fi
 
26004
 
 
26005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26006
fi
 
26007
{ echo "$as_me:$LINENO: result: $ac_cv_type_uchar" >&5
 
26008
echo "${ECHO_T}$ac_cv_type_uchar" >&6; }
25430
26009
if test $ac_cv_type_uchar = yes; then
25431
26010
  :
25432
26011
else
25437
26016
 
25438
26017
fi
25439
26018
 
25440
 
echo "$as_me:$LINENO: checking for ushort" >&5
25441
 
echo $ECHO_N "checking for ushort... $ECHO_C" >&6
 
26019
{ echo "$as_me:$LINENO: checking for ushort" >&5
 
26020
echo $ECHO_N "checking for ushort... $ECHO_C" >&6; }
25442
26021
if test "${ac_cv_type_ushort+set}" = set; then
25443
26022
  echo $ECHO_N "(cached) $ECHO_C" >&6
25444
26023
else
25449
26028
cat >>conftest.$ac_ext <<_ACEOF
25450
26029
/* end confdefs.h.  */
25451
26030
$ac_includes_default
 
26031
typedef ushort ac__type_new_;
25452
26032
int
25453
26033
main ()
25454
26034
{
25455
 
if ((ushort *) 0)
 
26035
if ((ac__type_new_ *) 0)
25456
26036
  return 0;
25457
 
if (sizeof (ushort))
 
26037
if (sizeof (ac__type_new_))
25458
26038
  return 0;
25459
26039
  ;
25460
26040
  return 0;
25461
26041
}
25462
26042
_ACEOF
25463
26043
rm -f conftest.$ac_objext
25464
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25465
 
  (eval $ac_compile) 2>conftest.er1
 
26044
if { (ac_try="$ac_compile"
 
26045
case "(($ac_try" in
 
26046
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26047
  *) ac_try_echo=$ac_try;;
 
26048
esac
 
26049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26050
  (eval "$ac_compile") 2>conftest.er1
25466
26051
  ac_status=$?
25467
26052
  grep -v '^ *+' conftest.er1 >conftest.err
25468
26053
  rm -f conftest.er1
25469
26054
  cat conftest.err >&5
25470
26055
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471
 
  (exit $ac_status); } &&
25472
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25473
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474
 
  (eval $ac_try) 2>&5
25475
 
  ac_status=$?
25476
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477
 
  (exit $ac_status); }; } &&
25478
 
         { ac_try='test -s conftest.$ac_objext'
25479
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480
 
  (eval $ac_try) 2>&5
25481
 
  ac_status=$?
25482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483
 
  (exit $ac_status); }; }; then
 
26056
  (exit $ac_status); } && {
 
26057
         test -z "$ac_c_werror_flag" ||
 
26058
         test ! -s conftest.err
 
26059
       } && test -s conftest.$ac_objext; then
25484
26060
  ac_cv_type_ushort=yes
25485
26061
else
25486
26062
  echo "$as_me: failed program was:" >&5
25487
26063
sed 's/^/| /' conftest.$ac_ext >&5
25488
26064
 
25489
 
ac_cv_type_ushort=no
25490
 
fi
25491
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25492
 
fi
25493
 
echo "$as_me:$LINENO: result: $ac_cv_type_ushort" >&5
25494
 
echo "${ECHO_T}$ac_cv_type_ushort" >&6
 
26065
        ac_cv_type_ushort=no
 
26066
fi
 
26067
 
 
26068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26069
fi
 
26070
{ echo "$as_me:$LINENO: result: $ac_cv_type_ushort" >&5
 
26071
echo "${ECHO_T}$ac_cv_type_ushort" >&6; }
25495
26072
if test $ac_cv_type_ushort = yes; then
25496
26073
  :
25497
26074
else
25502
26079
 
25503
26080
fi
25504
26081
 
25505
 
echo "$as_me:$LINENO: checking for uint" >&5
25506
 
echo $ECHO_N "checking for uint... $ECHO_C" >&6
 
26082
{ echo "$as_me:$LINENO: checking for uint" >&5
 
26083
echo $ECHO_N "checking for uint... $ECHO_C" >&6; }
25507
26084
if test "${ac_cv_type_uint+set}" = set; then
25508
26085
  echo $ECHO_N "(cached) $ECHO_C" >&6
25509
26086
else
25514
26091
cat >>conftest.$ac_ext <<_ACEOF
25515
26092
/* end confdefs.h.  */
25516
26093
$ac_includes_default
 
26094
typedef uint ac__type_new_;
25517
26095
int
25518
26096
main ()
25519
26097
{
25520
 
if ((uint *) 0)
 
26098
if ((ac__type_new_ *) 0)
25521
26099
  return 0;
25522
 
if (sizeof (uint))
 
26100
if (sizeof (ac__type_new_))
25523
26101
  return 0;
25524
26102
  ;
25525
26103
  return 0;
25526
26104
}
25527
26105
_ACEOF
25528
26106
rm -f conftest.$ac_objext
25529
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25530
 
  (eval $ac_compile) 2>conftest.er1
 
26107
if { (ac_try="$ac_compile"
 
26108
case "(($ac_try" in
 
26109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26110
  *) ac_try_echo=$ac_try;;
 
26111
esac
 
26112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26113
  (eval "$ac_compile") 2>conftest.er1
25531
26114
  ac_status=$?
25532
26115
  grep -v '^ *+' conftest.er1 >conftest.err
25533
26116
  rm -f conftest.er1
25534
26117
  cat conftest.err >&5
25535
26118
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536
 
  (exit $ac_status); } &&
25537
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25538
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25539
 
  (eval $ac_try) 2>&5
25540
 
  ac_status=$?
25541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542
 
  (exit $ac_status); }; } &&
25543
 
         { ac_try='test -s conftest.$ac_objext'
25544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545
 
  (eval $ac_try) 2>&5
25546
 
  ac_status=$?
25547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548
 
  (exit $ac_status); }; }; then
 
26119
  (exit $ac_status); } && {
 
26120
         test -z "$ac_c_werror_flag" ||
 
26121
         test ! -s conftest.err
 
26122
       } && test -s conftest.$ac_objext; then
25549
26123
  ac_cv_type_uint=yes
25550
26124
else
25551
26125
  echo "$as_me: failed program was:" >&5
25552
26126
sed 's/^/| /' conftest.$ac_ext >&5
25553
26127
 
25554
 
ac_cv_type_uint=no
25555
 
fi
25556
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25557
 
fi
25558
 
echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
25559
 
echo "${ECHO_T}$ac_cv_type_uint" >&6
 
26128
        ac_cv_type_uint=no
 
26129
fi
 
26130
 
 
26131
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26132
fi
 
26133
{ echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
 
26134
echo "${ECHO_T}$ac_cv_type_uint" >&6; }
25560
26135
if test $ac_cv_type_uint = yes; then
25561
26136
  :
25562
26137
else
25567
26142
 
25568
26143
fi
25569
26144
 
25570
 
echo "$as_me:$LINENO: checking for ulong" >&5
25571
 
echo $ECHO_N "checking for ulong... $ECHO_C" >&6
 
26145
{ echo "$as_me:$LINENO: checking for ulong" >&5
 
26146
echo $ECHO_N "checking for ulong... $ECHO_C" >&6; }
25572
26147
if test "${ac_cv_type_ulong+set}" = set; then
25573
26148
  echo $ECHO_N "(cached) $ECHO_C" >&6
25574
26149
else
25579
26154
cat >>conftest.$ac_ext <<_ACEOF
25580
26155
/* end confdefs.h.  */
25581
26156
$ac_includes_default
 
26157
typedef ulong ac__type_new_;
25582
26158
int
25583
26159
main ()
25584
26160
{
25585
 
if ((ulong *) 0)
 
26161
if ((ac__type_new_ *) 0)
25586
26162
  return 0;
25587
 
if (sizeof (ulong))
 
26163
if (sizeof (ac__type_new_))
25588
26164
  return 0;
25589
26165
  ;
25590
26166
  return 0;
25591
26167
}
25592
26168
_ACEOF
25593
26169
rm -f conftest.$ac_objext
25594
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25595
 
  (eval $ac_compile) 2>conftest.er1
 
26170
if { (ac_try="$ac_compile"
 
26171
case "(($ac_try" in
 
26172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26173
  *) ac_try_echo=$ac_try;;
 
26174
esac
 
26175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26176
  (eval "$ac_compile") 2>conftest.er1
25596
26177
  ac_status=$?
25597
26178
  grep -v '^ *+' conftest.er1 >conftest.err
25598
26179
  rm -f conftest.er1
25599
26180
  cat conftest.err >&5
25600
26181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601
 
  (exit $ac_status); } &&
25602
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604
 
  (eval $ac_try) 2>&5
25605
 
  ac_status=$?
25606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607
 
  (exit $ac_status); }; } &&
25608
 
         { ac_try='test -s conftest.$ac_objext'
25609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610
 
  (eval $ac_try) 2>&5
25611
 
  ac_status=$?
25612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613
 
  (exit $ac_status); }; }; then
 
26182
  (exit $ac_status); } && {
 
26183
         test -z "$ac_c_werror_flag" ||
 
26184
         test ! -s conftest.err
 
26185
       } && test -s conftest.$ac_objext; then
25614
26186
  ac_cv_type_ulong=yes
25615
26187
else
25616
26188
  echo "$as_me: failed program was:" >&5
25617
26189
sed 's/^/| /' conftest.$ac_ext >&5
25618
26190
 
25619
 
ac_cv_type_ulong=no
25620
 
fi
25621
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25622
 
fi
25623
 
echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
25624
 
echo "${ECHO_T}$ac_cv_type_ulong" >&6
 
26191
        ac_cv_type_ulong=no
 
26192
fi
 
26193
 
 
26194
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26195
fi
 
26196
{ echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
 
26197
echo "${ECHO_T}$ac_cv_type_ulong" >&6; }
25625
26198
if test $ac_cv_type_ulong = yes; then
25626
26199
  :
25627
26200
else
25632
26205
 
25633
26206
fi
25634
26207
 
25635
 
echo "$as_me:$LINENO: checking for longlong" >&5
25636
 
echo $ECHO_N "checking for longlong... $ECHO_C" >&6
 
26208
{ echo "$as_me:$LINENO: checking for longlong" >&5
 
26209
echo $ECHO_N "checking for longlong... $ECHO_C" >&6; }
25637
26210
if test "${ac_cv_type_longlong+set}" = set; then
25638
26211
  echo $ECHO_N "(cached) $ECHO_C" >&6
25639
26212
else
25644
26217
cat >>conftest.$ac_ext <<_ACEOF
25645
26218
/* end confdefs.h.  */
25646
26219
$ac_includes_default
 
26220
typedef longlong ac__type_new_;
25647
26221
int
25648
26222
main ()
25649
26223
{
25650
 
if ((longlong *) 0)
 
26224
if ((ac__type_new_ *) 0)
25651
26225
  return 0;
25652
 
if (sizeof (longlong))
 
26226
if (sizeof (ac__type_new_))
25653
26227
  return 0;
25654
26228
  ;
25655
26229
  return 0;
25656
26230
}
25657
26231
_ACEOF
25658
26232
rm -f conftest.$ac_objext
25659
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25660
 
  (eval $ac_compile) 2>conftest.er1
 
26233
if { (ac_try="$ac_compile"
 
26234
case "(($ac_try" in
 
26235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26236
  *) ac_try_echo=$ac_try;;
 
26237
esac
 
26238
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26239
  (eval "$ac_compile") 2>conftest.er1
25661
26240
  ac_status=$?
25662
26241
  grep -v '^ *+' conftest.er1 >conftest.err
25663
26242
  rm -f conftest.er1
25664
26243
  cat conftest.err >&5
25665
26244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666
 
  (exit $ac_status); } &&
25667
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669
 
  (eval $ac_try) 2>&5
25670
 
  ac_status=$?
25671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672
 
  (exit $ac_status); }; } &&
25673
 
         { ac_try='test -s conftest.$ac_objext'
25674
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675
 
  (eval $ac_try) 2>&5
25676
 
  ac_status=$?
25677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678
 
  (exit $ac_status); }; }; then
 
26245
  (exit $ac_status); } && {
 
26246
         test -z "$ac_c_werror_flag" ||
 
26247
         test ! -s conftest.err
 
26248
       } && test -s conftest.$ac_objext; then
25679
26249
  ac_cv_type_longlong=yes
25680
26250
else
25681
26251
  echo "$as_me: failed program was:" >&5
25682
26252
sed 's/^/| /' conftest.$ac_ext >&5
25683
26253
 
25684
 
ac_cv_type_longlong=no
25685
 
fi
25686
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25687
 
fi
25688
 
echo "$as_me:$LINENO: result: $ac_cv_type_longlong" >&5
25689
 
echo "${ECHO_T}$ac_cv_type_longlong" >&6
 
26254
        ac_cv_type_longlong=no
 
26255
fi
 
26256
 
 
26257
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26258
fi
 
26259
{ echo "$as_me:$LINENO: result: $ac_cv_type_longlong" >&5
 
26260
echo "${ECHO_T}$ac_cv_type_longlong" >&6; }
25690
26261
if test $ac_cv_type_longlong = yes; then
25691
26262
  :
25692
26263
else
25697
26268
 
25698
26269
fi
25699
26270
 
25700
 
echo "$as_me:$LINENO: checking for ulonglong" >&5
25701
 
echo $ECHO_N "checking for ulonglong... $ECHO_C" >&6
 
26271
{ echo "$as_me:$LINENO: checking for ulonglong" >&5
 
26272
echo $ECHO_N "checking for ulonglong... $ECHO_C" >&6; }
25702
26273
if test "${ac_cv_type_ulonglong+set}" = set; then
25703
26274
  echo $ECHO_N "(cached) $ECHO_C" >&6
25704
26275
else
25709
26280
cat >>conftest.$ac_ext <<_ACEOF
25710
26281
/* end confdefs.h.  */
25711
26282
$ac_includes_default
 
26283
typedef ulonglong ac__type_new_;
25712
26284
int
25713
26285
main ()
25714
26286
{
25715
 
if ((ulonglong *) 0)
 
26287
if ((ac__type_new_ *) 0)
25716
26288
  return 0;
25717
 
if (sizeof (ulonglong))
 
26289
if (sizeof (ac__type_new_))
25718
26290
  return 0;
25719
26291
  ;
25720
26292
  return 0;
25721
26293
}
25722
26294
_ACEOF
25723
26295
rm -f conftest.$ac_objext
25724
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25725
 
  (eval $ac_compile) 2>conftest.er1
 
26296
if { (ac_try="$ac_compile"
 
26297
case "(($ac_try" in
 
26298
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26299
  *) ac_try_echo=$ac_try;;
 
26300
esac
 
26301
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26302
  (eval "$ac_compile") 2>conftest.er1
25726
26303
  ac_status=$?
25727
26304
  grep -v '^ *+' conftest.er1 >conftest.err
25728
26305
  rm -f conftest.er1
25729
26306
  cat conftest.err >&5
25730
26307
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731
 
  (exit $ac_status); } &&
25732
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25733
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734
 
  (eval $ac_try) 2>&5
25735
 
  ac_status=$?
25736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737
 
  (exit $ac_status); }; } &&
25738
 
         { ac_try='test -s conftest.$ac_objext'
25739
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740
 
  (eval $ac_try) 2>&5
25741
 
  ac_status=$?
25742
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743
 
  (exit $ac_status); }; }; then
 
26308
  (exit $ac_status); } && {
 
26309
         test -z "$ac_c_werror_flag" ||
 
26310
         test ! -s conftest.err
 
26311
       } && test -s conftest.$ac_objext; then
25744
26312
  ac_cv_type_ulonglong=yes
25745
26313
else
25746
26314
  echo "$as_me: failed program was:" >&5
25747
26315
sed 's/^/| /' conftest.$ac_ext >&5
25748
26316
 
25749
 
ac_cv_type_ulonglong=no
25750
 
fi
25751
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25752
 
fi
25753
 
echo "$as_me:$LINENO: result: $ac_cv_type_ulonglong" >&5
25754
 
echo "${ECHO_T}$ac_cv_type_ulonglong" >&6
 
26317
        ac_cv_type_ulonglong=no
 
26318
fi
 
26319
 
 
26320
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26321
fi
 
26322
{ echo "$as_me:$LINENO: result: $ac_cv_type_ulonglong" >&5
 
26323
echo "${ECHO_T}$ac_cv_type_ulonglong" >&6; }
25755
26324
if test $ac_cv_type_ulonglong = yes; then
25756
26325
  :
25757
26326
else
25762
26331
 
25763
26332
fi
25764
26333
 
25765
 
echo "$as_me:$LINENO: checking for ssize_t" >&5
25766
 
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
 
26334
{ echo "$as_me:$LINENO: checking for ssize_t" >&5
 
26335
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
25767
26336
if test "${ac_cv_type_ssize_t+set}" = set; then
25768
26337
  echo $ECHO_N "(cached) $ECHO_C" >&6
25769
26338
else
25774
26343
cat >>conftest.$ac_ext <<_ACEOF
25775
26344
/* end confdefs.h.  */
25776
26345
$ac_includes_default
 
26346
typedef ssize_t ac__type_new_;
25777
26347
int
25778
26348
main ()
25779
26349
{
25780
 
if ((ssize_t *) 0)
 
26350
if ((ac__type_new_ *) 0)
25781
26351
  return 0;
25782
 
if (sizeof (ssize_t))
 
26352
if (sizeof (ac__type_new_))
25783
26353
  return 0;
25784
26354
  ;
25785
26355
  return 0;
25786
26356
}
25787
26357
_ACEOF
25788
26358
rm -f conftest.$ac_objext
25789
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25790
 
  (eval $ac_compile) 2>conftest.er1
 
26359
if { (ac_try="$ac_compile"
 
26360
case "(($ac_try" in
 
26361
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26362
  *) ac_try_echo=$ac_try;;
 
26363
esac
 
26364
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26365
  (eval "$ac_compile") 2>conftest.er1
25791
26366
  ac_status=$?
25792
26367
  grep -v '^ *+' conftest.er1 >conftest.err
25793
26368
  rm -f conftest.er1
25794
26369
  cat conftest.err >&5
25795
26370
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796
 
  (exit $ac_status); } &&
25797
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25798
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799
 
  (eval $ac_try) 2>&5
25800
 
  ac_status=$?
25801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802
 
  (exit $ac_status); }; } &&
25803
 
         { ac_try='test -s conftest.$ac_objext'
25804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805
 
  (eval $ac_try) 2>&5
25806
 
  ac_status=$?
25807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808
 
  (exit $ac_status); }; }; then
 
26371
  (exit $ac_status); } && {
 
26372
         test -z "$ac_c_werror_flag" ||
 
26373
         test ! -s conftest.err
 
26374
       } && test -s conftest.$ac_objext; then
25809
26375
  ac_cv_type_ssize_t=yes
25810
26376
else
25811
26377
  echo "$as_me: failed program was:" >&5
25812
26378
sed 's/^/| /' conftest.$ac_ext >&5
25813
26379
 
25814
 
ac_cv_type_ssize_t=no
25815
 
fi
25816
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25817
 
fi
25818
 
echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
25819
 
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
 
26380
        ac_cv_type_ssize_t=no
 
26381
fi
 
26382
 
 
26383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
26384
fi
 
26385
{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
 
26386
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
25820
26387
if test $ac_cv_type_ssize_t = yes; then
25821
26388
  :
25822
26389
else
25836
26403
for ac_func in vprintf
25837
26404
do
25838
26405
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25839
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25840
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25841
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
26406
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26407
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
26408
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25842
26409
  echo $ECHO_N "(cached) $ECHO_C" >&6
25843
26410
else
25844
26411
  cat >conftest.$ac_ext <<_ACEOF
25864
26431
 
25865
26432
#undef $ac_func
25866
26433
 
25867
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26434
/* Override any GCC internal prototype to avoid an error.
 
26435
   Use char because int might match the return type of a GCC
 
26436
   builtin and then its argument prototype would still apply.  */
25868
26437
#ifdef __cplusplus
25869
26438
extern "C"
25870
 
{
25871
26439
#endif
25872
 
/* We use char because int might match the return type of a gcc2
25873
 
   builtin and then its argument prototype would still apply.  */
25874
26440
char $ac_func ();
25875
26441
/* The GNU C library defines this for functions which it implements
25876
26442
    to always fail with ENOSYS.  Some functions are actually named
25877
26443
    something starting with __ and the normal name is an alias.  */
25878
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26444
#if defined __stub_$ac_func || defined __stub___$ac_func
25879
26445
choke me
25880
 
#else
25881
 
char (*f) () = $ac_func;
25882
 
#endif
25883
 
#ifdef __cplusplus
25884
 
}
25885
26446
#endif
25886
26447
 
25887
26448
int
25888
26449
main ()
25889
26450
{
25890
 
return f != $ac_func;
 
26451
return $ac_func ();
25891
26452
  ;
25892
26453
  return 0;
25893
26454
}
25894
26455
_ACEOF
25895
26456
rm -f conftest.$ac_objext conftest$ac_exeext
25896
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25897
 
  (eval $ac_link) 2>conftest.er1
 
26457
if { (ac_try="$ac_link"
 
26458
case "(($ac_try" in
 
26459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26460
  *) ac_try_echo=$ac_try;;
 
26461
esac
 
26462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26463
  (eval "$ac_link") 2>conftest.er1
25898
26464
  ac_status=$?
25899
26465
  grep -v '^ *+' conftest.er1 >conftest.err
25900
26466
  rm -f conftest.er1
25901
26467
  cat conftest.err >&5
25902
26468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903
 
  (exit $ac_status); } &&
25904
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25905
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25906
 
  (eval $ac_try) 2>&5
25907
 
  ac_status=$?
25908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909
 
  (exit $ac_status); }; } &&
25910
 
         { ac_try='test -s conftest$ac_exeext'
25911
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912
 
  (eval $ac_try) 2>&5
25913
 
  ac_status=$?
25914
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915
 
  (exit $ac_status); }; }; then
 
26469
  (exit $ac_status); } && {
 
26470
         test -z "$ac_c_werror_flag" ||
 
26471
         test ! -s conftest.err
 
26472
       } && test -s conftest$ac_exeext &&
 
26473
       $as_test_x conftest$ac_exeext; then
25916
26474
  eval "$as_ac_var=yes"
25917
26475
else
25918
26476
  echo "$as_me: failed program was:" >&5
25919
26477
sed 's/^/| /' conftest.$ac_ext >&5
25920
26478
 
25921
 
eval "$as_ac_var=no"
 
26479
        eval "$as_ac_var=no"
25922
26480
fi
25923
 
rm -f conftest.err conftest.$ac_objext \
 
26481
 
 
26482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25924
26483
      conftest$ac_exeext conftest.$ac_ext
25925
26484
fi
25926
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25927
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26485
ac_res=`eval echo '${'$as_ac_var'}'`
 
26486
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26487
echo "${ECHO_T}$ac_res" >&6; }
25928
26488
if test `eval echo '${'$as_ac_var'}'` = yes; then
25929
26489
  cat >>confdefs.h <<_ACEOF
25930
26490
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25931
26491
_ACEOF
25932
26492
 
25933
 
echo "$as_me:$LINENO: checking for _doprnt" >&5
25934
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
 
26493
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
 
26494
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
25935
26495
if test "${ac_cv_func__doprnt+set}" = set; then
25936
26496
  echo $ECHO_N "(cached) $ECHO_C" >&6
25937
26497
else
25958
26518
 
25959
26519
#undef _doprnt
25960
26520
 
25961
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26521
/* Override any GCC internal prototype to avoid an error.
 
26522
   Use char because int might match the return type of a GCC
 
26523
   builtin and then its argument prototype would still apply.  */
25962
26524
#ifdef __cplusplus
25963
26525
extern "C"
25964
 
{
25965
26526
#endif
25966
 
/* We use char because int might match the return type of a gcc2
25967
 
   builtin and then its argument prototype would still apply.  */
25968
26527
char _doprnt ();
25969
26528
/* The GNU C library defines this for functions which it implements
25970
26529
    to always fail with ENOSYS.  Some functions are actually named
25971
26530
    something starting with __ and the normal name is an alias.  */
25972
 
#if defined (__stub__doprnt) || defined (__stub____doprnt)
 
26531
#if defined __stub__doprnt || defined __stub____doprnt
25973
26532
choke me
25974
 
#else
25975
 
char (*f) () = _doprnt;
25976
 
#endif
25977
 
#ifdef __cplusplus
25978
 
}
25979
26533
#endif
25980
26534
 
25981
26535
int
25982
26536
main ()
25983
26537
{
25984
 
return f != _doprnt;
 
26538
return _doprnt ();
25985
26539
  ;
25986
26540
  return 0;
25987
26541
}
25988
26542
_ACEOF
25989
26543
rm -f conftest.$ac_objext conftest$ac_exeext
25990
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25991
 
  (eval $ac_link) 2>conftest.er1
 
26544
if { (ac_try="$ac_link"
 
26545
case "(($ac_try" in
 
26546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26547
  *) ac_try_echo=$ac_try;;
 
26548
esac
 
26549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26550
  (eval "$ac_link") 2>conftest.er1
25992
26551
  ac_status=$?
25993
26552
  grep -v '^ *+' conftest.er1 >conftest.err
25994
26553
  rm -f conftest.er1
25995
26554
  cat conftest.err >&5
25996
26555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997
 
  (exit $ac_status); } &&
25998
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
25999
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000
 
  (eval $ac_try) 2>&5
26001
 
  ac_status=$?
26002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003
 
  (exit $ac_status); }; } &&
26004
 
         { ac_try='test -s conftest$ac_exeext'
26005
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006
 
  (eval $ac_try) 2>&5
26007
 
  ac_status=$?
26008
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009
 
  (exit $ac_status); }; }; then
 
26556
  (exit $ac_status); } && {
 
26557
         test -z "$ac_c_werror_flag" ||
 
26558
         test ! -s conftest.err
 
26559
       } && test -s conftest$ac_exeext &&
 
26560
       $as_test_x conftest$ac_exeext; then
26010
26561
  ac_cv_func__doprnt=yes
26011
26562
else
26012
26563
  echo "$as_me: failed program was:" >&5
26013
26564
sed 's/^/| /' conftest.$ac_ext >&5
26014
26565
 
26015
 
ac_cv_func__doprnt=no
 
26566
        ac_cv_func__doprnt=no
26016
26567
fi
26017
 
rm -f conftest.err conftest.$ac_objext \
 
26568
 
 
26569
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26018
26570
      conftest$ac_exeext conftest.$ac_ext
26019
26571
fi
26020
 
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
26021
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
 
26572
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
 
26573
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
26022
26574
if test $ac_cv_func__doprnt = yes; then
26023
26575
 
26024
26576
cat >>confdefs.h <<\_ACEOF
26035
26587
for ac_func in mkstemp
26036
26588
do
26037
26589
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26038
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
26039
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26040
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
 
26590
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
26591
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
26592
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26041
26593
  echo $ECHO_N "(cached) $ECHO_C" >&6
26042
26594
else
26043
26595
  cat >conftest.$ac_ext <<_ACEOF
26063
26615
 
26064
26616
#undef $ac_func
26065
26617
 
26066
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
26618
/* Override any GCC internal prototype to avoid an error.
 
26619
   Use char because int might match the return type of a GCC
 
26620
   builtin and then its argument prototype would still apply.  */
26067
26621
#ifdef __cplusplus
26068
26622
extern "C"
26069
 
{
26070
26623
#endif
26071
 
/* We use char because int might match the return type of a gcc2
26072
 
   builtin and then its argument prototype would still apply.  */
26073
26624
char $ac_func ();
26074
26625
/* The GNU C library defines this for functions which it implements
26075
26626
    to always fail with ENOSYS.  Some functions are actually named
26076
26627
    something starting with __ and the normal name is an alias.  */
26077
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
26628
#if defined __stub_$ac_func || defined __stub___$ac_func
26078
26629
choke me
26079
 
#else
26080
 
char (*f) () = $ac_func;
26081
 
#endif
26082
 
#ifdef __cplusplus
26083
 
}
26084
26630
#endif
26085
26631
 
26086
26632
int
26087
26633
main ()
26088
26634
{
26089
 
return f != $ac_func;
 
26635
return $ac_func ();
26090
26636
  ;
26091
26637
  return 0;
26092
26638
}
26093
26639
_ACEOF
26094
26640
rm -f conftest.$ac_objext conftest$ac_exeext
26095
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26096
 
  (eval $ac_link) 2>conftest.er1
 
26641
if { (ac_try="$ac_link"
 
26642
case "(($ac_try" in
 
26643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
26644
  *) ac_try_echo=$ac_try;;
 
26645
esac
 
26646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
26647
  (eval "$ac_link") 2>conftest.er1
26097
26648
  ac_status=$?
26098
26649
  grep -v '^ *+' conftest.er1 >conftest.err
26099
26650
  rm -f conftest.er1
26100
26651
  cat conftest.err >&5
26101
26652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102
 
  (exit $ac_status); } &&
26103
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
26104
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105
 
  (eval $ac_try) 2>&5
26106
 
  ac_status=$?
26107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108
 
  (exit $ac_status); }; } &&
26109
 
         { ac_try='test -s conftest$ac_exeext'
26110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111
 
  (eval $ac_try) 2>&5
26112
 
  ac_status=$?
26113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114
 
  (exit $ac_status); }; }; then
 
26653
  (exit $ac_status); } && {
 
26654
         test -z "$ac_c_werror_flag" ||
 
26655
         test ! -s conftest.err
 
26656
       } && test -s conftest$ac_exeext &&
 
26657
       $as_test_x conftest$ac_exeext; then
26115
26658
  eval "$as_ac_var=yes"
26116
26659
else
26117
26660
  echo "$as_me: failed program was:" >&5
26118
26661
sed 's/^/| /' conftest.$ac_ext >&5
26119
26662
 
26120
 
eval "$as_ac_var=no"
 
26663
        eval "$as_ac_var=no"
26121
26664
fi
26122
 
rm -f conftest.err conftest.$ac_objext \
 
26665
 
 
26666
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26123
26667
      conftest$ac_exeext conftest.$ac_ext
26124
26668
fi
26125
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26126
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 
26669
ac_res=`eval echo '${'$as_ac_var'}'`
 
26670
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
26671
echo "${ECHO_T}$ac_res" >&6; }
26127
26672
if test `eval echo '${'$as_ac_var'}'` = yes; then
26128
26673
  cat >>confdefs.h <<_ACEOF
26129
26674
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26137
26682
# Enable/disable special memory allocator for debugging.
26138
26683
############################################################
26139
26684
 
26140
 
# Check whether --enable-dmalloc or --disable-dmalloc was given.
 
26685
# Check whether --enable-dmalloc was given.
26141
26686
if test "${enable_dmalloc+set}" = set; then
26142
 
  enableval="$enable_dmalloc"
26143
 
 
 
26687
  enableval=$enable_dmalloc;
26144
26688
case "${enableval}" in
26145
26689
yes)
26146
26690
        cat >>confdefs.h <<\_ACEOF
26157
26701
        ;;
26158
26702
esac
26159
26703
 
26160
 
fi;
 
26704
fi
 
26705
 
26161
26706
 
26162
26707
############################################################
26163
26708
# Enable/disable extra code for debugging.
26164
26709
############################################################
26165
26710
 
26166
 
# Check whether --enable-debug or --disable-debug was given.
 
26711
# Check whether --enable-debug was given.
26167
26712
if test "${enable_debug+set}" = set; then
26168
 
  enableval="$enable_debug"
26169
 
 
 
26713
  enableval=$enable_debug;
26170
26714
case "${enableval}" in
26171
26715
yes)
26172
26716
        debug=true
26194
26738
 
26195
26739
else
26196
26740
  debug=false
26197
 
fi;
 
26741
fi
 
26742
 
26198
26743
 
26199
26744
if test "$GCC" = yes; then
26200
26745
        CFLAGS="$CFLAGS -W -Wall -Wno-long-long -Wformat -Wmissing-prototypes -Wstrict-prototypes -pedantic"
26204
26749
# Generate the configuration header file.
26205
26750
############################################################
26206
26751
 
26207
 
          ac_config_headers="$ac_config_headers src/libjasper/include/jasper/jas_config_ac.h"
 
26752
ac_config_headers="$ac_config_headers src/libjasper/include/jasper/jas_config_ac.h"
26208
26753
 
26209
26754
 
26210
26755
############################################################
26211
26756
# Generate the makefiles.
26212
26757
############################################################
26213
26758
 
26214
 
                                                                                                                                                                          ac_config_files="$ac_config_files Makefile src/Makefile src/appl/Makefile src/libjasper/Makefile src/libjasper/base/Makefile src/libjasper/bmp/Makefile src/libjasper/include/Makefile src/libjasper/include/jasper/Makefile src/libjasper/jp2/Makefile src/libjasper/jpc/Makefile src/libjasper/jpg/Makefile src/libjasper/mif/Makefile src/libjasper/pgx/Makefile src/libjasper/pnm/Makefile src/libjasper/ras/Makefile src/msvc/Makefile jasper.spec"
 
26759
ac_config_files="$ac_config_files Makefile src/Makefile src/appl/Makefile src/libjasper/Makefile src/libjasper/base/Makefile src/libjasper/bmp/Makefile src/libjasper/include/Makefile src/libjasper/include/jasper/Makefile src/libjasper/jp2/Makefile src/libjasper/jpc/Makefile src/libjasper/jpg/Makefile src/libjasper/mif/Makefile src/libjasper/pgx/Makefile src/libjasper/pnm/Makefile src/libjasper/ras/Makefile src/msvc/Makefile jasper.spec"
 
26760
 
26215
26761
cat >confcache <<\_ACEOF
26216
26762
# This file is a shell script that caches the results of configure
26217
26763
# tests run on this system so they can be shared between configure
26230
26776
 
26231
26777
# The following way of writing the cache mishandles newlines in values,
26232
26778
# but we know of no workaround that is simple, portable, and efficient.
26233
 
# So, don't put newlines in cache variables' values.
 
26779
# So, we kill variables containing newlines.
26234
26780
# Ultrix sh set writes to stderr and can't be redirected directly,
26235
26781
# and sets the high bit in the cache file unless we assign to the vars.
26236
 
{
 
26782
(
 
26783
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
26784
    eval ac_val=\$$ac_var
 
26785
    case $ac_val in #(
 
26786
    *${as_nl}*)
 
26787
      case $ac_var in #(
 
26788
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
26789
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
26790
      esac
 
26791
      case $ac_var in #(
 
26792
      _ | IFS | as_nl) ;; #(
 
26793
      *) $as_unset $ac_var ;;
 
26794
      esac ;;
 
26795
    esac
 
26796
  done
 
26797
 
26237
26798
  (set) 2>&1 |
26238
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
26239
 
    *ac_space=\ *)
 
26799
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
26800
    *${as_nl}ac_space=\ *)
26240
26801
      # `set' does not quote correctly, so add quotes (double-quote
26241
26802
      # substitution turns \\\\ into \\, and sed turns \\ into \).
26242
26803
      sed -n \
26243
26804
        "s/'/'\\\\''/g;
26244
26805
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26245
 
      ;;
 
26806
      ;; #(
26246
26807
    *)
26247
26808
      # `set' quotes correctly as required by POSIX, so do not add quotes.
26248
 
      sed -n \
26249
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
26809
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26250
26810
      ;;
26251
 
    esac;
26252
 
} |
 
26811
    esac |
 
26812
    sort
 
26813
) |
26253
26814
  sed '
 
26815
     /^ac_cv_env_/b end
26254
26816
     t clear
26255
 
     : clear
 
26817
     :clear
26256
26818
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26257
26819
     t end
26258
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26259
 
     : end' >>confcache
26260
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
26261
 
  if test -w $cache_file; then
26262
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
26820
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
26821
     :end' >>confcache
 
26822
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
26823
  if test -w "$cache_file"; then
 
26824
    test "x$cache_file" != "x/dev/null" &&
 
26825
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
26826
echo "$as_me: updating cache $cache_file" >&6;}
26263
26827
    cat confcache >$cache_file
26264
26828
  else
26265
 
    echo "not updating unwritable cache $cache_file"
 
26829
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
26830
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26266
26831
  fi
26267
26832
fi
26268
26833
rm -f confcache
26271
26836
# Let make expand exec_prefix.
26272
26837
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26273
26838
 
26274
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26275
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26276
 
# trailing colons and then remove the whole line if VPATH becomes empty
26277
 
# (actually we leave an empty line to preserve line numbers).
26278
 
if test "x$srcdir" = x.; then
26279
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
26280
 
s/:*\$(srcdir):*/:/;
26281
 
s/:*\${srcdir}:*/:/;
26282
 
s/:*@srcdir@:*/:/;
26283
 
s/^\([^=]*=[     ]*\):*/\1/;
26284
 
s/:*$//;
26285
 
s/^[^=]*=[       ]*$//;
26286
 
}'
26287
 
fi
26288
 
 
26289
26839
DEFS=-DHAVE_CONFIG_H
26290
26840
 
26291
26841
ac_libobjs=
26292
26842
ac_ltlibobjs=
26293
26843
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26294
26844
  # 1. Remove the extension, and $U if already installed.
26295
 
  ac_i=`echo "$ac_i" |
26296
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
26297
 
  # 2. Add them.
26298
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
26299
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
26845
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
26846
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
26847
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
26848
  #    will be set to the directory where LIBOBJS objects are built.
 
26849
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
26850
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26300
26851
done
26301
26852
LIBOBJS=$ac_libobjs
26302
26853
 
26369
26920
## M4sh Initialization.  ##
26370
26921
## --------------------- ##
26371
26922
 
26372
 
# Be Bourne compatible
 
26923
# Be more Bourne compatible
 
26924
DUALCASE=1; export DUALCASE # for MKS sh
26373
26925
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26374
26926
  emulate sh
26375
26927
  NULLCMD=:
26376
26928
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26377
26929
  # is contrary to our usage.  Disable this feature.
26378
26930
  alias -g '${1+"$@"}'='"$@"'
26379
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26380
 
  set -o posix
26381
 
fi
26382
 
DUALCASE=1; export DUALCASE # for MKS sh
 
26931
  setopt NO_GLOB_SUBST
 
26932
else
 
26933
  case `(set -o) 2>/dev/null` in
 
26934
  *posix*) set -o posix ;;
 
26935
esac
 
26936
 
 
26937
fi
 
26938
 
 
26939
 
 
26940
 
 
26941
 
 
26942
# PATH needs CR
 
26943
# Avoid depending upon Character Ranges.
 
26944
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
26945
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
26946
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
26947
as_cr_digits='0123456789'
 
26948
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
26949
 
 
26950
# The user is always right.
 
26951
if test "${PATH_SEPARATOR+set}" != set; then
 
26952
  echo "#! /bin/sh" >conf$$.sh
 
26953
  echo  "exit 0"   >>conf$$.sh
 
26954
  chmod +x conf$$.sh
 
26955
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
26956
    PATH_SEPARATOR=';'
 
26957
  else
 
26958
    PATH_SEPARATOR=:
 
26959
  fi
 
26960
  rm -f conf$$.sh
 
26961
fi
26383
26962
 
26384
26963
# Support unset when possible.
26385
26964
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26389
26968
fi
26390
26969
 
26391
26970
 
 
26971
# IFS
 
26972
# We need space, tab and new line, in precisely that order.  Quoting is
 
26973
# there to prevent editors from complaining about space-tab.
 
26974
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
26975
# splitting by setting IFS to empty value.)
 
26976
as_nl='
 
26977
'
 
26978
IFS=" ""        $as_nl"
 
26979
 
 
26980
# Find who we are.  Look in the path if we contain no directory separator.
 
26981
case $0 in
 
26982
  *[\\/]* ) as_myself=$0 ;;
 
26983
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
26984
for as_dir in $PATH
 
26985
do
 
26986
  IFS=$as_save_IFS
 
26987
  test -z "$as_dir" && as_dir=.
 
26988
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
26989
done
 
26990
IFS=$as_save_IFS
 
26991
 
 
26992
     ;;
 
26993
esac
 
26994
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
26995
# in which case we are not to be found in the path.
 
26996
if test "x$as_myself" = x; then
 
26997
  as_myself=$0
 
26998
fi
 
26999
if test ! -f "$as_myself"; then
 
27000
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
27001
  { (exit 1); exit 1; }
 
27002
fi
 
27003
 
26392
27004
# Work around bugs in pre-3.0 UWIN ksh.
26393
 
$as_unset ENV MAIL MAILPATH
 
27005
for as_var in ENV MAIL MAILPATH
 
27006
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
27007
done
26394
27008
PS1='$ '
26395
27009
PS2='> '
26396
27010
PS4='+ '
26404
27018
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26405
27019
    eval $as_var=C; export $as_var
26406
27020
  else
26407
 
    $as_unset $as_var
 
27021
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26408
27022
  fi
26409
27023
done
26410
27024
 
26411
27025
# Required to use basename.
26412
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27026
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27027
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26413
27028
  as_expr=expr
26414
27029
else
26415
27030
  as_expr=false
26416
27031
fi
26417
27032
 
26418
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
27033
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26419
27034
  as_basename=basename
26420
27035
else
26421
27036
  as_basename=false
26423
27038
 
26424
27039
 
26425
27040
# Name of the executable.
26426
 
as_me=`$as_basename "$0" ||
 
27041
as_me=`$as_basename -- "$0" ||
26427
27042
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26428
27043
         X"$0" : 'X\(//\)$' \| \
26429
 
         X"$0" : 'X\(/\)$' \| \
26430
 
         .     : '\(.\)' 2>/dev/null ||
 
27044
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26431
27045
echo X/"$0" |
26432
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
26433
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
26434
 
          /^X\/\(\/\).*/{ s//\1/; q; }
26435
 
          s/.*/./; q'`
26436
 
 
26437
 
 
26438
 
# PATH needs CR, and LINENO needs CR and PATH.
26439
 
# Avoid depending upon Character Ranges.
26440
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26441
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26442
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26443
 
as_cr_digits='0123456789'
26444
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
26445
 
 
26446
 
# The user is always right.
26447
 
if test "${PATH_SEPARATOR+set}" != set; then
26448
 
  echo "#! /bin/sh" >conf$$.sh
26449
 
  echo  "exit 0"   >>conf$$.sh
26450
 
  chmod +x conf$$.sh
26451
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26452
 
    PATH_SEPARATOR=';'
26453
 
  else
26454
 
    PATH_SEPARATOR=:
26455
 
  fi
26456
 
  rm -f conf$$.sh
26457
 
fi
26458
 
 
26459
 
 
26460
 
  as_lineno_1=$LINENO
26461
 
  as_lineno_2=$LINENO
26462
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26463
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26464
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
26465
 
  # Find who we are.  Look in the path if we contain no path at all
26466
 
  # relative or not.
26467
 
  case $0 in
26468
 
    *[\\/]* ) as_myself=$0 ;;
26469
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26470
 
for as_dir in $PATH
26471
 
do
26472
 
  IFS=$as_save_IFS
26473
 
  test -z "$as_dir" && as_dir=.
26474
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26475
 
done
26476
 
 
26477
 
       ;;
26478
 
  esac
26479
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
26480
 
  # in which case we are not to be found in the path.
26481
 
  if test "x$as_myself" = x; then
26482
 
    as_myself=$0
26483
 
  fi
26484
 
  if test ! -f "$as_myself"; then
26485
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
26486
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
26487
 
   { (exit 1); exit 1; }; }
26488
 
  fi
26489
 
  case $CONFIG_SHELL in
26490
 
  '')
26491
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26492
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
26493
 
do
26494
 
  IFS=$as_save_IFS
26495
 
  test -z "$as_dir" && as_dir=.
26496
 
  for as_base in sh bash ksh sh5; do
26497
 
         case $as_dir in
26498
 
         /*)
26499
 
           if ("$as_dir/$as_base" -c '
26500
 
  as_lineno_1=$LINENO
26501
 
  as_lineno_2=$LINENO
26502
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26503
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
26504
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
26505
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
26506
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
26507
 
             CONFIG_SHELL=$as_dir/$as_base
26508
 
             export CONFIG_SHELL
26509
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26510
 
           fi;;
26511
 
         esac
26512
 
       done
26513
 
done
26514
 
;;
26515
 
  esac
 
27046
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
27047
            s//\1/
 
27048
            q
 
27049
          }
 
27050
          /^X\/\(\/\/\)$/{
 
27051
            s//\1/
 
27052
            q
 
27053
          }
 
27054
          /^X\/\(\/\).*/{
 
27055
            s//\1/
 
27056
            q
 
27057
          }
 
27058
          s/.*/./; q'`
 
27059
 
 
27060
# CDPATH.
 
27061
$as_unset CDPATH
 
27062
 
 
27063
 
 
27064
 
 
27065
  as_lineno_1=$LINENO
 
27066
  as_lineno_2=$LINENO
 
27067
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
27068
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26516
27069
 
26517
27070
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26518
27071
  # uniformly replaced by the line number.  The first 'sed' inserts a
26519
 
  # line-number line before each line; the second 'sed' does the real
26520
 
  # work.  The second script uses 'N' to pair each line-number line
26521
 
  # with the numbered line, and appends trailing '-' during
26522
 
  # substitution so that $LINENO is not a special case at line end.
 
27072
  # line-number line after each line using $LINENO; the second 'sed'
 
27073
  # does the real work.  The second script uses 'N' to pair each
 
27074
  # line-number line with the line containing $LINENO, and appends
 
27075
  # trailing '-' during substitution so that $LINENO is not a special
 
27076
  # case at line end.
26523
27077
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26524
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
26525
 
  sed '=' <$as_myself |
 
27078
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
27079
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
27080
  sed -n '
 
27081
    p
 
27082
    /[$]LINENO/=
 
27083
  ' <$as_myself |
26526
27084
    sed '
 
27085
      s/[$]LINENO.*/&-/
 
27086
      t lineno
 
27087
      b
 
27088
      :lineno
26527
27089
      N
26528
 
      s,$,-,
26529
 
      : loop
26530
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
27090
      :loop
 
27091
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26531
27092
      t loop
26532
 
      s,-$,,
26533
 
      s,^['$as_cr_digits']*\n,,
 
27093
      s/-\n.*//
26534
27094
    ' >$as_me.lineno &&
26535
 
  chmod +x $as_me.lineno ||
26536
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
26537
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
27095
  chmod +x "$as_me.lineno" ||
 
27096
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26538
27097
   { (exit 1); exit 1; }; }
26539
27098
 
26540
27099
  # Don't try to exec as it changes $[0], causing all sort of problems
26541
27100
  # (the dirname of $[0] is not the place where we might find the
26542
 
  # original and so on.  Autoconf is especially sensible to this).
26543
 
  . ./$as_me.lineno
 
27101
  # original and so on.  Autoconf is especially sensitive to this).
 
27102
  . "./$as_me.lineno"
26544
27103
  # Exit status is that of the last command.
26545
27104
  exit
26546
27105
}
26547
27106
 
26548
27107
 
26549
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26550
 
  *c*,-n*) ECHO_N= ECHO_C='
26551
 
' ECHO_T='      ' ;;
26552
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
26553
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
27108
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
27109
  as_dirname=dirname
 
27110
else
 
27111
  as_dirname=false
 
27112
fi
 
27113
 
 
27114
ECHO_C= ECHO_N= ECHO_T=
 
27115
case `echo -n x` in
 
27116
-n*)
 
27117
  case `echo 'x\c'` in
 
27118
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
27119
  *)   ECHO_C='\c';;
 
27120
  esac;;
 
27121
*)
 
27122
  ECHO_N='-n';;
26554
27123
esac
26555
27124
 
26556
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
27125
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
27126
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26557
27127
  as_expr=expr
26558
27128
else
26559
27129
  as_expr=false
26560
27130
fi
26561
27131
 
26562
27132
rm -f conf$$ conf$$.exe conf$$.file
 
27133
if test -d conf$$.dir; then
 
27134
  rm -f conf$$.dir/conf$$.file
 
27135
else
 
27136
  rm -f conf$$.dir
 
27137
  mkdir conf$$.dir
 
27138
fi
26563
27139
echo >conf$$.file
26564
27140
if ln -s conf$$.file conf$$ 2>/dev/null; then
26565
 
  # We could just check for DJGPP; but this test a) works b) is more generic
26566
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26567
 
  if test -f conf$$.exe; then
26568
 
    # Don't use ln at all; we don't have any links
 
27141
  as_ln_s='ln -s'
 
27142
  # ... but there are two gotchas:
 
27143
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
27144
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
27145
  # In both cases, we have to default to `cp -p'.
 
27146
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26569
27147
    as_ln_s='cp -p'
26570
 
  else
26571
 
    as_ln_s='ln -s'
26572
 
  fi
26573
27148
elif ln conf$$.file conf$$ 2>/dev/null; then
26574
27149
  as_ln_s=ln
26575
27150
else
26576
27151
  as_ln_s='cp -p'
26577
27152
fi
26578
 
rm -f conf$$ conf$$.exe conf$$.file
 
27153
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
27154
rmdir conf$$.dir 2>/dev/null
26579
27155
 
26580
27156
if mkdir -p . 2>/dev/null; then
26581
27157
  as_mkdir_p=:
26584
27160
  as_mkdir_p=false
26585
27161
fi
26586
27162
 
26587
 
as_executable_p="test -f"
 
27163
if test -x / >/dev/null 2>&1; then
 
27164
  as_test_x='test -x'
 
27165
else
 
27166
  if ls -dL / >/dev/null 2>&1; then
 
27167
    as_ls_L_option=L
 
27168
  else
 
27169
    as_ls_L_option=
 
27170
  fi
 
27171
  as_test_x='
 
27172
    eval sh -c '\''
 
27173
      if test -d "$1"; then
 
27174
        test -d "$1/.";
 
27175
      else
 
27176
        case $1 in
 
27177
        -*)set "./$1";;
 
27178
        esac;
 
27179
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
27180
        ???[sx]*):;;*)false;;esac;fi
 
27181
    '\'' sh
 
27182
  '
 
27183
fi
 
27184
as_executable_p=$as_test_x
26588
27185
 
26589
27186
# Sed expression to map a string onto a valid CPP name.
26590
27187
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26593
27190
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26594
27191
 
26595
27192
 
26596
 
# IFS
26597
 
# We need space, tab and new line, in precisely that order.
26598
 
as_nl='
26599
 
'
26600
 
IFS="   $as_nl"
26601
 
 
26602
 
# CDPATH.
26603
 
$as_unset CDPATH
26604
 
 
26605
27193
exec 6>&1
26606
27194
 
26607
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
27195
# Save the log message, to keep $[0] and so on meaningful, and to
26608
27196
# report actual input values of CONFIG_FILES etc. instead of their
26609
 
# values after options handling.  Logging --version etc. is OK.
26610
 
exec 5>>config.log
26611
 
{
26612
 
  echo
26613
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26614
 
## Running $as_me. ##
26615
 
_ASBOX
26616
 
} >&5
26617
 
cat >&5 <<_CSEOF
26618
 
 
 
27197
# values after options handling.
 
27198
ac_log="
26619
27199
This file was extended by jasper $as_me 1.701.0-gs5, which was
26620
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
27200
generated by GNU Autoconf 2.61.  Invocation command line was
26621
27201
 
26622
27202
  CONFIG_FILES    = $CONFIG_FILES
26623
27203
  CONFIG_HEADERS  = $CONFIG_HEADERS
26625
27205
  CONFIG_COMMANDS = $CONFIG_COMMANDS
26626
27206
  $ $0 $@
26627
27207
 
26628
 
_CSEOF
26629
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26630
 
echo >&5
 
27208
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
27209
"
 
27210
 
26631
27211
_ACEOF
26632
27212
 
 
27213
cat >>$CONFIG_STATUS <<_ACEOF
26633
27214
# Files that config.status was made for.
26634
 
if test -n "$ac_config_files"; then
26635
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26636
 
fi
26637
 
 
26638
 
if test -n "$ac_config_headers"; then
26639
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26640
 
fi
26641
 
 
26642
 
if test -n "$ac_config_links"; then
26643
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26644
 
fi
26645
 
 
26646
 
if test -n "$ac_config_commands"; then
26647
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26648
 
fi
 
27215
config_files="$ac_config_files"
 
27216
config_headers="$ac_config_headers"
 
27217
config_commands="$ac_config_commands"
 
27218
 
 
27219
_ACEOF
26649
27220
 
26650
27221
cat >>$CONFIG_STATUS <<\_ACEOF
26651
 
 
26652
27222
ac_cs_usage="\
26653
27223
\`$as_me' instantiates files from templates according to the
26654
27224
current configuration.
26656
27226
Usage: $0 [OPTIONS] [FILE]...
26657
27227
 
26658
27228
  -h, --help       print this help, then exit
26659
 
  -V, --version    print version number, then exit
 
27229
  -V, --version    print version number and configuration settings, then exit
26660
27230
  -q, --quiet      do not print progress messages
26661
27231
  -d, --debug      don't remove temporary files
26662
27232
      --recheck    update $as_me by reconfiguring in the same conditions
26675
27245
$config_commands
26676
27246
 
26677
27247
Report bugs to <bug-autoconf@gnu.org>."
 
27248
 
26678
27249
_ACEOF
26679
 
 
26680
27250
cat >>$CONFIG_STATUS <<_ACEOF
26681
27251
ac_cs_version="\\
26682
27252
jasper config.status 1.701.0-gs5
26683
 
configured by $0, generated by GNU Autoconf 2.59,
26684
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
27253
configured by $0, generated by GNU Autoconf 2.61,
 
27254
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26685
27255
 
26686
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
27256
Copyright (C) 2006 Free Software Foundation, Inc.
26687
27257
This config.status script is free software; the Free Software Foundation
26688
27258
gives unlimited permission to copy, distribute and modify it."
26689
 
srcdir=$srcdir
26690
 
INSTALL="$INSTALL"
 
27259
 
 
27260
ac_pwd='$ac_pwd'
 
27261
srcdir='$srcdir'
 
27262
INSTALL='$INSTALL'
26691
27263
_ACEOF
26692
27264
 
26693
27265
cat >>$CONFIG_STATUS <<\_ACEOF
26698
27270
do
26699
27271
  case $1 in
26700
27272
  --*=*)
26701
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
26702
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
27273
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
27274
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26703
27275
    ac_shift=:
26704
27276
    ;;
26705
 
  -*)
 
27277
  *)
26706
27278
    ac_option=$1
26707
27279
    ac_optarg=$2
26708
27280
    ac_shift=shift
26709
27281
    ;;
26710
 
  *) # This is not an option, so the user has probably given explicit
26711
 
     # arguments.
26712
 
     ac_option=$1
26713
 
     ac_need_defaults=false;;
26714
27282
  esac
26715
27283
 
26716
27284
  case $ac_option in
26717
27285
  # Handling of the options.
26718
 
_ACEOF
26719
 
cat >>$CONFIG_STATUS <<\_ACEOF
26720
27286
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26721
27287
    ac_cs_recheck=: ;;
26722
 
  --version | --vers* | -V )
26723
 
    echo "$ac_cs_version"; exit 0 ;;
26724
 
  --he | --h)
26725
 
    # Conflict between --help and --header
26726
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
26727
 
Try \`$0 --help' for more information." >&5
26728
 
echo "$as_me: error: ambiguous option: $1
26729
 
Try \`$0 --help' for more information." >&2;}
26730
 
   { (exit 1); exit 1; }; };;
26731
 
  --help | --hel | -h )
26732
 
    echo "$ac_cs_usage"; exit 0 ;;
26733
 
  --debug | --d* | -d )
 
27288
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
27289
    echo "$ac_cs_version"; exit ;;
 
27290
  --debug | --debu | --deb | --de | --d | -d )
26734
27291
    debug=: ;;
26735
27292
  --file | --fil | --fi | --f )
26736
27293
    $ac_shift
26740
27297
    $ac_shift
26741
27298
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26742
27299
    ac_need_defaults=false;;
 
27300
  --he | --h)
 
27301
    # Conflict between --help and --header
 
27302
    { echo "$as_me: error: ambiguous option: $1
 
27303
Try \`$0 --help' for more information." >&2
 
27304
   { (exit 1); exit 1; }; };;
 
27305
  --help | --hel | -h )
 
27306
    echo "$ac_cs_usage"; exit ;;
26743
27307
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26744
27308
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26745
27309
    ac_cs_silent=: ;;
26746
27310
 
26747
27311
  # This is an error.
26748
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26749
 
Try \`$0 --help' for more information." >&5
26750
 
echo "$as_me: error: unrecognized option: $1
26751
 
Try \`$0 --help' for more information." >&2;}
 
27312
  -*) { echo "$as_me: error: unrecognized option: $1
 
27313
Try \`$0 --help' for more information." >&2
26752
27314
   { (exit 1); exit 1; }; } ;;
26753
27315
 
26754
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
27316
  *) ac_config_targets="$ac_config_targets $1"
 
27317
     ac_need_defaults=false ;;
26755
27318
 
26756
27319
  esac
26757
27320
  shift
26767
27330
_ACEOF
26768
27331
cat >>$CONFIG_STATUS <<_ACEOF
26769
27332
if \$ac_cs_recheck; then
26770
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26771
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
27333
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
27334
  CONFIG_SHELL=$SHELL
 
27335
  export CONFIG_SHELL
 
27336
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26772
27337
fi
26773
27338
 
26774
27339
_ACEOF
 
27340
cat >>$CONFIG_STATUS <<\_ACEOF
 
27341
exec 5>>config.log
 
27342
{
 
27343
  echo
 
27344
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
27345
## Running $as_me. ##
 
27346
_ASBOX
 
27347
  echo "$ac_log"
 
27348
} >&5
26775
27349
 
 
27350
_ACEOF
26776
27351
cat >>$CONFIG_STATUS <<_ACEOF
26777
27352
#
26778
 
# INIT-COMMANDS section.
 
27353
# INIT-COMMANDS
26779
27354
#
26780
 
 
26781
27355
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26782
27356
 
26783
27357
_ACEOF
26784
27358
 
26785
 
 
26786
 
 
26787
27359
cat >>$CONFIG_STATUS <<\_ACEOF
 
27360
 
 
27361
# Handling of arguments.
26788
27362
for ac_config_target in $ac_config_targets
26789
27363
do
26790
 
  case "$ac_config_target" in
26791
 
  # Handling of arguments.
26792
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26793
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26794
 
  "src/appl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/appl/Makefile" ;;
26795
 
  "src/libjasper/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/Makefile" ;;
26796
 
  "src/libjasper/base/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/base/Makefile" ;;
26797
 
  "src/libjasper/bmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/bmp/Makefile" ;;
26798
 
  "src/libjasper/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/include/Makefile" ;;
26799
 
  "src/libjasper/include/jasper/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/include/jasper/Makefile" ;;
26800
 
  "src/libjasper/jp2/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/jp2/Makefile" ;;
26801
 
  "src/libjasper/jpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/jpc/Makefile" ;;
26802
 
  "src/libjasper/jpg/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/jpg/Makefile" ;;
26803
 
  "src/libjasper/mif/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/mif/Makefile" ;;
26804
 
  "src/libjasper/pgx/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/pgx/Makefile" ;;
26805
 
  "src/libjasper/pnm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/pnm/Makefile" ;;
26806
 
  "src/libjasper/ras/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libjasper/ras/Makefile" ;;
26807
 
  "src/msvc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/msvc/Makefile" ;;
26808
 
  "jasper.spec" ) CONFIG_FILES="$CONFIG_FILES jasper.spec" ;;
26809
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26810
 
  "src/libjasper/include/jasper/jas_config_ac.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/libjasper/include/jasper/jas_config_ac.h" ;;
 
27364
  case $ac_config_target in
 
27365
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
27366
    "src/libjasper/include/jasper/jas_config_ac.h") CONFIG_HEADERS="$CONFIG_HEADERS src/libjasper/include/jasper/jas_config_ac.h" ;;
 
27367
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
27368
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
27369
    "src/appl/Makefile") CONFIG_FILES="$CONFIG_FILES src/appl/Makefile" ;;
 
27370
    "src/libjasper/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/Makefile" ;;
 
27371
    "src/libjasper/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/base/Makefile" ;;
 
27372
    "src/libjasper/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/bmp/Makefile" ;;
 
27373
    "src/libjasper/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/include/Makefile" ;;
 
27374
    "src/libjasper/include/jasper/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/include/jasper/Makefile" ;;
 
27375
    "src/libjasper/jp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jp2/Makefile" ;;
 
27376
    "src/libjasper/jpc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jpc/Makefile" ;;
 
27377
    "src/libjasper/jpg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/jpg/Makefile" ;;
 
27378
    "src/libjasper/mif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/mif/Makefile" ;;
 
27379
    "src/libjasper/pgx/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/pgx/Makefile" ;;
 
27380
    "src/libjasper/pnm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/pnm/Makefile" ;;
 
27381
    "src/libjasper/ras/Makefile") CONFIG_FILES="$CONFIG_FILES src/libjasper/ras/Makefile" ;;
 
27382
    "src/msvc/Makefile") CONFIG_FILES="$CONFIG_FILES src/msvc/Makefile" ;;
 
27383
    "jasper.spec") CONFIG_FILES="$CONFIG_FILES jasper.spec" ;;
 
27384
 
26811
27385
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26812
27386
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26813
27387
   { (exit 1); exit 1; }; };;
26814
27388
  esac
26815
27389
done
26816
27390
 
 
27391
 
26817
27392
# If the user did not use the arguments to specify the items to instantiate,
26818
27393
# then the envvar interface is used.  Set only those that are not.
26819
27394
# We use the long form for the default assignment because of an extremely
26825
27400
fi
26826
27401
 
26827
27402
# Have a temporary directory for convenience.  Make it in the build tree
26828
 
# simply because there is no reason to put it here, and in addition,
 
27403
# simply because there is no reason against having it here, and in addition,
26829
27404
# creating and moving files from /tmp can sometimes cause problems.
26830
 
# Create a temporary directory, and hook for its removal unless debugging.
 
27405
# Hook for its removal unless debugging.
 
27406
# Note that there is a small window in which the directory will not be cleaned:
 
27407
# after its creation but before its name has been assigned to `$tmp'.
26831
27408
$debug ||
26832
27409
{
26833
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
27410
  tmp=
 
27411
  trap 'exit_status=$?
 
27412
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
27413
' 0
26834
27414
  trap '{ (exit 1); exit 1; }' 1 2 13 15
26835
27415
}
26836
 
 
26837
27416
# Create a (secure) tmp directory for tmp files.
26838
27417
 
26839
27418
{
26840
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
27419
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26841
27420
  test -n "$tmp" && test -d "$tmp"
26842
27421
}  ||
26843
27422
{
26844
 
  tmp=./confstat$$-$RANDOM
26845
 
  (umask 077 && mkdir $tmp)
 
27423
  tmp=./conf$$-$RANDOM
 
27424
  (umask 077 && mkdir "$tmp")
26846
27425
} ||
26847
27426
{
26848
27427
   echo "$me: cannot create a temporary directory in ." >&2
26849
27428
   { (exit 1); exit 1; }
26850
27429
}
26851
27430
 
26852
 
_ACEOF
26853
 
 
26854
 
cat >>$CONFIG_STATUS <<_ACEOF
26855
 
 
26856
27431
#
26857
 
# CONFIG_FILES section.
 
27432
# Set up the sed scripts for CONFIG_FILES section.
26858
27433
#
26859
27434
 
26860
27435
# No need to generate the scripts if there are no CONFIG_FILES.
26861
27436
# This happens for instance when ./config.status config.h
26862
 
if test -n "\$CONFIG_FILES"; then
26863
 
  # Protect against being on the right side of a sed subst in config.status.
26864
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26865
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26866
 
s,@SHELL@,$SHELL,;t t
26867
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26868
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26869
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26870
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26871
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26872
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26873
 
s,@exec_prefix@,$exec_prefix,;t t
26874
 
s,@prefix@,$prefix,;t t
26875
 
s,@program_transform_name@,$program_transform_name,;t t
26876
 
s,@bindir@,$bindir,;t t
26877
 
s,@sbindir@,$sbindir,;t t
26878
 
s,@libexecdir@,$libexecdir,;t t
26879
 
s,@datadir@,$datadir,;t t
26880
 
s,@sysconfdir@,$sysconfdir,;t t
26881
 
s,@sharedstatedir@,$sharedstatedir,;t t
26882
 
s,@localstatedir@,$localstatedir,;t t
26883
 
s,@libdir@,$libdir,;t t
26884
 
s,@includedir@,$includedir,;t t
26885
 
s,@oldincludedir@,$oldincludedir,;t t
26886
 
s,@infodir@,$infodir,;t t
26887
 
s,@mandir@,$mandir,;t t
26888
 
s,@build_alias@,$build_alias,;t t
26889
 
s,@host_alias@,$host_alias,;t t
26890
 
s,@target_alias@,$target_alias,;t t
26891
 
s,@DEFS@,$DEFS,;t t
26892
 
s,@ECHO_C@,$ECHO_C,;t t
26893
 
s,@ECHO_N@,$ECHO_N,;t t
26894
 
s,@ECHO_T@,$ECHO_T,;t t
26895
 
s,@LIBS@,$LIBS,;t t
26896
 
s,@build@,$build,;t t
26897
 
s,@build_cpu@,$build_cpu,;t t
26898
 
s,@build_vendor@,$build_vendor,;t t
26899
 
s,@build_os@,$build_os,;t t
26900
 
s,@host@,$host,;t t
26901
 
s,@host_cpu@,$host_cpu,;t t
26902
 
s,@host_vendor@,$host_vendor,;t t
26903
 
s,@host_os@,$host_os,;t t
26904
 
s,@target@,$target,;t t
26905
 
s,@target_cpu@,$target_cpu,;t t
26906
 
s,@target_vendor@,$target_vendor,;t t
26907
 
s,@target_os@,$target_os,;t t
26908
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26909
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26910
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26911
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
26912
 
s,@PACKAGE@,$PACKAGE,;t t
26913
 
s,@VERSION@,$VERSION,;t t
26914
 
s,@ACLOCAL@,$ACLOCAL,;t t
26915
 
s,@AUTOCONF@,$AUTOCONF,;t t
26916
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
26917
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
26918
 
s,@MAKEINFO@,$MAKEINFO,;t t
26919
 
s,@install_sh@,$install_sh,;t t
26920
 
s,@STRIP@,$STRIP,;t t
26921
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26922
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26923
 
s,@mkdir_p@,$mkdir_p,;t t
26924
 
s,@AWK@,$AWK,;t t
26925
 
s,@SET_MAKE@,$SET_MAKE,;t t
26926
 
s,@am__leading_dot@,$am__leading_dot,;t t
26927
 
s,@AMTAR@,$AMTAR,;t t
26928
 
s,@am__tar@,$am__tar,;t t
26929
 
s,@am__untar@,$am__untar,;t t
26930
 
s,@JAS_MAJOR_VERSION@,$JAS_MAJOR_VERSION,;t t
26931
 
s,@JAS_MINOR_VERSION@,$JAS_MINOR_VERSION,;t t
26932
 
s,@JAS_MICRO_VERSION@,$JAS_MICRO_VERSION,;t t
26933
 
s,@JAS_VERSION@,$JAS_VERSION,;t t
26934
 
s,@JAS_RPM_RELEASE@,$JAS_RPM_RELEASE,;t t
26935
 
s,@LT_RELEASE@,$LT_RELEASE,;t t
26936
 
s,@LT_CURRENT@,$LT_CURRENT,;t t
26937
 
s,@LT_REVISION@,$LT_REVISION,;t t
26938
 
s,@LT_AGE@,$LT_AGE,;t t
26939
 
s,@CC@,$CC,;t t
26940
 
s,@CFLAGS@,$CFLAGS,;t t
26941
 
s,@LDFLAGS@,$LDFLAGS,;t t
26942
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
26943
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
26944
 
s,@EXEEXT@,$EXEEXT,;t t
26945
 
s,@OBJEXT@,$OBJEXT,;t t
26946
 
s,@DEPDIR@,$DEPDIR,;t t
26947
 
s,@am__include@,$am__include,;t t
26948
 
s,@am__quote@,$am__quote,;t t
26949
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26950
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26951
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26952
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
26953
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26954
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26955
 
s,@CPP@,$CPP,;t t
26956
 
s,@LN_S@,$LN_S,;t t
26957
 
s,@RANLIB@,$RANLIB,;t t
26958
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26959
 
s,@EGREP@,$EGREP,;t t
26960
 
s,@ECHO@,$ECHO,;t t
26961
 
s,@AR@,$AR,;t t
26962
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
26963
 
s,@CXX@,$CXX,;t t
26964
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
26965
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26966
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
26967
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
26968
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
26969
 
s,@CXXCPP@,$CXXCPP,;t t
26970
 
s,@F77@,$F77,;t t
26971
 
s,@FFLAGS@,$FFLAGS,;t t
26972
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
26973
 
s,@LIBTOOL@,$LIBTOOL,;t t
26974
 
s,@X_CFLAGS@,$X_CFLAGS,;t t
26975
 
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
26976
 
s,@X_LIBS@,$X_LIBS,;t t
26977
 
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
26978
 
s,@HAVE_LIBJPEG_TRUE@,$HAVE_LIBJPEG_TRUE,;t t
26979
 
s,@HAVE_LIBJPEG_FALSE@,$HAVE_LIBJPEG_FALSE,;t t
26980
 
s,@HAVE_OPENGL_TRUE@,$HAVE_OPENGL_TRUE,;t t
26981
 
s,@HAVE_OPENGL_FALSE@,$HAVE_OPENGL_FALSE,;t t
26982
 
s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
26983
 
s,@HAVE_SDL@,$HAVE_SDL,;t t
26984
 
s,@HAVE_SDL_TRUE@,$HAVE_SDL_TRUE,;t t
26985
 
s,@HAVE_SDL_FALSE@,$HAVE_SDL_FALSE,;t t
26986
 
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
26987
 
s,@SDL_LIBS@,$SDL_LIBS,;t t
26988
 
s,@LIBOBJS@,$LIBOBJS,;t t
26989
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26990
 
CEOF
26991
 
 
26992
 
_ACEOF
26993
 
 
26994
 
  cat >>$CONFIG_STATUS <<\_ACEOF
26995
 
  # Split the substitutions into bite-sized pieces for seds with
26996
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
26997
 
  ac_max_sed_lines=48
26998
 
  ac_sed_frag=1 # Number of current file.
26999
 
  ac_beg=1 # First line for current file.
27000
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
27001
 
  ac_more_lines=:
27002
 
  ac_sed_cmds=
27003
 
  while $ac_more_lines; do
27004
 
    if test $ac_beg -gt 1; then
27005
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27006
 
    else
27007
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27008
 
    fi
27009
 
    if test ! -s $tmp/subs.frag; then
27010
 
      ac_more_lines=false
27011
 
    else
27012
 
      # The purpose of the label and of the branching condition is to
27013
 
      # speed up the sed processing (if there are no `@' at all, there
27014
 
      # is no need to browse any of the substitutions).
27015
 
      # These are the two extra sed commands mentioned above.
27016
 
      (echo ':t
27017
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
27018
 
      if test -z "$ac_sed_cmds"; then
27019
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
27020
 
      else
27021
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
27022
 
      fi
27023
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
27024
 
      ac_beg=$ac_end
27025
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
27026
 
    fi
27027
 
  done
27028
 
  if test -z "$ac_sed_cmds"; then
27029
 
    ac_sed_cmds=cat
27030
 
  fi
 
27437
if test -n "$CONFIG_FILES"; then
 
27438
 
 
27439
_ACEOF
 
27440
 
 
27441
 
 
27442
 
 
27443
ac_delim='%!_!# '
 
27444
for ac_last_try in false false false false false :; do
 
27445
  cat >conf$$subs.sed <<_ACEOF
 
27446
SHELL!$SHELL$ac_delim
 
27447
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
27448
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
27449
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
27450
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
27451
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
27452
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
27453
exec_prefix!$exec_prefix$ac_delim
 
27454
prefix!$prefix$ac_delim
 
27455
program_transform_name!$program_transform_name$ac_delim
 
27456
bindir!$bindir$ac_delim
 
27457
sbindir!$sbindir$ac_delim
 
27458
libexecdir!$libexecdir$ac_delim
 
27459
datarootdir!$datarootdir$ac_delim
 
27460
datadir!$datadir$ac_delim
 
27461
sysconfdir!$sysconfdir$ac_delim
 
27462
sharedstatedir!$sharedstatedir$ac_delim
 
27463
localstatedir!$localstatedir$ac_delim
 
27464
includedir!$includedir$ac_delim
 
27465
oldincludedir!$oldincludedir$ac_delim
 
27466
docdir!$docdir$ac_delim
 
27467
infodir!$infodir$ac_delim
 
27468
htmldir!$htmldir$ac_delim
 
27469
dvidir!$dvidir$ac_delim
 
27470
pdfdir!$pdfdir$ac_delim
 
27471
psdir!$psdir$ac_delim
 
27472
libdir!$libdir$ac_delim
 
27473
localedir!$localedir$ac_delim
 
27474
mandir!$mandir$ac_delim
 
27475
DEFS!$DEFS$ac_delim
 
27476
ECHO_C!$ECHO_C$ac_delim
 
27477
ECHO_N!$ECHO_N$ac_delim
 
27478
ECHO_T!$ECHO_T$ac_delim
 
27479
LIBS!$LIBS$ac_delim
 
27480
build_alias!$build_alias$ac_delim
 
27481
host_alias!$host_alias$ac_delim
 
27482
target_alias!$target_alias$ac_delim
 
27483
build!$build$ac_delim
 
27484
build_cpu!$build_cpu$ac_delim
 
27485
build_vendor!$build_vendor$ac_delim
 
27486
build_os!$build_os$ac_delim
 
27487
host!$host$ac_delim
 
27488
host_cpu!$host_cpu$ac_delim
 
27489
host_vendor!$host_vendor$ac_delim
 
27490
host_os!$host_os$ac_delim
 
27491
target!$target$ac_delim
 
27492
target_cpu!$target_cpu$ac_delim
 
27493
target_vendor!$target_vendor$ac_delim
 
27494
target_os!$target_os$ac_delim
 
27495
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
27496
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
27497
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
27498
CYGPATH_W!$CYGPATH_W$ac_delim
 
27499
PACKAGE!$PACKAGE$ac_delim
 
27500
VERSION!$VERSION$ac_delim
 
27501
ACLOCAL!$ACLOCAL$ac_delim
 
27502
AUTOCONF!$AUTOCONF$ac_delim
 
27503
AUTOMAKE!$AUTOMAKE$ac_delim
 
27504
AUTOHEADER!$AUTOHEADER$ac_delim
 
27505
MAKEINFO!$MAKEINFO$ac_delim
 
27506
install_sh!$install_sh$ac_delim
 
27507
STRIP!$STRIP$ac_delim
 
27508
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
27509
mkdir_p!$mkdir_p$ac_delim
 
27510
AWK!$AWK$ac_delim
 
27511
SET_MAKE!$SET_MAKE$ac_delim
 
27512
am__leading_dot!$am__leading_dot$ac_delim
 
27513
AMTAR!$AMTAR$ac_delim
 
27514
am__tar!$am__tar$ac_delim
 
27515
am__untar!$am__untar$ac_delim
 
27516
JAS_MAJOR_VERSION!$JAS_MAJOR_VERSION$ac_delim
 
27517
JAS_MINOR_VERSION!$JAS_MINOR_VERSION$ac_delim
 
27518
JAS_MICRO_VERSION!$JAS_MICRO_VERSION$ac_delim
 
27519
JAS_VERSION!$JAS_VERSION$ac_delim
 
27520
JAS_RPM_RELEASE!$JAS_RPM_RELEASE$ac_delim
 
27521
LT_RELEASE!$LT_RELEASE$ac_delim
 
27522
LT_CURRENT!$LT_CURRENT$ac_delim
 
27523
LT_REVISION!$LT_REVISION$ac_delim
 
27524
LT_AGE!$LT_AGE$ac_delim
 
27525
CC!$CC$ac_delim
 
27526
CFLAGS!$CFLAGS$ac_delim
 
27527
LDFLAGS!$LDFLAGS$ac_delim
 
27528
CPPFLAGS!$CPPFLAGS$ac_delim
 
27529
ac_ct_CC!$ac_ct_CC$ac_delim
 
27530
EXEEXT!$EXEEXT$ac_delim
 
27531
OBJEXT!$OBJEXT$ac_delim
 
27532
DEPDIR!$DEPDIR$ac_delim
 
27533
am__include!$am__include$ac_delim
 
27534
am__quote!$am__quote$ac_delim
 
27535
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
27536
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
27537
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
27538
CCDEPMODE!$CCDEPMODE$ac_delim
 
27539
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
27540
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
27541
CPP!$CPP$ac_delim
 
27542
LN_S!$LN_S$ac_delim
 
27543
_ACEOF
 
27544
 
 
27545
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
27546
    break
 
27547
  elif $ac_last_try; then
 
27548
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27549
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27550
   { (exit 1); exit 1; }; }
 
27551
  else
 
27552
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27553
  fi
 
27554
done
 
27555
 
 
27556
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27557
if test -n "$ac_eof"; then
 
27558
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27559
  ac_eof=`expr $ac_eof + 1`
 
27560
fi
 
27561
 
 
27562
cat >>$CONFIG_STATUS <<_ACEOF
 
27563
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
27564
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
27565
_ACEOF
 
27566
sed '
 
27567
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27568
s/^/s,@/; s/!/@,|#_!!_#|/
 
27569
:n
 
27570
t n
 
27571
s/'"$ac_delim"'$/,g/; t
 
27572
s/$/\\/; p
 
27573
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27574
' >>$CONFIG_STATUS <conf$$subs.sed
 
27575
rm -f conf$$subs.sed
 
27576
cat >>$CONFIG_STATUS <<_ACEOF
 
27577
CEOF$ac_eof
 
27578
_ACEOF
 
27579
 
 
27580
 
 
27581
ac_delim='%!_!# '
 
27582
for ac_last_try in false false false false false :; do
 
27583
  cat >conf$$subs.sed <<_ACEOF
 
27584
RANLIB!$RANLIB$ac_delim
 
27585
GREP!$GREP$ac_delim
 
27586
EGREP!$EGREP$ac_delim
 
27587
ECHO!$ECHO$ac_delim
 
27588
AR!$AR$ac_delim
 
27589
CXX!$CXX$ac_delim
 
27590
CXXFLAGS!$CXXFLAGS$ac_delim
 
27591
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
27592
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
27593
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
27594
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
27595
CXXCPP!$CXXCPP$ac_delim
 
27596
F77!$F77$ac_delim
 
27597
FFLAGS!$FFLAGS$ac_delim
 
27598
ac_ct_F77!$ac_ct_F77$ac_delim
 
27599
LIBTOOL!$LIBTOOL$ac_delim
 
27600
XMKMF!$XMKMF$ac_delim
 
27601
X_CFLAGS!$X_CFLAGS$ac_delim
 
27602
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
 
27603
X_LIBS!$X_LIBS$ac_delim
 
27604
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
 
27605
HAVE_LIBJPEG_TRUE!$HAVE_LIBJPEG_TRUE$ac_delim
 
27606
HAVE_LIBJPEG_FALSE!$HAVE_LIBJPEG_FALSE$ac_delim
 
27607
HAVE_OPENGL_TRUE!$HAVE_OPENGL_TRUE$ac_delim
 
27608
HAVE_OPENGL_FALSE!$HAVE_OPENGL_FALSE$ac_delim
 
27609
OPENGL_LIBS!$OPENGL_LIBS$ac_delim
 
27610
HAVE_SDL!$HAVE_SDL$ac_delim
 
27611
HAVE_SDL_TRUE!$HAVE_SDL_TRUE$ac_delim
 
27612
HAVE_SDL_FALSE!$HAVE_SDL_FALSE$ac_delim
 
27613
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
 
27614
SDL_LIBS!$SDL_LIBS$ac_delim
 
27615
LIBOBJS!$LIBOBJS$ac_delim
 
27616
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
27617
_ACEOF
 
27618
 
 
27619
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
 
27620
    break
 
27621
  elif $ac_last_try; then
 
27622
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
27623
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
27624
   { (exit 1); exit 1; }; }
 
27625
  else
 
27626
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
27627
  fi
 
27628
done
 
27629
 
 
27630
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
27631
if test -n "$ac_eof"; then
 
27632
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
27633
  ac_eof=`expr $ac_eof + 1`
 
27634
fi
 
27635
 
 
27636
cat >>$CONFIG_STATUS <<_ACEOF
 
27637
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
27638
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
27639
_ACEOF
 
27640
sed '
 
27641
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
27642
s/^/s,@/; s/!/@,|#_!!_#|/
 
27643
:n
 
27644
t n
 
27645
s/'"$ac_delim"'$/,g/; t
 
27646
s/$/\\/; p
 
27647
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
27648
' >>$CONFIG_STATUS <conf$$subs.sed
 
27649
rm -f conf$$subs.sed
 
27650
cat >>$CONFIG_STATUS <<_ACEOF
 
27651
:end
 
27652
s/|#_!!_#|//g
 
27653
CEOF$ac_eof
 
27654
_ACEOF
 
27655
 
 
27656
 
 
27657
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
27658
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
27659
# trailing colons and then remove the whole line if VPATH becomes empty
 
27660
# (actually we leave an empty line to preserve line numbers).
 
27661
if test "x$srcdir" = x.; then
 
27662
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
27663
s/:*\$(srcdir):*/:/
 
27664
s/:*\${srcdir}:*/:/
 
27665
s/:*@srcdir@:*/:/
 
27666
s/^\([^=]*=[     ]*\):*/\1/
 
27667
s/:*$//
 
27668
s/^[^=]*=[       ]*$//
 
27669
}'
 
27670
fi
 
27671
 
 
27672
cat >>$CONFIG_STATUS <<\_ACEOF
27031
27673
fi # test -n "$CONFIG_FILES"
27032
27674
 
27033
 
_ACEOF
27034
 
cat >>$CONFIG_STATUS <<\_ACEOF
27035
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
27036
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27037
 
  case $ac_file in
27038
 
  - | *:- | *:-:* ) # input from stdin
27039
 
        cat >$tmp/stdin
27040
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27041
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27042
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27043
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27044
 
  * )   ac_file_in=$ac_file.in ;;
27045
 
  esac
27046
 
 
27047
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
27048
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
27675
 
 
27676
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
27677
do
 
27678
  case $ac_tag in
 
27679
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
27680
  esac
 
27681
  case $ac_mode$ac_tag in
 
27682
  :[FHL]*:*);;
 
27683
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
27684
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
27685
   { (exit 1); exit 1; }; };;
 
27686
  :[FH]-) ac_tag=-:-;;
 
27687
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
27688
  esac
 
27689
  ac_save_IFS=$IFS
 
27690
  IFS=:
 
27691
  set x $ac_tag
 
27692
  IFS=$ac_save_IFS
 
27693
  shift
 
27694
  ac_file=$1
 
27695
  shift
 
27696
 
 
27697
  case $ac_mode in
 
27698
  :L) ac_source=$1;;
 
27699
  :[FH])
 
27700
    ac_file_inputs=
 
27701
    for ac_f
 
27702
    do
 
27703
      case $ac_f in
 
27704
      -) ac_f="$tmp/stdin";;
 
27705
      *) # Look for the file first in the build tree, then in the source tree
 
27706
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
27707
         # because $ac_f cannot contain `:'.
 
27708
         test -f "$ac_f" ||
 
27709
           case $ac_f in
 
27710
           [\\/$]*) false;;
 
27711
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
27712
           esac ||
 
27713
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
27714
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
27715
   { (exit 1); exit 1; }; };;
 
27716
      esac
 
27717
      ac_file_inputs="$ac_file_inputs $ac_f"
 
27718
    done
 
27719
 
 
27720
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
27721
    # use $as_me), people would be surprised to read:
 
27722
    #    /* config.h.  Generated by config.status.  */
 
27723
    configure_input="Generated from "`IFS=:
 
27724
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
27725
    if test x"$ac_file" != x-; then
 
27726
      configure_input="$ac_file.  $configure_input"
 
27727
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
27728
echo "$as_me: creating $ac_file" >&6;}
 
27729
    fi
 
27730
 
 
27731
    case $ac_tag in
 
27732
    *:-:* | *:-) cat >"$tmp/stdin";;
 
27733
    esac
 
27734
    ;;
 
27735
  esac
 
27736
 
 
27737
  ac_dir=`$as_dirname -- "$ac_file" ||
27049
27738
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27050
27739
         X"$ac_file" : 'X\(//\)[^/]' \| \
27051
27740
         X"$ac_file" : 'X\(//\)$' \| \
27052
 
         X"$ac_file" : 'X\(/\)' \| \
27053
 
         .     : '\(.\)' 2>/dev/null ||
 
27741
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27054
27742
echo X"$ac_file" |
27055
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27056
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27057
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27058
 
          /^X\(\/\).*/{ s//\1/; q; }
27059
 
          s/.*/./; q'`
27060
 
  { if $as_mkdir_p; then
27061
 
    mkdir -p "$ac_dir"
27062
 
  else
27063
 
    as_dir="$ac_dir"
 
27743
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27744
            s//\1/
 
27745
            q
 
27746
          }
 
27747
          /^X\(\/\/\)[^/].*/{
 
27748
            s//\1/
 
27749
            q
 
27750
          }
 
27751
          /^X\(\/\/\)$/{
 
27752
            s//\1/
 
27753
            q
 
27754
          }
 
27755
          /^X\(\/\).*/{
 
27756
            s//\1/
 
27757
            q
 
27758
          }
 
27759
          s/.*/./; q'`
 
27760
  { as_dir="$ac_dir"
 
27761
  case $as_dir in #(
 
27762
  -*) as_dir=./$as_dir;;
 
27763
  esac
 
27764
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27064
27765
    as_dirs=
27065
 
    while test ! -d "$as_dir"; do
27066
 
      as_dirs="$as_dir $as_dirs"
27067
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
27766
    while :; do
 
27767
      case $as_dir in #(
 
27768
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
27769
      *) as_qdir=$as_dir;;
 
27770
      esac
 
27771
      as_dirs="'$as_qdir' $as_dirs"
 
27772
      as_dir=`$as_dirname -- "$as_dir" ||
27068
27773
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27069
27774
         X"$as_dir" : 'X\(//\)[^/]' \| \
27070
27775
         X"$as_dir" : 'X\(//\)$' \| \
27071
 
         X"$as_dir" : 'X\(/\)' \| \
27072
 
         .     : '\(.\)' 2>/dev/null ||
 
27776
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27073
27777
echo X"$as_dir" |
27074
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27075
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27076
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27077
 
          /^X\(\/\).*/{ s//\1/; q; }
27078
 
          s/.*/./; q'`
 
27778
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
27779
            s//\1/
 
27780
            q
 
27781
          }
 
27782
          /^X\(\/\/\)[^/].*/{
 
27783
            s//\1/
 
27784
            q
 
27785
          }
 
27786
          /^X\(\/\/\)$/{
 
27787
            s//\1/
 
27788
            q
 
27789
          }
 
27790
          /^X\(\/\).*/{
 
27791
            s//\1/
 
27792
            q
 
27793
          }
 
27794
          s/.*/./; q'`
 
27795
      test -d "$as_dir" && break
27079
27796
    done
27080
 
    test ! -n "$as_dirs" || mkdir $as_dirs
27081
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27082
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
27797
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
27798
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
27799
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27083
27800
   { (exit 1); exit 1; }; }; }
27084
 
 
27085
27801
  ac_builddir=.
27086
27802
 
27087
 
if test "$ac_dir" != .; then
 
27803
case "$ac_dir" in
 
27804
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27805
*)
27088
27806
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27089
 
  # A "../" for each directory in $ac_dir_suffix.
27090
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27091
 
else
27092
 
  ac_dir_suffix= ac_top_builddir=
27093
 
fi
 
27807
  # A ".." for each directory in $ac_dir_suffix.
 
27808
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
27809
  case $ac_top_builddir_sub in
 
27810
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
27811
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
27812
  esac ;;
 
27813
esac
 
27814
ac_abs_top_builddir=$ac_pwd
 
27815
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
27816
# for backward compatibility:
 
27817
ac_top_builddir=$ac_top_build_prefix
27094
27818
 
27095
27819
case $srcdir in
27096
 
  .)  # No --srcdir option.  We are building in place.
 
27820
  .)  # We are building in place.
27097
27821
    ac_srcdir=.
27098
 
    if test -z "$ac_top_builddir"; then
27099
 
       ac_top_srcdir=.
27100
 
    else
27101
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27102
 
    fi ;;
27103
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
27822
    ac_top_srcdir=$ac_top_builddir_sub
 
27823
    ac_abs_top_srcdir=$ac_pwd ;;
 
27824
  [\\/]* | ?:[\\/]* )  # Absolute name.
27104
27825
    ac_srcdir=$srcdir$ac_dir_suffix;
27105
 
    ac_top_srcdir=$srcdir ;;
27106
 
  *) # Relative path.
27107
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27108
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
27109
 
esac
27110
 
 
27111
 
# Do not use `cd foo && pwd` to compute absolute paths, because
27112
 
# the directories may not exist.
27113
 
case `pwd` in
27114
 
.) ac_abs_builddir="$ac_dir";;
27115
 
*)
27116
 
  case "$ac_dir" in
27117
 
  .) ac_abs_builddir=`pwd`;;
27118
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27119
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
27120
 
  esac;;
27121
 
esac
27122
 
case $ac_abs_builddir in
27123
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
27124
 
*)
27125
 
  case ${ac_top_builddir}. in
27126
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
27127
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27128
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27129
 
  esac;;
27130
 
esac
27131
 
case $ac_abs_builddir in
27132
 
.) ac_abs_srcdir=$ac_srcdir;;
27133
 
*)
27134
 
  case $ac_srcdir in
27135
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
27136
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27137
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27138
 
  esac;;
27139
 
esac
27140
 
case $ac_abs_builddir in
27141
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
27142
 
*)
27143
 
  case $ac_top_srcdir in
27144
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
27145
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27146
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27147
 
  esac;;
27148
 
esac
27149
 
 
 
27826
    ac_top_srcdir=$srcdir
 
27827
    ac_abs_top_srcdir=$srcdir ;;
 
27828
  *) # Relative name.
 
27829
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
27830
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
27831
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
27832
esac
 
27833
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
27834
 
 
27835
 
 
27836
  case $ac_mode in
 
27837
  :F)
 
27838
  #
 
27839
  # CONFIG_FILE
 
27840
  #
27150
27841
 
27151
27842
  case $INSTALL in
27152
27843
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27153
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
27844
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27154
27845
  esac
27155
 
 
27156
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
27157
 
  # use $as_me), people would be surprised to read:
27158
 
  #    /* config.h.  Generated by config.status.  */
27159
 
  if test x"$ac_file" = x-; then
27160
 
    configure_input=
27161
 
  else
27162
 
    configure_input="$ac_file.  "
27163
 
  fi
27164
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
27165
 
                                     sed 's,.*/,,'` by configure."
27166
 
 
27167
 
  # First look for the input files in the build tree, otherwise in the
27168
 
  # src tree.
27169
 
  ac_file_inputs=`IFS=:
27170
 
    for f in $ac_file_in; do
27171
 
      case $f in
27172
 
      -) echo $tmp/stdin ;;
27173
 
      [\\/$]*)
27174
 
         # Absolute (can't be DOS-style, as IFS=:)
27175
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27176
 
echo "$as_me: error: cannot find input file: $f" >&2;}
27177
 
   { (exit 1); exit 1; }; }
27178
 
         echo "$f";;
27179
 
      *) # Relative
27180
 
         if test -f "$f"; then
27181
 
           # Build tree
27182
 
           echo "$f"
27183
 
         elif test -f "$srcdir/$f"; then
27184
 
           # Source tree
27185
 
           echo "$srcdir/$f"
27186
 
         else
27187
 
           # /dev/null tree
27188
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27189
 
echo "$as_me: error: cannot find input file: $f" >&2;}
27190
 
   { (exit 1); exit 1; }; }
27191
 
         fi;;
27192
 
      esac
27193
 
    done` || { (exit 1); exit 1; }
27194
 
 
27195
 
  if test x"$ac_file" != x-; then
27196
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
27197
 
echo "$as_me: creating $ac_file" >&6;}
27198
 
    rm -f "$ac_file"
27199
 
  fi
27200
 
_ACEOF
 
27846
_ACEOF
 
27847
 
 
27848
cat >>$CONFIG_STATUS <<\_ACEOF
 
27849
# If the template does not know about datarootdir, expand it.
 
27850
# FIXME: This hack should be removed a few years after 2.60.
 
27851
ac_datarootdir_hack=; ac_datarootdir_seen=
 
27852
 
 
27853
case `sed -n '/datarootdir/ {
 
27854
  p
 
27855
  q
 
27856
}
 
27857
/@datadir@/p
 
27858
/@docdir@/p
 
27859
/@infodir@/p
 
27860
/@localedir@/p
 
27861
/@mandir@/p
 
27862
' $ac_file_inputs` in
 
27863
*datarootdir*) ac_datarootdir_seen=yes;;
 
27864
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
27865
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
27866
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
27867
_ACEOF
 
27868
cat >>$CONFIG_STATUS <<_ACEOF
 
27869
  ac_datarootdir_hack='
 
27870
  s&@datadir@&$datadir&g
 
27871
  s&@docdir@&$docdir&g
 
27872
  s&@infodir@&$infodir&g
 
27873
  s&@localedir@&$localedir&g
 
27874
  s&@mandir@&$mandir&g
 
27875
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
27876
esac
 
27877
_ACEOF
 
27878
 
 
27879
# Neutralize VPATH when `$srcdir' = `.'.
 
27880
# Shell code in configure.ac might set extrasub.
 
27881
# FIXME: do we really want to maintain this feature?
27201
27882
cat >>$CONFIG_STATUS <<_ACEOF
27202
27883
  sed "$ac_vpsub
27203
27884
$extrasub
27205
27886
cat >>$CONFIG_STATUS <<\_ACEOF
27206
27887
:t
27207
27888
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27208
 
s,@configure_input@,$configure_input,;t t
27209
 
s,@srcdir@,$ac_srcdir,;t t
27210
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
27211
 
s,@top_srcdir@,$ac_top_srcdir,;t t
27212
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
27213
 
s,@builddir@,$ac_builddir,;t t
27214
 
s,@abs_builddir@,$ac_abs_builddir,;t t
27215
 
s,@top_builddir@,$ac_top_builddir,;t t
27216
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
27217
 
s,@INSTALL@,$ac_INSTALL,;t t
27218
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
27219
 
  rm -f $tmp/stdin
27220
 
  if test x"$ac_file" != x-; then
27221
 
    mv $tmp/out $ac_file
27222
 
  else
27223
 
    cat $tmp/out
27224
 
    rm -f $tmp/out
27225
 
  fi
27226
 
 
27227
 
done
 
27889
s&@configure_input@&$configure_input&;t t
 
27890
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
27891
s&@srcdir@&$ac_srcdir&;t t
 
27892
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
27893
s&@top_srcdir@&$ac_top_srcdir&;t t
 
27894
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
27895
s&@builddir@&$ac_builddir&;t t
 
27896
s&@abs_builddir@&$ac_abs_builddir&;t t
 
27897
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
27898
s&@INSTALL@&$ac_INSTALL&;t t
 
27899
$ac_datarootdir_hack
 
27900
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
27901
 
 
27902
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
27903
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
27904
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
27905
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
27906
which seems to be undefined.  Please make sure it is defined." >&5
 
27907
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
27908
which seems to be undefined.  Please make sure it is defined." >&2;}
 
27909
 
 
27910
  rm -f "$tmp/stdin"
 
27911
  case $ac_file in
 
27912
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
27913
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
27914
  esac
 
27915
 ;;
 
27916
  :H)
 
27917
  #
 
27918
  # CONFIG_HEADER
 
27919
  #
27228
27920
_ACEOF
27229
 
cat >>$CONFIG_STATUS <<\_ACEOF
27230
 
 
27231
 
#
27232
 
# CONFIG_HEADER section.
27233
 
#
27234
 
 
27235
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
27236
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
27237
 
#
27238
 
# ac_d sets the value in "#define NAME VALUE" lines.
27239
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
27240
 
ac_dB='[         ].*$,\1#\2'
 
27921
 
 
27922
# Transform confdefs.h into a sed script `conftest.defines', that
 
27923
# substitutes the proper values into config.h.in to produce config.h.
 
27924
rm -f conftest.defines conftest.tail
 
27925
# First, append a space to every undef/define line, to ease matching.
 
27926
echo 's/$/ /' >conftest.defines
 
27927
# Then, protect against being on the right side of a sed subst, or in
 
27928
# an unquoted here document, in config.status.  If some macros were
 
27929
# called several times there might be several #defines for the same
 
27930
# symbol, which is useless.  But do not sort them, since the last
 
27931
# AC_DEFINE must be honored.
 
27932
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
27933
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
27934
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
27935
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
27936
# just an empty string.
 
27937
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
27938
ac_dB='\\)[      (].*,\\1define\\2'
27241
27939
ac_dC=' '
27242
 
ac_dD=',;t'
27243
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
27244
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
27245
 
ac_uB='$,\1#\2define\3'
27246
 
ac_uC=' '
27247
 
ac_uD=',;t'
27248
 
 
27249
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
27250
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27251
 
  case $ac_file in
27252
 
  - | *:- | *:-:* ) # input from stdin
27253
 
        cat >$tmp/stdin
27254
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27255
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27256
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27257
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27258
 
  * )   ac_file_in=$ac_file.in ;;
27259
 
  esac
27260
 
 
27261
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
27262
 
echo "$as_me: creating $ac_file" >&6;}
27263
 
 
27264
 
  # First look for the input files in the build tree, otherwise in the
27265
 
  # src tree.
27266
 
  ac_file_inputs=`IFS=:
27267
 
    for f in $ac_file_in; do
27268
 
      case $f in
27269
 
      -) echo $tmp/stdin ;;
27270
 
      [\\/$]*)
27271
 
         # Absolute (can't be DOS-style, as IFS=:)
27272
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27273
 
echo "$as_me: error: cannot find input file: $f" >&2;}
27274
 
   { (exit 1); exit 1; }; }
27275
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
27276
 
         echo "$f";;
27277
 
      *) # Relative
27278
 
         if test -f "$f"; then
27279
 
           # Build tree
27280
 
           echo "$f"
27281
 
         elif test -f "$srcdir/$f"; then
27282
 
           # Source tree
27283
 
           echo "$srcdir/$f"
27284
 
         else
27285
 
           # /dev/null tree
27286
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27287
 
echo "$as_me: error: cannot find input file: $f" >&2;}
27288
 
   { (exit 1); exit 1; }; }
27289
 
         fi;;
27290
 
      esac
27291
 
    done` || { (exit 1); exit 1; }
27292
 
  # Remove the trailing spaces.
27293
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
27294
 
 
27295
 
_ACEOF
27296
 
 
27297
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
27298
 
# `conftest.undefs', that substitutes the proper values into
27299
 
# config.h.in to produce config.h.  The first handles `#define'
27300
 
# templates, and the second `#undef' templates.
27301
 
# And first: Protect against being on the right side of a sed subst in
27302
 
# config.status.  Protect against being in an unquoted here document
27303
 
# in config.status.
27304
 
rm -f conftest.defines conftest.undefs
27305
 
# Using a here document instead of a string reduces the quoting nightmare.
27306
 
# Putting comments in sed scripts is not portable.
27307
 
#
27308
 
# `end' is used to avoid that the second main sed command (meant for
27309
 
# 0-ary CPP macros) applies to n-ary macro definitions.
27310
 
# See the Autoconf documentation for `clear'.
27311
 
cat >confdef2sed.sed <<\_ACEOF
27312
 
s/[\\&,]/\\&/g
27313
 
s,[\\$`],\\&,g
27314
 
t clear
27315
 
: clear
27316
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
27317
 
t end
27318
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
27319
 
: end
27320
 
_ACEOF
27321
 
# If some macros were called several times there might be several times
27322
 
# the same #defines, which is useless.  Nevertheless, we may not want to
27323
 
# sort them, since we want the *last* AC-DEFINE to be honored.
27324
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
27325
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
27326
 
rm -f confdef2sed.sed
27327
 
 
27328
 
# This sed command replaces #undef with comments.  This is necessary, for
 
27940
ac_dD=' ,'
 
27941
 
 
27942
uniq confdefs.h |
 
27943
  sed -n '
 
27944
        t rset
 
27945
        :rset
 
27946
        s/^[     ]*#[    ]*define[       ][      ]*//
 
27947
        t ok
 
27948
        d
 
27949
        :ok
 
27950
        s/[\\&,]/\\&/g
 
27951
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
27952
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
27953
  ' >>conftest.defines
 
27954
 
 
27955
# Remove the space that was appended to ease matching.
 
27956
# Then replace #undef with comments.  This is necessary, for
27329
27957
# example, in the case of _POSIX_SOURCE, which is predefined and required
27330
27958
# on some systems where configure will not decide to define it.
27331
 
cat >>conftest.undefs <<\_ACEOF
27332
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
27959
# (The regexp can be short, since the line contains either #define or #undef.)
 
27960
echo 's/ $//
 
27961
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
27962
 
 
27963
# Break up conftest.defines:
 
27964
ac_max_sed_lines=50
 
27965
 
 
27966
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
27967
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
27968
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
27969
# et cetera.
 
27970
ac_in='$ac_file_inputs'
 
27971
ac_out='"$tmp/out1"'
 
27972
ac_nxt='"$tmp/out2"'
 
27973
 
 
27974
while :
 
27975
do
 
27976
  # Write a here document:
 
27977
    cat >>$CONFIG_STATUS <<_ACEOF
 
27978
    # First, check the format of the line:
 
27979
    cat >"\$tmp/defines.sed" <<\\CEOF
 
27980
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
27981
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
27982
b
 
27983
:def
27333
27984
_ACEOF
27334
 
 
27335
 
# Break up conftest.defines because some shells have a limit on the size
27336
 
# of here documents, and old seds have small limits too (100 cmds).
27337
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
27338
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
27339
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
27340
 
echo '  :' >>$CONFIG_STATUS
27341
 
rm -f conftest.tail
27342
 
while grep . conftest.defines >/dev/null
27343
 
do
27344
 
  # Write a limited-size here document to $tmp/defines.sed.
27345
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
27346
 
  # Speed up: don't consider the non `#define' lines.
27347
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
27348
 
  # Work around the forget-to-reset-the-flag bug.
27349
 
  echo 't clr' >>$CONFIG_STATUS
27350
 
  echo ': clr' >>$CONFIG_STATUS
27351
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
27985
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27352
27986
  echo 'CEOF
27353
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
27354
 
  rm -f $tmp/in
27355
 
  mv $tmp/out $tmp/in
27356
 
' >>$CONFIG_STATUS
27357
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
27987
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
27988
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
27989
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
27990
  grep . conftest.tail >/dev/null || break
27358
27991
  rm -f conftest.defines
27359
27992
  mv conftest.tail conftest.defines
27360
27993
done
27361
 
rm -f conftest.defines
27362
 
echo '  fi # grep' >>$CONFIG_STATUS
27363
 
echo >>$CONFIG_STATUS
27364
 
 
27365
 
# Break up conftest.undefs because some shells have a limit on the size
27366
 
# of here documents, and old seds have small limits too (100 cmds).
27367
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
27368
 
rm -f conftest.tail
27369
 
while grep . conftest.undefs >/dev/null
27370
 
do
27371
 
  # Write a limited-size here document to $tmp/undefs.sed.
27372
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
27373
 
  # Speed up: don't consider the non `#undef'
27374
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
27375
 
  # Work around the forget-to-reset-the-flag bug.
27376
 
  echo 't clr' >>$CONFIG_STATUS
27377
 
  echo ': clr' >>$CONFIG_STATUS
27378
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
27379
 
  echo 'CEOF
27380
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
27381
 
  rm -f $tmp/in
27382
 
  mv $tmp/out $tmp/in
27383
 
' >>$CONFIG_STATUS
27384
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
27385
 
  rm -f conftest.undefs
27386
 
  mv conftest.tail conftest.undefs
27387
 
done
27388
 
rm -f conftest.undefs
27389
 
 
 
27994
rm -f conftest.defines conftest.tail
 
27995
 
 
27996
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27390
27997
cat >>$CONFIG_STATUS <<\_ACEOF
27391
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
27392
 
  # use $as_me), people would be surprised to read:
27393
 
  #    /* config.h.  Generated by config.status.  */
27394
 
  if test x"$ac_file" = x-; then
27395
 
    echo "/* Generated by configure.  */" >$tmp/config.h
27396
 
  else
27397
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
27398
 
  fi
27399
 
  cat $tmp/in >>$tmp/config.h
27400
 
  rm -f $tmp/in
27401
27998
  if test x"$ac_file" != x-; then
27402
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
27999
    echo "/* $configure_input  */" >"$tmp/config.h"
 
28000
    cat "$ac_result" >>"$tmp/config.h"
 
28001
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27403
28002
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27404
28003
echo "$as_me: $ac_file is unchanged" >&6;}
27405
28004
    else
27406
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
27407
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27408
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
27409
 
         X"$ac_file" : 'X\(//\)$' \| \
27410
 
         X"$ac_file" : 'X\(/\)' \| \
27411
 
         .     : '\(.\)' 2>/dev/null ||
27412
 
echo X"$ac_file" |
27413
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27414
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27415
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27416
 
          /^X\(\/\).*/{ s//\1/; q; }
27417
 
          s/.*/./; q'`
27418
 
      { if $as_mkdir_p; then
27419
 
    mkdir -p "$ac_dir"
27420
 
  else
27421
 
    as_dir="$ac_dir"
27422
 
    as_dirs=
27423
 
    while test ! -d "$as_dir"; do
27424
 
      as_dirs="$as_dir $as_dirs"
27425
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
27426
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27427
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27428
 
         X"$as_dir" : 'X\(//\)$' \| \
27429
 
         X"$as_dir" : 'X\(/\)' \| \
27430
 
         .     : '\(.\)' 2>/dev/null ||
27431
 
echo X"$as_dir" |
27432
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27433
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27434
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27435
 
          /^X\(\/\).*/{ s//\1/; q; }
27436
 
          s/.*/./; q'`
27437
 
    done
27438
 
    test ! -n "$as_dirs" || mkdir $as_dirs
27439
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27440
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27441
 
   { (exit 1); exit 1; }; }; }
27442
 
 
27443
28005
      rm -f $ac_file
27444
 
      mv $tmp/config.h $ac_file
 
28006
      mv "$tmp/config.h" $ac_file
27445
28007
    fi
27446
28008
  else
27447
 
    cat $tmp/config.h
27448
 
    rm -f $tmp/config.h
 
28009
    echo "/* $configure_input  */"
 
28010
    cat "$ac_result"
27449
28011
  fi
 
28012
  rm -f "$tmp/out12"
27450
28013
# Compute $ac_file's index in $config_headers.
27451
28014
_am_stamp_count=1
27452
28015
for _am_header in $config_headers :; do
27457
28020
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27458
28021
  esac
27459
28022
done
27460
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
28023
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27461
28024
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27462
28025
         X$ac_file : 'X\(//\)[^/]' \| \
27463
28026
         X$ac_file : 'X\(//\)$' \| \
27464
 
         X$ac_file : 'X\(/\)' \| \
27465
 
         .     : '\(.\)' 2>/dev/null ||
 
28027
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27466
28028
echo X$ac_file |
27467
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27468
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27469
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27470
 
          /^X\(\/\).*/{ s//\1/; q; }
27471
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
27472
 
done
27473
 
_ACEOF
27474
 
cat >>$CONFIG_STATUS <<\_ACEOF
27475
 
 
27476
 
#
27477
 
# CONFIG_COMMANDS section.
27478
 
#
27479
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
27480
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
27481
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
27482
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
27483
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27484
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
27485
 
         X"$ac_dest" : 'X\(//\)$' \| \
27486
 
         X"$ac_dest" : 'X\(/\)' \| \
27487
 
         .     : '\(.\)' 2>/dev/null ||
27488
 
echo X"$ac_dest" |
27489
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27490
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27491
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27492
 
          /^X\(\/\).*/{ s//\1/; q; }
27493
 
          s/.*/./; q'`
27494
 
  { if $as_mkdir_p; then
27495
 
    mkdir -p "$ac_dir"
27496
 
  else
27497
 
    as_dir="$ac_dir"
27498
 
    as_dirs=
27499
 
    while test ! -d "$as_dir"; do
27500
 
      as_dirs="$as_dir $as_dirs"
27501
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
27502
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27503
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
27504
 
         X"$as_dir" : 'X\(//\)$' \| \
27505
 
         X"$as_dir" : 'X\(/\)' \| \
27506
 
         .     : '\(.\)' 2>/dev/null ||
27507
 
echo X"$as_dir" |
27508
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27509
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27510
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27511
 
          /^X\(\/\).*/{ s//\1/; q; }
27512
 
          s/.*/./; q'`
27513
 
    done
27514
 
    test ! -n "$as_dirs" || mkdir $as_dirs
27515
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27516
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27517
 
   { (exit 1); exit 1; }; }; }
27518
 
 
27519
 
  ac_builddir=.
27520
 
 
27521
 
if test "$ac_dir" != .; then
27522
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27523
 
  # A "../" for each directory in $ac_dir_suffix.
27524
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27525
 
else
27526
 
  ac_dir_suffix= ac_top_builddir=
27527
 
fi
27528
 
 
27529
 
case $srcdir in
27530
 
  .)  # No --srcdir option.  We are building in place.
27531
 
    ac_srcdir=.
27532
 
    if test -z "$ac_top_builddir"; then
27533
 
       ac_top_srcdir=.
27534
 
    else
27535
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27536
 
    fi ;;
27537
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
27538
 
    ac_srcdir=$srcdir$ac_dir_suffix;
27539
 
    ac_top_srcdir=$srcdir ;;
27540
 
  *) # Relative path.
27541
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27542
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
27543
 
esac
27544
 
 
27545
 
# Do not use `cd foo && pwd` to compute absolute paths, because
27546
 
# the directories may not exist.
27547
 
case `pwd` in
27548
 
.) ac_abs_builddir="$ac_dir";;
27549
 
*)
27550
 
  case "$ac_dir" in
27551
 
  .) ac_abs_builddir=`pwd`;;
27552
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27553
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
27554
 
  esac;;
27555
 
esac
27556
 
case $ac_abs_builddir in
27557
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
27558
 
*)
27559
 
  case ${ac_top_builddir}. in
27560
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
27561
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27562
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27563
 
  esac;;
27564
 
esac
27565
 
case $ac_abs_builddir in
27566
 
.) ac_abs_srcdir=$ac_srcdir;;
27567
 
*)
27568
 
  case $ac_srcdir in
27569
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
27570
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27571
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27572
 
  esac;;
27573
 
esac
27574
 
case $ac_abs_builddir in
27575
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
27576
 
*)
27577
 
  case $ac_top_srcdir in
27578
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
27579
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27580
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27581
 
  esac;;
27582
 
esac
27583
 
 
27584
 
 
27585
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
27586
 
echo "$as_me: executing $ac_dest commands" >&6;}
27587
 
  case $ac_dest in
27588
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
28029
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28030
            s//\1/
 
28031
            q
 
28032
          }
 
28033
          /^X\(\/\/\)[^/].*/{
 
28034
            s//\1/
 
28035
            q
 
28036
          }
 
28037
          /^X\(\/\/\)$/{
 
28038
            s//\1/
 
28039
            q
 
28040
          }
 
28041
          /^X\(\/\).*/{
 
28042
            s//\1/
 
28043
            q
 
28044
          }
 
28045
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
28046
 ;;
 
28047
 
 
28048
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
28049
echo "$as_me: executing $ac_file commands" >&6;}
 
28050
 ;;
 
28051
  esac
 
28052
 
 
28053
 
 
28054
  case $ac_file$ac_mode in
 
28055
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27589
28056
  # Strip MF so we end up with the name of the file.
27590
28057
  mf=`echo "$mf" | sed -e 's/:.*$//'`
27591
28058
  # Check whether this is an Automake generated Makefile or not.
27595
28062
  # each Makefile.in and add a new line on top of each file to say so.
27596
28063
  # So let's grep whole file.
27597
28064
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
27598
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
28065
    dirpart=`$as_dirname -- "$mf" ||
27599
28066
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27600
28067
         X"$mf" : 'X\(//\)[^/]' \| \
27601
28068
         X"$mf" : 'X\(//\)$' \| \
27602
 
         X"$mf" : 'X\(/\)' \| \
27603
 
         .     : '\(.\)' 2>/dev/null ||
 
28069
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27604
28070
echo X"$mf" |
27605
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27606
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27607
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27608
 
          /^X\(\/\).*/{ s//\1/; q; }
27609
 
          s/.*/./; q'`
 
28071
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28072
            s//\1/
 
28073
            q
 
28074
          }
 
28075
          /^X\(\/\/\)[^/].*/{
 
28076
            s//\1/
 
28077
            q
 
28078
          }
 
28079
          /^X\(\/\/\)$/{
 
28080
            s//\1/
 
28081
            q
 
28082
          }
 
28083
          /^X\(\/\).*/{
 
28084
            s//\1/
 
28085
            q
 
28086
          }
 
28087
          s/.*/./; q'`
27610
28088
  else
27611
28089
    continue
27612
28090
  fi
27628
28106
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27629
28107
    # Make sure the directory exists.
27630
28108
    test -f "$dirpart/$file" && continue
27631
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
28109
    fdir=`$as_dirname -- "$file" ||
27632
28110
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27633
28111
         X"$file" : 'X\(//\)[^/]' \| \
27634
28112
         X"$file" : 'X\(//\)$' \| \
27635
 
         X"$file" : 'X\(/\)' \| \
27636
 
         .     : '\(.\)' 2>/dev/null ||
 
28113
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27637
28114
echo X"$file" |
27638
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27639
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27640
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27641
 
          /^X\(\/\).*/{ s//\1/; q; }
27642
 
          s/.*/./; q'`
27643
 
    { if $as_mkdir_p; then
27644
 
    mkdir -p $dirpart/$fdir
27645
 
  else
27646
 
    as_dir=$dirpart/$fdir
 
28115
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28116
            s//\1/
 
28117
            q
 
28118
          }
 
28119
          /^X\(\/\/\)[^/].*/{
 
28120
            s//\1/
 
28121
            q
 
28122
          }
 
28123
          /^X\(\/\/\)$/{
 
28124
            s//\1/
 
28125
            q
 
28126
          }
 
28127
          /^X\(\/\).*/{
 
28128
            s//\1/
 
28129
            q
 
28130
          }
 
28131
          s/.*/./; q'`
 
28132
    { as_dir=$dirpart/$fdir
 
28133
  case $as_dir in #(
 
28134
  -*) as_dir=./$as_dir;;
 
28135
  esac
 
28136
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27647
28137
    as_dirs=
27648
 
    while test ! -d "$as_dir"; do
27649
 
      as_dirs="$as_dir $as_dirs"
27650
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
28138
    while :; do
 
28139
      case $as_dir in #(
 
28140
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
28141
      *) as_qdir=$as_dir;;
 
28142
      esac
 
28143
      as_dirs="'$as_qdir' $as_dirs"
 
28144
      as_dir=`$as_dirname -- "$as_dir" ||
27651
28145
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27652
28146
         X"$as_dir" : 'X\(//\)[^/]' \| \
27653
28147
         X"$as_dir" : 'X\(//\)$' \| \
27654
 
         X"$as_dir" : 'X\(/\)' \| \
27655
 
         .     : '\(.\)' 2>/dev/null ||
 
28148
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27656
28149
echo X"$as_dir" |
27657
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27658
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27659
 
          /^X\(\/\/\)$/{ s//\1/; q; }
27660
 
          /^X\(\/\).*/{ s//\1/; q; }
27661
 
          s/.*/./; q'`
 
28150
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
28151
            s//\1/
 
28152
            q
 
28153
          }
 
28154
          /^X\(\/\/\)[^/].*/{
 
28155
            s//\1/
 
28156
            q
 
28157
          }
 
28158
          /^X\(\/\/\)$/{
 
28159
            s//\1/
 
28160
            q
 
28161
          }
 
28162
          /^X\(\/\).*/{
 
28163
            s//\1/
 
28164
            q
 
28165
          }
 
28166
          s/.*/./; q'`
 
28167
      test -d "$as_dir" && break
27662
28168
    done
27663
 
    test ! -n "$as_dirs" || mkdir $as_dirs
27664
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27665
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
28169
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
28170
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
28171
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27666
28172
   { (exit 1); exit 1; }; }; }
27667
 
 
27668
28173
    # echo "creating $dirpart/$file"
27669
28174
    echo '# dummy' > "$dirpart/$file"
27670
28175
  done
27671
28176
done
27672
28177
 ;;
 
28178
 
27673
28179
  esac
27674
 
done
27675
 
_ACEOF
 
28180
done # for ac_tag
27676
28181
 
27677
 
cat >>$CONFIG_STATUS <<\_ACEOF
27678
28182
 
27679
28183
{ (exit 0); exit 0; }
27680
28184
_ACEOF